@signal24/vue-foundation 4.15.1 → 4.16.0

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.
@@ -5,15 +5,15 @@ declare const _default: import("vue").DefineComponent<{}, {
5
5
  props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
6
6
  modelValue: any;
7
7
  loadFn: () => Promise<GenericObject[]>;
8
- nullText?: string | undefined;
9
- loadingText?: string | undefined;
10
- displayKey?: string | undefined;
11
- preprocesor?: ((option: GenericObject) => string) | undefined;
8
+ nullText?: string;
9
+ loadingText?: string;
10
+ displayKey?: string;
11
+ preprocesor?: (option: GenericObject) => string;
12
12
  }>, "modelValue">;
13
- options: import("vue").Ref<GenericObject[] | null>;
13
+ options: import("vue").Ref<GenericObject[] | null, GenericObject[] | null>;
14
14
  renderOptions: import("vue").ComputedRef<any[] | null>;
15
- selectedItem: import("vue").Ref<GenericObject | null>;
15
+ selectedItem: import("vue").Ref<GenericObject | null, GenericObject | null>;
16
16
  }, {}, {}, {
17
17
  load(): Promise<void>;
18
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
18
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
19
19
  export default _default;
@@ -1,27 +1,18 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- isBare?: boolean | undefined;
3
- isHtml?: boolean | undefined;
4
- classes?: string[] | undefined;
5
- title?: string | undefined;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ isBare?: boolean;
3
+ isHtml?: boolean;
4
+ classes?: string[];
5
+ title?: string;
6
6
  message: string | Error;
7
- shouldConfirm?: boolean | undefined;
7
+ shouldConfirm?: boolean;
8
8
  callback: (ok: boolean) => void;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- isBare?: boolean | undefined;
11
- isHtml?: boolean | undefined;
12
- classes?: string[] | undefined;
13
- title?: string | undefined;
9
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
+ isBare?: boolean;
11
+ isHtml?: boolean;
12
+ classes?: string[];
13
+ title?: string;
14
14
  message: string | Error;
15
- shouldConfirm?: boolean | undefined;
15
+ shouldConfirm?: boolean;
16
16
  callback: (ok: boolean) => void;
17
- }>>>, {}, {}>;
17
+ } & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
18
18
  export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -1,27 +1,18 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  modelValue: string | null | undefined;
3
- nullTitle?: string | undefined;
4
- placeholder?: string | undefined;
3
+ nullTitle?: string;
4
+ placeholder?: string;
5
5
  options: Record<string, string> | string[];
6
- formatter?: ((value: any) => string) | undefined;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:modelValue": (value: string | null) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ formatter?: (value: any) => string;
7
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: string | null) => any;
9
+ }, string, import("vue").PublicProps, Readonly<{
10
10
  modelValue: string | null | undefined;
11
- nullTitle?: string | undefined;
12
- placeholder?: string | undefined;
11
+ nullTitle?: string;
12
+ placeholder?: string;
13
13
  options: Record<string, string> | string[];
14
- formatter?: ((value: any) => string) | undefined;
15
- }>>> & {
14
+ formatter?: (value: any) => string;
15
+ } & {
16
16
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
17
- }, {}, {}>;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
18
18
  export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -2,42 +2,45 @@ declare function mask(): () => void;
2
2
  declare function unmask(): void;
3
3
  declare function hide(): () => void;
4
4
  declare function unhide(): void;
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
- id?: string | undefined;
7
- closeOnMaskClick?: boolean | undefined;
8
- scrolls?: boolean | undefined;
9
- closeX?: boolean | undefined;
10
- class?: string | undefined;
11
- }>, {
5
+ declare var __VLS_1: {};
6
+ declare var __VLS_inheritedAttrs: {};
7
+ declare const __VLS_templateResult: {
8
+ slots: {
9
+ header?(_: {}): any;
10
+ default?(_: typeof __VLS_1): any;
11
+ footer?(_: {}): any;
12
+ };
13
+ refs: {
14
+ overlay: import("vue").HTMLAttributes & import("vue").ReservedProps;
15
+ form: import("vue").FormHTMLAttributes & import("vue").ReservedProps;
16
+ };
17
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
18
+ };
19
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
20
+ declare const __VLS_component: import("vue").DefineComponent<{
21
+ id?: string;
22
+ closeOnMaskClick?: boolean;
23
+ scrolls?: boolean;
24
+ closeX?: boolean;
25
+ class?: string | string[];
26
+ }, {
12
27
  mask: typeof mask;
13
28
  unmask: typeof unmask;
14
29
  hide: typeof hide;
15
30
  unhide: typeof unhide;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
32
  formSubmit: (...args: any[]) => void;
18
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
19
- id?: string | undefined;
20
- closeOnMaskClick?: boolean | undefined;
21
- scrolls?: boolean | undefined;
22
- closeX?: boolean | undefined;
23
- class?: string | undefined;
24
- }>>> & {
33
+ }, string, import("vue").PublicProps, Readonly<{
34
+ id?: string;
35
+ closeOnMaskClick?: boolean;
36
+ scrolls?: boolean;
37
+ closeX?: boolean;
38
+ class?: string | string[];
39
+ } & {
25
40
  onFormSubmit?: ((...args: any[]) => any) | undefined;
26
- }, {}, {}>, {
27
- header?(_: {}): any;
28
- default?(_: {}): any;
29
- footer?(_: {}): any;
30
- }>;
41
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
31
43
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
44
  type __VLS_WithTemplateSlots<T, S> = T & {
42
45
  new (): {
43
46
  $slots: S;
@@ -1,23 +1,23 @@
1
1
  import type { OverlayAnchorOptions } from './overlay-types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare var __VLS_0: {};
3
+ declare var __VLS_inheritedAttrs: {};
4
+ declare const __VLS_templateResult: {
5
+ slots: {
6
+ default?(_: typeof __VLS_0): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
10
+ };
11
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
12
+ declare const __VLS_component: import("vue").DefineComponent<{
3
13
  overlayId: string;
4
14
  anchor: OverlayAnchorOptions;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
16
  overlayId: string;
7
17
  anchor: OverlayAnchorOptions;
8
- }>>>, {}, {}>, {
9
- default?(_: {}): any;
10
- }>;
18
+ } & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
11
20
  export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToRuntimeProps<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
21
21
  type __VLS_WithTemplateSlots<T, S> = T & {
22
22
  new (): {
23
23
  $slots: S;
@@ -15,7 +15,7 @@ export interface OverlayInjection<C extends OverlayComponent, R extends Componen
15
15
  }
16
16
  export declare const OverlayContainer: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
17
  [key: string]: any;
18
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
18
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
19
19
  export type Vue__ComponentPublicInstanceConstructor<T extends ComponentPublicInstance<Props, RawBindings, D, C, M> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions> = {
20
20
  __isFragment?: never;
21
21
  __isTeleport?: never;
@@ -9,7 +9,7 @@ export interface OptionDescriptor {
9
9
  searchContent?: string;
10
10
  ref?: GenericObject;
11
11
  }
12
- declare const _default: import("vue").DefineComponent<{
12
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
13
  modelValue: {
14
14
  type: PropType<any>;
15
15
  default: null;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  optionsListId: PropType<string>;
37
37
  debug: PropType<boolean>;
38
38
  required: PropType<boolean>;
39
- }, unknown, {
39
+ }>, {}, {
40
40
  isLoading: boolean;
41
41
  isLoaded: boolean;
42
42
  loadedOptions: GenericObject[];
@@ -84,37 +84,32 @@ declare const _default: import("vue").DefineComponent<{
84
84
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
85
  optionsLoaded: (options: any[]) => void;
86
86
  'update:modelValue': (value: any) => void;
87
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
88
- modelValue: {
89
- type: PropType<any>;
90
- default: null;
91
- };
92
- loadOptions: PropType<(searchText: string | null) => Promise<GenericObject[]>>;
93
- options: PropType<GenericObject[]>;
94
- prependOptions: PropType<GenericObject[]>;
95
- appendOptions: PropType<GenericObject[]>;
96
- onCreateItem: PropType<(searchText: string) => void>;
97
- preload: PropType<boolean>;
98
- remoteSearch: PropType<boolean>;
99
- searchFields: PropType<string[]>;
100
- placeholder: PropType<string>;
101
- keyExtractor: PropType<(option: any) => string | symbol>;
102
- valueExtractor: PropType<(option: any) => any>;
103
- formatter: {
104
- type: PropType<(option: any) => string>;
105
- required: true;
106
- };
107
- subtitleFormatter: PropType<(option: any) => string>;
108
- nullTitle: PropType<string>;
109
- noResultsText: PropType<string>;
110
- disabled: PropType<boolean>;
111
- optionsListId: PropType<string>;
112
- debug: PropType<boolean>;
113
- required: PropType<boolean>;
114
- }>> & {
87
+ }, string, import("vue").PublicProps, Readonly<{
88
+ modelValue: any;
89
+ formatter: (option: any) => string;
90
+ } & {
91
+ options?: GenericObject[] | undefined;
92
+ disabled?: boolean | undefined;
93
+ required?: boolean | undefined;
94
+ loadOptions?: ((searchText: string | null) => Promise<GenericObject[]>) | undefined;
95
+ prependOptions?: GenericObject[] | undefined;
96
+ appendOptions?: GenericObject[] | undefined;
97
+ onCreateItem?: ((searchText: string) => void) | undefined;
98
+ preload?: boolean | undefined;
99
+ remoteSearch?: boolean | undefined;
100
+ searchFields?: string[] | undefined;
101
+ placeholder?: string | undefined;
102
+ keyExtractor?: ((option: any) => string | symbol) | undefined;
103
+ valueExtractor?: ((option: any) => any) | undefined;
104
+ subtitleFormatter?: ((option: any) => string) | undefined;
105
+ nullTitle?: string | undefined;
106
+ noResultsText?: string | undefined;
107
+ optionsListId?: string | undefined;
108
+ debug?: boolean | undefined;
109
+ } & {
115
110
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
116
111
  onOptionsLoaded?: ((options: any[]) => any) | undefined;
117
- }, {
112
+ }>, {
118
113
  modelValue: any;
119
- }, {}>;
114
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
120
115
  export default _default;
@@ -5,18 +5,9 @@ export interface IToastOptions {
5
5
  disableClose?: boolean;
6
6
  onClick?: () => void;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IToastOptions & {
8
+ declare const _default: import("vue").DefineComponent<IToastOptions & {
9
9
  callback: () => void;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IToastOptions & {
10
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IToastOptions & {
11
11
  callback: () => void;
12
- }>>>, {}, {}>;
12
+ } & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
13
13
  export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
@@ -0,0 +1,2 @@
1
+ import type { ObjectDirective } from 'vue';
2
+ export declare const vHotkey: ObjectDirective<HTMLButtonElement, string>;
@@ -5,6 +5,7 @@ import { vDateInput } from './date-input';
5
5
  import { vDatetime } from './datetime';
6
6
  import { vDisabled } from './disabled';
7
7
  import { vDuration } from './duration';
8
+ import { vHotkey } from './hotkey';
8
9
  import { vInfiniteScroll } from './infinite-scroll';
9
10
  import { vReadonly } from './readonly';
10
11
  import { vTooltip } from './tooltip';
@@ -16,6 +17,7 @@ declare module 'vue' {
16
17
  vDatetime: typeof vDatetime;
17
18
  vDisabled: typeof vDisabled;
18
19
  vDuration: typeof vDuration;
20
+ vHotkey: typeof vHotkey;
19
21
  vInfiniteScroll: typeof vInfiniteScroll;
20
22
  vReadonly: typeof vReadonly;
21
23
  vTooltip: typeof vTooltip;
@@ -24,16 +24,5 @@ declare const FilterFns: {
24
24
  desnake: typeof desnake;
25
25
  usCurrency: typeof usCurrency;
26
26
  };
27
- export declare const createFilters: <T>(factory: (baseFilters: typeof FilterFns) => T) => {
28
- bytes: typeof bytes;
29
- dash: typeof dash;
30
- dashZeros: typeof dashZeros;
31
- number: typeof number;
32
- phone: typeof phone;
33
- upperFirst: typeof upperFirst;
34
- startCase: typeof startCase;
35
- upperCase: typeof upperCase;
36
- desnake: typeof desnake;
37
- usCurrency: typeof usCurrency;
38
- } & T;
27
+ export declare const createFilters: <T>(factory: (baseFilters: typeof FilterFns) => T) => typeof FilterFns & T;
39
28
  export {};