@gct-paas/core-web 0.1.6-dev.4 → 0.1.6-dev.6

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 (144) hide show
  1. package/dist/ColorPicker-DGQQb8I7.js +1 -0
  2. package/dist/{_plugin-vue_export-helper-59SbqtUR.js → _plugin-vue_export-helper-C9hXqKoS.js} +1 -1
  3. package/dist/{de_DE-BnwOalCV.js → de_DE-B3f8kAv-.js} +1 -1
  4. package/dist/diagram-config-item-C5Ha2XJq.js +1 -0
  5. package/dist/diagram-config-item-reverse-ChoxnW-Z.js +1 -0
  6. package/dist/diagram-config-item-virtual-Cbmggfwt.js +1 -0
  7. package/dist/{en_US-6Hw6WWah.js → en_US-BSG3Kz6v.js} +1 -1
  8. package/dist/{es_ES-tAqXFGrR.js → es_ES-BGP8IOmQ.js} +1 -1
  9. package/dist/{fr_FR-BkDgVS_P.js → fr_FR-Y-6CzjUq.js} +1 -1
  10. package/dist/hooks-yX21uJ6d.js +1 -0
  11. package/dist/index.min.css +1 -1
  12. package/dist/{ja_JP-AsmV92nC.js → ja_JP-CDlH1v8M.js} +1 -1
  13. package/dist/loader.esm.min.js +1 -1
  14. package/dist/{monaco-editor-CgESUPw_.js → monaco-editor-BTqXEIZI.js} +1 -1
  15. package/dist/{pt_PT-CCVWOJzE.js → pt_PT-N-iIoE2_.js} +1 -1
  16. package/dist/relationship-diagram-config-DstwwXCO.js +1 -0
  17. package/dist/{ru_RU-w4sUgbzL.js → ru_RU--ESLRHrj.js} +1 -1
  18. package/dist/template-1ZQd8Z1w.js +1 -0
  19. package/dist/{tr_TR-CGZch3eB.js → tr_TR-BOIykdZO.js} +1 -1
  20. package/dist/{vi_VN-DONxIDR7.js → vi_VN-CmVoM2Rw.js} +1 -1
  21. package/dist/{zh_CN-BxdD8hqG.js → zh_CN-DhsO5Qwx.js} +1 -1
  22. package/dist/{zh_TW-D5Y8j-oG.js → zh_TW-DWdp2kVo.js} +1 -1
  23. package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +2 -2
  24. package/es/components/base-button/base-button.vue.mjs +1 -1
  25. package/es/components/field-cascader/src/hooks.d.ts +1 -0
  26. package/es/components/label-design/modal/template.vue_vue_type_script_setup_true_lang.mjs +2 -2
  27. package/es/components/label-design/panels/modals/diff-modal.vue_vue_type_script_setup_true_lang.mjs +2 -2
  28. package/es/components/label-design/panels/panel.vue_vue_type_script_setup_true_lang.mjs +1 -1
  29. package/es/components/label-design/panels/widget/controls/labelTemplate.vue.mjs +2 -2
  30. package/es/components/label-design/panels/widget/controls/labelTemplate.vue_vue_type_script_setup_true_lang.mjs +1 -16
  31. package/es/components/label-design/panels/widget/controls/labelTemplate.vue_vue_type_style_index_0_scoped_c628d318_lang.css +10 -0
  32. package/es/components/label-design/stage/stage.vue.d.ts +9 -0
  33. package/es/components/label-design/stage/stage.vue.mjs +2 -2
  34. package/es/components/label-design/stage/stage.vue_vue_type_script_setup_true_lang.mjs +2 -1
  35. package/es/components/label-design/stage/{stage.vue_vue_type_style_index_0_scoped_53b1f897_lang.css → stage.vue_vue_type_style_index_0_scoped_9275e9fb_lang.css} +8 -8
  36. package/es/components/layout/view-container/view-container.d.ts +1 -11
  37. package/es/components/layout/view-container/view-container.mjs +10 -14
  38. package/es/create-app-vue.mjs +4 -2
  39. package/es/index.d.ts +4 -1
  40. package/es/index.mjs +31 -25
  41. package/es/modules/category/category-modal.vue.d.ts +11 -0
  42. package/es/modules/category/category-modal.vue.mjs +7 -0
  43. package/es/modules/category/category-modal.vue_vue_type_script_setup_true_name_category-modal_lang.mjs +53 -0
  44. package/es/modules/category/category-modal.vue_vue_type_style_index_0_scoped_b560615c_lang.css +67 -0
  45. package/es/modules/category/category-sider.vue.d.ts +337 -0
  46. package/es/modules/category/category-sider.vue.mjs +7 -0
  47. package/es/modules/category/category-sider.vue_vue_type_script_setup_true_name_category-sider_lang.mjs +239 -0
  48. package/es/modules/category/category-sider.vue_vue_type_style_index_0_scoped_5af8c1ba_lang.css +211 -0
  49. package/es/modules/category/hooks/useCategory.d.ts +20 -0
  50. package/es/modules/category/hooks/useCategory.mjs +139 -0
  51. package/es/modules/category/index.d.ts +2 -0
  52. package/es/modules/category/index.mjs +2 -0
  53. package/es/modules/category/type.d.ts +8 -0
  54. package/es/modules/color-picker/src/color-editor.vue.mjs +1 -1
  55. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +2 -0
  56. package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +1 -0
  57. package/es/modules/gct-table/controller/gct-table/gct-table.controller.mjs +1 -0
  58. package/es/modules/gct-table/controller/table-item/table-item.controller.mjs +2 -0
  59. package/es/modules/gct-table/controller/table-row/table-row.controller.mjs +3 -0
  60. package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_script_lang.mjs +1 -4
  61. package/es/modules/print-tmpl/icon-print-folder.svg.mjs +4 -0
  62. package/es/modules/print-tmpl/icon-print-printer.svg.mjs +4 -0
  63. package/es/modules/print-tmpl/index.d.ts +2 -0
  64. package/es/modules/print-tmpl/index.mjs +1 -0
  65. package/es/modules/print-tmpl/print-tmpl-modal.vue.d.ts +31 -0
  66. package/es/modules/print-tmpl/print-tmpl-modal.vue.mjs +7 -0
  67. package/es/modules/print-tmpl/print-tmpl-modal.vue_vue_type_script_setup_true_name_print-tmpl-modal_lang.mjs +593 -0
  68. package/es/modules/print-tmpl/print-tmpl-modal.vue_vue_type_style_index_0_scoped_c60841b8_lang.css +143 -0
  69. package/es/modules/relationship-diagram-config/cache.controller.d.ts +70 -0
  70. package/es/modules/relationship-diagram-config/cache.controller.mjs +128 -0
  71. package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.css +123 -0
  72. package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.d.ts +381 -0
  73. package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.mjs +98 -0
  74. package/es/modules/relationship-diagram-config/components/diagram-config-item-container/diagram-config-item-container.css +71 -0
  75. package/es/modules/relationship-diagram-config/components/diagram-config-item-container/diagram-config-item-container.d.ts +28 -0
  76. package/es/modules/relationship-diagram-config/components/diagram-config-item-container/diagram-config-item-container.mjs +53 -0
  77. package/es/modules/relationship-diagram-config/components/diagram-config-item-info/diagram-config-item-info.d.ts +27 -0
  78. package/es/modules/relationship-diagram-config/components/diagram-config-item-info/diagram-config-item-info.mjs +2 -0
  79. package/es/modules/relationship-diagram-config/components/diagram-config-item-reverse/diagram-config-item-reverse.css +107 -0
  80. package/es/modules/relationship-diagram-config/components/diagram-config-item-reverse/diagram-config-item-reverse.d.ts +34 -0
  81. package/es/modules/relationship-diagram-config/components/diagram-config-item-reverse/diagram-config-item-reverse.mjs +198 -0
  82. package/es/modules/relationship-diagram-config/components/diagram-config-item-virtual/diagram-config-item-virtual.css +68 -0
  83. package/es/modules/relationship-diagram-config/components/diagram-config-item-virtual/diagram-config-item-virtual.d.ts +31 -0
  84. package/es/modules/relationship-diagram-config/components/diagram-config-item-virtual/diagram-config-item-virtual.mjs +53 -0
  85. package/es/modules/relationship-diagram-config/components/index.d.ts +5 -0
  86. package/es/modules/relationship-diagram-config/components/index.mjs +5 -0
  87. package/es/modules/relationship-diagram-config/constant/index.d.ts +72 -0
  88. package/es/modules/relationship-diagram-config/constant/index.mjs +70 -0
  89. package/es/modules/relationship-diagram-config/hooks/index.d.ts +10 -0
  90. package/es/modules/relationship-diagram-config/hooks/index.mjs +19 -0
  91. package/es/modules/relationship-diagram-config/index.d.ts +6 -0
  92. package/es/modules/relationship-diagram-config/index.mjs +28 -0
  93. package/es/modules/relationship-diagram-config/interface/i-link-provider/i-link-provider.d.ts +57 -0
  94. package/es/modules/relationship-diagram-config/interface/i-node-provider/i-node-provider.d.ts +18 -0
  95. package/es/modules/relationship-diagram-config/interface/i-relationship-diagram-link/i-relationship-diagram-link.d.ts +80 -0
  96. package/es/modules/relationship-diagram-config/interface/i-relationship-diagram-node/i-relationship-diagram-node.d.ts +82 -0
  97. package/es/modules/relationship-diagram-config/interface/i-relationship-diagram-options/i-relationship-diagram-options.d.ts +51 -0
  98. package/es/modules/relationship-diagram-config/interface/i-rule-config/i-rule-config.d.ts +135 -0
  99. package/es/modules/relationship-diagram-config/interface/index.d.ts +6 -0
  100. package/es/modules/relationship-diagram-config/link.controller.d.ts +75 -0
  101. package/es/modules/relationship-diagram-config/link.controller.mjs +121 -0
  102. package/es/modules/relationship-diagram-config/node.controller.d.ts +102 -0
  103. package/es/modules/relationship-diagram-config/node.controller.mjs +189 -0
  104. package/es/modules/relationship-diagram-config/plumb-plugin/arrow-endpoint.d.ts +23 -0
  105. package/es/modules/relationship-diagram-config/plumb-plugin/arrow-endpoint.mjs +33 -0
  106. package/es/modules/relationship-diagram-config/plumb-plugin/blank-endpoint-renderer.d.ts +1 -0
  107. package/es/modules/relationship-diagram-config/plumb-plugin/blank-endpoint-renderer.mjs +27 -0
  108. package/es/modules/relationship-diagram-config/plumb-plugin/index.d.ts +3 -0
  109. package/es/modules/relationship-diagram-config/plumb-plugin/index.mjs +2 -0
  110. package/es/modules/relationship-diagram-config/providers/default-link-provider/default-link-provider.css +132 -0
  111. package/es/modules/relationship-diagram-config/providers/default-link-provider/default-link-provider.d.ts +21 -0
  112. package/es/modules/relationship-diagram-config/providers/default-link-provider/default-link-provider.mjs +184 -0
  113. package/es/modules/relationship-diagram-config/providers/default-node-provider/default-node-provider.d.ts +14 -0
  114. package/es/modules/relationship-diagram-config/providers/default-node-provider/default-node-provider.mjs +17 -0
  115. package/es/modules/relationship-diagram-config/providers/index.d.ts +5 -0
  116. package/es/modules/relationship-diagram-config/providers/index.mjs +5 -0
  117. package/es/modules/relationship-diagram-config/providers/reverse-node-provider/reverse-node-provider.d.ts +14 -0
  118. package/es/modules/relationship-diagram-config/providers/reverse-node-provider/reverse-node-provider.mjs +17 -0
  119. package/es/modules/relationship-diagram-config/providers/virtual-link-provider/virtual-link-provider.d.ts +16 -0
  120. package/es/modules/relationship-diagram-config/providers/virtual-link-provider/virtual-link-provider.mjs +26 -0
  121. package/es/modules/relationship-diagram-config/providers/virtual-node-provider/virtual-node-provider.d.ts +14 -0
  122. package/es/modules/relationship-diagram-config/providers/virtual-node-provider/virtual-node-provider.mjs +17 -0
  123. package/es/modules/relationship-diagram-config/relationship-diagram-config.controller.d.ts +119 -0
  124. package/es/modules/relationship-diagram-config/relationship-diagram-config.controller.mjs +199 -0
  125. package/es/modules/relationship-diagram-config/relationship-diagram-config.css +113 -0
  126. package/es/modules/relationship-diagram-config/relationship-diagram-config.d.ts +102 -0
  127. package/es/modules/relationship-diagram-config/relationship-diagram-config.mjs +104 -0
  128. package/es/modules/relationship-diagram-config/relationship-diagram-config.state.d.ts +44 -0
  129. package/es/modules/relationship-diagram-config/relationship-diagram-config.state.mjs +46 -0
  130. package/es/modules/relationship-diagram-config/utils/index.d.ts +1 -0
  131. package/es/modules/relationship-diagram-config/utils/register/register.d.ts +71 -0
  132. package/es/modules/relationship-diagram-config/utils/register/register.mjs +81 -0
  133. package/es/utils/recursive.mjs +1 -0
  134. package/package.json +10 -9
  135. package/dist/components-4-8OfvJi.js +0 -1
  136. package/dist/template-Cf-wq8-9.js +0 -1
  137. package/es/components/label-design/panels/widget/controls/labelTemplate.vue_vue_type_style_index_0_scoped_992e00bb_lang.css +0 -10
  138. /package/dist/{JsBarcode-DlXSdlvD.js → JsBarcode-DY53cVJ6.js} +0 -0
  139. /package/dist/{cropper-tw7tUDDe.js → cropper-DK_hFgpO.js} +0 -0
  140. /package/dist/{icon-next-picker-B_S_yInJ.js → icon-next-picker-DYiHqnNR.js} +0 -0
  141. /package/dist/{objectSpread2-DxfE1S3_.js → objectSpread2-DARadIQB.js} +0 -0
  142. /package/dist/{overlayscrollbars-vue-DtKFrHnA.js → overlayscrollbars-vue-Df-3wShc.js} +0 -0
  143. /package/dist/{rich-editor-K2Pv0Uja.js → rich-editor-DVOriJH0.js} +0 -0
  144. /package/dist/{useMonacoEditor-BO2ALW-7.js → useMonacoEditor-DqSQTg7b.js} +0 -0
@@ -0,0 +1,211 @@
1
+ @charset "UTF-8";
2
+ /* stylelint-disable scss/no-global-function-names */
3
+ /* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
4
+ /**
5
+ * 定义 Block 块
6
+ * @param {String} $block - Block 块名称
7
+ * @example
8
+ * @include b('button') {
9
+ * padding: 10px;
10
+ * }
11
+ */
12
+ /**
13
+ * 定义 Element 元素
14
+ * @param {String|List} $element - Element 元素名称,支持单个或多个
15
+ * @example
16
+ * @include b('button') {
17
+ * @include e('text') {
18
+ * color: #000;
19
+ * }
20
+ * }
21
+ * // 或传入多个元素
22
+ * @include b('button') {
23
+ * @include e(('text', 'icon')) {
24
+ * margin: 5px;
25
+ * }
26
+ * }
27
+ */
28
+ /**
29
+ * 定义 Modifier 修饰符
30
+ * @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
31
+ * @example
32
+ * @include b('button') {
33
+ * @include m('primary') {
34
+ * background: blue;
35
+ * }
36
+ * }
37
+ * // 或传入多个修饰符
38
+ * @include b('button') {
39
+ * @include m(('primary', 'large')) {
40
+ * background: blue;
41
+ * font-size: 16px;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * 定义状态选择器
47
+ * @param {String} $state - 状态名称
48
+ * @example
49
+ * @include b('button') {
50
+ * @include when('disabled') {
51
+ * opacity: 0.5;
52
+ * }
53
+ * }
54
+ */
55
+ /**
56
+ * 深色主题样式
57
+ * @param {String} $block - Block 块名称
58
+ * @example
59
+ * @include dark('button') {
60
+ * background: #333;
61
+ * color: #fff;
62
+ * }
63
+ */
64
+ /* stylelint-disable scss/no-global-function-names */
65
+ .gct-category-sider[data-v-5af8c1ba] {
66
+ --gct-category-sider-height: 100%;
67
+ --gct-category-sider-width: 222px;
68
+ }
69
+ .gct-category-sider__search-container[data-v-5af8c1ba] {
70
+ padding: 12px;
71
+ border-top: 1px solid #eaedf1;
72
+ }
73
+ .gct-category-sider__search-input[data-v-5af8c1ba] {
74
+ padding-left: 16px;
75
+ line-height: 22px;
76
+ }
77
+ .gct-category-sider__title-container[data-v-5af8c1ba] {
78
+ display: flex;
79
+ align-items: center;
80
+ justify-content: space-between;
81
+ padding: 8px 12px 0;
82
+ }
83
+ .gct-category-sider__tree-container[data-v-5af8c1ba] {
84
+ flex-grow: 1;
85
+ padding: 8px 0;
86
+ overflow: auto;
87
+ }
88
+ .gct-category-sider__title[data-v-5af8c1ba] {
89
+ color: #000;
90
+ font-size: 16px;
91
+ font-weight: 500;
92
+ }
93
+ .gct-category-sider__add[data-v-5af8c1ba] {
94
+ height: 36px;
95
+ padding: 0;
96
+ color: var(--ant-primary-color);
97
+ line-height: 20px;
98
+ }
99
+ .gct-category-sider__add > i[data-v-5af8c1ba] {
100
+ vertical-align: top;
101
+ }
102
+ .gct-category-sider__add > span[data-v-5af8c1ba] {
103
+ vertical-align: middle;
104
+ }
105
+ .gct-category-sider__add i[data-v-5af8c1ba] {
106
+ padding-right: 2px;
107
+ font-size: 11px;
108
+ }
109
+ .gct-category-sider[data-v-5af8c1ba] {
110
+ display: flex;
111
+ flex: 0 0 auto;
112
+ flex-direction: column;
113
+ width: getcssvar(category-sider, width);
114
+ height: getcssvar(category-sider, height);
115
+ border: 1px solid #eaedf1;
116
+ }
117
+ .gct-category-sider[data-v-5af8c1ba] .ant-dropdown-menu-item {
118
+ padding: 5px 20px;
119
+ }
120
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-switcher {
121
+ display: flex;
122
+ align-items: center;
123
+ justify-content: center;
124
+ width: 20px;
125
+ }
126
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-switcher .ant-tree-switcher-icon {
127
+ color: #797a7d;
128
+ font-size: 16px;
129
+ }
130
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode {
131
+ margin-bottom: 8px;
132
+ padding-bottom: 0;
133
+ padding-left: 16px;
134
+ border-radius: 4px;
135
+ color: #212528;
136
+ }
137
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode:hover, .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode:has(.is-highlight) {
138
+ background: rgba(from var(--ant-primary-color) r g b / 8%);
139
+ }
140
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode:hover .gct-category-sider-tree-node__more, .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode:has(.is-highlight) .gct-category-sider-tree-node__more {
141
+ display: block;
142
+ }
143
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode-selected {
144
+ background: rgba(from var(--ant-primary-color) r g b / 8%);
145
+ }
146
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode:has(.is-folder) {
147
+ color: #6a717d;
148
+ }
149
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode .ant-tree-switcher-noop {
150
+ display: none;
151
+ }
152
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-treenode .ant-tree-indent-unit {
153
+ width: 20px;
154
+ }
155
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-node-content-wrapper {
156
+ width: 100px;
157
+ padding-right: 0;
158
+ line-height: 36px;
159
+ }
160
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-node-content-wrapper:hover {
161
+ background: transparent;
162
+ }
163
+ .gct-category-sider[data-v-5af8c1ba] .gct-category-sider__tree .ant-tree-node-selected {
164
+ background-color: transparent;
165
+ }
166
+ .gct-category-sider-tree-node.is-folder .gct-category-sider-tree-node__icon[data-v-5af8c1ba] {
167
+ display: block;
168
+ flex: none;
169
+ text-align: center;
170
+ }
171
+ .gct-category-sider-tree-node__icon[data-v-5af8c1ba] {
172
+ display: none;
173
+ margin-right: 8px;
174
+ }
175
+ .gct-category-sider-tree-node__title[data-v-5af8c1ba] {
176
+ flex-grow: 1;
177
+ overflow: hidden;
178
+ text-overflow: ellipsis;
179
+ text-wrap: nowrap;
180
+ }
181
+ .gct-category-sider-tree-node__more[data-v-5af8c1ba] {
182
+ display: none;
183
+ }
184
+ .gct-category-sider-tree-node__more[data-v-5af8c1ba]:hover {
185
+ color: var(--ant-primary-color);
186
+ }
187
+ .gct-category-sider-tree-node[data-v-5af8c1ba] {
188
+ display: flex;
189
+ position: relative;
190
+ flex: 0 0 auto;
191
+ align-items: center;
192
+ padding-right: 12px;
193
+ }
194
+ .draggable-tree .gct-category-sider-tree-node[data-v-5af8c1ba] {
195
+ position: relative;
196
+ }
197
+ .draggable-tree .gct-category-sider-tree-node[data-v-5af8c1ba]::before {
198
+ content: "\e810";
199
+ display: none;
200
+ position: absolute;
201
+ top: 0;
202
+ left: -16px;
203
+ color: #888 !important;
204
+ font-family: iconfont !important;
205
+ font-size: 16px;
206
+ -webkit-font-smoothing: antialiased;
207
+ font-style: normal;
208
+ }
209
+ .draggable-tree .gct-category-sider-tree-node[data-v-5af8c1ba]:hover::before {
210
+ display: block;
211
+ }
@@ -0,0 +1,20 @@
1
+ import { CategoryCompleteResponse, CategoryDragDTO } from '@gct-paas/api/apaas';
2
+ import { CategoryModuleEnum as DHRCategoryModuleEnum, FormDesignEnum } from '@gct-paas/core';
3
+ declare function _useCategory(opts: {
4
+ module: FormDesignEnum | DHRCategoryModuleEnum;
5
+ }): {
6
+ categoryTreeData: import('vue').Ref<CategoryCompleteResponse[] | undefined, CategoryCompleteResponse[] | undefined>;
7
+ createCategory: (data?: {
8
+ parentId?: string;
9
+ }) => Promise<{
10
+ parentId?: string;
11
+ }>;
12
+ load: () => Promise<void>;
13
+ editCategory: (node: IObject) => Promise<void>;
14
+ deleteCategoryAPI: (node: IObject, customDelFunc?: Fn, customDelTips?: string) => Promise<boolean>;
15
+ getCategoryById: (id: string) => CategoryCompleteResponse | undefined;
16
+ dragCategory: (data: CategoryDragDTO) => Promise<void>;
17
+ isFormDesign: boolean;
18
+ };
19
+ export declare const useCategory: typeof _useCategory;
20
+ export {};
@@ -0,0 +1,139 @@
1
+ import { recursiveIterate } from "../../../utils/recursive.mjs";
2
+ import "../../../utils/index.mjs";
3
+ import category_modal_default from "../category-modal.vue.mjs";
4
+ import "../index.mjs";
5
+ import { createVNode, ref } from "vue";
6
+ import { CategoryModuleEnum, FormDesignEnum, cacheFnReturn, getInterfaceApi, t } from "@gct-paas/core";
7
+ import { Modal as Modal$1, message } from "ant-design-vue";
8
+ import { ExclamationCircleOutlined } from "@ant-design/icons-vue";
9
+ //#region src/modules/category/hooks/useCategory.ts
10
+ var $t = t;
11
+ function _useCategory(opts) {
12
+ const categoryMap = /* @__PURE__ */ new Map();
13
+ const categoryTreeData = ref();
14
+ const isFormDesign = [
15
+ FormDesignEnum.EDHR,
16
+ CategoryModuleEnum.INSPECTION,
17
+ CategoryModuleEnum.RELEASE,
18
+ FormDesignEnum.ONLINE_FORM
19
+ ].includes(opts.module);
20
+ /**
21
+ * 通过id获取完整分类数据信息
22
+ */
23
+ function getCategoryById(id) {
24
+ return categoryMap.get(id);
25
+ }
26
+ /**
27
+ * 打开分类模态编辑完成之后返回更改后的数据
28
+ * 取消操作返回undefined
29
+ * @param opts
30
+ * @return {*}
31
+ */
32
+ async function openCategoryModal(_opts) {
33
+ const isEdit = !!_opts.data.id;
34
+ const res = await _gct.openUtil.modal(category_modal_default, {
35
+ data: _opts.data,
36
+ module: opts.module
37
+ }, {
38
+ title: isEdit ? `${$t("sys.edit")}${$t("sys.category")}` : $t("sys.new") + $t("sys.category"),
39
+ width: 640,
40
+ height: 360,
41
+ okText: $t("sys.okText"),
42
+ showFooter: true
43
+ });
44
+ if (res?.ok) return res?.data[0];
45
+ }
46
+ /**
47
+ * 创建分类
48
+ */
49
+ async function createCategory(data = {}) {
50
+ const res = await openCategoryModal({ data });
51
+ if (res) {
52
+ res.module = opts.module;
53
+ await _api.apaas.category.post(res);
54
+ await load();
55
+ }
56
+ return res ? { parentId: res?.parentId } : {};
57
+ }
58
+ /**
59
+ * 加载数据(刷新也是)
60
+ * @return {*}
61
+ */
62
+ async function load() {
63
+ const data = isFormDesign ? await getInterfaceApi.getCategoryList({ moduleType: opts.module }) || [] : await _api.apaas.category.getListComplete({}) || [];
64
+ categoryTreeData.value = data;
65
+ categoryMap.clear();
66
+ recursiveIterate(data, ({ item }) => {
67
+ categoryMap.set(item.id, item);
68
+ }, { childrenFields: ["child"] });
69
+ }
70
+ /**
71
+ * 修改分类
72
+ */
73
+ async function editCategory(node) {
74
+ const data = {
75
+ name: node.name || node.title,
76
+ id: node.key || node.id
77
+ };
78
+ const res = await openCategoryModal({ data });
79
+ if (res) {
80
+ await _api.apaas.category.putId({ id: data.id ?? "" }, {
81
+ ...res,
82
+ module: opts.module
83
+ });
84
+ await load();
85
+ }
86
+ }
87
+ /**
88
+ * 删除分类
89
+ * 删除成功返回true
90
+ * 取消或者删除失败返回false
91
+ */
92
+ async function deleteCategoryAPI(node, customDelFunc, customDelTips) {
93
+ return new Promise((resolve) => {
94
+ Modal$1.confirm({
95
+ title: $t("sys.sureToDeleteCategoryWithName", { name: `${node.name || node.title}` }),
96
+ icon: createVNode(ExclamationCircleOutlined),
97
+ content: customDelTips || "",
98
+ okText: $t("sys.okText"),
99
+ cancelText: $t("sys.cancel"),
100
+ async onOk() {
101
+ try {
102
+ if (customDelFunc) await customDelFunc({ id: node.key || node.id });
103
+ else await _api.apaas.category.delete({ ids: node.key || node.id });
104
+ message.success($t("sys.delSuccess"));
105
+ await load();
106
+ resolve(true);
107
+ } catch (error) {
108
+ console.error(error);
109
+ resolve(false);
110
+ }
111
+ },
112
+ onCancel() {
113
+ resolve(false);
114
+ }
115
+ });
116
+ });
117
+ }
118
+ /**
119
+ * 拖拽分类
120
+ * @param data
121
+ */
122
+ async function dragCategory(data) {
123
+ await _api.apaas.category.postDrag(data);
124
+ await load();
125
+ }
126
+ return {
127
+ categoryTreeData,
128
+ createCategory,
129
+ load,
130
+ editCategory,
131
+ deleteCategoryAPI,
132
+ getCategoryById,
133
+ dragCategory,
134
+ isFormDesign
135
+ };
136
+ }
137
+ var useCategory = cacheFnReturn(_useCategory);
138
+ //#endregion
139
+ export { useCategory };
@@ -0,0 +1,2 @@
1
+ export { default as CategoryModal } from './category-modal.vue';
2
+ export { default as CategorySider } from './category-sider.vue';
@@ -0,0 +1,2 @@
1
+ import "./category-modal.vue.mjs";
2
+ import "./category-sider.vue.mjs";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 分类的模块类型
3
+ */
4
+ export declare const CategoryModuleEnum: {
5
+ /**审批流 */
6
+ readonly APPROVAL: "approval_process_module";
7
+ };
8
+ export type CategoryModuleEnum = (typeof CategoryModuleEnum)[keyof typeof CategoryModuleEnum];
@@ -1,6 +1,6 @@
1
+ import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
1
2
  import color_editor_vue_vue_type_script_setup_true_name_color_editor_lang_default from "./color-editor.vue_vue_type_script_setup_true_name_color-editor_lang.mjs";
2
3
  import './color-editor.vue_vue_type_style_index_0_scoped_7b102f87_lang.css';/* empty css */
3
- import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
4
  //#region src/modules/color-picker/src/color-editor.vue
5
5
  var color_editor_default = /* @__PURE__ */ _plugin_vue_export_helper_default(color_editor_vue_vue_type_script_setup_true_name_color_editor_lang_default, [["__scopeId", "data-v-7b102f87"]]);
6
6
  //#endregion
@@ -13,6 +13,8 @@ import { reactive } from "vue";
13
13
  * @implements {IFormItemBasicController}
14
14
  */
15
15
  var FormItemBasicController = class {
16
+ form;
17
+ model;
16
18
  /**
17
19
  * 表单项标识,默认为表单项的 name
18
20
  *
@@ -13,6 +13,7 @@ import { QXEvent } from "qx-util";
13
13
  * @implements {IFormController}
14
14
  */
15
15
  var GctFormController = class {
16
+ model;
16
17
  evt = new QXEvent();
17
18
  state = reactive(new FormState());
18
19
  item = {};
@@ -15,6 +15,7 @@ import { EditorRegisterConst } from "@gct-paas/core";
15
15
  * @implements {ITableController}
16
16
  */
17
17
  var GctTableController = class {
18
+ model;
18
19
  evt = new QXEvent();
19
20
  state = this.createState();
20
21
  row = {};
@@ -10,6 +10,8 @@ import { TableITemState } from "../../state/table-item/table-item.state.mjs";
10
10
  * @implements {ITableItemController}
11
11
  */
12
12
  var TableItemController = class {
13
+ row;
14
+ model;
13
15
  state = this.createState();
14
16
  get value() {
15
17
  return this.row.data[this.model.dataIndex];
@@ -16,6 +16,9 @@ import { reactive } from "vue";
16
16
  * @implements {ITableRowController}
17
17
  */
18
18
  var TableRowController = class {
19
+ table;
20
+ model;
21
+ data;
19
22
  item = {};
20
23
  fields = [];
21
24
  state = this.createState();
@@ -40,7 +40,6 @@ var ModalWrapper_vue_vue_type_script_lang_default = defineComponent({
40
40
  const minRealHeightRef = ref(0);
41
41
  const ns = useNamespace("basic-modal-wrapper");
42
42
  let realHeight = 0;
43
- let stopElResizeFn = () => {};
44
43
  const spinStyle = ref();
45
44
  const { width, height } = useWindowSize();
46
45
  watch([height, width], () => {
@@ -80,9 +79,7 @@ var ModalWrapper_vue_vue_type_script_lang_default = defineComponent({
80
79
  const { modalHeaderHeight, modalFooterHeight } = props;
81
80
  emit("ext-height", modalHeaderHeight + modalFooterHeight);
82
81
  });
83
- onUnmounted(() => {
84
- stopElResizeFn && stopElResizeFn();
85
- });
82
+ onUnmounted(() => {});
86
83
  async function scrollTop() {
87
84
  nextTick(() => {
88
85
  if (wrapperRef.value) wrapperRef.value.getElement()?.scrollTo(0, 0);
@@ -0,0 +1,4 @@
1
+ //#region src/modules/print-tmpl/icon-print-folder.svg
2
+ var icon_print_folder_default = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon_folder'%3e%3cg%20id='Group%20427318809'%3e%3cpath%20id='Subtract'%20d='M5.97207%202.19995C6.30242%202.19995%206.61145%202.3631%206.79779%202.63588L7.5%203.66382H16C16.5523%203.66382%2017%204.11153%2017%204.66382V16.95C17%2017.3642%2016.6642%2017.7%2016.25%2017.7H2C1.44772%2017.7%201%2017.2522%201%2016.7V3.19995C1%202.64767%201.44772%202.19995%202%202.19995H5.97207Z'%20fill='url(%23paint0_linear_2167_599)'/%3e%3cg%20id='Vector'%3e%3cpath%20d='M3%2017.7H2.25C2.66421%2017.7%203%2017.3642%203%2016.95V17.7Z'%20fill='%23FDB418'/%3e%3cpath%20d='M3%206.44995C3%205.89767%203.44771%205.44995%204%205.44995H18.25C18.6642%205.44995%2019%205.78574%2019%206.19995L19%2016.95C19%2017.3642%2018.6642%2017.7%2018.25%2017.7H3L3%206.44995Z'%20fill='url(%23paint1_linear_2167_599)'/%3e%3cpath%20d='M4%205.85034H18.25C18.4433%205.85034%2018.5996%206.00665%2018.5996%206.19995V16.95C18.5996%2017.1432%2018.4433%2017.2996%2018.25%2017.2996H3.40039V6.44995C3.40039%206.11858%203.66863%205.85034%204%205.85034Z'%20stroke='url(%23paint2_linear_2167_599)'%20stroke-opacity='0.85'%20stroke-width='0.8'/%3e%3c/g%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M3%2017.7H2.25C2.66421%2017.7%203%2017.3642%203%2016.95V17.7Z'%20fill='url(%23paint3_linear_2167_599)'/%3e%3cpath%20d='M3%206.44995C3%205.89767%203.44771%205.44995%204%205.44995H18.25C18.6642%205.44995%2019%205.78574%2019%206.19995L19%2016.95C19%2017.3642%2018.6642%2017.7%2018.25%2017.7H3L3%206.44995Z'%20fill='url(%23paint4_linear_2167_599)'/%3e%3c/g%3e%3cpath%20id='Rectangle%204807'%20opacity='0.9'%20d='M14.25%208.99994H16.75V9.59994H14.25V8.99994Z'%20fill='%23EE9B01'/%3e%3cpath%20id='Rectangle%204808'%20opacity='0.9'%20d='M14.25%207.80008H16.75V8.40008H14.25V7.80008Z'%20fill='%23EE9B01'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2167_599'%20x1='5.5'%20y1='3.69995'%20x2='9'%20y2='12.2'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EE9B00'/%3e%3cstop%20offset='1'%20stop-color='%23EEA300'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_2167_599'%20x1='6.5'%20y1='7.69995'%20x2='14'%20y2='17.2'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFBF35'/%3e%3cstop%20offset='1'%20stop-color='%23FFD560'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_2167_599'%20x1='2.5'%20y1='6.19995'%20x2='6'%20y2='11.7'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_2167_599'%20x1='14'%20y1='15.7'%20x2='14'%20y2='16.7'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFCF54'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F9B700'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_2167_599'%20x1='14'%20y1='15.7'%20x2='14'%20y2='16.7'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFCF54'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F9B700'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { icon_print_folder_default as default };
@@ -0,0 +1,4 @@
1
+ //#region src/modules/print-tmpl/icon-print-printer.svg
2
+ var icon_print_printer_default = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon_printer'%3e%3cg%20id='Group%20427319057'%3e%3cpath%20id='Rectangle%204856'%20d='M4.32373%203.3C4.32373%203.13431%204.45805%203%204.62373%203L15.3709%203C15.5366%203%2015.6709%203.13431%2015.6709%203.3V7L4.32373%207V3.3Z'%20fill='%2388898D'/%3e%3crect%20id='Rectangle%204857'%20x='5.5'%20y='1.5'%20width='9'%20height='5'%20fill='%23DDDFE1'/%3e%3cg%20id='Mask%20group'%3e%3cmask%20id='mask0_2169_716'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='6'%20width='18'%20height='11'%3e%3cpath%20id='Union'%20d='M19%2015.5C19%2016.0523%2018.5523%2016.5%2018%2016.5H2C1.44772%2016.5%201%2016.0523%201%2015.5V10.3117C1%209.77409%201.08671%209.23999%201.25678%208.72997L1.77246%207.18359C1.90865%206.77542%202.29039%206.50002%202.7207%206.5H17.2793C17.7096%206.50002%2018.0914%206.77542%2018.2275%207.18359L18.7432%208.72997C18.9133%209.23999%2019%209.77409%2019%2010.3117V15.5Z'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2169_716)'%3e%3cpath%20id='Union_2'%20d='M19%2015.5C19%2016.0523%2018.5523%2016.5%2018%2016.5H2C1.44772%2016.5%201%2016.0523%201%2015.5V10.3117C1%209.77409%201.08671%209.23999%201.25678%208.72997L1.77246%207.18359C1.90865%206.77542%202.29039%206.50002%202.7207%206.5H17.2793C17.7096%206.50002%2018.0914%206.77542%2018.2275%207.18359L18.7432%208.72997C18.9133%209.23999%2019%209.77409%2019%2010.3117V15.5Z'%20fill='url(%23paint0_linear_2169_716)'/%3e%3cpath%20id='Union_3'%20d='M16.1686%2016.517C16.1686%2017.0693%2015.8702%2017.517%2015.502%2017.517L4.49089%2017.5C4.1227%2017.5%203.82422%2017.0523%203.82422%2016.5V10.0491C3.82422%209.68413%203.86418%209.32026%203.94338%208.964L4.33919%207.18359C4.42999%206.77542%204.68448%206.50002%204.97135%206.5L15.0215%206.51697C15.3084%206.51699%2015.5629%206.79239%2015.6537%207.20056L16.0495%208.98097C16.1287%209.33723%2016.1686%209.70109%2016.1686%2010.0661V16.517Z'%20fill='url(%23paint1_linear_2169_716)'/%3e%3cg%20id='Mask%20group_2'%3e%3cmask%20id='mask1_2169_716'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='6'%20width='14'%20height='6'%3e%3cpath%20id='Rectangle%204861'%20d='M3.82422%206L16.1686%206.01697V11.017L3.82422%2011V6Z'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_2169_716)'%3e%3cpath%20id='Union_4'%20d='M16.1686%2015.517C16.1686%2016.0692%2015.8702%2016.517%2015.502%2016.517L4.49089%2016.5C4.1227%2016.5%203.82422%2016.0523%203.82422%2015.5V9.91205C3.82422%209.6378%203.84678%209.36403%203.89168%209.09348L4.37308%206.19266C4.46387%205.78449%204.71836%205.50909%205.00524%205.50906L14.9876%205.52603C15.2745%205.52605%2015.529%205.80145%2015.6198%206.20962L16.1012%209.11045C16.1461%209.38099%2016.1686%209.65477%2016.1686%209.92901V15.517Z'%20fill='url(%23paint2_linear_2169_716)'/%3e%3c/g%3e%3c/g%3e%3cpath%20id='Rectangle%204859'%20d='M1%209.5H3.5V16.5H1.5C1.22386%2016.5%201%2016.2761%201%2016V9.5Z'%20fill='url(%23paint3_linear_2169_716)'/%3e%3cpath%20id='Union_5'%20d='M4%206.5L3.55442%209.17345C3.5182%209.39078%203.5%209.61073%203.5%209.83105V10.5H1V6.5H4Z'%20fill='url(%23paint4_linear_2169_716)'/%3e%3cpath%20id='Rectangle%204860'%20d='M16.5%209.5H19V16.5H16.5V9.5Z'%20fill='url(%23paint5_linear_2169_716)'/%3e%3cpath%20id='Rectangle%204859_2'%20opacity='0.3'%20d='M5.34473%207.39502L14.6389%207.35339L14.5%206.50001H5.50001L5.34473%207.39502Z'%20fill='url(%23paint6_linear_2169_716)'/%3e%3cpath%20id='Union_6'%20d='M16%206.5L16.4456%209.17345C16.4818%209.39078%2016.5%209.61073%2016.5%209.83105V10.5H19V6.5H16Z'%20fill='url(%23paint7_linear_2169_716)'/%3e%3c/g%3e%3c/g%3e%3cpath%20id='Rectangle%204858'%20d='M14.4224%2013.8896C15.3187%2013.8911%2016.0443%2014.6183%2016.0444%2015.5146V16.6426L15.9194%2016.6416L4.06689%2016.625H3.94189V15.502C3.942%2014.6038%204.67071%2013.8759%205.56885%2013.877L14.4224%2013.8896Z'%20fill='%2336363A'%20stroke='url(%23paint8_linear_2169_716)'%20stroke-width='0.25'/%3e%3cpath%20id='Rectangle%204855'%20d='M4.06689%2015.5014C4.06689%2014.9486%204.51548%2014.5006%205.06833%2014.5014L14.9211%2014.5155C15.4729%2014.5163%2015.9197%2014.9638%2015.9197%2015.5155V18.0163C15.9197%2018.2927%2015.6954%2018.5166%2015.419%2018.5163L4.56618%2018.5007C4.29032%2018.5003%204.06689%2018.2766%204.06689%2018.0007V15.5014Z'%20fill='url(%23paint9_linear_2169_716)'/%3e%3c/g%3e%3cg%20id='Mask%20group_3'%3e%3cmask%20id='mask2_2169_716'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='7'%20width='3'%20height='2'%3e%3cpath%20id='Rectangle%204862'%20d='M5.62474%207.67027C5.63945%207.57239%205.72354%207.5%205.82251%207.5L7.3%207.5C7.41046%207.5%207.5%207.58954%207.5%207.7V8.3C7.5%208.41046%207.41046%208.5%207.3%208.5H5.73231C5.61001%208.5%205.51635%208.39121%205.53454%208.27027L5.62474%207.67027Z'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_2169_716)'%3e%3cpath%20id='Rectangle%204864'%20d='M5.62474%207.67027C5.63945%207.57239%205.72354%207.5%205.82251%207.5L7.3%207.5C7.41046%207.5%207.5%207.58954%207.5%207.7V8.3C7.5%208.41046%207.41046%208.5%207.3%208.5H5.73231C5.61001%208.5%205.51635%208.39121%205.53454%208.27027L5.62474%207.67027Z'%20fill='%23D9D9D9'/%3e%3cpath%20id='Rectangle%204863'%20d='M6.53881%207.5H7.5V8.5H6.48926L6.53881%207.5Z'%20fill='url(%23paint10_linear_2169_716)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2169_716'%20x1='10'%20y1='6.5'%20x2='10'%20y2='8.14483'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2382828A'/%3e%3cstop%20offset='1'%20stop-color='%233F3F42'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_2169_716'%20x1='10'%20y1='9.5'%20x2='10'%20y2='13'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E1E5EA'/%3e%3cstop%20offset='1'%20stop-color='%23999EA1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_2169_716'%20x1='10'%20y1='9.49998'%20x2='10'%20y2='11'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236B727A'/%3e%3cstop%20offset='1'%20stop-color='%237C7D7E'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_2169_716'%20x1='2.25'%20y1='9.5'%20x2='2.25'%20y2='16.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D4DCE2'/%3e%3cstop%20offset='1'%20stop-color='%23959696'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_2169_716'%20x1='2.5'%20y1='9.5'%20x2='2.5'%20y2='10.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DA6B2'/%3e%3cstop%20offset='1'%20stop-color='%23C9D1D9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_2169_716'%20x1='17.75'%20y1='9.5'%20x2='17.75'%20y2='16.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D4DCE2'/%3e%3cstop%20offset='1'%20stop-color='%23959696'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_2169_716'%20x1='10'%20y1='7.35339'%20x2='10'%20y2='6.20902'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23CDD2D5'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23CDD2D5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_2169_716'%20x1='17.5'%20y1='9.5'%20x2='17.5'%20y2='10.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DA6B2'/%3e%3cstop%20offset='1'%20stop-color='%23C9D1D9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_2169_716'%20x1='9.9933'%20y1='14'%20x2='9.9933'%20y2='16.517'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.6'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_2169_716'%20x1='9.99999'%20y1='14.5'%20x2='9.99999'%20y2='15.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23383839'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%2361656C'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_2169_716'%20x1='6.99463'%20y1='7.5'%20x2='6.99463'%20y2='8.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B9C0C4'/%3e%3cstop%20offset='1'%20stop-color='%2392999D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { icon_print_printer_default as default };
@@ -0,0 +1,2 @@
1
+ import { default as labelTmplModal } from './print-tmpl-modal.vue';
2
+ export { labelTmplModal };
@@ -0,0 +1 @@
1
+ import "./print-tmpl-modal.vue.mjs";
@@ -0,0 +1,31 @@
1
+ import { FormDesignEnum, PrintModeEnums, PrintTypeEnum, IModal } from '@gct-paas/core';
2
+ type __VLS_Props = {
3
+ selected?: IParams;
4
+ modal: IModal;
5
+ moduleType: PrintTypeEnum | FormDesignEnum;
6
+ printMode: PrintModeEnums;
7
+ className?: string;
8
+ isRdo?: boolean;
9
+ multiple?: boolean;
10
+ categoryTitle?: string | null | undefined;
11
+ /** 额外的搜索条件 */
12
+ queryParams?: IParams;
13
+ btwForceVisible?: boolean;
14
+ ignoreCase?: number;
15
+ modelKey?: string;
16
+ };
17
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ isRdo: boolean;
19
+ categoryTitle: string | null;
20
+ btwForceVisible: boolean;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ tableRef: {
23
+ $props: import('vxe-table').VxeTableProps<any> & import('vxe-table').VxeTableEventProps<any>;
24
+ $slots: import('vxe-table').VxeTableSlots<any>;
25
+ } | null;
26
+ btwTableRef: {
27
+ $props: import('vxe-table').VxeTableProps<any> & import('vxe-table').VxeTableEventProps<any>;
28
+ $slots: import('vxe-table').VxeTableSlots<any>;
29
+ } | null;
30
+ }, HTMLDivElement>;
31
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import print_tmpl_modal_vue_vue_type_script_setup_true_name_print_tmpl_modal_lang_default from "./print-tmpl-modal.vue_vue_type_script_setup_true_name_print-tmpl-modal_lang.mjs";
3
+ import './print-tmpl-modal.vue_vue_type_style_index_0_scoped_c60841b8_lang.css';/* empty css */
4
+ //#region src/modules/print-tmpl/print-tmpl-modal.vue
5
+ var print_tmpl_modal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(print_tmpl_modal_vue_vue_type_script_setup_true_name_print_tmpl_modal_lang_default, [["__scopeId", "data-v-c60841b8"]]);
6
+ //#endregion
7
+ export { print_tmpl_modal_default as default };