jky-component-lib 0.0.132 → 0.0.133
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/es/amap/style.css +13 -2
- package/dist/es/amap/style2.css +2 -13
- package/dist/es/form/FormItemWrapper.vue.js +13 -15
- package/dist/es/form/items/AddInputItem.vue.js +6 -3
- package/dist/es/form/items/AutocompleteItem.vue.js +8 -5
- package/dist/es/form/items/CascaderItem.vue.js +8 -5
- package/dist/es/form/items/CheckboxGroupItem.vue.js +7 -4
- package/dist/es/form/items/CodeMirrorEditorItem.vue.js +6 -3
- package/dist/es/form/items/ColorPickerItem.vue.js +7 -4
- package/dist/es/form/items/ColorPickerPanelItem.vue.js +7 -4
- package/dist/es/form/items/CustomItem.vue.js +2 -1
- package/dist/es/form/items/DatePickerItem.vue.js +11 -8
- package/dist/es/form/items/FileUploadItem.vue.js +9 -6
- package/dist/es/form/items/ImageUploadItem.vue.js +9 -6
- package/dist/es/form/items/InputItem.vue.js +5 -5
- package/dist/es/form/items/InputNumberItem.vue.js +8 -5
- package/dist/es/form/items/InputTagItem.vue.js +7 -4
- package/dist/es/form/items/LinkedSelectItem.vue.js +1 -1
- package/dist/es/form/items/MentionItem.vue.js +7 -4
- package/dist/es/form/items/RadioGroupItem.vue.js +7 -4
- package/dist/es/form/items/RateItem.vue.js +7 -4
- package/dist/es/form/items/RichEditorItem.vue.js +6 -3
- package/dist/es/form/items/SelectItem.vue.js +8 -5
- package/dist/es/form/items/SelectV2Item.vue.js +9 -6
- package/dist/es/form/items/SliderItem.vue.js +7 -4
- package/dist/es/form/items/SwitchItem.vue.js +7 -4
- package/dist/es/form/items/TextareaItem.vue.js +10 -7
- package/dist/es/form/items/TimePickerItem.vue.js +11 -8
- package/dist/es/form/items/TimeSelectItem.vue.js +7 -4
- package/dist/es/form/items/TransferItem.vue.js +8 -5
- package/dist/es/form/items/TreeSelectItem.vue.js +8 -5
- package/dist/es/package.json.js +1 -1
- package/dist/es/style.css +8 -0
- package/dist/lib/amap/style.css +13 -2
- package/dist/lib/amap/style2.css +2 -13
- package/dist/lib/form/FormItemWrapper.vue.js +11 -13
- package/dist/lib/form/items/AddInputItem.vue.js +6 -3
- package/dist/lib/form/items/AutocompleteItem.vue.js +8 -5
- package/dist/lib/form/items/CascaderItem.vue.js +8 -5
- package/dist/lib/form/items/CheckboxGroupItem.vue.js +7 -4
- package/dist/lib/form/items/CodeMirrorEditorItem.vue.js +6 -3
- package/dist/lib/form/items/ColorPickerItem.vue.js +7 -4
- package/dist/lib/form/items/ColorPickerPanelItem.vue.js +7 -4
- package/dist/lib/form/items/CustomItem.vue.js +2 -1
- package/dist/lib/form/items/DatePickerItem.vue.js +11 -8
- package/dist/lib/form/items/FileUploadItem.vue.js +9 -6
- package/dist/lib/form/items/ImageUploadItem.vue.js +9 -6
- package/dist/lib/form/items/InputItem.vue.js +4 -4
- package/dist/lib/form/items/InputNumberItem.vue.js +8 -5
- package/dist/lib/form/items/InputTagItem.vue.js +7 -4
- package/dist/lib/form/items/LinkedSelectItem.vue.js +1 -1
- package/dist/lib/form/items/MentionItem.vue.js +7 -4
- package/dist/lib/form/items/RadioGroupItem.vue.js +7 -4
- package/dist/lib/form/items/RateItem.vue.js +7 -4
- package/dist/lib/form/items/RichEditorItem.vue.js +6 -3
- package/dist/lib/form/items/SelectItem.vue.js +8 -5
- package/dist/lib/form/items/SelectV2Item.vue.js +9 -6
- package/dist/lib/form/items/SliderItem.vue.js +7 -4
- package/dist/lib/form/items/SwitchItem.vue.js +7 -4
- package/dist/lib/form/items/TextareaItem.vue.js +10 -7
- package/dist/lib/form/items/TimePickerItem.vue.js +11 -8
- package/dist/lib/form/items/TimeSelectItem.vue.js +7 -4
- package/dist/lib/form/items/TransferItem.vue.js +8 -5
- package/dist/lib/form/items/TreeSelectItem.vue.js +8 -5
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/style.css +8 -0
- package/package.json +1 -1
|
@@ -36,13 +36,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
36
36
|
setup(__props, { emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emit = __emit;
|
|
39
|
-
const textareaProps = vue.computed(() =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
const textareaProps = vue.computed(() => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
42
|
+
modelValue: props.modelValue,
|
|
43
|
+
placeholder: props.componentProps.placeholder || props.config.placeholder || "请输入",
|
|
44
|
+
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled,
|
|
45
|
+
type: "textarea",
|
|
46
|
+
rows: props.componentProps.rows || 4
|
|
47
|
+
});
|
|
48
|
+
});
|
|
46
49
|
return (_ctx, _cache) => {
|
|
47
50
|
return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElInput), vue.mergeProps(textareaProps.value, {
|
|
48
51
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -36,14 +36,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
36
36
|
setup(__props, { emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emit = __emit;
|
|
39
|
-
const timePickerProps = vue.computed(() =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
const timePickerProps = vue.computed(() => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
return __spreadProps(__spreadValues({
|
|
42
|
+
startPlaceholder: "开始时间",
|
|
43
|
+
endPlaceholder: "结束时间",
|
|
44
|
+
placeholder: "请选择时间"
|
|
45
|
+
}, props.componentProps), {
|
|
46
|
+
modelValue: props.modelValue,
|
|
47
|
+
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
48
|
+
});
|
|
49
|
+
});
|
|
47
50
|
return (_ctx, _cache) => {
|
|
48
51
|
return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTimePicker), vue.mergeProps(timePickerProps.value, {
|
|
49
52
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -36,10 +36,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
36
36
|
setup(__props, { emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emit = __emit;
|
|
39
|
-
const timeSelectProps = vue.computed(() =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
const timeSelectProps = vue.computed(() => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
42
|
+
modelValue: props.modelValue,
|
|
43
|
+
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
44
|
+
});
|
|
45
|
+
});
|
|
43
46
|
return (_ctx, _cache) => {
|
|
44
47
|
return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTimeSelect), vue.mergeProps(timeSelectProps.value, {
|
|
45
48
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -36,11 +36,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
36
36
|
setup(__props, { emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emit = __emit;
|
|
39
|
-
const transferProps = vue.computed(() =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
const transferProps = vue.computed(() => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
42
|
+
modelValue: props.modelValue || [],
|
|
43
|
+
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled,
|
|
44
|
+
data: props.componentProps.data || []
|
|
45
|
+
});
|
|
46
|
+
});
|
|
44
47
|
return (_ctx, _cache) => {
|
|
45
48
|
return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTransfer), vue.mergeProps(transferProps.value, {
|
|
46
49
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -36,11 +36,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
36
36
|
setup(__props, { emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emit = __emit;
|
|
39
|
-
const treeSelectProps = vue.computed(() =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
const treeSelectProps = vue.computed(() => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
42
|
+
modelValue: props.modelValue,
|
|
43
|
+
placeholder: props.componentProps.placeholder || props.config.placeholder || "请选择",
|
|
44
|
+
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
45
|
+
});
|
|
46
|
+
});
|
|
44
47
|
return (_ctx, _cache) => {
|
|
45
48
|
return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTreeSelect), vue.mergeProps(treeSelectProps.value, {
|
|
46
49
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
package/dist/lib/package.json.js
CHANGED
package/dist/lib/style.css
CHANGED
|
@@ -1715,6 +1715,10 @@
|
|
|
1715
1715
|
display: table;
|
|
1716
1716
|
}
|
|
1717
1717
|
|
|
1718
|
+
.h-0 {
|
|
1719
|
+
height: calc(var(--spacing) * 0);
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1718
1722
|
.h-1\.5 {
|
|
1719
1723
|
height: calc(var(--spacing) * 1.5);
|
|
1720
1724
|
}
|
|
@@ -1783,6 +1787,10 @@
|
|
|
1783
1787
|
min-height: 100%;
|
|
1784
1788
|
}
|
|
1785
1789
|
|
|
1790
|
+
.w-0 {
|
|
1791
|
+
width: calc(var(--spacing) * 0);
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1786
1794
|
.w-4 {
|
|
1787
1795
|
width: calc(var(--spacing) * 4);
|
|
1788
1796
|
}
|