@vipl520/dk-ui 1.0.53 → 1.0.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +2012 -1428
  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 +2011 -1429
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/form/src/form.vue2.mjs +0 -1
  12. package/es/form/src/form.vue2.mjs.map +1 -1
  13. package/es/group/src/group.vue2.mjs +1 -0
  14. package/es/group/src/group.vue2.mjs.map +1 -1
  15. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
  16. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  17. package/es/icon/style/index.css +0 -1
  18. package/es/icon/style/index.scss +1 -1
  19. package/es/index.d.ts +1 -0
  20. package/es/index.mjs +5 -2
  21. package/es/index.mjs.map +1 -1
  22. package/es/index.scss +1 -0
  23. package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  24. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
  25. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
  26. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  27. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
  28. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
  29. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  30. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
  31. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  32. package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  33. package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
  34. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  35. package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
  36. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
  37. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
  38. package/es/page-diy/src/props.mjs +1 -1
  39. package/es/page-diy/src/props.mjs.map +1 -1
  40. package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  41. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +65 -0
  42. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
  43. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  44. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
  45. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  46. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  47. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
  48. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  49. package/es/page-diy/src/views/min/index.mjs +3 -1
  50. package/es/page-diy/src/views/min/index.mjs.map +1 -1
  51. package/es/page-diy/style/drag-tool.css +1 -1
  52. package/es/page-diy/style/drag-tool.scss +4 -0
  53. package/es/page-diy/style/index.css +1 -1
  54. package/es/page-diy/style/minViews/index.scss +8 -0
  55. package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
  56. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  57. package/es/style-box-input/style/index.css +1 -1
  58. package/es/style-box-input/style/index.scss +13 -3
  59. package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
  60. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  61. package/es/style-input/src/style-input.vue2.mjs +1 -0
  62. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  63. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
  64. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  65. package/es/test/index.d.ts +4 -2
  66. package/es/test/src/test.vue.d.ts +4 -2
  67. package/es/test/src/test.vue2.mjs +14 -3
  68. package/es/test/src/test.vue2.mjs.map +1 -1
  69. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
  70. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  71. package/es/uni-icon/style/index.css +1 -1
  72. package/es/uni-icon/style/index.scss +1 -1
  73. package/es/url-input/index.d.ts +35 -0
  74. package/es/url-input/index.mjs +8 -0
  75. package/es/url-input/index.mjs.map +1 -0
  76. package/es/url-input/src/props.d.ts +16 -0
  77. package/es/url-input/src/props.mjs +13 -0
  78. package/es/url-input/src/props.mjs.map +1 -0
  79. package/es/url-input/src/url-input-content.vue.d.ts +25 -0
  80. package/es/url-input/src/url-input-content.vue.mjs +7 -0
  81. package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
  82. package/es/url-input/src/url-input-content.vue2.mjs +301 -0
  83. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
  84. package/es/url-input/src/url-input-table.vue.d.ts +16 -0
  85. package/es/url-input/src/url-input-table.vue.mjs +7 -0
  86. package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
  87. package/es/url-input/src/url-input-table.vue2.mjs +63 -0
  88. package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
  89. package/es/url-input/src/url-input.vue.d.ts +34 -0
  90. package/es/url-input/src/url-input.vue.mjs +7 -0
  91. package/es/url-input/src/url-input.vue.mjs.map +1 -0
  92. package/es/url-input/src/url-input.vue2.mjs +69 -0
  93. package/es/url-input/src/url-input.vue2.mjs.map +1 -0
  94. package/es/url-input/style/index.css +1 -0
  95. package/es/url-input/style/index.scss +39 -0
  96. package/lib/form/src/form.vue2.js +0 -1
  97. package/lib/form/src/form.vue2.js.map +1 -1
  98. package/lib/group/src/group.vue2.js +1 -0
  99. package/lib/group/src/group.vue2.js.map +1 -1
  100. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
  101. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  102. package/lib/icon/style/index.css +0 -1
  103. package/lib/icon/style/index.scss +1 -1
  104. package/lib/index.d.ts +1 -0
  105. package/lib/index.js +8 -3
  106. package/lib/index.js.map +1 -1
  107. package/lib/index.scss +1 -0
  108. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  109. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
  110. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
  111. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  112. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
  113. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
  114. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  115. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
  116. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  117. package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  118. package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
  119. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  120. package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
  121. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
  122. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
  123. package/lib/page-diy/src/props.js +1 -1
  124. package/lib/page-diy/src/props.js.map +1 -1
  125. package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  126. package/lib/page-diy/src/views/min/DkMinGrid.vue.js +69 -0
  127. package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
  128. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  129. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
  130. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  131. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  132. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
  133. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  134. package/lib/page-diy/src/views/min/index.js +3 -1
  135. package/lib/page-diy/src/views/min/index.js.map +1 -1
  136. package/lib/page-diy/style/drag-tool.css +1 -1
  137. package/lib/page-diy/style/drag-tool.scss +4 -0
  138. package/lib/page-diy/style/index.css +1 -1
  139. package/lib/page-diy/style/minViews/index.scss +8 -0
  140. package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
  141. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  142. package/lib/style-box-input/style/index.css +1 -1
  143. package/lib/style-box-input/style/index.scss +13 -3
  144. package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
  145. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  146. package/lib/style-input/src/style-input.vue2.js +1 -0
  147. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  148. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
  149. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  150. package/lib/test/index.d.ts +4 -2
  151. package/lib/test/src/test.vue.d.ts +4 -2
  152. package/lib/test/src/test.vue2.js +14 -3
  153. package/lib/test/src/test.vue2.js.map +1 -1
  154. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
  155. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  156. package/lib/uni-icon/style/index.css +1 -1
  157. package/lib/uni-icon/style/index.scss +1 -1
  158. package/lib/url-input/index.d.ts +35 -0
  159. package/lib/url-input/index.js +14 -0
  160. package/lib/url-input/index.js.map +1 -0
  161. package/lib/url-input/src/props.d.ts +16 -0
  162. package/lib/url-input/src/props.js +15 -0
  163. package/lib/url-input/src/props.js.map +1 -0
  164. package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
  165. package/lib/url-input/src/url-input-content.vue.js +11 -0
  166. package/lib/url-input/src/url-input-content.vue.js.map +1 -0
  167. package/lib/url-input/src/url-input-content.vue2.js +305 -0
  168. package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
  169. package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
  170. package/lib/url-input/src/url-input-table.vue.js +11 -0
  171. package/lib/url-input/src/url-input-table.vue.js.map +1 -0
  172. package/lib/url-input/src/url-input-table.vue2.js +67 -0
  173. package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
  174. package/lib/url-input/src/url-input.vue.d.ts +34 -0
  175. package/lib/url-input/src/url-input.vue.js +11 -0
  176. package/lib/url-input/src/url-input.vue.js.map +1 -0
  177. package/lib/url-input/src/url-input.vue2.js +73 -0
  178. package/lib/url-input/src/url-input.vue2.js.map +1 -0
  179. package/lib/url-input/style/index.css +1 -0
  180. package/lib/url-input/style/index.scss +39 -0
  181. package/package.json +1 -1
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var elementPlus = require('element-plus');
7
+
8
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
+ __name: "url-input-table",
10
+ props: {
11
+ item: {
12
+ default: () => {
13
+ return {};
14
+ },
15
+ type: Object
16
+ }
17
+ },
18
+ emits: ["onChooseUrl"],
19
+ setup(__props, { emit }) {
20
+ const props = __props;
21
+ vue.defineComponent({
22
+ name: "DkUrlInputTable"
23
+ });
24
+ const DkTableRef = vue.ref();
25
+ const selection = vue.computed(() => DkTableRef?.value?.DkTable?.table?.selection || []);
26
+ vue.watch(
27
+ () => selection.value.length,
28
+ () => {
29
+ console.log(selection);
30
+ if (selection.value.length > 1) {
31
+ elementPlus.ElMessage({
32
+ message: "\u9009\u62E9\u591A\u4E2A\u53EA\u6709\u6700\u540E\u4E00\u4E2A\u751F\u6548",
33
+ type: "warning"
34
+ });
35
+ }
36
+ const val = selection.value[selection.value.length - 1];
37
+ if (val) {
38
+ const url = val[props.item.urlField] || props.item.urlRule.replace("{pkField}", val[props.item.pkField]);
39
+ emit("onChooseUrl", url);
40
+ }
41
+ }
42
+ );
43
+ return (_ctx, _cache) => {
44
+ const _component_dk_table = vue.resolveComponent("dk-table");
45
+ return vue.openBlock(), vue.createBlock(_component_dk_table, {
46
+ ref_key: "DkTableRef",
47
+ ref: DkTableRef,
48
+ "table-api": __props.item.tableUrl,
49
+ "cache-table": __props.item.cacheTable,
50
+ height: "300px"
51
+ }, {
52
+ cate_id_slot: vue.withCtx(({ row }) => [
53
+ vue.createTextVNode(
54
+ vue.toDisplayString(row.category?.name),
55
+ 1
56
+ /* TEXT */
57
+ )
58
+ ]),
59
+ _: 1
60
+ /* STABLE */
61
+ }, 8, ["table-api", "cache-table"]);
62
+ };
63
+ }
64
+ });
65
+
66
+ exports.default = _sfc_main;
67
+ //# sourceMappingURL=url-input-table.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input-table.vue2.js","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":["defineComponent","ref","computed","watch","ElMessage"],"mappings":";;;;;;;;;;;;;;;;;;;;AAQA,IAAgBA,mBAAA,CAAA;AAAA,MACd,IAAM,EAAA,iBAAA;AAAA,KACP,CAAA,CAAA;AAUD,IAAA,MAAM,aAAaC,OAAI,EAAA,CAAA;AACvB,IAAM,MAAA,SAAA,GAAYC,aAAS,MAAM,UAAA,EAAY,OAAO,OAAS,EAAA,KAAA,EAAO,SAAa,IAAA,EAAE,CAAA,CAAA;AAGnF,IAAAC,SAAA;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,UAAUC,qBAAA,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,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var urlInput_vue_vue_type_script_setup_true_lang = require('./url-input.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var _UrlInput = /* @__PURE__ */ _pluginVue_exportHelper.default(urlInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\url-input\\src\\url-input.vue"]]);
9
+
10
+ exports.default = _UrlInput;
11
+ //# sourceMappingURL=url-input.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,73 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var urlInputContent = require('./url-input-content.vue.js');
7
+ var props = require('./props.js');
8
+
9
+ const _hoisted_1 = { class: "dk-url-input" };
10
+ const __default__ = vue.defineComponent({
11
+ name: "DkUrlInput"
12
+ });
13
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
+ ...__default__,
15
+ props: props.urlInputProps,
16
+ emits: ["update:modelValue"],
17
+ setup(__props, { emit }) {
18
+ const props = __props;
19
+ const show = vue.ref(false);
20
+ const url = vue.ref(props.modelValue);
21
+ const updateUrl = (value) => {
22
+ url.value = value;
23
+ emit("update:modelValue", value);
24
+ show.value = false;
25
+ };
26
+ return (_ctx, _cache) => {
27
+ const _component_el_button = vue.resolveComponent("el-button");
28
+ const _component_el_input = vue.resolveComponent("el-input");
29
+ const _component_dk_dialog = vue.resolveComponent("dk-dialog");
30
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
31
+ vue.createVNode(_component_el_input, {
32
+ modelValue: url.value,
33
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => url.value = $event)
34
+ }, {
35
+ append: vue.withCtx(() => [
36
+ vue.createVNode(_component_el_button, {
37
+ onClick: _cache[0] || (_cache[0] = ($event) => show.value = true)
38
+ }, {
39
+ default: vue.withCtx(() => [
40
+ vue.createTextVNode("\u9009\u62E9")
41
+ ]),
42
+ _: 1
43
+ /* STABLE */
44
+ })
45
+ ]),
46
+ _: 1
47
+ /* STABLE */
48
+ }, 8, ["modelValue"]),
49
+ vue.createVNode(_component_dk_dialog, {
50
+ modelValue: show.value,
51
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => show.value = $event),
52
+ title: "\u9009\u62E9\u94FE\u63A5",
53
+ width: "1000px",
54
+ "append-to-body": ""
55
+ }, {
56
+ default: vue.withCtx(() => [
57
+ show.value ? (vue.openBlock(), vue.createBlock(urlInputContent.default, {
58
+ key: 0,
59
+ "url-data": _ctx.urlData,
60
+ "jump-min-app": _ctx.jumpMinApp,
61
+ onSubmit: updateUrl
62
+ }, null, 8, ["url-data", "jump-min-app"])) : vue.createCommentVNode("v-if", true)
63
+ ]),
64
+ _: 1
65
+ /* STABLE */
66
+ }, 8, ["modelValue"])
67
+ ]);
68
+ };
69
+ }
70
+ });
71
+
72
+ exports.default = _sfc_main;
73
+ //# sourceMappingURL=url-input.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input.vue2.js","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","ref"],"mappings":";;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,YAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA0BD,IAAM,MAAA,IAAA,GAAOC,QAAI,KAAK,CAAA,CAAA;AAKtB,IAAM,MAAA,GAAA,GAAMA,OAAI,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,39 @@
1
+ /* stylelint-disable */
2
+ .dk-url-input {
3
+ }
4
+
5
+ .dk-url-input-content{
6
+
7
+ .url-list {
8
+ display: -webkit-box;
9
+ display: -ms-flexbox;
10
+ display: flex;
11
+ flex-wrap: wrap;
12
+
13
+ .url-box {
14
+ padding: 7px 30px;
15
+ margin-right: 10px;
16
+ margin-bottom: 10px;
17
+ font-size: 13px;
18
+ font-weight: 400;
19
+ color: rgb(0 0 0 / 85%);
20
+ text-align: center;
21
+ cursor: pointer;
22
+ user-select: none;
23
+ background: #fafafa;
24
+ border-radius: 3px;
25
+
26
+ &:hover {
27
+ color: #333;
28
+ background-color: var(--el-color-primary-light-9);
29
+ }
30
+
31
+ &.choose {
32
+ color: #fff;
33
+ background-color: var(--el-color-primary);
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ /* stylelint-enable */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vipl520/dk-ui",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "多客怪兽框架核心组件,支持diy、crud动态表格、上传组件等",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",