@vipl520/dk-ui 1.0.53 → 1.0.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +2036 -1431
  4. package/dist/index.min.js +4 -4
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +4 -4
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +2035 -1432
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/attachment/src/attachment.vue2.mjs +7 -1
  12. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  13. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs +2 -0
  14. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
  15. package/es/form/src/form.vue2.mjs +0 -1
  16. package/es/form/src/form.vue2.mjs.map +1 -1
  17. package/es/group/src/group.vue2.mjs +14 -1
  18. package/es/group/src/group.vue2.mjs.map +1 -1
  19. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
  20. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  21. package/es/icon/style/index.css +0 -1
  22. package/es/icon/style/index.scss +1 -1
  23. package/es/index.d.ts +1 -0
  24. package/es/index.mjs +5 -2
  25. package/es/index.mjs.map +1 -1
  26. package/es/index.scss +1 -0
  27. package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  28. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
  29. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
  30. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  31. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
  32. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
  33. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  34. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
  35. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  36. package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  37. package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
  38. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  39. package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
  40. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
  41. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
  42. package/es/page-diy/src/props.mjs +1 -1
  43. package/es/page-diy/src/props.mjs.map +1 -1
  44. package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  45. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +66 -0
  46. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
  47. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  48. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
  49. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  50. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  51. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
  52. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  53. package/es/page-diy/src/views/min/index.mjs +3 -1
  54. package/es/page-diy/src/views/min/index.mjs.map +1 -1
  55. package/es/page-diy/style/drag-tool.css +1 -1
  56. package/es/page-diy/style/drag-tool.scss +4 -0
  57. package/es/page-diy/style/index.css +1 -1
  58. package/es/page-diy/style/minViews/index.scss +8 -0
  59. package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
  60. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  61. package/es/style-box-input/style/index.css +1 -1
  62. package/es/style-box-input/style/index.scss +13 -3
  63. package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
  64. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  65. package/es/style-input/src/style-input.vue2.mjs +1 -0
  66. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  67. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
  68. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  69. package/es/test/index.d.ts +4 -2
  70. package/es/test/src/test.vue.d.ts +4 -2
  71. package/es/test/src/test.vue2.mjs +14 -3
  72. package/es/test/src/test.vue2.mjs.map +1 -1
  73. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
  74. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  75. package/es/uni-icon/style/index.css +1 -1
  76. package/es/uni-icon/style/index.scss +1 -1
  77. package/es/url-input/index.d.ts +35 -0
  78. package/es/url-input/index.mjs +8 -0
  79. package/es/url-input/index.mjs.map +1 -0
  80. package/es/url-input/src/props.d.ts +16 -0
  81. package/es/url-input/src/props.mjs +13 -0
  82. package/es/url-input/src/props.mjs.map +1 -0
  83. package/es/url-input/src/url-input-content.vue.d.ts +25 -0
  84. package/es/url-input/src/url-input-content.vue.mjs +7 -0
  85. package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
  86. package/es/url-input/src/url-input-content.vue2.mjs +301 -0
  87. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
  88. package/es/url-input/src/url-input-table.vue.d.ts +16 -0
  89. package/es/url-input/src/url-input-table.vue.mjs +7 -0
  90. package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
  91. package/es/url-input/src/url-input-table.vue2.mjs +63 -0
  92. package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
  93. package/es/url-input/src/url-input.vue.d.ts +34 -0
  94. package/es/url-input/src/url-input.vue.mjs +7 -0
  95. package/es/url-input/src/url-input.vue.mjs.map +1 -0
  96. package/es/url-input/src/url-input.vue2.mjs +69 -0
  97. package/es/url-input/src/url-input.vue2.mjs.map +1 -0
  98. package/es/url-input/style/index.css +1 -0
  99. package/es/url-input/style/index.scss +38 -0
  100. package/lib/attachment/src/attachment.vue2.js +7 -1
  101. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  102. package/lib/attachment-dialog/src/attachment-dialog.vue2.js +2 -0
  103. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  104. package/lib/form/src/form.vue2.js +0 -1
  105. package/lib/form/src/form.vue2.js.map +1 -1
  106. package/lib/group/src/group.vue2.js +14 -1
  107. package/lib/group/src/group.vue2.js.map +1 -1
  108. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
  109. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  110. package/lib/icon/style/index.css +0 -1
  111. package/lib/icon/style/index.scss +1 -1
  112. package/lib/index.d.ts +1 -0
  113. package/lib/index.js +8 -3
  114. package/lib/index.js.map +1 -1
  115. package/lib/index.scss +1 -0
  116. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  117. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
  118. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
  119. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  120. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
  121. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
  122. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  123. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
  124. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  125. package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  126. package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
  127. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  128. package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
  129. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
  130. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
  131. package/lib/page-diy/src/props.js +1 -1
  132. package/lib/page-diy/src/props.js.map +1 -1
  133. package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  134. package/lib/page-diy/src/views/min/DkMinGrid.vue.js +70 -0
  135. package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
  136. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  137. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
  138. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  139. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  140. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
  141. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  142. package/lib/page-diy/src/views/min/index.js +3 -1
  143. package/lib/page-diy/src/views/min/index.js.map +1 -1
  144. package/lib/page-diy/style/drag-tool.css +1 -1
  145. package/lib/page-diy/style/drag-tool.scss +4 -0
  146. package/lib/page-diy/style/index.css +1 -1
  147. package/lib/page-diy/style/minViews/index.scss +8 -0
  148. package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
  149. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  150. package/lib/style-box-input/style/index.css +1 -1
  151. package/lib/style-box-input/style/index.scss +13 -3
  152. package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
  153. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  154. package/lib/style-input/src/style-input.vue2.js +1 -0
  155. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  156. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
  157. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  158. package/lib/test/index.d.ts +4 -2
  159. package/lib/test/src/test.vue.d.ts +4 -2
  160. package/lib/test/src/test.vue2.js +14 -3
  161. package/lib/test/src/test.vue2.js.map +1 -1
  162. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
  163. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  164. package/lib/uni-icon/style/index.css +1 -1
  165. package/lib/uni-icon/style/index.scss +1 -1
  166. package/lib/url-input/index.d.ts +35 -0
  167. package/lib/url-input/index.js +14 -0
  168. package/lib/url-input/index.js.map +1 -0
  169. package/lib/url-input/src/props.d.ts +16 -0
  170. package/lib/url-input/src/props.js +15 -0
  171. package/lib/url-input/src/props.js.map +1 -0
  172. package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
  173. package/lib/url-input/src/url-input-content.vue.js +11 -0
  174. package/lib/url-input/src/url-input-content.vue.js.map +1 -0
  175. package/lib/url-input/src/url-input-content.vue2.js +305 -0
  176. package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
  177. package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
  178. package/lib/url-input/src/url-input-table.vue.js +11 -0
  179. package/lib/url-input/src/url-input-table.vue.js.map +1 -0
  180. package/lib/url-input/src/url-input-table.vue2.js +67 -0
  181. package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
  182. package/lib/url-input/src/url-input.vue.d.ts +34 -0
  183. package/lib/url-input/src/url-input.vue.js +11 -0
  184. package/lib/url-input/src/url-input.vue.js.map +1 -0
  185. package/lib/url-input/src/url-input.vue2.js +73 -0
  186. package/lib/url-input/src/url-input.vue2.js.map +1 -0
  187. package/lib/url-input/style/index.css +1 -0
  188. package/lib/url-input/style/index.scss +38 -0
  189. package/package.json +1 -1
@@ -0,0 +1,301 @@
1
+ import { defineComponent, computed, inject, reactive, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createElementVNode, resolveDynamicComponent, toDisplayString, normalizeClass, createCommentVNode, createTextVNode } from 'vue';
2
+ import DkUrlInputTable from './url-input-table.vue.mjs';
3
+
4
+ const _hoisted_1 = { style: { "padding": "10px" } };
5
+ const _hoisted_2 = { key: 0 };
6
+ const _hoisted_3 = { key: 1 };
7
+ const _hoisted_4 = { key: 2 };
8
+ const _hoisted_5 = { key: 0 };
9
+ const _hoisted_6 = { key: 0 };
10
+ const _hoisted_7 = { style: { "padding-bottom": "10px", "font-weight": "700", "color": "#000" } };
11
+ const _hoisted_8 = { class: "url-list" };
12
+ const _hoisted_9 = ["onClick"];
13
+ const _hoisted_10 = {
14
+ key: 1,
15
+ class: "url-list"
16
+ };
17
+ const _hoisted_11 = ["onClick"];
18
+ const _hoisted_12 = { style: { "width": "500px", "margin": "100px auto" } };
19
+ const _hoisted_13 = {
20
+ key: 0,
21
+ style: { "padding-bottom": "20px" }
22
+ };
23
+ const _hoisted_14 = { key: 0 };
24
+ const _hoisted_15 = { key: 1 };
25
+ const _hoisted_16 = { style: { "text-align": "center" } };
26
+ const __default__ = defineComponent({
27
+ name: "DkUrlInputContent"
28
+ });
29
+ var _sfc_main = /* @__PURE__ */ defineComponent({
30
+ ...__default__,
31
+ props: {
32
+ urlData: {
33
+ default: () => {
34
+ return [];
35
+ },
36
+ type: Array
37
+ },
38
+ jumpMinApp: { default: false, type: Boolean }
39
+ },
40
+ emits: ["submit"],
41
+ setup(__props, { emit }) {
42
+ const props = __props;
43
+ const _urlData = computed(() => {
44
+ console.log("urlData", props.urlData);
45
+ if (props.urlData?.length > 0) {
46
+ return props.urlData;
47
+ } else {
48
+ return inject("urlInputData", []);
49
+ }
50
+ });
51
+ const minapp = reactive({
52
+ appid: "",
53
+ path: ""
54
+ });
55
+ const chooseUrl = ref("");
56
+ const urlType = ref(1);
57
+ const onTabChange = () => {
58
+ chooseUrl.value = "";
59
+ };
60
+ const onChooseUrl = (url) => {
61
+ chooseUrl.value = url;
62
+ };
63
+ watch(
64
+ () => minapp,
65
+ () => {
66
+ if (minapp.appid) {
67
+ chooseUrl.value = minapp.appid + "@" + minapp.path || "/";
68
+ }
69
+ },
70
+ {
71
+ deep: true
72
+ }
73
+ );
74
+ const onSubmit = () => {
75
+ emit("submit", chooseUrl.value);
76
+ };
77
+ return (_ctx, _cache) => {
78
+ const _component_el_tab_pane = resolveComponent("el-tab-pane");
79
+ const _component_el_radio = resolveComponent("el-radio");
80
+ const _component_el_radio_group = resolveComponent("el-radio-group");
81
+ const _component_el_input = resolveComponent("el-input");
82
+ const _component_el_form_item = resolveComponent("el-form-item");
83
+ const _component_el_form = resolveComponent("el-form");
84
+ const _component_el_tabs = resolveComponent("el-tabs");
85
+ const _component_el_button = resolveComponent("el-button");
86
+ return openBlock(), createElementBlock(
87
+ Fragment,
88
+ null,
89
+ [
90
+ createVNode(_component_el_tabs, {
91
+ "tab-position": "left",
92
+ style: { "height": "430px" },
93
+ class: "dk-url-input-content",
94
+ onTabChange: _cache[4] || (_cache[4] = ($event) => onTabChange())
95
+ }, {
96
+ default: withCtx(() => [
97
+ (openBlock(true), createElementBlock(
98
+ Fragment,
99
+ null,
100
+ renderList(_urlData.value, (item, key) => {
101
+ return openBlock(), createBlock(_component_el_tab_pane, {
102
+ key,
103
+ label: item.title
104
+ }, {
105
+ default: withCtx(() => [
106
+ createElementVNode("div", _hoisted_1, [
107
+ item.type === "table" ? (openBlock(), createElementBlock("div", _hoisted_2, [
108
+ createVNode(DkUrlInputTable, {
109
+ item,
110
+ onOnChooseUrl: onChooseUrl
111
+ }, null, 8, ["item"])
112
+ ])) : item.type === "component" ? (openBlock(), createElementBlock("div", _hoisted_3, [
113
+ (openBlock(), createBlock(
114
+ resolveDynamicComponent(item.componentName),
115
+ { onOnChooseUrl: onChooseUrl },
116
+ null,
117
+ 32
118
+ /* HYDRATE_EVENTS */
119
+ ))
120
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4, [
121
+ item.lists?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
122
+ (openBlock(true), createElementBlock(
123
+ Fragment,
124
+ null,
125
+ renderList(item.lists, (val, k) => {
126
+ return openBlock(), createElementBlock("div", { key: k }, [
127
+ val.list ? (openBlock(), createElementBlock("div", _hoisted_6, [
128
+ createElementVNode(
129
+ "div",
130
+ _hoisted_7,
131
+ toDisplayString(val.title),
132
+ 1
133
+ /* TEXT */
134
+ ),
135
+ createElementVNode("div", _hoisted_8, [
136
+ (openBlock(true), createElementBlock(
137
+ Fragment,
138
+ null,
139
+ renderList(val.list, (v, k2) => {
140
+ return openBlock(), createElementBlock("div", {
141
+ key: k2,
142
+ class: normalizeClass(["url-box", chooseUrl.value == v.url ? "choose" : ""]),
143
+ onClick: ($event) => chooseUrl.value = v.url
144
+ }, toDisplayString(v.title), 11, _hoisted_9);
145
+ }),
146
+ 128
147
+ /* KEYED_FRAGMENT */
148
+ ))
149
+ ])
150
+ ])) : createCommentVNode("v-if", true)
151
+ ]);
152
+ }),
153
+ 128
154
+ /* KEYED_FRAGMENT */
155
+ ))
156
+ ])) : (openBlock(), createElementBlock("div", _hoisted_10, [
157
+ (openBlock(true), createElementBlock(
158
+ Fragment,
159
+ null,
160
+ renderList(item.list, (val, k) => {
161
+ return openBlock(), createElementBlock("div", {
162
+ key: k,
163
+ class: normalizeClass(["url-box", chooseUrl.value == val.url ? "choose" : ""]),
164
+ onClick: ($event) => chooseUrl.value = val.url
165
+ }, toDisplayString(val.title), 11, _hoisted_11);
166
+ }),
167
+ 128
168
+ /* KEYED_FRAGMENT */
169
+ ))
170
+ ]))
171
+ ]))
172
+ ])
173
+ ]),
174
+ _: 2
175
+ /* DYNAMIC */
176
+ }, 1032, ["label"]);
177
+ }),
178
+ 128
179
+ /* KEYED_FRAGMENT */
180
+ )),
181
+ createVNode(_component_el_tab_pane, { label: "\u81EA\u5B9A\u4E49\u94FE\u63A5" }, {
182
+ default: withCtx(() => [
183
+ createElementVNode("div", _hoisted_12, [
184
+ __props.jumpMinApp ? (openBlock(), createElementBlock("div", _hoisted_13, [
185
+ createVNode(_component_el_radio_group, {
186
+ modelValue: urlType.value,
187
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => urlType.value = $event),
188
+ class: "ml-4"
189
+ }, {
190
+ default: withCtx(() => [
191
+ createVNode(_component_el_radio, {
192
+ value: 1,
193
+ size: "large"
194
+ }, {
195
+ default: withCtx(() => [
196
+ createTextVNode("\u94FE\u63A5\u6216\u8DEF\u5F84")
197
+ ]),
198
+ _: 1
199
+ /* STABLE */
200
+ }),
201
+ createVNode(_component_el_radio, {
202
+ value: 2,
203
+ size: "large"
204
+ }, {
205
+ default: withCtx(() => [
206
+ createTextVNode("\u8DF3\u8F6C\u5176\u4ED6\u5C0F\u7A0B\u5E8F")
207
+ ]),
208
+ _: 1
209
+ /* STABLE */
210
+ })
211
+ ]),
212
+ _: 1
213
+ /* STABLE */
214
+ }, 8, ["modelValue"])
215
+ ])) : createCommentVNode("v-if", true),
216
+ createVNode(_component_el_form, {
217
+ "label-width": "100px",
218
+ "label-position": "top",
219
+ size: "default"
220
+ }, {
221
+ default: withCtx(() => [
222
+ urlType.value === 1 ? (openBlock(), createElementBlock("div", _hoisted_14, [
223
+ createVNode(_component_el_form_item, {
224
+ label: "\u586B\u5199\u5730\u5740\u6216\u8DEF\u5F84",
225
+ required: ""
226
+ }, {
227
+ default: withCtx(() => [
228
+ createVNode(_component_el_input, {
229
+ modelValue: chooseUrl.value,
230
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => chooseUrl.value = $event),
231
+ size: "default"
232
+ }, null, 8, ["modelValue"])
233
+ ]),
234
+ _: 1
235
+ /* STABLE */
236
+ })
237
+ ])) : (openBlock(), createElementBlock("div", _hoisted_15, [
238
+ createVNode(_component_el_form_item, {
239
+ label: "\u586B\u5199\u5C0F\u7A0B\u5E8FAPPID",
240
+ required: ""
241
+ }, {
242
+ default: withCtx(() => [
243
+ createVNode(_component_el_input, {
244
+ modelValue: minapp.appid,
245
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => minapp.appid = $event),
246
+ size: "default"
247
+ }, null, 8, ["modelValue"])
248
+ ]),
249
+ _: 1
250
+ /* STABLE */
251
+ }),
252
+ createVNode(_component_el_form_item, { label: "\u586B\u5199\u5C0F\u7A0B\u5E8F\u8DEF\u5F84" }, {
253
+ default: withCtx(() => [
254
+ createVNode(_component_el_input, {
255
+ modelValue: minapp.path,
256
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => minapp.path = $event),
257
+ size: "default"
258
+ }, null, 8, ["modelValue"])
259
+ ]),
260
+ _: 1
261
+ /* STABLE */
262
+ })
263
+ ]))
264
+ ]),
265
+ _: 1
266
+ /* STABLE */
267
+ })
268
+ ])
269
+ ]),
270
+ _: 1
271
+ /* STABLE */
272
+ })
273
+ ]),
274
+ _: 1
275
+ /* STABLE */
276
+ }),
277
+ createElementVNode("div", _hoisted_16, [
278
+ createVNode(_component_el_button, {
279
+ size: "default",
280
+ style: { "width": "200px" },
281
+ type: "primary",
282
+ disabled: !chooseUrl.value,
283
+ onClick: _cache[5] || (_cache[5] = ($event) => onSubmit())
284
+ }, {
285
+ default: withCtx(() => [
286
+ createTextVNode(" \u786E\u5B9A ")
287
+ ]),
288
+ _: 1
289
+ /* STABLE */
290
+ }, 8, ["disabled"])
291
+ ])
292
+ ],
293
+ 64
294
+ /* STABLE_FRAGMENT */
295
+ );
296
+ };
297
+ }
298
+ });
299
+
300
+ export { _sfc_main as default };
301
+ //# sourceMappingURL=url-input-content.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input-content.vue2.mjs","sources":["../../../src/url-input/src/url-input-content.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkUrlInputContent',\n});\n</script>\n<template>\n <el-tabs tab-position=\"left\" style=\"height: 430px\" class=\"dk-url-input-content\" @tab-change=\"onTabChange()\">\n <el-tab-pane v-for=\"(item, key) in _urlData\" :key=\"key\" :label=\"item.title\">\n <div style=\"padding: 10px\">\n <div v-if=\"item.type === 'table'\">\n <dk-url-input-table :item=\"item\" @on-choose-url=\"onChooseUrl\"></dk-url-input-table>\n </div>\n <div v-else-if=\"item.type === 'component'\">\n <component :is=\"item.componentName\" @on-choose-url=\"onChooseUrl\"></component>\n </div>\n <div v-else>\n <div v-if=\"item.lists?.length > 0\">\n <div v-for=\"(val, k) in item.lists\" :key=\"k\">\n <div v-if=\"val.list\">\n <div style=\"padding-bottom: 10px; font-weight: 700; color: #000\">\n {{ val.title }}\n </div>\n <div class=\"url-list\">\n <div\n v-for=\"(v, k) in val.list\"\n :key=\"k\"\n class=\"url-box\"\n :class=\"chooseUrl == v.url ? 'choose' : ''\"\n @click=\"chooseUrl = v.url\"\n >\n {{ v.title }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div v-else class=\"url-list\">\n <div\n v-for=\"(val, k) in item.list\"\n :key=\"k\"\n class=\"url-box\"\n :class=\"chooseUrl == val.url ? 'choose' : ''\"\n @click=\"chooseUrl = val.url\"\n >\n {{ val.title }}\n </div>\n </div>\n </div>\n </div>\n </el-tab-pane>\n <el-tab-pane label=\"自定义链接\">\n <div style=\"width: 500px; margin: 100px auto\">\n <div v-if=\"jumpMinApp\" style=\"padding-bottom: 20px\">\n <el-radio-group v-model=\"urlType\" class=\"ml-4\">\n <el-radio :value=\"1\" size=\"large\">链接或路径</el-radio>\n <el-radio :value=\"2\" size=\"large\">跳转其他小程序</el-radio>\n </el-radio-group>\n </div>\n <el-form label-width=\"100px\" label-position=\"top\" size=\"default\">\n <div v-if=\"urlType === 1\">\n <el-form-item label=\"填写地址或路径\" required>\n <el-input v-model=\"chooseUrl\" size=\"default\" />\n </el-form-item>\n </div>\n <div v-else>\n <el-form-item label=\"填写小程序APPID\" required>\n <el-input v-model=\"minapp.appid\" size=\"default\" />\n </el-form-item>\n <el-form-item label=\"填写小程序路径\">\n <el-input v-model=\"minapp.path\" size=\"default\" />\n </el-form-item>\n </div>\n </el-form>\n </div>\n </el-tab-pane>\n </el-tabs>\n <div style=\"text-align: center\">\n <el-button size=\"default\" style=\"width: 200px\" type=\"primary\" :disabled=\"!chooseUrl\" @click=\"onSubmit()\">\n 确定\n </el-button>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, reactive, ref, watch, inject } from 'vue'\nimport DkUrlInputTable from './url-input-table.vue'\n\n\nconst emit = defineEmits(['submit'])\n\nconst props = defineProps({\n urlData: {\n default: () => {\n return []\n },\n type: Array,\n },\n jumpMinApp: { default: false, type: Boolean },\n})\n\nconst _urlData: any = computed(() => {\n console.log('urlData', props.urlData)\n if (props.urlData?.length > 0) {\n return props.urlData\n } else {\n return inject('urlInputData', [])\n }\n})\n\nconst minapp = reactive({\n appid: '',\n path: '',\n})\nconst chooseUrl = ref('')\nconst urlType = ref(1)\n\nconst onTabChange = () => {\n chooseUrl.value = ''\n}\n\nconst onChooseUrl = (url: any) => {\n chooseUrl.value = url\n}\n\nwatch(\n () => minapp,\n () => {\n if (minapp.appid) {\n chooseUrl.value = minapp.appid + '@' + minapp.path || '/'\n }\n },\n {\n deep: true,\n }\n)\n\nconst onSubmit = () => {\n emit('submit', chooseUrl.value)\n}\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,mBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;AAgGD,IAAM,MAAA,QAAA,GAAgB,SAAS,MAAM;AACnC,MAAQ,OAAA,CAAA,GAAA,CAAI,SAAW,EAAA,KAAA,CAAM,OAAO,CAAA,CAAA;AACpC,MAAI,IAAA,KAAA,CAAM,OAAS,EAAA,MAAA,GAAS,CAAG,EAAA;AAC7B,QAAA,OAAO,KAAM,CAAA,OAAA,CAAA;AAAA,OACR,MAAA;AACL,QAAO,OAAA,MAAA,CAAO,cAAgB,EAAA,EAAE,CAAA,CAAA;AAAA,OAClC;AAAA,KACD,CAAA,CAAA;AAED,IAAA,MAAM,SAAS,QAAS,CAAA;AAAA,MACtB,KAAO,EAAA,EAAA;AAAA,MACP,IAAM,EAAA,EAAA;AAAA,KACP,CAAA,CAAA;AACD,IAAM,MAAA,SAAA,GAAY,IAAI,EAAE,CAAA,CAAA;AACxB,IAAM,MAAA,OAAA,GAAU,IAAI,CAAC,CAAA,CAAA;AAErB,IAAA,MAAM,cAAc,MAAM;AACxB,MAAA,SAAA,CAAU,KAAQ,GAAA,EAAA,CAAA;AAAA,KACpB,CAAA;AAEA,IAAM,MAAA,WAAA,GAAc,CAAC,GAAa,KAAA;AAChC,MAAA,SAAA,CAAU,KAAQ,GAAA,GAAA,CAAA;AAAA,KACpB,CAAA;AAEA,IAAA,KAAA;AAAA,MACE,MAAM,MAAA;AAAA,MACN,MAAM;AACJ,QAAA,IAAI,OAAO,KAAO,EAAA;AAChB,UAAA,SAAA,CAAU,KAAQ,GAAA,MAAA,CAAO,KAAQ,GAAA,GAAA,GAAM,OAAO,IAAQ,IAAA,GAAA,CAAA;AAAA,SACxD;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,OACR;AAAA,KACF,CAAA;AAEA,IAAA,MAAM,WAAW,MAAM;AACrB,MAAK,IAAA,CAAA,QAAA,EAAU,UAAU,KAAK,CAAA,CAAA;AAAA,KAChC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ item: {
3
+ default: () => {};
4
+ type: ObjectConstructor;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChooseUrl"[], "onChooseUrl", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ item: {
8
+ default: () => {};
9
+ type: ObjectConstructor;
10
+ };
11
+ }>> & {
12
+ onOnChooseUrl?: ((...args: any[]) => any) | undefined;
13
+ }, {
14
+ item: Record<string, any>;
15
+ }, {}>;
16
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './url-input-table.vue2.mjs';
2
+ import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
+
4
+ var DkUrlInputTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\url-input\\src\\url-input-table.vue"]]);
5
+
6
+ export { DkUrlInputTable as default };
7
+ //# sourceMappingURL=url-input-table.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input-table.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,63 @@
1
+ import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
2
+ import { ElMessage } from 'element-plus';
3
+
4
+ var _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "url-input-table",
6
+ props: {
7
+ item: {
8
+ default: () => {
9
+ return {};
10
+ },
11
+ type: Object
12
+ }
13
+ },
14
+ emits: ["onChooseUrl"],
15
+ setup(__props, { emit }) {
16
+ const props = __props;
17
+ defineComponent({
18
+ name: "DkUrlInputTable"
19
+ });
20
+ const DkTableRef = ref();
21
+ const selection = computed(() => DkTableRef?.value?.DkTable?.table?.selection || []);
22
+ watch(
23
+ () => selection.value.length,
24
+ () => {
25
+ console.log(selection);
26
+ if (selection.value.length > 1) {
27
+ ElMessage({
28
+ message: "\u9009\u62E9\u591A\u4E2A\u53EA\u6709\u6700\u540E\u4E00\u4E2A\u751F\u6548",
29
+ type: "warning"
30
+ });
31
+ }
32
+ const val = selection.value[selection.value.length - 1];
33
+ if (val) {
34
+ const url = val[props.item.urlField] || props.item.urlRule.replace("{pkField}", val[props.item.pkField]);
35
+ emit("onChooseUrl", url);
36
+ }
37
+ }
38
+ );
39
+ return (_ctx, _cache) => {
40
+ const _component_dk_table = resolveComponent("dk-table");
41
+ return openBlock(), createBlock(_component_dk_table, {
42
+ ref_key: "DkTableRef",
43
+ ref: DkTableRef,
44
+ "table-api": __props.item.tableUrl,
45
+ "cache-table": __props.item.cacheTable,
46
+ height: "300px"
47
+ }, {
48
+ cate_id_slot: withCtx(({ row }) => [
49
+ createTextVNode(
50
+ toDisplayString(row.category?.name),
51
+ 1
52
+ /* TEXT */
53
+ )
54
+ ]),
55
+ _: 1
56
+ /* STABLE */
57
+ }, 8, ["table-api", "cache-table"]);
58
+ };
59
+ }
60
+ });
61
+
62
+ export { _sfc_main as default };
63
+ //# sourceMappingURL=url-input-table.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input-table.vue2.mjs","sources":["../../../src/url-input/src/url-input-table.vue"],"sourcesContent":["<template>\n <dk-table ref=\"DkTableRef\" :table-api=\"item.tableUrl\" :cache-table=\"item.cacheTable\" height=\"300px\">\n <template #cate_id_slot=\"{ row }\">{{ row.category?.name }}</template>\n </dk-table>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, defineComponent, onMounted, ref, watch } from 'vue'\nimport { ElMessage } from 'element-plus'\ndefineComponent({\n name: 'DkUrlInputTable',\n})\nconst props = defineProps({\n item: {\n default: () => {\n return {}\n },\n type: Object,\n },\n})\n\nconst DkTableRef = ref()\nconst selection = computed(() => DkTableRef?.value?.DkTable?.table?.selection || [])\nconst emit = defineEmits(['onChooseUrl'])\n\nwatch(\n () => selection.value.length,\n () => {\n console.log(selection)\n if (selection.value.length > 1) {\n ElMessage({\n message: '选择多个只有最后一个生效',\n type: 'warning',\n })\n }\n const val = selection.value[selection.value.length - 1]\n if (val) {\n const url = val[props.item.urlField] || props.item.urlRule.replace('{pkField}', val[props.item.pkField])\n emit('onChooseUrl', url)\n }\n }\n)\n</script>\n\n<style scoped></style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAQA,IAAgB,eAAA,CAAA;AAAA,MACd,IAAM,EAAA,iBAAA;AAAA,KACP,CAAA,CAAA;AAUD,IAAA,MAAM,aAAa,GAAI,EAAA,CAAA;AACvB,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM,UAAA,EAAY,OAAO,OAAS,EAAA,KAAA,EAAO,SAAa,IAAA,EAAE,CAAA,CAAA;AAGnF,IAAA,KAAA;AAAA,MACE,MAAM,UAAU,KAAM,CAAA,MAAA;AAAA,MACtB,MAAM;AACJ,QAAA,OAAA,CAAQ,IAAI,SAAS,CAAA,CAAA;AACrB,QAAI,IAAA,SAAA,CAAU,KAAM,CAAA,MAAA,GAAS,CAAG,EAAA;AAC9B,UAAU,SAAA,CAAA;AAAA,YACR,OAAS,EAAA,0EAAA;AAAA,YACT,IAAM,EAAA,SAAA;AAAA,WACP,CAAA,CAAA;AAAA,SACH;AACA,QAAA,MAAM,MAAM,SAAU,CAAA,KAAA,CAAM,SAAU,CAAA,KAAA,CAAM,SAAS,CAAC,CAAA,CAAA;AACtD,QAAA,IAAI,GAAK,EAAA;AACP,UAAA,MAAM,GAAM,GAAA,GAAA,CAAI,KAAM,CAAA,IAAA,CAAK,QAAQ,CAAK,IAAA,KAAA,CAAM,IAAK,CAAA,OAAA,CAAQ,QAAQ,WAAa,EAAA,GAAA,CAAI,KAAM,CAAA,IAAA,CAAK,OAAO,CAAC,CAAA,CAAA;AACvG,UAAA,IAAA,CAAK,eAAe,GAAG,CAAA,CAAA;AAAA,SACzB;AAAA,OACF;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,34 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ default: string;
4
+ type: StringConstructor;
5
+ };
6
+ jumpMinApp: {
7
+ default: boolean;
8
+ type: BooleanConstructor;
9
+ };
10
+ urlData: {
11
+ default: () => never[];
12
+ type: ArrayConstructor;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ modelValue: {
16
+ default: string;
17
+ type: StringConstructor;
18
+ };
19
+ jumpMinApp: {
20
+ default: boolean;
21
+ type: BooleanConstructor;
22
+ };
23
+ urlData: {
24
+ default: () => never[];
25
+ type: ArrayConstructor;
26
+ };
27
+ }>> & {
28
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ }, {
30
+ modelValue: string;
31
+ urlData: unknown[];
32
+ jumpMinApp: boolean;
33
+ }, {}>;
34
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './url-input.vue2.mjs';
2
+ import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
+
4
+ var _UrlInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\url-input\\src\\url-input.vue"]]);
5
+
6
+ export { _UrlInput as default };
7
+ //# sourceMappingURL=url-input.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,69 @@
1
+ import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createBlock, createCommentVNode } from 'vue';
2
+ import DkUrlInputContent from './url-input-content.vue.mjs';
3
+ import { urlInputProps } from './props.mjs';
4
+
5
+ const _hoisted_1 = { class: "dk-url-input" };
6
+ const __default__ = defineComponent({
7
+ name: "DkUrlInput"
8
+ });
9
+ var _sfc_main = /* @__PURE__ */ defineComponent({
10
+ ...__default__,
11
+ props: urlInputProps,
12
+ emits: ["update:modelValue"],
13
+ setup(__props, { emit }) {
14
+ const props = __props;
15
+ const show = ref(false);
16
+ const url = ref(props.modelValue);
17
+ const updateUrl = (value) => {
18
+ url.value = value;
19
+ emit("update:modelValue", value);
20
+ show.value = false;
21
+ };
22
+ return (_ctx, _cache) => {
23
+ const _component_el_button = resolveComponent("el-button");
24
+ const _component_el_input = resolveComponent("el-input");
25
+ const _component_dk_dialog = resolveComponent("dk-dialog");
26
+ return openBlock(), createElementBlock("div", _hoisted_1, [
27
+ createVNode(_component_el_input, {
28
+ modelValue: url.value,
29
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => url.value = $event)
30
+ }, {
31
+ append: withCtx(() => [
32
+ createVNode(_component_el_button, {
33
+ onClick: _cache[0] || (_cache[0] = ($event) => show.value = true)
34
+ }, {
35
+ default: withCtx(() => [
36
+ createTextVNode("\u9009\u62E9")
37
+ ]),
38
+ _: 1
39
+ /* STABLE */
40
+ })
41
+ ]),
42
+ _: 1
43
+ /* STABLE */
44
+ }, 8, ["modelValue"]),
45
+ createVNode(_component_dk_dialog, {
46
+ modelValue: show.value,
47
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => show.value = $event),
48
+ title: "\u9009\u62E9\u94FE\u63A5",
49
+ width: "1000px",
50
+ "append-to-body": ""
51
+ }, {
52
+ default: withCtx(() => [
53
+ show.value ? (openBlock(), createBlock(DkUrlInputContent, {
54
+ key: 0,
55
+ "url-data": _ctx.urlData,
56
+ "jump-min-app": _ctx.jumpMinApp,
57
+ onSubmit: updateUrl
58
+ }, null, 8, ["url-data", "jump-min-app"])) : createCommentVNode("v-if", true)
59
+ ]),
60
+ _: 1
61
+ /* STABLE */
62
+ }, 8, ["modelValue"])
63
+ ]);
64
+ };
65
+ }
66
+ });
67
+
68
+ export { _sfc_main as default };
69
+ //# sourceMappingURL=url-input.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input.vue2.mjs","sources":["../../../src/url-input/src/url-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkUrlInput',\n});\n</script>\n<template>\n <div class=\"dk-url-input\">\n <el-input v-model=\"url\">\n <template #append>\n <el-button @click=\"show = true\">选择</el-button>\n </template>\n </el-input>\n <dk-dialog v-model=\"show\" title=\"选择链接\" width=\"1000px\" append-to-body>\n <DkUrlInputContent\n v-if=\"show\"\n :url-data=\"urlData\"\n :jump-min-app=\"jumpMinApp\"\n @submit=\"updateUrl\"\n ></DkUrlInputContent>\n </dk-dialog>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport DkUrlInputContent from './url-input-content.vue'\nimport { urlInputProps } from './props'\n\n\nconst show = ref(false)\n\nconst props = defineProps(urlInputProps)\n\nconst emit = defineEmits(['update:modelValue'])\nconst url = ref(props.modelValue)\nconst updateUrl = (value: string) => {\n url.value = value\n emit('update:modelValue', value)\n show.value = false\n}\n</script>\n\n<style></style>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,YAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA0BD,IAAM,MAAA,IAAA,GAAO,IAAI,KAAK,CAAA,CAAA;AAKtB,IAAM,MAAA,GAAA,GAAM,GAAI,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AAChC,IAAM,MAAA,SAAA,GAAY,CAAC,KAAkB,KAAA;AACnC,MAAA,GAAA,CAAI,KAAQ,GAAA,KAAA,CAAA;AACZ,MAAA,IAAA,CAAK,qBAAqB,KAAK,CAAA,CAAA;AAC/B,MAAA,IAAA,CAAK,KAAQ,GAAA,KAAA,CAAA;AAAA,KACf,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ .dk-url-input-content .url-list{display:flex;flex-wrap:wrap}.dk-url-input-content .url-list .url-box{padding:7px 30px;margin-right:10px;margin-bottom:10px;font-size:13px;font-weight:400;color:rgba(0,0,0,.85);text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#fafafa;border-radius:3px}.dk-url-input-content .url-list .url-box:hover{color:#333;background-color:var(--el-color-primary-light-9)}.dk-url-input-content .url-list .url-box.choose{color:#fff;background-color:var(--el-color-primary)}
@@ -0,0 +1,38 @@
1
+ /* stylelint-disable */
2
+ .dk-url-input {
3
+ }
4
+
5
+ .dk-url-input-content {
6
+ .url-list {
7
+ display: -webkit-box;
8
+ display: -ms-flexbox;
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+
12
+ .url-box {
13
+ padding: 7px 30px;
14
+ margin-right: 10px;
15
+ margin-bottom: 10px;
16
+ font-size: 13px;
17
+ font-weight: 400;
18
+ color: rgb(0 0 0 / 85%);
19
+ text-align: center;
20
+ cursor: pointer;
21
+ user-select: none;
22
+ background: #fafafa;
23
+ border-radius: 3px;
24
+
25
+ &:hover {
26
+ color: #333;
27
+ background-color: var(--el-color-primary-light-9);
28
+ }
29
+
30
+ &.choose {
31
+ color: #fff;
32
+ background-color: var(--el-color-primary);
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ /* stylelint-enable */
@@ -273,6 +273,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
273
273
  vue.createVNode(_component_el_input, {
274
274
  modelValue: searchFileName.value,
275
275
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchFileName.value = $event),
276
+ size: "default",
276
277
  placeholder: "\u8BF7\u8F93\u5165\u9644\u4EF6\u540D\u79F0",
277
278
  class: "input-with-select"
278
279
  }, {
@@ -321,6 +322,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
321
322
  ]),
322
323
  default: vue.withCtx(() => [
323
324
  vue.createVNode(_component_el_button, {
325
+ size: "default",
324
326
  type: "info",
325
327
  disabled: chooseFileKey.value.length <= 0
326
328
  }, {
@@ -335,6 +337,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
335
337
  /* STABLE */
336
338
  }),
337
339
  vue.createVNode(_component_el_button, {
340
+ size: "default",
338
341
  type: "danger",
339
342
  disabled: chooseFileKey.value.length <= 0,
340
343
  onClick: onDelete
@@ -360,7 +363,10 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
360
363
  "list-type": "text"
361
364
  }, {
362
365
  default: vue.withCtx(() => [
363
- vue.createVNode(_component_el_button, { type: "primary" }, {
366
+ vue.createVNode(_component_el_button, {
367
+ type: "primary",
368
+ size: "default"
369
+ }, {
364
370
  default: vue.withCtx(() => [
365
371
  vue.createTextVNode("\u4E0A\u4F20"),
366
372
  _hoisted_6