erp-plus 1.0.106 → 1.0.108

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.
@@ -72,11 +72,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
72
72
  }>, {
73
73
  size: number;
74
74
  icon: string;
75
+ shape: shapeType;
75
76
  src: string;
76
77
  alt: string;
77
- fit: string;
78
- shape: shapeType;
79
78
  srcSet: string;
79
+ fit: string;
80
80
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
81
81
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
82
82
  export default _default;
@@ -158,21 +158,21 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
158
158
  size: ButtonSize;
159
159
  link: boolean;
160
160
  type: ButtonType;
161
- color: string;
161
+ disabled: boolean;
162
162
  circle: boolean;
163
163
  text: boolean;
164
164
  plain: boolean;
165
- bg: boolean;
166
- round: boolean;
165
+ icon: string | Component;
167
166
  loading: boolean;
168
- disabled: boolean;
167
+ round: boolean;
168
+ color: string;
169
+ tag: string | Component;
170
+ bg: boolean;
169
171
  autofocus: boolean;
170
172
  autoInsertSpace: boolean;
171
173
  dark: boolean;
172
174
  loadingIcon: string | Component;
173
- icon: string | Component;
174
175
  nativeType: NativeType;
175
- tag: string | Component;
176
176
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
177
177
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
178
178
  export default _default;
@@ -149,8 +149,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
149
149
  focus: (...args: any[]) => void;
150
150
  clear: (...args: any[]) => void;
151
151
  "update:modelValue": (...args: any[]) => void;
152
- "visible-change": (...args: any[]) => void;
153
152
  "calendar-change": (...args: any[]) => void;
153
+ "visible-change": (...args: any[]) => void;
154
154
  "panel-change": (...args: any[]) => void;
155
155
  }, string, PublicProps, Readonly< ExtractPropTypes<{
156
156
  modelValue: {
@@ -288,40 +288,40 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
288
288
  onFocus?: ((...args: any[]) => any) | undefined;
289
289
  onClear?: ((...args: any[]) => any) | undefined;
290
290
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
291
- "onVisible-change"?: ((...args: any[]) => any) | undefined;
292
291
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
292
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
293
293
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
294
294
  }>, {
295
295
  emptyValues: unknown[];
296
296
  valueOnClear: string | number | boolean | Function;
297
297
  size: sizeType;
298
298
  type: typeType;
299
- readonly: boolean;
300
299
  disabled: boolean;
301
- modelValue: string | number | Date | [Date, Date];
302
- showFooter: boolean;
303
300
  name: string;
304
- placeholder: string;
305
- teleported: boolean;
306
301
  id: string;
307
- popperClass: string;
308
- placement: placementType;
309
- popperOptions: Record<string, any>;
310
- cellClassName: Function;
311
- validateEvent: boolean;
312
- clearable: boolean;
313
- clearIcon: string | Record<string, any>;
314
- editable: boolean;
302
+ readonly: boolean;
303
+ modelValue: string | number | Date | [Date, Date];
304
+ placeholder: string;
315
305
  startPlaceholder: string;
316
306
  endPlaceholder: string;
317
307
  format: string;
308
+ editable: boolean;
309
+ clearable: boolean;
310
+ popperClass: string;
311
+ popperOptions: Record<string, any>;
318
312
  rangeSeparator: string;
319
313
  defaultValue: Date | [Date, Date];
320
314
  unlinkPanels: boolean;
321
315
  prefixIcon: string | Record<string, any>;
316
+ clearIcon: string | Record<string, any>;
317
+ validateEvent: boolean;
322
318
  disabledDate: Function;
323
319
  valueFormat: string;
324
320
  shortcuts: unknown[];
321
+ cellClassName: Function;
322
+ teleported: boolean;
323
+ placement: placementType;
324
+ showFooter: boolean;
325
325
  showWeekNumber: boolean;
326
326
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
327
327
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -271,18 +271,20 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
271
271
  }>, {
272
272
  size: string;
273
273
  zIndex: number;
274
- center: boolean;
275
- title: string;
276
274
  width: string | number;
275
+ title: string;
277
276
  modelValue: boolean;
278
277
  fullscreen: boolean;
278
+ draggable: boolean;
279
+ center: boolean;
280
+ headerClass: string;
281
+ bodyClass: string;
282
+ footerClass: string;
279
283
  top: string;
284
+ showFooter: boolean;
280
285
  modal: boolean;
281
286
  modalPenetrable: boolean;
282
287
  modalClass: string;
283
- headerClass: string;
284
- bodyClass: string;
285
- footerClass: string;
286
288
  appendToBody: boolean;
287
289
  appendTo: string;
288
290
  lockScroll: boolean;
@@ -291,8 +293,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
291
293
  closeOnClickModal: boolean;
292
294
  closeOnPressEscape: boolean;
293
295
  showClose: boolean;
294
- showFooter: boolean;
295
- draggable: boolean;
296
296
  overflow: boolean;
297
297
  alignCenter: boolean;
298
298
  destroyOnClose: boolean;
@@ -297,37 +297,37 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
297
297
  }>, {
298
298
  size: sizeType;
299
299
  type: string;
300
+ disabled: boolean;
301
+ name: string;
302
+ label: string;
300
303
  resize: resizeType;
301
304
  readonly: boolean;
302
305
  form: string;
303
- label: string;
304
- disabled: boolean;
305
- autofocus: boolean;
306
306
  modelValue: string | number;
307
- name: string;
308
307
  placeholder: string;
309
- formatter: Function;
310
- ariaLabel: string;
308
+ showPassword: boolean;
309
+ rows: number;
310
+ maxlength: number;
311
+ showWordLimit: boolean;
311
312
  min: string | number;
312
313
  max: string | number;
313
314
  step: string | number;
314
- validateEvent: boolean;
315
- suffixIcon: string | Component;
315
+ autofocus: boolean;
316
316
  clearable: boolean;
317
+ prefixIcon: string | Component;
317
318
  clearIcon: string | Record<string, any>;
319
+ validateEvent: boolean;
320
+ ariaLabel: string;
318
321
  tabindex: string;
319
- inputStyle: Record<string, any>;
320
- prefixIcon: string | Component;
321
- maxlength: number;
322
+ formatter: Function;
323
+ parser: Function;
322
324
  minlength: number;
325
+ suffixIcon: string | Component;
323
326
  autosize: boolean | {
324
327
  minRows: number;
325
328
  maxRows: number;
326
329
  };
327
- parser: Function;
328
- showPassword: boolean;
329
- showWordLimit: boolean;
330
- rows: number;
330
+ inputStyle: Record<string, any>;
331
331
  inputMode: string;
332
332
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
333
333
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -159,15 +159,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
159
159
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
160
160
  }>, {
161
161
  size: typeSize;
162
- readonly: boolean;
163
162
  disabled: boolean;
163
+ readonly: boolean;
164
164
  modelValue: number | null | undefined;
165
165
  min: number;
166
166
  max: number;
167
167
  step: number;
168
- stepStrictly: boolean;
169
168
  controls: boolean;
170
169
  validateEvent: boolean;
170
+ stepStrictly: boolean;
171
171
  disabledScientific: boolean;
172
172
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
173
173
  export default _default;
@@ -8,18 +8,18 @@ interface Props {
8
8
  layouts: string[];
9
9
  }
10
10
  declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "page-change": (...args: any[]) => void;
11
12
  "update:currentPage": (...args: any[]) => void;
12
13
  "update:pageSize": (...args: any[]) => void;
13
- "page-change": (...args: any[]) => void;
14
14
  }, string, PublicProps, Readonly<Props> & Readonly<{
15
+ "onPage-change"?: ((...args: any[]) => any) | undefined;
15
16
  "onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
16
17
  "onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
17
- "onPage-change"?: ((...args: any[]) => any) | undefined;
18
18
  }>, {
19
19
  currentPage: number;
20
20
  pageSize: number;
21
+ layouts: string[];
21
22
  pageSizes: number[];
22
23
  pagerCount: number;
23
- layouts: string[];
24
24
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
25
25
  export default _default;
@@ -391,26 +391,27 @@ declare const _default: DefineComponent<ExtractPropTypes<{
391
391
  "onPopup-scroll"?: ((...args: any[]) => any) | undefined;
392
392
  }>, {
393
393
  size: sizeType;
394
- loading: boolean;
395
394
  disabled: boolean;
396
- modelValue: string | number;
397
395
  name: string;
398
- placeholder: string;
399
- teleported: boolean;
400
- filterMethod: (query: string) => void;
401
- showArrow: boolean;
402
396
  id: string;
403
- ariaLabel: string;
404
- persistent: boolean;
405
- effect: effectType;
397
+ loading: boolean;
398
+ modelValue: string | number;
399
+ placeholder: string;
400
+ options: Record<string, any>[];
401
+ multiple: boolean;
402
+ collapseTags: boolean;
403
+ config: Record<string, any>;
404
+ clearable: boolean;
406
405
  popperClass: string;
407
- offset: number;
408
- placement: placementType;
406
+ clearIcon: string | Record<string, any>;
409
407
  validateEvent: boolean;
408
+ teleported: boolean;
409
+ placement: placementType;
410
+ ariaLabel: string;
411
+ automaticDropdown: boolean;
410
412
  suffixIcon: string | Record<string, any>;
411
413
  autocomplete: string;
412
- automaticDropdown: boolean;
413
- clearable: boolean;
414
+ effect: effectType;
414
415
  filterable: boolean;
415
416
  allowCreate: boolean;
416
417
  remote: boolean;
@@ -418,20 +419,19 @@ declare const _default: DefineComponent<ExtractPropTypes<{
418
419
  noMatchText: string;
419
420
  noDataText: string;
420
421
  remoteMethod: (query: string) => void;
421
- multiple: boolean;
422
+ filterMethod: (query: string) => void;
422
423
  multipleLimit: number;
423
424
  defaultFirstOption: boolean;
424
425
  reserveKeyword: boolean;
425
426
  valueKey: string;
426
- collapseTags: boolean;
427
427
  collapseTagsTooltip: boolean;
428
428
  maxCollapseTags: number;
429
- clearIcon: string | Record<string, any>;
429
+ persistent: boolean;
430
430
  fitInputWidth: boolean;
431
431
  tagType: tagType;
432
432
  tagEffect: tagEffectType;
433
433
  remoteShowSuffix: boolean;
434
- options: Record<string, any>[];
435
- config: Record<string, any>;
434
+ showArrow: boolean;
435
+ offset: number;
436
436
  }, {}, {}, {}, string, ComponentProvideOptions, true, any, any>;
437
437
  export default _default;
@@ -831,7 +831,7 @@ declare function __VLS_template(): {
831
831
  setScrollLeft: (left?: number) => void;
832
832
  setScrollTop: (top?: number) => void;
833
833
  allowDragLastColumn: boolean;
834
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("scroll" | "select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-click" | "cell-dblclick" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
834
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("scroll" | "select" | "row-click" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-click" | "cell-dblclick" | "cell-contextmenu" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
835
835
  data: any[];
836
836
  style: StyleValue | undefined;
837
837
  tableLayout: "fixed" | "auto";
@@ -1607,6 +1607,7 @@ declare const __VLS_component: DefineComponent<TableProps, {
1607
1607
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1608
1608
  scroll: (...args: any[]) => void;
1609
1609
  select: (...args: any[]) => void;
1610
+ "row-click": (...args: any[]) => void;
1610
1611
  "select-all": (...args: any[]) => void;
1611
1612
  "selection-change": (...args: any[]) => void;
1612
1613
  "cell-mouse-enter": (...args: any[]) => void;
@@ -1614,7 +1615,6 @@ declare const __VLS_component: DefineComponent<TableProps, {
1614
1615
  "cell-click": (...args: any[]) => void;
1615
1616
  "cell-dblclick": (...args: any[]) => void;
1616
1617
  "cell-contextmenu": (...args: any[]) => void;
1617
- "row-click": (...args: any[]) => void;
1618
1618
  "row-contextmenu": (...args: any[]) => void;
1619
1619
  "row-dblclick": (...args: any[]) => void;
1620
1620
  "header-click": (...args: any[]) => void;
@@ -1628,6 +1628,7 @@ declare const __VLS_component: DefineComponent<TableProps, {
1628
1628
  }, string, PublicProps, Readonly<TableProps> & Readonly<{
1629
1629
  onScroll?: ((...args: any[]) => any) | undefined;
1630
1630
  onSelect?: ((...args: any[]) => any) | undefined;
1631
+ "onRow-click"?: ((...args: any[]) => any) | undefined;
1631
1632
  "onSelect-all"?: ((...args: any[]) => any) | undefined;
1632
1633
  "onSelection-change"?: ((...args: any[]) => any) | undefined;
1633
1634
  "onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
@@ -1635,7 +1636,6 @@ declare const __VLS_component: DefineComponent<TableProps, {
1635
1636
  "onCell-click"?: ((...args: any[]) => any) | undefined;
1636
1637
  "onCell-dblclick"?: ((...args: any[]) => any) | undefined;
1637
1638
  "onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
1638
- "onRow-click"?: ((...args: any[]) => any) | undefined;
1639
1639
  "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
1640
1640
  "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
1641
1641
  "onHeader-click"?: ((...args: any[]) => any) | undefined;
@@ -1648,16 +1648,16 @@ declare const __VLS_component: DefineComponent<TableProps, {
1648
1648
  "onSelect-change"?: ((...args: any[]) => any) | undefined;
1649
1649
  }>, {
1650
1650
  data: any[];
1651
- height: string | number;
1652
1651
  loading: boolean;
1653
- emptyState: boolean;
1652
+ columns: TableColumn[];
1653
+ height: string | number;
1654
+ fit: boolean;
1654
1655
  teleported: boolean;
1656
+ emptyState: boolean;
1655
1657
  isSelection: boolean;
1656
1658
  showOverflowTooltip: boolean;
1657
- columns: TableColumn[];
1658
1659
  stripe: boolean;
1659
1660
  border: boolean;
1660
- fit: boolean;
1661
1661
  showHeader: boolean;
1662
1662
  headerCellClassName: ((data: {
1663
1663
  row: any;
@@ -2377,7 +2377,7 @@ declare const __VLS_component: DefineComponent<TableProps, {
2377
2377
  setScrollLeft: (left?: number) => void;
2378
2378
  setScrollTop: (top?: number) => void;
2379
2379
  allowDragLastColumn: boolean;
2380
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("scroll" | "select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-click" | "cell-dblclick" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
2380
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("scroll" | "select" | "row-click" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-click" | "cell-dblclick" | "cell-contextmenu" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
2381
2381
  data: any[];
2382
2382
  style: StyleValue | undefined;
2383
2383
  tableLayout: "fixed" | "auto";
@@ -1087,8 +1087,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1087
1087
  clearSelection: () => void;
1088
1088
  setCurrentKey: (key: string | number) => void;
1089
1089
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1090
- "current-change": (...args: any[]) => void;
1091
1090
  "node-click": (...args: any[]) => void;
1091
+ "current-change": (...args: any[]) => void;
1092
1092
  "node-contextmenu": (...args: any[]) => void;
1093
1093
  "check-change": (...args: any[]) => void;
1094
1094
  check: (...args: any[]) => void;
@@ -1202,8 +1202,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1202
1202
  type: PropType<(draggingNode: any, dropNode: any, type: any) => boolean>;
1203
1203
  };
1204
1204
  }>> & Readonly<{
1205
- "onCurrent-change"?: ((...args: any[]) => any) | undefined;
1206
1205
  "onNode-click"?: ((...args: any[]) => any) | undefined;
1206
+ "onCurrent-change"?: ((...args: any[]) => any) | undefined;
1207
1207
  "onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
1208
1208
  "onCheck-change"?: ((...args: any[]) => any) | undefined;
1209
1209
  onCheck?: ((...args: any[]) => any) | undefined;
@@ -1217,21 +1217,21 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1217
1217
  "onNode-drop"?: ((...args: any[]) => any) | undefined;
1218
1218
  }>, {
1219
1219
  lazy: boolean;
1220
- props: Record<string, any>;
1221
1220
  data: TreeNodeData[];
1222
1221
  icon: Record<string, any>;
1222
+ nodeKey: string;
1223
+ defaultExpandAll: boolean;
1224
+ highlightCurrent: boolean;
1225
+ expandOnClickNode: boolean;
1226
+ props: Record<string, any>;
1227
+ showCheckbox: boolean;
1223
1228
  draggable: boolean;
1224
1229
  emptyText: string;
1225
- defaultExpandAll: boolean;
1226
1230
  indent: number;
1227
- nodeKey: string;
1228
1231
  renderAfterExpand: boolean;
1229
- highlightCurrent: boolean;
1230
- expandOnClickNode: boolean;
1231
1232
  checkOnClickNode: boolean;
1232
1233
  autoExpandParent: boolean;
1233
1234
  defaultExpandedKeys: any[];
1234
- showCheckbox: boolean;
1235
1235
  checkStrictly: boolean;
1236
1236
  defaultCheckedKeys: any[];
1237
1237
  currentNodeKey: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erp-plus",
3
- "version": "1.0.106",
3
+ "version": "1.0.108",
4
4
  "author": "zhangxl",
5
5
  "main": "dist/erp-plus.umd.js",
6
6
  "module": "dist/erp-plus.es.js",