@ng-atomic/components 6.0.4 → 15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
  2. package/esm2022/atoms/icon/icon.atom.mjs +2 -2
  3. package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +1 -1
  4. package/esm2022/frames/auto-layout/auto-layout.frame.mjs +2 -2
  5. package/esm2022/frames/divider/divider.frame.mjs +4 -4
  6. package/esm2022/frames/drawer/drawer.frame.mjs +2 -2
  7. package/esm2022/frames/fab/fab.frame.mjs +4 -4
  8. package/esm2022/frames/fab/fab.service.mjs +1 -1
  9. package/esm2022/frames/line-up/line-up.frame.mjs +2 -2
  10. package/esm2022/frames/overlay/overlay.frame.mjs +2 -2
  11. package/esm2022/frames/scroll/scroll.frame.mjs +2 -2
  12. package/esm2022/frames/scroll-v2/scroll.frame.mjs +2 -2
  13. package/esm2022/frames/side-nav/side-nav.frame.mjs +5 -5
  14. package/esm2022/frames/smart-menu/smart-menu.frame.mjs +2 -2
  15. package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +2 -2
  16. package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +2 -2
  17. package/esm2022/molecules/actions-column/actions-column.molecule.mjs +1 -1
  18. package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
  19. package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +2 -2
  20. package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +2 -2
  21. package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +1 -1
  22. package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
  23. package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +1 -1
  24. package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +3 -3
  25. package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +4 -4
  26. package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +2 -2
  27. package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
  28. package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +2 -2
  29. package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +4 -4
  30. package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +2 -2
  31. package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +1 -1
  32. package/esm2022/organisms/heading/heading.organism.mjs +2 -2
  33. package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +2 -2
  34. package/esm2022/organisms/menu-header/menu-header.organism.mjs +2 -2
  35. package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +1 -1
  36. package/esm2022/organisms/messages-section/messages-section.organism.mjs +2 -2
  37. package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +4 -4
  38. package/esm2022/organisms/navigator/navigator.organism.mjs +4 -4
  39. package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +2 -2
  40. package/esm2022/organisms/selection-list/selection-list.organism.mjs +2 -2
  41. package/esm2022/organisms/smart-list/smart-list.organism.mjs +2 -2
  42. package/esm2022/organisms/smart-table/smart-table.organism.mjs +3 -3
  43. package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +2 -2
  44. package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +2 -2
  45. package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +3 -3
  46. package/esm2022/organisms/toolbar/toolbar.organism.mjs +2 -2
  47. package/esm2022/organisms/tree-section/tree-section.organism.mjs +1 -1
  48. package/esm2022/templates/code-editor/code-editor.template.mjs +2 -2
  49. package/esm2022/templates/entrance/entrance.template.mjs +3 -3
  50. package/esm2022/templates/file-tree/file-tree.template.mjs +2 -2
  51. package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +4 -4
  52. package/esm2022/templates/menu/menu.template.mjs +5 -5
  53. package/esm2022/templates/messages/messages.template.mjs +1 -1
  54. package/esm2022/templates/selection/selection.template.mjs +2 -2
  55. package/esm2022/templates/smart-crud/smart-crud.template.mjs +4 -4
  56. package/esm2022/templates/smart-index/smart-index.template.mjs +4 -4
  57. package/esm2022/templates/tab-editor/tab-editor.template.mjs +2 -2
  58. package/esm2022/templates/term/term.template.mjs +2 -2
  59. package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
  60. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  61. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +2 -2
  62. package/fesm2022/ng-atomic-components-frames-divider.mjs +3 -3
  63. package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
  64. package/fesm2022/ng-atomic-components-frames-drawer.mjs +2 -2
  65. package/fesm2022/ng-atomic-components-frames-fab.mjs +3 -3
  66. package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -1
  67. package/fesm2022/ng-atomic-components-frames-line-up.mjs +2 -2
  68. package/fesm2022/ng-atomic-components-frames-overlay.mjs +2 -2
  69. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +2 -2
  70. package/fesm2022/ng-atomic-components-frames-scroll.mjs +2 -2
  71. package/fesm2022/ng-atomic-components-frames-side-nav.mjs +3 -4
  72. package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
  73. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +2 -2
  74. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +2 -2
  75. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +1 -1
  76. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
  77. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  78. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +2 -2
  79. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +1 -1
  80. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
  81. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +1 -1
  82. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  83. package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
  84. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +2 -2
  85. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  86. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
  87. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  88. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +3 -3
  89. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs.map +1 -1
  90. package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +2 -2
  91. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
  92. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +2 -2
  93. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +3 -3
  94. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs.map +1 -1
  95. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +1 -1
  96. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
  97. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -1
  98. package/fesm2022/ng-atomic-components-organisms-heading.mjs +2 -2
  99. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +1 -1
  100. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs.map +1 -1
  101. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +1 -1
  102. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
  103. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs.map +1 -1
  104. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +2 -2
  105. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +3 -3
  106. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  107. package/fesm2022/ng-atomic-components-organisms-navigator.mjs +3 -3
  108. package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
  109. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +2 -2
  110. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +1 -1
  111. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -1
  112. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +1 -1
  113. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  114. package/fesm2022/ng-atomic-components-organisms-smart-table.mjs +2 -2
  115. package/fesm2022/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  116. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
  117. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +2 -2
  118. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +2 -2
  119. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  120. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +1 -1
  121. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs.map +1 -1
  122. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  123. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +1 -1
  124. package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -1
  125. package/fesm2022/ng-atomic-components-templates-entrance.mjs +2 -2
  126. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
  127. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +1 -1
  128. package/fesm2022/ng-atomic-components-templates-file-tree.mjs.map +1 -1
  129. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +3 -3
  130. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -1
  131. package/fesm2022/ng-atomic-components-templates-menu.mjs +3 -4
  132. package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -1
  133. package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
  134. package/fesm2022/ng-atomic-components-templates-selection.mjs +1 -1
  135. package/fesm2022/ng-atomic-components-templates-selection.mjs.map +1 -1
  136. package/fesm2022/ng-atomic-components-templates-smart-crud.mjs +3 -3
  137. package/fesm2022/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  138. package/fesm2022/ng-atomic-components-templates-smart-index.mjs +3 -3
  139. package/fesm2022/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  140. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +1 -1
  141. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs.map +1 -1
  142. package/fesm2022/ng-atomic-components-templates-term.mjs +1 -1
  143. package/fesm2022/ng-atomic-components-templates-term.mjs.map +1 -1
  144. package/frames/divider/divider.frame.d.ts +1 -1
  145. package/frames/fab/fab.frame.d.ts +2 -2
  146. package/frames/fab/fab.service.d.ts +1 -1
  147. package/frames/side-nav/side-nav.frame.d.ts +3 -3
  148. package/molecules/action-input-field/action-input-field.molecule.d.ts +2 -2
  149. package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
  150. package/molecules/file-input-field/file-input-field.molecule.d.ts +1 -1
  151. package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +2 -2
  152. package/molecules/nested-menu/nested-menu.molecule.d.ts +1 -1
  153. package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
  154. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
  155. package/organisms/action-input-section/action-input-section.organism.d.ts +2 -2
  156. package/organisms/file-input-section/file-input-section.organism.d.ts +1 -1
  157. package/organisms/graphql-editor/graphql-editor.organism.d.ts +2 -2
  158. package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +1 -1
  159. package/organisms/menu-footer/menu-footer.organism.d.ts +1 -1
  160. package/organisms/menu-header/menu-header.organism.d.ts +1 -1
  161. package/organisms/message-input-section/message-input-section.organism.d.ts +1 -1
  162. package/organisms/navigation-list/navigation-list.organism.d.ts +2 -2
  163. package/organisms/navigator/navigator.organism.d.ts +2 -2
  164. package/organisms/selection-list/selection-list.organism.d.ts +2 -2
  165. package/organisms/smart-list/smart-list.organism.d.ts +1 -1
  166. package/organisms/smart-table/smart-table.organism.d.ts +1 -1
  167. package/organisms/textarea-section/textarea-section.organism.d.ts +1 -1
  168. package/organisms/toolbar/toolbar.organism.d.ts +2 -2
  169. package/organisms/tree-section/tree-section.organism.d.ts +1 -1
  170. package/package.json +3 -3
  171. package/templates/code-editor/code-editor.template.d.ts +1 -1
  172. package/templates/entrance/entrance.template.d.ts +1 -1
  173. package/templates/file-tree/file-tree.template.d.ts +1 -1
  174. package/templates/icon-button-menu/icon-button-menu.template.d.ts +2 -2
  175. package/templates/menu/menu.template.d.ts +3 -3
  176. package/templates/messages/messages.template.d.ts +1 -1
  177. package/templates/selection/selection.template.d.ts +2 -2
  178. package/templates/smart-crud/smart-crud.template.d.ts +2 -2
  179. package/templates/smart-index/smart-index.template.d.ts +2 -2
  180. package/templates/tab-editor/tab-editor.template.d.ts +1 -1
  181. package/templates/term/term.template.d.ts +1 -1
@@ -16,7 +16,7 @@ import { FiltersSectionOrganism } from '@ng-atomic/components/organisms/filters-
16
16
  import { DividerFrame } from '@ng-atomic/components/frames/divider';
17
17
  import { SelectionModel } from '@angular/cdk/collections';
18
18
  import { SelectionListOrganism } from '@ng-atomic/components/organisms/selection-list';
19
- import { NgAtomicComponent, Effect } from '@ng-atomic/common/stores/component-store';
19
+ import { NgAtomicComponent, Effect } from '@ng-atomic/core';
20
20
  import { SortService } from '@ng-atomic/common/services/form/sort';
21
21
  import { PaginationService } from '@ng-atomic/common/services/form/pagination';
22
22
  import { QueryPipe } from '@ng-atomic/common/pipes/query';
@@ -242,7 +242,7 @@ class SmartIndexTemplate extends NgAtomicComponent {
242
242
  </ng-container>
243
243
  </frames-auto-layout>
244
244
  </frames-scroll>
245
- `, isInline: true, styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-JDXF: var(--navigator-height);--primary-color: #012148;--primary-color-SCOPED-IN-smart-index-JDXF: var(--primary-color)}: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: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: DividerFrame, selector: "frames-divider" }, { kind: "component", type: GridToolbarOrganism, selector: "organisms-grid-toolbar", inputs: ["actions", "control"], outputs: ["action"] }, { kind: "component", type: PaginatorOrganism, selector: "organisms-paginator", inputs: ["form", "pageSizeOptions"] }, { kind: "component", type: SmartTableOrganism, selector: "organisms-smart-table", inputs: ["columns", "childrenKey", "items", "itemActions", "selection", "form"], outputs: ["action", "headerClick", "checkboxClick", "pageChange", "itemCheck"] }, { kind: "component", type: SmartListOrganism, selector: "organisms-smart-list" }, { kind: "component", type: NavigatorOrganism, selector: "organisms-navigator", inputs: ["startActions", "endActions"] }, { kind: "component", type: HeaderMolecule, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "pipe", type: PagePipe, name: "page" }, { kind: "pipe", type: QueryPipe, name: "query" }, { kind: "pipe", type: SmartIndexCountPipe, name: "count" }, { kind: "pipe", type: AutoColumnsPipe, name: "autoColumns" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
245
+ `, isInline: true, styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-LHLY: var(--navigator-height);--primary-color: #012148;--primary-color-SCOPED-IN-smart-index-LHLY: var(--primary-color)}: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: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: DividerFrame, selector: "frames-divider" }, { kind: "component", type: GridToolbarOrganism, selector: "organisms-grid-toolbar", inputs: ["actions", "control"], outputs: ["action"] }, { kind: "component", type: PaginatorOrganism, selector: "organisms-paginator", inputs: ["form", "pageSizeOptions"] }, { kind: "component", type: SmartTableOrganism, selector: "organisms-smart-table", inputs: ["columns", "childrenKey", "items", "itemActions", "selection", "form"], outputs: ["action", "headerClick", "checkboxClick", "pageChange", "itemCheck"] }, { kind: "component", type: SmartListOrganism, selector: "organisms-smart-list" }, { kind: "component", type: NavigatorOrganism, selector: "organisms-navigator", inputs: ["startActions", "endActions"] }, { kind: "component", type: HeaderMolecule, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "pipe", type: PagePipe, name: "page" }, { kind: "pipe", type: QueryPipe, name: "query" }, { kind: "pipe", type: SmartIndexCountPipe, name: "count" }, { kind: "pipe", type: AutoColumnsPipe, name: "autoColumns" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
246
246
  }
247
247
  __decorate([
248
248
  Effect(SmartListOrganism.ActionId.CLICK_ITEM),
@@ -342,7 +342,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
342
342
  ],
343
343
  outputs: [],
344
344
  }
345
- ], styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-JDXF: var(--navigator-height);--primary-color: #012148;--primary-color-SCOPED-IN-smart-index-JDXF: var(--primary-color)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"] }]
345
+ ], styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-LHLY: var(--navigator-height);--primary-color: #012148;--primary-color-SCOPED-IN-smart-index-LHLY: var(--primary-color)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"] }]
346
346
  }], propDecorators: { onItemClicked: [] } });
347
347
 
348
348
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-templates-smart-index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/smart-index/smart-index.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, EventEmitter, Injectable, Input, NgModule, Output, Pipe, PipeTransform, inject } from '@angular/core';\nimport { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMolecule } from '@ng-atomic/components/molecules/header';\nimport { SmartTableOrganism } from '@ng-atomic/components/organisms/smart-table';\nimport { SmartListOrganism } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorOrganism } from '@ng-atomic/components/organisms/paginator';\nimport { Action, Actions } from '@ng-atomic/common/models';\nimport { FormBuilder } from '@angular/forms';\nimport { GridToolbarOrganism } from '@ng-atomic/components/organisms/grid-toolbar';\nimport { FiltersSectionOrganism } from '@ng-atomic/components/organisms/filters-section';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { SelectionListOrganism } from '@ng-atomic/components/organisms/selection-list';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/common/stores/component-store';\nimport { SortService } from '@ng-atomic/common/services/form/sort';\nimport { PaginationService } from '@ng-atomic/common/services/form/pagination';\nimport { QueryPipe } from '@ng-atomic/common/pipes/query';\nimport { QueryResolverService } from '@ng-atomic/common/services/query-resolver';\nimport { flattenExcludeDayjs } from '@nx-ddd/core/util/walk-obj';\nimport { injectUiConfig } from '@ng-atomic/common/services/ui';\nimport { signalize } from '@ng-atomic/common/pipes/signal';\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 ITEM_CLICK = '[@ng-atomic/components/templates/smart-index] Item Click',\n CHECKBOX_CLICK = '[@ng-atomic/components/templates/smart-index] Check Item',\n}\n\n@Injectable({ providedIn: 'root' })\nexport class SmartIndexTemplateFormBuilder extends FormBuilder {\n sort = inject(SortService);\n query = inject(PaginationService)\n\n build({\n query = '',\n sort = {}\n }: {query?: string, sort?: {}} = {}) {\n return this.group({\n query: this.control(query),\n page: this.query.build(),\n sort: this.sort.build(),\n })\n }\n}\n\n@Pipe({name: 'page', standalone: true, pure: true})\nexport class PagePipe<T> implements PipeTransform {\n transform(items: T[], value): T[] {\n const start = value?.pageIndex * value?.pageSize;\n const end = start + value?.pageSize;\n return items.slice(start, end);\n }\n}\n\n@Pipe({name: 'autoColumns', standalone: true, pure: true})\nexport class AutoColumnsPipe<T> implements PipeTransform {\n transform(items: T[]): string[] {\n const keys = new Set<string>();\n items.slice(0, 1).forEach(item => {\n const obj = flattenExcludeDayjs(item);\n Object.keys(obj).forEach(key => keys.add(key));\n })\n return [...keys, '__actions'];\n }\n}\n\n@Directive({ standalone: true })\nexport class SmartIndexTemplateStore<T> {\n @Input()\n gridToolbarActions: Action[] = [];\n\n @Input()\n tableChildrenKey: string = '';\n\n @Input()\n form = inject(SmartIndexTemplateFormBuilder).build();\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n itemActions: Actions = [];\n\n @Input()\n navStartActions: Actions = [{ id: ActionId.BACK, icon: 'arrow_back' }];\n\n @Input()\n navEndActions: Actions = [];\n\n @Input() groupedBy: keyof T;\n @Input() groupKeys: string[];\n\n @Input()\n columns: (keyof T | Actions)[];\n\n /**\n * @deprecated use columns instead.\n */\n @Input('properties')\n set properties(value: (keyof T)[]) {\n console.warn('properties is deprecated. use columns instead.')\n this.columns = value;\n }\n\n @Input()\n selection: SelectionModel<string> = new SelectionModel();\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 @Input({transform: (value: any) => signalize(value)})\n type = injectUiConfig(['templates', 'index', 'type']);\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n}\n\n@Pipe({standalone: true, name: 'count', pure: true})\nexport class SmartIndexCountPipe implements PipeTransform {\n store = inject(SmartIndexTemplateStore);\n\n transform(items: any[]) {\n this.store.form.get(['page']).patchValue({length: items.length});\n return items;\n }\n}\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n AutoLayoutFrame,\n ScrollFrame,\n DividerFrame,\n GridToolbarOrganism,\n PaginatorOrganism,\n SmartTableOrganism,\n SmartListOrganism,\n SelectionListOrganism,\n NavigatorOrganism,\n FiltersSectionOrganism,\n HeaderMolecule,\n PagePipe,\n QueryPipe,\n SmartIndexCountPipe,\n AutoColumnsPipe,\n ],\n providers: [\n QueryResolverService,\n ],\n selector: 'templates-smart-index',\n template: `\n <frames-scroll>\n <organisms-navigator\n [startActions]=\"store.navStartActions\"\n [endActions]=\"store.navEndActions\"\n (action)=\"dispatch($event)\"\n navigator\n >\n <molecules-header [title]=\"store.title\" [description]=\"store.description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents [ngSwitch]=\"store.type()\">\n <ng-container *ngSwitchCase=\"'list'\">\n <organisms-smart-list\n [items]=\"store.items\"\n [groupedBy]=\"groupedBy\"\n [groupKeys]=\"groupKeys\"\n (action)=\"dispatch($event)\"\n ></organisms-smart-list>\n <!-- <organisms-selection-list\n [items]=\"items\"\n (action)=\"dispatch($event)\"\n ></organisms-selection-list> -->\n </ng-container>\n <ng-container *ngSwitchDefault>\n <frames-divider>\n <ng-content first select=\"[dashboard]\"></ng-content>\n <div style=\"display: flex; flex-direction: column; width: 100%; height: 100%;\" second>\n <organisms-grid-toolbar\n *ngIf=\"store.gridToolbarActions || true\"\n [actions]=\"store.gridToolbarActions\"\n [control]=\"store.form.get(['query'])\"\n (action)=\"dispatch($event)\"\n ></organisms-grid-toolbar>\n <organisms-smart-table\n [items]=\"store.items \n | query: store.form.get(['query']).value \n | count \n | page: store.form.get(['page']).value\n \"\n [itemActions]=\"store.itemActions\"\n [columns]=\"store.columns ?? (store.items | autoColumns)\"\n [selection]=\"store.selection\"\n [form]=\"store.form.get(['sort'])\"\n [childrenKey]=\"store.tableChildrenKey\"\n (action)=\"dispatch($event)\"\n (checkboxClick)=\"onCheckboxClickItem($event)\"\n (headerClick)=\"dispatch({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"store.form.get(['page'])\"\n [form]=\"store.form.get(['page'])\"\n [pageSizeOptions]=\"store.pageSizeOptions\"\n [placeholder]=\"store.queryPlaceholder\"\n ></organisms-paginator>\n </div>\n </frames-divider>\n </ng-container>\n </frames-auto-layout>\n </frames-scroll>\n `,\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n hostDirectives: [\n {\n directive: SmartIndexTemplateStore,\n inputs: [\n 'gridToolbarActions', 'tableChildrenKey', 'form', 'title',\n 'description', 'items', 'itemActions', 'navStartActions',\n 'navEndActions', 'groupedBy', 'groupKeys', 'columns',\n 'selection', 'pageSizeOptions', 'queryPlaceholder', 'device',\n 'type'\n ],\n outputs: [],\n }\n ],\n})\nexport class SmartIndexTemplate<T> extends NgAtomicComponent {\n static ActionId = ActionId;\n protected ActionId = ActionId;\n protected store = inject(SmartIndexTemplateStore);\n\n onCheckboxClickItem(item: T) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n\n @Effect(SmartListOrganism.ActionId.CLICK_ITEM)\n onItemClicked(item: T) {\n this.dispatch({id: ActionId.ITEM_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BY,SAKX;AALD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,oDAA2D,CAAA;AAC3D,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,kEAAuF,CAAA;AACvF,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,0DAAuE,CAAA;AACvE,IAAA,QAAA,CAAA,gBAAA,CAAA,GAAA,0DAA2E,CAAA;AAC7E,CAAC,EALW,QAAQ,KAAR,QAAQ,GAKnB,EAAA,CAAA,CAAA,CAAA;AAGK,MAAO,6BAA8B,SAAQ,WAAW,CAAA;AAD9D,IAAA,WAAA,GAAA;;AAEE,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAA;AAYlC,KAAA;IAVC,KAAK,CAAC,EACJ,KAAK,GAAG,EAAE,EACV,IAAI,GAAG,EAAE,EAAA,GACsB,EAAE,EAAA;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC;AAChB,YAAA,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;AAC1B,YAAA,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;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AAE,KAAK,EAAE,UAAU,EAAE,EACX,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,uBAAuB;AAClC,4BAAA,MAAM,EAAE;AACN,gCAAA,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO;AACzD,gCAAA,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB;AACxD,gCAAA,eAAe,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS;AACpD,gCAAA,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,QAAQ;gCAC5D,MAAM;AACP,6BAAA;AACD,4BAAA,OAAO,EAAE,EAAE;AACZ,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,wTAAA,CAAA,EAAA,CAAA;8BAYD,aAAa,EAAA,EAAA,EAAA,EAAA,CAAA;;AC/Pf;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-templates-smart-index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/smart-index/smart-index.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, EventEmitter, Injectable, Input, NgModule, Output, Pipe, PipeTransform, inject } from '@angular/core';\nimport { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMolecule } from '@ng-atomic/components/molecules/header';\nimport { SmartTableOrganism } from '@ng-atomic/components/organisms/smart-table';\nimport { SmartListOrganism } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorOrganism } from '@ng-atomic/components/organisms/paginator';\nimport { Action, Actions } from '@ng-atomic/core';\nimport { FormBuilder } from '@angular/forms';\nimport { GridToolbarOrganism } from '@ng-atomic/components/organisms/grid-toolbar';\nimport { FiltersSectionOrganism } from '@ng-atomic/components/organisms/filters-section';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { SelectionListOrganism } from '@ng-atomic/components/organisms/selection-list';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/core';\nimport { SortService } from '@ng-atomic/common/services/form/sort';\nimport { PaginationService } from '@ng-atomic/common/services/form/pagination';\nimport { QueryPipe } from '@ng-atomic/common/pipes/query';\nimport { QueryResolverService } from '@ng-atomic/common/services/query-resolver';\nimport { flattenExcludeDayjs } from '@nx-ddd/core/util/walk-obj';\nimport { injectUiConfig } from '@ng-atomic/common/services/ui';\nimport { signalize } from '@ng-atomic/common/pipes/signal';\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 ITEM_CLICK = '[@ng-atomic/components/templates/smart-index] Item Click',\n CHECKBOX_CLICK = '[@ng-atomic/components/templates/smart-index] Check Item',\n}\n\n@Injectable({ providedIn: 'root' })\nexport class SmartIndexTemplateFormBuilder extends FormBuilder {\n sort = inject(SortService);\n query = inject(PaginationService)\n\n build({\n query = '',\n sort = {}\n }: {query?: string, sort?: {}} = {}) {\n return this.group({\n query: this.control(query),\n page: this.query.build(),\n sort: this.sort.build(),\n })\n }\n}\n\n@Pipe({name: 'page', standalone: true, pure: true})\nexport class PagePipe<T> implements PipeTransform {\n transform(items: T[], value): T[] {\n const start = value?.pageIndex * value?.pageSize;\n const end = start + value?.pageSize;\n return items.slice(start, end);\n }\n}\n\n@Pipe({name: 'autoColumns', standalone: true, pure: true})\nexport class AutoColumnsPipe<T> implements PipeTransform {\n transform(items: T[]): string[] {\n const keys = new Set<string>();\n items.slice(0, 1).forEach(item => {\n const obj = flattenExcludeDayjs(item);\n Object.keys(obj).forEach(key => keys.add(key));\n })\n return [...keys, '__actions'];\n }\n}\n\n@Directive({ standalone: true })\nexport class SmartIndexTemplateStore<T> {\n @Input()\n gridToolbarActions: Action[] = [];\n\n @Input()\n tableChildrenKey: string = '';\n\n @Input()\n form = inject(SmartIndexTemplateFormBuilder).build();\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n itemActions: Actions = [];\n\n @Input()\n navStartActions: Actions = [{ id: ActionId.BACK, icon: 'arrow_back' }];\n\n @Input()\n navEndActions: Actions = [];\n\n @Input() groupedBy: keyof T;\n @Input() groupKeys: string[];\n\n @Input()\n columns: (keyof T | Actions)[];\n\n /**\n * @deprecated use columns instead.\n */\n @Input('properties')\n set properties(value: (keyof T)[]) {\n console.warn('properties is deprecated. use columns instead.')\n this.columns = value;\n }\n\n @Input()\n selection: SelectionModel<string> = new SelectionModel();\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 @Input({transform: (value: any) => signalize(value)})\n type = injectUiConfig(['templates', 'index', 'type']);\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n}\n\n@Pipe({standalone: true, name: 'count', pure: true})\nexport class SmartIndexCountPipe implements PipeTransform {\n store = inject(SmartIndexTemplateStore);\n\n transform(items: any[]) {\n this.store.form.get(['page']).patchValue({length: items.length});\n return items;\n }\n}\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n AutoLayoutFrame,\n ScrollFrame,\n DividerFrame,\n GridToolbarOrganism,\n PaginatorOrganism,\n SmartTableOrganism,\n SmartListOrganism,\n SelectionListOrganism,\n NavigatorOrganism,\n FiltersSectionOrganism,\n HeaderMolecule,\n PagePipe,\n QueryPipe,\n SmartIndexCountPipe,\n AutoColumnsPipe,\n ],\n providers: [\n QueryResolverService,\n ],\n selector: 'templates-smart-index',\n template: `\n <frames-scroll>\n <organisms-navigator\n [startActions]=\"store.navStartActions\"\n [endActions]=\"store.navEndActions\"\n (action)=\"dispatch($event)\"\n navigator\n >\n <molecules-header [title]=\"store.title\" [description]=\"store.description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents [ngSwitch]=\"store.type()\">\n <ng-container *ngSwitchCase=\"'list'\">\n <organisms-smart-list\n [items]=\"store.items\"\n [groupedBy]=\"groupedBy\"\n [groupKeys]=\"groupKeys\"\n (action)=\"dispatch($event)\"\n ></organisms-smart-list>\n <!-- <organisms-selection-list\n [items]=\"items\"\n (action)=\"dispatch($event)\"\n ></organisms-selection-list> -->\n </ng-container>\n <ng-container *ngSwitchDefault>\n <frames-divider>\n <ng-content first select=\"[dashboard]\"></ng-content>\n <div style=\"display: flex; flex-direction: column; width: 100%; height: 100%;\" second>\n <organisms-grid-toolbar\n *ngIf=\"store.gridToolbarActions || true\"\n [actions]=\"store.gridToolbarActions\"\n [control]=\"store.form.get(['query'])\"\n (action)=\"dispatch($event)\"\n ></organisms-grid-toolbar>\n <organisms-smart-table\n [items]=\"store.items \n | query: store.form.get(['query']).value \n | count \n | page: store.form.get(['page']).value\n \"\n [itemActions]=\"store.itemActions\"\n [columns]=\"store.columns ?? (store.items | autoColumns)\"\n [selection]=\"store.selection\"\n [form]=\"store.form.get(['sort'])\"\n [childrenKey]=\"store.tableChildrenKey\"\n (action)=\"dispatch($event)\"\n (checkboxClick)=\"onCheckboxClickItem($event)\"\n (headerClick)=\"dispatch({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"store.form.get(['page'])\"\n [form]=\"store.form.get(['page'])\"\n [pageSizeOptions]=\"store.pageSizeOptions\"\n [placeholder]=\"store.queryPlaceholder\"\n ></organisms-paginator>\n </div>\n </frames-divider>\n </ng-container>\n </frames-auto-layout>\n </frames-scroll>\n `,\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n hostDirectives: [\n {\n directive: SmartIndexTemplateStore,\n inputs: [\n 'gridToolbarActions', 'tableChildrenKey', 'form', 'title',\n 'description', 'items', 'itemActions', 'navStartActions',\n 'navEndActions', 'groupedBy', 'groupKeys', 'columns',\n 'selection', 'pageSizeOptions', 'queryPlaceholder', 'device',\n 'type'\n ],\n outputs: [],\n }\n ],\n})\nexport class SmartIndexTemplate<T> extends NgAtomicComponent {\n static ActionId = ActionId;\n protected ActionId = ActionId;\n protected store = inject(SmartIndexTemplateStore);\n\n onCheckboxClickItem(item: T) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n\n @Effect(SmartListOrganism.ActionId.CLICK_ITEM)\n onItemClicked(item: T) {\n this.dispatch({id: ActionId.ITEM_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BY,SAKX;AALD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,oDAA2D,CAAA;AAC3D,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,kEAAuF,CAAA;AACvF,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,0DAAuE,CAAA;AACvE,IAAA,QAAA,CAAA,gBAAA,CAAA,GAAA,0DAA2E,CAAA;AAC7E,CAAC,EALW,QAAQ,KAAR,QAAQ,GAKnB,EAAA,CAAA,CAAA,CAAA;AAGK,MAAO,6BAA8B,SAAQ,WAAW,CAAA;AAD9D,IAAA,WAAA,GAAA;;AAEE,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAA;AAYlC,KAAA;IAVC,KAAK,CAAC,EACJ,KAAK,GAAG,EAAE,EACV,IAAI,GAAG,EAAE,EAAA,GACsB,EAAE,EAAA;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC,EAAE,KAAK,EAAE,UAAU,EAAE,EACX,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,uBAAuB;AAClC,4BAAA,MAAM,EAAE;AACN,gCAAA,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO;AACzD,gCAAA,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB;AACxD,gCAAA,eAAe,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS;AACpD,gCAAA,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,QAAQ;gCAC5D,MAAM;AACP,6BAAA;AACD,4BAAA,OAAO,EAAE,EAAE;AACZ,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,wTAAA,CAAA,EAAA,CAAA;8BAYD,aAAa,EAAA,EAAA,EAAA,EAAA,CAAA;;AC/Pf;;AAEG;;;;"}
@@ -4,7 +4,7 @@ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import { CodeEditorTemplate } from '@ng-atomic/components/templates/code-editor';
6
6
  import { ToolbarOrganism } from '@ng-atomic/components/organisms/toolbar';
7
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
7
+ import { NgAtomicComponent } from '@ng-atomic/core';
8
8
  import * as i2 from '@angular/material/tabs';
9
9
  import { MatTabsModule } from '@angular/material/tabs';
10
10
 
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-templates-tab-editor.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/tab-editor/tab-editor.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/tab-editor/ng-atomic-components-templates-tab-editor.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CodeEditorTemplate } from '@ng-atomic/components/templates/code-editor';\nimport { ToolbarOrganism } from '@ng-atomic/components/organisms/toolbar';\nimport { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';\nimport { MatTabsModule } from '@angular/material/tabs';\n\n@Component({\n selector: 'templates-tab-editor',\n standalone: true,\n imports: [\n CommonModule,\n ToolbarOrganism,\n CodeEditorTemplate,\n MatTabsModule,\n ],\n template: `\n <!-- <organisms-toolbar\n [form]=\"store.form\"\n [actions]=\"store.actions\"\n [endActions]=\"endActions\"\n (action)=\"dispatch($event)\"\n ></organisms-toolbar> -->\n <mat-tab-group #tabGroup>\n <mat-tab [label]=\"file.name\" *ngFor=\"let file of files;trackBy: trackByHash\" >\n <ng-container [ngSwitch]=\"file.type\">\n <templates-image-editor\n *ngSwitchCase=\"'image/png'\"\n [file]=\"file\"\n (action)=\"dispatch($event)\"\n ></templates-image-editor>\n <templates-code-editor\n *ngSwitchDefault\n [file]=\"file\"\n (action)=\"dispatch($event)\"\n ></templates-code-editor>\n </ng-container>\n </mat-tab>\n </mat-tab-group>\n `,\n styleUrls: ['./tab-editor.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TabEditorTemplate extends NgAtomicComponent {\n protected trackByHash = (file: File) => `${file.name}-${file.lastModified}`;\n\n @Input()\n files: File[] = [];\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AA2CM,MAAO,iBAAkB,SAAQ,iBAAiB,CAAA;AApCxD,IAAA,WAAA,GAAA;;AAqCY,QAAA,IAAA,CAAA,WAAW,GAAG,CAAC,IAAU,KAAK,CAAA,EAAG,IAAI,CAAC,IAAI,CAAI,CAAA,EAAA,IAAI,CAAC,YAAY,EAAE,CAAC;QAG5E,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAEpB,KAAA;+GANY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAA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A,EAClB,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,eAAA,EAAA,oBAAA,EAAA,kBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FA6BJ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBApC7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,eAAe;wBACf,kBAAkB;wBAClB,aAAa;qBACd,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,iLAAA,CAAA,EAAA,CAAA;8BAM/C,KAAK,EAAA,CAAA;sBADJ,KAAK;;;AC9CR;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-templates-tab-editor.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/tab-editor/tab-editor.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/tab-editor/ng-atomic-components-templates-tab-editor.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CodeEditorTemplate } from '@ng-atomic/components/templates/code-editor';\nimport { ToolbarOrganism } from '@ng-atomic/components/organisms/toolbar';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { MatTabsModule } from '@angular/material/tabs';\n\n@Component({\n selector: 'templates-tab-editor',\n standalone: true,\n imports: [\n CommonModule,\n ToolbarOrganism,\n CodeEditorTemplate,\n MatTabsModule,\n ],\n template: `\n <!-- <organisms-toolbar\n [form]=\"store.form\"\n [actions]=\"store.actions\"\n [endActions]=\"endActions\"\n (action)=\"dispatch($event)\"\n ></organisms-toolbar> -->\n <mat-tab-group #tabGroup>\n <mat-tab [label]=\"file.name\" *ngFor=\"let file of files;trackBy: trackByHash\" >\n <ng-container [ngSwitch]=\"file.type\">\n <templates-image-editor\n *ngSwitchCase=\"'image/png'\"\n [file]=\"file\"\n (action)=\"dispatch($event)\"\n ></templates-image-editor>\n <templates-code-editor\n *ngSwitchDefault\n [file]=\"file\"\n (action)=\"dispatch($event)\"\n ></templates-code-editor>\n </ng-container>\n </mat-tab>\n </mat-tab-group>\n `,\n styleUrls: ['./tab-editor.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TabEditorTemplate extends NgAtomicComponent {\n protected trackByHash = (file: File) => `${file.name}-${file.lastModified}`;\n\n @Input()\n files: File[] = [];\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AA2CM,MAAO,iBAAkB,SAAQ,iBAAiB,CAAA;AApCxD,IAAA,WAAA,GAAA;;AAqCY,QAAA,IAAA,CAAA,WAAW,GAAG,CAAC,IAAU,KAAK,CAAA,EAAG,IAAI,CAAC,IAAI,CAAI,CAAA,EAAA,IAAI,CAAC,YAAY,EAAE,CAAC;QAG5E,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAEpB,KAAA;+GANY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,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AA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,eAAA,EAAA,oBAAA,EAAA,kBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FA6BJ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBApC7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,eAAe;wBACf,kBAAkB;wBAClB,aAAa;qBACd,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,iLAAA,CAAA,EAAA,CAAA;8BAM/C,KAAK,EAAA,CAAA;sBADJ,KAAK;;;AC9CR;;AAEG;;;;"}
@@ -6,7 +6,7 @@ import * as i1 from 'ngx-markdown';
6
6
  import { MarkdownModule } from 'ngx-markdown';
7
7
  import { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';
8
8
  import { HeaderMolecule } from '@ng-atomic/components/molecules/header';
9
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
9
+ import { NgAtomicComponent } from '@ng-atomic/core';
10
10
 
11
11
  var ActionId;
12
12
  (function (ActionId) {
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-templates-term.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/term/term.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/term/ng-atomic-components-templates-term.ts"],"sourcesContent":["import { Component, Directive, EventEmitter, Input, Output, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { MarkdownModule } from 'ngx-markdown';\nimport { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';\nimport { HeaderMolecule } from '@ng-atomic/components/molecules/header';\nimport { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';\n\nenum ActionId {\n BACK = '[@ng-atomic/components/templates/term] Back',\n}\n\n@Directive({ standalone: true })\nexport class TermTemplateStore {\n readonly navStartActions = [\n {\n id: ActionId.BACK,\n name: '戻る',\n icon: 'arrow_back',\n },\n ];\n readonly navEndActions = [];\n}\n\n@Component({\n selector: 'templates-term',\n standalone: true,\n imports: [\n CommonModule,\n NavigatorOrganism,\n HeaderMolecule,\n MarkdownModule,\n ScrollFrame,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator \n [startActions]=\"store.navStartActions\"\n [endActions]=\"store.navEndActions\"\n (action)=\"dispatch($event)\"\n navigator\n >\n <molecules-header [title]=\"title\"></molecules-header>\n </organisms-navigator>\n <markdown [src]=\"src\" contents></markdown>\n </frames-scroll>\n `,\n styleUrls: ['./term.template.scss'],\n hostDirectives: [TermTemplateStore],\n})\nexport class TermTemplate extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n\n protected store = inject(TermTemplateStore);\n\n @Input()\n title!: string;\n\n @Input()\n src!: string;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA,IAAK,QAEJ,CAAA;AAFD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,6CAAoD,CAAA;AACtD,CAAC,EAFI,QAAQ,KAAR,QAAQ,GAEZ,EAAA,CAAA,CAAA,CAAA;MAGY,iBAAiB,CAAA;AAD9B,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,eAAe,GAAG;AACzB,YAAA;gBACE,EAAE,EAAE,QAAQ,CAAC,IAAI;AACjB,gBAAA,IAAI,EAAE,IAAI;AACV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A,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACjB,cAAc,EACd,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,weACd,WAAW,EAAA,QAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAkBF,YAAY,EAAA,UAAA,EAAA,CAAA;kBA1BxB,SAAS;+BACE,gBAAgB,EAAA,UAAA,EACd,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,cAAc;wBACd,cAAc;wBACd,WAAW;qBACZ,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;GAYT,EAEe,cAAA,EAAA,CAAC,iBAAiB,CAAC,EAAA,MAAA,EAAA,CAAA,kqBAAA,CAAA,EAAA,CAAA;8BAQnC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,GAAG,EAAA,CAAA;sBADF,KAAK;;;AC1DR;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-templates-term.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/term/term.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/term/ng-atomic-components-templates-term.ts"],"sourcesContent":["import { Component, Directive, EventEmitter, Input, Output, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { MarkdownModule } from 'ngx-markdown';\nimport { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';\nimport { HeaderMolecule } from '@ng-atomic/components/molecules/header';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\nenum ActionId {\n BACK = '[@ng-atomic/components/templates/term] Back',\n}\n\n@Directive({ standalone: true })\nexport class TermTemplateStore {\n readonly navStartActions = [\n {\n id: ActionId.BACK,\n name: '戻る',\n icon: 'arrow_back',\n },\n ];\n readonly navEndActions = [];\n}\n\n@Component({\n selector: 'templates-term',\n standalone: true,\n imports: [\n CommonModule,\n NavigatorOrganism,\n HeaderMolecule,\n MarkdownModule,\n ScrollFrame,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator \n [startActions]=\"store.navStartActions\"\n [endActions]=\"store.navEndActions\"\n (action)=\"dispatch($event)\"\n navigator\n >\n <molecules-header [title]=\"title\"></molecules-header>\n </organisms-navigator>\n <markdown [src]=\"src\" contents></markdown>\n </frames-scroll>\n `,\n styleUrls: ['./term.template.scss'],\n hostDirectives: [TermTemplateStore],\n})\nexport class TermTemplate extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n\n protected store = inject(TermTemplateStore);\n\n @Input()\n title!: string;\n\n @Input()\n src!: string;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA,IAAK,QAEJ,CAAA;AAFD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,6CAAoD,CAAA;AACtD,CAAC,EAFI,QAAQ,KAAR,QAAQ,GAEZ,EAAA,CAAA,CAAA,CAAA;MAGY,iBAAiB,CAAA;AAD9B,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,eAAe,GAAG;AACzB,YAAA;gBACE,EAAE,EAAE,QAAQ,CAAC,IAAI;AACjB,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,IAAI,EAAE,YAAY;AACnB,aAAA;SACF,CAAC;QACO,IAAa,CAAA,aAAA,GAAG,EAAE,CAAC;AAC7B,KAAA;+GATY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,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A,UAAA,EACd,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,cAAc;wBACd,cAAc;wBACd,WAAW;qBACZ,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;GAYT,EAEe,cAAA,EAAA,CAAC,iBAAiB,CAAC,EAAA,MAAA,EAAA,CAAA,kqBAAA,CAAA,EAAA,CAAA;8BAQnC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,GAAG,EAAA,CAAA;sBADF,KAAK;;;AC1DR;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop';
3
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  declare enum ActionId {
6
6
  DRAG_STARTED = "[@ng-atomic/divider] drag start",
@@ -1,6 +1,6 @@
1
- import { Action } from '@ng-atomic/common/models';
1
+ import { Action } from '@ng-atomic/core';
2
2
  import { FabService } from './fab.service';
3
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class FabFrame extends NgAtomicComponent {
6
6
  protected fab: FabService;
@@ -1,4 +1,4 @@
1
- import { Action } from '@ng-atomic/common/models';
1
+ import { Action } from '@ng-atomic/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FabService {
4
4
  private actionMap;
@@ -1,7 +1,7 @@
1
1
  import { InjectionToken, Signal } from '@angular/core';
2
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
- import { Action } from '@ng-atomic/common/models';
4
- import { InjectableComponent } from '@ng-atomic/common/core';
2
+ import { NgAtomicComponent } from '@ng-atomic/core';
3
+ import { Action } from '@ng-atomic/core';
4
+ import { InjectableComponent } from '@ng-atomic/core';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SideNavFrameStore extends InjectableComponent {
7
7
  static TOKEN: InjectionToken<unknown>;
@@ -1,7 +1,7 @@
1
1
  import { FormControl } from '@angular/forms';
2
2
  import { MatInput } from '@angular/material/input';
3
- import { Action } from '@ng-atomic/common/models';
4
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
+ import { Action } from '@ng-atomic/core';
4
+ import { NgAtomicComponent } from '@ng-atomic/core';
5
5
  import { MatFormField } from '@angular/material/form-field';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ActionInputFieldMolecule extends NgAtomicComponent {
@@ -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, Actions } from '@ng-atomic/common/models';
3
+ import { Action, Actions } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ActionsColumnMolecule<T> {
6
6
  private _table;
@@ -1,6 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  declare enum ActionId {
6
6
  FILE_SELECT_BUTTON_CLICK = "[@ng-atomic/components/molecules/file-input-field] File select button click",
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { InjectableComponent } from '@ng-atomic/common/core';
3
- import { Action } from '@ng-atomic/common/models';
2
+ import { InjectableComponent } from '@ng-atomic/core';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class NavigationListItemMoleculeStore extends InjectableComponent {
6
6
  static TOKEN: InjectionToken<unknown>;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NestedMenuMolecule {
5
5
  actions: Action[];
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
- import { Action } from '@ng-atomic/common/models';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare enum ActionId {
6
6
  CTRL_ENTER_KEY_UP = "Ctrl Enter Key Up"
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ActionButtonsSectionOrganism {
5
5
  actions: Action[];
@@ -1,6 +1,6 @@
1
1
  import { FormControl } from '@angular/forms';
2
- import { Action } from '@ng-atomic/common/models';
3
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
2
+ import { Action } from '@ng-atomic/core';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ActionInputSectionOrganism extends NgAtomicComponent {
6
6
  control: FormControl<string | number>;
@@ -1,4 +1,4 @@
1
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
1
+ import { NgAtomicComponent } from '@ng-atomic/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  declare enum ActionId {
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { EditorState } from '@codemirror/state';
3
3
  import { FormControl } from '@angular/forms';
4
- import { Action } from '@ng-atomic/common/models';
5
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
4
+ import { Action } from '@ng-atomic/core';
5
+ import { NgAtomicComponent } from '@ng-atomic/core';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class GraphqlExtractor {
8
8
  extract(output: string): string;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/core';
3
3
  import { FormControl } from '@angular/forms';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare enum ActionId {
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/common/core';
2
+ import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MenuFooterOrganismStore extends InjectableComponent {
5
5
  static TOKEN: InjectionToken<MenuFooterOrganismStore>;
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/common/core';
2
+ import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MenuHeaderOrganismStore extends InjectableComponent {
5
5
  static readonly TOKEN: InjectionToken<unknown>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
- import { Action } from '@ng-atomic/common/models';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare enum ActionId {
6
6
  SEND = "send"
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/common/core';
3
- import { Action } from '@ng-atomic/common/models';
2
+ import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class NavigationListOrganismStore extends InjectableComponent {
6
6
  static readonly TOKEN: InjectionToken<unknown>;
@@ -1,5 +1,5 @@
1
- import { Actions } from '@ng-atomic/common/models';
2
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
1
+ import { Actions } from '@ng-atomic/core';
2
+ import { NgAtomicComponent } from '@ng-atomic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NavigatorOrganism extends NgAtomicComponent {
5
5
  startActions: Actions;
@@ -1,7 +1,7 @@
1
1
  import { MatSelectionList } from '@angular/material/list';
2
2
  import { SelectionModel } from '@angular/cdk/collections';
3
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
4
- import { Action } from '@ng-atomic/common/models/action';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
+ import { Action } from '@ng-atomic/core';
5
5
  import * as i0 from "@angular/core";
6
6
  declare enum ActionId {
7
7
  TOGGLE_OPTION = "[@ng-atomic/components/organisms/selection-list] Toggle Option"
@@ -1,4 +1,4 @@
1
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
1
+ import { NgAtomicComponent } from '@ng-atomic/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare enum ActionId {
4
4
  CLICK_ITEM = "[@ng-atomic/components/organisms/smart-list] Click Item"
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, PipeTransform } from '@angular/core';
2
- import { Actions, Action } from '@ng-atomic/common/models';
2
+ import { Actions, Action } from '@ng-atomic/core';
3
3
  import { FlatTreeControl } from '@angular/cdk/tree';
4
4
  import { MatTreeFlatDataSource } from '@angular/material/tree';
5
5
  import { DataSource, SelectionModel } from '@angular/cdk/collections';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
- import { Action } from '@ng-atomic/common/models';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TextareaSectionOrganism {
6
6
  label: string;
@@ -1,6 +1,6 @@
1
1
  import { FormGroup } from '@angular/forms';
2
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
- import { Action } from '@ng-atomic/common/models';
2
+ import { NgAtomicComponent } from '@ng-atomic/core';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  declare enum ActionId {
6
6
  }
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
3
3
  import { FlatTreeControl } from '@angular/cdk/tree';
4
4
  import { SelectionModel } from '@angular/cdk/collections';
5
- import { Action } from '@ng-atomic/common/models';
5
+ import { Action } from '@ng-atomic/core';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class Node {
8
8
  children: Node[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-atomic/components",
3
- "version": "6.0.4",
3
+ "version": "15.1.0",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "16.2.12",
@@ -17,8 +17,8 @@
17
17
  "@codemirror/state": "^6.0.0",
18
18
  "@codemirror/theme-one-dark": "^6.0.0",
19
19
  "@codemirror/view": "^6.0.0",
20
- "@ng-atomic/common": "6.0.4",
21
- "@nx-ddd/core": "6.0.4",
20
+ "@ng-atomic/common": "15.1.0",
21
+ "@nx-ddd/core": "15.1.0",
22
22
  "@webcontainer/api": "^1.1.7",
23
23
  "cm6-graphql": "^0.0.4",
24
24
  "codemirror": "^6.0.1",
@@ -1,5 +1,5 @@
1
1
  import { EditorState } from '@codemirror/state';
2
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
2
+ import { NgAtomicComponent } from '@ng-atomic/core';
3
3
  import { ReplaySubject } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  declare enum ActionId {
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Action } from '@ng-atomic/common/models';
2
+ import { Action } from '@ng-atomic/core';
3
3
  import { FormGroup, FormControl } from '@angular/forms';
4
4
  import * as i0 from "@angular/core";
5
5
  declare enum ActionId {
@@ -1,6 +1,6 @@
1
1
  import { NestedTreeControl } from '@angular/cdk/tree';
2
2
  import { MatTreeNestedDataSource } from '@angular/material/tree';
3
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export interface TreeNode {
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { Action } from '@ng-atomic/common/models';
3
- import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/common/core';
2
+ import { Action } from '@ng-atomic/core';
3
+ import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class IconButtonMenuTemplateStore extends InjectableComponent {
6
6
  static TOKEN: InjectionToken<unknown>;
@@ -1,7 +1,7 @@
1
1
  import { InjectionToken, Type } from '@angular/core';
2
- import { Action } from '@ng-atomic/common/models';
3
- import { InjectableComponent } from '@ng-atomic/common/core';
4
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
2
+ import { Action } from '@ng-atomic/core';
3
+ import { InjectableComponent } from '@ng-atomic/core';
4
+ import { NgAtomicComponent } from '@ng-atomic/core';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class MenuTemplateStore extends InjectableComponent {
7
7
  static readonly TOKEN: InjectionToken<Type<MenuTemplateStore>>;
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { FormControl } from '@angular/forms';
4
- import { Action } from '@ng-atomic/common/models';
4
+ import { Action } from '@ng-atomic/core';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class MessagesTemplate {
7
7
  navStartActions: Action[];
@@ -1,5 +1,5 @@
1
- import { Action } from '@ng-atomic/common/models';
2
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
1
+ import { Action } from '@ng-atomic/core';
2
+ import { NgAtomicComponent } from '@ng-atomic/core';
3
3
  import { SelectionModel } from '@angular/cdk/collections';
4
4
  import * as i0 from "@angular/core";
5
5
  declare enum ActionId {
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
- import { Action } from '@ng-atomic/common/models';
3
+ import { Action } from '@ng-atomic/core';
4
4
  import { FormGroup } from '@angular/forms';
5
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
5
+ import { NgAtomicComponent } from '@ng-atomic/core';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare enum ActionId {
8
8
  BACK = "[@ng-atomic/components/templates/smart-crud] Back",
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter, PipeTransform } from '@angular/core';
2
2
  import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';
3
- import { Action, Actions } from '@ng-atomic/common/models';
3
+ import { Action, Actions } from '@ng-atomic/core';
4
4
  import { FormBuilder } from '@angular/forms';
5
5
  import { SelectionModel } from '@angular/cdk/collections';
6
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
6
+ import { NgAtomicComponent } from '@ng-atomic/core';
7
7
  import { SortService } from '@ng-atomic/common/services/form/sort';
8
8
  import { PaginationService } from '@ng-atomic/common/services/form/pagination';
9
9
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
1
+ import { NgAtomicComponent } from '@ng-atomic/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TabEditorTemplate extends NgAtomicComponent {
4
4
  protected trackByHash: (file: File) => string;
@@ -1,4 +1,4 @@
1
- import { NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
1
+ import { NgAtomicComponent } from '@ng-atomic/core';
2
2
  import * as i0 from "@angular/core";
3
3
  declare enum ActionId {
4
4
  BACK = "[@ng-atomic/components/templates/term] Back"