@simplysm/angular 14.0.8 → 14.0.10

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 (272) hide show
  1. package/README.md +234 -246
  2. package/dist/core/commons.d.ts.map +1 -1
  3. package/dist/core/directives/sd-events.directive.d.ts.map +1 -1
  4. package/dist/core/directives/sd-invalid.directive.d.ts.map +1 -1
  5. package/dist/core/directives/sd-item-of-template.directive.d.ts.map +1 -1
  6. package/dist/core/directives/sd-ripple.directive.d.ts.map +1 -1
  7. package/dist/core/directives/sd-router-link.directive.d.ts.map +1 -1
  8. package/dist/core/directives/sd-show-effect.directive.d.ts.map +1 -1
  9. package/dist/core/directives/sd-typed-template.directive.d.ts.map +1 -1
  10. package/dist/core/pipes/format.pipe.d.ts.map +1 -1
  11. package/dist/core/plugins/commands/findTopOpenModalEl.d.ts.map +1 -1
  12. package/dist/core/plugins/commands/sd-insert-command-event.plugin.d.ts.map +1 -1
  13. package/dist/core/plugins/commands/sd-refresh-command-event.plugin.d.ts.map +1 -1
  14. package/dist/core/plugins/commands/sd-save-command-event.plugin.d.ts.map +1 -1
  15. package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts.map +1 -1
  16. package/dist/core/plugins/events/sd-option-event.plugin.d.ts.map +1 -1
  17. package/dist/core/plugins/events/sd-resize-event.plugin.d.ts.map +1 -1
  18. package/dist/core/plugins/sd-global-error-handler.plugin.d.ts.map +1 -1
  19. package/dist/core/provideSdAngular.d.ts.map +1 -1
  20. package/dist/core/providers/sd-angular-config.provider.d.ts.map +1 -1
  21. package/dist/core/providers/sd-app-structure.provider.d.ts.map +1 -1
  22. package/dist/core/providers/sd-file-dialog.provider.d.ts.map +1 -1
  23. package/dist/core/providers/sd-local-storage.provider.d.ts.map +1 -1
  24. package/dist/core/providers/sd-navigate-window.provider.d.ts.map +1 -1
  25. package/dist/core/providers/sd-print.provider.d.ts +7 -2
  26. package/dist/core/providers/sd-print.provider.d.ts.map +1 -1
  27. package/dist/core/providers/sd-service-client-factory.provider.d.ts.map +1 -1
  28. package/dist/core/providers/sd-shared-data.provider.d.ts +3 -0
  29. package/dist/core/providers/sd-shared-data.provider.d.ts.map +1 -1
  30. package/dist/core/providers/sd-system-config.provider.d.ts.map +1 -1
  31. package/dist/core/providers/sd-system-log.provider.d.ts.map +1 -1
  32. package/dist/core/providers/sd-theme-provider.d.ts.map +1 -1
  33. package/dist/core/utils/TDirectiveInputSignals.d.ts +4 -0
  34. package/dist/core/utils/TDirectiveInputSignals.d.ts.map +1 -1
  35. package/dist/core/utils/injectParent.d.ts.map +1 -1
  36. package/dist/core/utils/setSafeStyle.d.ts.map +1 -1
  37. package/dist/core/utils/setups/setupBgTheme.d.ts.map +1 -1
  38. package/dist/core/utils/setups/setupCanDeactivate.d.ts.map +1 -1
  39. package/dist/core/utils/setups/setupCloserWhenSingleSelectionChange.d.ts +9 -0
  40. package/dist/core/utils/setups/setupCloserWhenSingleSelectionChange.d.ts.map +1 -0
  41. package/dist/core/utils/setups/setupCloserWhenSingleSelectionChange.js +20 -0
  42. package/dist/core/utils/setups/setupCumulateSelectedKeys.d.ts +9 -0
  43. package/dist/core/utils/setups/setupCumulateSelectedKeys.d.ts.map +1 -0
  44. package/dist/core/utils/setups/setupCumulateSelectedKeys.js +27 -0
  45. package/dist/core/utils/setups/setupInvalid.d.ts.map +1 -1
  46. package/dist/core/utils/setups/setupModelHook.d.ts.map +1 -1
  47. package/dist/core/utils/setups/setupRevealOnShow.d.ts.map +1 -1
  48. package/dist/core/utils/setups/setupRipple.d.ts.map +1 -1
  49. package/dist/core/utils/useCurrentPageCodeSignal.d.ts.map +1 -1
  50. package/dist/core/utils/useExpandingManager.d.ts.map +1 -1
  51. package/dist/core/utils/useFullPageCodeSignal.d.ts.map +1 -1
  52. package/dist/core/utils/useSdSystemConfigResource.d.ts.map +1 -1
  53. package/dist/core/utils/useSelectionManager.d.ts.map +1 -1
  54. package/dist/core/utils/useSortingManager.d.ts.map +1 -1
  55. package/dist/core/utils/useViewTitleSignal.d.ts.map +1 -1
  56. package/dist/core/utils/useViewTypeSignal.d.ts.map +1 -1
  57. package/dist/features/address/sd-address-search.modal.d.ts +19 -0
  58. package/dist/features/address/sd-address-search.modal.d.ts.map +1 -0
  59. package/dist/features/address/sd-address-search.modal.js +88 -0
  60. package/dist/features/base/sd-base-container.control.d.ts.map +1 -1
  61. package/dist/features/base/sd-base-container.control.js +1 -1
  62. package/dist/features/data-view/sd-data-detail.control.d.ts +70 -0
  63. package/dist/features/data-view/sd-data-detail.control.d.ts.map +1 -0
  64. package/dist/features/data-view/sd-data-detail.control.js +606 -0
  65. package/dist/features/data-view/sd-data-select-button.control.d.ts +35 -0
  66. package/dist/features/data-view/sd-data-select-button.control.d.ts.map +1 -0
  67. package/dist/features/data-view/sd-data-select-button.control.js +219 -0
  68. package/dist/features/data-view/sd-data-sheet-column.directive.d.ts +8 -0
  69. package/dist/features/data-view/sd-data-sheet-column.directive.d.ts.map +1 -0
  70. package/dist/features/data-view/sd-data-sheet-column.directive.js +15 -0
  71. package/dist/features/data-view/sd-data-sheet.control.d.ts +131 -0
  72. package/dist/features/data-view/sd-data-sheet.control.d.ts.map +1 -0
  73. package/dist/features/data-view/sd-data-sheet.control.js +1152 -0
  74. package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts +16 -0
  75. package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts.map +1 -0
  76. package/dist/features/shared-data/sd-shared-data-select-button.control.js +66 -0
  77. package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts +33 -0
  78. package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts.map +1 -0
  79. package/dist/features/shared-data/sd-shared-data-select-list.control.js +346 -0
  80. package/dist/features/shared-data/sd-shared-data-select.control.d.ts +50 -0
  81. package/dist/features/shared-data/sd-shared-data-select.control.d.ts.map +1 -0
  82. package/dist/features/shared-data/sd-shared-data-select.control.js +425 -0
  83. package/dist/index.d.ts +11 -1
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js +12 -0
  86. package/dist/ui/data/list/sd-list-item.control.d.ts +3 -1
  87. package/dist/ui/data/list/sd-list-item.control.d.ts.map +1 -1
  88. package/dist/ui/data/list/sd-list-item.control.js +8 -4
  89. package/dist/ui/data/list/sd-list.control.d.ts.map +1 -1
  90. package/dist/ui/data/list/sd-list.control.js +1 -1
  91. package/dist/ui/data/sheet/sd-sheet-column.directive.d.ts +8 -1
  92. package/dist/ui/data/sheet/sd-sheet-column.directive.d.ts.map +1 -1
  93. package/dist/ui/data/sheet/sd-sheet-config.modal.d.ts.map +1 -1
  94. package/dist/ui/data/sheet/sd-sheet-config.modal.js +1 -1
  95. package/dist/ui/data/sheet/sd-sheet.control.d.ts +4 -4
  96. package/dist/ui/data/sheet/sd-sheet.control.d.ts.map +1 -1
  97. package/dist/ui/data/sheet/sd-sheet.control.js +3 -4
  98. package/dist/ui/data/sheet/types.d.ts.map +1 -1
  99. package/dist/ui/data/sheet/useSheetCellAgent.d.ts.map +1 -1
  100. package/dist/ui/data/sheet/useSheetColumnFixing.d.ts.map +1 -1
  101. package/dist/ui/data/sheet/useSheetDomAccessor.d.ts.map +1 -1
  102. package/dist/ui/data/sheet/useSheetLayoutEngine.d.ts.map +1 -1
  103. package/dist/ui/form/button/sd-additional-button.control.d.ts.map +1 -1
  104. package/dist/ui/form/button/sd-additional-button.control.js +1 -1
  105. package/dist/ui/form/button/sd-anchor.control.d.ts.map +1 -1
  106. package/dist/ui/form/button/sd-anchor.control.js +1 -1
  107. package/dist/ui/form/button/sd-button.control.d.ts.map +1 -1
  108. package/dist/ui/form/button/sd-button.control.js +1 -1
  109. package/dist/ui/form/button/sd-modal-select-button.control.d.ts +16 -18
  110. package/dist/ui/form/button/sd-modal-select-button.control.d.ts.map +1 -1
  111. package/dist/ui/form/button/sd-modal-select-button.control.js +22 -39
  112. package/dist/ui/form/checkbox/sd-checkbox-group-item.control.d.ts.map +1 -1
  113. package/dist/ui/form/checkbox/sd-checkbox-group-item.control.js +1 -1
  114. package/dist/ui/form/checkbox/sd-checkbox-group.control.d.ts.map +1 -1
  115. package/dist/ui/form/checkbox/sd-checkbox-group.control.js +1 -1
  116. package/dist/ui/form/checkbox/sd-checkbox.control.d.ts.map +1 -1
  117. package/dist/ui/form/checkbox/sd-checkbox.control.js +1 -1
  118. package/dist/ui/form/checkbox/sd-switch.control.d.ts.map +1 -1
  119. package/dist/ui/form/checkbox/sd-switch.control.js +1 -1
  120. package/dist/ui/form/choice/sd-state-preset.control.d.ts.map +1 -1
  121. package/dist/ui/form/choice/sd-state-preset.control.js +1 -1
  122. package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts +18 -1
  123. package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts.map +1 -1
  124. package/dist/ui/form/editor/sd-tiptap-editor.control.js +18 -2
  125. package/dist/ui/form/input/sd-date-range.picker.d.ts.map +1 -1
  126. package/dist/ui/form/input/sd-date-range.picker.js +1 -1
  127. package/dist/ui/form/input/sd-numpad.control.d.ts.map +1 -1
  128. package/dist/ui/form/input/sd-numpad.control.js +1 -1
  129. package/dist/ui/form/input/sd-range.control.d.ts.map +1 -1
  130. package/dist/ui/form/input/sd-range.control.js +1 -1
  131. package/dist/ui/form/input/sd-textarea.control.d.ts.map +1 -1
  132. package/dist/ui/form/input/sd-textarea.control.js +1 -1
  133. package/dist/ui/form/input/sd-textfield-type-handlers.d.ts.map +1 -1
  134. package/dist/ui/form/input/sd-textfield.control.d.ts.map +1 -1
  135. package/dist/ui/form/input/sd-textfield.control.js +1 -1
  136. package/dist/ui/form/sd-form.control.d.ts.map +1 -1
  137. package/dist/ui/form/sd-form.control.js +1 -1
  138. package/dist/ui/form/select/sd-select-button.control.d.ts.map +1 -1
  139. package/dist/ui/form/select/sd-select-button.control.js +1 -1
  140. package/dist/ui/form/select/sd-select-item.control.d.ts +1 -1
  141. package/dist/ui/form/select/sd-select-item.control.d.ts.map +1 -1
  142. package/dist/ui/form/select/sd-select-item.control.js +1 -1
  143. package/dist/ui/form/select/sd-select.control.d.ts +9 -6
  144. package/dist/ui/form/select/sd-select.control.d.ts.map +1 -1
  145. package/dist/ui/form/select/sd-select.control.js +1 -1
  146. package/dist/ui/layout/dock/sd-dock-container.control.d.ts.map +1 -1
  147. package/dist/ui/layout/dock/sd-dock-container.control.js +1 -1
  148. package/dist/ui/layout/dock/sd-dock.control.d.ts.map +1 -1
  149. package/dist/ui/layout/dock/sd-dock.control.js +1 -1
  150. package/dist/ui/layout/kanban/sd-kanban-board.control.d.ts.map +1 -1
  151. package/dist/ui/layout/kanban/sd-kanban-board.control.js +1 -1
  152. package/dist/ui/layout/kanban/sd-kanban-lane.control.d.ts.map +1 -1
  153. package/dist/ui/layout/kanban/sd-kanban-lane.control.js +1 -1
  154. package/dist/ui/layout/kanban/sd-kanban.control.d.ts.map +1 -1
  155. package/dist/ui/layout/kanban/sd-kanban.control.js +1 -1
  156. package/dist/ui/layout/sd-card.directive.d.ts.map +1 -1
  157. package/dist/ui/layout/sd-gap.control.d.ts.map +1 -1
  158. package/dist/ui/layout/sd-gap.control.js +1 -1
  159. package/dist/ui/layout/sd-pane.directive.d.ts.map +1 -1
  160. package/dist/ui/layout/view/sd-view-item.control.d.ts.map +1 -1
  161. package/dist/ui/layout/view/sd-view-item.control.js +1 -1
  162. package/dist/ui/layout/view/sd-view.control.d.ts.map +1 -1
  163. package/dist/ui/layout/view/sd-view.control.js +1 -1
  164. package/dist/ui/navigation/collapse/sd-collapse-icon.control.d.ts.map +1 -1
  165. package/dist/ui/navigation/collapse/sd-collapse-icon.control.js +1 -1
  166. package/dist/ui/navigation/collapse/sd-collapse.control.d.ts.map +1 -1
  167. package/dist/ui/navigation/collapse/sd-collapse.control.js +1 -1
  168. package/dist/ui/navigation/menu-utils.d.ts.map +1 -1
  169. package/dist/ui/navigation/pagination/sd-pagination.control.d.ts.map +1 -1
  170. package/dist/ui/navigation/pagination/sd-pagination.control.js +1 -1
  171. package/dist/ui/navigation/sidebar/sd-sidebar-container.control.d.ts.map +1 -1
  172. package/dist/ui/navigation/sidebar/sd-sidebar-container.control.js +1 -1
  173. package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts.map +1 -1
  174. package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.js +1 -1
  175. package/dist/ui/navigation/sidebar/sd-sidebar-user.control.d.ts.map +1 -1
  176. package/dist/ui/navigation/sidebar/sd-sidebar-user.control.js +1 -1
  177. package/dist/ui/navigation/sidebar/sd-sidebar.control.d.ts.map +1 -1
  178. package/dist/ui/navigation/sidebar/sd-sidebar.control.js +1 -1
  179. package/dist/ui/navigation/tab/sd-tab-item.control.d.ts.map +1 -1
  180. package/dist/ui/navigation/tab/sd-tab-item.control.js +1 -1
  181. package/dist/ui/navigation/tab/sd-tab.control.d.ts.map +1 -1
  182. package/dist/ui/navigation/tab/sd-tab.control.js +1 -1
  183. package/dist/ui/navigation/tab/sd-tabview-item.control.d.ts.map +1 -1
  184. package/dist/ui/navigation/tab/sd-tabview-item.control.js +1 -1
  185. package/dist/ui/navigation/tab/sd-tabview.control.d.ts.map +1 -1
  186. package/dist/ui/navigation/tab/sd-tabview.control.js +1 -1
  187. package/dist/ui/navigation/topbar/sd-topbar-container.control.d.ts.map +1 -1
  188. package/dist/ui/navigation/topbar/sd-topbar-container.control.js +1 -1
  189. package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts.map +1 -1
  190. package/dist/ui/navigation/topbar/sd-topbar-menu.control.js +1 -1
  191. package/dist/ui/navigation/topbar/sd-topbar-user.control.d.ts.map +1 -1
  192. package/dist/ui/navigation/topbar/sd-topbar-user.control.js +1 -1
  193. package/dist/ui/navigation/topbar/sd-topbar.control.d.ts.map +1 -1
  194. package/dist/ui/navigation/topbar/sd-topbar.control.js +1 -1
  195. package/dist/ui/overlay/busy/sd-busy-container.control.d.ts.map +1 -1
  196. package/dist/ui/overlay/busy/sd-busy-container.control.js +1 -1
  197. package/dist/ui/overlay/busy/sd-busy.provider.d.ts.map +1 -1
  198. package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts.map +1 -1
  199. package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.js +1 -1
  200. package/dist/ui/overlay/dropdown/sd-dropdown.control.d.ts.map +1 -1
  201. package/dist/ui/overlay/dropdown/sd-dropdown.control.js +1 -1
  202. package/dist/ui/overlay/modal/sd-confirm-modal.control.d.ts.map +1 -1
  203. package/dist/ui/overlay/modal/sd-confirm-modal.control.js +1 -1
  204. package/dist/ui/overlay/modal/sd-modal.control.d.ts.map +1 -1
  205. package/dist/ui/overlay/modal/sd-modal.control.js +1 -1
  206. package/dist/ui/overlay/modal/sd-modal.provider.d.ts +9 -3
  207. package/dist/ui/overlay/modal/sd-modal.provider.d.ts.map +1 -1
  208. package/dist/ui/overlay/modal/sd-prompt-modal.control.d.ts.map +1 -1
  209. package/dist/ui/overlay/modal/sd-prompt-modal.control.js +1 -1
  210. package/dist/ui/overlay/toast/sd-toast-container.control.d.ts.map +1 -1
  211. package/dist/ui/overlay/toast/sd-toast-container.control.js +1 -1
  212. package/dist/ui/overlay/toast/sd-toast.control.d.ts.map +1 -1
  213. package/dist/ui/overlay/toast/sd-toast.control.js +1 -1
  214. package/dist/ui/overlay/toast/sd-toast.provider.d.ts.map +1 -1
  215. package/dist/ui/visual/sd-barcode.control.d.ts.map +1 -1
  216. package/dist/ui/visual/sd-barcode.control.js +1 -1
  217. package/dist/ui/visual/sd-calendar.control.d.ts.map +1 -1
  218. package/dist/ui/visual/sd-calendar.control.js +1 -1
  219. package/dist/ui/visual/sd-echarts.control.d.ts.map +1 -1
  220. package/dist/ui/visual/sd-echarts.control.js +1 -1
  221. package/dist/ui/visual/sd-label.control.d.ts.map +1 -1
  222. package/dist/ui/visual/sd-label.control.js +1 -1
  223. package/dist/ui/visual/sd-note.control.d.ts.map +1 -1
  224. package/dist/ui/visual/sd-note.control.js +1 -1
  225. package/dist/ui/visual/sd-progress.control.d.ts.map +1 -1
  226. package/dist/ui/visual/sd-progress.control.js +1 -1
  227. package/docs/core.md +877 -0
  228. package/docs/features.md +377 -0
  229. package/docs/styling.md +309 -0
  230. package/docs/ui-data.md +233 -0
  231. package/docs/ui-form.md +421 -0
  232. package/docs/ui-layout.md +216 -0
  233. package/docs/ui-navigation.md +279 -0
  234. package/docs/ui-overlay.md +330 -0
  235. package/docs/ui-visual.md +131 -0
  236. package/package.json +5 -5
  237. package/src/core/providers/sd-print.provider.ts +10 -2
  238. package/src/core/providers/sd-shared-data.provider.ts +3 -0
  239. package/src/core/utils/TDirectiveInputSignals.ts +5 -0
  240. package/src/core/utils/setups/setupCloserWhenSingleSelectionChange.ts +29 -0
  241. package/src/core/utils/setups/setupCumulateSelectedKeys.ts +38 -0
  242. package/src/features/address/sd-address-search.modal.ts +119 -0
  243. package/src/features/data-view/sd-data-detail.control.ts +394 -0
  244. package/src/features/data-view/sd-data-select-button.control.ts +210 -0
  245. package/src/features/data-view/sd-data-sheet-column.directive.ts +10 -0
  246. package/src/features/data-view/sd-data-sheet.control.ts +850 -0
  247. package/src/features/shared-data/sd-shared-data-select-button.control.ts +64 -0
  248. package/src/features/shared-data/sd-shared-data-select-list.control.ts +245 -0
  249. package/src/features/shared-data/sd-shared-data-select.control.ts +364 -0
  250. package/src/index.ts +35 -1
  251. package/src/scss.d.ts +5 -0
  252. package/src/ui/data/list/sd-list-item.control.ts +3 -1
  253. package/src/ui/data/sheet/sd-sheet-column.directive.ts +9 -1
  254. package/src/ui/data/sheet/sd-sheet.control.ts +6 -6
  255. package/src/ui/form/button/sd-modal-select-button.control.ts +41 -59
  256. package/src/ui/form/editor/sd-tiptap-editor.control.ts +35 -1
  257. package/src/ui/form/select/sd-select-item.control.ts +1 -1
  258. package/src/ui/form/select/sd-select.control.ts +7 -4
  259. package/src/ui/overlay/modal/sd-modal.provider.ts +15 -3
  260. package/docs/commons-and-configuration.md +0 -34
  261. package/docs/data-display-components.md +0 -146
  262. package/docs/directives.md +0 -158
  263. package/docs/event-plugins.md +0 -109
  264. package/docs/form-components.md +0 -362
  265. package/docs/hooks-and-utilities.md +0 -175
  266. package/docs/layout-components.md +0 -140
  267. package/docs/navigation-components.md +0 -200
  268. package/docs/overlay-components.md +0 -193
  269. package/docs/pipes.md +0 -25
  270. package/docs/providers.md +0 -448
  271. package/docs/setup-functions.md +0 -66
  272. package/docs/visual-components.md +0 -89
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-data-detail.control.d.ts","sourceRoot":"","sources":["../../../src/features/data-view/sd-data-detail.control.ts"],"names":[],"mappings":"AACA,OAAO,EASL,KAAK,MAAM,EACX,WAAW,EAGZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAO,MAAM,uBAAuB,CAAC;AAStD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,0CAA0C,CAAC;;AAazE,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,QAAQ,GAAG,SAAS,CAAC;IACrC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAMD,8BACsB,eAAe,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,GAAG,OAAO,CACjE,YAAW,QAAQ,CAAC,CAAC,CAAC;IAItB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACjC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAE5B,oBAAoB,CAAC,IAAI,IAAI;IAE7B,QAAQ,CAAC,IAAI,IACT,OAAO,CAAC;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,IAAI,EAAE,qBAAqB,CAAA;KAAE,CAAC,GACjD;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,IAAI,EAAE,qBAAqB,CAAA;KAAE;IAE5C,YAAY,CAAC,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,SAAS;IAEnE,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,SAAS;IAIxD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA2B;IACpD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAgC;IAE9D,QAAQ,sCAAiC;IAEzC,SAAS,iDAAa;IACtB,WAAW,6DAAyC;IACpD,WAAW,kDAAiB;IAC5B,KAAK,8CAAe;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAEhC,IAAI,4CAAsB;IAE1B,QAAQ,4EAAwD;IAEhE,OAAO,CAAC,aAAa,CAAC,CAAI;;IAyB1B,kBAAkB;IAQZ,SAAS;IAYT,OAAO;IASP,cAAc,CAAC,GAAG,EAAE,OAAO;IAkB3B,QAAQ,CAAC,GAAG,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,OAAO,CAAC;QAAC,mBAAmB,CAAC,EAAE,OAAO,CAAA;KAAE;yCA5GvD,eAAe;2CAAf,eAAe;CAwIpC;AAMD,qBA6Ja,mBAAmB;IAC9B,MAAM,gCAAwC;IAE9C,QAAQ,oCAAwC;IAEhD,UAAU,uCAAkD;IAC5D,UAAU,uCAAkD;IAC5D,aAAa,2BAA8D;IAC3E,UAAU,uCAAkD;IAE5D,iBAAiB,uCAAsD;;IAQjE,oBAAoB;IAIpB,mBAAmB;IAInB,oBAAoB;IAI1B,mBAAmB;IAIb,QAAQ;IAId,SAAS,CAAC,QAAQ,CAAC,kBAAkB,sdAAsB;IAC3D,SAAS,CAAC,QAAQ,CAAC,aAAa,gZAAiB;IACjD,SAAS,CAAC,QAAQ,CAAC,aAAa,waAAiB;IACjD,SAAS,CAAC,QAAQ,CAAC,YAAY,obAAgB;yCAzCpC,mBAAmB;2CAAnB,mBAAmB;CA0C/B"}
@@ -0,0 +1,606 @@
1
+ import { NgTemplateOutlet } from "@angular/common";
2
+ import { ChangeDetectionStrategy, Component, contentChild, Directive, effect, inject, output, signal, TemplateRef, viewChild, ViewEncapsulation, } from "@angular/core";
3
+ import { DateTime, obj } from "@simplysm/core-common";
4
+ import { TXT_CHANGE_IGNORE_CONFIRM } from "../../core/commons";
5
+ import { FormatPipe } from "../../core/pipes/format.pipe";
6
+ import { SdSharedDataProvider } from "../../core/providers/sd-shared-data.provider";
7
+ import { injectParent } from "../../core/utils/injectParent";
8
+ import { setupCanDeactivate } from "../../core/utils/setups/setupCanDeactivate";
9
+ import { useViewTypeSignal } from "../../core/utils/useViewTypeSignal";
10
+ import { SdButtonControl } from "../../ui/form/button/sd-button.control";
11
+ import { SdAnchorControl } from "../../ui/form/button/sd-anchor.control";
12
+ import { SdFormControl } from "../../ui/form/sd-form.control";
13
+ import {} from "../../ui/overlay/modal/sd-modal.provider";
14
+ import { SdToastProvider } from "../../ui/overlay/toast/sd-toast.provider";
15
+ import { SdBaseContainerControl } from "../base/sd-base-container.control";
16
+ import { NgIcon } from "@ng-icons/core";
17
+ import { tablerDeviceFloppy, tablerEraser, tablerRefresh, tablerRestore, } from "@ng-icons/tabler-icons";
18
+ import * as i0 from "@angular/core";
19
+ const _c0 = ["toolTpl"];
20
+ const _c1 = ["prevTpl"];
21
+ const _c2 = ["contentTpl"];
22
+ const _c3 = ["nextTpl"];
23
+ const _c4 = ["formCtrl"];
24
+ const _c5 = ["modalActionTpl"];
25
+ function SdDataDetailControl_ng_template_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
26
+ const _r2 = i0.ɵɵgetCurrentView();
27
+ i0.ɵɵelementStart(0, "sd-button", 7);
28
+ i0.ɵɵlistener("click", function SdDataDetailControl_ng_template_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onSubmitButtonClick()); });
29
+ i0.ɵɵelement(1, "ng-icon", 8);
30
+ i0.ɵɵtext(2, " \uC800\uC7A5 ");
31
+ i0.ɵɵelementStart(3, "small");
32
+ i0.ɵɵtext(4, "(CTRL+S)");
33
+ i0.ɵɵelementEnd()();
34
+ } if (rf & 2) {
35
+ const ctx_r2 = i0.ɵɵnextContext(2);
36
+ i0.ɵɵproperty("theme", "link-primary");
37
+ i0.ɵɵadvance();
38
+ i0.ɵɵproperty("svg", ctx_r2.tablerDeviceFloppy);
39
+ } }
40
+ function SdDataDetailControl_ng_template_1_Template(rf, ctx) { if (rf & 1) {
41
+ const _r1 = i0.ɵɵgetCurrentView();
42
+ i0.ɵɵconditionalCreate(0, SdDataDetailControl_ng_template_1_Conditional_0_Template, 5, 2, "sd-button", 6);
43
+ i0.ɵɵelementStart(1, "sd-button", 7);
44
+ i0.ɵɵlistener("click", function SdDataDetailControl_ng_template_1_Template_sd_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
45
+ i0.ɵɵelement(2, "ng-icon", 8);
46
+ i0.ɵɵtext(3, " \uC0C8\uB85C\uACE0\uCE68 ");
47
+ i0.ɵɵelementStart(4, "small");
48
+ i0.ɵɵtext(5, "(CTRL+ALT+L)");
49
+ i0.ɵɵelementEnd()();
50
+ } if (rf & 2) {
51
+ const ctx_r2 = i0.ɵɵnextContext();
52
+ i0.ɵɵconditional(ctx_r2.parent.canEdit() && ctx_r2.parent.submit ? 0 : -1);
53
+ i0.ɵɵadvance();
54
+ i0.ɵɵproperty("theme", "link-info");
55
+ i0.ɵɵadvance();
56
+ i0.ɵɵproperty("svg", ctx_r2.tablerRefresh);
57
+ } }
58
+ function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
59
+ const _r5 = i0.ɵɵgetCurrentView();
60
+ i0.ɵɵelementStart(0, "sd-button", 7);
61
+ i0.ɵɵlistener("click", function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.onSubmitButtonClick()); });
62
+ i0.ɵɵelement(1, "ng-icon", 8);
63
+ i0.ɵɵtext(2, " \uC800\uC7A5 ");
64
+ i0.ɵɵelementStart(3, "small");
65
+ i0.ɵɵtext(4, "(CTRL+S)");
66
+ i0.ɵɵelementEnd()();
67
+ i0.ɵɵelementStart(5, "sd-button", 7);
68
+ i0.ɵɵlistener("click", function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_0_Template_sd_button_click_5_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
69
+ i0.ɵɵelement(6, "ng-icon", 8);
70
+ i0.ɵɵtext(7, " \uC0C8\uB85C\uACE0\uCE68 ");
71
+ i0.ɵɵelementStart(8, "small");
72
+ i0.ɵɵtext(9, "(CTRL+ALT+L)");
73
+ i0.ɵɵelementEnd()();
74
+ } if (rf & 2) {
75
+ const ctx_r2 = i0.ɵɵnextContext(4);
76
+ i0.ɵɵproperty("theme", "primary");
77
+ i0.ɵɵadvance();
78
+ i0.ɵɵproperty("svg", ctx_r2.tablerDeviceFloppy);
79
+ i0.ɵɵadvance(4);
80
+ i0.ɵɵproperty("theme", "info");
81
+ i0.ɵɵadvance();
82
+ i0.ɵɵproperty("svg", ctx_r2.tablerRefresh);
83
+ } }
84
+ function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
85
+ const _r6 = i0.ɵɵgetCurrentView();
86
+ i0.ɵɵelementStart(0, "sd-button", 7);
87
+ i0.ɵɵlistener("click", function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onRestoreButtonClick()); });
88
+ i0.ɵɵelement(1, "ng-icon", 8);
89
+ i0.ɵɵtext(2, " \uBCF5\uAD6C ");
90
+ i0.ɵɵelementEnd();
91
+ } if (rf & 2) {
92
+ const ctx_r2 = i0.ɵɵnextContext(5);
93
+ i0.ɵɵproperty("theme", "warning");
94
+ i0.ɵɵadvance();
95
+ i0.ɵɵproperty("svg", ctx_r2.tablerRestore);
96
+ } }
97
+ function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
98
+ const _r7 = i0.ɵɵgetCurrentView();
99
+ i0.ɵɵelementStart(0, "sd-button", 7);
100
+ i0.ɵɵlistener("click", function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Conditional_1_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onDeleteButtonClick()); });
101
+ i0.ɵɵelement(1, "ng-icon", 8);
102
+ i0.ɵɵtext(2, " \uC0AD\uC81C ");
103
+ i0.ɵɵelementEnd();
104
+ } if (rf & 2) {
105
+ const ctx_r2 = i0.ɵɵnextContext(5);
106
+ i0.ɵɵproperty("theme", "danger");
107
+ i0.ɵɵadvance();
108
+ i0.ɵɵproperty("svg", ctx_r2.tablerEraser);
109
+ } }
110
+ function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
111
+ i0.ɵɵconditionalCreate(0, SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Conditional_0_Template, 3, 2, "sd-button", 6)(1, SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Conditional_1_Template, 3, 2, "sd-button", 6);
112
+ } if (rf & 2) {
113
+ let tmp_7_0;
114
+ const ctx_r2 = i0.ɵɵnextContext(4);
115
+ i0.ɵɵconditional(((tmp_7_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_7_0.isDeleted) ? 0 : 1);
116
+ } }
117
+ function SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
118
+ i0.ɵɵconditionalCreate(0, SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_0_Template, 10, 4);
119
+ i0.ɵɵconditionalCreate(1, SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Conditional_1_Template, 2, 1);
120
+ } if (rf & 2) {
121
+ let tmp_7_0;
122
+ const ctx_r2 = i0.ɵɵnextContext(3);
123
+ i0.ɵɵconditional(ctx_r2.parent.submit ? 0 : -1);
124
+ i0.ɵɵadvance();
125
+ i0.ɵɵconditional(!((tmp_7_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_7_0.isNew) && ctx_r2.parent.toggleDelete && (!ctx_r2.parent.canDelete || ctx_r2.parent.canDelete()) ? 1 : -1);
126
+ } }
127
+ function SdDataDetailControl_ng_template_3_Conditional_1_ng_template_2_Template(rf, ctx) { }
128
+ function SdDataDetailControl_ng_template_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
129
+ i0.ɵɵelementStart(0, "div", 10);
130
+ i0.ɵɵconditionalCreate(1, SdDataDetailControl_ng_template_3_Conditional_1_Conditional_1_Template, 2, 2);
131
+ i0.ɵɵtemplate(2, SdDataDetailControl_ng_template_3_Conditional_1_ng_template_2_Template, 0, 0, "ng-template", 13);
132
+ i0.ɵɵelementEnd();
133
+ } if (rf & 2) {
134
+ const ctx_r2 = i0.ɵɵnextContext(2);
135
+ i0.ɵɵadvance();
136
+ i0.ɵɵconditional(ctx_r2.parent.viewType() === "control" && ctx_r2.parent.canEdit() ? 1 : -1);
137
+ i0.ɵɵadvance();
138
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.toolTplRef() ?? null);
139
+ } }
140
+ function SdDataDetailControl_ng_template_3_Conditional_2_ng_template_1_Template(rf, ctx) { }
141
+ function SdDataDetailControl_ng_template_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
142
+ i0.ɵɵelementStart(0, "div");
143
+ i0.ɵɵtemplate(1, SdDataDetailControl_ng_template_3_Conditional_2_ng_template_1_Template, 0, 0, "ng-template", 13);
144
+ i0.ɵɵelementEnd();
145
+ } if (rf & 2) {
146
+ const ctx_r2 = i0.ɵɵnextContext(2);
147
+ i0.ɵɵadvance();
148
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.prevTplRef() ?? null);
149
+ } }
150
+ function SdDataDetailControl_ng_template_3_ng_template_6_Template(rf, ctx) { }
151
+ function SdDataDetailControl_ng_template_3_Conditional_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
152
+ i0.ɵɵtext(0);
153
+ i0.ɵɵpipe(1, "format");
154
+ } if (rf & 2) {
155
+ const ctx_r2 = i0.ɵɵnextContext(3);
156
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(1, 1, ctx_r2.parent.dataInfo().lastModifiedAt, "yyyy-MM-dd HH:mm"), " ");
157
+ } }
158
+ function SdDataDetailControl_ng_template_3_Conditional_7_Conditional_3_Template(rf, ctx) { if (rf & 1) {
159
+ i0.ɵɵtext(0);
160
+ } if (rf & 2) {
161
+ let tmp_6_0;
162
+ const ctx_r2 = i0.ɵɵnextContext(3);
163
+ i0.ɵɵtextInterpolate1(" (", (tmp_6_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_6_0.lastModifiedBy, ") ");
164
+ } }
165
+ function SdDataDetailControl_ng_template_3_Conditional_7_Template(rf, ctx) { if (rf & 1) {
166
+ i0.ɵɵelementStart(0, "div", 15);
167
+ i0.ɵɵtext(1, " \uCD5C\uC885\uC218\uC815: ");
168
+ i0.ɵɵconditionalCreate(2, SdDataDetailControl_ng_template_3_Conditional_7_Conditional_2_Template, 2, 4);
169
+ i0.ɵɵconditionalCreate(3, SdDataDetailControl_ng_template_3_Conditional_7_Conditional_3_Template, 1, 1);
170
+ i0.ɵɵelementEnd();
171
+ } if (rf & 2) {
172
+ let tmp_6_0;
173
+ let tmp_7_0;
174
+ const ctx_r2 = i0.ɵɵnextContext(2);
175
+ i0.ɵɵclassProp("bg-theme-gray-lightest", ctx_r2.parent.viewType() === "modal");
176
+ i0.ɵɵadvance(2);
177
+ i0.ɵɵconditional(((tmp_6_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_6_0.lastModifiedAt) ? 2 : -1);
178
+ i0.ɵɵadvance();
179
+ i0.ɵɵconditional(((tmp_7_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_7_0.lastModifiedBy) ? 3 : -1);
180
+ } }
181
+ function SdDataDetailControl_ng_template_3_Conditional_8_ng_template_1_Template(rf, ctx) { }
182
+ function SdDataDetailControl_ng_template_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
183
+ i0.ɵɵelementStart(0, "div");
184
+ i0.ɵɵtemplate(1, SdDataDetailControl_ng_template_3_Conditional_8_ng_template_1_Template, 0, 0, "ng-template", 13);
185
+ i0.ɵɵelementEnd();
186
+ } if (rf & 2) {
187
+ const ctx_r2 = i0.ɵɵnextContext(2);
188
+ i0.ɵɵadvance();
189
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.nextTplRef() ?? null);
190
+ } }
191
+ function SdDataDetailControl_ng_template_3_Template(rf, ctx) { if (rf & 1) {
192
+ const _r4 = i0.ɵɵgetCurrentView();
193
+ i0.ɵɵelementStart(0, "div", 9);
194
+ i0.ɵɵconditionalCreate(1, SdDataDetailControl_ng_template_3_Conditional_1_Template, 3, 2, "div", 10);
195
+ i0.ɵɵconditionalCreate(2, SdDataDetailControl_ng_template_3_Conditional_2_Template, 2, 1, "div");
196
+ i0.ɵɵelementStart(3, "div", 11)(4, "sd-form", 12, 2);
197
+ i0.ɵɵlistener("submit", function SdDataDetailControl_ng_template_3_Template_sd_form_submit_4_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onSubmit()); });
198
+ i0.ɵɵtemplate(6, SdDataDetailControl_ng_template_3_ng_template_6_Template, 0, 0, "ng-template", 13);
199
+ i0.ɵɵelementEnd()();
200
+ i0.ɵɵconditionalCreate(7, SdDataDetailControl_ng_template_3_Conditional_7_Template, 4, 4, "div", 14);
201
+ i0.ɵɵconditionalCreate(8, SdDataDetailControl_ng_template_3_Conditional_8_Template, 2, 1, "div");
202
+ i0.ɵɵelementEnd();
203
+ } if (rf & 2) {
204
+ let tmp_7_0;
205
+ const ctx_r2 = i0.ɵɵnextContext();
206
+ i0.ɵɵadvance();
207
+ i0.ɵɵconditional(ctx_r2.parent.viewType() === "control" && ctx_r2.parent.canEdit() || ctx_r2.toolTplRef() ? 1 : -1);
208
+ i0.ɵɵadvance();
209
+ i0.ɵɵconditional(ctx_r2.prevTplRef() ? 2 : -1);
210
+ i0.ɵɵadvance(4);
211
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.contentTplRef());
212
+ i0.ɵɵadvance();
213
+ i0.ɵɵconditional(((tmp_7_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_7_0.lastModifiedAt) || ((tmp_7_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_7_0.lastModifiedBy) ? 7 : -1);
214
+ i0.ɵɵadvance();
215
+ i0.ɵɵconditional(ctx_r2.nextTplRef() ? 8 : -1);
216
+ } }
217
+ function SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
218
+ const _r9 = i0.ɵɵgetCurrentView();
219
+ i0.ɵɵelementStart(0, "sd-button", 18);
220
+ i0.ɵɵlistener("click", function SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.onRestoreButtonClick()); });
221
+ i0.ɵɵtext(1, " \uBCF5\uAD6C ");
222
+ i0.ɵɵelementEnd();
223
+ } if (rf & 2) {
224
+ i0.ɵɵproperty("size", "sm")("theme", "warning");
225
+ } }
226
+ function SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
227
+ const _r10 = i0.ɵɵgetCurrentView();
228
+ i0.ɵɵelementStart(0, "sd-button", 18);
229
+ i0.ɵɵlistener("click", function SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Conditional_1_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.onDeleteButtonClick()); });
230
+ i0.ɵɵtext(1, " \uC0AD\uC81C ");
231
+ i0.ɵɵelementEnd();
232
+ } if (rf & 2) {
233
+ i0.ɵɵproperty("size", "sm")("theme", "danger");
234
+ } }
235
+ function SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
236
+ i0.ɵɵconditionalCreate(0, SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Conditional_0_Template, 2, 2, "sd-button", 19)(1, SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Conditional_1_Template, 2, 2, "sd-button", 19);
237
+ } if (rf & 2) {
238
+ let tmp_7_0;
239
+ const ctx_r2 = i0.ɵɵnextContext(3);
240
+ i0.ɵɵconditional(((tmp_7_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_7_0.isDeleted) ? 0 : 1);
241
+ } }
242
+ function SdDataDetailControl_Conditional_5_ng_template_0_Template(rf, ctx) { if (rf & 1) {
243
+ const _r8 = i0.ɵɵgetCurrentView();
244
+ i0.ɵɵelementStart(0, "div", 16);
245
+ i0.ɵɵconditionalCreate(1, SdDataDetailControl_Conditional_5_ng_template_0_Conditional_1_Template, 2, 1);
246
+ i0.ɵɵelementStart(2, "div", 17)(3, "sd-button", 18);
247
+ i0.ɵɵlistener("click", function SdDataDetailControl_Conditional_5_ng_template_0_Template_sd_button_click_3_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onSubmitButtonClick()); });
248
+ i0.ɵɵtext(4, " \uD655\uC778 ");
249
+ i0.ɵɵelementEnd()()();
250
+ } if (rf & 2) {
251
+ let tmp_6_0;
252
+ const ctx_r2 = i0.ɵɵnextContext(2);
253
+ i0.ɵɵadvance();
254
+ i0.ɵɵconditional(!((tmp_6_0 = ctx_r2.parent.dataInfo()) == null ? null : tmp_6_0.isNew) && ctx_r2.parent.toggleDelete && (!ctx_r2.parent.canDelete || ctx_r2.parent.canDelete()) ? 1 : -1);
255
+ i0.ɵɵadvance(2);
256
+ i0.ɵɵproperty("size", "sm")("theme", "primary");
257
+ } }
258
+ function SdDataDetailControl_Conditional_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
259
+ const _r11 = i0.ɵɵgetCurrentView();
260
+ i0.ɵɵelementStart(0, "sd-anchor", 20);
261
+ i0.ɵɵlistener("click", function SdDataDetailControl_Conditional_5_ng_template_2_Template_sd_anchor_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
262
+ i0.ɵɵelement(1, "ng-icon", 8);
263
+ i0.ɵɵelementEnd();
264
+ } if (rf & 2) {
265
+ const ctx_r2 = i0.ɵɵnextContext(2);
266
+ i0.ɵɵproperty("theme", "gray");
267
+ i0.ɵɵadvance();
268
+ i0.ɵɵproperty("svg", ctx_r2.tablerRefresh);
269
+ } }
270
+ function SdDataDetailControl_Conditional_5_Template(rf, ctx) { if (rf & 1) {
271
+ i0.ɵɵtemplate(0, SdDataDetailControl_Conditional_5_ng_template_0_Template, 5, 3, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(2, SdDataDetailControl_Conditional_5_ng_template_2_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
272
+ } }
273
+ //#endregion
274
+ //#region AbsSdDataDetail
275
+ export class AbsSdDataDetail {
276
+ canDelete;
277
+ //-- implement
278
+ _sdToast = inject(SdToastProvider);
279
+ _sdSharedData = inject(SdSharedDataProvider);
280
+ viewType = useViewTypeSignal(() => this);
281
+ busyCount = signal(0, ...(ngDevMode ? [{ debugName: "busyCount" }] : /* istanbul ignore next */ []));
282
+ busyMessage = signal(undefined, ...(ngDevMode ? [{ debugName: "busyMessage" }] : /* istanbul ignore next */ []));
283
+ initialized = signal(false, ...(ngDevMode ? [{ debugName: "initialized" }] : /* istanbul ignore next */ []));
284
+ close = output();
285
+ actionTplRef;
286
+ data = signal({}, ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
287
+ dataInfo = signal(undefined, ...(ngDevMode ? [{ debugName: "dataInfo" }] : /* istanbul ignore next */ []));
288
+ _dataSnapshot;
289
+ constructor() {
290
+ effect(() => {
291
+ this.prepareRefreshEffect?.();
292
+ queueMicrotask(async () => {
293
+ if (!this.canUse()) {
294
+ this.initialized.set(true);
295
+ return;
296
+ }
297
+ this.busyCount.update((v) => v + 1);
298
+ await this._sdToast.try(async () => {
299
+ await this._sdSharedData.wait();
300
+ await this.refresh();
301
+ });
302
+ this.busyCount.update((v) => v - 1);
303
+ this.initialized.set(true);
304
+ });
305
+ });
306
+ setupCanDeactivate(() => this.viewType() === "modal" || this.checkIgnoreChanges());
307
+ }
308
+ checkIgnoreChanges() {
309
+ return (this._dataSnapshot == null ||
310
+ obj.equal(this.data(), this._dataSnapshot) ||
311
+ confirm(TXT_CHANGE_IGNORE_CONFIRM));
312
+ }
313
+ async doRefresh() {
314
+ if (this.busyCount() > 0)
315
+ return;
316
+ if (!this.canUse())
317
+ return;
318
+ if (!this.checkIgnoreChanges())
319
+ return;
320
+ this.busyCount.update((v) => v + 1);
321
+ await this._sdToast.try(async () => {
322
+ await this.refresh();
323
+ });
324
+ this.busyCount.update((v) => v - 1);
325
+ }
326
+ async refresh() {
327
+ const result = await this.load();
328
+ this.data.set(result.data);
329
+ this.dataInfo.set(result.info);
330
+ if (!result.info.isNew) {
331
+ this._dataSnapshot = obj.clone(result.data);
332
+ }
333
+ }
334
+ async doToggleDelete(del) {
335
+ if (this.busyCount() > 0)
336
+ return;
337
+ if (!this.canEdit())
338
+ return;
339
+ if (this.canDelete && !this.canDelete())
340
+ return;
341
+ if (!this.toggleDelete)
342
+ return;
343
+ this.busyCount.update((v) => v + 1);
344
+ await this._sdToast.try(async () => {
345
+ const result = await this.toggleDelete(del);
346
+ if (!result)
347
+ return;
348
+ this._sdToast.success(`${del ? "삭제" : "복구"}되었습니다.`);
349
+ this.close.emit(result);
350
+ });
351
+ this.busyCount.update((v) => v - 1);
352
+ }
353
+ async doSubmit(opt) {
354
+ if (this.busyCount() > 0)
355
+ return;
356
+ if (opt?.permCheck && !this.canEdit())
357
+ return;
358
+ if (!this.submit)
359
+ return;
360
+ if (!this.dataInfo()?.isNew &&
361
+ (this._dataSnapshot == null || obj.equal(this.data(), this._dataSnapshot))) {
362
+ if (!opt?.hideNoChangeMessage) {
363
+ this._sdToast.info("변경사항이 없습니다.");
364
+ }
365
+ return;
366
+ }
367
+ this.busyCount.update((v) => v + 1);
368
+ await this._sdToast.try(async () => {
369
+ const result = await this.submit(this.data());
370
+ if (!result)
371
+ return;
372
+ this._sdToast.success("저장되었습니다.");
373
+ this.close.emit(result);
374
+ await this.refresh();
375
+ });
376
+ this.busyCount.update((v) => v - 1);
377
+ }
378
+ static ɵfac = function AbsSdDataDetail_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbsSdDataDetail)(); };
379
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbsSdDataDetail, outputs: { close: "close" } });
380
+ }
381
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AbsSdDataDetail, [{
382
+ type: Directive
383
+ }], () => [], { close: [{ type: i0.Output, args: ["close"] }] }); })();
384
+ //#endregion
385
+ //#region SdDataDetailControl
386
+ export class SdDataDetailControl {
387
+ parent = injectParent();
388
+ formCtrl = viewChild("formCtrl", ...(ngDevMode ? [{ debugName: "formCtrl" }] : /* istanbul ignore next */ []));
389
+ toolTplRef = contentChild("toolTpl", { ...(ngDevMode ? { debugName: "toolTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
390
+ prevTplRef = contentChild("prevTpl", { ...(ngDevMode ? { debugName: "prevTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
391
+ contentTplRef = contentChild.required("contentTpl", { read: TemplateRef });
392
+ nextTplRef = contentChild("nextTpl", { ...(ngDevMode ? { debugName: "nextTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
393
+ modalActionTplRef = viewChild("modalActionTpl", { ...(ngDevMode ? { debugName: "modalActionTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
394
+ constructor() {
395
+ effect(() => {
396
+ this.parent.actionTplRef = this.modalActionTplRef();
397
+ });
398
+ }
399
+ async onRefreshButtonClick() {
400
+ await this.parent.doRefresh();
401
+ }
402
+ async onDeleteButtonClick() {
403
+ await this.parent.doToggleDelete(true);
404
+ }
405
+ async onRestoreButtonClick() {
406
+ await this.parent.doToggleDelete(false);
407
+ }
408
+ onSubmitButtonClick() {
409
+ this.formCtrl()?.requestSubmit();
410
+ }
411
+ async onSubmit() {
412
+ await this.parent.doSubmit({ permCheck: true });
413
+ }
414
+ tablerDeviceFloppy = tablerDeviceFloppy;
415
+ tablerRefresh = tablerRefresh;
416
+ tablerRestore = tablerRestore;
417
+ tablerEraser = tablerEraser;
418
+ static ɵfac = function SdDataDetailControl_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdDataDetailControl)(); };
419
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdDataDetailControl, selectors: [["sd-data-detail"]], contentQueries: function SdDataDetailControl_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
420
+ i0.ɵɵcontentQuerySignal(dirIndex, ctx.toolTplRef, _c0, 5, TemplateRef)(dirIndex, ctx.prevTplRef, _c1, 5, TemplateRef)(dirIndex, ctx.contentTplRef, _c2, 5, TemplateRef)(dirIndex, ctx.nextTplRef, _c3, 5, TemplateRef);
421
+ } if (rf & 2) {
422
+ i0.ɵɵqueryAdvance(4);
423
+ } }, viewQuery: function SdDataDetailControl_Query(rf, ctx) { if (rf & 1) {
424
+ i0.ɵɵviewQuerySignal(ctx.formCtrl, _c4, 5)(ctx.modalActionTplRef, _c5, 5, TemplateRef);
425
+ } if (rf & 2) {
426
+ i0.ɵɵqueryAdvance(2);
427
+ } }, hostBindings: function SdDataDetailControl_HostBindings(rf, ctx) { if (rf & 1) {
428
+ i0.ɵɵlistener("sdRefreshCommand", function SdDataDetailControl_sdRefreshCommand_HostBindingHandler() { return ctx.onRefreshButtonClick(); })("sdSaveCommand", function SdDataDetailControl_sdSaveCommand_HostBindingHandler() { return ctx.onSubmitButtonClick(); });
429
+ } }, decls: 6, vars: 6, consts: [["pageTopbarTpl", ""], ["contentTpl", ""], ["formCtrl", ""], ["modalBottomTpl", ""], ["modalActionTpl", ""], [3, "busy", "busyMessage", "viewType", "initialized", "restricted"], [3, "theme"], [3, "click", "theme"], [3, "svg"], [1, "flex-column", "fill"], [1, "p-default", "flex-row", "gap-default", "bdb", "bdb-theme-gray-lightest"], [1, "flex-fill"], [3, "submit"], [3, "ngTemplateOutlet"], [1, "p-sm-default", 3, "bg-theme-gray-lightest"], [1, "p-sm-default"], [1, "p-sm-default", "flex-row", "gap-sm"], [1, "flex-fill", "flex-row", "gap-sm", "main-align-end"], [3, "click", "size", "theme"], [3, "size", "theme"], ["title", "\uC0C8\uB85C\uACE0\uCE68(CTRL+ALT+L)", 1, "p-sm-default", 3, "click", "theme"]], template: function SdDataDetailControl_Template(rf, ctx) { if (rf & 1) {
430
+ i0.ɵɵelementStart(0, "sd-base-container", 5);
431
+ i0.ɵɵtemplate(1, SdDataDetailControl_ng_template_1_Template, 6, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(3, SdDataDetailControl_ng_template_3_Template, 9, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
432
+ i0.ɵɵconditionalCreate(5, SdDataDetailControl_Conditional_5_Template, 4, 0);
433
+ i0.ɵɵelementEnd();
434
+ } if (rf & 2) {
435
+ i0.ɵɵproperty("busy", ctx.parent.busyCount() > 0)("busyMessage", ctx.parent.busyMessage())("viewType", ctx.parent.viewType())("initialized", ctx.parent.initialized())("restricted", !ctx.parent.canUse());
436
+ i0.ɵɵadvance(5);
437
+ i0.ɵɵconditional(ctx.parent.canEdit() ? 5 : -1);
438
+ } }, dependencies: [SdBaseContainerControl,
439
+ SdFormControl,
440
+ SdButtonControl,
441
+ NgTemplateOutlet,
442
+ SdAnchorControl,
443
+ NgIcon,
444
+ FormatPipe], encapsulation: 2, changeDetection: 0 });
445
+ }
446
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdDataDetailControl, [{
447
+ type: Component,
448
+ args: [{
449
+ selector: "sd-data-detail",
450
+ changeDetection: ChangeDetectionStrategy.OnPush,
451
+ encapsulation: ViewEncapsulation.None,
452
+ standalone: true,
453
+ imports: [
454
+ SdBaseContainerControl,
455
+ SdFormControl,
456
+ SdButtonControl,
457
+ NgTemplateOutlet,
458
+ FormatPipe,
459
+ SdAnchorControl,
460
+ NgIcon,
461
+ ],
462
+ host: {
463
+ "(sdRefreshCommand)": "onRefreshButtonClick()",
464
+ "(sdSaveCommand)": "onSubmitButtonClick()",
465
+ },
466
+ template: `
467
+ <sd-base-container
468
+ [busy]="parent.busyCount() > 0"
469
+ [busyMessage]="parent.busyMessage()"
470
+ [viewType]="parent.viewType()"
471
+ [initialized]="parent.initialized()"
472
+ [restricted]="!parent.canUse()"
473
+ >
474
+ <ng-template #pageTopbarTpl>
475
+ @if (parent.canEdit() && parent.submit) {
476
+ <sd-button [theme]="'link-primary'" (click)="onSubmitButtonClick()">
477
+ <ng-icon [svg]="tablerDeviceFloppy" />
478
+ 저장
479
+ <small>(CTRL+S)</small>
480
+ </sd-button>
481
+ }
482
+ <sd-button [theme]="'link-info'" (click)="onRefreshButtonClick()">
483
+ <ng-icon [svg]="tablerRefresh" />
484
+ 새로고침
485
+ <small>(CTRL+ALT+L)</small>
486
+ </sd-button>
487
+ </ng-template>
488
+
489
+ <ng-template #contentTpl>
490
+ <div class="flex-column fill">
491
+ @if ((parent.viewType() === "control" && parent.canEdit()) || toolTplRef()) {
492
+ <div class="p-default flex-row gap-default bdb bdb-theme-gray-lightest">
493
+ @if (parent.viewType() === "control" && parent.canEdit()) {
494
+ @if (parent.submit) {
495
+ <sd-button [theme]="'primary'" (click)="onSubmitButtonClick()">
496
+ <ng-icon [svg]="tablerDeviceFloppy" />
497
+ 저장
498
+ <small>(CTRL+S)</small>
499
+ </sd-button>
500
+ <sd-button [theme]="'info'" (click)="onRefreshButtonClick()">
501
+ <ng-icon [svg]="tablerRefresh" />
502
+ 새로고침
503
+ <small>(CTRL+ALT+L)</small>
504
+ </sd-button>
505
+ }
506
+ @if (
507
+ !parent.dataInfo()?.isNew &&
508
+ parent.toggleDelete &&
509
+ (!parent.canDelete || parent.canDelete())
510
+ ) {
511
+ @if (parent.dataInfo()?.isDeleted) {
512
+ <sd-button [theme]="'warning'" (click)="onRestoreButtonClick()">
513
+ <ng-icon [svg]="tablerRestore" />
514
+ 복구
515
+ </sd-button>
516
+ } @else {
517
+ <sd-button [theme]="'danger'" (click)="onDeleteButtonClick()">
518
+ <ng-icon [svg]="tablerEraser" />
519
+ 삭제
520
+ </sd-button>
521
+ }
522
+ }
523
+ }
524
+
525
+ <ng-template [ngTemplateOutlet]="toolTplRef() ?? null" />
526
+ </div>
527
+ }
528
+
529
+ @if (prevTplRef()) {
530
+ <div>
531
+ <ng-template [ngTemplateOutlet]="prevTplRef() ?? null" />
532
+ </div>
533
+ }
534
+
535
+ <div class="flex-fill">
536
+ <sd-form #formCtrl (submit)="onSubmit()">
537
+ <ng-template [ngTemplateOutlet]="contentTplRef()" />
538
+ </sd-form>
539
+ </div>
540
+
541
+ @if (parent.dataInfo()?.lastModifiedAt || parent.dataInfo()?.lastModifiedBy) {
542
+ <div
543
+ class="p-sm-default"
544
+ [class.bg-theme-gray-lightest]="parent.viewType() === 'modal'"
545
+ >
546
+ 최종수정:
547
+ @if (parent.dataInfo()?.lastModifiedAt) {
548
+ {{ parent.dataInfo()!.lastModifiedAt | format: "yyyy-MM-dd HH:mm" }}
549
+ }
550
+ @if (parent.dataInfo()?.lastModifiedBy) {
551
+ ({{ parent.dataInfo()?.lastModifiedBy }})
552
+ }
553
+ </div>
554
+ }
555
+
556
+ @if (nextTplRef()) {
557
+ <div>
558
+ <ng-template [ngTemplateOutlet]="nextTplRef() ?? null" />
559
+ </div>
560
+ }
561
+ </div>
562
+ </ng-template>
563
+
564
+ @if (parent.canEdit()) {
565
+ <ng-template #modalBottomTpl>
566
+ <div class="p-sm-default flex-row gap-sm">
567
+ @if (
568
+ !parent.dataInfo()?.isNew &&
569
+ parent.toggleDelete &&
570
+ (!parent.canDelete || parent.canDelete())
571
+ ) {
572
+ @if (parent.dataInfo()?.isDeleted) {
573
+ <sd-button [size]="'sm'" [theme]="'warning'" (click)="onRestoreButtonClick()">
574
+ 복구
575
+ </sd-button>
576
+ } @else {
577
+ <sd-button [size]="'sm'" [theme]="'danger'" (click)="onDeleteButtonClick()">
578
+ 삭제
579
+ </sd-button>
580
+ }
581
+ }
582
+
583
+ <div class="flex-fill flex-row gap-sm main-align-end">
584
+ <sd-button [size]="'sm'" [theme]="'primary'" (click)="onSubmitButtonClick()">
585
+ 확인
586
+ </sd-button>
587
+ </div>
588
+ </div>
589
+ </ng-template>
590
+
591
+ <ng-template #modalActionTpl>
592
+ <sd-anchor
593
+ [theme]="'gray'"
594
+ class="p-sm-default"
595
+ (click)="onRefreshButtonClick()"
596
+ title="새로고침(CTRL+ALT+L)"
597
+ >
598
+ <ng-icon [svg]="tablerRefresh" />
599
+ </sd-anchor>
600
+ </ng-template>
601
+ }
602
+ </sd-base-container>
603
+ `,
604
+ }]
605
+ }], () => [], { formCtrl: [{ type: i0.ViewChild, args: ["formCtrl", { isSignal: true }] }], toolTplRef: [{ type: i0.ContentChild, args: ["toolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], prevTplRef: [{ type: i0.ContentChild, args: ["prevTpl", { ...{ read: TemplateRef }, isSignal: true }] }], contentTplRef: [{ type: i0.ContentChild, args: ["contentTpl", { ...{ read: TemplateRef }, isSignal: true }] }], nextTplRef: [{ type: i0.ContentChild, args: ["nextTpl", { ...{ read: TemplateRef }, isSignal: true }] }], modalActionTplRef: [{ type: i0.ViewChild, args: ["modalActionTpl", { ...{ read: TemplateRef }, isSignal: true }] }] }); })();
606
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDataDetailControl, { className: "SdDataDetailControl", filePath: "packages/angular/src/features/data-view/sd-data-detail.control.ts", lineNumber: 350, forbidOrphanRendering: true }); })();
@@ -0,0 +1,35 @@
1
+ import { type Signal, TemplateRef } from "@angular/core";
2
+ import type { TSelectModeValue } from "../../ui/form/select/sd-select.control";
3
+ import { type ISdModalOptions } from "../../ui/overlay/modal/sd-modal.provider";
4
+ import type { ISdSelectModal, TSdSelectModalInfo } from "../../ui/form/button/sd-modal-select-button.control";
5
+ import { type SdItemOfTemplateContext } from "../../core/directives/sd-item-of-template.directive";
6
+ import * as i0 from "@angular/core";
7
+ export declare abstract class AbsSdDataSelectButton<TItem extends object, TKey, TMode extends keyof TSelectModeValue<TKey> = keyof TSelectModeValue<TKey>> {
8
+ abstract modal: Signal<TSdSelectModalInfo<ISdSelectModal<any>>>;
9
+ abstract load(keys: TKey[]): Promise<TItem[]> | TItem[];
10
+ private readonly _sdModal;
11
+ value: import("@angular/core").ModelSignal<TSelectModeValue<TKey>[TMode] | undefined>;
12
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
13
+ required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
14
+ inset: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
15
+ size: import("@angular/core").InputSignal<"sm" | "lg" | undefined>;
16
+ selectMode: import("@angular/core").InputSignal<TMode>;
17
+ isNoValue: Signal<boolean>;
18
+ selectedItems: import("@angular/core").WritableSignal<TItem[]>;
19
+ constructor();
20
+ doShowModal(options?: ISdModalOptions): Promise<void>;
21
+ doInitialValue(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbsSdDataSelectButton<any, any, any>, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbsSdDataSelectButton<any, any, any>, never, never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "selectMode": { "alias": "selectMode"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
24
+ }
25
+ export declare class SdDataSelectButtonControl {
26
+ parent: AbsSdDataSelectButton<any, any, keyof TSelectModeValue<TKey>>;
27
+ itemTplRef: Signal<TemplateRef<SdItemOfTemplateContext<any>> | undefined>;
28
+ onSearchClick(event: MouseEvent): Promise<void>;
29
+ onEraseClick(): void;
30
+ protected readonly tablerEraser = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"stroke-width:var(--ng-icon__stroke-width, 2)\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3\"></path><path d=\"M18 13.3l-6.3 -6.3\"></path></svg>";
31
+ protected readonly tablerSearch = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"stroke-width:var(--ng-icon__stroke-width, 2)\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0\"></path><path d=\"M21 21l-6 -6\"></path></svg>";
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdDataSelectButtonControl, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdDataSelectButtonControl, "sd-data-select-button", never, {}, {}, ["itemTplRef"], ["*"], true, never>;
34
+ }
35
+ //# sourceMappingURL=sd-data-select-button.control.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-data-select-button.control.d.ts","sourceRoot":"","sources":["../../../src/features/data-view/sd-data-select-button.control.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,KAAK,MAAM,EACX,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EACnB,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,qDAAqD,CAAC;;AAW7D,8BACsB,qBAAqB,CACzC,KAAK,SAAS,MAAM,EACpB,IAAI,EACJ,KAAK,SAAS,MAAM,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC;IAGzE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChE,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,KAAK,EAAE;IAIvD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA2B;IAEpD,KAAK,iFAA0C;IAE/C,QAAQ,qEAAiD;IACzD,QAAQ,qEAAiD;IACzD,KAAK,qEAAiD;IACtD,IAAI,+DAAwB;IAC5B,UAAU,6CAAmC;IAE7C,SAAS,kBAKN;IAEH,aAAa,kDAAuB;;IAyB9B,WAAW,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAwB3D,cAAc,IAAI,IAAI;yCA7EF,qBAAqB;2CAArB,qBAAqB;CAgF1C;AAMD,qBA4Da,yBAAyB;IACpC,MAAM,gEAAmD;IAEzD,UAAU,gEAGR;IAEI,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAMrD,YAAY,IAAI,IAAI;IAIpB,SAAS,CAAC,QAAQ,CAAC,YAAY,obAAgB;IAC/C,SAAS,CAAC,QAAQ,CAAC,YAAY,yXAAgB;yCAnBpC,yBAAyB;2CAAzB,yBAAyB;CAoBrC"}