chore: add MPL license headers to all source files (#2977)

This commit is contained in:
Shubham Kumar
2026-01-10 10:44:23 -06:00
committed by GitHub
parent ea60446c03
commit a07a89a5d7
2591 changed files with 20574 additions and 15 deletions
+7
View File
@@ -1,3 +1,10 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Material Design 3 UI Components
*
@@ -1,3 +1,10 @@
<!--
Copyright since 2025 Mifos Initiative
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<div [class]="containerClasses">
@if (variant === 'filled') {
<md-filled-button [type]="type" [disabled]="disabled" (click)="onClick($event)">
@@ -1,3 +1,10 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Material Web Button Component Styles
// Base styles are applied globally in src/theme/_material-web.scss
@@ -1,3 +1,10 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { Component, Input, Output, EventEmitter, CUSTOM_ELEMENTS_SCHEMA, ViewEncapsulation } from '@angular/core';
import { CommonModule } from '@angular/common';
@@ -1 +1,8 @@
<!--
Copyright since 2025 Mifos Initiative
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<span [class]="iconClass" [ngStyle]="iconStyles" class="m3-icon">{{ name }}</span>
@@ -1,3 +1,10 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Material Symbols Font Faces
// These will be loaded from Google Fonts or local files
@use 'theme/material-web' as *;
@@ -1,3 +1,10 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { Component, Input, ViewEncapsulation } from '@angular/core';
import { CommonModule } from '@angular/common';
@@ -28,15 +35,15 @@ export type M3IconStyle = 'outlined' | 'filled' | 'rounded' | 'sharp';
* <mifosx-m3-icon name="visibility" [size]="24"></mifosx-m3-icon>
*
* Common icon mappings from Font Awesome:
* - user-circle → account_circle
* - lock → lock
* - eye → visibility
* - eye-slash → visibility_off
* - home → home
* - search → search
* - settings → settings
* - menu → menu
* - close → close
* - user-circle → account_circle
* - lock → lock
* - eye → visibility
* - eye-slash → visibility_off
* - home → home
* - search → search
* - settings → settings
* - menu → menu
* - close → close
*/
@Component({
selector: 'mifosx-m3-icon',