@ng-atomic/components 3.5.0 → 3.6.0
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/atoms/smart-menu-button/smart-menu-button.atom.d.ts +4 -4
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts.map +1 -1
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +16 -15
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2020/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2020/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2020/frames/overlay/overlay.frame.mjs +2 -2
- package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +9 -9
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -4
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2020/molecules/header/header.module.mjs +27 -0
- package/esm2020/molecules/header/header.molecule.mjs +32 -0
- package/esm2020/molecules/header/index.mjs +3 -0
- package/esm2020/molecules/header/ng-atomic-components-molecules-header.mjs +5 -0
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +10 -10
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +10 -10
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2020/organisms/heading/heading.organism.mjs +2 -2
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +2 -2
- package/esm2020/organisms/navigator/navigator.organism.mjs +37 -42
- package/esm2020/organisms/paginator/paginator.organism.mjs +5 -5
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +11 -10
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +10 -10
- package/esm2020/templates/entrance/entrance.template.mjs +5 -5
- package/esm2020/templates/menu/menu.template.mjs +2 -2
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +13 -6
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +63 -51
- package/esm2020/templates/smart-index/smart-index.module.mjs +12 -5
- package/esm2020/templates/smart-index/smart-index.template.mjs +40 -24
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +15 -14
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +8 -8
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +6 -3
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-header.mjs +70 -0
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +41 -42
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +4 -4
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +10 -9
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +4 -4
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +75 -56
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +51 -28
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +15 -14
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +8 -8
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +6 -3
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-header.mjs +63 -0
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +37 -42
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +4 -4
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +10 -9
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +4 -4
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +75 -56
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +51 -28
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +4 -4
- package/molecules/actions-column/actions-column.molecule.d.ts.map +1 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts.map +1 -1
- package/molecules/header/header.module.d.ts +9 -0
- package/molecules/header/header.module.d.ts.map +1 -0
- package/molecules/header/header.molecule.d.ts +8 -0
- package/molecules/header/header.molecule.d.ts.map +1 -0
- package/molecules/header/index.d.ts +3 -0
- package/molecules/header/index.d.ts.map +1 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts +6 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts.map +1 -0
- package/molecules/header/package.json +10 -0
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +5 -5
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts.map +1 -1
- package/organisms/back-navigator/back-navigator.organism.d.ts +4 -4
- package/organisms/back-navigator/back-navigator.organism.d.ts.map +1 -1
- package/organisms/navigator/navigator.organism.d.ts +5 -8
- package/organisms/navigator/navigator.organism.d.ts.map +1 -1
- package/organisms/smart-table/smart-table.organism.d.ts +5 -4
- package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
- package/organisms/top-navigator/top-navigator.organism.d.ts +3 -3
- package/organisms/top-navigator/top-navigator.organism.d.ts.map +1 -1
- package/package.json +11 -3
- package/templates/smart-crud/smart-crud.module.d.ts +3 -2
- package/templates/smart-crud/smart-crud.module.d.ts.map +1 -1
- package/templates/smart-crud/smart-crud.template.d.ts +16 -6
- package/templates/smart-crud/smart-crud.template.d.ts.map +1 -1
- package/templates/smart-index/smart-index.module.d.ts +3 -2
- package/templates/smart-index/smart-index.module.d.ts.map +1 -1
- package/templates/smart-index/smart-index.template.d.ts +13 -5
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
|
@@ -9,6 +9,7 @@ export declare class ChipsInputFieldMolecule {
|
|
|
9
9
|
chipsManager: ChipsManager;
|
|
10
10
|
appearance: MatFormFieldAppearance;
|
|
11
11
|
control: FormControl<string>;
|
|
12
|
+
floatLabel: string;
|
|
12
13
|
label: string;
|
|
13
14
|
hint: string;
|
|
14
15
|
placeholder: string;
|
|
@@ -20,6 +21,6 @@ export declare class ChipsInputFieldMolecule {
|
|
|
20
21
|
onChiInputTokenEnd(event: MatChipInputEvent): void;
|
|
21
22
|
remove(value: string): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsInputFieldMolecule, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsInputFieldMolecule, "molecules-chips-input-field", never, { "appearance": "appearance"; "control": "control"; "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "separators": "separators"; }, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsInputFieldMolecule, "molecules-chips-input-field", never, { "appearance": "appearance"; "control": "control"; "floatLabel": "floatLabel"; "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "separators": "separators"; }, {}, never, never>;
|
|
24
25
|
}
|
|
25
26
|
//# sourceMappingURL=chips-input-field.molecule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chips-input-field.molecule.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/chips-input-field/chips-input-field.molecule.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;;AAGxE,qBAOa,uBAAuB;
|
|
1
|
+
{"version":3,"file":"chips-input-field.molecule.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/chips-input-field/chips-input-field.molecule.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;;AAGxE,qBAOa,uBAAuB;IA0BhC,OAAO,CAAC,EAAE;IACH,YAAY,EAAE,YAAY;IAxBnC,UAAU,EAAE,sBAAsB,CAAa;IAG/C,OAAO,sBAA+B;IAGtC,UAAU,SAAU;IAGpB,KAAK,SAAW;IAGhB,IAAI,SAAU;IAGd,WAAW,SAAiB;IAG5B,UAAU,yBAAkC;IAE5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA8B;gBAG7C,EAAE,EAAE,iBAAiB,EACtB,YAAY,EAAE,YAAY;IAGnC,QAAQ,IAAI,IAAI;IAQhB,WAAW,IAAI,IAAI;IAInB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAMlD,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;yCAhDhB,uBAAuB;2CAAvB,uBAAuB;CAoDnC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./header.molecule";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class HeaderModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof i1.HeaderMolecule], [typeof i2.CommonModule], [typeof i1.HeaderMolecule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=header.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/header/header.module.ts"],"names":[],"mappings":";;;AAMA,qBAWa,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAAI"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeaderMolecule {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMolecule, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMolecule, "molecules-header", never, { "title": "title"; "description": "description"; }, {}, never, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=header.molecule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.molecule.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/header/header.molecule.ts"],"names":[],"mappings":";AAEA,qBAMa,cAAc;IAGzB,KAAK,SAAW;IAGhB,WAAW,CAAC,EAAE,MAAM,CAAC;yCANV,cAAc;2CAAd,cAAc;CAQ1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-header.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/header/ng-atomic-components-molecules-header.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../../fesm2015/ng-atomic-components-molecules-header.mjs",
|
|
3
|
+
"es2020": "../../fesm2020/ng-atomic-components-molecules-header.mjs",
|
|
4
|
+
"esm2020": "../../esm2020/molecules/header/ng-atomic-components-molecules-header.mjs",
|
|
5
|
+
"fesm2020": "../../fesm2020/ng-atomic-components-molecules-header.mjs",
|
|
6
|
+
"fesm2015": "../../fesm2015/ng-atomic-components-molecules-header.mjs",
|
|
7
|
+
"typings": "ng-atomic-components-molecules-header.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@ng-atomic/components/molecules/header"
|
|
10
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ActionItem } from '@ng-atomic/common/models';
|
|
2
|
+
import { Action, ActionItem } from '@ng-atomic/common/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ActionButtonsSectionOrganism {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
trackById: (item: ActionItem) => string
|
|
5
|
+
items: ActionItem[];
|
|
6
|
+
action: EventEmitter<Action<any>>;
|
|
7
|
+
trackById: (item: ActionItem) => string;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonsSectionOrganism, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonsSectionOrganism, "organisms-action-buttons-section", never, { "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonsSectionOrganism, "organisms-action-buttons-section", never, { "items": "items"; }, { "action": "action"; }, never, never>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=action-buttons-section.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-buttons-section.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;
|
|
1
|
+
{"version":3,"file":"action-buttons-section.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAE9D,qBAOa,4BAA4B;IAEvC,KAAK,EAAE,UAAU,EAAE,CAAM;IAGzB,MAAM,4BAA8B;IAEpC,SAAS,SAAU,UAAU,YAAa;yCAP/B,4BAA4B;2CAA5B,4BAA4B;CAQxC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Action, ActionItem } from '@ng-atomic/common/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class BackNavigatorOrganism {
|
|
5
5
|
canBack: boolean;
|
|
6
6
|
title?: string;
|
|
7
7
|
description?: string;
|
|
8
|
-
|
|
8
|
+
items: ActionItem[];
|
|
9
9
|
backButtonClick: EventEmitter<void>;
|
|
10
|
-
|
|
10
|
+
action: EventEmitter<Action<any>>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackNavigatorOrganism, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BackNavigatorOrganism, "organisms-back-navigator", never, { "canBack": "canBack"; "title": "title"; "description": "description"; "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackNavigatorOrganism, "organisms-back-navigator", never, { "canBack": "canBack"; "title": "title"; "description": "description"; "items": "items"; }, { "backButtonClick": "backButtonClick"; "action": "action"; }, never, never>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=back-navigator.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/back-navigator/back-navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"back-navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/back-navigator/back-navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAE9D,qBAMa,qBAAqB;IAGhC,OAAO,UAAQ;IAGf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,KAAK,EAAE,UAAU,EAAE,CAAM;IAGzB,eAAe,qBAA4B;IAG3C,MAAM,4BAA8B;yCAlBzB,qBAAqB;2CAArB,qBAAqB;CAoBjC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Action, ActionItem } from '@ng-atomic/common/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NavigatorOrganism {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
actionItems: ActionItem[];
|
|
9
|
-
backButtonClick: EventEmitter<void>;
|
|
10
|
-
actionItemClick: EventEmitter<ActionItemEvent<any>>;
|
|
5
|
+
rightItems: ActionItem[];
|
|
6
|
+
leftItems: ActionItem[];
|
|
7
|
+
action: EventEmitter<Action<any>>;
|
|
11
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigatorOrganism, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigatorOrganism, "organisms-navigator", never, { "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigatorOrganism, "organisms-navigator", never, { "rightItems": "rightItems"; "leftItems": "leftItems"; }, { "action": "action"; }, never, ["*"]>;
|
|
13
10
|
}
|
|
14
11
|
//# sourceMappingURL=navigator.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/navigator/navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/navigator/navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAE9D,qBAMa,iBAAiB;IAE5B,UAAU,EAAE,UAAU,EAAE,CAAM;IAG9B,SAAS,EAAE,UAAU,EAAE,CAAM;IAG7B,MAAM,4BAA8B;yCARzB,iBAAiB;2CAAjB,iBAAiB;CAS7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ActionItem } from '@ng-atomic/common/models';
|
|
2
|
+
import { Action, ActionItem } from '@ng-atomic/common/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SmartTableOrganism<Item extends object> {
|
|
5
5
|
columns: (keyof Item)[];
|
|
@@ -7,16 +7,17 @@ export declare class SmartTableOrganism<Item extends object> {
|
|
|
7
7
|
items: Item[];
|
|
8
8
|
patientsSize: number;
|
|
9
9
|
pageSize: number;
|
|
10
|
-
|
|
10
|
+
menuItems: ActionItem[];
|
|
11
11
|
selectedIdSet: Set<string>;
|
|
12
12
|
sortKey?: string;
|
|
13
13
|
sortOrder?: 'asc' | 'desc';
|
|
14
|
-
|
|
14
|
+
action: EventEmitter<Action<any>>;
|
|
15
15
|
headerClick: EventEmitter<string>;
|
|
16
16
|
checkboxClick: EventEmitter<[Item, boolean]>;
|
|
17
17
|
pageChange: EventEmitter<any>;
|
|
18
18
|
itemCheck: EventEmitter<[Item, boolean]>;
|
|
19
|
+
trackByColumnName: (columnName: string) => string;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableOrganism<any>, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableOrganism<any>, "organisms-smart-table", never, { "columns": "columns"; "items": "items"; "patientsSize": "patientsSize"; "pageSize": "pageSize"; "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableOrganism<any>, "organisms-smart-table", never, { "columns": "columns"; "items": "items"; "patientsSize": "patientsSize"; "pageSize": "pageSize"; "menuItems": "menuItems"; "selectedIdSet": "selectedIdSet"; "sortKey": "sortKey"; "sortOrder": "sortOrder"; }, { "action": "action"; "headerClick": "headerClick"; "checkboxClick": "checkboxClick"; "pageChange": "pageChange"; "itemCheck": "itemCheck"; }, never, never>;
|
|
21
22
|
}
|
|
22
23
|
//# sourceMappingURL=smart-table.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-table.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;
|
|
1
|
+
{"version":3,"file":"smart-table.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAG9D,qBAOa,kBAAkB,CAAC,IAAI,SAAS,MAAM;IAGjD,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAM;IAE7B,IAAI,gBAAgB,IAAI,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,CAE9C;IAGD,KAAK,EAAE,IAAI,EAAE,CAAM;IAGnB,YAAY,EAAE,MAAM,CAAK;IAGzB,QAAQ,EAAE,MAAM,CAAK;IAGrB,SAAS,EAAE,UAAU,EAAE,CAAM;IAG7B,aAAa,cAAqB;IAGlC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAG3B,MAAM,4BAA8B;IAGpC,WAAW,uBAA8B;IAGzC,aAAa,gCAAuC;IAGpD,UAAU,oBAAsB;IAGhC,SAAS,gCAAuC;IAEhD,iBAAiB,eAAgB,MAAM,YAAgB;yCA7C5C,kBAAkB;2CAAlB,kBAAkB;CA8C9B"}
|
|
@@ -3,12 +3,12 @@ import { ActionItem } from '@ng-atomic/common/models';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TopNavigatorOrganism {
|
|
5
5
|
title?: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
items: ActionItem[];
|
|
7
|
+
action: EventEmitter<ActionItem<any>>;
|
|
8
8
|
id: (item: {
|
|
9
9
|
id: string;
|
|
10
10
|
}) => string;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopNavigatorOrganism, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopNavigatorOrganism, "organisms-top-navigator", never, { "title": "title"; "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopNavigatorOrganism, "organisms-top-navigator", never, { "title": "title"; "items": "items"; }, { "action": "action"; }, never, never>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=top-navigator.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA2B,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAGtD,qBAMa,oBAAoB;IAG/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,
|
|
1
|
+
{"version":3,"file":"top-navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA2B,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;AAGtD,qBAMa,oBAAoB;IAG/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,UAAU,EAAE,CAAM;IAGzB,MAAM,gCAAkC;IAExC,EAAE,SAAU;QAAC,EAAE,EAAE,MAAM,CAAA;KAAC,YAAa;yCAX1B,oBAAoB;2CAApB,oBAAoB;CAahC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-atomic/components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"module": "fesm2015/ng-atomic-components.mjs",
|
|
6
6
|
"es2020": "fesm2020/ng-atomic-components.mjs",
|
|
@@ -132,6 +132,14 @@
|
|
|
132
132
|
"node": "./fesm2015/ng-atomic-components-molecules-date-input-field.mjs",
|
|
133
133
|
"default": "./fesm2020/ng-atomic-components-molecules-date-input-field.mjs"
|
|
134
134
|
},
|
|
135
|
+
"./molecules/header": {
|
|
136
|
+
"types": "./molecules/header/ng-atomic-components-molecules-header.d.ts",
|
|
137
|
+
"esm2020": "./esm2020/molecules/header/ng-atomic-components-molecules-header.mjs",
|
|
138
|
+
"es2020": "./fesm2020/ng-atomic-components-molecules-header.mjs",
|
|
139
|
+
"es2015": "./fesm2015/ng-atomic-components-molecules-header.mjs",
|
|
140
|
+
"node": "./fesm2015/ng-atomic-components-molecules-header.mjs",
|
|
141
|
+
"default": "./fesm2020/ng-atomic-components-molecules-header.mjs"
|
|
142
|
+
},
|
|
135
143
|
"./molecules/navigation-list-item": {
|
|
136
144
|
"types": "./molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.d.ts",
|
|
137
145
|
"esm2020": "./esm2020/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.mjs",
|
|
@@ -359,11 +367,11 @@
|
|
|
359
367
|
"peerDependencies": {
|
|
360
368
|
"@angular/core": "13.3.11",
|
|
361
369
|
"@angular/platform-browser": "13.3.11",
|
|
362
|
-
"@ng-atomic/elements": "3.
|
|
370
|
+
"@ng-atomic/elements": "3.6.0",
|
|
363
371
|
"@angular/cdk": "13.3.9",
|
|
364
372
|
"@ngneat/reactive-forms": "^4.1.0",
|
|
365
373
|
"rxjs": "^7.0.0",
|
|
366
|
-
"@ng-atomic/common": "3.
|
|
374
|
+
"@ng-atomic/common": "3.6.0",
|
|
367
375
|
"@angular/forms": "13.3.11",
|
|
368
376
|
"@angular/animations": "13.3.11",
|
|
369
377
|
"resize-observer-polyfill": "^1.5.1",
|
|
@@ -7,13 +7,14 @@ import * as i5 from "@ng-atomic/common/pipes/smart-field";
|
|
|
7
7
|
import * as i6 from "@ng-atomic/components/frames/auto-layout";
|
|
8
8
|
import * as i7 from "@ng-atomic/components/frames/scroll";
|
|
9
9
|
import * as i8 from "@ng-atomic/components/organisms/action-buttons-section";
|
|
10
|
-
import * as i9 from "@ng-atomic/components/organisms/
|
|
10
|
+
import * as i9 from "@ng-atomic/components/organisms/navigator";
|
|
11
11
|
import * as i10 from "@ng-atomic/components/organisms/date-input-section";
|
|
12
12
|
import * as i11 from "@ng-atomic/components/organisms/text-input-section";
|
|
13
13
|
import * as i12 from "@ng-atomic/components/organisms/select-input-section";
|
|
14
|
+
import * as i13 from "@ng-atomic/components/molecules/header";
|
|
14
15
|
export declare class SmartCrudModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrudModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartCrudModule, [typeof i1.SmartCrudTemplate], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.DomainModule, typeof i5.SmartFieldModule, typeof i6.AutoLayoutModule, typeof i7.ScrollModule, typeof i8.ActionButtonsSectionModule, typeof i9.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartCrudModule, [typeof i1.SmartCrudTemplate], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.DomainModule, typeof i5.SmartFieldModule, typeof i6.AutoLayoutModule, typeof i7.ScrollModule, typeof i8.ActionButtonsSectionModule, typeof i9.NavigatorModule, typeof i10.DateInputSectionModule, typeof i11.TextInputSectionModule, typeof i12.SelectInputSectionModule, typeof i13.HeaderModule], [typeof i1.SmartCrudTemplate]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartCrudModule>;
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=smart-crud.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-crud.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-crud/smart-crud.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smart-crud.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-crud/smart-crud.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAiBA,qBA4Ba,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
|
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Action, ActionItem } from '@ng-atomic/common/models';
|
|
3
3
|
import { FormGroup } from '@ngneat/reactive-forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export declare enum ActionId {
|
|
6
|
+
BACK = "[@ng-atomic/components/templates/smart-crud] Back",
|
|
7
|
+
CREATE = "[@ng-atomic/components/templates/smart-crud] Create",
|
|
8
|
+
UPDATE = "[@ng-atomic/components/templates/smart-crud] Update",
|
|
9
|
+
DELETE = "[@ng-atomic/components/templates/smart-crud] Delete"
|
|
10
|
+
}
|
|
5
11
|
export declare class SmartCrudTemplate {
|
|
6
12
|
canBack: boolean;
|
|
7
13
|
name: string;
|
|
8
14
|
form: FormGroup<any>;
|
|
9
15
|
mode: 'create' | 'update';
|
|
10
|
-
|
|
11
|
-
|
|
16
|
+
navigatorMenuItems: ActionItem[];
|
|
17
|
+
title: string;
|
|
18
|
+
action: EventEmitter<Action<any>>;
|
|
12
19
|
backButtonClick: EventEmitter<any>;
|
|
13
20
|
createButtonClick: EventEmitter<void>;
|
|
14
21
|
updateButtonClick: EventEmitter<void>;
|
|
15
|
-
|
|
22
|
+
navigatorLeftItems: {
|
|
23
|
+
id: ActionId;
|
|
24
|
+
icon: string;
|
|
25
|
+
}[];
|
|
16
26
|
get actionItems(): ActionItem[];
|
|
17
27
|
get controls(): [string, unknown][];
|
|
18
28
|
trackByIndex: (index: number) => number;
|
|
19
|
-
|
|
29
|
+
onAction(action: Action): void;
|
|
20
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrudTemplate, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrudTemplate, "templates-smart-crud", never, { "canBack": "canBack"; "name": "name"; "form": "form"; "mode": "mode"; "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrudTemplate, "templates-smart-crud", never, { "canBack": "canBack"; "name": "name"; "form": "form"; "mode": "mode"; "navigatorMenuItems": "navigatorMenuItems"; "title": "title"; }, { "action": "action"; "backButtonClick": "backButtonClick"; "createButtonClick": "createButtonClick"; "updateButtonClick": "updateButtonClick"; }, never, never>;
|
|
22
32
|
}
|
|
23
33
|
//# sourceMappingURL=smart-crud.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-crud.template.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-crud/smart-crud.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"smart-crud.template.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-crud/smart-crud.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;;AAEnD,oBAAY,QAAQ;IAClB,IAAI,sDAAsD;IAC1D,MAAM,wDAAwD;IAC9D,MAAM,wDAAwD;IAC9D,MAAM,wDAAwD;CAC/D;AAED,qBAOa,iBAAiB;IAG5B,OAAO,UAAS;IAGhB,IAAI,EAAE,MAAM,CAAM;IAGlB,IAAI,EAAG,SAAS,CAAC,GAAG,CAAC,CAAC;IAGtB,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAY;IAGrC,kBAAkB,EAAE,UAAU,EAAE,CAAuC;IAGvE,KAAK,EAAE,MAAM,CAAW;IAGxB,MAAM,4BAA8B;IAGpC,eAAe,oBAAsB;IAGrC,iBAAiB,qBAA4B;IAG7C,iBAAiB,qBAA4B;IAE7C,kBAAkB;;;QAA+C;IAEjE,IAAI,WAAW,IAAI,UAAU,EAAE,CAK9B;IAED,IAAI,QAAQ,wBAEX;IAED,YAAY,UAAW,MAAM,YAAW;IAExC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;yCA/CnB,iBAAiB;2CAAjB,iBAAiB;CAuD7B"}
|
|
@@ -5,10 +5,11 @@ import * as i3 from "@ng-atomic/components/frames/auto-layout";
|
|
|
5
5
|
import * as i4 from "@ng-atomic/components/frames/scroll";
|
|
6
6
|
import * as i5 from "@ng-atomic/components/organisms/paginator";
|
|
7
7
|
import * as i6 from "@ng-atomic/components/organisms/smart-table";
|
|
8
|
-
import * as i7 from "@ng-atomic/components/organisms/
|
|
8
|
+
import * as i7 from "@ng-atomic/components/organisms/navigator";
|
|
9
|
+
import * as i8 from "@ng-atomic/components/molecules/header";
|
|
9
10
|
export declare class SmartIndexModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartIndexModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartIndexModule, [typeof i1.SmartIndexTemplate], [typeof i2.CommonModule, typeof i3.AutoLayoutModule, typeof i4.ScrollModule, typeof i5.PaginatorModule, typeof i6.SmartTableModule, typeof i7.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartIndexModule, [typeof i1.SmartIndexTemplate], [typeof i2.CommonModule, typeof i3.AutoLayoutModule, typeof i4.ScrollModule, typeof i5.PaginatorModule, typeof i6.SmartTableModule, typeof i7.NavigatorModule, typeof i8.HeaderModule], [typeof i1.SmartIndexTemplate]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartIndexModule>;
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=smart-index.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-index.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-index/smart-index.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smart-index.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-index/smart-index.module.ts"],"names":[],"mappings":";;;;;;;;;AAYA,qBAoBa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAI"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import { ActionItem } from '@ng-atomic/common/models';
|
|
3
|
+
import { Action, ActionItem } from '@ng-atomic/common/models';
|
|
4
4
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface Page extends PageEvent {
|
|
7
7
|
}
|
|
8
|
+
export declare enum ActionId {
|
|
9
|
+
BACK = "[@ng-atomic/components/templates/smart-crud] Back"
|
|
10
|
+
}
|
|
8
11
|
export declare class Page {
|
|
9
12
|
static fromObj(event?: PageEvent): Page;
|
|
10
13
|
get start(): number;
|
|
@@ -17,8 +20,8 @@ export declare class SmartIndexTemplate<T> {
|
|
|
17
20
|
title: string;
|
|
18
21
|
description?: string;
|
|
19
22
|
items: T[];
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
rowMenuItems: ActionItem[];
|
|
24
|
+
navigatorMenuItems: ActionItem[];
|
|
22
25
|
properties: (keyof T)[];
|
|
23
26
|
selectedIdSet: Set<string>;
|
|
24
27
|
sortKey?: string;
|
|
@@ -26,12 +29,17 @@ export declare class SmartIndexTemplate<T> {
|
|
|
26
29
|
page?: PageEvent;
|
|
27
30
|
pageSizeOptions: number[];
|
|
28
31
|
queryPlaceholder: string;
|
|
29
|
-
action: EventEmitter<
|
|
32
|
+
action: EventEmitter<Action<any>>;
|
|
30
33
|
backButtonClick: EventEmitter<any>;
|
|
31
34
|
checkboxClick: EventEmitter<T>;
|
|
32
35
|
pageChange: EventEmitter<PageEvent>;
|
|
33
36
|
tableHeaderClick: EventEmitter<string>;
|
|
37
|
+
navigatorLeftItems: {
|
|
38
|
+
id: ActionId;
|
|
39
|
+
icon: string;
|
|
40
|
+
}[];
|
|
41
|
+
onAction(action: Action): void;
|
|
34
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartIndexTemplate<any>, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartIndexTemplate<any>, "templates-smart-index", never, { "canBack": "canBack"; "queryControl": "queryControl"; "title": "title"; "description": "description"; "items": "items"; "
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartIndexTemplate<any>, "templates-smart-index", never, { "canBack": "canBack"; "queryControl": "queryControl"; "title": "title"; "description": "description"; "items": "items"; "rowMenuItems": "rowMenuItems"; "navigatorMenuItems": "navigatorMenuItems"; "properties": "properties"; "selectedIdSet": "selectedIdSet"; "sortKey": "sortKey"; "sortOrder": "sortOrder"; "page": "page"; "pageSizeOptions": "pageSizeOptions"; "queryPlaceholder": "queryPlaceholder"; }, { "action": "action"; "backButtonClick": "backButtonClick"; "checkboxClick": "checkboxClick"; "pageChange": "pageChange"; "tableHeaderClick": "tableHeaderClick"; }, never, never>;
|
|
36
44
|
}
|
|
37
45
|
//# sourceMappingURL=smart-index.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-index.template.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-index/smart-index.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"smart-index.template.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-index/smart-index.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;;AAErD,MAAM,WAAW,IAAK,SAAQ,SAAS;CAAI;AAE3C,oBAAY,QAAQ;IAClB,IAAI,sDAAsD;CAC3D;AAED,qBAAa,IAAI;IACf,MAAM,CAAC,OAAO,CAAC,KAAK,GAAE,SAAqD,GAAG,IAAI;IAIlF,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,GAAG,IAAI,MAAM,CAEhB;IAED,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,IAAI;CAGrC;AAED,qBAOa,kBAAkB,CAAC,CAAC;IAG/B,OAAO,UAAS;IAGhB,YAAY,sBAA+B;IAG3C,KAAK,EAAE,MAAM,CAAM;IAGnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,KAAK,EAAE,CAAC,EAAE,CAAM;IAGhB,YAAY,EAAE,UAAU,EAAE,CAAM;IAGhC,kBAAkB,EAAE,UAAU,EAAE,CAAM;IAGtC,UAAU,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAO;IAG9B,aAAa,cAAqB;IAGlC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,IAAI,CAAC,EAAE,SAAS,CAId;IAGF,eAAe,EAAE,MAAM,EAAE,CAAoB;IAG7C,gBAAgB,SAAM;IAGtB,MAAM,4BAA8B;IAGpC,eAAe,oBAAsB;IAGrC,aAAa,kBAAyB;IAGtC,UAAU,0BAAiC;IAG3C,gBAAgB,uBAA8B;IAE9C,kBAAkB;;;QAA+C;IAEjE,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;yCAjEnB,kBAAkB;2CAAlB,kBAAkB;CAuE9B"}
|