@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
|
@@ -4,72 +4,71 @@ import * as i1 from '@angular/material/toolbar';
|
|
|
4
4
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i3 from '@
|
|
7
|
+
import * as i3 from '@ng-atomic/components/atoms/smart-menu-button';
|
|
8
|
+
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
8
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
-
import * as i4 from '@angular/material/icon';
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
-
import * as i5 from '@ng-atomic/components/atoms/smart-menu-button';
|
|
12
|
-
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
13
11
|
|
|
14
|
-
function
|
|
12
|
+
function NavigatorOrganism_atoms_smart_menu_button_2_Template(rf, ctx) {
|
|
13
|
+
if (rf & 1) {
|
|
14
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
15
|
+
i0.ɵɵelementStart(0, "atoms-smart-menu-button", 2);
|
|
16
|
+
i0.ɵɵlistener("action", function NavigatorOrganism_atoms_smart_menu_button_2_Template_atoms_smart_menu_button_action_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.action.emit($event); });
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
}
|
|
19
|
+
if (rf & 2) {
|
|
20
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
|
+
i0.ɵɵproperty("items", ctx_r0.leftItems);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function NavigatorOrganism_atoms_smart_menu_button_5_Template(rf, ctx) {
|
|
15
25
|
if (rf & 1) {
|
|
16
|
-
const
|
|
17
|
-
i0.ɵɵelementStart(0, "button",
|
|
18
|
-
i0.ɵɵlistener("
|
|
19
|
-
i0.ɵɵ
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "atoms-smart-menu-button", 2);
|
|
28
|
+
i0.ɵɵlistener("action", function NavigatorOrganism_atoms_smart_menu_button_5_Template_atoms_smart_menu_button_action_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.action.emit($event); });
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
}
|
|
31
|
+
if (rf & 2) {
|
|
32
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
33
|
+
i0.ɵɵproperty("items", ctx_r1.rightItems);
|
|
22
34
|
}
|
|
23
35
|
}
|
|
36
|
+
const _c0 = ["*"];
|
|
24
37
|
class NavigatorOrganism {
|
|
25
38
|
constructor() {
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.actionItemClick = new EventEmitter();
|
|
39
|
+
this.rightItems = [];
|
|
40
|
+
this.leftItems = [];
|
|
41
|
+
this.action = new EventEmitter();
|
|
30
42
|
}
|
|
31
43
|
}
|
|
32
44
|
NavigatorOrganism.ɵfac = function NavigatorOrganism_Factory(t) { return new (t || NavigatorOrganism)(); };
|
|
33
|
-
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: {
|
|
45
|
+
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: { rightItems: "rightItems", leftItems: "leftItems" }, outputs: { action: "action" }, ngContentSelectors: _c0, decls: 6, vars: 2, consts: [["color", "primary"], [3, "items", "action", 4, "ngIf"], [3, "items", "action"]], template: function NavigatorOrganism_Template(rf, ctx) {
|
|
34
46
|
if (rf & 1) {
|
|
47
|
+
i0.ɵɵprojectionDef();
|
|
35
48
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div");
|
|
36
|
-
i0.ɵɵtemplate(2,
|
|
37
|
-
i0.ɵɵ
|
|
38
|
-
i0.ɵɵtext(5);
|
|
49
|
+
i0.ɵɵtemplate(2, NavigatorOrganism_atoms_smart_menu_button_2_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
50
|
+
i0.ɵɵprojection(3);
|
|
39
51
|
i0.ɵɵelementEnd();
|
|
40
|
-
i0.ɵɵelementStart(
|
|
41
|
-
i0.ɵɵ
|
|
42
|
-
i0.ɵɵelementEnd()()
|
|
43
|
-
i0.ɵɵelementStart(8, "div")(9, "atoms-smart-menu-button", 5);
|
|
44
|
-
i0.ɵɵlistener("actionItemClick", function NavigatorOrganism_Template_atoms_smart_menu_button_actionItemClick_9_listener($event) { return ctx.actionItemClick.emit($event); });
|
|
45
|
-
i0.ɵɵelementEnd()()();
|
|
52
|
+
i0.ɵɵelementStart(4, "div");
|
|
53
|
+
i0.ɵɵtemplate(5, NavigatorOrganism_atoms_smart_menu_button_5_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
54
|
+
i0.ɵɵelementEnd()();
|
|
46
55
|
}
|
|
47
56
|
if (rf & 2) {
|
|
48
57
|
i0.ɵɵadvance(2);
|
|
49
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
58
|
+
i0.ɵɵproperty("ngIf", ctx.leftItems.length);
|
|
50
59
|
i0.ɵɵadvance(3);
|
|
51
|
-
i0.ɵɵ
|
|
52
|
-
i0.ɵɵadvance(2);
|
|
53
|
-
i0.ɵɵtextInterpolate(ctx.description || "");
|
|
54
|
-
i0.ɵɵadvance(2);
|
|
55
|
-
i0.ɵɵproperty("actionItems", ctx.actionItems);
|
|
60
|
+
i0.ɵɵproperty("ngIf", ctx.rightItems.length);
|
|
56
61
|
}
|
|
57
|
-
}, directives: [i1.MatToolbar, i2.NgIf, i3.
|
|
62
|
+
}, directives: [i1.MatToolbar, i2.NgIf, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-e5uk: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-e5uk)}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;justify-content:space-between;align-items:center}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"], changeDetection: 0 });
|
|
58
63
|
(function () {
|
|
59
64
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigatorOrganism, [{
|
|
60
65
|
type: Component,
|
|
61
|
-
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <
|
|
62
|
-
}], null, {
|
|
66
|
+
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"leftItems.length\"\n [items]=\"leftItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"rightItems.length\"\n [items]=\"rightItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-e5uk: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-e5uk)}:host mat-toolbar{display:flex;width:100%;height:100%;justify-content:space-between;align-items:center}:host div{display:flex;justify-content:center;align-items:center}\n"] }]
|
|
67
|
+
}], null, { rightItems: [{
|
|
63
68
|
type: Input
|
|
64
|
-
}],
|
|
69
|
+
}], leftItems: [{
|
|
65
70
|
type: Input
|
|
66
|
-
}],
|
|
67
|
-
type: Input
|
|
68
|
-
}], actionItems: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], backButtonClick: [{
|
|
71
|
-
type: Output
|
|
72
|
-
}], actionItemClick: [{
|
|
71
|
+
}], action: [{
|
|
73
72
|
type: Output
|
|
74
73
|
}] });
|
|
75
74
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-navigator.mjs","sources":["../../../../libs/components/src/organisms/navigator/navigator.organism.html","../../../../libs/components/src/organisms/navigator/navigator.organism.ts","../../../../libs/components/src/organisms/navigator/navigator.module.ts","../../../../libs/components/src/organisms/navigator/ng-atomic-components-organisms-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-navigator.mjs","sources":["../../../../libs/components/src/organisms/navigator/navigator.organism.html","../../../../libs/components/src/organisms/navigator/navigator.organism.ts","../../../../libs/components/src/organisms/navigator/navigator.module.ts","../../../../libs/components/src/organisms/navigator/ng-atomic-components-organisms-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"leftItems.length\"\n [items]=\"leftItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"rightItems.length\"\n [items]=\"rightItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-navigator',\n templateUrl: './navigator.organism.html',\n styleUrls: ['./navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigatorOrganism {\n @Input()\n rightItems: ActionItem[] = [];\n\n @Input()\n leftItems: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { NavigatorOrganism } from './navigator.organism';\n\n\n\n@NgModule({\n declarations: [NavigatorOrganism],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [NavigatorOrganism]\n})\nexport class NavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;QAEI,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;AADC,QAAA,EAAA,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,8FAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAA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;sBADT,KAAK;gBAIN,SAAS,EAAA,CAAA;sBADR,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;;MCQI,eAAe,CAAA;;8EAAf,eAAe,GAAA,CAAA,EAAA,CAAA;iEAAf,eAAe,EAAA,CAAA,CAAA;AAXjB,eAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA;YACP,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,gBAAgB;;YAEhB,qBAAqB;SACtB,CAAA,EAAA,CAAA,CAAA;;4EAGU,eAAe,EAAA,CAAA;kBAb3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,eAAe;wBACf,aAAa;wBACb,gBAAgB;;wBAEhB,qBAAqB;AACtB,qBAAA;oBACD,OAAO,EAAE,CAAC,iBAAiB,CAAC;iBAC7B,CAAA;;;;6EACY,eAAe,EAAA,EAAA,YAAA,EAAA,CAZX,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,gBAAgB;;YAEhB,qBAAqB,aAEb,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACtB7B;;AAEG;;;;"}
|
|
@@ -18,7 +18,7 @@ class PaginatorOrganism {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
PaginatorOrganism.ɵfac = function PaginatorOrganism_Factory(t) { return new (t || PaginatorOrganism)(); };
|
|
21
|
-
PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginatorOrganism, selectors: [["organisms-paginator"]], hostAttrs: [1, "organism"], inputs: { control: "control", placeholder: "placeholder", page: "page", pageSizeOptions: "pageSizeOptions" }, outputs: { pageChange: "pageChange" }, decls: 3, vars:
|
|
21
|
+
PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginatorOrganism, selectors: [["organisms-paginator"]], hostAttrs: [1, "organism"], inputs: { control: "control", placeholder: "placeholder", page: "page", pageSizeOptions: "pageSizeOptions" }, outputs: { pageChange: "pageChange" }, decls: 3, vars: 9, consts: [["horizontal", ""], [3, "appearance", "control", "floatLabel", "label", "hint", "placeholder"], ["aria-label", "Select page", 3, "length", "pageSize", "pageSizeOptions", "page"]], template: function PaginatorOrganism_Template(rf, ctx) {
|
|
22
22
|
if (rf & 1) {
|
|
23
23
|
i0.ɵɵelementStart(0, "frames-auto-layout", 0);
|
|
24
24
|
i0.ɵɵelement(1, "molecules-chips-input-field", 1);
|
|
@@ -28,15 +28,15 @@ PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Paginator
|
|
|
28
28
|
}
|
|
29
29
|
if (rf & 2) {
|
|
30
30
|
i0.ɵɵadvance(1);
|
|
31
|
-
i0.ɵɵproperty("control", ctx.control)("
|
|
31
|
+
i0.ɵɵproperty("appearance", "legacy")("control", ctx.control)("floatLabel", "always")("label", "")("hint", "")("placeholder", ctx.placeholder);
|
|
32
32
|
i0.ɵɵadvance(1);
|
|
33
33
|
i0.ɵɵproperty("length", ctx.page.length)("pageSize", ctx.page.pageSize)("pageSizeOptions", ctx.pageSizeOptions);
|
|
34
34
|
}
|
|
35
|
-
}, directives: [i1.AutoLayoutFrame, i2.ChipsInputFieldMolecule, i3.MatPaginator], styles: ["[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{--vertical-padding: 0;justify-content:space-between}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] molecules-chips-input-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] mat-paginator[_ngcontent-%COMP%]{min-width:
|
|
35
|
+
}, directives: [i1.AutoLayoutFrame, i2.ChipsInputFieldMolecule, i3.MatPaginator], styles: ["[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{--vertical-padding: 0;justify-content:space-between}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] molecules-chips-input-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] mat-paginator[_ngcontent-%COMP%]{min-width:440px}"], changeDetection: 0 });
|
|
36
36
|
(function () {
|
|
37
37
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginatorOrganism, [{
|
|
38
38
|
type: Component,
|
|
39
|
-
args: [{ selector: 'organisms-paginator', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [control]=\"control\"\n [
|
|
39
|
+
args: [{ selector: 'organisms-paginator', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [appearance]=\"'legacy'\"\n [control]=\"control\"\n [floatLabel]=\"'always'\"\n [label]=\"''\"\n [hint]=\"''\"\n [placeholder]=\"placeholder\"\n ></molecules-chips-input-field>\n <mat-paginator \n [length]=\"page.length\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageChange.emit($event)\"\n aria-label=\"Select page\">\n </mat-paginator>\n</frames-auto-layout>\n", styles: [":host frames-auto-layout{--vertical-padding: 0;justify-content:space-between}:host frames-auto-layout molecules-chips-input-field{width:100%}:host frames-auto-layout mat-paginator{min-width:440px}\n"] }]
|
|
40
40
|
}], null, { control: [{
|
|
41
41
|
type: Input
|
|
42
42
|
}], placeholder: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-paginator.mjs","sources":["../../../../libs/components/src/organisms/paginator/paginator.organism.ts","../../../../libs/components/src/organisms/paginator/paginator.organism.html","../../../../libs/components/src/organisms/paginator/paginator.module.ts","../../../../libs/components/src/organisms/paginator/ng-atomic-components-organisms-paginator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-paginator',\n templateUrl: './paginator.organism.html',\n styleUrls: ['./paginator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'},\n})\nexport class PaginatorOrganism {\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = '';\n\n @Input()\n page!: PageEvent;\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n}\n","<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [control]=\"control\"\n [
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-paginator.mjs","sources":["../../../../libs/components/src/organisms/paginator/paginator.organism.ts","../../../../libs/components/src/organisms/paginator/paginator.organism.html","../../../../libs/components/src/organisms/paginator/paginator.module.ts","../../../../libs/components/src/organisms/paginator/ng-atomic-components-organisms-paginator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-paginator',\n templateUrl: './paginator.organism.html',\n styleUrls: ['./paginator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'},\n})\nexport class PaginatorOrganism {\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = '';\n\n @Input()\n page!: PageEvent;\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n}\n","<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [appearance]=\"'legacy'\"\n [control]=\"control\"\n [floatLabel]=\"'always'\"\n [label]=\"''\"\n [hint]=\"''\"\n [placeholder]=\"placeholder\"\n ></molecules-chips-input-field>\n <mat-paginator \n [length]=\"page.length\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageChange.emit($event)\"\n aria-label=\"Select page\">\n </mat-paginator>\n</frames-auto-layout>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ChipsInputFieldModule } from '@ng-atomic/components/molecules/chips-input-field';\n\nimport { PaginatorOrganism } from './paginator.organism';\n\n@NgModule({\n declarations: [\n PaginatorOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatPaginatorModule,\n // Frames\n AutoLayoutModule,\n // Molecules\n ChipsInputFieldModule,\n ],\n exports: [\n PaginatorOrganism\n ]\n})\nexport class PaginatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAWa,iBAAiB,CAAA;AAP9B,IAAA,WAAA,GAAA;QAUE,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC;AAGtC,QAAA,IAAW,CAAA,WAAA,GAAG,EAAE,CAAC;AAMjB,QAAA,IAAe,CAAA,eAAA,GAAa,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;AAG7C,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,YAAY,EAAa,CAAC;KAE5C;;kFAjBY,iBAAiB,GAAA,CAAA,EAAA,CAAA;oEAAjB,iBAAiB,EAAA,SAAA,EAAA,CAAA,CAAA,qBAAA,CAAA,CAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA,UAAA,CAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,IAAA,EAAA,MAAA,EAAA,eAAA,EAAA,iBAAA,EAAA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A,CAAA;AAAA,CAAA,GAAA;;ACtBrB;;AAEG;;;;"}
|
|
@@ -20,11 +20,11 @@ SelectInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
20
20
|
if (rf & 2) {
|
|
21
21
|
i0.ɵɵproperty("label", ctx.label)("control", ctx.control)("options", ctx.options);
|
|
22
22
|
}
|
|
23
|
-
}, directives: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
23
|
+
}, directives: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-joqV: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-joqV);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
24
24
|
(function () {
|
|
25
25
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputSectionOrganism, [{
|
|
26
26
|
type: Component,
|
|
27
|
-
args: [{ selector: 'organisms-select-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
27
|
+
args: [{ selector: 'organisms-select-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-joqV: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-joqV);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"] }]
|
|
28
28
|
}], null, { label: [{
|
|
29
29
|
type: Input
|
|
30
30
|
}], control: [{
|
|
@@ -33,12 +33,12 @@ function SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template(r
|
|
|
33
33
|
if (rf & 1) {
|
|
34
34
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
35
35
|
i0.ɵɵelementStart(0, "molecules-actions-column", 10);
|
|
36
|
-
i0.ɵɵlistener("
|
|
36
|
+
i0.ɵɵlistener("action", function SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template_molecules_actions_column_action_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.action.emit($event); });
|
|
37
37
|
i0.ɵɵelementEnd();
|
|
38
38
|
}
|
|
39
39
|
if (rf & 2) {
|
|
40
40
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
41
|
-
i0.ɵɵproperty("
|
|
41
|
+
i0.ɵɵproperty("items", ctx_r6.menuItems);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template(rf, ctx) {
|
|
@@ -95,20 +95,21 @@ class SmartTableOrganism {
|
|
|
95
95
|
this.items = [];
|
|
96
96
|
this.patientsSize = 0;
|
|
97
97
|
this.pageSize = 0;
|
|
98
|
-
this.
|
|
98
|
+
this.menuItems = [];
|
|
99
99
|
this.selectedIdSet = new Set();
|
|
100
|
-
this.
|
|
100
|
+
this.action = new EventEmitter();
|
|
101
101
|
this.headerClick = new EventEmitter();
|
|
102
102
|
this.checkboxClick = new EventEmitter();
|
|
103
103
|
this.pageChange = new EventEmitter();
|
|
104
104
|
this.itemCheck = new EventEmitter();
|
|
105
|
+
this.trackByColumnName = (columnName) => columnName;
|
|
105
106
|
}
|
|
106
107
|
get displayedColumns() {
|
|
107
108
|
return [...this.columns];
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
SmartTableOrganism.ɵfac = function SmartTableOrganism_Factory(t) { return new (t || SmartTableOrganism)(); };
|
|
111
|
-
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { columns: "columns", items: "items", patientsSize: "patientsSize", pageSize: "pageSize",
|
|
112
|
+
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { columns: "columns", items: "items", patientsSize: "patientsSize", pageSize: "pageSize", menuItems: "menuItems", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, decls: 5, vars: 6, consts: [["mat-table", "", "matSort", "", "matSortDisableClear", "", "matSortDirection", "desc", 3, "dataSource"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], ["mat-header-row", "", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["class", "no-data-message", 4, "ngIf"], [3, "ngSwitch"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick", 4, "ngSwitchCase"], ["name", "__actions", 3, "items", "action", 4, "ngSwitchCase"], [3, "name", "headerText", "sort", "headerClick", 4, "ngSwitchDefault"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick"], ["name", "__actions", 3, "items", "action"], [3, "name", "headerText", "sort", "headerClick"], ["mat-header-row", ""], ["mat-row", ""], [1, "no-data-message"]], template: function SmartTableOrganism_Template(rf, ctx) {
|
|
112
113
|
if (rf & 1) {
|
|
113
114
|
i0.ɵɵelementStart(0, "table", 0);
|
|
114
115
|
i0.ɵɵtemplate(1, SmartTableOrganism_ng_container_1_Template, 4, 3, "ng-container", 1);
|
|
@@ -128,11 +129,11 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
128
129
|
i0.ɵɵadvance(1);
|
|
129
130
|
i0.ɵɵproperty("ngIf", !(ctx.items == null ? null : ctx.items.length));
|
|
130
131
|
}
|
|
131
|
-
}, directives: [i1.MatTable, i2.NgForOf, i2.NgSwitch, i2.NgSwitchCase, i3.CheckboxColumnMolecule, i4.ActionsColumnMolecule, i2.NgSwitchDefault, i5.SmartColumnMolecule, i1.MatHeaderRowDef, i1.MatHeaderRow, i1.MatRowDef, i1.MatRow, i2.NgIf], pipes: [i6.DomainPipe], styles: ["[_nghost-%COMP%]{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
132
|
+
}, directives: [i1.MatTable, i2.NgForOf, i2.NgSwitch, i2.NgSwitchCase, i3.CheckboxColumnMolecule, i4.ActionsColumnMolecule, i2.NgSwitchDefault, i5.SmartColumnMolecule, i1.MatHeaderRowDef, i1.MatHeaderRow, i1.MatRowDef, i1.MatRow, i2.NgIf], pipes: [i6.DomainPipe], styles: ["[_nghost-%COMP%]{--width: 100%;--width-SCOPED-IN-smart-table-DjBO: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-DjBO: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-DjBO: var(--column-vertical-padding)}[_nghost-%COMP%]{position:relative;width:100%;height:100%;overflow:scroll}[_nghost-%COMP%]::-webkit-scrollbar{display:none}[_nghost-%COMP%] table[_ngcontent-%COMP%]{width:100%;max-height:100%}[_nghost-%COMP%] table[_ngcontent-%COMP%] .nowrap[_ngcontent-%COMP%]{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] table[_ngcontent-%COMP%] th, [_nghost-%COMP%] table[_ngcontent-%COMP%] td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-DjBO)}[_nghost-%COMP%] .no-data-message[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-DjBO) - var(--cell-SCOPED-IN-smart-table-DjBO) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-DjBO) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-DjBO) * 2)}"], changeDetection: 0 });
|
|
132
133
|
(function () {
|
|
133
134
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartTableOrganism, [{
|
|
134
135
|
type: Component,
|
|
135
|
-
args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [
|
|
136
|
+
args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [items]=\"menuItems\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002</div>", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-DjBO: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-DjBO: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-DjBO: var(--column-vertical-padding)}:host{position:relative;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-DjBO)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-DjBO) - var(--cell-SCOPED-IN-smart-table-DjBO) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-DjBO) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-DjBO) * 2)}\n"] }]
|
|
136
137
|
}], null, { columns: [{
|
|
137
138
|
type: Input
|
|
138
139
|
}], items: [{
|
|
@@ -141,7 +142,7 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
141
142
|
type: Input
|
|
142
143
|
}], pageSize: [{
|
|
143
144
|
type: Input
|
|
144
|
-
}],
|
|
145
|
+
}], menuItems: [{
|
|
145
146
|
type: Input
|
|
146
147
|
}], selectedIdSet: [{
|
|
147
148
|
type: Input
|
|
@@ -149,7 +150,7 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
149
150
|
type: Input
|
|
150
151
|
}], sortOrder: [{
|
|
151
152
|
type: Input
|
|
152
|
-
}],
|
|
153
|
+
}], action: [{
|
|
153
154
|
type: Output
|
|
154
155
|
}], headerClick: [{
|
|
155
156
|
type: Output
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, Item]>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;QAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2BAAA,EAAA,CAAA,CAAA,CAAA;AADC,QAAA,EAAA,CAAA,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A,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,YAAY;;wBAEZ,cAAc;wBACd,iBAAiB;wBACjB,aAAa;wBACb,eAAe;wBACf,aAAa;;wBAEb,mBAAmB;wBACnB,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;iBACF,CAAA;;;;6EACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CArBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;YAEZ,YAAY;;YAEZ,cAAc;YACd,iBAAiB;YACjB,aAAa;YACb,eAAe;YACf,aAAa;;YAEb,mBAAmB;YACnB,oBAAoB;YACpB,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;AClCtB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [items]=\"menuItems\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n menuItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n trackByColumnName = (columnName: string) => columnName;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;QAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2BAAA,EAAA,CAAA,CAAA,CAAA;AADC,QAAA,EAAA,CAAA,UAAA,CAAA,eAAA,EAAA,SAAA,yHAAA,CAAA,MAAA,IAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAiB,iCAA0B,CAAC,EAAA,CAAA,CAAA;QAC7C,EAA4B,CAAA,YAAA,EAAA,CAAA;;;;QAF3B,EAA+B,CAAA,UAAA,CAAA,eAAA,EAAA,MAAA,CAAA,aAAA,CAAA,CAAA;;;;;;QAGjC,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,0BAAA,EAAA,EAAA,CAAA,CAAA;AADC,QAAA,EAAA,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,gHAAA,CAAA,MAAA,IAAA,EAAA,CAAA,aAAA,CAAA,IAAA,CAAA,CAAA,CAAA,MAAA,OAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAU,2BAAmB,CAAC,EAAA,CAAA,CAAA;QAC/B,EAA2B,CAAA,YAAA,EAAA,CAAA;;;;QAF1B,EAAmB,CAAA,UA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ism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
17
17
|
i0.ɵɵtext(1, "Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3");
|
|
18
18
|
i0.ɵɵelementEnd();
|
|
19
19
|
}
|
|
20
|
-
}, directives: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
20
|
+
}, directives: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-GG63: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-GG63);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:56px}"], changeDetection: 0 });
|
|
21
21
|
(function () {
|
|
22
22
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SocialLoginSectionOrganism, [{
|
|
23
23
|
type: Component,
|
|
24
|
-
args: [{ selector: 'organisms-social-login-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
24
|
+
args: [{ selector: 'organisms-social-login-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-GG63: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-GG63);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
25
25
|
}], null, { signInWithGoogleButtonClick: [{
|
|
26
26
|
type: Output
|
|
27
27
|
}] });
|
|
@@ -21,11 +21,11 @@ TextInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Te
|
|
|
21
21
|
if (rf & 2) {
|
|
22
22
|
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
23
23
|
}
|
|
24
|
-
}, directives: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
24
|
+
}, directives: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-AM8D: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-AM8D);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%], [_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"] });
|
|
25
25
|
(function () {
|
|
26
26
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextInputSectionOrganism, [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"text\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
28
|
+
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"text\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-AM8D: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-AM8D);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
29
29
|
}], null, { label: [{
|
|
30
30
|
type: Input
|
|
31
31
|
}], placeholder: [{
|
|
@@ -17,11 +17,11 @@ TextareaSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Tex
|
|
|
17
17
|
if (rf & 2) {
|
|
18
18
|
i0.ɵɵproperty("label", ctx.label);
|
|
19
19
|
}
|
|
20
|
-
}, directives: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
20
|
+
}, directives: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-7hHm: var(--vertical-padding)}[_nghost-%COMP%]{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-7hHm);box-sizing:border-box}[_nghost-%COMP%] molecules-textarea-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
21
21
|
(function () {
|
|
22
22
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaSectionOrganism, [{
|
|
23
23
|
type: Component,
|
|
24
|
-
args: [{ selector: 'organisms-textarea-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-textarea-field\n [label]=\"label\"\n></molecules-textarea-field>", styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
24
|
+
args: [{ selector: 'organisms-textarea-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-textarea-field\n [label]=\"label\"\n></molecules-textarea-field>", styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-7hHm: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-7hHm);box-sizing:border-box}:host molecules-textarea-field{width:100%}\n"] }]
|
|
25
25
|
}], null, { label: [{
|
|
26
26
|
type: Input
|
|
27
27
|
}] });
|
|
@@ -9,37 +9,37 @@ import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-bu
|
|
|
9
9
|
|
|
10
10
|
class TopNavigatorOrganism {
|
|
11
11
|
constructor() {
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
12
|
+
this.items = [];
|
|
13
|
+
this.action = new EventEmitter();
|
|
14
14
|
this.id = (item) => item.id;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
TopNavigatorOrganism.ɵfac = function TopNavigatorOrganism_Factory(t) { return new (t || TopNavigatorOrganism)(); };
|
|
18
|
-
TopNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavigatorOrganism, selectors: [["organisms-top-navigator"]], inputs: { title: "title",
|
|
18
|
+
TopNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavigatorOrganism, selectors: [["organisms-top-navigator"]], inputs: { title: "title", items: "items" }, outputs: { action: "action" }, decls: 5, vars: 2, consts: [["color", "primary"], [1, "title-container"], [3, "items", "action"]], template: function TopNavigatorOrganism_Template(rf, ctx) {
|
|
19
19
|
if (rf & 1) {
|
|
20
20
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div", 1);
|
|
21
21
|
i0.ɵɵtext(2);
|
|
22
22
|
i0.ɵɵelementEnd();
|
|
23
23
|
i0.ɵɵelementStart(3, "div")(4, "atoms-smart-menu-button", 2);
|
|
24
|
-
i0.ɵɵlistener("
|
|
24
|
+
i0.ɵɵlistener("action", function TopNavigatorOrganism_Template_atoms_smart_menu_button_action_4_listener($event) { return ctx.action.emit($event); });
|
|
25
25
|
i0.ɵɵelementEnd()()();
|
|
26
26
|
}
|
|
27
27
|
if (rf & 2) {
|
|
28
28
|
i0.ɵɵadvance(2);
|
|
29
29
|
i0.ɵɵtextInterpolate1(" ", ctx.title || "", " ");
|
|
30
30
|
i0.ɵɵadvance(2);
|
|
31
|
-
i0.ɵɵproperty("
|
|
31
|
+
i0.ɵɵproperty("items", ctx.items);
|
|
32
32
|
}
|
|
33
|
-
}, directives: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-
|
|
33
|
+
}, directives: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-5UJb: var(--primary-500)}[_nghost-%COMP%]{width:100%;height:56px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 24px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{color:var(--primary-500-SCOPED-IN-top-navigator-5UJb);font-size:1.25rem;line-height:21px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] atoms-kurakatsu-logo[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] atoms-user-icon[_ngcontent-%COMP%]{width:32px;height:32px}"], changeDetection: 0 });
|
|
34
34
|
(function () {
|
|
35
35
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopNavigatorOrganism, [{
|
|
36
36
|
type: Component,
|
|
37
|
-
args: [{ selector: 'organisms-top-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [
|
|
37
|
+
args: [{ selector: 'organisms-top-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--primary-500-SCOPED-IN-top-navigator-5UJb: var(--primary-500)}:host{width:100%;height:56px}:host mat-toolbar{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 24px}:host mat-toolbar .title-container{color:var(--primary-500-SCOPED-IN-top-navigator-5UJb);font-size:1.25rem;line-height:21px}:host mat-toolbar .title-container atoms-kurakatsu-logo{width:auto}:host mat-toolbar atoms-user-icon{width:32px;height:32px}\n"] }]
|
|
38
38
|
}], null, { title: [{
|
|
39
39
|
type: Input
|
|
40
|
-
}],
|
|
40
|
+
}], items: [{
|
|
41
41
|
type: Input
|
|
42
|
-
}],
|
|
42
|
+
}], action: [{
|
|
43
43
|
type: Output
|
|
44
44
|
}] });
|
|
45
45
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-top-navigator.mjs","sources":["../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.ts","../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.html","../../../../libs/components/src/organisms/top-navigator/top-navigator.module.ts","../../../../libs/components/src/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-top-navigator',\n templateUrl: './top-navigator.organism.html',\n styleUrls: ['./top-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TopNavigatorOrganism {\n\n @Input()\n title?: string;\n\n @Input()\n
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-top-navigator.mjs","sources":["../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.ts","../../../../libs/components/src/organisms/top-navigator/top-navigator.organism.html","../../../../libs/components/src/organisms/top-navigator/top-navigator.module.ts","../../../../libs/components/src/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-top-navigator',\n templateUrl: './top-navigator.organism.html',\n styleUrls: ['./top-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TopNavigatorOrganism {\n\n @Input()\n title?: string;\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<ActionItem>();\n \n id = (item: {id: string}) => item.id;\n\n}\n","<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { TopNavigatorOrganism } from './top-navigator.organism';\n\n\n@NgModule({\n declarations: [\n TopNavigatorOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatToolbarModule,\n MatMenuModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n TopNavigatorOrganism\n ]\n})\nexport class TopNavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,oBAAoB,CAAA;AANjC,IAAA,WAAA,GAAA;AAYE,QAAA,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;AAGzB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAc,CAAC;QAExC,IAAE,CAAA,EAAA,GAAG,CAAC,IAAkB,KAAK,IAAI,CAAC,EAAE,CAAC;KAEtC;;wFAbY,oBAAoB,GAAA,CAAA,EAAA,CAAA;uEAApB,oBAAoB,EAAA,SAAA,EAAA,CAAA,CAAA,yBAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA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AuB,CAAC,MAAM,EAAA,QAAA,EAAA,0QAAA,EAAA,MAAA,EAAA,CAAA,odAAA,CAAA,EAAA,CAAA;oBAK/C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;;MEMI,kBAAkB,CAAA;;oFAAlB,kBAAkB,GAAA,CAAA,EAAA,CAAA;oEAAlB,kBAAkB,EAAA,CAAA,CAAA;AAZpB,kBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA;YACP,YAAY;;YAEZ,gBAAgB;YAChB,aAAa;;YAEb,qBAAqB;SACtB,CAAA,EAAA,CAAA,CAAA;;4EAKU,kBAAkB,EAAA,CAAA;kBAhB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,gBAAgB;wBAChB,aAAa;;wBAEb,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;iBACF,CAAA;;;;6EACY,kBAAkB,EAAA,EAAA,YAAA,EAAA,CAd3B,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAGpB,YAAY;;YAEZ,gBAAgB;YAChB,aAAa;;YAEb,qBAAqB,aAGrB,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACrBxB;;AAEG;;;;"}
|
|
@@ -48,7 +48,7 @@ class EntranceTemplate {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
EntranceTemplate.ɵfac = function EntranceTemplate_Factory(t) { return new (t || EntranceTemplate)(); };
|
|
51
|
-
EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTemplate, selectors: [["templates-entrance"]], hostAttrs: [1, "template"], inputs: { form: "form", isEmailSectionShown: "isEmailSectionShown", isPasswordSectionShown: "isPasswordSectionShown", actionItems: "actionItems" }, outputs: { submitButtonClick: "submitButtonClick", signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, decls: 8, vars: 3, consts: [["vertical", ""], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control", 4, "ngIf"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control", 4, "ngIf"], [3, "
|
|
51
|
+
EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTemplate, selectors: [["templates-entrance"]], hostAttrs: [1, "template"], inputs: { form: "form", isEmailSectionShown: "isEmailSectionShown", isPasswordSectionShown: "isPasswordSectionShown", actionItems: "actionItems" }, outputs: { submitButtonClick: "submitButtonClick", signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, decls: 8, vars: 3, consts: [["vertical", ""], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control", 4, "ngIf"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control", 4, "ngIf"], [3, "items"], [3, "signInWithGoogleButtonClick"], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control"]], template: function EntranceTemplate_Template(rf, ctx) {
|
|
52
52
|
if (rf & 1) {
|
|
53
53
|
i0.ɵɵelementStart(0, "frames-card")(1, "frames-auto-layout", 0)(2, "organisms-heading");
|
|
54
54
|
i0.ɵɵtext(3, "\u30ED\u30B0\u30A4\u30F3");
|
|
@@ -66,13 +66,13 @@ EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTe
|
|
|
66
66
|
i0.ɵɵadvance(1);
|
|
67
67
|
i0.ɵɵproperty("ngIf", ctx.isPasswordSectionShown);
|
|
68
68
|
i0.ɵɵadvance(1);
|
|
69
|
-
i0.ɵɵproperty("
|
|
69
|
+
i0.ɵɵproperty("items", ctx.actionItems);
|
|
70
70
|
}
|
|
71
|
-
}, directives: [i1.CardFrame, i2.AutoLayoutFrame, i3.HeadingOrganism, i4.NgIf, i5.TextInputSectionOrganism, i6.ActionButtonsSectionOrganism, i7.SocialLoginSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
71
|
+
}, directives: [i1.CardFrame, i2.AutoLayoutFrame, i3.HeadingOrganism, i4.NgIf, i5.TextInputSectionOrganism, i6.ActionButtonsSectionOrganism, i7.SocialLoginSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-o0cc: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-o0cc: var(--background-color)}[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-o0cc);width:100%;height:100%}[_nghost-%COMP%] frames-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}[_nghost-%COMP%] frames-card[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-o0cc)}"], changeDetection: 0 });
|
|
72
72
|
(function () {
|
|
73
73
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntranceTemplate, [{
|
|
74
74
|
type: Component,
|
|
75
|
-
args: [{ selector: 'templates-entrance', host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>\u30ED\u30B0\u30A4\u30F3</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"\u30D1\u30B9\u30EF\u30FC\u30C9\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section
|
|
75
|
+
args: [{ selector: 'templates-entrance', host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>\u30ED\u30B0\u30A4\u30F3</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"\u30D1\u30B9\u30EF\u30FC\u30C9\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section [items]=\"actionItems\"></organisms-action-buttons-section>\n <organisms-social-login-section\n (signInWithGoogleButtonClick)=\"signInWithGoogleButtonClick.emit()\"\n ></organisms-social-login-section>\n </frames-auto-layout>\n</frames-card>\n", styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-o0cc: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-o0cc: var(--background-color)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-o0cc);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-o0cc)}\n"] }]
|
|
76
76
|
}], null, { form: [{
|
|
77
77
|
type: Input
|
|
78
78
|
}], isEmailSectionShown: [{
|