@ng-atomic/components 5.3.1 → 5.4.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 (178) hide show
  1. package/atoms/smart-menu-button/smart-menu-button.module.d.ts +3 -3
  2. package/esm2020/atoms/icon/icon.atom.mjs +2 -2
  3. package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +3 -3
  4. package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +3 -3
  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/index.mjs +1 -2
  8. package/esm2020/frames/line-up/line-up.frame.mjs +8 -3
  9. package/esm2020/frames/overlay/overlay.frame.mjs +2 -2
  10. package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
  11. package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
  12. package/esm2020/molecules/actions-column/actions-column.module.mjs +4 -4
  13. package/esm2020/molecules/actions-column/actions-column.molecule.mjs +3 -3
  14. package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +9 -10
  15. package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +4 -4
  16. package/esm2020/molecules/select-input-field/select-input-field.module.mjs +2 -2
  17. package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +5 -5
  18. package/esm2020/molecules/smart-column/smart-column.module.mjs +4 -4
  19. package/esm2020/molecules/smart-column/smart-column.molecule.mjs +3 -3
  20. package/esm2020/molecules/text-input-field/text-input-field.module.mjs +3 -2
  21. package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +5 -5
  22. package/esm2020/molecules/textarea-field/index.mjs +3 -3
  23. package/esm2020/molecules/textarea-field/textarea-field.module.mjs +6 -2
  24. package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +27 -6
  25. package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +3 -3
  26. package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +3 -3
  27. package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
  28. package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
  29. package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
  30. package/esm2020/organisms/heading/heading.organism.mjs +2 -2
  31. package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +5 -5
  32. package/esm2020/organisms/navigator/navigator.organism.mjs +2 -2
  33. package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
  34. package/esm2020/organisms/smart-list/smart-list.organism.mjs +2 -2
  35. package/esm2020/organisms/smart-table/smart-table.organism.mjs +2 -2
  36. package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
  37. package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
  38. package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +14 -4
  39. package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +3 -3
  40. package/esm2020/templates/entrance/entrance.template.mjs +2 -2
  41. package/esm2020/templates/menu/menu.template.mjs +5 -5
  42. package/esm2020/templates/smart-crud/index.mjs +1 -2
  43. package/esm2020/templates/smart-crud/smart-crud.template.mjs +67 -14
  44. package/esm2020/templates/smart-index/index.mjs +1 -2
  45. package/esm2020/templates/smart-index/smart-index.template.mjs +29 -3
  46. package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
  47. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +11 -11
  48. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  49. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +2 -2
  50. package/fesm2015/ng-atomic-components-frames-drawer.mjs +2 -2
  51. package/fesm2015/ng-atomic-components-frames-line-up.mjs +9 -25
  52. package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
  53. package/fesm2015/ng-atomic-components-frames-overlay.mjs +2 -2
  54. package/fesm2015/ng-atomic-components-frames-scroll.mjs +2 -2
  55. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +2 -2
  56. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +14 -14
  57. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  58. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +8 -9
  59. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  60. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +3 -3
  61. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  62. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +9 -9
  63. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  64. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +16 -15
  65. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  66. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +8 -8
  67. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  68. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +34 -10
  69. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  70. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
  71. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  72. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +2 -2
  73. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
  74. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +2 -2
  75. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
  76. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +2 -2
  77. package/fesm2015/ng-atomic-components-organisms-heading.mjs +2 -2
  78. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +4 -4
  79. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  80. package/fesm2015/ng-atomic-components-organisms-navigator.mjs +2 -2
  81. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
  82. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +2 -1
  83. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  84. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +2 -2
  85. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +2 -2
  86. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +2 -2
  87. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +13 -3
  88. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  89. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +2 -2
  90. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
  91. package/fesm2015/ng-atomic-components-templates-entrance.mjs +2 -2
  92. package/fesm2015/ng-atomic-components-templates-menu.mjs +4 -4
  93. package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
  94. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +53 -79
  95. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  96. package/fesm2015/ng-atomic-components-templates-smart-index.mjs +22 -54
  97. package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  98. package/fesm2020/ng-atomic-components-atoms-icon.mjs +2 -2
  99. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +11 -11
  100. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  101. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +2 -2
  102. package/fesm2020/ng-atomic-components-frames-drawer.mjs +2 -2
  103. package/fesm2020/ng-atomic-components-frames-line-up.mjs +9 -25
  104. package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
  105. package/fesm2020/ng-atomic-components-frames-overlay.mjs +2 -2
  106. package/fesm2020/ng-atomic-components-frames-scroll.mjs +2 -2
  107. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +2 -2
  108. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +14 -14
  109. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  110. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +8 -9
  111. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  112. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +3 -3
  113. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  114. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +9 -9
  115. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  116. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +16 -15
  117. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  118. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +8 -8
  119. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  120. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +34 -10
  121. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  122. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
  123. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  124. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +2 -2
  125. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
  126. package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +2 -2
  127. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
  128. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +2 -2
  129. package/fesm2020/ng-atomic-components-organisms-heading.mjs +2 -2
  130. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +4 -4
  131. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  132. package/fesm2020/ng-atomic-components-organisms-navigator.mjs +2 -2
  133. package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
  134. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +1 -1
  135. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  136. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +2 -2
  137. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +2 -2
  138. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +2 -2
  139. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +13 -3
  140. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  141. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +2 -2
  142. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
  143. package/fesm2020/ng-atomic-components-templates-entrance.mjs +2 -2
  144. package/fesm2020/ng-atomic-components-templates-menu.mjs +4 -4
  145. package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
  146. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +53 -79
  147. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  148. package/fesm2020/ng-atomic-components-templates-smart-index.mjs +23 -55
  149. package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  150. package/frames/line-up/index.d.ts +0 -1
  151. package/frames/line-up/line-up.frame.d.ts +1 -1
  152. package/molecules/actions-column/actions-column.module.d.ts +4 -4
  153. package/molecules/actions-column/actions-column.molecule.d.ts +2 -2
  154. package/molecules/date-input-field/date-input-field.molecule.d.ts +2 -2
  155. package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +3 -3
  156. package/molecules/select-input-field/select-input-field.module.d.ts +2 -2
  157. package/molecules/smart-column/smart-column.module.d.ts +4 -4
  158. package/molecules/text-input-field/text-input-field.module.d.ts +2 -2
  159. package/molecules/textarea-field/index.d.ts +2 -2
  160. package/molecules/textarea-field/textarea-field.module.d.ts +3 -2
  161. package/molecules/textarea-field/textarea-field.molecule.d.ts +11 -1
  162. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +2 -2
  163. package/organisms/back-navigator/back-navigator.organism.d.ts +2 -2
  164. package/organisms/navigation-list/navigation-list.organism.d.ts +3 -3
  165. package/organisms/textarea-section/textarea-section.organism.d.ts +7 -1
  166. package/organisms/top-navigator/top-navigator.organism.d.ts +3 -3
  167. package/package.json +4 -4
  168. package/templates/menu/menu.template.d.ts +3 -3
  169. package/templates/smart-crud/index.d.ts +0 -1
  170. package/templates/smart-crud/smart-crud.template.d.ts +3 -2
  171. package/templates/smart-index/index.d.ts +0 -1
  172. package/templates/smart-index/smart-index.template.d.ts +1 -1
  173. package/esm2020/frames/line-up/line-up.module.mjs +0 -24
  174. package/esm2020/templates/smart-crud/smart-crud.module.mjs +0 -82
  175. package/esm2020/templates/smart-index/smart-index.module.mjs +0 -61
  176. package/frames/line-up/line-up.module.d.ts +0 -9
  177. package/templates/smart-crud/smart-crud.module.d.ts +0 -19
  178. package/templates/smart-index/smart-index.module.d.ts +0 -15
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
3
+ import '@angular/material/legacy-paginator';
3
4
  import * as i1 from '@angular/common';
4
5
  import { CommonModule } from '@angular/common';
5
6
  import * as i2 from '@ng-atomic/components/frames/auto-layout';
@@ -16,7 +17,6 @@ import * as i7 from '@ng-atomic/components/organisms/navigator';
16
17
  import { NavigatorModule } from '@ng-atomic/components/organisms/navigator';
17
18
  import * as i4 from '@ng-atomic/components/organisms/paginator';
18
19
  import { PaginatorModule } from '@ng-atomic/components/organisms/paginator';
19
- import '@angular/material/legacy-paginator';
20
20
  import { FormControl } from '@ngneat/reactive-forms';
21
21
 
22
22
  var ActionId;
@@ -55,10 +55,28 @@ class SmartIndexTemplate {
55
55
  }
56
56
  }
57
57
  SmartIndexTemplate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartIndexTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component });
58
- SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartIndexTemplate, selector: "templates-smart-index", inputs: { queryControl: "queryControl", title: "title", description: "description", items: "items", itemActions: "itemActions", navStartActions: "navStartActions", navEndActions: "navEndActions", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder", device: "device" }, outputs: { action: "action", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange" }, host: { classAttribute: "template" }, ngImport: i0, template: "<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-Qq1s: var(--navigator-height)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: i3.ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: i4.PaginatorOrganism, selector: "organisms-paginator", inputs: ["control", "placeholder", "page", "pageSizeOptions"], outputs: ["pageChange"] }, { kind: "component", type: i5.SmartTableOrganism, selector: "organisms-smart-table", inputs: ["columns", "items", "itemActions", "pageSize", "selectedIdSet", "sort"], outputs: ["action", "headerClick", "checkboxClick", "pageChange", "itemCheck"] }, { kind: "component", type: i6.SmartListOrganism, selector: "organisms-smart-list", inputs: ["items"], outputs: ["action"] }, { kind: "component", type: i7.NavigatorOrganism, selector: "organisms-navigator", inputs: ["startActions", "endActions"], outputs: ["action"] }, { kind: "component", type: i8.HeaderMolecule, selector: "molecules-header", inputs: ["title", "description"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
58
+ SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartIndexTemplate, isStandalone: true, selector: "templates-smart-index", inputs: { queryControl: "queryControl", title: "title", description: "description", items: "items", itemActions: "itemActions", navStartActions: "navStartActions", navEndActions: "navEndActions", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder", device: "device" }, outputs: { action: "action", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange" }, host: { classAttribute: "template" }, ngImport: i0, template: "<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-QLKS: var(--navigator-height)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type:
59
+ // Frames
60
+ AutoLayoutModule }, { kind: "component", type: i2.AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "ngmodule", type: ScrollModule }, { kind: "component", type: i3.ScrollFrame, selector: "frames-scroll" }, { kind: "ngmodule", type:
61
+ // Organisms
62
+ PaginatorModule }, { kind: "component", type: i4.PaginatorOrganism, selector: "organisms-paginator", inputs: ["control", "placeholder", "page", "pageSizeOptions"], outputs: ["pageChange"] }, { kind: "ngmodule", type: SmartTableModule }, { kind: "component", type: i5.SmartTableOrganism, selector: "organisms-smart-table", inputs: ["columns", "items", "itemActions", "pageSize", "selectedIdSet", "sort"], outputs: ["action", "headerClick", "checkboxClick", "pageChange", "itemCheck"] }, { kind: "ngmodule", type: SmartListModule }, { kind: "component", type: i6.SmartListOrganism, selector: "organisms-smart-list", inputs: ["items"], outputs: ["action"] }, { kind: "ngmodule", type: NavigatorModule }, { kind: "component", type: i7.NavigatorOrganism, selector: "organisms-navigator", inputs: ["startActions", "endActions"], outputs: ["action"] }, { kind: "ngmodule", type:
63
+ // Molecules
64
+ HeaderModule }, { kind: "component", type: i8.HeaderMolecule, selector: "molecules-header", inputs: ["title", "description"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
59
65
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartIndexTemplate, decorators: [{
60
66
  type: Component,
61
- args: [{ selector: 'templates-smart-index', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-Qq1s: var(--navigator-height)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"] }]
67
+ args: [{ standalone: true, imports: [
68
+ CommonModule,
69
+ // Frames
70
+ AutoLayoutModule,
71
+ ScrollModule,
72
+ // Organisms
73
+ PaginatorModule,
74
+ SmartTableModule,
75
+ SmartListModule,
76
+ NavigatorModule,
77
+ // Molecules
78
+ HeaderModule,
79
+ ], selector: 'templates-smart-index', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-QLKS: var(--navigator-height)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"] }]
62
80
  }], propDecorators: { queryControl: [{
63
81
  type: Input
64
82
  }], title: [{
@@ -99,59 +117,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
99
117
  type: Output
100
118
  }] } });
101
119
 
102
- class SmartIndexModule {
103
- }
104
- SmartIndexModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartIndexModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
- SmartIndexModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartIndexModule, declarations: [SmartIndexTemplate], imports: [CommonModule,
106
- // Frames
107
- AutoLayoutModule,
108
- ScrollModule,
109
- // Organisms
110
- PaginatorModule,
111
- SmartTableModule,
112
- SmartListModule,
113
- NavigatorModule,
114
- // Molecules
115
- HeaderModule], exports: [SmartIndexTemplate] });
116
- SmartIndexModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartIndexModule, imports: [CommonModule,
117
- // Frames
118
- AutoLayoutModule,
119
- ScrollModule,
120
- // Organisms
121
- PaginatorModule,
122
- SmartTableModule,
123
- SmartListModule,
124
- NavigatorModule,
125
- // Molecules
126
- HeaderModule] });
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartIndexModule, decorators: [{
128
- type: NgModule,
129
- args: [{
130
- declarations: [
131
- SmartIndexTemplate
132
- ],
133
- imports: [
134
- CommonModule,
135
- // Frames
136
- AutoLayoutModule,
137
- ScrollModule,
138
- // Organisms
139
- PaginatorModule,
140
- SmartTableModule,
141
- SmartListModule,
142
- NavigatorModule,
143
- // Molecules
144
- HeaderModule,
145
- ],
146
- exports: [
147
- SmartIndexTemplate
148
- ]
149
- }]
150
- }] });
151
-
152
120
  /**
153
121
  * Generated bundle index. Do not edit.
154
122
  */
155
123
 
156
- export { ActionId, SmartIndexModule, SmartIndexTemplate };
124
+ export { ActionId, SmartIndexTemplate };
157
125
  //# sourceMappingURL=ng-atomic-components-templates-smart-index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-templates-smart-index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/templates/smart-index/smart-index.template.ts","../../../../../packages/@ng-atomic/components/src/templates/smart-index/smart-index.template.html","../../../../../packages/@ng-atomic/components/src/templates/smart-index/smart-index.module.ts","../../../../../packages/@ng-atomic/components/src/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';\nimport { Action } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/smart-index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/smart-index] Table Header Click',\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n protected ActionId = ActionId;\n\n @Input()\n queryControl = new FormControl<string>('');\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n itemActions: (item: T) => Action[] = () => [];\n\n @Input()\n navStartActions: Action[] = [{ id: ActionId.BACK, icon: 'arrow_back' }];\n\n @Input()\n navEndActions: Action[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Input()\n device: 'sp' | 'tablet' | 'pc' = 'sp';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n onAction(action: Action): void {\n switch(action.id) {\n default: return this.action.emit(action);\n }\n }\n}\n","<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollModule } from '@ng-atomic/components/frames/scroll';\nimport { HeaderModule } from '@ng-atomic/components/molecules/header';\nimport { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';\nimport { SmartListModule } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorModule } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorModule } from '@ng-atomic/components/organisms/paginator';\n\nimport { SmartIndexTemplate } from './smart-index.template';\n\n\n@NgModule({\n declarations: [\n SmartIndexTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n ScrollModule,\n // Organisms\n PaginatorModule,\n SmartTableModule,\n SmartListModule,\n NavigatorModule,\n // Molecules\n HeaderModule,\n ],\n exports: [\n SmartIndexTemplate\n ]\n})\nexport class SmartIndexModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAKY,SAGX;AAHD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,oDAA2D,CAAA;AAC3D,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,kEAAuF,CAAA;AACzF,CAAC,EAHW,QAAQ,KAAR,QAAQ,GAGnB,EAAA,CAAA,CAAA,CAAA;MASY,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;QAQY,IAAQ,CAAA,QAAA,GAAG,QAAQ,CAAC;AAG9B,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC;QAG3C,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;QAMnB,IAAK,CAAA,KAAA,GAAQ,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,WAAW,GAA0B,MAAM,EAAE,CAAC;AAG9C,QAAA,IAAA,CAAA,eAAe,GAAa,CAAC,EAAE,EAAE,EA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,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,YAAA,EAAA,CAnBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;QAEZ,gBAAgB;QAChB,YAAY;;QAEZ,eAAe;QACf,gBAAgB;QAChB,eAAe;QACf,eAAe;;AAEf,QAAA,YAAY,aAGZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGT,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAhBzB,YAAY;;QAEZ,gBAAgB;QAChB,YAAY;;QAEZ,eAAe;QACf,gBAAgB;QAChB,eAAe;QACf,eAAe;;QAEf,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBArB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,gBAAgB;wBAChB,YAAY;;wBAEZ,eAAe;wBACf,gBAAgB;wBAChB,eAAe;wBACf,eAAe;;wBAEf,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACjCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-templates-smart-index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/templates/smart-index/smart-index.template.ts","../../../../../packages/@ng-atomic/components/src/templates/smart-index/smart-index.template.html","../../../../../packages/@ng-atomic/components/src/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollModule } from '@ng-atomic/components/frames/scroll';\nimport { HeaderModule } from '@ng-atomic/components/molecules/header';\nimport { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';\nimport { SmartListModule } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorModule } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorModule } from '@ng-atomic/components/organisms/paginator';\nimport { Action } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/smart-index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/smart-index] Table Header Click',\n}\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n ScrollModule,\n // Organisms\n PaginatorModule,\n SmartTableModule,\n SmartListModule,\n NavigatorModule,\n // Molecules\n HeaderModule,\n ],\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n protected ActionId = ActionId;\n\n @Input()\n queryControl = new FormControl<string>('');\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n itemActions: (item: T) => Action[] = () => [];\n\n @Input()\n navStartActions: Action[] = [{ id: ActionId.BACK, icon: 'arrow_back' }];\n\n @Input()\n navEndActions: Action[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Input()\n device: 'sp' | 'tablet' | 'pc' = 'sp';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n onAction(action: Action): void {\n switch(action.id) {\n default: return this.action.emit(action);\n }\n }\n}\n","<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAaY,SAGX;AAHD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,oDAA2D,CAAA;AAC3D,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,kEAAuF,CAAA;AACzF,CAAC,EAHW,QAAQ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 +1 @@
1
1
  export * from './line-up.frame';
2
- export { LineUpModule } from './line-up.module';
@@ -32,6 +32,6 @@ export declare class LineUpFrame implements OnInit, OnDestroy {
32
32
  refresh(): void;
33
33
  private resolveMode;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<LineUpFrame, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<LineUpFrame, "frames-line-up", never, { "hasNext": "hasNext"; "minNextWidth": "minNextWidth"; }, {}, never, ["[main]", "[next]"], false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<LineUpFrame, "frames-line-up", never, { "hasNext": "hasNext"; "minNextWidth": "minNextWidth"; }, {}, never, ["[main]", "[next]"], true, never>;
36
36
  }
37
37
  export {};
@@ -1,13 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./actions-column.molecule";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-table";
5
- import * as i4 from "@angular/material/legacy-menu";
6
- import * as i5 from "@angular/material/legacy-button";
4
+ import * as i3 from "@angular/material/table";
5
+ import * as i4 from "@angular/material/menu";
6
+ import * as i5 from "@angular/material/button";
7
7
  import * as i6 from "@angular/material/icon";
8
8
  import * as i7 from "@ng-atomic/components/atoms/smart-menu-button";
9
9
  export declare class ActionsColumnModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionsColumnModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<ActionsColumnModule, [typeof i1.ActionsColumnMolecule], [typeof i2.CommonModule, typeof i3.MatLegacyTableModule, typeof i4.MatLegacyMenuModule, typeof i5.MatLegacyButtonModule, typeof i6.MatIconModule, typeof i7.SmartMenuButtonModule], [typeof i1.ActionsColumnMolecule]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ActionsColumnModule, [typeof i1.ActionsColumnMolecule], [typeof i2.CommonModule, typeof i3.MatTableModule, typeof i4.MatMenuModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.SmartMenuButtonModule], [typeof i1.ActionsColumnMolecule]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<ActionsColumnModule>;
13
13
  }
@@ -1,6 +1,6 @@
1
1
  import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions } from '@angular/cdk/table';
2
2
  import { EventEmitter } from '@angular/core';
3
- import { Action, ActionItem } from '@ng-atomic/common/models';
3
+ import { Action } from '@ng-atomic/common/models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ActionsColumnMolecule<T> {
6
6
  private _table;
@@ -8,7 +8,7 @@ export declare class ActionsColumnMolecule<T> {
8
8
  get name(): string;
9
9
  set name(name: string);
10
10
  _name: string;
11
- itemActions: (item: T) => ActionItem[];
11
+ itemActions: (item: T) => Action[];
12
12
  action: EventEmitter<Action<any>>;
13
13
  columnDef: CdkColumnDef;
14
14
  cell: CdkCellDef;
@@ -2,12 +2,12 @@ import { FormControl } from '@ngneat/reactive-forms';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DateInputFieldMolecule {
5
+ protected readonly _control: FormControl<Dayjs>;
5
6
  control: FormControl<Dayjs>;
6
- private _control;
7
7
  label: string;
8
8
  placeholder: string;
9
9
  hint?: string;
10
10
  ngOnInit(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DateInputFieldMolecule, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<DateInputFieldMolecule, "molecules-date-input-field", never, { "_control": "control"; "label": "label"; "placeholder": "placeholder"; "hint": "hint"; }, {}, never, never, false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateInputFieldMolecule, "molecules-date-input-field", never, { "control": "control"; "label": "label"; "placeholder": "placeholder"; "hint": "hint"; }, {}, never, never, false, never>;
13
13
  }
@@ -1,8 +1,8 @@
1
- import { ActionItem } from '@ng-atomic/common/models';
1
+ import { Action } from '@ng-atomic/common/models';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class NavigationListItemMolecule {
4
- item: ActionItem;
4
+ action: Action;
5
5
  selected: boolean;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationListItemMolecule, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<NavigationListItemMolecule, "molecules-navigation-list-item", never, { "item": "item"; "selected": "selected"; }, {}, never, never, false, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationListItemMolecule, "molecules-navigation-list-item", never, { "action": "action"; "selected": "selected"; }, {}, never, never, false, never>;
8
8
  }
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./select-input-field.molecule";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/legacy-select";
5
+ import * as i4 from "@angular/material/select";
6
6
  export declare class SelectInputFieldModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputFieldModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectInputFieldModule, [typeof i1.SelectInputFieldMolecule], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatLegacySelectModule], [typeof i1.SelectInputFieldMolecule]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectInputFieldModule, [typeof i1.SelectInputFieldMolecule], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatSelectModule], [typeof i1.SelectInputFieldMolecule]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectInputFieldModule>;
10
10
  }
@@ -4,12 +4,12 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/cdk/clipboard";
5
5
  import * as i4 from "@ng-atomic/common/pipes/smart-exp";
6
6
  import * as i5 from "@ng-atomic/common/pipes/data-accessor";
7
- import * as i6 from "@angular/material/legacy-button";
7
+ import * as i6 from "@angular/material/button";
8
8
  import * as i7 from "@angular/material/icon";
9
- import * as i8 from "@angular/material/legacy-table";
10
- import * as i9 from "@angular/material/legacy-tooltip";
9
+ import * as i8 from "@angular/material/table";
10
+ import * as i9 from "@angular/material/tooltip";
11
11
  export declare class SmartColumnModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartColumnModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartColumnModule, [typeof i1.SmartColumnMolecule], [typeof i2.CommonModule, typeof i3.ClipboardModule, typeof i4.SmartExpModule, typeof i5.DataAccessorPipe, typeof i6.MatLegacyButtonModule, typeof i7.MatIconModule, typeof i8.MatLegacyTableModule, typeof i9.MatLegacyTooltipModule], [typeof i1.SmartColumnMolecule]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartColumnModule, [typeof i1.SmartColumnMolecule], [typeof i2.CommonModule, typeof i3.ClipboardModule, typeof i4.SmartExpModule, typeof i5.DataAccessorPipe, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.MatTableModule, typeof i9.MatTooltipModule], [typeof i1.SmartColumnMolecule]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartColumnModule>;
15
15
  }
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./text-input-field.molecule";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/legacy-input";
5
+ import * as i4 from "@angular/material/input";
6
6
  export declare class TextInputFieldModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TextInputFieldModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextInputFieldModule, [typeof i1.TextInputFieldMolecule], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatLegacyInputModule], [typeof i1.TextInputFieldMolecule]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TextInputFieldModule, [typeof i1.TextInputFieldMolecule], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule], [typeof i1.TextInputFieldMolecule]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TextInputFieldModule>;
10
10
  }
@@ -1,2 +1,2 @@
1
- export { TextareaFieldMolecule } from './textarea-field.molecule';
2
- export { TextareaFieldModule } from './textarea-field.module';
1
+ export * from './textarea-field.molecule';
2
+ export * from './textarea-field.module';
@@ -1,9 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./textarea-field.molecule";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-input";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/material/input";
5
6
  export declare class TextareaFieldModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaFieldModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextareaFieldModule, [typeof i1.TextareaFieldMolecule], [typeof i2.CommonModule, typeof i3.MatLegacyInputModule], [typeof i1.TextareaFieldMolecule]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TextareaFieldModule, [typeof i1.TextareaFieldMolecule], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule], [typeof i1.TextareaFieldMolecule]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TextareaFieldModule>;
9
10
  }
@@ -1,8 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { Action } from '@ng-atomic/common/models';
1
4
  import * as i0 from "@angular/core";
5
+ export declare enum ActionId {
6
+ CTRL_ENTER_KEY_UP = "Ctrl Enter Key Up"
7
+ }
2
8
  export declare class TextareaFieldMolecule {
3
9
  label: string;
4
10
  hint?: string;
5
11
  placeholder: string;
12
+ control: FormControl<string>;
13
+ rows: number;
14
+ action: EventEmitter<Action<any>>;
15
+ protected onKeyup($event: any): void;
6
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaFieldMolecule, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaFieldMolecule, "molecules-textarea-field", never, { "label": "label"; "hint": "hint"; "placeholder": "placeholder"; }, {}, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaFieldMolecule, "molecules-textarea-field", never, { "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "control": "control"; "rows": "rows"; }, { "action": "action"; }, never, never, false, never>;
8
18
  }
@@ -1,10 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action, ActionItem } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/common/models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ActionButtonsSectionOrganism {
5
5
  actions: Action[];
6
6
  action: EventEmitter<Action<any>>;
7
- trackById: (item: ActionItem) => string;
7
+ trackById: (item: Action) => string;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonsSectionOrganism, never>;
9
9
  static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonsSectionOrganism, "organisms-action-buttons-section", never, { "actions": "actions"; }, { "action": "action"; }, never, never, false, never>;
10
10
  }
@@ -1,11 +1,11 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action, ActionItem } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/common/models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BackNavigatorOrganism {
5
5
  canBack: boolean;
6
6
  title?: string;
7
7
  description?: string;
8
- items: ActionItem[];
8
+ items: Action[];
9
9
  backButtonClick: EventEmitter<void>;
10
10
  action: EventEmitter<Action<any>>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<BackNavigatorOrganism, never>;
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action, ActionItem } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/common/models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NavigationListOrganism {
5
- items: ActionItem<string>[];
5
+ actions: Action<string>[];
6
6
  action: EventEmitter<Action<any>>;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationListOrganism, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<NavigationListOrganism, "organisms-navigation-list", never, { "items": "items"; }, { "action": "action"; }, never, never, false, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationListOrganism, "organisms-navigation-list", never, { "actions": "actions"; }, { "action": "action"; }, never, never, false, never>;
9
9
  }
@@ -1,6 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { Action } from '@ng-atomic/common/models';
1
4
  import * as i0 from "@angular/core";
2
5
  export declare class TextareaSectionOrganism {
3
6
  label: string;
7
+ rows: number;
8
+ control: FormControl<string>;
9
+ action: EventEmitter<Action<any>>;
4
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaSectionOrganism, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaSectionOrganism, "organisms-textarea-section", never, { "label": "label"; }, {}, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaSectionOrganism, "organisms-textarea-section", never, { "label": "label"; "rows": "rows"; "control": "control"; }, { "action": "action"; }, never, never, false, never>;
6
12
  }
@@ -1,10 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { ActionItem } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/common/models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TopNavigatorOrganism {
5
5
  title?: string;
6
- items: ActionItem[];
7
- action: EventEmitter<ActionItem<any>>;
6
+ items: Action[];
7
+ action: EventEmitter<Action<any>>;
8
8
  id: (item: {
9
9
  id: string;
10
10
  }) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-atomic/components",
3
- "version": "5.3.1",
3
+ "version": "5.4.1",
4
4
  "license": "MIT",
5
5
  "module": "fesm2015/ng-atomic-components.mjs",
6
6
  "es2020": "fesm2020/ng-atomic-components.mjs",
@@ -374,14 +374,14 @@
374
374
  "@storybook/theming": "6.5.16",
375
375
  "@angular/core": "15.2.3",
376
376
  "@angular/platform-browser": "15.2.3",
377
- "@ng-atomic/elements": "5.3.1",
377
+ "@ng-atomic/elements": "5.4.1",
378
378
  "@angular/cdk": "15.2.3",
379
379
  "@angular/material": "15.2.3",
380
380
  "@ngneat/reactive-forms": "4.1.0",
381
381
  "rxjs": "7.5.0",
382
- "@ng-atomic/common": "5.3.1",
382
+ "@ng-atomic/common": "5.4.1",
383
383
  "@angular/forms": "15.2.3",
384
- "@ng-atomic/storybook": "5.3.1",
384
+ "@ng-atomic/storybook": "5.4.1",
385
385
  "@storybook/angular": "6.5.13",
386
386
  "@angular/animations": "15.2.3",
387
387
  "resize-observer-polyfill": "1.5.1",
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action, ActionItem } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/common/models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MenuTemplate {
5
- items: ActionItem<string>[];
5
+ actions: Action<string>[];
6
6
  action: EventEmitter<Action<any>>;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuTemplate, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuTemplate, "templates-menu", never, { "items": "items"; }, { "action": "action"; }, never, ["[header]", "[footer]"], false, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuTemplate, "templates-menu", never, { "actions": "actions"; }, { "action": "action"; }, never, ["[header]", "[footer]"], false, never>;
9
9
  }
@@ -1,2 +1 @@
1
- export { SmartCrudModule } from './smart-crud.module';
2
1
  export * from './smart-crud.template';
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { Action } from '@ng-atomic/common/models';
3
4
  import { FormGroup } from '@ngneat/reactive-forms';
4
5
  import * as i0 from "@angular/core";
@@ -15,8 +16,8 @@ export declare class SmartCrudTemplate {
15
16
  navEndActions: Action[];
16
17
  actions: Action[];
17
18
  action: EventEmitter<Action<any>>;
18
- get controls(): [string, unknown][];
19
+ get controls(): [string, AbstractControl<any, any>][];
19
20
  trackByIndex: (index: number) => number;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrudTemplate, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrudTemplate, "templates-smart-crud", never, { "title": "title"; "form": "form"; "navStartActions": "navStartActions"; "navEndActions": "navEndActions"; "actions": "actions"; }, { "action": "action"; }, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrudTemplate, "templates-smart-crud", never, { "title": "title"; "form": "form"; "navStartActions": "navStartActions"; "navEndActions": "navEndActions"; "actions": "actions"; }, { "action": "action"; }, never, never, true, never>;
22
23
  }
@@ -1,2 +1 @@
1
- export { SmartIndexModule } from './smart-index.module';
2
1
  export * from './smart-index.template';
@@ -30,5 +30,5 @@ export declare class SmartIndexTemplate<T> {
30
30
  pageChange: EventEmitter<PageEvent>;
31
31
  onAction(action: Action): void;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartIndexTemplate<any>, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartIndexTemplate<any>, "templates-smart-index", never, { "queryControl": "queryControl"; "title": "title"; "description": "description"; "items": "items"; "itemActions": "itemActions"; "navStartActions": "navStartActions"; "navEndActions": "navEndActions"; "properties": "properties"; "selectedIdSet": "selectedIdSet"; "sortKey": "sortKey"; "sortOrder": "sortOrder"; "page": "page"; "pageSizeOptions": "pageSizeOptions"; "queryPlaceholder": "queryPlaceholder"; "device": "device"; }, { "action": "action"; "backButtonClick": "backButtonClick"; "checkboxClick": "checkboxClick"; "pageChange": "pageChange"; }, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartIndexTemplate<any>, "templates-smart-index", never, { "queryControl": "queryControl"; "title": "title"; "description": "description"; "items": "items"; "itemActions": "itemActions"; "navStartActions": "navStartActions"; "navEndActions": "navEndActions"; "properties": "properties"; "selectedIdSet": "selectedIdSet"; "sortKey": "sortKey"; "sortOrder": "sortOrder"; "page": "page"; "pageSizeOptions": "pageSizeOptions"; "queryPlaceholder": "queryPlaceholder"; "device": "device"; }, { "action": "action"; "backButtonClick": "backButtonClick"; "checkboxClick": "checkboxClick"; "pageChange": "pageChange"; }, never, never, true, never>;
34
34
  }
@@ -1,24 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
4
- import { LineUpFrame } from './line-up.frame';
5
- import * as i0 from "@angular/core";
6
- export class LineUpModule {
7
- }
8
- LineUpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LineUpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- LineUpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: LineUpModule, declarations: [LineUpFrame], imports: [CommonModule,
10
- MatProgressSpinnerModule], exports: [LineUpFrame] });
11
- LineUpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LineUpModule, imports: [CommonModule,
12
- MatProgressSpinnerModule] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LineUpModule, decorators: [{
14
- type: NgModule,
15
- args: [{
16
- declarations: [LineUpFrame],
17
- imports: [
18
- CommonModule,
19
- MatProgressSpinnerModule
20
- ],
21
- exports: [LineUpFrame]
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS11cC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlc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