@ng-atomic/components 4.0.4 → 4.1.1

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.
Files changed (114) hide show
  1. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -0
  2. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts.map +1 -1
  3. package/esm2020/atoms/icon/icon.atom.mjs +2 -2
  4. package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +6 -5
  5. package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
  6. package/esm2020/frames/drawer/drawer.frame.mjs +2 -2
  7. package/esm2020/frames/line-up/line-up.frame.mjs +2 -2
  8. package/esm2020/frames/overlay/overlay.frame.mjs +2 -2
  9. package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
  10. package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
  11. package/esm2020/molecules/actions-column/actions-column.molecule.mjs +7 -6
  12. package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
  13. package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
  14. package/esm2020/molecules/smart-column/smart-column.module.mjs +37 -5
  15. package/esm2020/molecules/smart-column/smart-column.molecule.mjs +23 -18
  16. package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +2 -2
  17. package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +2 -2
  18. package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
  19. package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
  20. package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
  21. package/esm2020/organisms/heading/heading.organism.mjs +2 -2
  22. package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +2 -2
  23. package/esm2020/organisms/navigator/navigator.organism.mjs +2 -2
  24. package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
  25. package/esm2020/organisms/smart-table/smart-table.organism.mjs +10 -7
  26. package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
  27. package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
  28. package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +2 -2
  29. package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +2 -2
  30. package/esm2020/templates/entrance/entrance.template.mjs +2 -2
  31. package/esm2020/templates/menu/menu.template.mjs +2 -2
  32. package/esm2020/templates/smart-crud/smart-crud.template.mjs +2 -2
  33. package/esm2020/templates/smart-index/smart-index.template.mjs +17 -9
  34. package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
  35. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +5 -4
  36. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  37. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +2 -2
  38. package/fesm2015/ng-atomic-components-frames-drawer.mjs +2 -2
  39. package/fesm2015/ng-atomic-components-frames-line-up.mjs +2 -2
  40. package/fesm2015/ng-atomic-components-frames-overlay.mjs +2 -2
  41. package/fesm2015/ng-atomic-components-frames-scroll.mjs +2 -2
  42. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +2 -2
  43. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +6 -5
  44. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  45. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +2 -2
  46. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +2 -2
  47. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +59 -20
  48. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  49. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
  50. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +2 -2
  51. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +2 -2
  52. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
  53. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +2 -2
  54. package/fesm2015/ng-atomic-components-organisms-heading.mjs +2 -2
  55. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +2 -2
  56. package/fesm2015/ng-atomic-components-organisms-navigator.mjs +2 -2
  57. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
  58. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +9 -6
  59. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  60. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +2 -2
  61. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +2 -2
  62. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +2 -2
  63. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +2 -2
  64. package/fesm2015/ng-atomic-components-templates-entrance.mjs +2 -2
  65. package/fesm2015/ng-atomic-components-templates-menu.mjs +2 -2
  66. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +2 -2
  67. package/fesm2015/ng-atomic-components-templates-smart-index.mjs +11 -8
  68. package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  69. package/fesm2020/ng-atomic-components-atoms-icon.mjs +2 -2
  70. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +5 -4
  71. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  72. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +2 -2
  73. package/fesm2020/ng-atomic-components-frames-drawer.mjs +2 -2
  74. package/fesm2020/ng-atomic-components-frames-line-up.mjs +2 -2
  75. package/fesm2020/ng-atomic-components-frames-overlay.mjs +2 -2
  76. package/fesm2020/ng-atomic-components-frames-scroll.mjs +2 -2
  77. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +2 -2
  78. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +6 -5
  79. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  80. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +2 -2
  81. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +2 -2
  82. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +57 -19
  83. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  84. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
  85. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +2 -2
  86. package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +2 -2
  87. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
  88. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +2 -2
  89. package/fesm2020/ng-atomic-components-organisms-heading.mjs +2 -2
  90. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +2 -2
  91. package/fesm2020/ng-atomic-components-organisms-navigator.mjs +2 -2
  92. package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
  93. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +9 -6
  94. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  95. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +2 -2
  96. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +2 -2
  97. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +2 -2
  98. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +2 -2
  99. package/fesm2020/ng-atomic-components-templates-entrance.mjs +2 -2
  100. package/fesm2020/ng-atomic-components-templates-menu.mjs +2 -2
  101. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +2 -2
  102. package/fesm2020/ng-atomic-components-templates-smart-index.mjs +16 -8
  103. package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  104. package/molecules/actions-column/actions-column.molecule.d.ts +2 -2
  105. package/molecules/actions-column/actions-column.molecule.d.ts.map +1 -1
  106. package/molecules/smart-column/smart-column.module.d.ts +12 -4
  107. package/molecules/smart-column/smart-column.module.d.ts.map +1 -1
  108. package/molecules/smart-column/smart-column.molecule.d.ts +3 -1
  109. package/molecules/smart-column/smart-column.molecule.d.ts.map +1 -1
  110. package/organisms/smart-table/smart-table.organism.d.ts +2 -1
  111. package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
  112. package/package.json +3 -3
  113. package/templates/smart-index/smart-index.template.d.ts +3 -2
  114. package/templates/smart-index/smart-index.template.d.ts.map +1 -1
@@ -46,10 +46,10 @@ IconAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconAtom, selector
46
46
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.hasSvgIcon$));
47
47
  i0.ɵɵadvance(2);
48
48
  i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(3, 4, ctx.hasSvgIcon$));
49
- } }, dependencies: [i2.NgIf, i1.MatIcon, i2.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;--color: inherit;--color-SCOPED-IN-icon-We3R: var(--color)}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--color-SCOPED-IN-icon-We3R)}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%] svg .filled{transition:fill .5s;fill:var(--color-SCOPED-IN-icon-We3R)}"], changeDetection: 0 });
49
+ } }, dependencies: [i2.NgIf, i1.MatIcon, i2.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;--color: inherit;--color-SCOPED-IN-icon-dM5c: var(--color)}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--color-SCOPED-IN-icon-dM5c)}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%] svg .filled{transition:fill .5s;fill:var(--color-SCOPED-IN-icon-dM5c)}"], changeDetection: 0 });
50
50
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconAtom, [{
51
51
  type: Component,
52
- args: [{ selector: 'atoms-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n *ngIf=\"hasSvgIcon$ | async\"\n [svgIcon]=\"name$ | async\"\n></mat-icon>\n<mat-icon\n *ngIf=\"!(hasSvgIcon$ | async)\"\n>{{ name$ | async }}</mat-icon>\n", styles: [":host{display:block;--color: inherit;--color-SCOPED-IN-icon-We3R: var(--color)}:host mat-icon{color:var(--color-SCOPED-IN-icon-We3R)}:host mat-icon ::ng-deep svg .filled{transition:fill .5s;fill:var(--color-SCOPED-IN-icon-We3R)}\n"] }]
52
+ args: [{ selector: 'atoms-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n *ngIf=\"hasSvgIcon$ | async\"\n [svgIcon]=\"name$ | async\"\n></mat-icon>\n<mat-icon\n *ngIf=\"!(hasSvgIcon$ | async)\"\n>{{ name$ | async }}</mat-icon>\n", styles: [":host{display:block;--color: inherit;--color-SCOPED-IN-icon-dM5c: var(--color)}:host mat-icon{color:var(--color-SCOPED-IN-icon-dM5c)}:host mat-icon ::ng-deep svg .filled{transition:fill .5s;fill:var(--color-SCOPED-IN-icon-dM5c)}\n"] }]
53
53
  }], function () { return [{ type: i1.MatIconRegistry }]; }, { name: [{
54
54
  type: Input
55
55
  }], color: [{
@@ -59,10 +59,11 @@ class SmartMenuButtonAtom {
59
59
  constructor() {
60
60
  this.items = [];
61
61
  this.action = new EventEmitter();
62
+ this.trackByItemId = (index, item) => item.id;
62
63
  }
63
64
  }
64
65
  SmartMenuButtonAtom.ɵfac = function SmartMenuButtonAtom_Factory(t) { return new (t || SmartMenuButtonAtom)(); };
65
- SmartMenuButtonAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMenuButtonAtom, selectors: [["atoms-smart-menu-button"]], inputs: { items: "items" }, outputs: { action: "action" }, decls: 7, vars: 4, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["menu", "matMenu"], ["mat-menu-item", "", 3, "click", 4, "ngFor", "ngForOf"], ["mat-icon-button", "", 3, "click"], ["mat-icon-button", "", 3, "matMenuTriggerFor", 4, "ngIf"], ["mat-icon-button", "", 3, "matMenuTriggerFor"], ["mat-menu-item", "", 3, "click"]], template: function SmartMenuButtonAtom_Template(rf, ctx) { if (rf & 1) {
66
+ SmartMenuButtonAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMenuButtonAtom, selectors: [["atoms-smart-menu-button"]], inputs: { items: "items" }, outputs: { action: "action" }, decls: 7, vars: 5, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["menu", "matMenu"], ["mat-menu-item", "", 3, "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["mat-icon-button", "", 3, "click"], ["mat-icon-button", "", 3, "matMenuTriggerFor", 4, "ngIf"], ["mat-icon-button", "", 3, "matMenuTriggerFor"], ["mat-menu-item", "", 3, "click"]], template: function SmartMenuButtonAtom_Template(rf, ctx) { if (rf & 1) {
66
67
  i0.ɵɵelementContainerStart(0, 0);
67
68
  i0.ɵɵtemplate(1, SmartMenuButtonAtom_ng_container_1_Template, 1, 0, "ng-container", 1);
68
69
  i0.ɵɵtemplate(2, SmartMenuButtonAtom_ng_container_2_Template, 4, 1, "ng-container", 1);
@@ -79,11 +80,11 @@ SmartMenuButtonAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMe
79
80
  i0.ɵɵadvance(1);
80
81
  i0.ɵɵproperty("ngSwitchCase", 1);
81
82
  i0.ɵɵadvance(4);
82
- i0.ɵɵproperty("ngForOf", ctx.items);
83
- } }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatButton, i3.MatIcon, i4.MatMenu, i4.MatMenuItem, i4.MatMenuTrigger], styles: ["[_nghost-%COMP%]{display:block;width:100%;height:100%}"], changeDetection: 0 });
83
+ i0.ɵɵproperty("ngForOf", ctx.items)("ngForTrackBy", ctx.trackByItemId);
84
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatButton, i3.MatIcon, i4.MatMenu, i4.MatMenuItem, i4.MatMenuTrigger], styles: ["[_nghost-%COMP%]{display:block;width:100%;height:100%}"] });
84
85
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuButtonAtom, [{
85
86
  type: Component,
86
- args: [{ selector: 'atoms-smart-menu-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"items?.length ?? 0\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"action.emit(items[0])\">\n <mat-icon>{{ items[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"items.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let item of items\"\n mat-menu-item \n (click)=\"action.emit(item)\"\n >{{ item.name }}</button>\n</mat-menu>\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
87
+ args: [{ selector: 'atoms-smart-menu-button', changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container [ngSwitch]=\"items?.length ?? 0\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"action.emit(items[0])\">\n <mat-icon>{{ items[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"items.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let item of items; trackBy: trackByItemId\"\n mat-menu-item \n (click)=\"action.emit(item)\"\n >{{ item.name }}</button>\n</mat-menu>\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
87
88
  }], null, { items: [{
88
89
  type: Input
89
90
  }], action: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.mjs","sources":["../../../../libs/components/src/atoms/smart-menu-button/smart-menu-button.atom.html","../../../../libs/components/src/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../libs/components/src/atoms/smart-menu-button/smart-menu-button.module.ts","../../../../libs/components/src/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"sourcesContent":["<ng-container [ngSwitch]=\"items?.length ?? 0\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"action.emit(items[0])\">\n <mat-icon>{{ items[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"items.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let item of items\"\n mat-menu-item \n (click)=\"action.emit(item)\"\n >{{ item.name }}</button>\n</mat-menu>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'atoms-smart-menu-button',\n templateUrl: './smart-menu-button.atom.html',\n styleUrls: ['./smart-menu-button.atom.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuButtonAtom {\n @Input()\n items: 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 { MatMenuModule } from '@angular/material/menu';\n\nimport { SmartMenuButtonAtom } from './smart-menu-button.atom';\n\n\n@NgModule({\n declarations: [SmartMenuButtonAtom],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatMenuModule,\n ],\n exports: [SmartMenuButtonAtom]\n})\nexport class SmartMenuButtonModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;IACE,EAA+C,CAAA,kBAAA,CAAA,CAAA,CAAA,CAAA;;;;IAC/C,EAAgC,CAAA,uBAAA,CAAA,CAAA,CAAA,CAAA;IAC9B,EAAwD,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAAA,CAAA;AAAhC,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,mEAAA,GAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAS,EAAA,CAAA,WAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAA,CAAA,MAAA,CAAA,KAAA,CAAkB,CAAC,CAAA,CAAE,CAAA,CAAC,EAAA,CAAA,CAAA;IACrD,EAAU,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,CAAA,CAAA;IAAA,EAAoB,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;AAAA,IAAA,EAAA,CAAA,YAAA,EAAW,EAAA,CAAA;IAE7C,EAAe,CAAA,qBAAA,EAAA,CAAA;;;IAFD,EAAoB,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;IAApB,EAAoB,CAAA,iBAAA,CAAA,MAAA,CAAA,KAAA,CAAA,CAAA,CAAA,IAAA,IAAA,GAAA,IAAA,GAAA,MAAA,CAAA,KAAA,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA;;;AAIhC,IAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAAwE,CAAA,CA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;0FAArB,qBAAqB,GAAA,CAAA,EAAA,CAAA;uEAArB,qBAAqB,EAAA,CAAA,CAAA;2EAR9B,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,aAAa,CAAA,EAAA,CAAA,CAAA;uFAIJ,qBAAqB,EAAA,CAAA;cAXjC,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;oBACf,aAAa;oBACb,aAAa;AACd,iBAAA;gBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,aAAA,CAAA;;wFACY,qBAAqB,EAAA,EAAA,YAAA,EAAA,CAVjB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY;;QAEZ,eAAe;QACf,aAAa;AACb,QAAA,aAAa,aAEL,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AClB/B;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.mjs","sources":["../../../../libs/components/src/atoms/smart-menu-button/smart-menu-button.atom.html","../../../../libs/components/src/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../libs/components/src/atoms/smart-menu-button/smart-menu-button.module.ts","../../../../libs/components/src/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"sourcesContent":["<ng-container [ngSwitch]=\"items?.length ?? 0\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"action.emit(items[0])\">\n <mat-icon>{{ items[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"items.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let item of items; trackBy: trackByItemId\"\n mat-menu-item \n (click)=\"action.emit(item)\"\n >{{ item.name }}</button>\n</mat-menu>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'atoms-smart-menu-button',\n templateUrl: './smart-menu-button.atom.html',\n styleUrls: ['./smart-menu-button.atom.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartMenuButtonAtom {\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n trackByItemId = (index: number, item: ActionItem): string => item.id;\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 { MatMenuModule } from '@angular/material/menu';\n\nimport { SmartMenuButtonAtom } from './smart-menu-button.atom';\n\n\n@NgModule({\n declarations: [SmartMenuButtonAtom],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatMenuModule,\n ],\n exports: [SmartMenuButtonAtom]\n})\nexport class SmartMenuButtonModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;IACE,EAA+C,CAAA,kBAAA,CAAA,CAAA,CAAA,CAAA;;;;IAC/C,EAAgC,CAAA,uBAAA,CAAA,CAAA,CAAA,CAAA;IAC9B,EAAwD,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAAA,CAAA;AAAhC,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,mEAAA,GAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAS,EAAA,CAAA,WAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAA,CAAA,MAAA,CAAA,KAAA,CAAkB,CAAC,CAAA,CAAE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AA,CAAA,CAAA,EAAA,GAAA;;AClB/B;;AAEG;;;;"}
@@ -9,10 +9,10 @@ AutoLayoutFrame.ɵfac = function AutoLayoutFrame_Factory(t) { return new (t || A
9
9
  AutoLayoutFrame.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AutoLayoutFrame, selectors: [["frames-auto-layout"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AutoLayoutFrame_Template(rf, ctx) { if (rf & 1) {
10
10
  i0.ɵɵprojectionDef();
11
11
  i0.ɵɵprojection(0);
12
- } }, styles: ["[_nghost-%COMP%]{--gap: 24px;--gap-SCOPED-IN-auto-layout-3uLW: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-3uLW: var(--vertical-padding)}[_nghost-%COMP%]{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-3uLW);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-3uLW) 0}[horizontal][_nghost-%COMP%]{flex-direction:row}[vertical][_nghost-%COMP%]{flex-direction:column}"], changeDetection: 0 });
12
+ } }, styles: ["[_nghost-%COMP%]{--gap: 24px;--gap-SCOPED-IN-auto-layout-rpvw: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-rpvw: var(--vertical-padding)}[_nghost-%COMP%]{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-rpvw);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-rpvw) 0}[horizontal][_nghost-%COMP%]{flex-direction:row}[vertical][_nghost-%COMP%]{flex-direction:column}"], changeDetection: 0 });
13
13
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoLayoutFrame, [{
14
14
  type: Component,
15
- args: [{ selector: 'frames-auto-layout', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-3uLW: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-3uLW: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-3uLW);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-3uLW) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"] }]
15
+ args: [{ selector: 'frames-auto-layout', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-rpvw: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-rpvw: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-rpvw);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-rpvw) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"] }]
16
16
  }], null, null); })();
17
17
 
18
18
  class AutoLayoutModule {
@@ -34,10 +34,10 @@ DrawerFrame.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DrawerFrame, se
34
34
  i0.ɵɵelementEnd()();
35
35
  } if (rf & 2) {
36
36
  i0.ɵɵproperty("autosize", false);
37
- } }, dependencies: [i1.MatDrawer, i1.MatDrawerContainer, i1.MatDrawerContent], styles: ["[_nghost-%COMP%]{--content-width: 360px;--content-width-SCOPED-IN-drawer-TcjQ: var(--content-width)}[_nghost-%COMP%] mat-drawer-content[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
37
+ } }, dependencies: [i1.MatDrawer, i1.MatDrawerContainer, i1.MatDrawerContent], styles: ["[_nghost-%COMP%]{--content-width: 360px;--content-width-SCOPED-IN-drawer-Uuyc: var(--content-width)}[_nghost-%COMP%] mat-drawer-content[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
38
38
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerFrame, [{
39
39
  type: Component,
40
- args: [{ selector: 'frames-drawer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-TcjQ: var(--content-width)}:host mat-drawer-content{width:100%}\n"] }]
40
+ args: [{ selector: 'frames-drawer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-Uuyc: var(--content-width)}:host mat-drawer-content{width:100%}\n"] }]
41
41
  }], null, { drawer: [{
42
42
  type: ViewChild,
43
43
  args: [MatDrawer]
@@ -177,10 +177,10 @@ LineUpFrame.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LineUpFrame, se
177
177
  i0.ɵɵproperty("@modeChangeForMain", ctx.mode);
178
178
  i0.ɵɵadvance(3);
179
179
  i0.ɵɵproperty("@modeChangeForNext", ctx.mode);
180
- } }, styles: ["[_nghost-%COMP%]{--gap: 1px;--gap-SCOPED-IN-line-up-AHOt: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-AHOt: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-AHOt: var(--contents-background)}[_nghost-%COMP%]{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-AHOt);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-AHOt)}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-AHOt)}[_nghost-%COMP%] div.main[_ngcontent-%COMP%]{overflow:hidden;justify-content:flex-end}[_nghost-%COMP%] div.next[_ngcontent-%COMP%]{overflow:visible;justify-content:flex-start}"], data: { animation: LINE_UP_ANIMATIONS } });
180
+ } }, styles: ["[_nghost-%COMP%]{--gap: 1px;--gap-SCOPED-IN-line-up-47yl: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-47yl: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-47yl: var(--contents-background)}[_nghost-%COMP%]{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-47yl);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-47yl)}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-47yl)}[_nghost-%COMP%] div.main[_ngcontent-%COMP%]{overflow:hidden;justify-content:flex-end}[_nghost-%COMP%] div.next[_ngcontent-%COMP%]{overflow:visible;justify-content:flex-start}"], data: { animation: LINE_UP_ANIMATIONS } });
181
181
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LineUpFrame, [{
182
182
  type: Component,
183
- args: [{ selector: 'frames-line-up', changeDetection: ChangeDetectionStrategy.Default, animations: LINE_UP_ANIMATIONS, template: "<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-line-up-AHOt: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-AHOt: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-AHOt: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-AHOt);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-AHOt)}:host div{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-AHOt)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}\n"] }]
183
+ args: [{ selector: 'frames-line-up', changeDetection: ChangeDetectionStrategy.Default, animations: LINE_UP_ANIMATIONS, template: "<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-line-up-47yl: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-47yl: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-47yl: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-47yl);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-47yl)}:host div{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-47yl)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}\n"] }]
184
184
  }], function () { return [{ type: LineUpFrameService }]; }, { hasNext: [{
185
185
  type: HostBinding,
186
186
  args: ['attr.has-next']
@@ -50,10 +50,10 @@ OverlayFrame.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OverlayFrame,
50
50
  } if (rf & 2) {
51
51
  i0.ɵɵadvance(2);
52
52
  i0.ɵɵproperty("@hasNext", ctx.hasNext);
53
- } }, styles: ["[_nghost-%COMP%]{--cell: 8px;--cell-SCOPED-IN-line-overlay-BwiA: var(--cell);--width: 100%;--width-SCOPED-IN-line-overlay-BwiA: var(--width);--height: 100%;--height-SCOPED-IN-line-overlay-BwiA: var(--height)}[_nghost-%COMP%]{position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:var(--height-SCOPED-IN-line-overlay-BwiA)}[_nghost-%COMP%] .loading[_ngcontent-%COMP%]{position:absolute;z-index:1000;top:0;left:0;display:flex;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:var(--height-SCOPED-IN-line-overlay-BwiA);justify-content:center;align-items:center;background-color:#0006}[_nghost-%COMP%] .main[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:1;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:var(--height-SCOPED-IN-line-overlay-BwiA);overflow:hidden}[_nghost-%COMP%] .main[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--cell: var(--cell-SCOPED-IN-line-overlay-BwiA);--width: var(--width-SCOPED-IN-line-overlay-BwiA);--height: var(--height-SCOPED-IN-line-overlay-BwiA)}[_nghost-%COMP%] .next[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:auto}[_nghost-%COMP%] .next[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--cell: var(--cell-SCOPED-IN-line-overlay-BwiA);--width: var(--width-SCOPED-IN-line-overlay-BwiA);--height: var(--height-SCOPED-IN-line-overlay-BwiA)}"], data: { animation: [OVERLAY_ANIMATION] }, changeDetection: 0 });
53
+ } }, styles: ["[_nghost-%COMP%]{--cell: 8px;--cell-SCOPED-IN-line-overlay-TeaQ: var(--cell);--width: 100%;--width-SCOPED-IN-line-overlay-TeaQ: var(--width);--height: 100%;--height-SCOPED-IN-line-overlay-TeaQ: var(--height)}[_nghost-%COMP%]{position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:var(--height-SCOPED-IN-line-overlay-TeaQ)}[_nghost-%COMP%] .loading[_ngcontent-%COMP%]{position:absolute;z-index:1000;top:0;left:0;display:flex;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:var(--height-SCOPED-IN-line-overlay-TeaQ);justify-content:center;align-items:center;background-color:#0006}[_nghost-%COMP%] .main[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:1;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:var(--height-SCOPED-IN-line-overlay-TeaQ);overflow:hidden}[_nghost-%COMP%] .main[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--cell: var(--cell-SCOPED-IN-line-overlay-TeaQ);--width: var(--width-SCOPED-IN-line-overlay-TeaQ);--height: var(--height-SCOPED-IN-line-overlay-TeaQ)}[_nghost-%COMP%] .next[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:auto}[_nghost-%COMP%] .next[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--cell: var(--cell-SCOPED-IN-line-overlay-TeaQ);--width: var(--width-SCOPED-IN-line-overlay-TeaQ);--height: var(--height-SCOPED-IN-line-overlay-TeaQ)}"], data: { animation: [OVERLAY_ANIMATION] }, changeDetection: 0 });
54
54
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayFrame, [{
55
55
  type: Component,
56
- args: [{ selector: 'frames-overlay', animations: [OVERLAY_ANIMATION], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"main\">\n <ng-content select=[main]></ng-content>\n</div>\n<div class=\"next\" [@hasNext]=\"hasNext\">\n <ng-content select=[next]></ng-content>\n</div>", styles: [":host{--cell: 8px;--cell-SCOPED-IN-line-overlay-BwiA: var(--cell);--width: 100%;--width-SCOPED-IN-line-overlay-BwiA: var(--width);--height: 100%;--height-SCOPED-IN-line-overlay-BwiA: var(--height)}:host{position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:var(--height-SCOPED-IN-line-overlay-BwiA)}:host .loading{position:absolute;z-index:1000;top:0;left:0;display:flex;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:var(--height-SCOPED-IN-line-overlay-BwiA);justify-content:center;align-items:center;background-color:#0006}:host .main{position:absolute;top:0;left:0;z-index:1;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:var(--height-SCOPED-IN-line-overlay-BwiA);overflow:hidden}:host .main *{--cell: var(--cell-SCOPED-IN-line-overlay-BwiA);--width: var(--width-SCOPED-IN-line-overlay-BwiA);--height: var(--height-SCOPED-IN-line-overlay-BwiA)}:host .next{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-BwiA);height:auto}:host .next *{--cell: var(--cell-SCOPED-IN-line-overlay-BwiA);--width: var(--width-SCOPED-IN-line-overlay-BwiA);--height: var(--height-SCOPED-IN-line-overlay-BwiA)}\n"] }]
56
+ args: [{ selector: 'frames-overlay', animations: [OVERLAY_ANIMATION], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"main\">\n <ng-content select=[main]></ng-content>\n</div>\n<div class=\"next\" [@hasNext]=\"hasNext\">\n <ng-content select=[next]></ng-content>\n</div>", styles: [":host{--cell: 8px;--cell-SCOPED-IN-line-overlay-TeaQ: var(--cell);--width: 100%;--width-SCOPED-IN-line-overlay-TeaQ: var(--width);--height: 100%;--height-SCOPED-IN-line-overlay-TeaQ: var(--height)}:host{position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:var(--height-SCOPED-IN-line-overlay-TeaQ)}:host .loading{position:absolute;z-index:1000;top:0;left:0;display:flex;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:var(--height-SCOPED-IN-line-overlay-TeaQ);justify-content:center;align-items:center;background-color:#0006}:host .main{position:absolute;top:0;left:0;z-index:1;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:var(--height-SCOPED-IN-line-overlay-TeaQ);overflow:hidden}:host .main *{--cell: var(--cell-SCOPED-IN-line-overlay-TeaQ);--width: var(--width-SCOPED-IN-line-overlay-TeaQ);--height: var(--height-SCOPED-IN-line-overlay-TeaQ)}:host .next{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-TeaQ);height:auto}:host .next *{--cell: var(--cell-SCOPED-IN-line-overlay-TeaQ);--width: var(--width-SCOPED-IN-line-overlay-TeaQ);--height: var(--height-SCOPED-IN-line-overlay-TeaQ)}\n"] }]
57
57
  }], null, { hasNext: [{
58
58
  type: Input
59
59
  }] }); })();
@@ -17,10 +17,10 @@ ScrollFrame.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ScrollFrame, se
17
17
  i0.ɵɵelementStart(2, "div", 1);
18
18
  i0.ɵɵprojection(3, 1);
19
19
  i0.ɵɵelementEnd();
20
- } }, dependencies: [i1.IosSafariScrollBuggyfillDirective], styles: ["[_nghost-%COMP%]{--height: 100%;--height-SCOPED-IN-scroll-jqOv: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-jqOv: var(--navigator-height)}[_nghost-%COMP%]{height:var(--height-SCOPED-IN-scroll-jqOv);overflow:hidden}[_nghost-%COMP%] .navigator-container[_ngcontent-%COMP%]{height:var(--navigator-height-SCOPED-IN-scroll-jqOv);overflow:hidden;touch-action:none}[_nghost-%COMP%] .contents-container[_ngcontent-%COMP%]{height:calc(var(--height-SCOPED-IN-scroll-jqOv) - var(--navigator-height-SCOPED-IN-scroll-jqOv));overflow:scroll;-webkit-overflow-scrolling:touch}"], changeDetection: 0 });
20
+ } }, dependencies: [i1.IosSafariScrollBuggyfillDirective], styles: ["[_nghost-%COMP%]{--height: 100%;--height-SCOPED-IN-scroll-4F4M: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-4F4M: var(--navigator-height)}[_nghost-%COMP%]{height:var(--height-SCOPED-IN-scroll-4F4M);overflow:hidden}[_nghost-%COMP%] .navigator-container[_ngcontent-%COMP%]{height:var(--navigator-height-SCOPED-IN-scroll-4F4M);overflow:hidden;touch-action:none}[_nghost-%COMP%] .contents-container[_ngcontent-%COMP%]{height:calc(var(--height-SCOPED-IN-scroll-4F4M) - var(--navigator-height-SCOPED-IN-scroll-4F4M));overflow:scroll;-webkit-overflow-scrolling:touch}"], changeDetection: 0 });
21
21
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollFrame, [{
22
22
  type: Component,
23
- args: [{ selector: 'frames-scroll', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"navigator-container\" iosSafariScrollBuggyfill>\n <ng-content select=[navigator]></ng-content>\n</div>\n<div class=\"contents-container\">\n <ng-content select=[contents]></ng-content>\n</div>", styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-jqOv: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-jqOv: var(--navigator-height)}:host{height:var(--height-SCOPED-IN-scroll-jqOv);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-jqOv);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-jqOv) - var(--navigator-height-SCOPED-IN-scroll-jqOv));overflow:scroll;-webkit-overflow-scrolling:touch}\n"] }]
23
+ args: [{ selector: 'frames-scroll', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"navigator-container\" iosSafariScrollBuggyfill>\n <ng-content select=[navigator]></ng-content>\n</div>\n<div class=\"contents-container\">\n <ng-content select=[contents]></ng-content>\n</div>", styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-4F4M: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-4F4M: var(--navigator-height)}:host{height:var(--height-SCOPED-IN-scroll-4F4M);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-4F4M);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-4F4M) - var(--navigator-height-SCOPED-IN-scroll-4F4M));overflow:scroll;-webkit-overflow-scrolling:touch}\n"] }]
24
24
  }], null, null); })();
25
25
 
26
26
  class ScrollModule {
@@ -33,10 +33,10 @@ SmartMenuFrame.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMenuFra
33
33
  i0.ɵɵelementStart(3, "div", 2, 3);
34
34
  i0.ɵɵprojection(5, 1);
35
35
  i0.ɵɵelementEnd();
36
- } }, styles: ["[_nghost-%COMP%]{--gap: 1px;--gap-SCOPED-IN-smart-menu-yYE7: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-yYE7: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-yYE7: var(--contents-background)}[_nghost-%COMP%]{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-yYE7);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-yYE7)}[_nghost-%COMP%] .contents[_ngcontent-%COMP%]{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-yYE7)}[_nghost-%COMP%] .contents.menu[_ngcontent-%COMP%]{overflow:hidden;justify-content:flex-end}[_nghost-%COMP%] .contents.contents[_ngcontent-%COMP%]{overflow:visible;justify-content:flex-start}"], changeDetection: 0 });
36
+ } }, styles: ["[_nghost-%COMP%]{--gap: 1px;--gap-SCOPED-IN-smart-menu-Ptij: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-Ptij: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-Ptij: var(--contents-background)}[_nghost-%COMP%]{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-Ptij);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-Ptij)}[_nghost-%COMP%] .contents[_ngcontent-%COMP%]{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-Ptij)}[_nghost-%COMP%] .contents.menu[_ngcontent-%COMP%]{overflow:hidden;justify-content:flex-end}[_nghost-%COMP%] .contents.contents[_ngcontent-%COMP%]{overflow:visible;justify-content:flex-start}"], changeDetection: 0 });
37
37
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuFrame, [{
38
38
  type: Component,
39
- args: [{ selector: 'frames-smart-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-yYE7: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-yYE7: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-yYE7: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-yYE7);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-yYE7)}:host .contents{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-yYE7)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"] }]
39
+ args: [{ selector: 'frames-smart-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-Ptij: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-Ptij: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-Ptij: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-Ptij);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-Ptij)}:host .contents{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-Ptij)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"] }]
40
40
  }], null, { isMainHidden: [{
41
41
  type: HostBinding,
42
42
  args: ['attr.is-main-hidden']
@@ -22,15 +22,16 @@ function ActionsColumnMolecule_td_2_Template(rf, ctx) { if (rf & 1) {
22
22
  i0.ɵɵlistener("action", function ActionsColumnMolecule_td_2_Template_atoms_smart_menu_button_action_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r4); const item_r2 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.action.emit({ id: $event.id, payload: item_r2 })); });
23
23
  i0.ɵɵelementEnd()();
24
24
  } if (rf & 2) {
25
+ const item_r2 = ctx.$implicit;
25
26
  const ctx_r1 = i0.ɵɵnextContext();
26
27
  i0.ɵɵadvance(1);
27
- i0.ɵɵproperty("items", ctx_r1.items);
28
+ i0.ɵɵproperty("items", ctx_r1.itemActions(item_r2));
28
29
  } }
29
30
  class ActionsColumnMolecule {
30
31
  constructor(_table, _options) {
31
32
  this._table = _table;
32
33
  this._options = _options;
33
- this.items = [];
34
+ this.itemActions = () => [];
34
35
  this.action = new EventEmitter();
35
36
  this._options ?? (this._options = {});
36
37
  }
@@ -70,7 +71,7 @@ ActionsColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actio
70
71
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnDef = _t.first);
71
72
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.cell = _t.first);
72
73
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCell = _t.first);
73
- } }, inputs: { name: "name", items: "items" }, outputs: { action: "action" }, decls: 3, vars: 0, consts: [["matColumnDef", ""], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], ["mat-header-cell", ""], ["mat-cell", ""], [3, "items", "action"]], template: function ActionsColumnMolecule_Template(rf, ctx) { if (rf & 1) {
74
+ } }, inputs: { name: "name", itemActions: "itemActions" }, outputs: { action: "action" }, decls: 3, vars: 0, consts: [["matColumnDef", ""], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], ["mat-header-cell", ""], ["mat-cell", ""], [3, "items", "action"]], template: function ActionsColumnMolecule_Template(rf, ctx) { if (rf & 1) {
74
75
  i0.ɵɵelementContainerStart(0, 0);
75
76
  i0.ɵɵtemplate(1, ActionsColumnMolecule_th_1_Template, 2, 0, "th", 1);
76
77
  i0.ɵɵtemplate(2, ActionsColumnMolecule_td_2_Template, 2, 1, "td", 2);
@@ -78,7 +79,7 @@ ActionsColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actio
78
79
  } }, dependencies: [i2.MatHeaderCellDef, i2.MatColumnDef, i2.MatCellDef, i2.MatHeaderCell, i2.MatCell, i3.SmartMenuButtonAtom], encapsulation: 2 });
79
80
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnMolecule, [{
80
81
  type: Component,
81
- args: [{ selector: 'molecules-actions-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n" }]
82
+ args: [{ selector: 'molecules-actions-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"itemActions(item)\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n" }]
82
83
  }], function () { return [{ type: i1.CdkTable, decorators: [{
83
84
  type: Optional
84
85
  }] }, { type: undefined, decorators: [{
@@ -88,7 +89,7 @@ ActionsColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actio
88
89
  args: [TEXT_COLUMN_OPTIONS]
89
90
  }] }]; }, { name: [{
90
91
  type: Input
91
- }], items: [{
92
+ }], itemActions: [{
92
93
  type: Input
93
94
  }], action: [{
94
95
  type: Output
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-actions-column.mjs","sources":["../../../../libs/components/src/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/src/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/src/molecules/actions-column/actions-column.module.ts","../../../../libs/components/src/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n","import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [ActionsColumnMolecule],\n bootstrap: [ActionsColumnMolecule],\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;IACE,EAAsC,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAA,CAAA;IAAA,EAAE,CAAA,MAAA,CAAA,CAAA,EAAA,cAAA,CAAA,CAAA;IAAA,EAAK,CAAA,YAAA,EAAA,CAAA;;;;AAC7C,IAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAA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AY,EAAE;oBACZ,qBAAqB;AACtB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;;oBAEb,qBAAqB;AACtB,iBAAA;gBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;gBAChC,SAAS,EAAE,CAAC,qBAAqB,CAAC;AACnC,aAAA,CAAA;;wFACY,mBAAmB,EAAA,EAAA,YAAA,EAAA,CAf5B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAGrB,YAAY;;QAEZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;;AAEb,QAAA,qBAAqB,aAEb,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACxBjC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-actions-column.mjs","sources":["../../../../libs/components/src/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/src/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/src/molecules/actions-column/actions-column.module.ts","../../../../libs/components/src/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"itemActions(item)\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n","import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n itemActions: (item: T) => ActionItem[] = () => [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [ActionsColumnMolecule],\n bootstrap: [ActionsColumnMolecule],\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;IACE,EAAsC,CAAA,cAA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B,cAFlB,qBAAqB,CAAA,EAAA,CAAA,CAAA;yEAV/B,YAAY;;QAEZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;;QAEb,qBAAqB,CAAA,EAAA,CAAA,CAAA;uFAKZ,mBAAmB,EAAA,CAAA;cAjB/B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,qBAAqB;AACtB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;;oBAEb,qBAAqB;AACtB,iBAAA;gBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;gBAChC,SAAS,EAAE,CAAC,qBAAqB,CAAC;AACnC,aAAA,CAAA;;wFACY,mBAAmB,EAAA,EAAA,YAAA,EAAA,CAf5B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAGrB,YAAY;;QAEZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;;AAEb,QAAA,qBAAqB,aAEb,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACxBjC;;AAEG;;;;"}
@@ -53,10 +53,10 @@ DateInputFieldMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Date
53
53
  i0.ɵɵproperty("for", _r0);
54
54
  i0.ɵɵadvance(3);
55
55
  i0.ɵɵproperty("ngIf", ctx.hint);
56
- } }, dependencies: [i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i3.MatFormField, i3.MatHint, i3.MatLabel, i3.MatSuffix, i4.MatInput, i5.MatDatepicker, i5.MatDatepickerInput, i5.MatDatepickerToggle], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-IYDS: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
56
+ } }, dependencies: [i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i3.MatFormField, i3.MatHint, i3.MatLabel, i3.MatSuffix, i4.MatInput, i5.MatDatepicker, i5.MatDatepickerInput, i5.MatDatepickerToggle], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-BqxK: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
57
57
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputFieldMolecule, [{
58
58
  type: Component,
59
- args: [{ selector: 'molecules-date-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-IYDS: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
59
+ args: [{ selector: 'molecules-date-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-BqxK: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
60
60
  }], null, { _control: [{
61
61
  type: Input,
62
62
  args: ['control']
@@ -43,10 +43,10 @@ SelectInputFieldMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Se
43
43
  i0.ɵɵproperty("formControl", ctx.control);
44
44
  i0.ɵɵadvance(1);
45
45
  i0.ɵɵproperty("ngForOf", ctx.options)("ngForTrackBy", ctx.value);
46
- } }, dependencies: [i1.NgForOf, i2.NgControlStatus, i2.FormControlDirective, i3.MatFormField, i3.MatLabel, i4.MatSelect, i5.MatOption], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-tAYR: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
46
+ } }, dependencies: [i1.NgForOf, i2.NgControlStatus, i2.FormControlDirective, i3.MatFormField, i3.MatLabel, i4.MatSelect, i5.MatOption], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-2h5D: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
47
47
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldMolecule, [{
48
48
  type: Component,
49
- args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-tAYR: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
49
+ args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-2h5D: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
50
50
  }], null, { label: [{
51
51
  type: Input
52
52
  }], control: [{
@@ -1,15 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, Pipe, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i3 from '@angular/material/table';
5
+ import * as i2 from '@angular/cdk/clipboard';
6
+ import { ClipboardModule } from '@angular/cdk/clipboard';
7
+ import { MatButtonModule } from '@angular/material/button';
8
+ import * as i4 from '@angular/material/table';
6
9
  import { MatTextColumn, MatTableModule } from '@angular/material/table';
7
- import * as i2 from '@angular/material/icon';
10
+ import * as i3 from '@angular/material/icon';
8
11
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i4 from '@ng-atomic/common/pipes/smart-exp';
12
+ import * as i5 from '@angular/material/tooltip';
13
+ import { MatTooltipModule } from '@angular/material/tooltip';
14
+ import * as i6 from '@ng-atomic/common/pipes/smart-exp';
10
15
  import { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';
11
- import { toObject } from '@ng-atomic/common/utils';
12
- import { flatten } from 'flat';
16
+ import { get } from 'lodash';
13
17
 
14
18
  function SmartColumnMolecule_th_1_mat_icon_5_Template(rf, ctx) { if (rf & 1) {
15
19
  i0.ɵɵelementStart(0, "mat-icon", 7);
@@ -46,77 +50,111 @@ function SmartColumnMolecule_th_1_Template(rf, ctx) { if (rf & 1) {
46
50
  i0.ɵɵproperty("ngSwitchCase", "desc");
47
51
  } }
48
52
  function SmartColumnMolecule_td_2_Template(rf, ctx) { if (rf & 1) {
49
- i0.ɵɵelementStart(0, "td", 8)(1, "p", 9);
50
- i0.ɵɵtext(2);
53
+ const _r9 = i0.ɵɵgetCurrentView();
54
+ i0.ɵɵelementStart(0, "td", 8)(1, "p", 9, 10);
55
+ i0.ɵɵlistener("click", function SmartColumnMolecule_td_2_Template_p_click_1_listener() { i0.ɵɵrestoreView(_r9); const _r7 = i0.ɵɵreference(2); const ctx_r8 = i0.ɵɵnextContext(); ctx_r8.copied(); return i0.ɵɵresetView(_r7.show()); });
51
56
  i0.ɵɵpipe(3, "smartExp");
57
+ i0.ɵɵpipe(4, "dataAccessor");
58
+ i0.ɵɵtext(5);
59
+ i0.ɵɵpipe(6, "smartExp");
60
+ i0.ɵɵpipe(7, "dataAccessor");
52
61
  i0.ɵɵelementEnd()();
53
62
  } if (rf & 2) {
54
63
  const data_r6 = ctx.$implicit;
55
64
  const ctx_r1 = i0.ɵɵnextContext();
56
65
  i0.ɵɵstyleProp("text-align", ctx_r1.justify);
57
- i0.ɵɵadvance(2);
58
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(3, 3, ctx_r1.dataAccessor(data_r6, ctx_r1.name), ctx_r1.name));
66
+ i0.ɵɵadvance(1);
67
+ i0.ɵɵproperty("cdkCopyToClipboard", i0.ɵɵpipeBind2(3, 5, i0.ɵɵpipeBind2(4, 8, data_r6, ctx_r1.name), ctx_r1.name))("matTooltip", ctx_r1.text);
68
+ i0.ɵɵadvance(4);
69
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 11, i0.ɵɵpipeBind2(7, 14, data_r6, ctx_r1.name), ctx_r1.name), " ");
59
70
  } }
60
71
  class SmartColumnMolecule extends MatTextColumn {
61
72
  constructor() {
62
73
  super(...arguments);
63
- this.dataAccessor = (data, name) => {
64
- return name.includes('.') ? flatten(toObject(data))?.[name] : data?.[name];
74
+ this.dataAccessor = () => {
75
+ throw new Error('dataAccessor is not allowed');
65
76
  };
66
77
  this.sort = 'none';
67
78
  this.headerClick = new EventEmitter();
79
+ this.text = 'copy';
80
+ }
81
+ copied() {
82
+ this.text = 'copied!';
83
+ setTimeout(() => this.text = 'copy', 1000);
68
84
  }
69
85
  }
70
86
  SmartColumnMolecule.ɵfac = /*@__PURE__*/ function () { let ɵSmartColumnMolecule_BaseFactory; return function SmartColumnMolecule_Factory(t) { return (ɵSmartColumnMolecule_BaseFactory || (ɵSmartColumnMolecule_BaseFactory = i0.ɵɵgetInheritedFactory(SmartColumnMolecule)))(t || SmartColumnMolecule); }; }();
71
- SmartColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartColumnMolecule, selectors: [["molecules-smart-column"]], inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 0, consts: [["matColumnDef", ""], ["mat-header-cell", "", 3, "text-align", "click", 4, "matHeaderCellDef"], ["mat-cell", "", 3, "text-align", 4, "matCellDef"], ["mat-header-cell", "", 3, "click"], [1, "nowrap", 2, "display", "flex", "align-items", "center"], [3, "ngSwitch"], ["class", "order", 4, "ngSwitchCase"], [1, "order"], ["mat-cell", ""], [1, "nowrap"]], template: function SmartColumnMolecule_Template(rf, ctx) { if (rf & 1) {
87
+ SmartColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartColumnMolecule, selectors: [["molecules-smart-column"]], inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 0, consts: [["matColumnDef", ""], ["mat-header-cell", "", 3, "text-align", "click", 4, "matHeaderCellDef"], ["mat-cell", "", 3, "text-align", 4, "matCellDef"], ["mat-header-cell", "", 3, "click"], [1, "nowrap", 2, "display", "flex", "align-items", "center"], [3, "ngSwitch"], ["class", "order", 4, "ngSwitchCase"], [1, "order"], ["mat-cell", ""], ["matTooltipPosition", "below", 1, "nowrap", 3, "cdkCopyToClipboard", "matTooltip", "click"], ["tooltip", "matTooltip"]], template: function SmartColumnMolecule_Template(rf, ctx) { if (rf & 1) {
72
88
  i0.ɵɵelementContainerStart(0, 0);
73
89
  i0.ɵɵtemplate(1, SmartColumnMolecule_th_1_Template, 7, 6, "th", 1);
74
- i0.ɵɵtemplate(2, SmartColumnMolecule_td_2_Template, 4, 6, "td", 2);
90
+ i0.ɵɵtemplate(2, SmartColumnMolecule_td_2_Template, 8, 17, "td", 2);
75
91
  i0.ɵɵelementContainerEnd();
76
- } }, dependencies: [i1.NgSwitch, i1.NgSwitchCase, i2.MatIcon, i3.MatHeaderCellDef, i3.MatColumnDef, i3.MatCellDef, i3.MatHeaderCell, i3.MatCell, i4.SmartExpPipe], styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], encapsulation: 2 });
92
+ } }, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], encapsulation: 2 });
77
93
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartColumnMolecule, [{
78
94
  type: Component,
79
- args: [{ selector: 'molecules-smart-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
95
+ args: [{ selector: 'molecules-smart-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor:name | smartExp:name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{data | dataAccessor:name | smartExp:name}}\n </p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
80
96
  }], null, { sort: [{
81
97
  type: Input
82
98
  }], headerClick: [{
83
99
  type: Output
84
100
  }] }); })();
85
101
 
102
+ class DataAccessorPipe {
103
+ transform(data, name) {
104
+ return get(data, name);
105
+ }
106
+ }
107
+ DataAccessorPipe.ɵfac = function DataAccessorPipe_Factory(t) { return new (t || DataAccessorPipe)(); };
108
+ DataAccessorPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dataAccessor", type: DataAccessorPipe, pure: true });
109
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataAccessorPipe, [{
110
+ type: Pipe,
111
+ args: [{ name: 'dataAccessor', pure: true }]
112
+ }], null, null); })();
86
113
  class SmartColumnModule {
87
114
  }
88
115
  SmartColumnModule.ɵfac = function SmartColumnModule_Factory(t) { return new (t || SmartColumnModule)(); };
89
116
  SmartColumnModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SmartColumnModule, bootstrap: [SmartColumnMolecule] });
90
117
  SmartColumnModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
118
+ ClipboardModule,
91
119
  // Pipes
92
120
  SmartExpModule,
93
121
  // Materials
122
+ MatButtonModule,
94
123
  MatIconModule,
95
- MatTableModule] });
124
+ MatTableModule,
125
+ MatTooltipModule] });
96
126
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartColumnModule, [{
97
127
  type: NgModule,
98
128
  args: [{
99
129
  declarations: [
100
130
  SmartColumnMolecule,
131
+ DataAccessorPipe,
101
132
  ],
102
133
  imports: [
103
134
  CommonModule,
135
+ ClipboardModule,
104
136
  // Pipes
105
137
  SmartExpModule,
106
138
  // Materials
139
+ MatButtonModule,
107
140
  MatIconModule,
108
141
  MatTableModule,
142
+ MatTooltipModule,
109
143
  ],
110
144
  exports: [SmartColumnMolecule],
111
145
  bootstrap: [SmartColumnMolecule],
112
146
  }]
113
147
  }], null, null); })();
114
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartColumnModule, { declarations: [SmartColumnMolecule], imports: [CommonModule,
148
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartColumnModule, { declarations: [SmartColumnMolecule, DataAccessorPipe], imports: [CommonModule,
149
+ ClipboardModule,
115
150
  // Pipes
116
151
  SmartExpModule,
117
152
  // Materials
153
+ MatButtonModule,
118
154
  MatIconModule,
119
- MatTableModule], exports: [SmartColumnMolecule] }); })();
155
+ MatTableModule,
156
+ MatTooltipModule], exports: [SmartColumnMolecule] }); })();
157
+ i0.ɵɵsetComponentScope(SmartColumnMolecule, [i1.NgSwitch, i1.NgSwitchCase, i2.CdkCopyToClipboard, i3.MatIcon, i4.MatHeaderCellDef, i4.MatColumnDef, i4.MatCellDef, i4.MatHeaderCell, i4.MatCell, i5.MatTooltip], [i6.SmartExpPipe, DataAccessorPipe]);
120
158
 
121
159
  /**
122
160
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../libs/components/src/molecules/smart-column/smart-column.molecule.html","../../../../libs/components/src/molecules/smart-column/smart-column.molecule.ts","../../../../libs/components/src/molecules/smart-column/smart-column.module.ts","../../../../libs/components/src/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n</ng-container>","import { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation } from '@angular/core';\nimport { MatTextColumn } from '@angular/material/table';\n// TODO(nontangent): 依存を引き剥がす\nimport { toObject } from '@ng-atomic/common/utils';\nimport { flatten } from 'flat';\n\n@Component({\n selector: 'molecules-smart-column',\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n override dataAccessor = (data: any, name: string): string => {\n return name.includes('.') ? flatten<object, any>(toObject(data))?.[name] : data?.[name];\n }\n \n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { SmartColumnMolecule } from './smart-column.molecule';\n\n\n@NgModule({\n declarations: [\n SmartColumnMolecule,\n ],\n imports: [\n CommonModule,\n // Pipes\n SmartExpModule,\n // Materials\n MatIconModule,\n MatTableModule,\n ],\n exports: [SmartColumnMolecule],\n bootstrap: [SmartColumnMolecule],\n})\nexport class SmartColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;IAUQ,EAA8C,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CAAA,CAAA;IAAA,EAAK,CAAA,MAAA,CAAA,CAAA,EAAA,OA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aAAa;oBACb,cAAc;AACf,iBAAA;gBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;gBAC9B,SAAS,EAAE,CAAC,mBAAmB,CAAC;AACjC,aAAA,CAAA;;wFACY,iBAAiB,EAAA,EAAA,YAAA,EAAA,CAb1B,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAGnB,YAAY;;QAEZ,cAAc;;QAEd,aAAa;AACb,QAAA,cAAc,aAEN,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACpB/B;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../libs/components/src/molecules/smart-column/smart-column.molecule.html","../../../../libs/components/src/molecules/smart-column/smart-column.molecule.ts","../../../../libs/components/src/molecules/smart-column/smart-column.module.ts","../../../../libs/components/src/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor:name | smartExp:name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{data | dataAccessor:name | smartExp:name}}\n </p>\n </td>\n</ng-container>","import { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation, Optional, Inject, inject } from '@angular/core';\nimport { MatTextColumn } from '@angular/material/table';\n\n@Component({\n selector: 'molecules-smart-column',\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n override dataAccessor = (): string => {\n throw new Error('dataAccessor is not allowed');\n };\n \n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n text = 'copy';\n\n copied() {\n this.text = 'copied!';\n setTimeout(() => this.text = 'copy', 1000);\n }\n\n}\n","import { NgModule, Pipe } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { SmartColumnMolecule } from './smart-column.molecule';\nimport { get } from 'lodash';\n\n@Pipe({name: 'dataAccessor', pure: true})\nexport class DataAccessorPipe {\n transform(data: any, name: string): string {\n return get(data, name);\n }\n}\n\n@NgModule({\n declarations: [\n SmartColumnMolecule,\n DataAccessorPipe,\n ],\n imports: [\n CommonModule,\n ClipboardModule,\n // Pipes\n SmartExpModule,\n // Materials\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n exports: [SmartColumnMolecule],\n bootstrap: [SmartColumnMolecule],\n})\nexport class SmartColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;IAUQ,EAA8C,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CAAA,CAAA;IAAA,EAAK,CAAA,MAAA,CAAA,CAAA,EAAA,OAAA,CAAA,CAAA;IAAA,EAAW,CAAA,YAAA,EAAA,CAAA;;;IAC9D,EAA+C,CAAA,cAAA,CAAA,CAAA,EAAA,UA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Ac;;oBAEd,eAAe;oBACf,aAAa;oBACb,cAAc;oBACd,gBAAgB;AACjB,iBAAA;gBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;gBAC9B,SAAS,EAAE,CAAC,mBAAmB,CAAC;AACjC,aAAA,CAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,iBAAiB,EAjB1B,EAAA,YAAA,EAAA,CAAA,mBAAmB,EARV,gBAAgB,aAYzB,YAAY;QACZ,eAAe;;QAEf,cAAc;;QAEd,eAAe;QACf,aAAa;QACb,cAAc;AACd,QAAA,gBAAgB,aAER,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA,CAAA;AAd3B,EAAA,CAAA,mBAAA,CAAA,mBAAmB,yLARV,gBAAgB,CAAA,CAAA;;ACZ7B;;AAEG;;;;"}
@@ -30,10 +30,10 @@ ActionButtonsSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
30
30
  i0.ɵɵtemplate(0, ActionButtonsSectionOrganism_ng_container_0_Template, 3, 1, "ng-container", 0);
31
31
  } if (rf & 2) {
32
32
  i0.ɵɵproperty("ngForOf", ctx.items)("ngForTrackBy", ctx.trackById);
33
- } }, dependencies: [i1.NgForOf, i2.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-7L0I: var(--horizontal-padding)}[_nghost-%COMP%]{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-7L0I);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:48px}"], changeDetection: 0 });
33
+ } }, dependencies: [i1.NgForOf, i2.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-TLVK: var(--horizontal-padding)}[_nghost-%COMP%]{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-TLVK);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:48px}"], changeDetection: 0 });
34
34
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionButtonsSectionOrganism, [{
35
35
  type: Component,
36
- args: [{ selector: 'organisms-action-buttons-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<ng-container *ngFor=\"let item of items; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" (click)=\"action.emit(item)\">{{ item?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-7L0I: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-7L0I);box-sizing:border-box}:host button{width:100%;height:48px}\n"] }]
36
+ args: [{ selector: 'organisms-action-buttons-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<ng-container *ngFor=\"let item of items; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" (click)=\"action.emit(item)\">{{ item?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-TLVK: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-TLVK);box-sizing:border-box}:host button{width:100%;height:48px}\n"] }]
37
37
  }], null, { items: [{
38
38
  type: Input
39
39
  }], action: [{