@maxax/ui 1.1.15 → 1.1.17
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/basic-cascader/BasicCascader.vue.d.ts +3 -4
- package/dist/components/basic-cascader/BasicCascader.vue.d.ts.map +1 -1
- package/dist/components/basic-cascader/interface.d.ts +5 -0
- package/dist/components/basic-cascader/interface.d.ts.map +1 -1
- package/dist/components/basic-checkbox-group/BasicCheckboxGroup.d.ts.map +1 -1
- package/dist/components/basic-checkbox-group/interface.d.ts +4 -0
- package/dist/components/basic-checkbox-group/interface.d.ts.map +1 -1
- package/dist/components/basic-form/components/FormItem.vue.d.ts.map +1 -1
- package/dist/components/basic-form/types/form.d.ts +1 -0
- package/dist/components/basic-form/types/form.d.ts.map +1 -1
- package/dist/components/basic-radio-group/BasicRadioGroup.d.ts.map +1 -1
- package/dist/components/basic-radio-group/interface.d.ts +4 -0
- package/dist/components/basic-radio-group/interface.d.ts.map +1 -1
- package/dist/components/basic-select/BasicSelect.vue.d.ts +3 -4
- package/dist/components/basic-select/BasicSelect.vue.d.ts.map +1 -1
- package/dist/components/basic-select/interface.d.ts +5 -0
- package/dist/components/basic-select/interface.d.ts.map +1 -1
- package/dist/index.cjs +37 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +37 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -7066,9 +7066,16 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
7066
7066
|
function getSearchInfo() {
|
|
7067
7067
|
return searchInfoRef.value;
|
|
7068
7068
|
}
|
|
7069
|
-
|
|
7069
|
+
function getOptionsMethod() {
|
|
7070
|
+
return unref(getOptions);
|
|
7071
|
+
}
|
|
7072
|
+
const cascaderActionType = {
|
|
7070
7073
|
reload,
|
|
7071
|
-
getSearchInfo
|
|
7074
|
+
getSearchInfo,
|
|
7075
|
+
getOptions: getOptionsMethod
|
|
7076
|
+
};
|
|
7077
|
+
__expose({
|
|
7078
|
+
...cascaderActionType
|
|
7072
7079
|
});
|
|
7073
7080
|
return (_ctx, _cache) => {
|
|
7074
7081
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -7650,8 +7657,15 @@ const BasicCheckboxGroup = /* @__PURE__ */ defineComponent({
|
|
|
7650
7657
|
async function reload(opt) {
|
|
7651
7658
|
return await fetch2(opt);
|
|
7652
7659
|
}
|
|
7660
|
+
function getOptions() {
|
|
7661
|
+
return options.value;
|
|
7662
|
+
}
|
|
7663
|
+
const checkboxGroupActionType = {
|
|
7664
|
+
reload,
|
|
7665
|
+
getOptions
|
|
7666
|
+
};
|
|
7653
7667
|
expose({
|
|
7654
|
-
|
|
7668
|
+
...checkboxGroupActionType
|
|
7655
7669
|
});
|
|
7656
7670
|
return () => {
|
|
7657
7671
|
var _a;
|
|
@@ -9028,8 +9042,15 @@ const BasicRadioGroup = /* @__PURE__ */ defineComponent({
|
|
|
9028
9042
|
async function reload(opt) {
|
|
9029
9043
|
return await fetch2(opt);
|
|
9030
9044
|
}
|
|
9045
|
+
function getOptions() {
|
|
9046
|
+
return options.value;
|
|
9047
|
+
}
|
|
9048
|
+
const radioGroupActionType = {
|
|
9049
|
+
reload,
|
|
9050
|
+
getOptions
|
|
9051
|
+
};
|
|
9031
9052
|
expose({
|
|
9032
|
-
|
|
9053
|
+
...radioGroupActionType
|
|
9033
9054
|
});
|
|
9034
9055
|
return () => {
|
|
9035
9056
|
var _a;
|
|
@@ -9145,9 +9166,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
9145
9166
|
function getSearchInfo() {
|
|
9146
9167
|
return searchInfoRef.value;
|
|
9147
9168
|
}
|
|
9148
|
-
|
|
9169
|
+
function getOptionsMethod() {
|
|
9170
|
+
return unref(getOptions);
|
|
9171
|
+
}
|
|
9172
|
+
const selectActionType = {
|
|
9149
9173
|
reload,
|
|
9150
|
-
getSearchInfo
|
|
9174
|
+
getSearchInfo,
|
|
9175
|
+
getOptions: getOptionsMethod
|
|
9176
|
+
};
|
|
9177
|
+
__expose({
|
|
9178
|
+
...selectActionType
|
|
9151
9179
|
});
|
|
9152
9180
|
return (_ctx, _cache) => {
|
|
9153
9181
|
return openBlock(), createBlock(unref(NSelect), mergeProps(computedProps.value, {
|
|
@@ -10891,6 +10919,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
10891
10919
|
setFormModel: props.setFormModel,
|
|
10892
10920
|
formActionType: props.formActionType
|
|
10893
10921
|
};
|
|
10922
|
+
if (props.schema.ref) {
|
|
10923
|
+
compAttr.ref = props.schema.ref;
|
|
10924
|
+
}
|
|
10894
10925
|
if (customRenderComponent && isFunction(customRenderComponent)) {
|
|
10895
10926
|
return createVNode(customRenderComponent, compAttr, null);
|
|
10896
10927
|
}
|