guava-ui 0.2.3 → 0.2.5

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.
@@ -356,16 +356,16 @@ onClick?: ((...args: any[]) => any) | undefined;
356
356
  onConfirm?: ((...args: any[]) => any) | undefined;
357
357
  }>, {
358
358
  link: boolean;
359
- type: "" | "default" | "primary" | "success" | "warning" | "danger" | "info" | "text";
360
359
  size: "" | "small" | "default" | "large";
360
+ type: "" | "default" | "primary" | "success" | "warning" | "danger" | "info" | "text";
361
361
  text: string;
362
362
  icon: string;
363
363
  confirm: string | boolean;
364
364
  disabled: string | boolean;
365
365
  nativeType: string;
366
366
  loading: boolean;
367
- perms: string;
368
367
  visible: boolean;
368
+ perms: string;
369
369
  otext: string;
370
370
  refForm: string;
371
371
  bizType: BizType;
@@ -537,24 +537,24 @@ default: () => void;
537
537
  };
538
538
  }>> & Readonly<{
539
539
  onKeydown?: ((...args: any[]) => any) | undefined;
540
- onBlur?: ((...args: any[]) => any) | undefined;
541
540
  onFocus?: ((...args: any[]) => any) | undefined;
541
+ onBlur?: ((...args: any[]) => any) | undefined;
542
542
  onChange?: ((...args: any[]) => any) | undefined;
543
543
  onInput?: ((...args: any[]) => any) | undefined;
544
544
  }>, {
545
545
  name: string;
546
546
  value: unknown[];
547
547
  lazy: boolean;
548
- placeholder: string;
549
548
  size: "" | "small" | "default" | "large";
549
+ placeholder: string;
550
550
  vref: string;
551
551
  trigger: string;
552
552
  disabled: boolean;
553
+ visible: boolean;
553
554
  options: CascaderOption[];
554
555
  multiple: boolean;
555
556
  clearable: boolean;
556
557
  filterable: boolean;
557
- visible: boolean;
558
558
  separator: string;
559
559
  showAllLevels: boolean;
560
560
  lazyLoad: (node: any, resolve: (data: any[]) => void, reject: () => void) => void;
@@ -1031,15 +1031,15 @@ type: BooleanConstructor;
1031
1031
  default: boolean;
1032
1032
  };
1033
1033
  }>> & Readonly<{
1034
- onBlur?: ((...args: any[]) => any) | undefined;
1035
1034
  onFocus?: ((...args: any[]) => any) | undefined;
1035
+ onBlur?: ((...args: any[]) => any) | undefined;
1036
1036
  onChange?: ((...args: any[]) => any) | undefined;
1037
1037
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1038
1038
  onPick?: ((...args: any[]) => any) | undefined;
1039
1039
  }>, {
1040
+ size: TDatePickerSize;
1040
1041
  type: string;
1041
1042
  placeholder: string;
1042
- size: TDatePickerSize;
1043
1043
  vref: string;
1044
1044
  disabled: boolean;
1045
1045
  unlink: boolean;
@@ -1117,7 +1117,7 @@ type: StringConstructor;
1117
1117
  required: false;
1118
1118
  default: undefined;
1119
1119
  };
1120
- }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "open" | "closed" | "opened" | "update:visible")[], "cancel" | "close" | "open" | "closed" | "opened" | "update:visible", PublicProps, Readonly<ExtractPropTypes< {
1120
+ }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "open" | "update:visible" | "opened" | "closed")[], "cancel" | "close" | "open" | "update:visible" | "opened" | "closed", PublicProps, Readonly<ExtractPropTypes< {
1121
1121
  visible: {
1122
1122
  type: BooleanConstructor;
1123
1123
  required: false;
@@ -1188,8 +1188,8 @@ onCancel?: ((...args: any[]) => any) | undefined;
1188
1188
  }>, {
1189
1189
  title: string;
1190
1190
  maxHeight: string;
1191
- visible: boolean;
1192
1191
  height: string;
1192
+ visible: boolean;
1193
1193
  fullscreen: boolean;
1194
1194
  appendToBody: boolean;
1195
1195
  closeOnClickModal: boolean;
@@ -1258,8 +1258,8 @@ onSetDividerShow?: ((...args: any[]) => any) | undefined;
1258
1258
  target: string;
1259
1259
  label: string;
1260
1260
  position: string;
1261
- visible: boolean;
1262
1261
  direction: DividerDirection;
1262
+ visible: boolean;
1263
1263
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1264
1264
 
1265
1265
  export declare const GvDrawer: DefineComponent<ExtractPropTypes< {
@@ -1320,8 +1320,8 @@ onCancel?: ((...args: any[]) => any) | undefined;
1320
1320
  }>, {
1321
1321
  size: string | number;
1322
1322
  title: string;
1323
- visible: boolean;
1324
1323
  direction: "ltr" | "rtl" | "ttb" | "btt";
1324
+ visible: boolean;
1325
1325
  paddingHeight: number;
1326
1326
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1327
1327
 
@@ -1602,22 +1602,22 @@ default: () => {};
1602
1602
  };
1603
1603
  }>> & Readonly<{
1604
1604
  onKeydown?: ((...args: any[]) => any) | undefined;
1605
- onBlur?: ((...args: any[]) => any) | undefined;
1606
1605
  onFocus?: ((...args: any[]) => any) | undefined;
1606
+ onBlur?: ((...args: any[]) => any) | undefined;
1607
1607
  onInput?: ((...args: any[]) => any) | undefined;
1608
1608
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1609
1609
  onClear?: ((...args: any[]) => any) | undefined;
1610
1610
  }>, {
1611
1611
  name: string;
1612
1612
  value: string | number | undefined;
1613
+ size: "" | "small" | "default" | "large";
1613
1614
  type: InputType;
1614
1615
  placeholder: string;
1615
- size: "" | "small" | "default" | "large";
1616
1616
  vref: string;
1617
1617
  disabled: boolean;
1618
+ visible: boolean;
1618
1619
  clearable: boolean;
1619
1620
  suffixIcon: string;
1620
- visible: boolean;
1621
1621
  modelModifiers: Record<string, unknown>;
1622
1622
  maxlength: number;
1623
1623
  autosize: boolean | Record<string, any>;
@@ -1755,16 +1755,16 @@ default: undefined;
1755
1755
  };
1756
1756
  }>> & Readonly<{
1757
1757
  onKeydown?: ((...args: any[]) => any) | undefined;
1758
- onBlur?: ((...args: any[]) => any) | undefined;
1759
1758
  onFocus?: ((...args: any[]) => any) | undefined;
1759
+ onBlur?: ((...args: any[]) => any) | undefined;
1760
1760
  onChange?: ((...args: any[]) => any) | undefined;
1761
1761
  onInput?: ((...args: any[]) => any) | undefined;
1762
1762
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1763
1763
  }>, {
1764
1764
  name: string;
1765
1765
  value: number;
1766
- placeholder: string;
1767
1766
  size: "" | "small" | "default" | "large";
1767
+ placeholder: string;
1768
1768
  vref: string;
1769
1769
  max: number;
1770
1770
  position: string;
@@ -1847,7 +1847,7 @@ columnType: {
1847
1847
  type: StringConstructor;
1848
1848
  default: undefined;
1849
1849
  };
1850
- }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("show" | "hide" | "update:visible")[], "show" | "hide" | "update:visible", PublicProps, Readonly<ExtractPropTypes< {
1850
+ }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("hide" | "show" | "update:visible")[], "hide" | "show" | "update:visible", PublicProps, Readonly<ExtractPropTypes< {
1851
1851
  vref: {
1852
1852
  type: StringConstructor;
1853
1853
  default: undefined;
@@ -1886,8 +1886,8 @@ default: undefined;
1886
1886
  };
1887
1887
  }>> & Readonly<{
1888
1888
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
1889
- onShow?: ((...args: any[]) => any) | undefined;
1890
1889
  onHide?: ((...args: any[]) => any) | undefined;
1890
+ onShow?: ((...args: any[]) => any) | undefined;
1891
1891
  }>, {
1892
1892
  vref: string;
1893
1893
  label: string;
@@ -2133,7 +2133,7 @@ type: StringConstructor;
2133
2133
  default: undefined;
2134
2134
  };
2135
2135
  value: {
2136
- type: PropType<string | number | boolean | unknown[] | Record<string, unknown>>;
2136
+ type: PropType<string | unknown[] | Record<string, unknown>>;
2137
2137
  default: undefined;
2138
2138
  };
2139
2139
  label: {
@@ -2222,7 +2222,7 @@ type: StringConstructor;
2222
2222
  default: undefined;
2223
2223
  };
2224
2224
  value: {
2225
- type: PropType<string | number | boolean | unknown[] | Record<string, unknown>>;
2225
+ type: PropType<string | unknown[] | Record<string, unknown>>;
2226
2226
  default: undefined;
2227
2227
  };
2228
2228
  label: {
@@ -2308,18 +2308,18 @@ onChange?: ((...args: any[]) => any) | undefined;
2308
2308
  onClear?: ((...args: any[]) => any) | undefined;
2309
2309
  }>, {
2310
2310
  name: string;
2311
- value: string | number | boolean | unknown[] | Record<string, unknown>;
2312
- placeholder: string;
2311
+ value: string | unknown[] | Record<string, unknown>;
2313
2312
  clear: Function;
2314
2313
  size: "" | "small" | "default" | "large";
2314
+ placeholder: string;
2315
2315
  vref: string;
2316
2316
  label: string;
2317
2317
  disabled: boolean;
2318
+ visible: boolean;
2318
2319
  multiple: boolean;
2319
2320
  clearable: boolean;
2320
2321
  filterable: boolean;
2321
2322
  collapseTags: boolean;
2322
- visible: boolean;
2323
2323
  bizType: string;
2324
2324
  cb: Function;
2325
2325
  filtercode: string;
@@ -2701,12 +2701,12 @@ default: boolean;
2701
2701
  };
2702
2702
  }>> & Readonly<{}>, {
2703
2703
  maxHeight: string | number | undefined;
2704
+ height: string | number;
2705
+ visible: boolean;
2704
2706
  layout: string;
2705
2707
  tableAction: string;
2706
2708
  tableActionIcon: boolean;
2707
2709
  tableBar: boolean;
2708
- visible: boolean;
2709
- height: string | number;
2710
2710
  border: boolean;
2711
2711
  rowClassName: Function;
2712
2712
  rowStyle: Function;
@@ -2903,8 +2903,8 @@ default: boolean;
2903
2903
  onClick?: ((...args: any[]) => any) | undefined;
2904
2904
  onClose?: ((...args: any[]) => any) | undefined;
2905
2905
  }>, {
2906
- type: TTagType;
2907
2906
  size: "" | "small" | "default" | "large";
2907
+ type: TTagType;
2908
2908
  effect: TTagEffect;
2909
2909
  round: boolean;
2910
2910
  closable: boolean;
@@ -3075,20 +3075,20 @@ type: BooleanConstructor;
3075
3075
  default: boolean;
3076
3076
  };
3077
3077
  }>> & Readonly<{
3078
- onBlur?: ((...args: any[]) => any) | undefined;
3079
3078
  onFocus?: ((...args: any[]) => any) | undefined;
3079
+ onBlur?: ((...args: any[]) => any) | undefined;
3080
3080
  onChange?: ((...args: any[]) => any) | undefined;
3081
3081
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
3082
3082
  }>, {
3083
3083
  name: string;
3084
- placeholder: string;
3085
3084
  size: TTimePickerSize;
3085
+ placeholder: string;
3086
3086
  vref: string;
3087
3087
  disabled: boolean;
3088
3088
  modelValue: TTimePickerType;
3089
3089
  clearable: boolean;
3090
- readonly: boolean;
3091
3090
  editable: boolean;
3091
+ readonly: boolean;
3092
3092
  format: string;
3093
3093
  valueFormat: string;
3094
3094
  rangeSeparator: string;
@@ -3161,7 +3161,7 @@ renderContent: {
3161
3161
  type: PropType<RenderContentFunction>;
3162
3162
  default: undefined;
3163
3163
  };
3164
- }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("check" | "node-click" | "node-expand" | "node-collapse" | "check-change" | "node-drop")[], "check" | "node-click" | "node-expand" | "node-collapse" | "check-change" | "node-drop", PublicProps, Readonly<ExtractPropTypes< {
3164
+ }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("check" | "check-change" | "node-click" | "node-collapse" | "node-expand" | "node-drop")[], "check" | "check-change" | "node-click" | "node-collapse" | "node-expand" | "node-drop", PublicProps, Readonly<ExtractPropTypes< {
3165
3165
  treeData: {
3166
3166
  type: PropType<TreeData[]>;
3167
3167
  default: () => never[];
@@ -3269,6 +3269,8 @@ export declare const isElement: (val: unknown) => val is Element;
3269
3269
 
3270
3270
  export declare const isEmpty: <T = unknown>(val: T) => val is T;
3271
3271
 
3272
+ export declare const isEqual: (a: unknown, b: unknown) => boolean;
3273
+
3272
3274
  export declare const isError: (e: unknown) => e is Error;
3273
3275
 
3274
3276
  export declare const isExternal: (path: string) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guava-ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "vue3 & element-plus & typesScript & vite UI platform",
5
5
  "author": "Andy <xukaixing@hotmail.com>",
6
6
  "license": "Apache-2.0",
@@ -49,7 +49,7 @@
49
49
  "echarts": "^5.5.1",
50
50
  "echarts-wordcloud": "^2.1.0",
51
51
  "element-plus": "^2.13.5",
52
- "lodash-es": "^4.17.21",
52
+ "lodash-es": "^4.18.1",
53
53
  "nprogress": "^0.2.0",
54
54
  "pinia": "^3.0.4",
55
55
  "pinia-plugin-persistedstate": "^4.2.0",
@@ -136,9 +136,9 @@
136
136
  "vue-tsc": "^2.2.0"
137
137
  },
138
138
  "peerDependencies": {
139
- "vue": "^3.5.13",
140
139
  "element-plus": "^2.13.5",
141
140
  "pinia": "^3.0.4",
141
+ "vue": "^3.5.13",
142
142
  "vue-i18n": "^11.0.1"
143
143
  },
144
144
  "files": [