@simplysm/angular 14.0.10 → 14.0.12

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 (170) hide show
  1. package/README.md +8 -5
  2. package/dist/core/directives/sd-router-link.directive.js +2 -2
  3. package/dist/core/pipes/format.pipe.d.ts.map +1 -1
  4. package/dist/core/pipes/format.pipe.js +2 -0
  5. package/dist/core/plugins/commands/findTopOpenModalEl.d.ts +1 -1
  6. package/dist/core/plugins/commands/findTopOpenModalEl.d.ts.map +1 -1
  7. package/dist/core/plugins/commands/findTopOpenModalEl.js +2 -2
  8. package/dist/core/plugins/commands/sd-insert-command-event.plugin.d.ts +1 -0
  9. package/dist/core/plugins/commands/sd-insert-command-event.plugin.d.ts.map +1 -1
  10. package/dist/core/plugins/commands/sd-insert-command-event.plugin.js +4 -3
  11. package/dist/core/plugins/commands/sd-refresh-command-event.plugin.d.ts +1 -0
  12. package/dist/core/plugins/commands/sd-refresh-command-event.plugin.d.ts.map +1 -1
  13. package/dist/core/plugins/commands/sd-refresh-command-event.plugin.js +4 -3
  14. package/dist/core/plugins/commands/sd-save-command-event.plugin.d.ts +1 -0
  15. package/dist/core/plugins/commands/sd-save-command-event.plugin.d.ts.map +1 -1
  16. package/dist/core/plugins/commands/sd-save-command-event.plugin.js +4 -3
  17. package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts.map +1 -1
  18. package/dist/core/plugins/events/sd-intersection-event.plugin.js +2 -3
  19. package/dist/core/plugins/events/sd-option-event.plugin.d.ts +1 -0
  20. package/dist/core/plugins/events/sd-option-event.plugin.d.ts.map +1 -1
  21. package/dist/core/plugins/events/sd-option-event.plugin.js +2 -1
  22. package/dist/core/plugins/sd-global-error-handler.plugin.d.ts.map +1 -1
  23. package/dist/core/plugins/sd-global-error-handler.plugin.js +3 -1
  24. package/dist/core/provideSdAngular.d.ts.map +1 -1
  25. package/dist/core/provideSdAngular.js +14 -4
  26. package/dist/core/providers/sd-app-structure.provider.d.ts.map +1 -1
  27. package/dist/core/providers/sd-app-structure.provider.js +8 -7
  28. package/dist/core/providers/sd-file-dialog.provider.d.ts.map +1 -1
  29. package/dist/core/providers/sd-file-dialog.provider.js +15 -7
  30. package/dist/core/providers/sd-local-storage.provider.d.ts.map +1 -1
  31. package/dist/core/providers/sd-local-storage.provider.js +6 -1
  32. package/dist/core/providers/sd-navigate-window.provider.js +4 -1
  33. package/dist/core/providers/sd-print.provider.js +2 -2
  34. package/dist/core/providers/sd-shared-data.provider.d.ts.map +1 -1
  35. package/dist/core/providers/sd-shared-data.provider.js +14 -3
  36. package/dist/core/utils/injectParent.js +9 -5
  37. package/dist/core/utils/setups/setupModelHook.d.ts.map +1 -1
  38. package/dist/core/utils/setups/setupModelHook.js +4 -1
  39. package/dist/core/utils/setups/setupRevealOnShow.d.ts.map +1 -1
  40. package/dist/core/utils/setups/setupRevealOnShow.js +3 -2
  41. package/dist/core/utils/useExpandingManager.d.ts.map +1 -1
  42. package/dist/core/utils/useExpandingManager.js +3 -2
  43. package/dist/core/utils/useSdSystemConfigResource.d.ts +1 -1
  44. package/dist/core/utils/useSdSystemConfigResource.d.ts.map +1 -1
  45. package/dist/core/utils/useSdSystemConfigResource.js +13 -12
  46. package/dist/core/utils/withBusy.d.ts +3 -0
  47. package/dist/core/utils/withBusy.d.ts.map +1 -0
  48. package/dist/core/utils/withBusy.js +9 -0
  49. package/dist/features/address/sd-address-search.modal.d.ts.map +1 -1
  50. package/dist/features/address/sd-address-search.modal.js +5 -2
  51. package/dist/features/data-view/sd-data-detail.control.d.ts +7 -4
  52. package/dist/features/data-view/sd-data-detail.control.d.ts.map +1 -1
  53. package/dist/features/data-view/sd-data-detail.control.js +75 -68
  54. package/dist/features/data-view/sd-data-sheet.control.d.ts +2 -0
  55. package/dist/features/data-view/sd-data-sheet.control.d.ts.map +1 -1
  56. package/dist/features/data-view/sd-data-sheet.control.js +134 -110
  57. package/dist/features/permission-table/sd-permission-table.control.d.ts +32 -0
  58. package/dist/features/permission-table/sd-permission-table.control.d.ts.map +1 -0
  59. package/dist/features/permission-table/sd-permission-table.control.js +467 -0
  60. package/dist/features/shared-data/matchesSearchText.d.ts +2 -0
  61. package/dist/features/shared-data/matchesSearchText.d.ts.map +1 -0
  62. package/dist/features/shared-data/matchesSearchText.js +11 -0
  63. package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts +2 -2
  64. package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts.map +1 -1
  65. package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts +1 -0
  66. package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts.map +1 -1
  67. package/dist/features/shared-data/sd-shared-data-select-list.control.js +16 -11
  68. package/dist/features/shared-data/sd-shared-data-select.control.d.ts +2 -1
  69. package/dist/features/shared-data/sd-shared-data-select.control.d.ts.map +1 -1
  70. package/dist/features/shared-data/sd-shared-data-select.control.js +45 -30
  71. package/dist/index.d.ts +5 -3
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +5 -2
  74. package/dist/ui/data/sheet/sd-sheet.control.d.ts +5 -2
  75. package/dist/ui/data/sheet/sd-sheet.control.d.ts.map +1 -1
  76. package/dist/ui/data/sheet/sd-sheet.control.js +48 -47
  77. package/dist/ui/data/sheet/types.d.ts +5 -1
  78. package/dist/ui/data/sheet/types.d.ts.map +1 -1
  79. package/dist/ui/data/sheet/useSheetCellAgent.d.ts.map +1 -1
  80. package/dist/ui/data/sheet/useSheetCellAgent.js +8 -4
  81. package/dist/ui/data/sheet/useSheetColumnFixing.d.ts +6 -0
  82. package/dist/ui/data/sheet/useSheetColumnFixing.d.ts.map +1 -1
  83. package/dist/ui/data/sheet/useSheetColumnFixing.js +6 -0
  84. package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts +2 -2
  85. package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts.map +1 -1
  86. package/dist/ui/form/editor/sd-tiptap-editor.control.js +15 -13
  87. package/dist/ui/form/input/sd-date-range.picker.d.ts.map +1 -1
  88. package/dist/ui/form/input/sd-date-range.picker.js +8 -1
  89. package/dist/ui/form/select/sd-select.control.d.ts.map +1 -1
  90. package/dist/ui/form/select/sd-select.control.js +20 -16
  91. package/dist/ui/layout/dock/sd-dock.control.js +4 -4
  92. package/dist/ui/navigation/pagination/sd-pagination.control.js +1 -1
  93. package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts +7 -13
  94. package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts.map +1 -1
  95. package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.js +1 -1
  96. package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts +7 -13
  97. package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts.map +1 -1
  98. package/dist/ui/navigation/topbar/sd-topbar-menu.control.js +1 -1
  99. package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts +0 -3
  100. package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts.map +1 -1
  101. package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.js +8 -21
  102. package/dist/ui/overlay/dropdown/sd-dropdown.control.d.ts +1 -1
  103. package/dist/ui/overlay/dropdown/sd-dropdown.control.d.ts.map +1 -1
  104. package/dist/ui/overlay/dropdown/sd-dropdown.control.js +19 -20
  105. package/dist/ui/overlay/modal/sd-modal.control.d.ts.map +1 -1
  106. package/dist/ui/overlay/modal/sd-modal.control.js +21 -5
  107. package/dist/ui/overlay/modal/sd-modal.provider.d.ts.map +1 -1
  108. package/dist/ui/overlay/modal/sd-modal.provider.js +12 -0
  109. package/dist/ui/overlay/toast/sd-toast.provider.d.ts +1 -0
  110. package/dist/ui/overlay/toast/sd-toast.provider.d.ts.map +1 -1
  111. package/dist/ui/overlay/toast/sd-toast.provider.js +16 -2
  112. package/dist/ui/visual/sd-barcode.control.d.ts +2 -2
  113. package/dist/ui/visual/sd-barcode.control.d.ts.map +1 -1
  114. package/dist/ui/visual/sd-barcode.control.js +25 -18
  115. package/dist/ui/visual/sd-progress.control.d.ts.map +1 -1
  116. package/dist/ui/visual/sd-progress.control.js +1 -1
  117. package/docs/core.md +19 -0
  118. package/docs/features.md +25 -0
  119. package/docs/ui-data.md +20 -4
  120. package/docs/ui-navigation.md +8 -44
  121. package/package.json +25 -25
  122. package/src/core/directives/sd-router-link.directive.ts +1 -1
  123. package/src/core/pipes/format.pipe.ts +1 -0
  124. package/src/core/plugins/commands/findTopOpenModalEl.ts +2 -2
  125. package/src/core/plugins/commands/sd-insert-command-event.plugin.ts +5 -3
  126. package/src/core/plugins/commands/sd-refresh-command-event.plugin.ts +5 -3
  127. package/src/core/plugins/commands/sd-save-command-event.plugin.ts +5 -3
  128. package/src/core/plugins/events/sd-intersection-event.plugin.ts +2 -3
  129. package/src/core/plugins/events/sd-option-event.plugin.ts +3 -1
  130. package/src/core/plugins/sd-global-error-handler.plugin.ts +4 -1
  131. package/src/core/provideSdAngular.ts +17 -4
  132. package/src/core/providers/sd-app-structure.provider.ts +7 -7
  133. package/src/core/providers/sd-file-dialog.provider.ts +18 -9
  134. package/src/core/providers/sd-local-storage.provider.ts +5 -1
  135. package/src/core/providers/sd-navigate-window.provider.ts +3 -3
  136. package/src/core/providers/sd-print.provider.ts +2 -2
  137. package/src/core/providers/sd-shared-data.provider.ts +14 -3
  138. package/src/core/utils/injectParent.ts +10 -6
  139. package/src/core/utils/setups/setupModelHook.ts +6 -1
  140. package/src/core/utils/setups/setupRevealOnShow.ts +3 -2
  141. package/src/core/utils/useExpandingManager.ts +4 -2
  142. package/src/core/utils/useSdSystemConfigResource.ts +13 -11
  143. package/src/core/utils/withBusy.ts +13 -0
  144. package/src/features/address/sd-address-search.modal.ts +5 -2
  145. package/src/features/data-view/sd-data-detail.control.ts +74 -51
  146. package/src/features/data-view/sd-data-sheet.control.ts +84 -60
  147. package/src/features/permission-table/sd-permission-table.control.ts +461 -0
  148. package/src/features/shared-data/matchesSearchText.ts +16 -0
  149. package/src/features/shared-data/sd-shared-data-select-button.control.ts +4 -4
  150. package/src/features/shared-data/sd-shared-data-select-list.control.ts +19 -11
  151. package/src/features/shared-data/sd-shared-data-select.control.ts +51 -31
  152. package/src/index.ts +7 -8
  153. package/src/ui/data/sheet/sd-sheet.control.ts +51 -48
  154. package/src/ui/data/sheet/types.ts +6 -1
  155. package/src/ui/data/sheet/useSheetCellAgent.ts +5 -3
  156. package/src/ui/data/sheet/useSheetColumnFixing.ts +6 -0
  157. package/src/ui/form/editor/sd-tiptap-editor.control.ts +14 -12
  158. package/src/ui/form/input/sd-date-range.picker.ts +7 -1
  159. package/src/ui/form/select/sd-select.control.ts +18 -14
  160. package/src/ui/layout/dock/sd-dock.control.ts +4 -4
  161. package/src/ui/navigation/pagination/sd-pagination.control.ts +1 -1
  162. package/src/ui/navigation/sidebar/sd-sidebar-menu.control.ts +7 -14
  163. package/src/ui/navigation/topbar/sd-topbar-menu.control.ts +7 -14
  164. package/src/ui/overlay/dropdown/sd-dropdown-popup.control.ts +2 -17
  165. package/src/ui/overlay/dropdown/sd-dropdown.control.ts +19 -19
  166. package/src/ui/overlay/modal/sd-modal.control.ts +21 -5
  167. package/src/ui/overlay/modal/sd-modal.provider.ts +13 -0
  168. package/src/ui/overlay/toast/sd-toast.provider.ts +14 -1
  169. package/src/ui/visual/sd-barcode.control.ts +18 -16
  170. package/src/ui/visual/sd-progress.control.ts +1 -1
@@ -13,6 +13,7 @@ import { setupCumulateSelectedKeys } from "../../core/utils/setups/setupCumulate
13
13
  import { setupCloserWhenSingleSelectionChange } from "../../core/utils/setups/setupCloserWhenSingleSelectionChange";
14
14
  import { setupCanDeactivate } from "../../core/utils/setups/setupCanDeactivate";
15
15
  import { injectParent } from "../../core/utils/injectParent";
16
+ import { withBusy } from "../../core/utils/withBusy";
16
17
  import { FormatPipe } from "../../core/pipes/format.pipe";
17
18
  import { TXT_CHANGE_IGNORE_CONFIRM } from "../../core/commons";
18
19
  import { SdBaseContainerControl } from "../base/sd-base-container.control";
@@ -28,13 +29,14 @@ const _c3 = ["beforeToolTpl"];
28
29
  const _c4 = ["toolTpl"];
29
30
  const _c5 = ["modalBottomTpl"];
30
31
  const _c6 = ["formCtrl"];
31
- const _c7 = (a0, a1, a2, a3, a4) => ({ $implicit: a0, item: a1, index: a2, depth: a3, edit: a4 });
32
+ const _c7 = ["modalActionTpl"];
33
+ const _c8 = (a0, a1, a2, a3, a4) => ({ $implicit: a0, item: a1, index: a2, depth: a3, edit: a4 });
32
34
  const _forTrack0 = ($index, $item) => $item.key();
33
35
  function SdDataSheetControl_ng_template_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
34
36
  const _r2 = i0.ɵɵgetCurrentView();
35
- i0.ɵɵelementStart(0, "sd-button", 8);
37
+ i0.ɵɵelementStart(0, "sd-button", 9);
36
38
  i0.ɵɵlistener("click", function SdDataSheetControl_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()); });
37
- i0.ɵɵelement(1, "ng-icon", 9);
39
+ i0.ɵɵelement(1, "ng-icon", 10);
38
40
  i0.ɵɵtext(2, " \uC800\uC7A5 ");
39
41
  i0.ɵɵelementStart(3, "small");
40
42
  i0.ɵɵtext(4, "(CTRL+S)");
@@ -48,15 +50,15 @@ function SdDataSheetControl_ng_template_1_Conditional_0_Template(rf, ctx) { if (
48
50
  function SdDataSheetControl_ng_template_1_ng_template_6_Template(rf, ctx) { }
49
51
  function SdDataSheetControl_ng_template_1_Template(rf, ctx) { if (rf & 1) {
50
52
  const _r1 = i0.ɵɵgetCurrentView();
51
- i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_1_Conditional_0_Template, 5, 2, "sd-button", 7);
52
- i0.ɵɵelementStart(1, "sd-button", 8);
53
+ i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_1_Conditional_0_Template, 5, 2, "sd-button", 8);
54
+ i0.ɵɵelementStart(1, "sd-button", 9);
53
55
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_1_Template_sd_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
54
- i0.ɵɵelement(2, "ng-icon", 9);
56
+ i0.ɵɵelement(2, "ng-icon", 10);
55
57
  i0.ɵɵtext(3, " \uC0C8\uB85C\uACE0\uCE68 ");
56
58
  i0.ɵɵelementStart(4, "small");
57
59
  i0.ɵɵtext(5, "(CTRL+ALT+L)");
58
60
  i0.ɵɵelementEnd()();
59
- i0.ɵɵtemplate(6, SdDataSheetControl_ng_template_1_ng_template_6_Template, 0, 0, "ng-template", 10);
61
+ i0.ɵɵtemplate(6, SdDataSheetControl_ng_template_1_ng_template_6_Template, 0, 0, "ng-template", 11);
60
62
  } if (rf & 2) {
61
63
  const ctx_r2 = i0.ɵɵnextContext();
62
64
  i0.ɵɵconditional(ctx_r2.parent.canEdit() && ctx_r2.parent.submit ? 0 : -1);
@@ -70,21 +72,21 @@ function SdDataSheetControl_ng_template_1_Template(rf, ctx) { if (rf & 1) {
70
72
  function SdDataSheetControl_ng_template_3_Conditional_1_ng_template_11_Template(rf, ctx) { }
71
73
  function SdDataSheetControl_ng_template_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
72
74
  const _r5 = i0.ɵɵgetCurrentView();
73
- i0.ɵɵelementStart(0, "div", 12)(1, "sd-button", 19);
75
+ i0.ɵɵelementStart(0, "div", 13)(1, "sd-button", 20);
74
76
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_1_Template_sd_button_click_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onSubmitButtonClick()); });
75
- i0.ɵɵelement(2, "ng-icon", 9);
77
+ i0.ɵɵelement(2, "ng-icon", 10);
76
78
  i0.ɵɵtext(3, " \uC800\uC7A5 ");
77
79
  i0.ɵɵelementStart(4, "small");
78
80
  i0.ɵɵtext(5, "(CTRL+S)");
79
81
  i0.ɵɵelementEnd()();
80
- i0.ɵɵelementStart(6, "sd-button", 19);
82
+ i0.ɵɵelementStart(6, "sd-button", 20);
81
83
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_1_Template_sd_button_click_6_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
82
- i0.ɵɵelement(7, "ng-icon", 9);
84
+ i0.ɵɵelement(7, "ng-icon", 10);
83
85
  i0.ɵɵtext(8, " \uC0C8\uB85C\uACE0\uCE68 ");
84
86
  i0.ɵɵelementStart(9, "small");
85
87
  i0.ɵɵtext(10, "(CTRL+ALT+L)");
86
88
  i0.ɵɵelementEnd()();
87
- i0.ɵɵtemplate(11, SdDataSheetControl_ng_template_3_Conditional_1_ng_template_11_Template, 0, 0, "ng-template", 10);
89
+ i0.ɵɵtemplate(11, SdDataSheetControl_ng_template_3_Conditional_1_ng_template_11_Template, 0, 0, "ng-template", 11);
88
90
  i0.ɵɵelementEnd();
89
91
  } if (rf & 2) {
90
92
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -101,7 +103,7 @@ function SdDataSheetControl_ng_template_3_Conditional_1_Template(rf, ctx) { if (
101
103
  } }
102
104
  function SdDataSheetControl_ng_template_3_Conditional_2_ng_template_0_Template(rf, ctx) { }
103
105
  function SdDataSheetControl_ng_template_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
104
- i0.ɵɵtemplate(0, SdDataSheetControl_ng_template_3_Conditional_2_ng_template_0_Template, 0, 0, "ng-template", 10);
106
+ i0.ɵɵtemplate(0, SdDataSheetControl_ng_template_3_Conditional_2_ng_template_0_Template, 0, 0, "ng-template", 11);
105
107
  } if (rf & 2) {
106
108
  const ctx_r2 = i0.ɵɵnextContext(2);
107
109
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.prevTplRef() ?? null);
@@ -109,13 +111,13 @@ function SdDataSheetControl_ng_template_3_Conditional_2_Template(rf, ctx) { if (
109
111
  function SdDataSheetControl_ng_template_3_Conditional_3_ng_template_7_Template(rf, ctx) { }
110
112
  function SdDataSheetControl_ng_template_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
111
113
  const _r6 = i0.ɵɵgetCurrentView();
112
- i0.ɵɵelementStart(0, "div", 13)(1, "sd-form", 20);
114
+ i0.ɵɵelementStart(0, "div", 14)(1, "sd-form", 21);
113
115
  i0.ɵɵlistener("formSubmit", function SdDataSheetControl_ng_template_3_Conditional_3_Template_sd_form_formSubmit_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onFilterSubmit()); });
114
- i0.ɵɵelementStart(2, "div", 21)(3, "div")(4, "sd-button", 22);
115
- i0.ɵɵelement(5, "ng-icon", 9);
116
+ i0.ɵɵelementStart(2, "div", 22)(3, "div")(4, "sd-button", 23);
117
+ i0.ɵɵelement(5, "ng-icon", 10);
116
118
  i0.ɵɵtext(6, " \uC870\uD68C ");
117
119
  i0.ɵɵelementEnd()();
118
- i0.ɵɵtemplate(7, SdDataSheetControl_ng_template_3_Conditional_3_ng_template_7_Template, 0, 0, "ng-template", 10);
120
+ i0.ɵɵtemplate(7, SdDataSheetControl_ng_template_3_Conditional_3_ng_template_7_Template, 0, 0, "ng-template", 11);
119
121
  i0.ɵɵelementEnd()()();
120
122
  } if (rf & 2) {
121
123
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -128,9 +130,9 @@ function SdDataSheetControl_ng_template_3_Conditional_3_Template(rf, ctx) { if (
128
130
  } }
129
131
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
130
132
  const _r7 = i0.ɵɵgetCurrentView();
131
- i0.ɵɵelementStart(0, "sd-button", 19);
133
+ i0.ɵɵelementStart(0, "sd-button", 20);
132
134
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onCreateItemButtonClick()); });
133
- i0.ɵɵelement(1, "ng-icon", 9);
135
+ i0.ɵɵelement(1, "ng-icon", 10);
134
136
  i0.ɵɵtext(2);
135
137
  i0.ɵɵelementEnd();
136
138
  } if (rf & 2) {
@@ -143,9 +145,9 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
143
145
  } }
144
146
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
145
147
  const _r8 = i0.ɵɵgetCurrentView();
146
- i0.ɵɵelementStart(0, "sd-button", 19);
148
+ i0.ɵɵelementStart(0, "sd-button", 20);
147
149
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onAddItemButtonClick()); });
148
- i0.ɵɵelement(1, "ng-icon", 9);
150
+ i0.ɵɵelement(1, "ng-icon", 10);
149
151
  i0.ɵɵtext(2, " \uD589 \uCD94\uAC00 ");
150
152
  i0.ɵɵelementEnd();
151
153
  } if (rf & 2) {
@@ -155,7 +157,7 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
155
157
  i0.ɵɵproperty("svg", ctx_r2.icons.tablerCirclePlus);
156
158
  } }
157
159
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
158
- i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template, 3, 4, "sd-button", 24)(1, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template, 3, 3, "sd-button", 24);
160
+ i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template, 3, 4, "sd-button", 25)(1, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template, 3, 3, "sd-button", 25);
159
161
  } if (rf & 2) {
160
162
  const ctx_r2 = i0.ɵɵnextContext(4);
161
163
  i0.ɵɵconditional(ctx_r2.parent.editMode === "modal" && ctx_r2.parent.editItem ? 0 : ctx_r2.parent.editMode === "inline" && ctx_r2.parent.newItem ? 1 : -1);
@@ -163,9 +165,9 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
163
165
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_ng_template_2_Template(rf, ctx) { }
164
166
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
165
167
  const _r10 = i0.ɵɵgetCurrentView();
166
- i0.ɵɵelementStart(0, "sd-button", 19);
168
+ i0.ɵɵelementStart(0, "sd-button", 20);
167
169
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r2.onToggleDeleteItemsButtonClick(false)); });
168
- i0.ɵɵelement(1, "ng-icon", 9);
170
+ i0.ɵɵelement(1, "ng-icon", 10);
169
171
  i0.ɵɵtext(2);
170
172
  i0.ɵɵelementEnd();
171
173
  } if (rf & 2) {
@@ -178,12 +180,12 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
178
180
  } }
179
181
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
180
182
  const _r9 = i0.ɵɵgetCurrentView();
181
- i0.ɵɵelementStart(0, "sd-button", 25);
183
+ i0.ɵɵelementStart(0, "sd-button", 26);
182
184
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onToggleDeleteItemsButtonClick(true)); });
183
- i0.ɵɵelement(1, "ng-icon", 9);
185
+ i0.ɵɵelement(1, "ng-icon", 10);
184
186
  i0.ɵɵtext(2);
185
187
  i0.ɵɵelementEnd();
186
- i0.ɵɵconditionalCreate(3, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template, 3, 4, "sd-button", 24);
188
+ i0.ɵɵconditionalCreate(3, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template, 3, 4, "sd-button", 25);
187
189
  } if (rf & 2) {
188
190
  const ctx_r2 = i0.ɵɵnextContext(5);
189
191
  i0.ɵɵproperty("size", "sm")("theme", "link-danger")("disabled", !ctx_r2.parent.isSelectedItemsHasNotDeleted());
@@ -196,9 +198,9 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
196
198
  } }
197
199
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
198
200
  const _r11 = i0.ɵɵgetCurrentView();
199
- i0.ɵɵelementStart(0, "sd-button", 19);
201
+ i0.ɵɵelementStart(0, "sd-button", 20);
200
202
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onUploadExcelButtonClick()); });
201
- i0.ɵɵelement(1, "ng-icon", 9);
203
+ i0.ɵɵelement(1, "ng-icon", 10);
202
204
  i0.ɵɵtext(2, " \uC5D1\uC140 \uC5C5\uB85C\uB4DC ");
203
205
  i0.ɵɵelementEnd();
204
206
  } if (rf & 2) {
@@ -209,7 +211,7 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
209
211
  } }
210
212
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
211
213
  i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Template, 4, 6);
212
- i0.ɵɵconditionalCreate(1, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template, 3, 3, "sd-button", 24);
214
+ i0.ɵɵconditionalCreate(1, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template, 3, 3, "sd-button", 25);
213
215
  } if (rf & 2) {
214
216
  const ctx_r2 = i0.ɵɵnextContext(4);
215
217
  i0.ɵɵconditional(ctx_r2.parent.editMode === "modal" && ctx_r2.parent.toggleDeleteItems ? 0 : -1);
@@ -218,9 +220,9 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
218
220
  } }
219
221
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
220
222
  const _r12 = i0.ɵɵgetCurrentView();
221
- i0.ɵɵelementStart(0, "sd-button", 19);
223
+ i0.ɵɵelementStart(0, "sd-button", 20);
222
224
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.onDownloadExcelButtonClick()); });
223
- i0.ɵɵelement(1, "ng-icon", 9);
225
+ i0.ɵɵelement(1, "ng-icon", 10);
224
226
  i0.ɵɵtext(2, " \uC5D1\uC140 \uB2E4\uC6B4\uB85C\uB4DC ");
225
227
  i0.ɵɵelementEnd();
226
228
  } if (rf & 2) {
@@ -231,12 +233,12 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
231
233
  } }
232
234
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_ng_template_5_Template(rf, ctx) { }
233
235
  function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
234
- i0.ɵɵelementStart(0, "div", 23);
236
+ i0.ɵɵelementStart(0, "div", 24);
235
237
  i0.ɵɵconditionalCreate(1, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Template, 2, 1);
236
- i0.ɵɵtemplate(2, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_ng_template_2_Template, 0, 0, "ng-template", 10);
238
+ i0.ɵɵtemplate(2, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_ng_template_2_Template, 0, 0, "ng-template", 11);
237
239
  i0.ɵɵconditionalCreate(3, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Template, 2, 2);
238
- i0.ɵɵconditionalCreate(4, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template, 3, 3, "sd-button", 24);
239
- i0.ɵɵtemplate(5, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_ng_template_5_Template, 0, 0, "ng-template", 10);
240
+ i0.ɵɵconditionalCreate(4, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template, 3, 3, "sd-button", 25);
241
+ i0.ɵɵtemplate(5, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_ng_template_5_Template, 0, 0, "ng-template", 11);
240
242
  i0.ɵɵelementEnd();
241
243
  } if (rf & 2) {
242
244
  const ctx_r2 = i0.ɵɵnextContext(3);
@@ -252,16 +254,16 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Template(r
252
254
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.toolTplRef() ?? null);
253
255
  } }
254
256
  function SdDataSheetControl_ng_template_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
255
- i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Template, 6, 5, "div", 23);
257
+ i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Template, 6, 5, "div", 24);
256
258
  } if (rf & 2) {
257
259
  const ctx_r2 = i0.ɵɵnextContext(2);
258
260
  i0.ɵɵconditional(ctx_r2.parent.canEdit() || ctx_r2.beforeToolTplRef() || ctx_r2.parent.downloadExcel ? 0 : -1);
259
261
  } }
260
262
  function SdDataSheetControl_ng_template_3_Conditional_8_ng_template_1_Template(rf, ctx) { if (rf & 1) {
261
263
  const _r13 = i0.ɵɵgetCurrentView();
262
- i0.ɵɵelementStart(0, "div", 26)(1, "sd-anchor", 27);
264
+ i0.ɵɵelementStart(0, "div", 27)(1, "sd-anchor", 28);
263
265
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_Conditional_8_ng_template_1_Template_sd_anchor_click_1_listener() { const item_r14 = i0.ɵɵrestoreView(_r13).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onToggleDeleteItemButtonClick(item_r14)); });
264
- i0.ɵɵelement(2, "ng-icon", 9);
266
+ i0.ɵɵelement(2, "ng-icon", 10);
265
267
  i0.ɵɵtext(3);
266
268
  i0.ɵɵelementEnd()();
267
269
  } if (rf & 2) {
@@ -275,7 +277,7 @@ function SdDataSheetControl_ng_template_3_Conditional_8_ng_template_1_Template(r
275
277
  i0.ɵɵtextInterpolate1(" ", item_r14[ctx_r2.parent.itemPropInfo.isDeleted] ? ctx_r2.restoreText() ?? "\uBCF5\uAD6C" : ctx_r2.deleteText() ?? "\uC0AD\uC81C", " ");
276
278
  } }
277
279
  function SdDataSheetControl_ng_template_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
278
- i0.ɵɵelementStart(0, "sd-sheet-column", 16);
280
+ i0.ɵɵelementStart(0, "sd-sheet-column", 17);
279
281
  i0.ɵɵtemplate(1, SdDataSheetControl_ng_template_3_Conditional_8_ng_template_1_Template, 4, 4, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
280
282
  i0.ɵɵelementEnd();
281
283
  } if (rf & 2) {
@@ -284,7 +286,7 @@ function SdDataSheetControl_ng_template_3_Conditional_8_Template(rf, ctx) { if (
284
286
  } }
285
287
  function SdDataSheetControl_ng_template_3_For_10_Conditional_1_ng_template_0_ng_template_0_Template(rf, ctx) { }
286
288
  function SdDataSheetControl_ng_template_3_For_10_Conditional_1_ng_template_0_Template(rf, ctx) { if (rf & 1) {
287
- i0.ɵɵtemplate(0, SdDataSheetControl_ng_template_3_For_10_Conditional_1_ng_template_0_ng_template_0_Template, 0, 0, "ng-template", 10);
289
+ i0.ɵɵtemplate(0, SdDataSheetControl_ng_template_3_For_10_Conditional_1_ng_template_0_ng_template_0_Template, 0, 0, "ng-template", 11);
288
290
  } if (rf & 2) {
289
291
  const columnControl_r15 = i0.ɵɵnextContext(2).$implicit;
290
292
  i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.summaryTplRef());
@@ -295,13 +297,13 @@ function SdDataSheetControl_ng_template_3_For_10_Conditional_1_Template(rf, ctx)
295
297
  function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_ng_template_4_Template(rf, ctx) { }
296
298
  function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
297
299
  const _r16 = i0.ɵɵgetCurrentView();
298
- i0.ɵɵelementStart(0, "sd-anchor", 30);
300
+ i0.ɵɵelementStart(0, "sd-anchor", 31);
299
301
  i0.ɵɵlistener("click", function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_Template_sd_anchor_click_0_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r16 = i0.ɵɵnextContext(); const item_r18 = ctx_r16.$implicit; const index_r19 = ctx_r16.index; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onEditItemButtonClick(item_r18, index_r19, $event)); });
300
- i0.ɵɵelementStart(1, "div", 31);
301
- i0.ɵɵelement(2, "ng-icon", 9);
302
+ i0.ɵɵelementStart(1, "div", 32);
303
+ i0.ɵɵelement(2, "ng-icon", 10);
302
304
  i0.ɵɵelementEnd();
303
- i0.ɵɵelementStart(3, "div", 32);
304
- i0.ɵɵtemplate(4, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_ng_template_4_Template, 0, 0, "ng-template", 29);
305
+ i0.ɵɵelementStart(3, "div", 33);
306
+ i0.ɵɵtemplate(4, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_ng_template_4_Template, 0, 0, "ng-template", 30);
305
307
  i0.ɵɵelementEnd()();
306
308
  } if (rf & 2) {
307
309
  const ctx_r16 = i0.ɵɵnextContext();
@@ -314,11 +316,11 @@ function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_Tem
314
316
  i0.ɵɵadvance(2);
315
317
  i0.ɵɵproperty("svg", ctx_r2.icons.tablerEdit);
316
318
  i0.ɵɵadvance(2);
317
- i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.cellTplRef())("ngTemplateOutletContext", i0.ɵɵpureFunction5(3, _c7, item_r18, item_r18, index_r19, depth_r20, edit_r21));
319
+ i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.cellTplRef())("ngTemplateOutletContext", i0.ɵɵpureFunction5(3, _c8, item_r18, item_r18, index_r19, depth_r20, edit_r21));
318
320
  } }
319
321
  function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_ng_template_0_Template(rf, ctx) { }
320
322
  function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
321
- i0.ɵɵtemplate(0, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_ng_template_0_Template, 0, 0, "ng-template", 29);
323
+ i0.ɵɵtemplate(0, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_ng_template_0_Template, 0, 0, "ng-template", 30);
322
324
  } if (rf & 2) {
323
325
  const ctx_r16 = i0.ɵɵnextContext();
324
326
  const item_r18 = ctx_r16.$implicit;
@@ -326,10 +328,10 @@ function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_Tem
326
328
  const depth_r20 = ctx_r16.depth;
327
329
  const edit_r21 = ctx_r16.edit;
328
330
  const columnControl_r15 = i0.ɵɵnextContext().$implicit;
329
- i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.cellTplRef())("ngTemplateOutletContext", i0.ɵɵpureFunction5(2, _c7, item_r18, item_r18, index_r19, depth_r20, edit_r21));
331
+ i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.cellTplRef())("ngTemplateOutletContext", i0.ɵɵpureFunction5(2, _c8, item_r18, item_r18, index_r19, depth_r20, edit_r21));
330
332
  } }
331
333
  function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Template(rf, ctx) { if (rf & 1) {
332
- i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_Template, 5, 9, "sd-anchor", 28)(1, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_Template, 1, 8, null, 29);
334
+ i0.ɵɵconditionalCreate(0, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_Template, 5, 9, "sd-anchor", 29)(1, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_Template, 1, 8, null, 30);
333
335
  } if (rf & 2) {
334
336
  const item_r18 = ctx.$implicit;
335
337
  const columnControl_r15 = i0.ɵɵnextContext().$implicit;
@@ -337,7 +339,7 @@ function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Template(rf, ctx)
337
339
  i0.ɵɵconditional(ctx_r2.parent.editMode === "modal" && ctx_r2.parent.canEdit() && columnControl_r15.edit() && ctx_r2.parent.getItemInfoFn(item_r18).canEdit ? 0 : 1);
338
340
  } }
339
341
  function SdDataSheetControl_ng_template_3_For_10_Template(rf, ctx) { if (rf & 1) {
340
- i0.ɵɵelementStart(0, "sd-sheet-column", 17);
342
+ i0.ɵɵelementStart(0, "sd-sheet-column", 18);
341
343
  i0.ɵɵconditionalCreate(1, SdDataSheetControl_ng_template_3_For_10_Conditional_1_Template, 2, 0);
342
344
  i0.ɵɵtemplate(2, SdDataSheetControl_ng_template_3_For_10_ng_template_2_Template, 2, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
343
345
  i0.ɵɵelementEnd();
@@ -348,7 +350,7 @@ function SdDataSheetControl_ng_template_3_For_10_Template(rf, ctx) { if (rf & 1)
348
350
  i0.ɵɵconditional(columnControl_r15.summaryTplRef() ? 1 : -1);
349
351
  } }
350
352
  function SdDataSheetControl_ng_template_3_Conditional_11_ng_template_1_Template(rf, ctx) { if (rf & 1) {
351
- i0.ɵɵelementStart(0, "div", 26);
353
+ i0.ɵɵelementStart(0, "div", 27);
352
354
  i0.ɵɵtext(1);
353
355
  i0.ɵɵpipe(2, "format");
354
356
  i0.ɵɵelementEnd();
@@ -359,7 +361,7 @@ function SdDataSheetControl_ng_template_3_Conditional_11_ng_template_1_Template(
359
361
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, item_r22[ctx_r2.parent.itemPropInfo.lastModifiedAt], "yyyy-MM-dd HH:mm"), " ");
360
362
  } }
361
363
  function SdDataSheetControl_ng_template_3_Conditional_11_Template(rf, ctx) { if (rf & 1) {
362
- i0.ɵɵelementStart(0, "sd-sheet-column", 18);
364
+ i0.ɵɵelementStart(0, "sd-sheet-column", 19);
363
365
  i0.ɵɵtemplate(1, SdDataSheetControl_ng_template_3_Conditional_11_ng_template_1_Template, 3, 4, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
364
366
  i0.ɵɵelementEnd();
365
367
  } if (rf & 2) {
@@ -367,7 +369,7 @@ function SdDataSheetControl_ng_template_3_Conditional_11_Template(rf, ctx) { if
367
369
  i0.ɵɵproperty("header", "\uC218\uC815\uC77C\uC2DC")("key", ctx_r2.parent.itemPropInfo.lastModifiedAt)("hidden", true);
368
370
  } }
369
371
  function SdDataSheetControl_ng_template_3_Conditional_12_ng_template_1_Template(rf, ctx) { if (rf & 1) {
370
- i0.ɵɵelementStart(0, "div", 26);
372
+ i0.ɵɵelementStart(0, "div", 27);
371
373
  i0.ɵɵtext(1);
372
374
  i0.ɵɵelementEnd();
373
375
  } if (rf & 2) {
@@ -377,7 +379,7 @@ function SdDataSheetControl_ng_template_3_Conditional_12_ng_template_1_Template(
377
379
  i0.ɵɵtextInterpolate1(" ", item_r23[ctx_r2.parent.itemPropInfo.lastModifiedBy], " ");
378
380
  } }
379
381
  function SdDataSheetControl_ng_template_3_Conditional_12_Template(rf, ctx) { if (rf & 1) {
380
- i0.ɵɵelementStart(0, "sd-sheet-column", 18);
382
+ i0.ɵɵelementStart(0, "sd-sheet-column", 19);
381
383
  i0.ɵɵtemplate(1, SdDataSheetControl_ng_template_3_Conditional_12_ng_template_1_Template, 2, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
382
384
  i0.ɵɵelementEnd();
383
385
  } if (rf & 2) {
@@ -386,18 +388,18 @@ function SdDataSheetControl_ng_template_3_Conditional_12_Template(rf, ctx) { if
386
388
  } }
387
389
  function SdDataSheetControl_ng_template_3_Template(rf, ctx) { if (rf & 1) {
388
390
  const _r4 = i0.ɵɵgetCurrentView();
389
- i0.ɵɵelementStart(0, "div", 11);
390
- i0.ɵɵconditionalCreate(1, SdDataSheetControl_ng_template_3_Conditional_1_Template, 12, 7, "div", 12)(2, SdDataSheetControl_ng_template_3_Conditional_2_Template, 1, 1, null, 10);
391
- i0.ɵɵconditionalCreate(3, SdDataSheetControl_ng_template_3_Conditional_3_Template, 8, 4, "div", 13);
391
+ i0.ɵɵelementStart(0, "div", 12);
392
+ i0.ɵɵconditionalCreate(1, SdDataSheetControl_ng_template_3_Conditional_1_Template, 12, 7, "div", 13)(2, SdDataSheetControl_ng_template_3_Conditional_2_Template, 1, 1, null, 11);
393
+ i0.ɵɵconditionalCreate(3, SdDataSheetControl_ng_template_3_Conditional_3_Template, 8, 4, "div", 14);
392
394
  i0.ɵɵconditionalCreate(4, SdDataSheetControl_ng_template_3_Conditional_4_Template, 1, 1);
393
- i0.ɵɵelementStart(5, "sd-form", 14, 2);
395
+ i0.ɵɵelementStart(5, "sd-form", 15, 2);
394
396
  i0.ɵɵlistener("formSubmit", function SdDataSheetControl_ng_template_3_Template_sd_form_formSubmit_5_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onSubmit()); });
395
- i0.ɵɵelementStart(7, "sd-sheet", 15);
397
+ i0.ɵɵelementStart(7, "sd-sheet", 16);
396
398
  i0.ɵɵtwoWayListener("currentPageChange", function SdDataSheetControl_ng_template_3_Template_sd_sheet_currentPageChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.parent.page, $event) || (ctx_r2.parent.page = $event); return i0.ɵɵresetView($event); })("sortsChange", function SdDataSheetControl_ng_template_3_Template_sd_sheet_sortsChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.parent.sortingDefs, $event) || (ctx_r2.parent.sortingDefs = $event); return i0.ɵɵresetView($event); })("selectedItemsChange", function SdDataSheetControl_ng_template_3_Template_sd_sheet_selectedItemsChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.parent.selectedItems, $event) || (ctx_r2.parent.selectedItems = $event); return i0.ɵɵresetView($event); });
397
- i0.ɵɵconditionalCreate(8, SdDataSheetControl_ng_template_3_Conditional_8_Template, 3, 2, "sd-sheet-column", 16);
398
- i0.ɵɵrepeaterCreate(9, SdDataSheetControl_ng_template_3_For_10_Template, 4, 9, "sd-sheet-column", 17, _forTrack0);
399
- i0.ɵɵconditionalCreate(11, SdDataSheetControl_ng_template_3_Conditional_11_Template, 3, 3, "sd-sheet-column", 18);
400
- i0.ɵɵconditionalCreate(12, SdDataSheetControl_ng_template_3_Conditional_12_Template, 3, 3, "sd-sheet-column", 18);
399
+ i0.ɵɵconditionalCreate(8, SdDataSheetControl_ng_template_3_Conditional_8_Template, 3, 2, "sd-sheet-column", 17);
400
+ i0.ɵɵrepeaterCreate(9, SdDataSheetControl_ng_template_3_For_10_Template, 4, 9, "sd-sheet-column", 18, _forTrack0);
401
+ i0.ɵɵconditionalCreate(11, SdDataSheetControl_ng_template_3_Conditional_11_Template, 3, 3, "sd-sheet-column", 19);
402
+ i0.ɵɵconditionalCreate(12, SdDataSheetControl_ng_template_3_Conditional_12_Template, 3, 3, "sd-sheet-column", 19);
401
403
  i0.ɵɵelementEnd()()();
402
404
  } if (rf & 2) {
403
405
  const ctx_r2 = i0.ɵɵnextContext();
@@ -426,14 +428,14 @@ function SdDataSheetControl_ng_template_3_Template(rf, ctx) { if (rf & 1) {
426
428
  } }
427
429
  function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_2_ng_template_0_Template(rf, ctx) { }
428
430
  function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
429
- i0.ɵɵtemplate(0, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_2_ng_template_0_Template, 0, 0, "ng-template", 10);
431
+ i0.ɵɵtemplate(0, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_2_ng_template_0_Template, 0, 0, "ng-template", 11);
430
432
  } if (rf & 2) {
431
433
  const ctx_r2 = i0.ɵɵnextContext(3);
432
434
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.modalBottomTplRef());
433
435
  } }
434
436
  function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
435
437
  const _r24 = i0.ɵɵgetCurrentView();
436
- i0.ɵɵelementStart(0, "sd-button", 19);
438
+ i0.ɵɵelementStart(0, "sd-button", 20);
437
439
  i0.ɵɵlistener("click", function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_3_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r24); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onCancelButtonClick()); });
438
440
  i0.ɵɵtext(1);
439
441
  i0.ɵɵelementEnd();
@@ -445,7 +447,7 @@ function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_3_Template(r
445
447
  } }
446
448
  function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
447
449
  const _r25 = i0.ɵɵgetCurrentView();
448
- i0.ɵɵelementStart(0, "sd-button", 19);
450
+ i0.ɵɵelementStart(0, "sd-button", 20);
449
451
  i0.ɵɵlistener("click", function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_4_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r25); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onConfirmButtonClick()); });
450
452
  i0.ɵɵtext(1);
451
453
  i0.ɵɵelementEnd();
@@ -456,11 +458,11 @@ function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_4_Template(r
456
458
  i0.ɵɵtextInterpolate1(" \uD655\uC778(", ctx_r2.parent.selectedItemKeys().length, ") ");
457
459
  } }
458
460
  function SdDataSheetControl_Conditional_5_ng_template_0_Template(rf, ctx) { if (rf & 1) {
459
- i0.ɵɵelementStart(0, "div", 33)(1, "div", 34);
460
- i0.ɵɵconditionalCreate(2, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_2_Template, 1, 1, null, 10);
461
+ i0.ɵɵelementStart(0, "div", 34)(1, "div", 35);
462
+ i0.ɵɵconditionalCreate(2, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_2_Template, 1, 1, null, 11);
461
463
  i0.ɵɵelementEnd();
462
- i0.ɵɵconditionalCreate(3, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_3_Template, 2, 3, "sd-button", 24);
463
- i0.ɵɵconditionalCreate(4, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_4_Template, 2, 3, "sd-button", 24);
464
+ i0.ɵɵconditionalCreate(3, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_3_Template, 2, 3, "sd-button", 25);
465
+ i0.ɵɵconditionalCreate(4, SdDataSheetControl_Conditional_5_ng_template_0_Conditional_4_Template, 2, 3, "sd-button", 25);
464
466
  i0.ɵɵelementEnd();
465
467
  } if (rf & 2) {
466
468
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -471,8 +473,20 @@ function SdDataSheetControl_Conditional_5_ng_template_0_Template(rf, ctx) { if (
471
473
  i0.ɵɵadvance();
472
474
  i0.ɵɵconditional(ctx_r2.parent.selectMode() === "multi" ? 4 : -1);
473
475
  } }
476
+ function SdDataSheetControl_Conditional_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
477
+ const _r26 = i0.ɵɵgetCurrentView();
478
+ i0.ɵɵelementStart(0, "sd-anchor", 36);
479
+ i0.ɵɵlistener("click", function SdDataSheetControl_Conditional_5_ng_template_2_Template_sd_anchor_click_0_listener() { i0.ɵɵrestoreView(_r26); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
480
+ i0.ɵɵelement(1, "ng-icon", 10);
481
+ i0.ɵɵelementEnd();
482
+ } if (rf & 2) {
483
+ const ctx_r2 = i0.ɵɵnextContext(2);
484
+ i0.ɵɵproperty("theme", "gray");
485
+ i0.ɵɵadvance();
486
+ i0.ɵɵproperty("svg", ctx_r2.icons.tablerRefresh);
487
+ } }
474
488
  function SdDataSheetControl_Conditional_5_Template(rf, ctx) { if (rf & 1) {
475
- i0.ɵɵtemplate(0, SdDataSheetControl_Conditional_5_ng_template_0_Template, 5, 3, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
489
+ i0.ɵɵtemplate(0, SdDataSheetControl_Conditional_5_ng_template_0_Template, 5, 3, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor)(2, SdDataSheetControl_Conditional_5_ng_template_2_Template, 2, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
476
490
  } }
477
491
  //#endregion
478
492
  //#region AbsSdDataSheet
@@ -535,22 +549,26 @@ export class AbsSdDataSheet {
535
549
  this.filter.set(filter);
536
550
  this.lastFilter.set(obj.clone(filter));
537
551
  });
538
- effect(() => {
552
+ effect((onCleanup) => {
539
553
  this.page();
540
554
  this.lastFilter();
541
555
  this.sortingDefs();
542
556
  this.prepareRefreshEffect?.();
557
+ let cancelled = false;
558
+ onCleanup(() => {
559
+ cancelled = true;
560
+ });
543
561
  queueMicrotask(async () => {
562
+ if (cancelled)
563
+ return;
544
564
  if (!this.canUse()) {
545
565
  this.initialized.set(true);
546
566
  return;
547
567
  }
548
- this.busyCount.update((v) => v + 1);
549
- await this._sdToast.try(async () => {
568
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
550
569
  await this._sdSharedData.wait();
551
570
  await this.refresh();
552
- });
553
- this.busyCount.update((v) => v - 1);
571
+ }));
554
572
  this.initialized.set(true);
555
573
  });
556
574
  });
@@ -585,18 +603,17 @@ export class AbsSdDataSheet {
585
603
  this._itemsSnapshot = obj.clone(result.items);
586
604
  this.pageLength.set(result.pageLength ?? 0);
587
605
  this.summaryData.set(result.summary ?? {});
588
- this.selectedItems.set(this.items().filter((item) => this.selectedItems().some((sel) => this.getItemInfoFn(sel).key === this.getItemInfoFn(item).key)));
606
+ const selectedKeySet = new Set(this.selectedItems().map((sel) => this.getItemInfoFn(sel).key));
607
+ this.selectedItems.set(this.items().filter((item) => selectedKeySet.has(this.getItemInfoFn(item).key)));
589
608
  }
590
609
  //-- inline edit
591
610
  async doAddItem() {
592
611
  if (!this.newItem)
593
612
  return;
594
- this.busyCount.update((v) => v + 1);
595
- await this._sdToast.try(async () => {
613
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
596
614
  const newItem = await this.newItem();
597
615
  this.items.update((items) => [newItem, ...items]);
598
- });
599
- this.busyCount.update((v) => v - 1);
616
+ }));
600
617
  }
601
618
  async doSubmit(opt) {
602
619
  if (this.busyCount() > 0)
@@ -612,16 +629,14 @@ export class AbsSdDataSheet {
612
629
  }
613
630
  return;
614
631
  }
615
- this.busyCount.update((v) => v + 1);
616
- await this._sdToast.try(async () => {
632
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
617
633
  const result = await this.submit(diffs);
618
634
  if (!result)
619
635
  return;
620
636
  this._sdToast.success("저장되었습니다.");
621
637
  await this.refresh();
622
- }, (err) => this._getOrmDataEditToastErrorMessage(err));
623
- this.busyCount.update((v) => v - 1);
624
- this.submitted.emit(true);
638
+ this.submitted.emit(true);
639
+ }, (err) => this._getOrmDataEditToastErrorMessage(err)));
625
640
  }
626
641
  doToggleDeleteItem(item) {
627
642
  if (!this.canEdit())
@@ -642,37 +657,31 @@ export class AbsSdDataSheet {
642
657
  const result = await this.editItem(item);
643
658
  if (!result)
644
659
  return;
645
- this.busyCount.update((v) => v + 1);
646
- await this._sdToast.try(async () => {
660
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
647
661
  await this.refresh();
648
- });
649
- this.busyCount.update((v) => v - 1);
662
+ }));
650
663
  }
651
664
  async doToggleDeleteItems(del) {
652
665
  if (!this.canEdit())
653
666
  return;
654
667
  if (!this.toggleDeleteItems)
655
668
  return;
656
- this.busyCount.update((v) => v + 1);
657
- await this._sdToast.try(async () => {
669
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
658
670
  const result = await this.toggleDeleteItems(del);
659
671
  if (!result)
660
672
  return;
661
673
  await this.refresh();
662
674
  this._sdToast.success(`${del ? "삭제" : "복구"} 되었습니다.`);
663
- }, (err) => this._getOrmDataEditToastErrorMessage(err));
664
- this.busyCount.update((v) => v - 1);
675
+ }, (err) => this._getOrmDataEditToastErrorMessage(err)));
665
676
  }
666
677
  //-- excel
667
678
  async doDownloadExcel() {
668
679
  if (!this.downloadExcel)
669
680
  return;
670
- this.busyCount.update((v) => v + 1);
671
- await this._sdToast.try(async () => {
681
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
672
682
  const items = (await this.search(false)).items;
673
683
  await this.downloadExcel(items);
674
- });
675
- this.busyCount.update((v) => v - 1);
684
+ }));
676
685
  }
677
686
  async doUploadExcel() {
678
687
  if (!this.uploadExcel)
@@ -680,13 +689,11 @@ export class AbsSdDataSheet {
680
689
  const file = await this._sdFileDialog.showAsync(false, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
681
690
  if (!file)
682
691
  return;
683
- this.busyCount.update((v) => v + 1);
684
- await this._sdToast.try(async () => {
692
+ await withBusy(this.busyCount, () => this._sdToast.try(async () => {
685
693
  await this.uploadExcel(file);
686
694
  await this.refresh();
687
695
  this._sdToast.success("엑셀 업로드가 완료 되었습니다.");
688
- }, (err) => this._getOrmDataEditToastErrorMessage(err));
689
- this.busyCount.update((v) => v - 1);
696
+ }, (err) => this._getOrmDataEditToastErrorMessage(err)));
690
697
  }
691
698
  //-- modal selection
692
699
  doModalConfirm() {
@@ -736,6 +743,12 @@ export class SdDataSheetControl {
736
743
  toolTplRef = contentChild("toolTpl", { ...(ngDevMode ? { debugName: "toolTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
737
744
  modalBottomTplRef = contentChild("modalBottomTpl", { ...(ngDevMode ? { debugName: "modalBottomTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
738
745
  columnControls = contentChildren(SdDataSheetColumnDirective, ...(ngDevMode ? [{ debugName: "columnControls" }] : /* istanbul ignore next */ []));
746
+ modalActionTplRef = viewChild("modalActionTpl", { ...(ngDevMode ? { debugName: "modalActionTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
747
+ constructor() {
748
+ effect(() => {
749
+ this.parent.actionTplRef = this.modalActionTplRef();
750
+ });
751
+ }
739
752
  icons = {
740
753
  tablerRefresh,
741
754
  tablerDeviceFloppy,
@@ -792,15 +805,15 @@ export class SdDataSheetControl {
792
805
  } if (rf & 2) {
793
806
  i0.ɵɵqueryAdvance(7);
794
807
  } }, viewQuery: function SdDataSheetControl_Query(rf, ctx) { if (rf & 1) {
795
- i0.ɵɵviewQuerySignal(ctx.formCtrl, _c6, 5);
808
+ i0.ɵɵviewQuerySignal(ctx.formCtrl, _c6, 5)(ctx.modalActionTplRef, _c7, 5, TemplateRef);
796
809
  } if (rf & 2) {
797
- i0.ɵɵqueryAdvance();
810
+ i0.ɵɵqueryAdvance(2);
798
811
  } }, hostBindings: function SdDataSheetControl_HostBindings(rf, ctx) { if (rf & 1) {
799
812
  i0.ɵɵlistener("sdRefreshCommand", function SdDataSheetControl_sdRefreshCommand_HostBindingHandler() { return ctx.onRefreshButtonClick(); })("sdSaveCommand", function SdDataSheetControl_sdSaveCommand_HostBindingHandler() { return ctx.onSubmitButtonClick(); });
800
- } }, inputs: { insertText: [1, "insertText"], deleteText: [1, "deleteText"], restoreText: [1, "restoreText"], deleteIcon: [1, "deleteIcon"], restoreIcon: [1, "restoreIcon"] }, decls: 6, vars: 6, consts: [["pageTopbarTpl", ""], ["contentTpl", ""], ["formCtrl", ""], ["cellTpl", ""], ["summaryTpl", ""], ["modalBottomTpl", ""], [3, "busy", "busyMessage", "viewType", "initialized", "restricted"], [3, "theme"], [3, "click", "theme"], [3, "svg"], [3, "ngTemplateOutlet"], [1, "flex-column", "fill"], [1, "flex-row", "gap-sm", "p-default", "bdb", "bdb-theme-gray-lightest"], [1, "p-default"], [1, "flex-fill", "p-default", "pt-0", 3, "formSubmit"], [3, "currentPageChange", "sortsChange", "selectedItemsChange", "key", "items", "currentPage", "totalPageCount", "sorts", "selectMode", "autoSelect", "selectedItems", "trackByFn", "getItemCellStyleFn", "getItemSelectableFn"], [3, "fixed", "key"], [3, "key", "fixed", "header", "width", "disableSorting", "disableResizing", "hidden", "collapse"], [3, "header", "key", "hidden"], [3, "click", "size", "theme"], [3, "formSubmit"], [1, "form-box-inline"], [3, "type", "theme"], [1, "flex-row", "gap-sm", "p-xs-default"], [3, "size", "theme"], [3, "click", "size", "theme", "disabled"], [1, "p-xs-sm", "tx-center"], [3, "click", "theme", "disabled"], [1, "flex-row"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "flex-row", 3, "click"], [1, "p-xs-sm"], [1, "flex-fill"], [1, "p-sm-default", "flex-row", "gap-sm"], [1, "flex-fill", "flex-row", "gap-sm"]], template: function SdDataSheetControl_Template(rf, ctx) { if (rf & 1) {
801
- i0.ɵɵelementStart(0, "sd-base-container", 6);
813
+ } }, inputs: { insertText: [1, "insertText"], deleteText: [1, "deleteText"], restoreText: [1, "restoreText"], deleteIcon: [1, "deleteIcon"], restoreIcon: [1, "restoreIcon"] }, decls: 6, vars: 6, consts: [["pageTopbarTpl", ""], ["contentTpl", ""], ["formCtrl", ""], ["cellTpl", ""], ["summaryTpl", ""], ["modalBottomTpl", ""], ["modalActionTpl", ""], [3, "busy", "busyMessage", "viewType", "initialized", "restricted"], [3, "theme"], [3, "click", "theme"], [3, "svg"], [3, "ngTemplateOutlet"], [1, "flex-column", "fill"], [1, "flex-row", "gap-sm", "p-default", "bdb", "bdb-theme-gray-lightest"], [1, "p-default"], [1, "flex-fill", "p-default", "pt-0", 3, "formSubmit"], [3, "currentPageChange", "sortsChange", "selectedItemsChange", "key", "items", "currentPage", "totalPageCount", "sorts", "selectMode", "autoSelect", "selectedItems", "trackByFn", "getItemCellStyleFn", "getItemSelectableFn"], [3, "fixed", "key"], [3, "key", "fixed", "header", "width", "disableSorting", "disableResizing", "hidden", "collapse"], [3, "header", "key", "hidden"], [3, "click", "size", "theme"], [3, "formSubmit"], [1, "form-box-inline"], [3, "type", "theme"], [1, "flex-row", "gap-sm", "p-xs-default"], [3, "size", "theme"], [3, "click", "size", "theme", "disabled"], [1, "p-xs-sm", "tx-center"], [3, "click", "theme", "disabled"], [1, "flex-row"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "flex-row", 3, "click"], [1, "p-xs-sm"], [1, "flex-fill"], [1, "p-sm-default", "flex-row", "gap-sm"], [1, "flex-fill", "flex-row", "gap-sm"], ["title", "\uC0C8\uB85C\uACE0\uCE68(CTRL+ALT+L)", 1, "p-sm-default", 3, "click", "theme"]], template: function SdDataSheetControl_Template(rf, ctx) { if (rf & 1) {
814
+ i0.ɵɵelementStart(0, "sd-base-container", 7);
802
815
  i0.ɵɵtemplate(1, SdDataSheetControl_ng_template_1_Template, 7, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(3, SdDataSheetControl_ng_template_3_Template, 13, 17, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
803
- i0.ɵɵconditionalCreate(5, SdDataSheetControl_Conditional_5_Template, 2, 0);
816
+ i0.ɵɵconditionalCreate(5, SdDataSheetControl_Conditional_5_Template, 4, 0);
804
817
  i0.ɵɵelementEnd();
805
818
  } if (rf & 2) {
806
819
  i0.ɵɵproperty("busy", ctx.parent.busyCount() > 0)("busyMessage", ctx.parent.busyMessage())("viewType", ctx.parent.viewType())("initialized", ctx.parent.initialized())("restricted", !ctx.parent.canUse());
@@ -1144,9 +1157,20 @@ export class SdDataSheetControl {
1144
1157
  }
1145
1158
  </div>
1146
1159
  </ng-template>
1160
+
1161
+ <ng-template #modalActionTpl>
1162
+ <sd-anchor
1163
+ [theme]="'gray'"
1164
+ class="p-sm-default"
1165
+ (click)="onRefreshButtonClick()"
1166
+ title="새로고침(CTRL+ALT+L)"
1167
+ >
1168
+ <ng-icon [svg]="icons.tablerRefresh" />
1169
+ </sd-anchor>
1170
+ </ng-template>
1147
1171
  }
1148
1172
  </sd-base-container>
1149
1173
  `,
1150
1174
  }]
1151
- }], null, { formCtrl: [{ type: i0.ViewChild, args: ["formCtrl", { isSignal: true }] }], insertText: [{ type: i0.Input, args: [{ isSignal: true, alias: "insertText", required: false }] }], deleteText: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteText", required: false }] }], restoreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreText", required: false }] }], deleteIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteIcon", required: false }] }], restoreIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreIcon", required: false }] }], pageTopbarTplRef: [{ type: i0.ContentChild, args: ["pageTopbarTpl", { ...{ read: TemplateRef }, isSignal: true }] }], prevTplRef: [{ type: i0.ContentChild, args: ["prevTpl", { ...{ read: TemplateRef }, isSignal: true }] }], filterTplRef: [{ type: i0.ContentChild, args: ["filterTpl", { ...{ read: TemplateRef }, isSignal: true }] }], beforeToolTplRef: [{ type: i0.ContentChild, args: ["beforeToolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], toolTplRef: [{ type: i0.ContentChild, args: ["toolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], modalBottomTplRef: [{ type: i0.ContentChild, args: ["modalBottomTpl", { ...{ read: TemplateRef }, isSignal: true }] }], columnControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SdDataSheetColumnDirective), { isSignal: true }] }] }); })();
1152
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDataSheetControl, { className: "SdDataSheetControl", filePath: "packages/angular/src/features/data-view/sd-data-sheet.control.ts", lineNumber: 765, forbidOrphanRendering: true }); })();
1175
+ }], () => [], { formCtrl: [{ type: i0.ViewChild, args: ["formCtrl", { isSignal: true }] }], insertText: [{ type: i0.Input, args: [{ isSignal: true, alias: "insertText", required: false }] }], deleteText: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteText", required: false }] }], restoreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreText", required: false }] }], deleteIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteIcon", required: false }] }], restoreIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreIcon", required: false }] }], pageTopbarTplRef: [{ type: i0.ContentChild, args: ["pageTopbarTpl", { ...{ read: TemplateRef }, isSignal: true }] }], prevTplRef: [{ type: i0.ContentChild, args: ["prevTpl", { ...{ read: TemplateRef }, isSignal: true }] }], filterTplRef: [{ type: i0.ContentChild, args: ["filterTpl", { ...{ read: TemplateRef }, isSignal: true }] }], beforeToolTplRef: [{ type: i0.ContentChild, args: ["beforeToolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], toolTplRef: [{ type: i0.ContentChild, args: ["toolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], modalBottomTplRef: [{ type: i0.ContentChild, args: ["modalBottomTpl", { ...{ read: TemplateRef }, isSignal: true }] }], columnControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SdDataSheetColumnDirective), { isSignal: true }] }], modalActionTplRef: [{ type: i0.ViewChild, args: ["modalActionTpl", { ...{ read: TemplateRef }, isSignal: true }] }] }); })();
1176
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDataSheetControl, { className: "SdDataSheetControl", filePath: "packages/angular/src/features/data-view/sd-data-sheet.control.ts", lineNumber: 781, forbidOrphanRendering: true }); })();