@rebilly/revel 6.17.13 → 6.17.15

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.
@@ -167,7 +167,7 @@ declare const _default: import("vue").DefineComponent<{
167
167
  * Specify direction of shown popper
168
168
  */
169
169
  openDirection: {
170
- type: PropType<"bottom" | "top" | "below" | "above">;
170
+ type: PropType<"bottom" | "top" | "above" | "below">;
171
171
  default: string;
172
172
  };
173
173
  /**
@@ -293,7 +293,7 @@ declare const _default: import("vue").DefineComponent<{
293
293
  * The array of selected options
294
294
  */
295
295
  modelValue: {
296
- type: PropType<Nullable<OptionItem | Options>>;
296
+ type: PropType<Nullable<Options | OptionItem>>;
297
297
  default(): never[];
298
298
  };
299
299
  asyncGetInitValue: {
@@ -362,7 +362,7 @@ declare const _default: import("vue").DefineComponent<{
362
362
  trackBy: string;
363
363
  multiple: boolean;
364
364
  }): {} | null | undefined;
365
- getValue(): OptionItem | Options | null;
365
+ getValue(): Options | OptionItem | null;
366
366
  isExistingOption(query: string): boolean;
367
367
  isSelected(option: OptionItem): boolean;
368
368
  optionHighlight(index: number, option: OptionItem): {
@@ -386,7 +386,7 @@ declare const _default: import("vue").DefineComponent<{
386
386
  handleAsyncLoadPrev(): Promise<void>;
387
387
  handleAsyncLoadMore(count: number): Promise<void>;
388
388
  handleAsyncLoadByQuery({ limit, offset }: Partial<Query>): Promise<void>;
389
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove" | "tag")[], "select" | "close" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove" | "tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
389
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "select" | "close" | "tag" | "update:modelValue" | "search-change" | "remove" | "async-loaded")[], "open" | "select" | "close" | "tag" | "update:modelValue" | "search-change" | "remove" | "async-loaded", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
390
390
  /**
391
391
  * Specify if no option can be selected
392
392
  */
@@ -531,7 +531,7 @@ declare const _default: import("vue").DefineComponent<{
531
531
  * Specify direction of shown popper
532
532
  */
533
533
  openDirection: {
534
- type: PropType<"bottom" | "top" | "below" | "above">;
534
+ type: PropType<"bottom" | "top" | "above" | "below">;
535
535
  default: string;
536
536
  };
537
537
  /**
@@ -657,7 +657,7 @@ declare const _default: import("vue").DefineComponent<{
657
657
  * The array of selected options
658
658
  */
659
659
  modelValue: {
660
- type: PropType<Nullable<OptionItem | Options>>;
660
+ type: PropType<Nullable<Options | OptionItem>>;
661
661
  default(): never[];
662
662
  };
663
663
  asyncGetInitValue: {
@@ -677,32 +677,28 @@ declare const _default: import("vue").DefineComponent<{
677
677
  default: string;
678
678
  };
679
679
  }>> & {
680
- onSelect?: ((...args: any[]) => any) | undefined;
681
680
  onClose?: ((...args: any[]) => any) | undefined;
682
681
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
683
682
  onOpen?: ((...args: any[]) => any) | undefined;
684
- "onAsync-loaded"?: ((...args: any[]) => any) | undefined;
683
+ onSelect?: ((...args: any[]) => any) | undefined;
684
+ onTag?: ((...args: any[]) => any) | undefined;
685
685
  "onSearch-change"?: ((...args: any[]) => any) | undefined;
686
686
  onRemove?: ((...args: any[]) => any) | undefined;
687
- onTag?: ((...args: any[]) => any) | undefined;
687
+ "onAsync-loaded"?: ((...args: any[]) => any) | undefined;
688
688
  }, {
689
689
  name: string;
690
690
  label: string;
691
691
  loading: boolean;
692
- disabled: boolean;
693
692
  id: string;
694
- modelValue: Nullable<OptionItem | Options>;
693
+ disabled: boolean;
694
+ modelValue: Nullable<Options | OptionItem>;
695
695
  validate: ValidationState;
696
696
  placeholder: string;
697
697
  multiple: boolean;
698
698
  helpText: string;
699
- autocomplete: string;
700
- tabindex: number;
701
699
  limit: number;
702
- asyncGetInitValue: AsyncSearchFn;
703
- asyncFind: AsyncSearchFn;
704
- options: Options;
705
700
  allowEmpty: boolean;
701
+ autocomplete: string;
706
702
  blockKeys: string[];
707
703
  clearOnSelect: boolean;
708
704
  closeOnSelect: boolean;
@@ -712,7 +708,8 @@ declare const _default: import("vue").DefineComponent<{
712
708
  limitText: Function;
713
709
  max: number | boolean;
714
710
  maxHeight: number;
715
- openDirection: "bottom" | "top" | "below" | "above";
711
+ openDirection: "bottom" | "top" | "above" | "below";
712
+ options: Options;
716
713
  optionHeight: number;
717
714
  optionKey: string;
718
715
  optionLabel: string;
@@ -724,9 +721,12 @@ declare const _default: import("vue").DefineComponent<{
724
721
  showNoOptions: boolean;
725
722
  showNoResults: boolean;
726
723
  showPointer: boolean;
724
+ tabindex: number;
727
725
  taggable: boolean;
728
726
  tagPosition: string;
729
727
  tagValidator: TagValidatorFn;
728
+ asyncGetInitValue: AsyncSearchFn;
729
+ asyncFind: AsyncSearchFn;
730
730
  asyncConfig: Config;
731
731
  asyncValuePropsKey: string;
732
732
  }>;
@@ -129,13 +129,13 @@ declare const _default: import("vue").DefineComponent<{
129
129
  }>> & {
130
130
  onHide?: ((...args: any[]) => any) | undefined;
131
131
  }, {
132
+ message: string | Function;
132
133
  type: string;
133
- title: string;
134
- container: Nullable<HTMLElement>;
135
- autoHide: boolean;
136
134
  visible: boolean;
137
- message: string | Function;
135
+ title: string;
138
136
  allowClose: boolean;
137
+ autoHide: boolean;
139
138
  hideDelay: number;
139
+ container: Nullable<HTMLElement>;
140
140
  }>;
141
141
  export default _default;