@yetuzi/vue3-query-components 1.1.4 → 1.1.5
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/dist/index.css +1 -1
- package/dist/index.js +26 -37
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.common-query-table[data-v-
|
|
1
|
+
.common-query-table[data-v-ee2bbffc]{--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-ee2bbffc]{width:100%}[class^=common-query-table-]+[class^=common-query-table-][data-v-ee2bbffc]{margin-top:var(--spacing)}.common-query-table .common-query-table-table[data-v-ee2bbffc]{flex:1;overflow:hidden}.el-form[data-v-f99b2119]{margin-bottom:-18px!important}.el-form .el-form-item[data-v-f99b2119] .el-form-item__content{width:var(--v8a403a82);min-width:200px}.el-form .el-form-item[data-v-f99b2119] .el-select,.el-form .el-form-item[data-v-f99b2119] .el-input,.el-form .el-form-item[data-v-f99b2119] .el-date-editor{width:100%}.common-table[data-v-5da80890]{width:100%;height:100%;display:flex;flex-direction:column}
|
package/dist/index.js
CHANGED
|
@@ -36,33 +36,22 @@ var it = (e, t, n) => new Promise((r, o) => {
|
|
|
36
36
|
s((n = n.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import { defineComponent as Q, useAttrs as Pr, reactive as ze, provide as jr, watchEffect as ie, renderSlot as ee, ref as B, unref as h, watch as Te, onScopeDispose as Tt, computed as oe, onUnmounted as En, inject as Pn, isRef as Ct, toRefs as Ar, readonly as Rr, isVNode as Mr, cloneVNode as Dr, useTemplateRef as Ot, createElementBlock as ge, openBlock as A, Fragment as Ke, renderList as le, normalizeClass as Vr, createBlock as I, withDirectives as Nr, createSlots as De, withCtx as G, mergeProps as Y, mergeModels as ne, useCssVars as Fr, useModel as ae, withModifiers as Ur, createVNode as Ve, createCommentVNode as Ir, resolveDynamicComponent as Br, createTextVNode as dt, toDisplayString as pt, withKeys as zr, normalizeProps as Lr, guardReactiveProps as Hr, useSlots as Wr } from "vue";
|
|
39
|
-
import "element-plus/theme-chalk/base.css";
|
|
40
|
-
import "element-plus/theme-chalk/el-popper.css";
|
|
41
|
-
import "element-plus/theme-chalk/el-tooltip.css";
|
|
42
|
-
import "element-plus/theme-chalk/el-message-box.css";
|
|
43
|
-
import "element-plus/theme-chalk/el-button.css";
|
|
44
|
-
import "element-plus/theme-chalk/el-input.css";
|
|
45
|
-
import "element-plus/theme-chalk/el-overlay.css";
|
|
46
|
-
import "element-plus/theme-chalk/el-loading.css";
|
|
47
39
|
import { ElLoading as Yr, ElForm as qr, ElFormItem as Lt, ElButton as Ht, 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";
|
|
48
|
-
import "element-plus/
|
|
49
|
-
import "element-plus/
|
|
50
|
-
import "element-plus/
|
|
51
|
-
import "element-plus/
|
|
52
|
-
import "element-plus/
|
|
53
|
-
import "element-plus/
|
|
54
|
-
import "element-plus/
|
|
55
|
-
import "element-plus/
|
|
56
|
-
import "element-plus/
|
|
57
|
-
import "element-plus/
|
|
58
|
-
import "element-plus/
|
|
59
|
-
import "element-plus/
|
|
60
|
-
import "element-plus/
|
|
61
|
-
import "element-plus/
|
|
62
|
-
import "element-plus/
|
|
63
|
-
import "element-plus/theme-chalk/el-empty.css";
|
|
64
|
-
import "element-plus/theme-chalk/el-table-column.css";
|
|
65
|
-
import "element-plus/theme-chalk/el-pagination.css";
|
|
40
|
+
import "element-plus/es/components/loading/style/index";
|
|
41
|
+
import "element-plus/es/components/form/style/index";
|
|
42
|
+
import "element-plus/es/components/form-item/style/index";
|
|
43
|
+
import "element-plus/es/components/button/style/index";
|
|
44
|
+
import "element-plus/es/components/select/style/index";
|
|
45
|
+
import "element-plus/es/components/option/style/index";
|
|
46
|
+
import "element-plus/es/components/input/style/index";
|
|
47
|
+
import "element-plus/es/components/date-picker/style/index";
|
|
48
|
+
import "element-plus/es/components/radio-group/style/index";
|
|
49
|
+
import "element-plus/es/components/checkbox-group/style/index";
|
|
50
|
+
import "element-plus/es/components/switch/style/index";
|
|
51
|
+
import "element-plus/es/components/table/style/index";
|
|
52
|
+
import "element-plus/es/components/empty/style/index";
|
|
53
|
+
import "element-plus/es/components/table-column/style/index";
|
|
54
|
+
import "element-plus/es/components/pagination/style/index";
|
|
66
55
|
var jn = typeof global == "object" && global && global.Object === Object && global, oo = typeof self == "object" && self && self.Object === Object && self, te = jn || oo || Function("return this")(), ce = te.Symbol, An = Object.prototype, ao = An.hasOwnProperty, io = An.toString, Re = ce ? ce.toStringTag : void 0;
|
|
67
56
|
function so(e) {
|
|
68
57
|
var t = ao.call(e, Re), n = e[Re];
|
|
@@ -1124,7 +1113,7 @@ function Ol(e, t, n) {
|
|
|
1124
1113
|
trailing: o
|
|
1125
1114
|
});
|
|
1126
1115
|
}
|
|
1127
|
-
const
|
|
1116
|
+
const lf = /* @__PURE__ */ Q({
|
|
1128
1117
|
name: "CommonConfigProvider",
|
|
1129
1118
|
inheritAttrs: !1,
|
|
1130
1119
|
__name: "index",
|
|
@@ -2265,7 +2254,7 @@ const _c = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
|
|
|
2265
2254
|
for (const [r, o] of t)
|
|
2266
2255
|
n[r] = o;
|
|
2267
2256
|
return n;
|
|
2268
|
-
},
|
|
2257
|
+
}, cf = /* @__PURE__ */ Ft(xc, [["__scopeId", "data-v-ee2bbffc"]]), $c = /* @__PURE__ */ Q({
|
|
2269
2258
|
name: "CommonForm",
|
|
2270
2259
|
__name: "index",
|
|
2271
2260
|
props: /* @__PURE__ */ ne({
|
|
@@ -2297,7 +2286,7 @@ const _c = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
|
|
|
2297
2286
|
emits: /* @__PURE__ */ ne(["submit", "reset"], ["update:loading"]),
|
|
2298
2287
|
setup(e, { expose: t, emit: n }) {
|
|
2299
2288
|
Fr((d) => ({
|
|
2300
|
-
|
|
2289
|
+
v8a403a82: h(s).component.form.formItem.components.width
|
|
2301
2290
|
}));
|
|
2302
2291
|
const r = e, o = n, i = Ot("elFormRef"), a = ze(
|
|
2303
2292
|
Object.fromEntries(r.form.map((d) => [d.prop, d.initialValue]))
|
|
@@ -2408,7 +2397,7 @@ const _c = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
|
|
|
2408
2397
|
_: 1
|
|
2409
2398
|
}, 16, ["model"]));
|
|
2410
2399
|
}
|
|
2411
|
-
}), Sc = /* @__PURE__ */ Ft($c, [["__scopeId", "data-v-
|
|
2400
|
+
}), Sc = /* @__PURE__ */ Ft($c, [["__scopeId", "data-v-f99b2119"]]);
|
|
2412
2401
|
var Je = { exports: {} }, Tc = Je.exports, Cn;
|
|
2413
2402
|
function Cc() {
|
|
2414
2403
|
return Cn || (Cn = 1, (function(e, t) {
|
|
@@ -2814,7 +2803,7 @@ const On = /* @__PURE__ */ vc(Oc), Ec = {
|
|
|
2814
2803
|
}, 16, ["headerCellStyle"])
|
|
2815
2804
|
]));
|
|
2816
2805
|
}
|
|
2817
|
-
}), Ac = /* @__PURE__ */ Ft(jc, [["__scopeId", "data-v-
|
|
2806
|
+
}), Ac = /* @__PURE__ */ Ft(jc, [["__scopeId", "data-v-5da80890"]]), Rc = /* @__PURE__ */ Q({
|
|
2818
2807
|
name: "CommonPagination",
|
|
2819
2808
|
__name: "index",
|
|
2820
2809
|
props: /* @__PURE__ */ ne({
|
|
@@ -3174,7 +3163,7 @@ const Tr = Symbol();
|
|
|
3174
3163
|
function at() {
|
|
3175
3164
|
return Pn(Tr, Hc);
|
|
3176
3165
|
}
|
|
3177
|
-
function
|
|
3166
|
+
function ff(e, t = be) {
|
|
3178
3167
|
const n = t(e), r = B(e);
|
|
3179
3168
|
return [r, () => {
|
|
3180
3169
|
r.value = t(n);
|
|
@@ -3207,7 +3196,7 @@ function Lc(e) {
|
|
|
3207
3196
|
return n;
|
|
3208
3197
|
});
|
|
3209
3198
|
}
|
|
3210
|
-
const
|
|
3199
|
+
const df = "1.1.5", Hc = ze({
|
|
3211
3200
|
component: {
|
|
3212
3201
|
placeholder: "-",
|
|
3213
3202
|
pagination: {
|
|
@@ -3235,12 +3224,12 @@ const $f = "1.1.4", Hc = ze({
|
|
|
3235
3224
|
});
|
|
3236
3225
|
export {
|
|
3237
3226
|
Fc as CommonCheckbox,
|
|
3238
|
-
|
|
3227
|
+
lf as CommonConfigProvider,
|
|
3239
3228
|
Vc as CommonDatePicker,
|
|
3240
3229
|
Sc as CommonForm,
|
|
3241
3230
|
Dc as CommonInput,
|
|
3242
3231
|
Rc as CommonPagination,
|
|
3243
|
-
|
|
3232
|
+
cf as CommonQueryTable,
|
|
3244
3233
|
Nc as CommonRadio,
|
|
3245
3234
|
Mc as CommonSelect,
|
|
3246
3235
|
Uc as CommonSwitch,
|
|
@@ -3252,7 +3241,7 @@ export {
|
|
|
3252
3241
|
Ic as getFirstValidValue,
|
|
3253
3242
|
Lc as useGetComponentsChildrenSlots,
|
|
3254
3243
|
zc as useResettableReactive,
|
|
3255
|
-
|
|
3256
|
-
|
|
3244
|
+
ff as useResettableRef,
|
|
3245
|
+
df as version
|
|
3257
3246
|
};
|
|
3258
3247
|
//# sourceMappingURL=index.js.map
|