@kato-lee/components 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +7 -0
- package/assets/_fade-in.scss +40 -0
- package/assets/_fields.scss +76 -0
- package/assets/_grids.scss +317 -0
- package/assets/components/_buttons.scss +3 -0
- package/assets/components/_cards.scss +26 -0
- package/assets/components/_dialogs.scss +13 -0
- package/assets/components/_fields.scss +110 -0
- package/assets/components/_material.scss +15 -0
- package/assets/components/_pretty-box.scss +41 -0
- package/assets/components/_scroll-bar.scss +23 -0
- package/assets/components/_snack-bar.scss +18 -0
- package/assets/components/_tables.scss +235 -0
- package/assets/components/_tabs.scss +7 -0
- package/assets/components/main.scss +25 -0
- package/assets/fonts/body/Transpass-Bold.ttf +0 -0
- package/assets/fonts/body/Transpass-Light.ttf +0 -0
- package/assets/fonts/body/Transpass-Medium.ttf +0 -0
- package/assets/fonts/body/Transpass-Regular.ttf +0 -0
- package/assets/fonts/body/style-font.scss +40 -0
- package/assets/fonts/main.scss +2 -0
- package/assets/fonts/title/Poppins-Bold.ttf +0 -0
- package/assets/fonts/title/Poppins-Light.ttf +0 -0
- package/assets/fonts/title/Poppins-Medium.ttf +0 -0
- package/assets/fonts/title/Poppins-Regular.ttf +0 -0
- package/assets/fonts/title/Poppins-SemiBold.ttf +0 -0
- package/assets/fonts/title/style-font.scss +39 -0
- package/assets/layouts/_loader.scss +71 -0
- package/assets/layouts/origin.scss +775 -0
- package/assets/main.scss +4 -0
- package/assets/material/icons/icons.woff2 +0 -0
- package/assets/material/icons/local.css +1 -0
- package/assets/material/icons/remote.css +1 -0
- package/assets/material/themes/dark.scss +55 -0
- package/assets/material/themes/default.scss +106 -0
- package/assets/material/themes/main.scss +2907 -0
- package/assets/themes/_dark.scss +15 -0
- package/assets/themes/_default.scss +30 -0
- package/assets/themes/main.scss +2 -0
- package/assets/variables.scss +7 -0
- package/box-form/box-form.component.d.ts +34 -0
- package/box-form/box-form.module.d.ts +13 -0
- package/box-form/common.d.ts +5 -0
- package/box-form/index.d.ts +3 -0
- package/box-form/package.json +3 -0
- package/capsule/capsule.component.d.ts +14 -0
- package/capsule/capsule.module.d.ts +7 -0
- package/capsule/index.d.ts +2 -0
- package/capsule/package.json +3 -0
- package/cards/cards.module.d.ts +7 -0
- package/cards/index.d.ts +2 -0
- package/cards/package.json +3 -0
- package/cards/simple-card.component.d.ts +8 -0
- package/dialogs/dialogs.module.d.ts +11 -0
- package/dialogs/dismiss-dialog-button.component.d.ts +8 -0
- package/dialogs/index.d.ts +2 -0
- package/dialogs/package.json +3 -0
- package/esm2022/box-form/box-form.component.mjs +99 -0
- package/esm2022/box-form/box-form.module.mjs +40 -0
- package/esm2022/box-form/common.mjs +2 -0
- package/esm2022/box-form/index.mjs +7 -0
- package/esm2022/box-form/kato-lee-components-box-form.mjs +5 -0
- package/esm2022/capsule/capsule.component.mjs +78 -0
- package/esm2022/capsule/capsule.module.mjs +16 -0
- package/esm2022/capsule/index.mjs +6 -0
- package/esm2022/capsule/kato-lee-components-capsule.mjs +5 -0
- package/esm2022/cards/cards.module.mjs +17 -0
- package/esm2022/cards/index.mjs +6 -0
- package/esm2022/cards/kato-lee-components-cards.mjs +5 -0
- package/esm2022/cards/simple-card.component.mjs +47 -0
- package/esm2022/dialogs/dialogs.module.mjs +22 -0
- package/esm2022/dialogs/dismiss-dialog-button.component.mjs +44 -0
- package/esm2022/dialogs/index.mjs +6 -0
- package/esm2022/dialogs/kato-lee-components-dialogs.mjs +5 -0
- package/esm2022/fields/autocomplete-field/autocomplete-field.component.mjs +240 -0
- package/esm2022/fields/date-field/date-field.component.mjs +148 -0
- package/esm2022/fields/date-range-field/date-range-field.component.mjs +70 -0
- package/esm2022/fields/error/error-equals.pipe.mjs +19 -0
- package/esm2022/fields/error/error.component.mjs +55 -0
- package/esm2022/fields/error/error.module.mjs +21 -0
- package/esm2022/fields/error/error.msg.pipe.mjs +19 -0
- package/esm2022/fields/error/lang/_en.mjs +12 -0
- package/esm2022/fields/error/lang/_es.mjs +12 -0
- package/esm2022/fields/error/lang/index.mjs +3 -0
- package/esm2022/fields/fields.common.mjs +8 -0
- package/esm2022/fields/fields.module.mjs +118 -0
- package/esm2022/fields/general-field/general-field.component.mjs +188 -0
- package/esm2022/fields/index.mjs +17 -0
- package/esm2022/fields/kato-lee-components-fields.mjs +5 -0
- package/esm2022/fields/money-field/money-field.component.mjs +188 -0
- package/esm2022/fields/number-field/number-field.component.mjs +165 -0
- package/esm2022/fields/select-field/select-field.component.mjs +135 -0
- package/esm2022/fields/text-area/textarea.component.mjs +171 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/kato-lee-components.mjs +5 -0
- package/esm2022/layouts/origin/breadcrumb/breadcrumb.component.mjs +65 -0
- package/esm2022/layouts/origin/footer/footer.component.mjs +11 -0
- package/esm2022/layouts/origin/header/header.component.mjs +46 -0
- package/esm2022/layouts/origin/index.mjs +12 -0
- package/esm2022/layouts/origin/kato-lee-components-layouts-origin.mjs +5 -0
- package/esm2022/layouts/origin/layout.component.mjs +210 -0
- package/esm2022/layouts/origin/layout.module.mjs +52 -0
- package/esm2022/layouts/origin/layout.navigation.mjs +19 -0
- package/esm2022/layouts/origin/navigation-interfaces.mjs +2 -0
- package/esm2022/layouts/origin/services/index.mjs +4 -0
- package/esm2022/layouts/origin/services/route-parts.service.mjs +28 -0
- package/esm2022/layouts/origin/services/toggle-sidebar.mjs +48 -0
- package/esm2022/layouts/origin/services/validate-access.pipe.mjs +53 -0
- package/esm2022/layouts/origin/sidebar/sidebar.component.mjs +69 -0
- package/esm2022/layouts/origin/sidebar/sidenav/expansion/accordion.component.mjs +74 -0
- package/esm2022/layouts/origin/sidebar/sidenav/expansion/expansion-panel-header.component.mjs +51 -0
- package/esm2022/layouts/origin/sidebar/sidenav/expansion/expansion-panel.component.mjs +63 -0
- package/esm2022/layouts/origin/sidebar/sidenav/sidenav.component.mjs +130 -0
- package/esm2022/modal/config.mjs +2 -0
- package/esm2022/modal/index.mjs +8 -0
- package/esm2022/modal/kato-lee-components-modal.mjs +5 -0
- package/esm2022/modal/modal.component.mjs +63 -0
- package/esm2022/modal/modal.module.mjs +21 -0
- package/esm2022/modal/modal.service.mjs +33 -0
- package/esm2022/pretty-box/index.mjs +5 -0
- package/esm2022/pretty-box/kato-lee-components-pretty-box.mjs +5 -0
- package/esm2022/pretty-box/pretty-box.component.mjs +94 -0
- package/esm2022/tables/index.mjs +6 -0
- package/esm2022/tables/kato-lee-components-tables.mjs +5 -0
- package/esm2022/tables/mat-paginator.translation.mjs +22 -0
- package/esm2022/tables/tables.module.mjs +19 -0
- package/esm2022/toast/index.mjs +5 -0
- package/esm2022/toast/kato-lee-components-toast.mjs +5 -0
- package/esm2022/toast/toast.service.mjs +42 -0
- package/fesm2022/kato-lee-components-box-form.mjs +146 -0
- package/fesm2022/kato-lee-components-box-form.mjs.map +1 -0
- package/fesm2022/kato-lee-components-capsule.mjs +102 -0
- package/fesm2022/kato-lee-components-capsule.mjs.map +1 -0
- package/fesm2022/kato-lee-components-cards.mjs +72 -0
- package/fesm2022/kato-lee-components-cards.mjs.map +1 -0
- package/fesm2022/kato-lee-components-dialogs.mjs +74 -0
- package/fesm2022/kato-lee-components-dialogs.mjs.map +1 -0
- package/fesm2022/kato-lee-components-fields.mjs +1486 -0
- package/fesm2022/kato-lee-components-fields.mjs.map +1 -0
- package/fesm2022/kato-lee-components-layouts-origin.mjs +872 -0
- package/fesm2022/kato-lee-components-layouts-origin.mjs.map +1 -0
- package/fesm2022/kato-lee-components-modal.mjs +121 -0
- package/fesm2022/kato-lee-components-modal.mjs.map +1 -0
- package/fesm2022/kato-lee-components-pretty-box.mjs +105 -0
- package/fesm2022/kato-lee-components-pretty-box.mjs.map +1 -0
- package/fesm2022/kato-lee-components-tables.mjs +51 -0
- package/fesm2022/kato-lee-components-tables.mjs.map +1 -0
- package/fesm2022/kato-lee-components-toast.mjs +53 -0
- package/fesm2022/kato-lee-components-toast.mjs.map +1 -0
- package/fesm2022/kato-lee-components.mjs +4 -0
- package/fesm2022/kato-lee-components.mjs.map +1 -0
- package/fields/autocomplete-field/autocomplete-field.component.d.ts +65 -0
- package/fields/date-field/date-field.component.d.ts +46 -0
- package/fields/date-range-field/date-range-field.component.d.ts +23 -0
- package/fields/error/error-equals.pipe.d.ts +7 -0
- package/fields/error/error.component.d.ts +22 -0
- package/fields/error/error.module.d.ts +11 -0
- package/fields/error/error.msg.pipe.d.ts +7 -0
- package/fields/error/lang/_en.d.ts +1 -0
- package/fields/error/lang/_es.d.ts +1 -0
- package/fields/error/lang/index.d.ts +2 -0
- package/fields/fields.common.d.ts +5 -0
- package/fields/fields.module.d.ts +28 -0
- package/fields/general-field/general-field.component.d.ts +56 -0
- package/fields/index.d.ts +13 -0
- package/fields/money-field/money-field.component.d.ts +53 -0
- package/fields/number-field/number-field.component.d.ts +52 -0
- package/fields/package.json +3 -0
- package/fields/select-field/select-field.component.d.ts +44 -0
- package/fields/text-area/textarea.component.d.ts +55 -0
- package/index.d.ts +1 -0
- package/layouts/origin/breadcrumb/breadcrumb.component.d.ts +24 -0
- package/layouts/origin/footer/footer.component.d.ts +5 -0
- package/layouts/origin/header/header.component.d.ts +15 -0
- package/layouts/origin/index.d.ts +8 -0
- package/layouts/origin/layout.component.d.ts +58 -0
- package/layouts/origin/layout.module.d.ts +18 -0
- package/layouts/origin/layout.navigation.d.ts +10 -0
- package/layouts/origin/navigation-interfaces.d.ts +24 -0
- package/layouts/origin/package.json +3 -0
- package/layouts/origin/services/index.d.ts +3 -0
- package/layouts/origin/services/route-parts.service.d.ts +15 -0
- package/layouts/origin/services/toggle-sidebar.d.ts +10 -0
- package/layouts/origin/services/validate-access.pipe.d.ts +7 -0
- package/layouts/origin/sidebar/sidebar.component.d.ts +27 -0
- package/layouts/origin/sidebar/sidenav/expansion/accordion.component.d.ts +10 -0
- package/layouts/origin/sidebar/sidenav/expansion/expansion-panel-header.component.d.ts +11 -0
- package/layouts/origin/sidebar/sidenav/expansion/expansion-panel.component.d.ts +12 -0
- package/layouts/origin/sidebar/sidenav/sidenav.component.d.ts +23 -0
- package/modal/config.d.ts +9 -0
- package/modal/index.d.ts +4 -0
- package/modal/modal.component.d.ts +35 -0
- package/modal/modal.module.d.ts +11 -0
- package/modal/modal.service.d.ts +13 -0
- package/modal/package.json +3 -0
- package/package.json +82 -0
- package/pretty-box/index.d.ts +1 -0
- package/pretty-box/package.json +3 -0
- package/pretty-box/pretty-box.component.d.ts +24 -0
- package/tables/index.d.ts +2 -0
- package/tables/mat-paginator.translation.d.ts +2 -0
- package/tables/package.json +3 -0
- package/tables/tables.module.d.ts +9 -0
- package/toast/index.d.ts +1 -0
- package/toast/package.json +3 -0
- package/toast/toast.service.d.ts +21 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, Input, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class TakCapsuleComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this._gridsOnSides = '';
|
|
7
|
+
this._gridPrincipal = '';
|
|
8
|
+
this._generateGridsFromArray = (grids, predefinedGrid) => {
|
|
9
|
+
let onSides = '', principal = '', counter = 0, customizedGrids = [0];
|
|
10
|
+
if (predefinedGrid) {
|
|
11
|
+
if (predefinedGrid === 'small')
|
|
12
|
+
customizedGrids = [12, 10, 8, 6, 4];
|
|
13
|
+
if (predefinedGrid === 'medium')
|
|
14
|
+
customizedGrids = [12, 10, 8, 6, 4];
|
|
15
|
+
if (predefinedGrid === 'big')
|
|
16
|
+
customizedGrids = [12, 12, 10, 10, 8, 6];
|
|
17
|
+
}
|
|
18
|
+
else
|
|
19
|
+
customizedGrids = grids || [12, 12, 10, 8, 6, 4];
|
|
20
|
+
customizedGrids.map(r => {
|
|
21
|
+
if (r % 2)
|
|
22
|
+
r++;
|
|
23
|
+
if (r >= 1 && r <= 12) {
|
|
24
|
+
if (counter === 0) {
|
|
25
|
+
onSides = `col-t-${(12 - r) / 2}`;
|
|
26
|
+
principal = `col-t-${r}`;
|
|
27
|
+
}
|
|
28
|
+
if (counter === 1) {
|
|
29
|
+
onSides = `${onSides} col-t-sm-${(12 - r) / 2}`;
|
|
30
|
+
principal = `${principal} col-t-sm-${r}`;
|
|
31
|
+
}
|
|
32
|
+
if (counter === 2) {
|
|
33
|
+
onSides = `${onSides} col-t-md-${(12 - r) / 2}`;
|
|
34
|
+
principal = `${principal} col-t-md-${r}`;
|
|
35
|
+
}
|
|
36
|
+
if (counter === 3) {
|
|
37
|
+
onSides = `${onSides} col-t-lg-${(12 - r) / 2}`;
|
|
38
|
+
principal = `${principal} col-t-lg-${r}`;
|
|
39
|
+
}
|
|
40
|
+
if (counter === 4) {
|
|
41
|
+
onSides = `${onSides} col-t-xl-${(12 - r) / 2}`;
|
|
42
|
+
principal = `${principal} col-t-xl-${r}`;
|
|
43
|
+
}
|
|
44
|
+
if (counter === 5) {
|
|
45
|
+
onSides = `${onSides} col-t-xxl-${(12 - r) / 2}`;
|
|
46
|
+
principal = `${principal} col-t-xxl-${r}`;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
counter++;
|
|
50
|
+
});
|
|
51
|
+
return {
|
|
52
|
+
onSides,
|
|
53
|
+
principal,
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
ngOnInit() {
|
|
58
|
+
const gridsGenerated = this._generateGridsFromArray(this.grids, this.predefinedGrid);
|
|
59
|
+
this._gridsOnSides = gridsGenerated.onSides;
|
|
60
|
+
this._gridPrincipal = gridsGenerated.principal;
|
|
61
|
+
}
|
|
62
|
+
get gridsOnSides() {
|
|
63
|
+
return this._gridsOnSides;
|
|
64
|
+
}
|
|
65
|
+
get gridPrincipal() {
|
|
66
|
+
return this._gridPrincipal;
|
|
67
|
+
}
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCapsuleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
69
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.3", type: TakCapsuleComponent, selector: "tak-capsule", inputs: { predefinedGrid: "predefinedGrid", grids: "grids" }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"row no-padding\">\r\n <div [class]=\"gridsOnSides\"></div>\r\n <div [class]=\"gridPrincipal\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div [class]=\"gridsOnSides\"></div>\r\n </div>\r\n</div>\r\n", encapsulation: i0.ViewEncapsulation.None }); }
|
|
70
|
+
}
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCapsuleComponent, decorators: [{
|
|
72
|
+
type: Component,
|
|
73
|
+
args: [{ selector: 'tak-capsule', encapsulation: ViewEncapsulation.None, template: "<div class=\"container\">\r\n <div class=\"row no-padding\">\r\n <div [class]=\"gridsOnSides\"></div>\r\n <div [class]=\"gridPrincipal\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div [class]=\"gridsOnSides\"></div>\r\n </div>\r\n</div>\r\n" }]
|
|
74
|
+
}], propDecorators: { predefinedGrid: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], grids: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}] } });
|
|
79
|
+
|
|
80
|
+
class TakCapsuleModule {
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCapsuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
82
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.3", ngImport: i0, type: TakCapsuleModule, declarations: [TakCapsuleComponent], exports: [TakCapsuleComponent] }); }
|
|
83
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCapsuleModule }); }
|
|
84
|
+
}
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCapsuleModule, decorators: [{
|
|
86
|
+
type: NgModule,
|
|
87
|
+
args: [{
|
|
88
|
+
declarations: [TakCapsuleComponent],
|
|
89
|
+
exports: [TakCapsuleComponent],
|
|
90
|
+
}]
|
|
91
|
+
}] });
|
|
92
|
+
|
|
93
|
+
/*
|
|
94
|
+
* Public API Surface of @kato-lee/components/capsule
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Generated bundle index. Do not edit.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
export { TakCapsuleComponent, TakCapsuleModule };
|
|
102
|
+
//# sourceMappingURL=kato-lee-components-capsule.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kato-lee-components-capsule.mjs","sources":["../../../libraries/components/capsule/capsule.component.ts","../../../libraries/components/capsule/capsule.component.html","../../../libraries/components/capsule/capsule.module.ts","../../../libraries/components/capsule/index.ts","../../../libraries/components/capsule/kato-lee-components-capsule.ts"],"sourcesContent":["import { Component, Input, ViewEncapsulation } from '@angular/core';\r\n\r\nexport type TakPredefinedGrid = 'small' | 'medium' | 'big' | undefined;\r\n\r\n@Component({\r\n selector: 'tak-capsule',\r\n templateUrl: './capsule.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class TakCapsuleComponent {\r\n @Input() predefinedGrid: TakPredefinedGrid;\r\n @Input() grids!: number[];\r\n\r\n private _gridsOnSides = '';\r\n private _gridPrincipal = '';\r\n\r\n public ngOnInit(): void {\r\n const gridsGenerated = this._generateGridsFromArray(this.grids, this.predefinedGrid);\r\n this._gridsOnSides = gridsGenerated.onSides;\r\n this._gridPrincipal = gridsGenerated.principal;\r\n }\r\n\r\n get gridsOnSides() {\r\n return this._gridsOnSides;\r\n }\r\n\r\n get gridPrincipal() {\r\n return this._gridPrincipal;\r\n }\r\n\r\n private _generateGridsFromArray = (grids?: number[], predefinedGrid?: TakPredefinedGrid) => {\r\n let onSides = '',\r\n principal = '',\r\n counter = 0,\r\n customizedGrids = [0];\r\n\r\n if (predefinedGrid) {\r\n if (predefinedGrid === 'small') customizedGrids = [12, 10, 8, 6, 4];\r\n if (predefinedGrid === 'medium') customizedGrids = [12, 10, 8, 6, 4];\r\n if (predefinedGrid === 'big') customizedGrids = [12, 12, 10, 10, 8, 6];\r\n } else customizedGrids = grids || [12, 12, 10, 8, 6, 4];\r\n\r\n customizedGrids.map(r => {\r\n if (r % 2) r++;\r\n\r\n if (r >= 1 && r <= 12) {\r\n if (counter === 0) {\r\n onSides = `col-t-${(12 - r) / 2}`;\r\n principal = `col-t-${r}`;\r\n }\r\n if (counter === 1) {\r\n onSides = `${onSides} col-t-sm-${(12 - r) / 2}`;\r\n principal = `${principal} col-t-sm-${r}`;\r\n }\r\n if (counter === 2) {\r\n onSides = `${onSides} col-t-md-${(12 - r) / 2}`;\r\n principal = `${principal} col-t-md-${r}`;\r\n }\r\n if (counter === 3) {\r\n onSides = `${onSides} col-t-lg-${(12 - r) / 2}`;\r\n principal = `${principal} col-t-lg-${r}`;\r\n }\r\n if (counter === 4) {\r\n onSides = `${onSides} col-t-xl-${(12 - r) / 2}`;\r\n principal = `${principal} col-t-xl-${r}`;\r\n }\r\n if (counter === 5) {\r\n onSides = `${onSides} col-t-xxl-${(12 - r) / 2}`;\r\n principal = `${principal} col-t-xxl-${r}`;\r\n }\r\n }\r\n counter++;\r\n });\r\n\r\n return {\r\n onSides,\r\n principal,\r\n };\r\n };\r\n}\r\n","<div class=\"container\">\r\n <div class=\"row no-padding\">\r\n <div [class]=\"gridsOnSides\"></div>\r\n <div [class]=\"gridPrincipal\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div [class]=\"gridsOnSides\"></div>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { TakCapsuleComponent } from './capsule.component';\r\n\r\n@NgModule({\r\n declarations: [TakCapsuleComponent],\r\n exports: [TakCapsuleComponent],\r\n})\r\nexport class TakCapsuleModule {}\r\n","/*\r\n * Public API Surface of @kato-lee/components/capsule\r\n */\r\nexport * from './capsule.component';\r\nexport * from './capsule.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MASa,mBAAmB,CAAA;AALhC,IAAA,WAAA,GAAA;QASU,IAAa,CAAA,aAAA,GAAG,EAAE,CAAC;QACnB,IAAc,CAAA,cAAA,GAAG,EAAE,CAAC;AAgBpB,QAAA,IAAA,CAAA,uBAAuB,GAAG,CAAC,KAAgB,EAAE,cAAkC,KAAI;AACzF,YAAA,IAAI,OAAO,GAAG,EAAE,EACd,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,CAAC,EACX,eAAe,GAAG,CAAC,CAAC,CAAC,CAAC;AAExB,YAAA,IAAI,cAAc,EAAE;gBAClB,IAAI,cAAc,KAAK,OAAO;AAAE,oBAAA,eAAe,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;gBACpE,IAAI,cAAc,KAAK,QAAQ;AAAE,oBAAA,eAAe,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;gBACrE,IAAI,cAAc,KAAK,KAAK;AAAE,oBAAA,eAAe,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACxE,aAAA;;AAAM,gBAAA,eAAe,GAAG,KAAK,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAExD,YAAA,eAAe,CAAC,GAAG,CAAC,CAAC,IAAG;gBACtB,IAAI,CAAC,GAAG,CAAC;AAAE,oBA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AS;+BACE,aAAa,EAAA,aAAA,EAER,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,yQAAA,EAAA,CAAA;8BAG5B,cAAc,EAAA,CAAA;sBAAtB,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MEJK,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAhB,gBAAgB,EAAA,YAAA,EAAA,CAHZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAElB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class TakSimpleCardComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.hasTopLine = true;
|
|
7
|
+
this.topLineClass = '';
|
|
8
|
+
this.topLineColor = '';
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakSimpleCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.3", type: TakSimpleCardComponent, selector: "tak-simple-card", inputs: { hasTopLine: "hasTopLine", topLineClass: "topLineClass", topLineColor: "topLineColor" }, ngImport: i0, template: `
|
|
12
|
+
@if (hasTopLine) {
|
|
13
|
+
<div
|
|
14
|
+
class="tak-simple-card--topline {{ topLineClass }}"
|
|
15
|
+
[style.background]="topLineColor"
|
|
16
|
+
></div>
|
|
17
|
+
}
|
|
18
|
+
<div class="tak-simple-card" [class.no-card-topline]="!hasTopLine">
|
|
19
|
+
<ng-content></ng-content>
|
|
20
|
+
</div>
|
|
21
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakSimpleCardComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'tak-simple-card',
|
|
27
|
+
template: `
|
|
28
|
+
@if (hasTopLine) {
|
|
29
|
+
<div
|
|
30
|
+
class="tak-simple-card--topline {{ topLineClass }}"
|
|
31
|
+
[style.background]="topLineColor"
|
|
32
|
+
></div>
|
|
33
|
+
}
|
|
34
|
+
<div class="tak-simple-card" [class.no-card-topline]="!hasTopLine">
|
|
35
|
+
<ng-content></ng-content>
|
|
36
|
+
</div>
|
|
37
|
+
`,
|
|
38
|
+
encapsulation: ViewEncapsulation.None,
|
|
39
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
|
+
}]
|
|
41
|
+
}], propDecorators: { hasTopLine: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], topLineClass: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], topLineColor: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}] } });
|
|
48
|
+
|
|
49
|
+
const components = [TakSimpleCardComponent];
|
|
50
|
+
class TakCardsModule {
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCardsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
52
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.3", ngImport: i0, type: TakCardsModule, declarations: [TakSimpleCardComponent], exports: [TakSimpleCardComponent] }); }
|
|
53
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCardsModule }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakCardsModule, decorators: [{
|
|
56
|
+
type: NgModule,
|
|
57
|
+
args: [{
|
|
58
|
+
declarations: components,
|
|
59
|
+
exports: components,
|
|
60
|
+
}]
|
|
61
|
+
}] });
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
* Public API Surface of @kato-lee/components/cards
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Generated bundle index. Do not edit.
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
export { TakCardsModule, TakSimpleCardComponent };
|
|
72
|
+
//# sourceMappingURL=kato-lee-components-cards.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kato-lee-components-cards.mjs","sources":["../../../libraries/components/cards/simple-card.component.ts","../../../libraries/components/cards/cards.module.ts","../../../libraries/components/cards/index.ts","../../../libraries/components/cards/kato-lee-components-cards.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'tak-simple-card',\r\n template: `\r\n @if (hasTopLine) {\r\n <div\r\n class=\"tak-simple-card--topline {{ topLineClass }}\"\r\n [style.background]=\"topLineColor\"\r\n ></div>\r\n }\r\n <div class=\"tak-simple-card\" [class.no-card-topline]=\"!hasTopLine\">\r\n <ng-content></ng-content>\r\n </div>\r\n `,\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class TakSimpleCardComponent {\r\n @Input() hasTopLine: boolean = true;\r\n @Input() topLineClass: string = '';\r\n @Input() topLineColor: string = '';\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { TakSimpleCardComponent } from './simple-card.component';\r\n\r\nconst components = [TakSimpleCardComponent];\r\n\r\n@NgModule({\r\n declarations: components,\r\n exports: components,\r\n})\r\nexport class TakCardsModule {}\r\n","/*\r\n * Public API Surface of @kato-lee/components/cards\r\n */\r\n\r\nexport * from './cards.module';\r\nexport * from './simple-card.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAkBa,sBAAsB,CAAA;AAhBnC,IAAA,WAAA,GAAA;QAiBW,IAAU,CAAA,UAAA,GAAY,IAAI,CAAC;QAC3B,IAAY,CAAA,YAAA,GAAW,EAAE,CAAC;QAC1B,IAAY,CAAA,YAAA,GAAW,EAAE,CAAC;AACpC,KAAA;8GAJY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAdvB,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,YAAA,EAAA,cAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;AAUT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAIU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAhBlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;AAUT,EAAA,CAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA,CAAA;8BAEU,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBACG,YAAY,EAAA,CAAA;sBAApB,KAAK;;;AClBR,MAAM,UAAU,GAAG,CAAC,sBAAsB,CAAC,CAAC;MAM/B,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,YAAA,EAAA,CANP,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAAtB,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAM7B,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA,CAAA;;;ACRD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@kato-lee/material/dialog';
|
|
4
|
+
import { MatDialogModule } from '@kato-lee/material/dialog';
|
|
5
|
+
import * as i2 from '@kato-lee/material/icon';
|
|
6
|
+
import { MatIconModule } from '@kato-lee/material/icon';
|
|
7
|
+
import * as i3 from '@kato-lee/material/button';
|
|
8
|
+
import { MatButtonModule } from '@kato-lee/material/button';
|
|
9
|
+
import * as i4 from '@kato-lee/material/divider';
|
|
10
|
+
import { MatDividerModule } from '@kato-lee/material/divider';
|
|
11
|
+
|
|
12
|
+
class TakDismissDialogButtonComponent {
|
|
13
|
+
constructor(dialogRef) {
|
|
14
|
+
this.dialogRef = dialogRef;
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakDismissDialogButtonComponent, deps: [{ token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.3", type: TakDismissDialogButtonComponent, selector: "tak-dismiss-dialog-button", host: { attributes: { "directive": "tak-dialog-title" } }, ngImport: i0, template: `
|
|
18
|
+
<div class="tak-modal__top-container--custom">
|
|
19
|
+
<h1 class="tak-modal__top-container--custom--title">
|
|
20
|
+
<ng-content></ng-content>
|
|
21
|
+
</h1>
|
|
22
|
+
<button mat-icon-button (click)="dialogRef.close()"><mat-icon>close</mat-icon></button>
|
|
23
|
+
</div>
|
|
24
|
+
<mat-divider></mat-divider>
|
|
25
|
+
<input style="display: none !important;" cdkFocusInitial />
|
|
26
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakDismissDialogButtonComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: 'tak-dismiss-dialog-button',
|
|
32
|
+
host: {
|
|
33
|
+
directive: 'tak-dialog-title',
|
|
34
|
+
},
|
|
35
|
+
template: `
|
|
36
|
+
<div class="tak-modal__top-container--custom">
|
|
37
|
+
<h1 class="tak-modal__top-container--custom--title">
|
|
38
|
+
<ng-content></ng-content>
|
|
39
|
+
</h1>
|
|
40
|
+
<button mat-icon-button (click)="dialogRef.close()"><mat-icon>close</mat-icon></button>
|
|
41
|
+
</div>
|
|
42
|
+
<mat-divider></mat-divider>
|
|
43
|
+
<input style="display: none !important;" cdkFocusInitial />
|
|
44
|
+
`,
|
|
45
|
+
encapsulation: ViewEncapsulation.None,
|
|
46
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
47
|
+
}]
|
|
48
|
+
}], ctorParameters: () => [{ type: i1.MatDialogRef }] });
|
|
49
|
+
|
|
50
|
+
const components = [TakDismissDialogButtonComponent];
|
|
51
|
+
class TakDialogModule {
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
53
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.3", ngImport: i0, type: TakDialogModule, declarations: [TakDismissDialogButtonComponent], imports: [MatIconModule, MatButtonModule, MatDividerModule, MatDialogModule], exports: [TakDismissDialogButtonComponent, MatDialogModule] }); }
|
|
54
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakDialogModule, imports: [MatIconModule, MatButtonModule, MatDividerModule, MatDialogModule, MatDialogModule] }); }
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TakDialogModule, decorators: [{
|
|
57
|
+
type: NgModule,
|
|
58
|
+
args: [{
|
|
59
|
+
declarations: components,
|
|
60
|
+
imports: [MatIconModule, MatButtonModule, MatDividerModule, MatDialogModule],
|
|
61
|
+
exports: [...components, MatDialogModule],
|
|
62
|
+
}]
|
|
63
|
+
}] });
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
* Public API Surface of @kato-lee/components/dialogs
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Generated bundle index. Do not edit.
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
export { TakDialogModule, TakDismissDialogButtonComponent };
|
|
74
|
+
//# sourceMappingURL=kato-lee-components-dialogs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kato-lee-components-dialogs.mjs","sources":["../../../libraries/components/dialogs/dismiss-dialog-button.component.ts","../../../libraries/components/dialogs/dialogs.module.ts","../../../libraries/components/dialogs/index.ts","../../../libraries/components/dialogs/kato-lee-components-dialogs.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n EventEmitter,\r\n Output,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { MatDialogRef } from '@kato-lee/material/dialog';\r\n\r\n@Component({\r\n selector: 'tak-dismiss-dialog-button',\r\n host: {\r\n directive: 'tak-dialog-title',\r\n },\r\n template: `\r\n <div class=\"tak-modal__top-container--custom\">\r\n <h1 class=\"tak-modal__top-container--custom--title\">\r\n <ng-content></ng-content>\r\n </h1>\r\n <button mat-icon-button (click)=\"dialogRef.close()\"><mat-icon>close</mat-icon></button>\r\n </div>\r\n <mat-divider></mat-divider>\r\n <input style=\"display: none !important;\" cdkFocusInitial />\r\n `,\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class TakDismissDialogButtonComponent {\r\n constructor(public dialogRef: MatDialogRef<TakDismissDialogButtonComponent>) {}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { TakDismissDialogButtonComponent } from './dismiss-dialog-button.component';\r\nimport { MatButtonModule } from '@kato-lee/material/button';\r\nimport { MatDialogModule } from '@kato-lee/material/dialog';\r\nimport { MatIconModule } from '@kato-lee/material/icon';\r\nimport { MatDividerModule } from '@kato-lee/material/divider';\r\n\r\nconst components = [TakDismissDialogButtonComponent];\r\n\r\n@NgModule({\r\n declarations: components,\r\n imports: [MatIconModule, MatButtonModule, MatDividerModule, MatDialogModule],\r\n exports: [...components, MatDialogModule],\r\n})\r\nexport class TakDialogModule {}\r\n","/*\r\n * Public API Surface of @kato-lee/components/dialogs\r\n */\r\n\r\nexport * from './dialogs.module';\r\nexport * from './dismiss-dialog-button.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MA2Ba,+BAA+B,CAAA;AAC1C,IAAA,WAAA,CAAmB,SAAwD,EAAA;QAAxD,IAAS,CAAA,SAAA,GAAT,SAAS,CAA+C;KAAI;8GADpE,+BAA+B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,EAbhC,QAAA,EAAA,2BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;AAST,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,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