@fangzhongya/fang-ui 0.0.28 → 0.0.30
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/components/array/src/index.cjs +6 -9
- package/dist/components/array/src/index.js +6 -9
- package/dist/components/box/index.css +12 -12
- package/dist/components/box/index.scss +1 -6
- package/dist/components/box-local/index.css +12 -12
- package/dist/components/cascader/index.d.ts +1 -1
- package/dist/components/cascader/src/index.d.ts +2 -2
- package/dist/components/checks/src/index.cjs +4 -4
- package/dist/components/checks/src/index.js +4 -4
- package/dist/components/common/list.cjs +2 -3
- package/dist/components/common/list.js +2 -3
- package/dist/components/common/use.cjs +11 -11
- package/dist/components/common/use.js +11 -11
- package/dist/components/cs-slot/src/index.cjs +6 -6
- package/dist/components/cs-slot/src/index.js +6 -6
- package/dist/components/dialog/src/index.cjs +7 -7
- package/dist/components/dialog/src/index.js +4 -4
- package/dist/components/dialog/style/index2.scss +1 -1
- package/dist/components/edit-float/src/index2.cjs +2 -2
- package/dist/components/edit-float/src/index2.js +2 -2
- package/dist/components/forms/index.d.ts +52 -149
- package/dist/components/forms/src/index.cjs +10 -9
- package/dist/components/forms/src/index.d.ts +102 -297
- package/dist/components/forms/src/index.js +4 -3
- package/dist/components/forms/src/setup.cjs +5 -8
- package/dist/components/forms/src/setup.js +5 -8
- package/dist/components/forms/src/util.cjs +1 -2
- package/dist/components/forms/src/util.js +1 -2
- package/dist/components/forms/style/index2.scss +6 -0
- package/dist/components/forms-div/style/index2.scss +1 -0
- package/dist/components/forms-drag/src/index.cjs +2 -2
- package/dist/components/forms-drag/src/index.js +2 -2
- package/dist/components/forms-item/src/index.cjs +7 -7
- package/dist/components/forms-item/src/index.js +2 -2
- package/dist/components/forms-item/style/index2.scss +4 -0
- package/dist/components/forms-items/src/index.cjs +2 -2
- package/dist/components/forms-items/src/index.js +2 -2
- package/dist/components/forms-items/style/index2.scss +2 -0
- package/dist/components/global-config/src/index.cjs +1 -1
- package/dist/components/global-config/src/index.js +1 -1
- package/dist/components/icon-picker/src/index.cjs +4 -6
- package/dist/components/icon-picker/src/index.js +4 -6
- package/dist/components/index.cjs +16 -14
- package/dist/components/index.d.ts +5 -4
- package/dist/components/index.js +10 -8
- package/dist/components/index.scss +6 -4
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/src/index.d.ts +2 -2
- package/dist/components/input-number/index.d.ts +1 -1
- package/dist/components/input-number/src/index.d.ts +2 -2
- package/dist/components/input-select/index.d.ts +1 -1
- package/dist/components/input-select/src/index.d.ts +2 -2
- package/dist/components/input-select/src/index2.cjs +1 -1
- package/dist/components/input-select/src/index2.js +1 -1
- package/dist/components/labels/src/index2.cjs +1 -2
- package/dist/components/labels/src/index2.js +1 -2
- package/dist/components/lists/common/img.cjs +1 -1
- package/dist/components/lists/common/img.d.ts +2 -0
- package/dist/components/lists/common/img.js +1 -1
- package/dist/components/lists/common/img2.cjs +5 -8
- package/dist/components/lists/common/img2.js +6 -9
- package/dist/components/menus/src/index.cjs +2 -2
- package/dist/components/menus/src/index.js +1 -1
- package/dist/components/menus/src/menu-ll.cjs +7 -7
- package/dist/components/menus/src/menu-ll.js +2 -2
- package/dist/components/menus/style/index2.scss +5 -0
- package/dist/components/page/index.css +245 -0
- package/dist/components/page/index.d.ts +3073 -0
- package/dist/components/page/index.scss +4 -0
- package/dist/components/page/src/index.cjs +81 -99
- package/dist/components/page/src/index.d.ts +5111 -0
- package/dist/components/page/src/index.js +70 -88
- package/dist/components/page/src/set-column2.cjs +2 -2
- package/dist/components/page/src/set-column2.js +2 -2
- package/dist/components/page/style/index2.scss +9 -0
- package/dist/components/{pagin → paging}/index.cjs +3 -3
- package/dist/components/{pagin → paging}/index.css +4 -3
- package/dist/components/{pagin → paging}/index.d.ts +2 -2
- package/dist/components/{pagin → paging}/index.js +3 -3
- package/dist/components/{pagin → paging}/index.scss +3 -2
- package/dist/components/{pagin → paging}/src/index.cjs +3 -3
- package/dist/components/{pagin → paging}/src/index.js +2 -2
- package/dist/components/paging/style/index2.scss +3 -0
- package/dist/components/right-key/index.d.ts +15 -0
- package/dist/components/right-key/src/data.cjs +4 -0
- package/dist/components/right-key/src/data.d.ts +4 -0
- package/dist/components/right-key/src/data.js +4 -0
- package/dist/components/right-key/src/index.cjs +5 -1
- package/dist/components/right-key/src/index.d.ts +9 -0
- package/dist/components/right-key/src/index.js +5 -1
- package/dist/components/role-select/src/index.cjs +1 -1
- package/dist/components/role-select/src/index.js +1 -1
- package/dist/components/selector/src/index2.cjs +2 -2
- package/dist/components/selector/src/index2.js +2 -2
- package/dist/components/selects/src/index.cjs +1 -1
- package/dist/components/selects/src/index.js +1 -1
- package/dist/components/stick-window/src/index.cjs +1 -1
- package/dist/components/stick-window/src/index.js +1 -1
- package/dist/components/switchs/src/index.cjs +4 -4
- package/dist/components/switchs/src/index.js +4 -4
- package/dist/components/table-list/src/table-list.cjs +10 -15
- package/dist/components/table-list/src/table-list.js +10 -15
- package/dist/components/tables/common/pagin.cjs +40 -57
- package/dist/components/tables/common/pagin.js +40 -57
- package/dist/components/tables/common/table-but.cjs +1 -2
- package/dist/components/tables/common/table-but.js +1 -2
- package/dist/components/tables/common/table-color.cjs +4 -5
- package/dist/components/tables/common/table-color.js +4 -5
- package/dist/components/tables/common/table-list.cjs +1 -2
- package/dist/components/tables/common/table-list.js +1 -2
- package/dist/components/tables/common/util.cjs +2 -3
- package/dist/components/tables/common/util.js +2 -3
- package/dist/components/tables/index.css +12 -15
- package/dist/components/tables/index.d.ts +1730 -0
- package/dist/components/tables/index.scss +17 -23
- package/dist/components/{el-tables → tables}/src/column.cjs +3 -3
- package/dist/components/{el-tables → tables}/src/column.js +2 -2
- package/dist/components/{el-tables → tables}/src/columns.cjs +3 -3
- package/dist/components/{el-tables → tables}/src/columns.js +3 -3
- package/dist/components/{el-tables → tables}/src/columns3.cjs +6 -6
- package/dist/components/{el-tables → tables}/src/columns3.js +3 -3
- package/dist/components/tables/src/index.cjs +158 -98
- package/dist/components/tables/src/index.d.ts +3103 -0
- package/dist/components/tables/src/index.js +158 -98
- package/dist/components/tables/style/index2.scss +5 -0
- package/dist/components/tables-form/index.cjs +1 -0
- package/dist/components/tables-form/index.js +1 -0
- package/dist/components/tables-form/index.scss +0 -0
- package/dist/components/tables-form/src/columns3.cjs +1 -1
- package/dist/components/tables-form/src/columns3.js +1 -1
- package/dist/components/tables-form/src/index.cjs +4 -7
- package/dist/components/tables-form/src/index.js +4 -7
- package/dist/components/tables-form/style/index.scss.cjs +1 -0
- package/dist/components/tables-form/style/index.scss.js +1 -0
- package/dist/components/tables-form/style/index2.scss +0 -0
- package/dist/components/{el-tables → tablesp}/index.cjs +3 -3
- package/dist/components/{tables-pagin → tablesp}/index.css +10 -9
- package/dist/components/tablesp/index.d.ts +1939 -0
- package/dist/components/{el-tables → tablesp}/index.js +3 -3
- package/dist/components/{tables-pagin → tablesp}/index.scss +5 -5
- package/dist/components/{tables-pagin → tablesp}/src/index.cjs +7 -8
- package/dist/components/tablesp/src/index.d.ts +3540 -0
- package/dist/components/{tables-pagin → tablesp}/src/index.js +7 -8
- package/dist/components/tablesp/style/index2.scss +4 -0
- package/dist/components/{vxe-tables → tabless}/index.cjs +3 -3
- package/dist/components/{el-tables → tabless}/index.css +15 -12
- package/dist/components/tabless/index.d.ts +1939 -0
- package/dist/components/{vxe-tables → tabless}/index.js +3 -3
- package/dist/components/tabless/index.scss +32 -0
- package/dist/components/tabless/src/index.cjs +118 -0
- package/dist/components/tabless/src/index.d.ts +3540 -0
- package/dist/components/tabless/src/index.js +118 -0
- package/dist/components/tabless/style/index2.scss +5 -0
- package/dist/components/{tables-pagin → tablesv}/index.cjs +3 -3
- package/dist/components/{vxe-tables → tablesv}/index.css +17 -17
- package/dist/components/{vxe-tables → tablesv}/index.d.ts +2 -2
- package/dist/components/{tables-pagin → tablesv}/index.js +3 -3
- package/dist/components/{vxe-tables → tablesv}/index.scss +2 -2
- package/dist/components/{vxe-tables → tablesv}/src/columns3.cjs +1 -1
- package/dist/components/{vxe-tables → tablesv}/src/columns3.js +1 -1
- package/dist/components/{vxe-tables → tablesv}/src/index.cjs +3 -4
- package/dist/components/{vxe-tables → tablesv}/src/index.js +3 -4
- package/dist/components/tablesv/style/index2.scss +1 -0
- package/dist/components/tablesvp/index.cjs +8 -0
- package/dist/components/tablesvp/index.css +130 -0
- package/dist/components/tablesvp/index.d.ts +480 -0
- package/dist/components/tablesvp/index.js +8 -0
- package/dist/components/tablesvp/index.scss +33 -0
- package/dist/components/tablesvp/src/data.d.ts +14 -0
- package/dist/components/tablesvp/src/index.cjs +86 -0
- package/dist/components/tablesvp/src/index.d.ts +630 -0
- package/dist/components/tablesvp/src/index.js +86 -0
- package/dist/components/tablesvp/src/index2.cjs +4 -0
- package/dist/components/tablesvp/src/index2.js +4 -0
- package/dist/components/tablesvp/style/index2.scss +4 -0
- package/dist/directives/adjust/index.cjs +1 -2
- package/dist/directives/adjust/index.js +1 -2
- package/dist/expand/{chunk-B6EXENNS.cjs → chunk-P5447R3I.cjs} +5 -4
- package/dist/expand/{chunk-Y7QESZWG.js → chunk-VZAQ2FM7.js} +5 -4
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/global-config/index.cjs +2 -5
- package/dist/hooks/global-config/index.js +2 -5
- package/dist/index.cjs +34 -32
- package/dist/index.css +130 -50
- package/dist/index.js +10 -8
- package/dist/index2.css +1 -1
- package/package.json +9 -9
- package/dist/components/el-tables/index.scss +0 -26
- package/dist/components/el-tables/src/index.cjs +0 -175
- package/dist/components/el-tables/src/index.js +0 -175
- /package/dist/components/{forms-items → forms-item}/index.css +0 -0
- /package/dist/components/{pagin → paging}/src/index.d.ts +0 -0
- /package/dist/components/{el-tables → paging}/src/index2.cjs +0 -0
- /package/dist/components/{el-tables → paging}/src/index2.js +0 -0
- /package/dist/components/{el-tables → tables}/src/column.d.ts +0 -0
- /package/dist/components/{el-tables → tables}/src/columns.d.ts +0 -0
- /package/dist/components/{el-tables → tables}/src/columns2.cjs +0 -0
- /package/dist/components/{el-tables → tables}/src/columns2.js +0 -0
- /package/dist/components/{el-tables → tables}/src/data.cjs +0 -0
- /package/dist/components/{el-tables → tables}/src/data.d.ts +0 -0
- /package/dist/components/{el-tables → tables}/src/data.js +0 -0
- /package/dist/components/{tables-pagin → tablesp}/src/data.d.ts +0 -0
- /package/dist/components/{pagin → tablesp}/src/index2.cjs +0 -0
- /package/dist/components/{pagin → tablesp}/src/index2.js +0 -0
- /package/dist/components/{tables-pagin → tabless}/src/index2.cjs +0 -0
- /package/dist/components/{tables-pagin → tabless}/src/index2.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/column.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/column.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/column.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns2.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns2.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/data.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/data.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/data.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/index.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/index2.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/index2.js +0 -0
|
@@ -111,8 +111,7 @@ function setUp(props, emit, cs, refForm) {
|
|
|
111
111
|
function getRules() {
|
|
112
112
|
const rules = {};
|
|
113
113
|
const setListValue = (arr, listobj) => {
|
|
114
|
-
arr
|
|
115
|
-
var _a, _b;
|
|
114
|
+
arr?.forEach((obj) => {
|
|
116
115
|
if (listobj) {
|
|
117
116
|
obj.father = obj.father ?? listobj;
|
|
118
117
|
}
|
|
@@ -129,10 +128,10 @@ function setUp(props, emit, cs, refForm) {
|
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
130
|
obj.config = obj.config ?? {};
|
|
132
|
-
if (
|
|
131
|
+
if (obj.config?.placeholder === void 0) {
|
|
133
132
|
obj.config.placeholder = (trigger == 1 ? "请输入" : "请选择") + obj.label;
|
|
134
133
|
}
|
|
135
|
-
if (
|
|
134
|
+
if (obj.config?.clearable === void 0) {
|
|
136
135
|
obj.config.clearable = true;
|
|
137
136
|
}
|
|
138
137
|
if (obj.prop) {
|
|
@@ -204,12 +203,10 @@ function setUp(props, emit, cs, refForm) {
|
|
|
204
203
|
});
|
|
205
204
|
}
|
|
206
205
|
function resetFields() {
|
|
207
|
-
|
|
208
|
-
(_a = refForm.value) == null ? void 0 : _a.resetFields();
|
|
206
|
+
refForm.value?.resetFields();
|
|
209
207
|
}
|
|
210
208
|
function validateField(...arr) {
|
|
211
|
-
|
|
212
|
-
(_a = refForm.value) == null ? void 0 : _a.validateField(...arr);
|
|
209
|
+
refForm.value?.validateField(...arr);
|
|
213
210
|
}
|
|
214
211
|
function closeForm() {
|
|
215
212
|
resetFields();
|
|
@@ -109,8 +109,7 @@ function setUp(props, emit, cs, refForm) {
|
|
|
109
109
|
function getRules() {
|
|
110
110
|
const rules = {};
|
|
111
111
|
const setListValue = (arr, listobj) => {
|
|
112
|
-
arr
|
|
113
|
-
var _a, _b;
|
|
112
|
+
arr?.forEach((obj) => {
|
|
114
113
|
if (listobj) {
|
|
115
114
|
obj.father = obj.father ?? listobj;
|
|
116
115
|
}
|
|
@@ -127,10 +126,10 @@ function setUp(props, emit, cs, refForm) {
|
|
|
127
126
|
}
|
|
128
127
|
}
|
|
129
128
|
obj.config = obj.config ?? {};
|
|
130
|
-
if (
|
|
129
|
+
if (obj.config?.placeholder === void 0) {
|
|
131
130
|
obj.config.placeholder = (trigger == 1 ? "请输入" : "请选择") + obj.label;
|
|
132
131
|
}
|
|
133
|
-
if (
|
|
132
|
+
if (obj.config?.clearable === void 0) {
|
|
134
133
|
obj.config.clearable = true;
|
|
135
134
|
}
|
|
136
135
|
if (obj.prop) {
|
|
@@ -202,12 +201,10 @@ function setUp(props, emit, cs, refForm) {
|
|
|
202
201
|
});
|
|
203
202
|
}
|
|
204
203
|
function resetFields() {
|
|
205
|
-
|
|
206
|
-
(_a = refForm.value) == null ? void 0 : _a.resetFields();
|
|
204
|
+
refForm.value?.resetFields();
|
|
207
205
|
}
|
|
208
206
|
function validateField(...arr) {
|
|
209
|
-
|
|
210
|
-
(_a = refForm.value) == null ? void 0 : _a.validateField(...arr);
|
|
207
|
+
refForm.value?.validateField(...arr);
|
|
211
208
|
}
|
|
212
209
|
function closeForm() {
|
|
213
210
|
resetFields();
|
|
@@ -20,9 +20,8 @@ function _interopNamespaceDefault(e) {
|
|
|
20
20
|
}
|
|
21
21
|
const judge__namespace = /* @__PURE__ */ _interopNamespaceDefault(judge);
|
|
22
22
|
function getRule(trigger, obj, data, refForm) {
|
|
23
|
-
var _a;
|
|
24
23
|
const name = obj.label;
|
|
25
|
-
let multiple = obj.multiple ??
|
|
24
|
+
let multiple = obj.multiple ?? obj.config?.multiple;
|
|
26
25
|
const rule = obj.rule;
|
|
27
26
|
if (typeof multiple != "boolean") {
|
|
28
27
|
multiple = false;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useHide } from "../../common/use.js";
|
|
2
2
|
import * as judge from "@fangzhongya/utils/judge/judge";
|
|
3
3
|
function getRule(trigger, obj, data, refForm) {
|
|
4
|
-
var _a;
|
|
5
4
|
const name = obj.label;
|
|
6
|
-
let multiple = obj.multiple ??
|
|
5
|
+
let multiple = obj.multiple ?? obj.config?.multiple;
|
|
7
6
|
const rule = obj.rule;
|
|
8
7
|
if (typeof multiple != "boolean") {
|
|
9
8
|
multiple = false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use '../index.scss' as *;
|
|
@@ -144,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
144
144
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
145
145
|
class: vue.normalizeClass(["handle", [
|
|
146
146
|
vue.unref(cs).z("li"),
|
|
147
|
-
vue.unref(cs).is("div", item
|
|
147
|
+
vue.unref(cs).is("div", item?.isDiv),
|
|
148
148
|
item.class,
|
|
149
149
|
props.itemClass,
|
|
150
150
|
vue.unref(cs).is("hover", props.index == index2)
|
|
@@ -153,7 +153,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
153
153
|
onClick: vue.withModifiers(($event) => onClickHandle(item, index2), ["stop"]),
|
|
154
154
|
"data-key": index2
|
|
155
155
|
}, [
|
|
156
|
-
|
|
156
|
+
item?.isDiv ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.FormsDiv), {
|
|
157
157
|
key: 0,
|
|
158
158
|
listobj: item,
|
|
159
159
|
optionss: props.options,
|
|
@@ -142,7 +142,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
142
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
143
143
|
class: normalizeClass(["handle", [
|
|
144
144
|
unref(cs).z("li"),
|
|
145
|
-
unref(cs).is("div", item
|
|
145
|
+
unref(cs).is("div", item?.isDiv),
|
|
146
146
|
item.class,
|
|
147
147
|
props.itemClass,
|
|
148
148
|
unref(cs).is("hover", props.index == index)
|
|
@@ -151,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
151
151
|
onClick: withModifiers(($event) => onClickHandle(item, index), ["stop"]),
|
|
152
152
|
"data-key": index
|
|
153
153
|
}, [
|
|
154
|
-
|
|
154
|
+
item?.isDiv ? (openBlock(), createBlock(unref(FormsDiv), {
|
|
155
155
|
key: 0,
|
|
156
156
|
listobj: item,
|
|
157
157
|
optionss: props.options,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
|
-
const index$
|
|
6
|
-
const
|
|
5
|
+
const index$3 = require("../../forms-div/index.cjs");
|
|
6
|
+
const index$2 = require("element-plus/es/components/form/index");
|
|
7
7
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
9
9
|
const label = require("./label.cjs");
|
|
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
30
30
|
});
|
|
31
31
|
const itemProp = props.__prop ?? props.prop;
|
|
32
32
|
const rowHeight = vue.computed(() => {
|
|
33
|
-
return props.rowHeight ?? prs.rowHeight ??
|
|
33
|
+
return props.rowHeight ?? prs.rowHeight ?? form?.rowHeight;
|
|
34
34
|
});
|
|
35
35
|
function setLabelWidth(v) {
|
|
36
36
|
if (v.hideLabel ?? prs.hideLabel) {
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
49
49
|
rowHeight: rowHeight.value
|
|
50
50
|
})
|
|
51
51
|
}, vue.unref(attrs).root), [
|
|
52
|
-
vue.unref(props).hideLabel ?? prs.hideLabel ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
52
|
+
vue.unref(props).hideLabel ?? prs.hideLabel ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElFormItem), vue.mergeProps({ key: 0 }, vue.unref(attrs).assem, {
|
|
53
53
|
class: [
|
|
54
54
|
vue.unref(cs).z("el-item"),
|
|
55
55
|
vue.unref(cs).is("height", rowHeight.value && vue.unref(form).labelPosition != "top"),
|
|
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
61
61
|
"label-width": setLabelWidth(vue.unref(props))
|
|
62
62
|
}), {
|
|
63
63
|
default: vue.withCtx(() => [
|
|
64
|
-
vue.createVNode(vue.unref(index$
|
|
64
|
+
vue.createVNode(vue.unref(index$3.FormsDiv), {
|
|
65
65
|
listobj: vue.unref(props),
|
|
66
66
|
optionss: prs.optionss,
|
|
67
67
|
valueobj: prs.valueobj,
|
|
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
79
79
|
]), 1032, ["listobj", "optionss", "valueobj", "modelValue"])
|
|
80
80
|
]),
|
|
81
81
|
_: 3
|
|
82
|
-
}, 16, ["class", "prop", "required", "rules", "label-width"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
82
|
+
}, 16, ["class", "prop", "required", "rules", "label-width"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElFormItem), vue.mergeProps({ key: 1 }, vue.unref(attrs).assem, {
|
|
83
83
|
class: [
|
|
84
84
|
vue.unref(cs).z("el-item"),
|
|
85
85
|
vue.unref(cs).is("height", rowHeight.value && vue.unref(form).labelPosition != "top"),
|
|
@@ -100,7 +100,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
100
|
}, null, 8, ["value", "label", "listobj", "optionss", "valueobj"])
|
|
101
101
|
]),
|
|
102
102
|
default: vue.withCtx(() => [
|
|
103
|
-
vue.createVNode(vue.unref(index$
|
|
103
|
+
vue.createVNode(vue.unref(index$3.FormsDiv), {
|
|
104
104
|
listobj: vue.unref(props),
|
|
105
105
|
optionss: prs.optionss,
|
|
106
106
|
valueobj: prs.valueobj,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useSlots, useAttrs, inject, computed, createElementBlock, openBlock, mergeProps, unref, createBlock, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { dataEmits, dataProps, dataExpose } from "./data.js";
|
|
3
3
|
import { FormsDiv } from "../../forms-div/index.js";
|
|
4
|
-
import { ElFormItem } from "element-plus";
|
|
4
|
+
import { ElFormItem } from "element-plus/es/components/form/index";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
6
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
7
7
|
import Lable from "./label.js";
|
|
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
});
|
|
29
29
|
const itemProp = props.__prop ?? props.prop;
|
|
30
30
|
const rowHeight = computed(() => {
|
|
31
|
-
return props.rowHeight ?? prs.rowHeight ??
|
|
31
|
+
return props.rowHeight ?? prs.rowHeight ?? form?.rowHeight;
|
|
32
32
|
});
|
|
33
33
|
function setLabelWidth(v) {
|
|
34
34
|
if (v.hideLabel ?? prs.hideLabel) {
|
|
@@ -72,10 +72,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
72
72
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(props).children, (item, index2) => {
|
|
73
73
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
74
74
|
key: setKey(item, index2),
|
|
75
|
-
class: vue.normalizeClass([vue.unref(cs).z("li"), vue.unref(cs).is("div", item
|
|
75
|
+
class: vue.normalizeClass([vue.unref(cs).z("li"), vue.unref(cs).is("div", item?.isdiv), item.class]),
|
|
76
76
|
style: vue.normalizeStyle(setStyles(item))
|
|
77
77
|
}, [
|
|
78
|
-
|
|
78
|
+
item?.isdiv ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.FormsDiv), vue.mergeProps({
|
|
79
79
|
key: 0,
|
|
80
80
|
ref_for: true
|
|
81
81
|
}, binds.value, {
|
|
@@ -70,10 +70,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).children, (item, index) => {
|
|
71
71
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
72
72
|
key: setKey(item, index),
|
|
73
|
-
class: normalizeClass([unref(cs).z("li"), unref(cs).is("div", item
|
|
73
|
+
class: normalizeClass([unref(cs).z("li"), unref(cs).is("div", item?.isdiv), item.class]),
|
|
74
74
|
style: normalizeStyle(setStyles(item))
|
|
75
75
|
}, [
|
|
76
|
-
|
|
76
|
+
item?.isdiv ? (openBlock(), createBlock(unref(FormsDiv), mergeProps({
|
|
77
77
|
key: 0,
|
|
78
78
|
ref_for: true
|
|
79
79
|
}, binds.value, {
|
|
@@ -36,7 +36,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36
36
|
props: data.dataProps,
|
|
37
37
|
emits: data.dataEmits,
|
|
38
38
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39
|
-
var _a, _b;
|
|
40
39
|
const { getLocale } = index.useLocale();
|
|
41
40
|
const cs = index$1.useCssName("icon-picker");
|
|
42
41
|
const props = __props;
|
|
@@ -44,10 +43,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
43
|
let ac = "";
|
|
45
44
|
if (props.icons) {
|
|
46
45
|
if (props.icons instanceof Array) {
|
|
47
|
-
ac =
|
|
46
|
+
ac = props.icons[0]?.prefix;
|
|
48
47
|
} else {
|
|
49
48
|
const k = Object.keys(props.icons)[0];
|
|
50
|
-
ac =
|
|
49
|
+
ac = props.icons[k]?.prefix;
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
const activeName = vue.ref(ac);
|
|
@@ -55,7 +54,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
55
54
|
const search = vue.ref("");
|
|
56
55
|
const value = vue.ref("");
|
|
57
56
|
const currentIconList = vue.computed(() => {
|
|
58
|
-
var _a2;
|
|
59
57
|
let arr = {};
|
|
60
58
|
if (activeName.value) {
|
|
61
59
|
if (props.icons instanceof Array) {
|
|
@@ -63,12 +61,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
63
61
|
const element = props.icons[index2];
|
|
64
62
|
const name = element.prefix;
|
|
65
63
|
if (name == activeName.value) {
|
|
66
|
-
arr =
|
|
64
|
+
arr = element?.icons || [];
|
|
67
65
|
break;
|
|
68
66
|
}
|
|
69
67
|
}
|
|
70
68
|
} else {
|
|
71
|
-
arr =
|
|
69
|
+
arr = props.icons[activeName.value]?.icons || [];
|
|
72
70
|
}
|
|
73
71
|
}
|
|
74
72
|
if (search.value) {
|
|
@@ -34,7 +34,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
props: dataProps,
|
|
35
35
|
emits: dataEmits,
|
|
36
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37
|
-
var _a, _b;
|
|
38
37
|
const { getLocale } = useLocale();
|
|
39
38
|
const cs = useCssName("icon-picker");
|
|
40
39
|
const props = __props;
|
|
@@ -42,10 +41,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
41
|
let ac = "";
|
|
43
42
|
if (props.icons) {
|
|
44
43
|
if (props.icons instanceof Array) {
|
|
45
|
-
ac =
|
|
44
|
+
ac = props.icons[0]?.prefix;
|
|
46
45
|
} else {
|
|
47
46
|
const k = Object.keys(props.icons)[0];
|
|
48
|
-
ac =
|
|
47
|
+
ac = props.icons[k]?.prefix;
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
50
|
const activeName = ref(ac);
|
|
@@ -53,7 +52,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
52
|
const search = ref("");
|
|
54
53
|
const value = ref("");
|
|
55
54
|
const currentIconList = computed(() => {
|
|
56
|
-
var _a2;
|
|
57
55
|
let arr = {};
|
|
58
56
|
if (activeName.value) {
|
|
59
57
|
if (props.icons instanceof Array) {
|
|
@@ -61,12 +59,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
59
|
const element = props.icons[index];
|
|
62
60
|
const name = element.prefix;
|
|
63
61
|
if (name == activeName.value) {
|
|
64
|
-
arr =
|
|
62
|
+
arr = element?.icons || [];
|
|
65
63
|
break;
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
66
|
} else {
|
|
69
|
-
arr =
|
|
67
|
+
arr = props.icons[activeName.value]?.icons || [];
|
|
70
68
|
}
|
|
71
69
|
}
|
|
72
70
|
if (search.value) {
|
|
@@ -108,13 +108,14 @@ const index$1E = require("./selector/index.cjs");
|
|
|
108
108
|
const index$1F = require("./selects/index.cjs");
|
|
109
109
|
const index$1G = require("./switchs/index.cjs");
|
|
110
110
|
const index$1H = require("./text/index.cjs");
|
|
111
|
-
const index$1I = require("./
|
|
112
|
-
const index$1J = require("./
|
|
113
|
-
const index$1K = require("./
|
|
114
|
-
const index$1L = require("./tables
|
|
115
|
-
const index$1M = require("./
|
|
116
|
-
const index$1N = require("./
|
|
117
|
-
const index$1O = require("./
|
|
111
|
+
const index$1I = require("./paging/index.cjs");
|
|
112
|
+
const index$1J = require("./table-list/index.cjs");
|
|
113
|
+
const index$1K = require("./tables-form/index.cjs");
|
|
114
|
+
const index$1L = require("./tables/index.cjs");
|
|
115
|
+
const index$1M = require("./tablesp/index.cjs");
|
|
116
|
+
const index$1N = require("./tabless/index.cjs");
|
|
117
|
+
const index$1O = require("./tablesv/index.cjs");
|
|
118
|
+
const index$1P = require("./tablesvp/index.cjs");
|
|
118
119
|
const index$i = require("./loading/src/index.cjs");
|
|
119
120
|
exports.CsConfig = index.CsConfig;
|
|
120
121
|
exports.CsEmits = index$1.CsEmits;
|
|
@@ -223,11 +224,12 @@ exports.Selector = index$1E.Selector;
|
|
|
223
224
|
exports.Selects = index$1F.Selects;
|
|
224
225
|
exports.Switchs = index$1G.Switchs;
|
|
225
226
|
exports.Text = index$1H.Text;
|
|
226
|
-
exports.
|
|
227
|
-
exports.
|
|
228
|
-
exports.
|
|
229
|
-
exports.
|
|
230
|
-
exports.
|
|
231
|
-
exports.
|
|
232
|
-
exports.
|
|
227
|
+
exports.Paging = index$1I.Paging;
|
|
228
|
+
exports.TableList = index$1J.TableList;
|
|
229
|
+
exports.TablesForm = index$1K.TablesForm;
|
|
230
|
+
exports.Tables = index$1L.Tables;
|
|
231
|
+
exports.Tablesp = index$1M.Tablesp;
|
|
232
|
+
exports.Tabless = index$1N.Tabless;
|
|
233
|
+
exports.Tablesv = index$1O.Tablesv;
|
|
234
|
+
exports.Tablesvp = index$1P.Tablesvp;
|
|
233
235
|
exports.vLoading = index$i.vLoading;
|
|
@@ -105,10 +105,11 @@ export * from './selector/index';
|
|
|
105
105
|
export * from './selects/index';
|
|
106
106
|
export * from './switchs/index';
|
|
107
107
|
export * from './text/index';
|
|
108
|
-
export * from './
|
|
109
|
-
export * from './pagin/index';
|
|
108
|
+
export * from './paging/index';
|
|
110
109
|
export * from './table-list/index';
|
|
111
110
|
export * from './tables-form/index';
|
|
112
|
-
export * from './tables-pagin/index';
|
|
113
111
|
export * from './tables/index';
|
|
114
|
-
export * from './
|
|
112
|
+
export * from './tablesp/index';
|
|
113
|
+
export * from './tabless/index';
|
|
114
|
+
export * from './tablesv/index';
|
|
115
|
+
export * from './tablesvp/index';
|
package/dist/components/index.js
CHANGED
|
@@ -106,13 +106,14 @@ import { Selector } from "./selector/index.js";
|
|
|
106
106
|
import { Selects } from "./selects/index.js";
|
|
107
107
|
import { Switchs } from "./switchs/index.js";
|
|
108
108
|
import { Text } from "./text/index.js";
|
|
109
|
-
import {
|
|
110
|
-
import { Pagin } from "./pagin/index.js";
|
|
109
|
+
import { Paging } from "./paging/index.js";
|
|
111
110
|
import { TableList } from "./table-list/index.js";
|
|
112
111
|
import { TablesForm } from "./tables-form/index.js";
|
|
113
|
-
import { TablesPagin } from "./tables-pagin/index.js";
|
|
114
112
|
import { Tables } from "./tables/index.js";
|
|
115
|
-
import {
|
|
113
|
+
import { Tablesp } from "./tablesp/index.js";
|
|
114
|
+
import { Tabless } from "./tabless/index.js";
|
|
115
|
+
import { Tablesv } from "./tablesv/index.js";
|
|
116
|
+
import { Tablesvp } from "./tablesvp/index.js";
|
|
116
117
|
import { vLoading } from "./loading/src/index.js";
|
|
117
118
|
export {
|
|
118
119
|
Alert,
|
|
@@ -159,7 +160,6 @@ export {
|
|
|
159
160
|
DropdownMenu,
|
|
160
161
|
Edit,
|
|
161
162
|
EditFloat,
|
|
162
|
-
ElTables,
|
|
163
163
|
Form,
|
|
164
164
|
FormItem,
|
|
165
165
|
Forms,
|
|
@@ -190,8 +190,8 @@ export {
|
|
|
190
190
|
Option,
|
|
191
191
|
OptionGroup,
|
|
192
192
|
Page,
|
|
193
|
-
Pagin,
|
|
194
193
|
Pagination,
|
|
194
|
+
Paging,
|
|
195
195
|
Popconfirm,
|
|
196
196
|
Popover,
|
|
197
197
|
Popup,
|
|
@@ -216,7 +216,10 @@ export {
|
|
|
216
216
|
TableList,
|
|
217
217
|
Tables,
|
|
218
218
|
TablesForm,
|
|
219
|
-
|
|
219
|
+
Tablesp,
|
|
220
|
+
Tabless,
|
|
221
|
+
Tablesv,
|
|
222
|
+
Tablesvp,
|
|
220
223
|
Tabs,
|
|
221
224
|
Text,
|
|
222
225
|
TimePicker,
|
|
@@ -227,7 +230,6 @@ export {
|
|
|
227
230
|
TreeSelectBox,
|
|
228
231
|
Upload,
|
|
229
232
|
UserSelect,
|
|
230
|
-
VxeTables,
|
|
231
233
|
Window,
|
|
232
234
|
vLoading
|
|
233
235
|
};
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
@use './selects/index.scss' as *;
|
|
29
29
|
@use './switchs/index.scss' as *;
|
|
30
30
|
@use './text/index.scss' as *;
|
|
31
|
-
@use './
|
|
32
|
-
@use './
|
|
33
|
-
@use './tables
|
|
34
|
-
@use './
|
|
31
|
+
@use './paging/index.scss' as *;
|
|
32
|
+
@use './tables-form/index.scss' as *;
|
|
33
|
+
@use './tables/index.scss' as *;
|
|
34
|
+
@use './tablesp/index.scss' as *;
|
|
35
|
+
@use './tabless/index.scss' as *;
|
|
36
|
+
@use './tablesv/index.scss' as *;
|
|
@@ -44,9 +44,9 @@ declare const Input: {
|
|
|
44
44
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
45
45
|
readonly name?: string | undefined;
|
|
46
46
|
readonly form?: string | undefined;
|
|
47
|
+
readonly placeholder?: string | undefined;
|
|
47
48
|
readonly ariaLabel?: string | undefined;
|
|
48
49
|
readonly id?: string | undefined;
|
|
49
|
-
readonly placeholder?: string | undefined;
|
|
50
50
|
readonly prefixIcon?: (string | Component) | undefined;
|
|
51
51
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
52
52
|
readonly maxlength?: (string | number) | undefined;
|
|
@@ -44,9 +44,9 @@ declare function __VLS_template(): {
|
|
|
44
44
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
45
45
|
readonly name?: string | undefined;
|
|
46
46
|
readonly form?: string | undefined;
|
|
47
|
+
readonly placeholder?: string | undefined;
|
|
47
48
|
readonly ariaLabel?: string | undefined;
|
|
48
49
|
readonly id?: string | undefined;
|
|
49
|
-
readonly placeholder?: string | undefined;
|
|
50
50
|
readonly prefixIcon?: (string | Component) | undefined;
|
|
51
51
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
52
52
|
readonly maxlength?: (string | number) | undefined;
|
|
@@ -570,9 +570,9 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
570
570
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
571
571
|
readonly name?: string | undefined;
|
|
572
572
|
readonly form?: string | undefined;
|
|
573
|
+
readonly placeholder?: string | undefined;
|
|
573
574
|
readonly ariaLabel?: string | undefined;
|
|
574
575
|
readonly id?: string | undefined;
|
|
575
|
-
readonly placeholder?: string | undefined;
|
|
576
576
|
readonly prefixIcon?: (string | Component) | undefined;
|
|
577
577
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
578
578
|
readonly maxlength?: (string | number) | undefined;
|
|
@@ -34,9 +34,9 @@ declare const InputNumber: {
|
|
|
34
34
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
35
35
|
readonly name?: string | undefined;
|
|
36
36
|
readonly modelValue?: any;
|
|
37
|
+
readonly placeholder?: string | undefined;
|
|
37
38
|
readonly ariaLabel?: string | undefined;
|
|
38
39
|
readonly id?: string | undefined;
|
|
39
|
-
readonly placeholder?: string | undefined;
|
|
40
40
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
41
41
|
readonly precision?: number | undefined;
|
|
42
42
|
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined | undefined;
|
|
@@ -34,9 +34,9 @@ declare function __VLS_template(): {
|
|
|
34
34
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
35
35
|
readonly name?: string | undefined;
|
|
36
36
|
readonly modelValue?: any;
|
|
37
|
+
readonly placeholder?: string | undefined;
|
|
37
38
|
readonly ariaLabel?: string | undefined;
|
|
38
39
|
readonly id?: string | undefined;
|
|
39
|
-
readonly placeholder?: string | undefined;
|
|
40
40
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
41
41
|
readonly precision?: number | undefined;
|
|
42
42
|
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined | undefined;
|
|
@@ -368,9 +368,9 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
368
368
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
369
369
|
readonly name?: string | undefined;
|
|
370
370
|
readonly modelValue?: any;
|
|
371
|
+
readonly placeholder?: string | undefined;
|
|
371
372
|
readonly ariaLabel?: string | undefined;
|
|
372
373
|
readonly id?: string | undefined;
|
|
373
|
-
readonly placeholder?: string | undefined;
|
|
374
374
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
375
375
|
readonly precision?: number | undefined;
|
|
376
376
|
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined | undefined;
|
|
@@ -93,9 +93,9 @@ declare const InputSelect: {
|
|
|
93
93
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
94
94
|
readonly name?: string | undefined;
|
|
95
95
|
readonly form?: string | undefined;
|
|
96
|
+
readonly placeholder?: string | undefined;
|
|
96
97
|
readonly ariaLabel?: string | undefined;
|
|
97
98
|
readonly id?: string | undefined;
|
|
98
|
-
readonly placeholder?: string | undefined;
|
|
99
99
|
readonly prefixIcon?: (string | Component) | undefined;
|
|
100
100
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
101
101
|
readonly maxlength?: (string | number) | undefined;
|
|
@@ -44,9 +44,9 @@ declare function __VLS_template(): {
|
|
|
44
44
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
45
45
|
readonly name?: string | undefined;
|
|
46
46
|
readonly form?: string | undefined;
|
|
47
|
+
readonly placeholder?: string | undefined;
|
|
47
48
|
readonly ariaLabel?: string | undefined;
|
|
48
49
|
readonly id?: string | undefined;
|
|
49
|
-
readonly placeholder?: string | undefined;
|
|
50
50
|
readonly prefixIcon?: (string | Component) | undefined;
|
|
51
51
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
52
52
|
readonly maxlength?: (string | number) | undefined;
|
|
@@ -662,9 +662,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
662
662
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
663
663
|
readonly name?: string | undefined;
|
|
664
664
|
readonly form?: string | undefined;
|
|
665
|
+
readonly placeholder?: string | undefined;
|
|
665
666
|
readonly ariaLabel?: string | undefined;
|
|
666
667
|
readonly id?: string | undefined;
|
|
667
|
-
readonly placeholder?: string | undefined;
|
|
668
668
|
readonly prefixIcon?: (string | Component) | undefined;
|
|
669
669
|
readonly inputmode?: "text" | "search" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
670
670
|
readonly maxlength?: (string | number) | undefined;
|
|
@@ -204,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
204
204
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
205
205
|
class: vue.normalizeClass([
|
|
206
206
|
vue.unref(cs).z("select-li"),
|
|
207
|
-
vue.unref(cs).is("disabled", item
|
|
207
|
+
vue.unref(cs).is("disabled", item?.disabled),
|
|
208
208
|
getSelected(item)
|
|
209
209
|
]),
|
|
210
210
|
onClick: vue.withModifiers(($event) => onClickSelect(item), ["stop"])
|
|
@@ -202,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
202
202
|
return openBlock(), createElementBlock("li", {
|
|
203
203
|
class: normalizeClass([
|
|
204
204
|
unref(cs).z("select-li"),
|
|
205
|
-
unref(cs).is("disabled", item
|
|
205
|
+
unref(cs).is("disabled", item?.disabled),
|
|
206
206
|
getSelected(item)
|
|
207
207
|
]),
|
|
208
208
|
onClick: withModifiers(($event) => onClickSelect(item), ["stop"])
|