vue3-element-dict 3.3.2 → 3.3.3

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/README.md CHANGED
@@ -20,6 +20,12 @@ vue3-element-dict是在vue3框架下对element-plus组件库的部分组件进
20
20
 
21
21
  ## 更新日志
22
22
 
23
+ ### 3.3.3
24
+
25
+ 1. 【修复】修复`dict-checkbox`组件全选功能无效的问题
26
+
27
+ 2. 【优化】动态组件及动态搜索组件新增样式,免去设置输入框等组件100%宽度的样式
28
+
23
29
  ### 3.3.2
24
30
 
25
31
  1. 【修复】修复项目为按需引入时,`dict-autocomplete-email`组件无法使用的问题
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- .auto-height-wrapper[data-v-88db67bb]{width:100%;flex:1;min-height:0;overflow:hidden}.el-buttons-dict[data-v-ece290b6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;width:100%}.el-check-tag+.el-check-tag[data-v-5aadc1ab]{margin-left:4px}.check-all[data-v-e1adb2e7]{margin-right:30px}.el-link-dict+.el-link-dict[data-v-4fe87a1a]{margin-left:4px}.el-text-dict+.el-text-dict[data-v-4fe87a1a]{margin-left:4px}.el-button-dict+.el-button-dict[data-v-4fe87a1a]{margin-left:4px}.el-tag-dict+.el-tag-dict[data-v-4fe87a1a]{margin-left:4px}.dict-dynamic-components.container-class[data-v-17aa3808]{width:100%;box-sizing:border-box;display:flex;align-items:flex-start;flex-wrap:wrap;container-type:inline-size;container-name:dynamic-components}@container dynamic-components (min-width: 768px){.dict-dynamic-components[data-v-17aa3808]>.comp-item.form:not(.full):not(.half):not(.three):not(.four){width:50%!important}}@container dynamic-components (min-width: 1024px){.dict-dynamic-components[data-v-17aa3808]>.comp-item.form:not(.full):not(.half):not(.three):not(.four){width:33.33333%!important}}@container dynamic-components (min-width: 1400px){.dict-dynamic-components[data-v-17aa3808]>.comp-item.form:not(.full):not(.half):not(.three):not(.four){width:25%!important}}.dict-dynamic-components[data-v-17aa3808]>.comp-item{width:100%!important}.dict-dynamic-components[data-v-17aa3808]>.comp-item.full{width:100%!important}.dict-dynamic-components[data-v-17aa3808]>.comp-item.half{width:50%!important}.dict-dynamic-components[data-v-17aa3808]>.comp-item.three{width:33.33333%!important}.dict-dynamic-components[data-v-17aa3808]>.comp-item.four{width:25%!important}.el-link-dict+.el-link-dict[data-v-75d5fd0a]{margin-left:4px}.el-text-dict+.el-text-dict[data-v-75d5fd0a]{margin-left:4px}.el-button-dict+.el-button-dict[data-v-75d5fd0a]{margin-left:4px}.el-tag-dict+.el-tag-dict[data-v-75d5fd0a]{margin-left:4px}.dict-clearfix[data-v-ea59a937]:after{content:"";display:table;clear:both}.dict-search-box[data-v-ea59a937]{width:100%;padding:0}.dict-search-box .el-form-item[data-v-ea59a937]{float:left}.dict-search-box .el-form-item.fr[data-v-ea59a937]{float:right}.dict-search-box .el-form-item.fr[data-v-ea59a937] .el-form-item__content{display:flex;justify-content:flex-end;align-items:center;margin-left:0!important}.dict-search-box .el-form-item.full[data-v-ea59a937]{width:100%}.dict-search-box .el-form-item.half[data-v-ea59a937]{width:50%}.dict-search-box .el-form-item.triple[data-v-ea59a937]{width:33.33%}.dict-search-box .el-form-item.quarter[data-v-ea59a937]{width:25%}.dict-search-box .el-form-item.hide[data-v-ea59a937]{display:none}.dict-search-box .el-form-item .no-underline[data-v-ea59a937]{margin-left:12px}.dict-search-box .el-form-item .no-underline .el-link__inner .el-icon[data-v-ea59a937]{transition:transform .3s}.dict-search-box .el-form-item .no-underline .el-link__inner .el-icon.rotate[data-v-ea59a937]{transform:rotate(180deg)}.dict-search-box .el-form-item .no-underline[data-v-ea59a937]:hover{text-decoration:none!important}.dict-search-box .el-form-item[data-v-ea59a937] .el-form-item__content,.dict-search-box .el-form-item[data-v-ea59a937] .el-form-item__content .el-input,.dict-search-box .el-form-item[data-v-ea59a937] .el-form-item__content .el-date-editor,.dict-search-box .el-form-item[data-v-ea59a937] .el-form-item__content .el-select{width:100%}.dict-search-box .el-form-item[data-v-ea59a937] .el-form-item__content .el-cascader{width:100%!important}.el-select.no-clear:hover .el-select__caret.el-select__icon.el-select__clear,.el-select.no-clear .is-focused .el-select__caret.el-select__icon.el-select__clear{display:none!important}.el-select.no-clear:hover .el-select__suffix,.el-select.no-clear .is-focused .el-select__suffix{position:relative}.el-select.no-clear:hover .el-select__suffix,.el-select.no-clear .is-focused .el-select__suffix{width:14px;height:14px}.el-select.no-clear:hover .el-select__suffix:after,.el-select.no-clear .is-focused .el-select__suffix:after{content:"";position:absolute;top:2px;right:4px;width:6px;height:6px;border-left:1px solid #a8abb2;border-bottom:1px solid #a8abb2;border-top:0px solid transparent;transform:rotate(-45deg)}.el-link-dict+.el-link-dict[data-v-fa3bf048]{margin-left:4px}.el-text-dict+.el-text-dict[data-v-fa3bf048]{margin-left:4px}.el-button-dict+.el-button-dict[data-v-fa3bf048]{margin-left:4px}.el-tag-dict+.el-tag-dict[data-v-fa3bf048]{margin-left:4px}
1
+ .auto-height-wrapper[data-v-88db67bb]{width:100%;flex:1;min-height:0;overflow:hidden}.el-buttons-dict[data-v-ece290b6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;width:100%}.el-check-tag+.el-check-tag[data-v-5aadc1ab]{margin-left:4px}.check-all[data-v-69fba94b]{margin-right:30px}.el-link-dict+.el-link-dict[data-v-4fe87a1a]{margin-left:4px}.el-text-dict+.el-text-dict[data-v-4fe87a1a]{margin-left:4px}.el-button-dict+.el-button-dict[data-v-4fe87a1a]{margin-left:4px}.el-tag-dict+.el-tag-dict[data-v-4fe87a1a]{margin-left:4px}.dict-dynamic-components.container-class[data-v-9bf02317]{width:100%;box-sizing:border-box;display:flex;align-items:flex-start;flex-wrap:wrap;container-type:inline-size;container-name:dynamic-components}@container dynamic-components (min-width: 768px){.dict-dynamic-components[data-v-9bf02317]>.comp-item.form:not(.full):not(.half):not(.three):not(.four){width:50%!important}}@container dynamic-components (min-width: 1024px){.dict-dynamic-components[data-v-9bf02317]>.comp-item.form:not(.full):not(.half):not(.three):not(.four){width:33.33333%!important}}@container dynamic-components (min-width: 1400px){.dict-dynamic-components[data-v-9bf02317]>.comp-item.form:not(.full):not(.half):not(.three):not(.four){width:25%!important}}.dict-dynamic-components[data-v-9bf02317]>.comp-item{width:100%!important}.dict-dynamic-components[data-v-9bf02317]>.comp-item :deep(.el-form-item__content){width:100%}.dict-dynamic-components[data-v-9bf02317]>.comp-item :deep(.el-form-item__content) .el-input{width:100%}.dict-dynamic-components[data-v-9bf02317]>.comp-item :deep(.el-form-item__content) .el-autocomplete{width:100%}.dict-dynamic-components[data-v-9bf02317]>.comp-item :deep(.el-form-item__content) .el-date-editor{width:100%}.dict-dynamic-components[data-v-9bf02317]>.comp-item :deep(.el-form-item__content) .el-select{width:100%}.dict-dynamic-components[data-v-9bf02317]>.comp-item :deep(.el-form-item__content) .el-cascader{width:100%!important}.dict-dynamic-components[data-v-9bf02317]>.comp-item.full{width:100%!important}.dict-dynamic-components[data-v-9bf02317]>.comp-item.half{width:50%!important}.dict-dynamic-components[data-v-9bf02317]>.comp-item.three{width:33.33333%!important}.dict-dynamic-components[data-v-9bf02317]>.comp-item.four{width:25%!important}.el-link-dict+.el-link-dict[data-v-75d5fd0a]{margin-left:4px}.el-text-dict+.el-text-dict[data-v-75d5fd0a]{margin-left:4px}.el-button-dict+.el-button-dict[data-v-75d5fd0a]{margin-left:4px}.el-tag-dict+.el-tag-dict[data-v-75d5fd0a]{margin-left:4px}.dict-clearfix[data-v-b107beb4]:after{content:"";display:table;clear:both}.dict-search-box[data-v-b107beb4]{width:100%;padding:0}.dict-search-box .el-form-item[data-v-b107beb4]{float:left}.dict-search-box .el-form-item.fr[data-v-b107beb4]{float:right}.dict-search-box .el-form-item.fr[data-v-b107beb4] .el-form-item__content{display:flex;justify-content:flex-end;align-items:center;margin-left:0!important}.dict-search-box .el-form-item.full[data-v-b107beb4]{width:100%}.dict-search-box .el-form-item.half[data-v-b107beb4]{width:50%}.dict-search-box .el-form-item.triple[data-v-b107beb4]{width:33.33%}.dict-search-box .el-form-item.quarter[data-v-b107beb4]{width:25%}.dict-search-box .el-form-item.hide[data-v-b107beb4]{display:none}.dict-search-box .el-form-item .no-underline[data-v-b107beb4]{margin-left:12px}.dict-search-box .el-form-item .no-underline .el-link__inner .el-icon[data-v-b107beb4]{transition:transform .3s}.dict-search-box .el-form-item .no-underline .el-link__inner .el-icon.rotate[data-v-b107beb4]{transform:rotate(180deg)}.dict-search-box .el-form-item .no-underline[data-v-b107beb4]:hover{text-decoration:none!important}.dict-search-box .el-form-item[data-v-b107beb4] .el-form-item__content,.dict-search-box .el-form-item[data-v-b107beb4] .el-form-item__content .el-input,.dict-search-box .el-form-item[data-v-b107beb4] .el-form-item__content .el-autocomplete,.dict-search-box .el-form-item[data-v-b107beb4] .el-form-item__content .el-date-editor,.dict-search-box .el-form-item[data-v-b107beb4] .el-form-item__content .el-select{width:100%}.dict-search-box .el-form-item[data-v-b107beb4] .el-form-item__content .el-cascader{width:100%!important}.el-select.no-clear:hover .el-select__caret.el-select__icon.el-select__clear,.el-select.no-clear .is-focused .el-select__caret.el-select__icon.el-select__clear{display:none!important}.el-select.no-clear:hover .el-select__suffix,.el-select.no-clear .is-focused .el-select__suffix{position:relative}.el-select.no-clear:hover .el-select__suffix,.el-select.no-clear .is-focused .el-select__suffix{width:14px;height:14px}.el-select.no-clear:hover .el-select__suffix:after,.el-select.no-clear .is-focused .el-select__suffix:after{content:"";position:absolute;top:2px;right:4px;width:6px;height:6px;border-left:1px solid #a8abb2;border-bottom:1px solid #a8abb2;border-top:0px solid transparent;transform:rotate(-45deg)}.el-link-dict+.el-link-dict[data-v-fa3bf048]{margin-left:4px}.el-text-dict+.el-text-dict[data-v-fa3bf048]{margin-left:4px}.el-button-dict+.el-button-dict[data-v-fa3bf048]{margin-left:4px}.el-tag-dict+.el-tag-dict[data-v-fa3bf048]{margin-left:4px}
@@ -2035,7 +2035,7 @@ const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
2035
2035
  const K = P.length, W = V.value.length;
2036
2036
  _.value = K === W, b.value = K > 0 && K < W;
2037
2037
  }, F = (P) => {
2038
- if (A(P), !g.value) {
2038
+ if (a.value = P, A(P), !g.value) {
2039
2039
  x("dictChange", P);
2040
2040
  return;
2041
2041
  }
@@ -2151,14 +2151,14 @@ const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
2151
2151
  z && (R.value[G] = z);
2152
2152
  },
2153
2153
  key: W[unref(y).format.value],
2154
- label: W[unref(y).format.value],
2154
+ value: W[unref(y).format.value],
2155
2155
  disabled: D.value || W[unref(y).format.disabled]
2156
2156
  }, { ref_for: !0 }, T.value), {
2157
2157
  default: withCtx(() => [
2158
2158
  createTextVNode(toDisplayString(W[unref(y).format.label]), 1)
2159
2159
  ]),
2160
2160
  _: 2
2161
- }, 1040, ["label", "disabled"]))), 128))
2161
+ }, 1040, ["value", "disabled"]))), 128))
2162
2162
  ]),
2163
2163
  _: 2
2164
2164
  }, [
@@ -2171,7 +2171,7 @@ const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
2171
2171
  ]), 1040, ["disabled", "modelValue"])
2172
2172
  ], 64));
2173
2173
  }
2174
- }), dictComponent$4 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-e1adb2e7"]]);
2174
+ }), dictComponent$4 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-69fba94b"]]);
2175
2175
  dictComponent$4.install = function(e) {
2176
2176
  e.component(dictComponent$4.name, dictComponent$4);
2177
2177
  };
@@ -3644,7 +3644,7 @@ const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
3644
3644
  }, 16, ["model", "class", "colon"]);
3645
3645
  };
3646
3646
  }
3647
- }), dictComponent$2 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-17aa3808"]]);
3647
+ }), dictComponent$2 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-9bf02317"]]);
3648
3648
  dictComponent$2.install = function(e) {
3649
3649
  e.component(dictComponent$2.name, dictComponent$2);
3650
3650
  };
@@ -4373,7 +4373,7 @@ const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
4373
4373
  _: 3
4374
4374
  }, 16, ["style", "model", "class"]));
4375
4375
  }
4376
- }), dictComponent$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-ea59a937"]]);
4376
+ }), dictComponent$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b107beb4"]]);
4377
4377
  dictComponent$1.install = function(e) {
4378
4378
  e.component(dictComponent$1.name, dictComponent$1);
4379
4379
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue3-element-dict",
3
3
  "private": false,
4
- "version": "3.3.2",
4
+ "version": "3.3.3",
5
5
  "author": {
6
6
  "name": "shenxiaobu",
7
7
  "url": "https://shenxiaobu.github.io"