@yetuzi/vue3-query-components 1.0.3 → 1.0.4
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 +1 -11
- package/dist/index.css +1 -1
- package/dist/index.js +26 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -357,14 +357,4 @@ npm test
|
|
|
357
357
|
|
|
358
358
|
## 🗺️ 更新日志
|
|
359
359
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
- 📝 更新 README.md 包名引用
|
|
363
|
-
- ✨ 完善文档和使用示例
|
|
364
|
-
- 🔧 优化组件配置系统
|
|
365
|
-
|
|
366
|
-
### v1.0.0
|
|
367
|
-
|
|
368
|
-
- 🎉 初始版本发布
|
|
369
|
-
- ✨ 包含完整的查询表格组件体系
|
|
370
|
-
- 📦 支持全局配置和主题定制
|
|
360
|
+
查看详细的更新日志请访问:[CHANGELOG.md](./CHANGELOG.md)
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.common-query-table[data-v-
|
|
1
|
+
.common-query-table[data-v-a632c8bc]{--spacing: 15px;width:100%;height:100%;flex:1;display:flex;flex-direction:column;box-sizing:border-box;padding:var(--spacing) 12px;overflow:hidden}[class^=common-query-table-][data-v-a632c8bc]{width:100%}[class^=common-query-table-]+[class^=common-query-table-][data-v-a632c8bc]{margin-top:var(--spacing)}.common-query-table .common-query-table-table[data-v-a632c8bc]{flex:1;overflow:hidden}.el-form[data-v-a395e100]{margin-bottom:-18px!important}.el-form .el-form-item[data-v-a395e100] .el-form-item__content{width:var(--a4e07eb0)}.common-table[data-v-d7777e76]{width:100%;height:100%;display:flex;flex-direction:column}
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,24 @@ var at = (e, t, n) => new Promise((r, o) => {
|
|
|
36
36
|
s((n = n.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import { defineComponent as J, useAttrs as Ar, reactive as Be, provide as Rr, watchEffect as ae, renderSlot as Q, ref as I, unref as h, watch as Se, onScopeDispose as St, computed as re, onUnmounted as jn, inject as An, isRef as Tt, toRefs as Mr, readonly as Dr, isVNode as Nr, cloneVNode as Fr, useTemplateRef as Ct, createElementBlock as he, openBlock as N, Fragment as Qe, renderList as le, normalizeClass as Ir, createBlock as H, withDirectives as Vr, createSlots as Re, withCtx as k, mergeProps as G, mergeModels as te, useCssVars as Br, useModel as oe, withModifiers as Ur, createVNode as Me, resolveDynamicComponent as Lt, h as Ht, createTextVNode as ft, toDisplayString as dt, withKeys as zr, normalizeProps as Lr, guardReactiveProps as Hr, useSlots as Wr } from "vue";
|
|
39
|
+
import "element-plus/es/components/loading/style/css";
|
|
39
40
|
import { ElLoading as Yr, ElForm as qr, ElFormItem as Wt, ElButton as Yt, ElTable as kr, ElTableColumn as Gr, ElEmpty as Zr, ElPagination as Xr, ElSelect as Jr, ElOption as Qr, ElInput as Kr, ElDatePicker as eo, ElRadioGroup as to, ElCheckboxGroup as no, ElSwitch as ro } from "element-plus";
|
|
41
|
+
import "element-plus/es/components/form/style/css";
|
|
42
|
+
import "element-plus/es/components/form-item/style/css";
|
|
43
|
+
import "element-plus/es/components/button/style/css";
|
|
44
|
+
import "element-plus/es/components/switch/style/css";
|
|
45
|
+
import "element-plus/es/components/checkbox-group/style/css";
|
|
46
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
47
|
+
import "element-plus/es/components/radio-group/style/css";
|
|
48
|
+
import "element-plus/es/components/radio/style/css";
|
|
49
|
+
import "element-plus/es/components/date-picker/style/css";
|
|
50
|
+
import "element-plus/es/components/input/style/css";
|
|
51
|
+
import "element-plus/es/components/select/style/css";
|
|
52
|
+
import "element-plus/es/components/option/style/css";
|
|
53
|
+
import "element-plus/es/components/table/style/css";
|
|
54
|
+
import "element-plus/es/components/empty/style/css";
|
|
55
|
+
import "element-plus/es/components/table-column/style/css";
|
|
56
|
+
import "element-plus/es/components/pagination/style/css";
|
|
40
57
|
var Rn = typeof global == "object" && global && global.Object === Object && global, oo = typeof self == "object" && self && self.Object === Object && self, K = Rn || oo || Function("return this")(), ce = K.Symbol, Mn = Object.prototype, ao = Mn.hasOwnProperty, io = Mn.toString, je = ce ? ce.toStringTag : void 0;
|
|
41
58
|
function so(e) {
|
|
42
59
|
var t = ao.call(e, je), n = e[je];
|
|
@@ -1098,7 +1115,7 @@ function Ol(e, t, n) {
|
|
|
1098
1115
|
trailing: o
|
|
1099
1116
|
});
|
|
1100
1117
|
}
|
|
1101
|
-
const
|
|
1118
|
+
const ff = /* @__PURE__ */ J({
|
|
1102
1119
|
name: "CommonConfigProvider",
|
|
1103
1120
|
inheritAttrs: !1,
|
|
1104
1121
|
__name: "index",
|
|
@@ -2239,7 +2256,7 @@ const _c = { class: "common-query-table" }, xc = /* @__PURE__ */ J({
|
|
|
2239
2256
|
for (const [r, o] of t)
|
|
2240
2257
|
n[r] = o;
|
|
2241
2258
|
return n;
|
|
2242
|
-
},
|
|
2259
|
+
}, df = /* @__PURE__ */ Ft(xc, [["__scopeId", "data-v-a632c8bc"]]), $c = /* @__PURE__ */ J({
|
|
2243
2260
|
name: "CommonForm",
|
|
2244
2261
|
__name: "index",
|
|
2245
2262
|
props: /* @__PURE__ */ te({
|
|
@@ -2271,7 +2288,7 @@ const _c = { class: "common-query-table" }, xc = /* @__PURE__ */ J({
|
|
|
2271
2288
|
emits: /* @__PURE__ */ te(["submit", "reset"], ["update:loading"]),
|
|
2272
2289
|
setup(e, { expose: t, emit: n }) {
|
|
2273
2290
|
Br((v) => ({
|
|
2274
|
-
|
|
2291
|
+
a4e07eb0: h(s).component.form.formItem.components.width
|
|
2275
2292
|
}));
|
|
2276
2293
|
const r = e, o = n, i = Ct("elFormRef"), a = Be(
|
|
2277
2294
|
Object.fromEntries(r.form.map((v) => [v.prop, v.initialValue]))
|
|
@@ -2351,7 +2368,7 @@ const _c = { class: "common-query-table" }, xc = /* @__PURE__ */ J({
|
|
|
2351
2368
|
_: 1
|
|
2352
2369
|
}, 16, ["model"]));
|
|
2353
2370
|
}
|
|
2354
|
-
}), Sc = /* @__PURE__ */ Ft($c, [["__scopeId", "data-v-
|
|
2371
|
+
}), Sc = /* @__PURE__ */ Ft($c, [["__scopeId", "data-v-a395e100"]]);
|
|
2355
2372
|
var Xe = { exports: {} }, Tc = Xe.exports, En;
|
|
2356
2373
|
function Cc() {
|
|
2357
2374
|
return En || (En = 1, (function(e, t) {
|
|
@@ -2757,7 +2774,7 @@ const Pn = /* @__PURE__ */ vc(Oc), Ec = {
|
|
|
2757
2774
|
}, 16, ["headerCellStyle"])
|
|
2758
2775
|
]));
|
|
2759
2776
|
}
|
|
2760
|
-
}), Ac = /* @__PURE__ */ Ft(jc, [["__scopeId", "data-v-
|
|
2777
|
+
}), Ac = /* @__PURE__ */ Ft(jc, [["__scopeId", "data-v-d7777e76"]]), Rc = /* @__PURE__ */ J({
|
|
2761
2778
|
name: "CommonPagination",
|
|
2762
2779
|
__name: "index",
|
|
2763
2780
|
props: /* @__PURE__ */ te({
|
|
@@ -3117,7 +3134,7 @@ const Or = Symbol();
|
|
|
3117
3134
|
function ot() {
|
|
3118
3135
|
return An(Or, Hc);
|
|
3119
3136
|
}
|
|
3120
|
-
function
|
|
3137
|
+
function pf(e, t = ve) {
|
|
3121
3138
|
const n = t(e), r = I(e);
|
|
3122
3139
|
return [r, () => {
|
|
3123
3140
|
r.value = t(n);
|
|
@@ -3178,12 +3195,12 @@ const Hc = Be({
|
|
|
3178
3195
|
});
|
|
3179
3196
|
export {
|
|
3180
3197
|
Ic as CommonCheckbox,
|
|
3181
|
-
|
|
3198
|
+
ff as CommonConfigProvider,
|
|
3182
3199
|
Nc as CommonDatePicker,
|
|
3183
3200
|
Sc as CommonForm,
|
|
3184
3201
|
Dc as CommonInput,
|
|
3185
3202
|
Rc as CommonPagination,
|
|
3186
|
-
|
|
3203
|
+
df as CommonQueryTable,
|
|
3187
3204
|
Fc as CommonRadio,
|
|
3188
3205
|
Mc as CommonSelect,
|
|
3189
3206
|
Vc as CommonSwitch,
|
|
@@ -3195,6 +3212,6 @@ export {
|
|
|
3195
3212
|
Bc as getFirstValidValue,
|
|
3196
3213
|
Lc as useGetComponentsChildrenSlots,
|
|
3197
3214
|
zc as useResettableReactive,
|
|
3198
|
-
|
|
3215
|
+
pf as useResettableRef
|
|
3199
3216
|
};
|
|
3200
3217
|
//# sourceMappingURL=index.js.map
|