eco-vue-js 0.9.5 → 0.9.6
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/Button/WButtonGroup.vue.js +3 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +7 -4
- package/dist/components/FieldWrapper/types.d.ts +2 -0
- package/dist/components/FieldWrapper/types.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +4 -2
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +3 -1
- package/dist/components/FormAsync/WFormAsyncInput.vue.js +3 -1
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +2 -0
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +2 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +2 -0
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +2 -0
- package/dist/components/Input/WInput.vue.js +4 -2
- package/dist/components/Input/WInputAsync.vue.js +3 -1
- package/dist/components/Input/WInputDate.vue.js +2 -0
- package/dist/components/Input/WInputOptions.vue.js +2 -0
- package/dist/components/Input/WInputSuggest.vue.js +2 -0
- package/dist/components/List/WList.vue.d.ts +1 -0
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +3 -2
- package/dist/components/Select/WSelect.vue.js +2 -0
- package/dist/components/Select/WSelectAsync.vue.js +2 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.js +2 -0
- package/dist/components/Select/WSelectSingle.vue.js +2 -0
- package/dist/components/Select/WSelectStringified.vue.js +2 -0
- package/package.json +1 -1
@@ -28,8 +28,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
28
|
skeleton: { type: Boolean },
|
29
29
|
disabled: { type: Boolean },
|
30
30
|
required: { type: Boolean },
|
31
|
+
mandatory: { type: Boolean },
|
31
32
|
noMargin: { type: Boolean },
|
32
|
-
allowCopy: { type: Boolean }
|
33
|
+
allowCopy: { type: Boolean },
|
34
|
+
emptyValue: {}
|
33
35
|
},
|
34
36
|
emits: ["update:model-value"],
|
35
37
|
setup(__props, { emit: __emit }) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAoLA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAoC9C,iBAAS,cAAc;;uBA8NI,GAAG;0BACC,GAAG;;;gCA1OP,OAAO,KAAG,IAAI;;YA2Ob,GAAG;;;gCA3OJ,OAAO,KAAG,IAAI;;YA4OX,GAAG;uBACL,GAAG;;;;;WAUjB,OAAO,IAA6B;EAEjD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -42,8 +42,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
42
|
skeleton: { type: Boolean },
|
43
43
|
disabled: { type: Boolean },
|
44
44
|
required: { type: Boolean },
|
45
|
+
mandatory: { type: Boolean },
|
45
46
|
noMargin: { type: Boolean },
|
46
|
-
allowCopy: { type: Boolean }
|
47
|
+
allowCopy: { type: Boolean },
|
48
|
+
emptyValue: {}
|
47
49
|
},
|
48
50
|
emits: ["click"],
|
49
51
|
setup(__props) {
|
@@ -102,12 +104,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
102
104
|
}, [
|
103
105
|
renderSlot(_ctx.$slots, "field", normalizeProps(guardReactiveProps({ id: unref(id), setFocused, focused: focused.value })), () => [
|
104
106
|
createElementVNode("div", {
|
105
|
-
class: normalizeClass(["flex min-h-11 items-center
|
106
|
-
"font-mono": _ctx.mono
|
107
|
+
class: normalizeClass(["flex min-h-11 items-center text-base font-normal", {
|
108
|
+
"font-mono": _ctx.mono,
|
109
|
+
"border-t border-solid border-gray-300 dark:border-gray-700": _ctx.title || _ctx.$slots.title
|
107
110
|
}])
|
108
111
|
}, [
|
109
112
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id: unref(id), setFocused, focused: focused.value })), () => [
|
110
|
-
createTextVNode(toDisplayString(typeof _ctx.modelValue === "number" ? unref(numberFormatter).format(_ctx.modelValue) : _ctx.modelValue === null ? "N / A" : _ctx.modelValue), 1)
|
113
|
+
createTextVNode(toDisplayString(typeof _ctx.modelValue === "number" ? unref(numberFormatter).format(_ctx.modelValue) : _ctx.modelValue === null ? _ctx.emptyValue ?? "N / A" : _ctx.modelValue || _ctx.emptyValue), 1)
|
111
114
|
]),
|
112
115
|
_ctx.allowCopy && _ctx.modelValue ? (openBlock(), createBlock(_sfc_main$1, {
|
113
116
|
key: 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"AAimBA,iBAAS,cAAc;;iBAZZ,MAAM,IAAI;;iBAAV,MAAM,IAAI;;;;;WA2GP,OAAO,IAA6B;EAEjD;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WA1ZZ,MAAM;YACL,MAAM;eACH,UAAU,GAAG,UAAU,EAAE;sBAClB,MAAM;sBACN,MAAM;gBACZ,OAAO;;;wBAmQC,MAAM;qBAzEN,IAAI;;;;;;WA/LjB,MAAM;YACL,MAAM;eACH,UAAU,GAAG,UAAU,EAAE;sBAClB,MAAM;sBACN,MAAM;gBACZ,OAAO;;;;;kFAianB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -56,15 +56,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
});
|
57
57
|
const initModelValue = ref();
|
58
58
|
const required = computed(() => componentSlot.value?.props?.required !== void 0 ? componentSlot.value?.props?.required !== false : void 0);
|
59
|
+
const mandatory = computed(() => componentSlot.value?.props?.mandatory !== void 0 ? componentSlot.value?.props?.mandatory !== false : void 0);
|
59
60
|
const title = computed(() => props.title ?? componentSlot.value?.props?.title);
|
60
61
|
const errorMessage = ref(null);
|
61
62
|
const hasChanges = ref(false);
|
62
63
|
const hasBeenValidated = ref(false);
|
63
|
-
const
|
64
|
-
if (!required.value) return null;
|
64
|
+
const hasValueExact = computed(() => {
|
65
|
+
if (!required.value && !mandatory.value) return null;
|
65
66
|
if (Array.isArray(modelValue.value)) return modelValue.value.length !== 0;
|
66
67
|
return modelValue.value !== void 0 && modelValue.value !== null && modelValue.value !== "";
|
67
68
|
});
|
69
|
+
const hasValue = computed(() => mandatory.value && hasValueExact.value === false ? null : hasValueExact.value);
|
68
70
|
const requiredSymbols = computed(() => props.requiredSymbols?.split("") ?? []);
|
69
71
|
const _updateHasChanges = (value) => {
|
70
72
|
if (initModelValue.value === void 0) {
|
@@ -34,8 +34,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
skeleton: { type: Boolean },
|
35
35
|
disabled: { type: Boolean },
|
36
36
|
required: { type: Boolean },
|
37
|
+
mandatory: { type: Boolean },
|
37
38
|
noMargin: { type: Boolean },
|
38
|
-
allowCopy: { type: Boolean }
|
39
|
+
allowCopy: { type: Boolean },
|
40
|
+
emptyValue: {}
|
39
41
|
},
|
40
42
|
setup(__props) {
|
41
43
|
const props = __props;
|
@@ -46,8 +46,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
46
|
skeleton: { type: Boolean },
|
47
47
|
disabled: { type: Boolean },
|
48
48
|
required: { type: Boolean },
|
49
|
+
mandatory: { type: Boolean },
|
49
50
|
noMargin: { type: Boolean },
|
50
|
-
allowCopy: { type: Boolean }
|
51
|
+
allowCopy: { type: Boolean },
|
52
|
+
emptyValue: {}
|
51
53
|
},
|
52
54
|
emits: ["success"],
|
53
55
|
setup(__props, { emit: __emit }) {
|
@@ -55,8 +55,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
55
|
skeleton: { type: Boolean },
|
56
56
|
disabled: { type: Boolean },
|
57
57
|
required: { type: Boolean },
|
58
|
+
mandatory: { type: Boolean },
|
58
59
|
noMargin: { type: Boolean },
|
59
60
|
allowCopy: { type: Boolean },
|
61
|
+
emptyValue: {},
|
60
62
|
teleport: { type: Boolean },
|
61
63
|
noZIndex: { type: Boolean },
|
62
64
|
maxHeight: {},
|
@@ -60,8 +60,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
60
|
skeleton: { type: Boolean },
|
61
61
|
disabled: { type: Boolean },
|
62
62
|
required: { type: Boolean },
|
63
|
+
mandatory: { type: Boolean },
|
63
64
|
noMargin: { type: Boolean },
|
64
65
|
allowCopy: { type: Boolean },
|
66
|
+
emptyValue: {},
|
65
67
|
teleport: { type: Boolean },
|
66
68
|
noZIndex: { type: Boolean },
|
67
69
|
maxHeight: {},
|
@@ -56,8 +56,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
skeleton: { type: Boolean },
|
57
57
|
disabled: { type: Boolean },
|
58
58
|
required: { type: Boolean },
|
59
|
+
mandatory: { type: Boolean },
|
59
60
|
noMargin: { type: Boolean },
|
60
61
|
allowCopy: { type: Boolean },
|
62
|
+
emptyValue: {},
|
61
63
|
teleport: { type: Boolean },
|
62
64
|
noZIndex: { type: Boolean },
|
63
65
|
maxHeight: {},
|
@@ -56,8 +56,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
skeleton: { type: Boolean },
|
57
57
|
disabled: { type: Boolean },
|
58
58
|
required: { type: Boolean },
|
59
|
+
mandatory: { type: Boolean },
|
59
60
|
noMargin: { type: Boolean },
|
60
61
|
allowCopy: { type: Boolean },
|
62
|
+
emptyValue: {},
|
61
63
|
teleport: { type: Boolean },
|
62
64
|
noZIndex: { type: Boolean },
|
63
65
|
maxHeight: {},
|
@@ -45,8 +45,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
45
|
skeleton: { type: Boolean },
|
46
46
|
disabled: { type: Boolean },
|
47
47
|
required: { type: Boolean },
|
48
|
+
mandatory: { type: Boolean },
|
48
49
|
noMargin: { type: Boolean },
|
49
|
-
allowCopy: { type: Boolean }
|
50
|
+
allowCopy: { type: Boolean },
|
51
|
+
emptyValue: {}
|
50
52
|
},
|
51
53
|
emits: ["update:modelValue", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "keypress:backspace", "click:clear", "focus", "blur", "click", "mousedown", "click:suffix", "select:input", "paste"],
|
52
54
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -200,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
200
202
|
"font-mono": _ctx.mono,
|
201
203
|
"text-secure": _ctx.textSecure && !isSecureVisible.value
|
202
204
|
})
|
203
|
-
}, toDisplayString(_ctx.modelValue), 3)) : createCommentVNode("", true)
|
205
|
+
}, toDisplayString(_ctx.modelValue || _ctx.emptyValue), 3)) : createCommentVNode("", true)
|
204
206
|
])
|
205
207
|
]),
|
206
208
|
key: "2"
|
@@ -45,8 +45,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
45
|
skeleton: { type: Boolean },
|
46
46
|
disabled: { type: Boolean },
|
47
47
|
required: { type: Boolean },
|
48
|
+
mandatory: { type: Boolean },
|
48
49
|
noMargin: { type: Boolean },
|
49
|
-
allowCopy: { type: Boolean }
|
50
|
+
allowCopy: { type: Boolean },
|
51
|
+
emptyValue: {}
|
50
52
|
},
|
51
53
|
emits: ["update:modelValue"],
|
52
54
|
setup(__props, { emit: __emit }) {
|
@@ -43,8 +43,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
43
43
|
skeleton: { type: Boolean },
|
44
44
|
disabled: { type: Boolean },
|
45
45
|
required: { type: Boolean },
|
46
|
+
mandatory: { type: Boolean },
|
46
47
|
noMargin: { type: Boolean },
|
47
48
|
allowCopy: { type: Boolean },
|
49
|
+
emptyValue: {},
|
48
50
|
teleport: { type: Boolean },
|
49
51
|
noZIndex: { type: Boolean },
|
50
52
|
maxHeight: { default: 440 },
|
@@ -48,8 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
skeleton: { type: Boolean },
|
49
49
|
disabled: { type: Boolean },
|
50
50
|
required: { type: Boolean },
|
51
|
+
mandatory: { type: Boolean },
|
51
52
|
noMargin: { type: Boolean },
|
52
53
|
allowCopy: { type: Boolean },
|
54
|
+
emptyValue: {},
|
53
55
|
teleport: { type: Boolean },
|
54
56
|
noZIndex: { type: Boolean },
|
55
57
|
maxHeight: {},
|
@@ -44,8 +44,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
44
44
|
skeleton: { type: Boolean },
|
45
45
|
disabled: { type: Boolean },
|
46
46
|
required: { type: Boolean },
|
47
|
+
mandatory: { type: Boolean },
|
47
48
|
noMargin: { type: Boolean },
|
48
49
|
allowCopy: { type: Boolean },
|
50
|
+
emptyValue: {},
|
49
51
|
teleport: { type: Boolean },
|
50
52
|
noZIndex: { type: Boolean },
|
51
53
|
maxHeight: { default: 320 },
|
@@ -25,6 +25,7 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
25
25
|
alignTop?: boolean;
|
26
26
|
disableMore?: boolean;
|
27
27
|
readonly?: boolean;
|
28
|
+
noOrdering?: boolean;
|
28
29
|
}> & import('vue').PublicProps;
|
29
30
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
30
31
|
attrs: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AA+TA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;yBAqBpF,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,eACtF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAynBxD,mBAAmB,CAAC;;;gBAnnBpB,MAAM;gBACN,MAAM;oBACF,cAAc,CAAC,IAAI,CAAC;oBACpB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;uBACT,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;6BACxC,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;mBACxB,aAAa,CAAC,WAAW,CAAC,EAAE;cACjC,aAAa,CAAC,IAAI,CAAC,EAAE;yBACV,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO;oBAC5B,MAAM;2BACC,MAAM;6BACJ,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM;oBACvD,OAAO;qBACN,OAAO;mBACT,MAAM;0BACC,cAAc,CAAC,MAAM,CAAC;mBAC7B,OAAO;sBACJ,OAAO;mBACV,OAAO;qBACL,OAAO;KA6lBiE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAtDgB,GAAG;;cApiB1B,uBAAuB,SAAS,MAAM,KAAG,IAAI;;;;YA+lBP,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnoBvE,wBAmoB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -37,7 +37,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
37
|
defaultConfigMap: {},
|
38
38
|
alignTop: { type: Boolean },
|
39
39
|
disableMore: { type: Boolean },
|
40
|
-
readonly: { type: Boolean }
|
40
|
+
readonly: { type: Boolean },
|
41
|
+
noOrdering: { type: Boolean }
|
41
42
|
},
|
42
43
|
emits: ["update:header-padding"],
|
43
44
|
setup(__props) {
|
@@ -179,7 +180,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
179
180
|
field: typeof field.field === "string" ? field.field : field.field?.(_ctx.queryParams),
|
180
181
|
class: normalizeClass(field.cssClass),
|
181
182
|
ordering: ordering.value,
|
182
|
-
disabled: !field.field,
|
183
|
+
disabled: _ctx.noOrdering || !field.field,
|
183
184
|
"allow-resize": field.allowResize,
|
184
185
|
"item-class": field.cssClassHeader,
|
185
186
|
"width-style": getFieldStyles(field.label),
|
@@ -56,8 +56,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
skeleton: { type: Boolean },
|
57
57
|
disabled: { type: Boolean },
|
58
58
|
required: { type: Boolean },
|
59
|
+
mandatory: { type: Boolean },
|
59
60
|
noMargin: { type: Boolean },
|
60
61
|
allowCopy: { type: Boolean },
|
62
|
+
emptyValue: {},
|
61
63
|
teleport: { type: Boolean },
|
62
64
|
noZIndex: { type: Boolean },
|
63
65
|
maxHeight: {},
|
@@ -53,8 +53,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
53
|
skeleton: { type: Boolean },
|
54
54
|
disabled: { type: Boolean },
|
55
55
|
required: { type: Boolean },
|
56
|
+
mandatory: { type: Boolean },
|
56
57
|
noMargin: { type: Boolean },
|
57
58
|
allowCopy: { type: Boolean },
|
59
|
+
emptyValue: {},
|
58
60
|
teleport: { type: Boolean },
|
59
61
|
noZIndex: { type: Boolean },
|
60
62
|
maxHeight: {},
|
@@ -51,8 +51,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
51
51
|
skeleton: { type: Boolean },
|
52
52
|
disabled: { type: Boolean },
|
53
53
|
required: { type: Boolean },
|
54
|
+
mandatory: { type: Boolean },
|
54
55
|
noMargin: { type: Boolean },
|
55
56
|
allowCopy: { type: Boolean },
|
57
|
+
emptyValue: {},
|
56
58
|
teleport: { type: Boolean },
|
57
59
|
noZIndex: { type: Boolean },
|
58
60
|
maxHeight: {},
|
@@ -47,8 +47,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
47
|
skeleton: { type: Boolean },
|
48
48
|
disabled: { type: Boolean },
|
49
49
|
required: { type: Boolean },
|
50
|
+
mandatory: { type: Boolean },
|
50
51
|
noMargin: { type: Boolean },
|
51
52
|
allowCopy: { type: Boolean },
|
53
|
+
emptyValue: {},
|
52
54
|
teleport: { type: Boolean },
|
53
55
|
noZIndex: { type: Boolean },
|
54
56
|
maxHeight: {},
|
@@ -47,8 +47,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
47
|
skeleton: { type: Boolean },
|
48
48
|
disabled: { type: Boolean },
|
49
49
|
required: { type: Boolean },
|
50
|
+
mandatory: { type: Boolean },
|
50
51
|
noMargin: { type: Boolean },
|
51
52
|
allowCopy: { type: Boolean },
|
53
|
+
emptyValue: {},
|
52
54
|
teleport: { type: Boolean },
|
53
55
|
noZIndex: { type: Boolean },
|
54
56
|
maxHeight: {},
|