@vipl520/dk-ui 1.0.54 → 1.0.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/dist/index.js +46 -8
  2. package/dist/index.min.js +4 -4
  3. package/dist/index.min.js.map +1 -1
  4. package/dist/index.min.mjs +4 -4
  5. package/dist/index.min.mjs.map +1 -1
  6. package/dist/index.mjs +46 -8
  7. package/dist/web-types.json +1 -1
  8. package/es/attachment/src/attachment.vue2.mjs +7 -1
  9. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  10. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs +2 -0
  11. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
  12. package/es/group/src/group.vue2.mjs +13 -1
  13. package/es/group/src/group.vue2.mjs.map +1 -1
  14. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +1 -1
  15. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  16. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +2 -1
  17. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -1
  18. package/es/style-box-input/src/style-box-input.vue2.mjs +1 -1
  19. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  20. package/es/url-input/index.d.ts +3 -1
  21. package/es/url-input/src/url-input-content.vue2.mjs +11 -3
  22. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -1
  23. package/es/url-input/src/url-input.vue.d.ts +3 -1
  24. package/es/url-input/src/url-input.vue2.mjs +11 -2
  25. package/es/url-input/src/url-input.vue2.mjs.map +1 -1
  26. package/es/url-input/style/index.scss +26 -27
  27. package/lib/attachment/src/attachment.vue2.js +7 -1
  28. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  29. package/lib/attachment-dialog/src/attachment-dialog.vue2.js +2 -0
  30. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  31. package/lib/group/src/group.vue2.js +13 -1
  32. package/lib/group/src/group.vue2.js.map +1 -1
  33. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +1 -1
  34. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  35. package/lib/page-diy/src/views/min/DkMinGrid.vue.js +2 -1
  36. package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -1
  37. package/lib/style-box-input/src/style-box-input.vue2.js +1 -1
  38. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  39. package/lib/url-input/index.d.ts +3 -1
  40. package/lib/url-input/src/url-input-content.vue2.js +10 -2
  41. package/lib/url-input/src/url-input-content.vue2.js.map +1 -1
  42. package/lib/url-input/src/url-input.vue.d.ts +3 -1
  43. package/lib/url-input/src/url-input.vue2.js +10 -1
  44. package/lib/url-input/src/url-input.vue2.js.map +1 -1
  45. package/lib/url-input/style/index.scss +26 -27
  46. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1293,12 +1293,24 @@
1293
1293
  icon: "Plus",
1294
1294
  plain: "",
1295
1295
  onClick: add
1296
+ }, {
1297
+ default: vue.withCtx(() => [
1298
+ vue.createTextVNode("\u589E\u52A0")
1299
+ ]),
1300
+ _: 1
1301
+ /* STABLE */
1296
1302
  }),
1297
1303
  vue.createVNode(_component_el_button, {
1298
1304
  icon: "Delete",
1299
1305
  plain: "",
1300
1306
  onClick: ($event) => del(index)
1301
- }, null, 8, ["onClick"])
1307
+ }, {
1308
+ default: vue.withCtx(() => [
1309
+ vue.createTextVNode("\u5220\u9664")
1310
+ ]),
1311
+ _: 2
1312
+ /* DYNAMIC */
1313
+ }, 1032, ["onClick"])
1302
1314
  ]),
1303
1315
  _: 2
1304
1316
  /* DYNAMIC */
@@ -1829,7 +1841,7 @@
1829
1841
  -1
1830
1842
  /* HOISTED */
1831
1843
  );
1832
- const _hoisted_7$f = { style: { "width": "100%", "display": "flex", "justify-content": "space-between" } };
1844
+ const _hoisted_7$f = { style: { "display": "flex", "justify-content": "space-between", "width": "100%" } };
1833
1845
  const __default__$L = vue.defineComponent({
1834
1846
  name: "HotAreaContent"
1835
1847
  });
@@ -3147,6 +3159,7 @@
3147
3159
  vue.createVNode(_component_el_input, {
3148
3160
  modelValue: searchFileName.value,
3149
3161
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchFileName.value = $event),
3162
+ size: "default",
3150
3163
  placeholder: "\u8BF7\u8F93\u5165\u9644\u4EF6\u540D\u79F0",
3151
3164
  class: "input-with-select"
3152
3165
  }, {
@@ -3195,6 +3208,7 @@
3195
3208
  ]),
3196
3209
  default: vue.withCtx(() => [
3197
3210
  vue.createVNode(_component_el_button, {
3211
+ size: "default",
3198
3212
  type: "info",
3199
3213
  disabled: chooseFileKey.value.length <= 0
3200
3214
  }, {
@@ -3209,6 +3223,7 @@
3209
3223
  /* STABLE */
3210
3224
  }),
3211
3225
  vue.createVNode(_component_el_button, {
3226
+ size: "default",
3212
3227
  type: "danger",
3213
3228
  disabled: chooseFileKey.value.length <= 0,
3214
3229
  onClick: onDelete
@@ -3234,7 +3249,10 @@
3234
3249
  "list-type": "text"
3235
3250
  }, {
3236
3251
  default: vue.withCtx(() => [
3237
- vue.createVNode(_component_el_button, { type: "primary" }, {
3252
+ vue.createVNode(_component_el_button, {
3253
+ type: "primary",
3254
+ size: "default"
3255
+ }, {
3238
3256
  default: vue.withCtx(() => [
3239
3257
  vue.createTextVNode("\u4E0A\u4F20"),
3240
3258
  _hoisted_6$d
@@ -3523,6 +3541,7 @@
3523
3541
  vue.createElementVNode("div", _hoisted_1$P, [
3524
3542
  vue.createVNode(_component_el_button, {
3525
3543
  type: "primary",
3544
+ size: "default",
3526
3545
  onClick: _cache[0] || (_cache[0] = ($event) => confirm())
3527
3546
  }, {
3528
3547
  default: vue.withCtx(() => [
@@ -3532,6 +3551,7 @@
3532
3551
  /* STABLE */
3533
3552
  }),
3534
3553
  vue.createVNode(_component_el_button, {
3554
+ size: "default",
3535
3555
  onClick: _cache[1] || (_cache[1] = ($event) => cancel())
3536
3556
  }, {
3537
3557
  default: vue.withCtx(() => [
@@ -5669,7 +5689,7 @@
5669
5689
  const height = vue.computed(() => {
5670
5690
  if (props.height === "auto") {
5671
5691
  const h = width.value / 1.8;
5672
- return h > 300 ? 300 : h;
5692
+ return h > 200 ? 200 : h;
5673
5693
  } else {
5674
5694
  return props.height;
5675
5695
  }
@@ -12362,7 +12382,8 @@
12362
12382
  key: 0,
12363
12383
  border: false,
12364
12384
  "column-num": $props.columnNum,
12365
- class: "min-h-30px dk-app-gold-grid"
12385
+ class: "min-h-30px dk-app-gold-grid",
12386
+ style: {"--van-grid-item-content-background":"none"}
12366
12387
  }, {
12367
12388
  default: vue.withCtx(() => [
12368
12389
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.list, (item, key) => {
@@ -27130,12 +27151,20 @@
27130
27151
  emits: ["submit"],
27131
27152
  setup(__props, { emit }) {
27132
27153
  const props = __props;
27154
+ const urlInputData = vue.inject("urlInputData", []);
27133
27155
  const _urlData = vue.computed(() => {
27134
27156
  console.log("urlData", props.urlData);
27135
27157
  if (props.urlData?.length > 0) {
27136
27158
  return props.urlData;
27137
27159
  } else {
27138
- return vue.inject("urlInputData", []);
27160
+ return urlInputData.urlData;
27161
+ }
27162
+ });
27163
+ const _jumpMinApp = vue.computed(() => {
27164
+ if (urlInputData.jumpMinApp !== void 0) {
27165
+ return urlInputData.jumpMinApp;
27166
+ } else {
27167
+ return props.jumpMinApp;
27139
27168
  }
27140
27169
  });
27141
27170
  const minapp = vue.reactive({
@@ -27271,7 +27300,7 @@
27271
27300
  vue.createVNode(_component_el_tab_pane, { label: "\u81EA\u5B9A\u4E49\u94FE\u63A5" }, {
27272
27301
  default: vue.withCtx(() => [
27273
27302
  vue.createElementVNode("div", _hoisted_12, [
27274
- __props.jumpMinApp ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
27303
+ _jumpMinApp.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
27275
27304
  vue.createVNode(_component_el_radio_group, {
27276
27305
  modelValue: urlType.value,
27277
27306
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => urlType.value = $event),
@@ -27407,16 +27436,25 @@
27407
27436
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
27408
27437
  ...__default__,
27409
27438
  props: urlInputProps,
27410
- emits: ["update:modelValue"],
27439
+ emits: ["input", "update:modelValue", "change"],
27411
27440
  setup(__props, { emit }) {
27412
27441
  const props = __props;
27413
27442
  const show = vue.ref(false);
27414
27443
  const url = vue.ref(props.modelValue);
27415
27444
  const updateUrl = (value) => {
27445
+ console.log("url", url);
27416
27446
  url.value = value;
27417
27447
  emit("update:modelValue", value);
27418
27448
  show.value = false;
27419
27449
  };
27450
+ vue.watch(
27451
+ () => url.value,
27452
+ (val) => {
27453
+ emit("update:modelValue", val);
27454
+ emit("input", val);
27455
+ emit("change", val);
27456
+ }
27457
+ );
27420
27458
  return (_ctx, _cache) => {
27421
27459
  const _component_el_button = vue.resolveComponent("el-button");
27422
27460
  const _component_el_input = vue.resolveComponent("el-input");