3h1-ui 2.14.24 → 2.14.26

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.
package/es/index.js CHANGED
@@ -7065,7 +7065,7 @@ const _hoisted_5$4 = {
7065
7065
  key: 0,
7066
7066
  class: "flex py-2 items-center justify-center"
7067
7067
  };
7068
- const _hoisted_6$1 = {
7068
+ const _hoisted_6$2 = {
7069
7069
  key: 1,
7070
7070
  class: "p-5"
7071
7071
  };
@@ -7207,7 +7207,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
7207
7207
  onChange: handlePageChange
7208
7208
  }, null, 8, ["pageSize", "total"])
7209
7209
  ])) : createCommentVNode("", true)
7210
- ])) : (openBlock(), createElementBlock("div", _hoisted_6$1, [
7210
+ ])) : (openBlock(), createElementBlock("div", _hoisted_6$2, [
7211
7211
  createVNode(unref(AEmpty))
7212
7212
  ]))
7213
7213
  ]),
@@ -7375,16 +7375,20 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
7375
7375
  }
7376
7376
  const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$C]]);
7377
7377
  const _hoisted_1$q = { key: 0 };
7378
- const _hoisted_2$8 = {
7378
+ const _hoisted_2$8 = { key: 1 };
7379
+ const _hoisted_3$5 = {
7379
7380
  key: 1,
7380
7381
  class: "delete-wrapper"
7381
7382
  };
7382
- const _hoisted_3$5 = { class: "delete-index" };
7383
- const _hoisted_4$4 = ["onClick"];
7384
- const _hoisted_5$3 = {
7385
- key: 1,
7383
+ const _hoisted_4$4 = {
7384
+ key: 0,
7386
7385
  class: "delete-index"
7387
7386
  };
7387
+ const _hoisted_5$3 = ["onClick"];
7388
+ const _hoisted_6$1 = {
7389
+ key: 2,
7390
+ class: ""
7391
+ };
7388
7392
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7389
7393
  __name: "Table",
7390
7394
  props: {
@@ -7468,10 +7472,11 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7468
7472
  }, {
7469
7473
  headerCell: withCtx(({ column }) => [
7470
7474
  column.dataIndex === "index" ? (openBlock(), createElementBlock("div", _hoisted_1$q, [
7471
- createElementVNode("div", {
7475
+ __props.isShowAction ? (openBlock(), createElementBlock("div", {
7476
+ key: 0,
7472
7477
  class: "table-plus",
7473
7478
  onClick: plusClickEvent
7474
- }, "+")
7479
+ }, " + ")) : (openBlock(), createElementBlock("div", _hoisted_2$8, "序号"))
7475
7480
  ])) : createCommentVNode("", true)
7476
7481
  ]),
7477
7482
  bodyCell: withCtx(({ column, record, index: index2 }) => [
@@ -7521,10 +7526,10 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7521
7526
  }, 1032, ["rules", "name"])
7522
7527
  ]),
7523
7528
  _: 2
7524
- }, 1032, ["model"])) : (openBlock(), createElementBlock("div", _hoisted_2$8, [
7525
- createElementVNode("span", _hoisted_3$5, toDisplayString(index2 + 1), 1),
7526
- props2.isShowAction ? (openBlock(), createElementBlock("div", {
7527
- key: 0,
7529
+ }, 1032, ["model"])) : (openBlock(), createElementBlock("div", _hoisted_3$5, [
7530
+ __props.isShowAction ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(index2 + 1), 1)) : createCommentVNode("", true),
7531
+ __props.isShowAction ? (openBlock(), createElementBlock("div", {
7532
+ key: 1,
7528
7533
  class: "delete-item",
7529
7534
  onClick: ($event) => rowClickEvent(index2)
7530
7535
  }, [
@@ -7532,7 +7537,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7532
7537
  icon: "ant-design:delete-filled",
7533
7538
  color: "#fff"
7534
7539
  })
7535
- ], 8, _hoisted_4$4)) : (openBlock(), createElementBlock("span", _hoisted_5$3, toDisplayString(index2 + 1), 1))
7540
+ ], 8, _hoisted_5$3)) : (openBlock(), createElementBlock("span", _hoisted_6$1, toDisplayString(index2 + 1), 1))
7536
7541
  ]))
7537
7542
  ]),
7538
7543
  _: 1
@@ -7540,8 +7545,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7540
7545
  };
7541
7546
  }
7542
7547
  });
7543
- const Table_vue_vue_type_style_index_0_scoped_d4551041_lang = "";
7544
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d4551041"]]);
7548
+ const Table_vue_vue_type_style_index_0_scoped_d89f41c1_lang = "";
7549
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d89f41c1"]]);
7545
7550
  const componentMap$2 = /* @__PURE__ */ new Map();
7546
7551
  componentMap$2.set("Input", Input);
7547
7552
  componentMap$2.set("InputGroup", Input.Group);
@@ -12297,6 +12302,7 @@ componentMap$1.set("TimePicker", TimePicker);
12297
12302
  componentMap$1.set("RadioGroup", Radio.Group);
12298
12303
  componentMap$1.set("RadioButtonGroup", RadioButtonGroup);
12299
12304
  componentMap$1.set("ApiRadioGroup", ApiRadioGroup);
12305
+ componentMap$1.set("ApiCascader", ApiCascader);
12300
12306
  function findAncestorWithClassName(element, className) {
12301
12307
  while ((element = element.parentElement) && !element.classList.contains(className))
12302
12308
  ;
package/es/style.css CHANGED
@@ -24831,7 +24831,7 @@ span.iconify {
24831
24831
  }
24832
24832
  .shy-countdown-input .ant-input-group-addon button {
24833
24833
  font-size: 14px;
24834
- }.table-plus[data-v-d4551041] {
24834
+ }.table-plus[data-v-d89f41c1] {
24835
24835
  width: 30px;
24836
24836
  height: 30px;
24837
24837
  font-size: 24px;
@@ -24841,22 +24841,23 @@ span.iconify {
24841
24841
  box-sizing: border-box;
24842
24842
  line-height: 30px;
24843
24843
  cursor: pointer;
24844
+ text-align: center;
24844
24845
  }
24845
- .table-children[data-v-d4551041] .ant-form-item {
24846
+ .table-children[data-v-d89f41c1] .ant-form-item {
24846
24847
  margin-bottom: 0 !important;
24847
24848
  }
24848
- .delete-wrapper[data-v-d4551041] {
24849
+ .delete-wrapper[data-v-d89f41c1] {
24849
24850
  height: 100%;
24850
24851
  }
24851
- .delete-wrapper:hover .delete-item[data-v-d4551041] {
24852
+ .delete-wrapper:hover .delete-item[data-v-d89f41c1] {
24852
24853
  display: flex;
24853
24854
  justify-content: center;
24854
24855
  align-items: center;
24855
24856
  }
24856
- .delete-wrapper:hover .delete-index[data-v-d4551041] {
24857
+ .delete-wrapper:hover .delete-index[data-v-d89f41c1] {
24857
24858
  display: none;
24858
24859
  }
24859
- .delete-wrapper .delete-item[data-v-d4551041] {
24860
+ .delete-wrapper .delete-item[data-v-d89f41c1] {
24860
24861
  background-color: red;
24861
24862
  border-radius: 50%;
24862
24863
  width: 30px;
@@ -24865,7 +24866,7 @@ span.iconify {
24865
24866
  display: none;
24866
24867
  cursor: pointer;
24867
24868
  }
24868
- .delete-wrapper .delete-index[data-v-d4551041] {
24869
+ .delete-wrapper .delete-index[data-v-d89f41c1] {
24869
24870
  display: inline-block;
24870
24871
  }@media screen and (max-height: 600px) {
24871
24872
  .ant-modal {
package/lib/index.js CHANGED
@@ -7067,7 +7067,7 @@ const _hoisted_5$4 = {
7067
7067
  key: 0,
7068
7068
  class: "flex py-2 items-center justify-center"
7069
7069
  };
7070
- const _hoisted_6$1 = {
7070
+ const _hoisted_6$2 = {
7071
7071
  key: 1,
7072
7072
  class: "p-5"
7073
7073
  };
@@ -7209,7 +7209,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
7209
7209
  onChange: handlePageChange
7210
7210
  }, null, 8, ["pageSize", "total"])
7211
7211
  ])) : vue.createCommentVNode("", true)
7212
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [
7212
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
7213
7213
  vue.createVNode(vue.unref(AEmpty))
7214
7214
  ]))
7215
7215
  ]),
@@ -7377,16 +7377,20 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
7377
7377
  }
7378
7378
  const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$C]]);
7379
7379
  const _hoisted_1$q = { key: 0 };
7380
- const _hoisted_2$8 = {
7380
+ const _hoisted_2$8 = { key: 1 };
7381
+ const _hoisted_3$5 = {
7381
7382
  key: 1,
7382
7383
  class: "delete-wrapper"
7383
7384
  };
7384
- const _hoisted_3$5 = { class: "delete-index" };
7385
- const _hoisted_4$4 = ["onClick"];
7386
- const _hoisted_5$3 = {
7387
- key: 1,
7385
+ const _hoisted_4$4 = {
7386
+ key: 0,
7388
7387
  class: "delete-index"
7389
7388
  };
7389
+ const _hoisted_5$3 = ["onClick"];
7390
+ const _hoisted_6$1 = {
7391
+ key: 2,
7392
+ class: ""
7393
+ };
7390
7394
  const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
7391
7395
  __name: "Table",
7392
7396
  props: {
@@ -7470,10 +7474,11 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
7470
7474
  }, {
7471
7475
  headerCell: vue.withCtx(({ column }) => [
7472
7476
  column.dataIndex === "index" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
7473
- vue.createElementVNode("div", {
7477
+ __props.isShowAction ? (vue.openBlock(), vue.createElementBlock("div", {
7478
+ key: 0,
7474
7479
  class: "table-plus",
7475
7480
  onClick: plusClickEvent
7476
- }, "+")
7481
+ }, " + ")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, "序号"))
7477
7482
  ])) : vue.createCommentVNode("", true)
7478
7483
  ]),
7479
7484
  bodyCell: vue.withCtx(({ column, record, index: index2 }) => [
@@ -7523,10 +7528,10 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
7523
7528
  }, 1032, ["rules", "name"])
7524
7529
  ]),
7525
7530
  _: 2
7526
- }, 1032, ["model"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, [
7527
- vue.createElementVNode("span", _hoisted_3$5, vue.toDisplayString(index2 + 1), 1),
7528
- props2.isShowAction ? (vue.openBlock(), vue.createElementBlock("div", {
7529
- key: 0,
7531
+ }, 1032, ["model"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [
7532
+ __props.isShowAction ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, vue.toDisplayString(index2 + 1), 1)) : vue.createCommentVNode("", true),
7533
+ __props.isShowAction ? (vue.openBlock(), vue.createElementBlock("div", {
7534
+ key: 1,
7530
7535
  class: "delete-item",
7531
7536
  onClick: ($event) => rowClickEvent(index2)
7532
7537
  }, [
@@ -7534,7 +7539,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
7534
7539
  icon: "ant-design:delete-filled",
7535
7540
  color: "#fff"
7536
7541
  })
7537
- ], 8, _hoisted_4$4)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$3, vue.toDisplayString(index2 + 1), 1))
7542
+ ], 8, _hoisted_5$3)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$1, vue.toDisplayString(index2 + 1), 1))
7538
7543
  ]))
7539
7544
  ]),
7540
7545
  _: 1
@@ -7542,8 +7547,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
7542
7547
  };
7543
7548
  }
7544
7549
  });
7545
- const Table_vue_vue_type_style_index_0_scoped_d4551041_lang = "";
7546
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d4551041"]]);
7550
+ const Table_vue_vue_type_style_index_0_scoped_d89f41c1_lang = "";
7551
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d89f41c1"]]);
7547
7552
  const componentMap$2 = /* @__PURE__ */ new Map();
7548
7553
  componentMap$2.set("Input", antDesignVue.Input);
7549
7554
  componentMap$2.set("InputGroup", antDesignVue.Input.Group);
@@ -12299,6 +12304,7 @@ componentMap$1.set("TimePicker", antDesignVue.TimePicker);
12299
12304
  componentMap$1.set("RadioGroup", antDesignVue.Radio.Group);
12300
12305
  componentMap$1.set("RadioButtonGroup", RadioButtonGroup);
12301
12306
  componentMap$1.set("ApiRadioGroup", ApiRadioGroup);
12307
+ componentMap$1.set("ApiCascader", ApiCascader);
12302
12308
  function findAncestorWithClassName(element, className) {
12303
12309
  while ((element = element.parentElement) && !element.classList.contains(className))
12304
12310
  ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "2.14.24",
3
+ "version": "2.14.26",
4
4
  "description": "",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",
@@ -29,8 +29,8 @@
29
29
  "vue-json-pretty": "^2.2.3",
30
30
  "vxe-table": "^4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
- "@shy-plugins/use": "1.0.5",
33
- "@shy-plugins/utils": "1.1.1"
32
+ "@shy-plugins/utils": "1.1.1",
33
+ "@shy-plugins/use": "1.0.5"
34
34
  },
35
35
  "types": "es/ui/index.d.ts",
36
36
  "devDependencies": {