@maxax/ui 1.1.9 → 1.1.11

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.
@@ -1 +1 @@
1
- {"version":3,"file":"componentMap.d.ts","sourceRoot":"","sources":["../../../src/components/basic-form/componentMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAWpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,QAAA,MAAM,YAAY,wBAA+C,CAAA;AAiCjE,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,CAAC,EAAE,SAAS,EAAE,CAAC,QAErH;AAED,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,CAAC,QAElF;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"componentMap.d.ts","sourceRoot":"","sources":["../../../src/components/basic-form/componentMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAYpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,QAAA,MAAM,YAAY,wBAA+C,CAAA;AAkCjE,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,CAAC,EAAE,SAAS,EAAE,CAAC,QAErH;AAED,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,CAAC,QAElF;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -3,6 +3,7 @@ import { BasicCascaderProps } from '../../basic-cascader';
3
3
  import { BasicCheckboxGroupProps } from '../../basic-checkbox-group';
4
4
  import { BasicDatePickerProps } from '../../basic-date-picker';
5
5
  import { BasicHiddenProps } from '../../basic-hidden';
6
+ import { BasicMasterTriggerProps } from '../../basic-master-trigger';
6
7
  import { BasicRadioGroupProps } from '../../basic-radio-group';
7
8
  import { BasicScrollTextProps } from '../../basic-scroll-text';
8
9
  import { BasicSelectProps } from '../../basic-select';
@@ -43,6 +44,7 @@ export interface ComponentProps {
43
44
  BasicSelect: BasicSelectProps;
44
45
  BasicCascader: BasicCascaderProps;
45
46
  BasicScrollText: BasicScrollTextProps;
47
+ BasicMasterTrigger: BasicMasterTriggerProps;
46
48
  }
47
49
  export type ComponentType = keyof ComponentProps;
48
50
  //# sourceMappingURL=component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/basic-form/types/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,WAAW,EACX,eAAe,EACf,aAAa,EACb,eAAe,EACf,WAAW,EACZ,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,UAAU,CAAA;IACjB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,WAAW,EAAE,gBAAgB,CAAA;IAC7B,UAAU,EAAE,eAAe,CAAA;IAC3B,QAAQ,EAAE,aAAa,CAAA;IACvB,UAAU,EAAE,eAAe,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClD,UAAU,EAAE,eAAe,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClD,QAAQ,EAAE,aAAa,CAAA;IACvB,OAAO,EAAE,YAAY,CAAA;IACrB,QAAQ,EAAE,aAAa,CAAA;IACvB,aAAa,EAAE,kBAAkB,CAAA;IACjC,WAAW,EAAE,gBAAgB,CAAA;IAC7B,KAAK,EAAE,UAAU,CAAA;IACjB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,UAAU,EAAE,eAAe,CAAA;IAC3B,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,IAAI,EAAE,SAAS,CAAA;IACf,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,gBAAgB,CAAA;IAC7B,SAAS,EAAE,cAAc,CAAA;IACzB,kBAAkB,EAAE,uBAAuB,CAAA;IAC3C,eAAe,EAAE,oBAAoB,CAAA;IACrC,eAAe,EAAE,oBAAoB,CAAA;IACrC,WAAW,EAAE,gBAAgB,CAAA;IAC7B,aAAa,EAAE,kBAAkB,CAAA;IACjC,eAAe,EAAE,oBAAoB,CAAA;CACtC;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,cAAc,CAAA"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/basic-form/types/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,WAAW,EACX,eAAe,EACf,aAAa,EACb,eAAe,EACf,WAAW,EACZ,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,UAAU,CAAA;IACjB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,WAAW,EAAE,gBAAgB,CAAA;IAC7B,UAAU,EAAE,eAAe,CAAA;IAC3B,QAAQ,EAAE,aAAa,CAAA;IACvB,UAAU,EAAE,eAAe,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClD,UAAU,EAAE,eAAe,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClD,QAAQ,EAAE,aAAa,CAAA;IACvB,OAAO,EAAE,YAAY,CAAA;IACrB,QAAQ,EAAE,aAAa,CAAA;IACvB,aAAa,EAAE,kBAAkB,CAAA;IACjC,WAAW,EAAE,gBAAgB,CAAA;IAC7B,KAAK,EAAE,UAAU,CAAA;IACjB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,UAAU,EAAE,eAAe,CAAA;IAC3B,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,IAAI,EAAE,SAAS,CAAA;IACf,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,gBAAgB,CAAA;IAC7B,SAAS,EAAE,cAAc,CAAA;IACzB,kBAAkB,EAAE,uBAAuB,CAAA;IAC3C,eAAe,EAAE,oBAAoB,CAAA;IACrC,eAAe,EAAE,oBAAoB,CAAA;IACrC,WAAW,EAAE,gBAAgB,CAAA;IAC7B,aAAa,EAAE,kBAAkB,CAAA;IACjC,eAAe,EAAE,oBAAoB,CAAA;IACrC,kBAAkB,EAAE,uBAAuB,CAAA;CAC5C;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,cAAc,CAAA"}
@@ -1,4 +1,7 @@
1
1
  import { BasicMasterTriggerProps } from './interface';
2
- declare const _default: import('vue').DefineComponent<BasicMasterTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BasicMasterTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
+ declare const _default: import('vue').DefineComponent<BasicMasterTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BasicMasterTriggerProps> & Readonly<{}>, {
3
+ disabled: boolean;
4
+ readonly: boolean;
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
6
  export default _default;
4
7
  //# sourceMappingURL=BasicMasterTrigger.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BasicMasterTrigger.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-master-trigger/BasicMasterTrigger.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,uBAAuB,EAAkC,MAAM,aAAa,CAAA;;AAgH1F,wBAOG"}
1
+ {"version":3,"file":"BasicMasterTrigger.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-master-trigger/BasicMasterTrigger.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,uBAAuB,EAAkC,MAAM,aAAa,CAAA;;;;;AA2H1F,wBAQG"}
@@ -1,7 +1,8 @@
1
1
  export type MasterTriggerOnUpdateValue = (_value: string) => void;
2
2
  export type MasterTriggerOnUpdateValueImpl = (_value: string | number | boolean) => void;
3
3
  export interface BasicMasterTriggerProps {
4
- value: any;
4
+ value?: any;
5
+ readonly?: boolean;
5
6
  disabled?: boolean;
6
7
  defaultValue?: any;
7
8
  onUpdateValue?: MasterTriggerOnUpdateValue;
@@ -1 +1 @@
1
- {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/basic-master-trigger/interface.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;AACjE,MAAM,MAAM,8BAA8B,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAA;AAExF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,aAAa,CAAC,EAAE,0BAA0B,CAAA;IAC1C,QAAQ,CAAC,EAAE,0BAA0B,CAAA;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB"}
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/basic-master-trigger/interface.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;AACjE,MAAM,MAAM,8BAA8B,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAA;AAExF,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,aAAa,CAAC,EAAE,0BAA0B,CAAA;IAC1C,QAAQ,CAAC,EAAE,0BAA0B,CAAA;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../src/components/basic-table/setting.ts"],"names":[],"mappings":";AAEA,wBAyDQ"}
1
+ {"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../src/components/basic-table/setting.ts"],"names":[],"mappings":";AAEA,wBA0DQ"}
package/dist/index.cjs CHANGED
@@ -10049,6 +10049,73 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
10049
10049
  };
10050
10050
  }
10051
10051
  });
10052
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
10053
+ __name: "BasicMasterTrigger",
10054
+ props: {
10055
+ value: {},
10056
+ readonly: { type: Boolean, default: true },
10057
+ disabled: { type: Boolean, default: false },
10058
+ defaultValue: {},
10059
+ onUpdateValue: {},
10060
+ onChange: {},
10061
+ onSelect: {}
10062
+ },
10063
+ setup(__props) {
10064
+ const props = __props;
10065
+ const attrs = vue.useAttrs();
10066
+ const { b, e } = useNamespace("basic-master-trigger");
10067
+ const uncontrolledValueRef = vue.ref(props.defaultValue || "");
10068
+ const controlledValueRef = vue.toRef(props, "value");
10069
+ const mergedValueRef = vue.computed(() => {
10070
+ if (controlledValueRef.value === void 0) {
10071
+ return uncontrolledValueRef.value;
10072
+ }
10073
+ return controlledValueRef.value;
10074
+ });
10075
+ function onUpdateValueHandler(value) {
10076
+ if (props.disabled) return;
10077
+ const { onChange, onUpdateValue } = props;
10078
+ if (onChange) utils.call(onChange, value);
10079
+ if (onUpdateValue) utils.call(onUpdateValue, value);
10080
+ uncontrolledValueRef.value = value;
10081
+ }
10082
+ function onSelectHandler() {
10083
+ var _a;
10084
+ if (props.disabled) return;
10085
+ (_a = props.onSelect) == null ? void 0 : _a.call(props);
10086
+ }
10087
+ vue.watch(controlledValueRef, (value) => {
10088
+ if (value !== void 0) {
10089
+ uncontrolledValueRef.value = value;
10090
+ } else {
10091
+ uncontrolledValueRef.value = "";
10092
+ }
10093
+ });
10094
+ return (_ctx, _cache) => {
10095
+ return vue.openBlock(), vue.createBlock(vue.unref(naiveUi.NInput), vue.mergeProps({
10096
+ value: mergedValueRef.value,
10097
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => mergedValueRef.value = $event)
10098
+ }, vue.unref(attrs), {
10099
+ disabled: __props.disabled,
10100
+ class: vue.unref(b)(),
10101
+ title: mergedValueRef.value,
10102
+ readonly: "",
10103
+ "onUpdate:value": onUpdateValueHandler
10104
+ }), {
10105
+ suffix: vue.withCtx(() => [
10106
+ vue.withDirectives(vue.createElementVNode("span", {
10107
+ class: vue.normalizeClass(vue.unref(e)("select-button")),
10108
+ onClick: onSelectHandler
10109
+ }, "选择", 2), [
10110
+ [vue.vShow, !__props.disabled]
10111
+ ])
10112
+ ]),
10113
+ _: 1
10114
+ }, 16, ["value", "disabled", "class", "title"]);
10115
+ };
10116
+ }
10117
+ });
10118
+ const XBasicMasterTrigger = utils.withInstall(_sfc_main$l);
10052
10119
  const basicScrollTextProps = {
10053
10120
  /**
10054
10121
  * Text content
@@ -10059,7 +10126,7 @@ const basicScrollTextProps = {
10059
10126
  default: ""
10060
10127
  }
10061
10128
  };
10062
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
10129
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
10063
10130
  name: "BasicScrollText",
10064
10131
  props: basicScrollTextProps,
10065
10132
  setup(props, {
@@ -10121,7 +10188,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
10121
10188
  }, [content()]) : null])]);
10122
10189
  }
10123
10190
  });
10124
- const XBasicScrollText = utils.withInstall(_sfc_main$l);
10191
+ const XBasicScrollText = utils.withInstall(_sfc_main$k);
10125
10192
  const componentMap = /* @__PURE__ */ new Map();
10126
10193
  componentMap.set("Input", naiveUi.NInput);
10127
10194
  componentMap.set("InputNumber", naiveUi.NInputNumber);
@@ -10153,6 +10220,7 @@ componentMap.set("BasicSelect", XBasicSelect);
10153
10220
  componentMap.set("BasicRadioGroup", XBasicRadioGroup);
10154
10221
  componentMap.set("BasicCascader", XBasicCascader);
10155
10222
  componentMap.set("BasicScrollText", XBasicScrollText);
10223
+ componentMap.set("BasicMasterTrigger", XBasicMasterTrigger);
10156
10224
  function basicFormAddComponent(compName, component) {
10157
10225
  componentMap.set(compName, component);
10158
10226
  }
@@ -10220,7 +10288,7 @@ function isComponentFormSchema(schema) {
10220
10288
  function _isSlot(s) {
10221
10289
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
10222
10290
  }
10223
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
10291
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
10224
10292
  name: "BasicFormItem",
10225
10293
  components: {
10226
10294
  XBasicHelp,
@@ -11320,7 +11388,7 @@ function useFormValues({ getProps, defaultValueRef, getSchema, formModel }) {
11320
11388
  }
11321
11389
  return { handleFormValues, initDefault };
11322
11390
  }
11323
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
11391
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
11324
11392
  __name: "BasicForm",
11325
11393
  props: {
11326
11394
  card: { type: Boolean, default: false },
@@ -11511,7 +11579,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
11511
11579
  default: vue.withCtx(() => [
11512
11580
  vue.renderSlot(_ctx.$slots, "formHeader"),
11513
11581
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(getSchema), (schema) => {
11514
- return vue.openBlock(), vue.createBlock(_sfc_main$k, {
11582
+ return vue.openBlock(), vue.createBlock(_sfc_main$j, {
11515
11583
  key: schema.field,
11516
11584
  "is-advanced": vue.unref(fieldsIsAdvancedMap)[schema.field],
11517
11585
  "form-action-type": formActionType,
@@ -11552,8 +11620,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
11552
11620
  };
11553
11621
  }
11554
11622
  });
11555
- const XBasicForm = utils.withInstall(_sfc_main$j);
11556
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
11623
+ const XBasicForm = utils.withInstall(_sfc_main$i);
11624
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
11557
11625
  __name: "BasicGradientTitle",
11558
11626
  props: {
11559
11627
  text: {}
@@ -11586,7 +11654,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
11586
11654
  }
11587
11655
  });
11588
11656
  const basicGradientTitleProps = {};
11589
- const XBasicGradientTitle = utils.withInstall(_sfc_main$i);
11657
+ const XBasicGradientTitle = utils.withInstall(_sfc_main$h);
11590
11658
  const basicIconOnlineProps = {
11591
11659
  icon: {
11592
11660
  type: String,
@@ -15485,7 +15553,7 @@ const IconJson = {
15485
15553
  };
15486
15554
  const _hoisted_1$5 = { class: "panel-icon-list" };
15487
15555
  const _hoisted_2$2 = ["title", "onClick"];
15488
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15556
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
15489
15557
  __name: "BasicIconPicker",
15490
15558
  props: {
15491
15559
  disabled: { type: Boolean },
@@ -15715,7 +15783,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15715
15783
  };
15716
15784
  }
15717
15785
  });
15718
- const XBasicIconPicker = utils.withInstall(_sfc_main$h);
15786
+ const XBasicIconPicker = utils.withInstall(_sfc_main$g);
15719
15787
  function useClipboard() {
15720
15788
  const copied = vue.ref(false);
15721
15789
  const copy = async (source) => {
@@ -17160,7 +17228,7 @@ function usePagination$1(propsRef) {
17160
17228
  }
17161
17229
  return { getPagination, getPaginationInfo, setShowPagination, getShowPagination, setPagination };
17162
17230
  }
17163
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
17231
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
17164
17232
  __name: "BasicListPage",
17165
17233
  props: {
17166
17234
  listClassName: {},
@@ -17329,7 +17397,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
17329
17397
  };
17330
17398
  }
17331
17399
  });
17332
- const XBasicListPage = utils.withInstall(_sfc_main$g);
17400
+ const XBasicListPage = utils.withInstall(_sfc_main$f);
17333
17401
  function createLoadingComponent(options) {
17334
17402
  let afterLeaveTimer;
17335
17403
  const afterLeaveFlag = vue.ref(false);
@@ -17598,7 +17666,7 @@ const XBasicLoading = {
17598
17666
  directive: vLoading,
17599
17667
  service: Loading
17600
17668
  };
17601
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
17669
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
17602
17670
  __name: "BasicModal",
17603
17671
  props: {
17604
17672
  title: {},
@@ -17781,8 +17849,8 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
17781
17849
  }
17782
17850
  });
17783
17851
  const basicModalProps = {};
17784
- const XBasicModal = utils.withInstall(_sfc_main$f);
17785
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
17852
+ const XBasicModal = utils.withInstall(_sfc_main$e);
17853
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
17786
17854
  __name: "BasicPage",
17787
17855
  props: {
17788
17856
  title: {},
@@ -17882,8 +17950,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
17882
17950
  };
17883
17951
  }
17884
17952
  });
17885
- const XBasicPage = utils.withInstall(_sfc_main$e);
17886
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
17953
+ const XBasicPage = utils.withInstall(_sfc_main$d);
17954
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
17887
17955
  __name: "BasicPanel",
17888
17956
  props: {
17889
17957
  title: {},
@@ -17920,7 +17988,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
17920
17988
  };
17921
17989
  }
17922
17990
  });
17923
- const XBasicPanel = utils.withInstall(_sfc_main$d);
17991
+ const XBasicPanel = utils.withInstall(_sfc_main$c);
17924
17992
  const regionJson = {
17925
17993
  "110000": "北京市",
17926
17994
  "110100": "市辖区",
@@ -21927,7 +21995,7 @@ const BasicRow = /* @__PURE__ */ vue.defineComponent({
21927
21995
  }
21928
21996
  });
21929
21997
  const XBasicRow = utils.withInstall(BasicRow);
21930
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
21998
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
21931
21999
  __name: "BasicSubPanel",
21932
22000
  props: {
21933
22001
  title: {}
@@ -21963,7 +22031,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
21963
22031
  }
21964
22032
  });
21965
22033
  const basicSubPanelProps = {};
21966
- const XBasicSubPanel = utils.withInstall(_sfc_main$c);
22034
+ const XBasicSubPanel = utils.withInstall(_sfc_main$b);
21967
22035
  const ROW_KEY = "_MAX_ROW_KEY";
21968
22036
  const PAGE_SIZE_OPTIONS = [10, 50, 80, 100];
21969
22037
  const PAGE_SIZE = 10;
@@ -22773,6 +22841,7 @@ function useTableForm(propsRef, { fetch: fetch2, getLoading, setPagination, setS
22773
22841
  };
22774
22842
  }
22775
22843
  const setting = {
22844
+ api: null,
22776
22845
  size: DEFAULT_SIZE,
22777
22846
  autoCreateKey: true,
22778
22847
  showIndexColumn: true,
@@ -22831,7 +22900,7 @@ const setting = {
22831
22900
  })
22832
22901
  };
22833
22902
  const _hoisted_1$4 = { class: "max-table-selection-count" };
22834
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
22903
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
22835
22904
  __name: "BasicTable",
22836
22905
  props: /* @__PURE__ */ vue.mergeDefaults({
22837
22906
  layouts: {},
@@ -23289,8 +23358,8 @@ const vxeTableFormatter = {
23289
23358
  }
23290
23359
  };
23291
23360
  vxeTable.VxeUI.formats.mixin(vxeTableFormatter);
23292
- const XBasicTable = utils.withInstall(_sfc_main$b);
23293
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
23361
+ const XBasicTable = utils.withInstall(_sfc_main$a);
23362
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
23294
23363
  __name: "BasicTag",
23295
23364
  props: {
23296
23365
  tagType: { type: [Number, Boolean] },
@@ -23315,7 +23384,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
23315
23384
  };
23316
23385
  }
23317
23386
  });
23318
- const XBasicTag = utils.withInstall(_sfc_main$a);
23387
+ const XBasicTag = utils.withInstall(_sfc_main$9);
23319
23388
  const basicUploadDraggerProps = {
23320
23389
  capture: [Boolean, String],
23321
23390
  type: String,
@@ -23399,7 +23468,7 @@ const BasicUploadDragger = /* @__PURE__ */ vue.defineComponent({
23399
23468
  const XBasicUploadDragger = utils.withInstall(BasicUploadDragger);
23400
23469
  const _hoisted_1$3 = ["title"];
23401
23470
  const _hoisted_2$1 = ["title"];
23402
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
23471
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
23403
23472
  __name: "BasicViewBar",
23404
23473
  props: {
23405
23474
  fixed: { type: Boolean },
@@ -23511,8 +23580,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
23511
23580
  };
23512
23581
  }
23513
23582
  });
23514
- const XBasicViewBar = utils.withInstall(_sfc_main$9);
23515
- const _sfc_main$8 = vue.defineComponent({
23583
+ const XBasicViewBar = utils.withInstall(_sfc_main$8);
23584
+ const _sfc_main$7 = vue.defineComponent({
23516
23585
  name: "CLoadingIcon"
23517
23586
  });
23518
23587
  const _hoisted_1$2 = { viewBox: "0 0 50 50" };
@@ -23529,7 +23598,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
23529
23598
  }, null, -1)
23530
23599
  ])]);
23531
23600
  }
23532
- const LoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render]]);
23601
+ const LoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
23533
23602
  var ignoreEnum = /* @__PURE__ */ ((ignoreEnum2) => {
23534
23603
  ignoreEnum2["none"] = "none";
23535
23604
  ignoreEnum2["parents"] = "parents";
@@ -23730,7 +23799,7 @@ const useTreeNodeCls = (props, dragoverRefs) => {
23730
23799
  };
23731
23800
  const _hoisted_1$1 = ["d", "stroke-width", "stroke", "stroke-dasharray"];
23732
23801
  const _hoisted_2 = ["draggable"];
23733
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
23802
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
23734
23803
  ...{
23735
23804
  name: "VTreeNode"
23736
23805
  },
@@ -24044,7 +24113,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
24044
24113
  };
24045
24114
  }
24046
24115
  });
24047
- const XTreeNode = utils.withInstall(_sfc_main$7);
24116
+ const XTreeNode = utils.withInstall(_sfc_main$6);
24048
24117
  const useExpandAnimation = (renderNodesRef, renderStartRef, props) => {
24049
24118
  const expandAnimationStart = vue.ref(false);
24050
24119
  const expandAnimationReady = vue.ref(false);
@@ -25494,7 +25563,7 @@ const pickReadonly = (obj, ...keys) => {
25494
25563
  });
25495
25564
  return picked;
25496
25565
  };
25497
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
25566
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
25498
25567
  ...{
25499
25568
  name: "VTree",
25500
25569
  inheritAttrs: false
@@ -25983,7 +26052,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
25983
26052
  };
25984
26053
  }
25985
26054
  });
25986
- const XTree = utils.withInstall(_sfc_main$6);
26055
+ const XTree = utils.withInstall(_sfc_main$5);
25987
26056
  const useTreeSearchCls = (props, options) => {
25988
26057
  const { checkAllStatus, isShowingChecked } = options;
25989
26058
  const { b } = useNamespace("tree-search");
@@ -26069,7 +26138,7 @@ const DEFAULT_TREE_SEARCH_PROPS = {
26069
26138
  };
26070
26139
  const TREE_SEARCH_EVENTS = ["search", ...TREE_EVENTS];
26071
26140
  const _hoisted_1 = ["placeholder", "disabled"];
26072
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
26141
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
26073
26142
  ...{
26074
26143
  name: "VTreeSearch",
26075
26144
  inheritAttrs: false
@@ -26379,7 +26448,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
26379
26448
  };
26380
26449
  }
26381
26450
  });
26382
- const XTreeSearch = utils.withInstall(_sfc_main$5);
26451
+ const XTreeSearch = utils.withInstall(_sfc_main$4);
26383
26452
  const useTreeDropCls = (props, options) => {
26384
26453
  const { dropdownVisible, checkedCount, selectedTitle } = options;
26385
26454
  const { b } = useNamespace("tree-drop");
@@ -26451,7 +26520,7 @@ const DEFAULT_TREE_DROP_PROPS = {
26451
26520
  };
26452
26521
  const TREE_SEARCH_API_METHODS = [...TREE_API_METHODS, "clearKeyword", "getKeyword", "search"];
26453
26522
  const TREE_DROP_EVENTS = ["clear", "dropdown-visible-change", ...TREE_SEARCH_EVENTS];
26454
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
26523
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
26455
26524
  ...{
26456
26525
  name: "VTreeDrop",
26457
26526
  inheritAttrs: false
@@ -26816,7 +26885,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
26816
26885
  };
26817
26886
  }
26818
26887
  });
26819
- const XTreeDrop = utils.withInstall(_sfc_main$4);
26888
+ const XTreeDrop = utils.withInstall(_sfc_main$3);
26820
26889
  const components = [
26821
26890
  XCommonPinToggler,
26822
26891
  XCommonReloadButton,
@@ -26894,7 +26963,7 @@ const makeInstaller = (components2 = []) => {
26894
26963
  };
26895
26964
  };
26896
26965
  const installer = makeInstaller([...components]);
26897
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
26966
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
26898
26967
  __name: "BasicDrawerFooter",
26899
26968
  props: {
26900
26969
  showDeleteButton: { type: Boolean, default: false },
@@ -26971,72 +27040,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
26971
27040
  };
26972
27041
  }
26973
27042
  });
26974
- const XBasicDrawerFooter = utils.withInstall(_sfc_main$3);
26975
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
26976
- __name: "BasicMasterTrigger",
26977
- props: {
26978
- value: {},
26979
- disabled: { type: Boolean },
26980
- defaultValue: {},
26981
- onUpdateValue: { type: Function },
26982
- onChange: { type: Function },
26983
- onSelect: { type: Function }
26984
- },
26985
- setup(__props) {
26986
- const props = __props;
26987
- const attrs = vue.useAttrs();
26988
- const { b } = useNamespace("basic-master-trigger");
26989
- const uncontrolledValueRef = vue.ref(props.defaultValue || "");
26990
- const controlledValueRef = vue.toRef(props, "value");
26991
- const mergedValueRef = vue.computed(() => {
26992
- if (controlledValueRef.value === void 0) {
26993
- return uncontrolledValueRef.value;
26994
- }
26995
- return controlledValueRef.value;
26996
- });
26997
- function onUpdateValueHandler(value) {
26998
- if (props.disabled) return;
26999
- const { onChange, onUpdateValue } = props;
27000
- if (onChange) utils.call(onChange, value);
27001
- if (onUpdateValue) utils.call(onUpdateValue, value);
27002
- uncontrolledValueRef.value = value;
27003
- }
27004
- function onSelectHandler() {
27005
- var _a;
27006
- if (props.disabled) return;
27007
- (_a = props.onSelect) == null ? void 0 : _a.call(props);
27008
- }
27009
- vue.watch(controlledValueRef, (value) => {
27010
- if (value !== void 0) {
27011
- uncontrolledValueRef.value = value;
27012
- } else {
27013
- uncontrolledValueRef.value = "";
27014
- }
27015
- });
27016
- return (_ctx, _cache) => {
27017
- return vue.openBlock(), vue.createBlock(vue.unref(naiveUi.NInput), vue.mergeProps({
27018
- value: mergedValueRef.value,
27019
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => mergedValueRef.value = $event)
27020
- }, vue.unref(attrs), {
27021
- disabled: __props.disabled,
27022
- class: vue.unref(b)(),
27023
- title: mergedValueRef.value,
27024
- "onUpdate:value": onUpdateValueHandler
27025
- }), {
27026
- suffix: vue.withCtx(() => [
27027
- vue.withDirectives(vue.createElementVNode("span", {
27028
- class: vue.normalizeClass(vue.unref(b)("select-button")),
27029
- onClick: onSelectHandler
27030
- }, "选择", 2), [
27031
- [vue.vShow, !__props.disabled]
27032
- ])
27033
- ]),
27034
- _: 1
27035
- }, 16, ["value", "disabled", "class", "title"]);
27036
- };
27037
- }
27038
- });
27039
- const XBasicMasterTrigger = utils.withInstall(_sfc_main$2);
27043
+ const XBasicDrawerFooter = utils.withInstall(_sfc_main$2);
27040
27044
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
27041
27045
  __name: "BasicPanelPage",
27042
27046
  props: {