@signal24/vue-foundation 4.1.1 → 4.2.1

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.
package/.prettierrc.json CHANGED
@@ -5,5 +5,13 @@
5
5
  "tabWidth": 4,
6
6
  "singleQuote": true,
7
7
  "printWidth": 150,
8
- "trailingComma": "none"
8
+ "trailingComma": "none",
9
+ "overrides": [
10
+ {
11
+ "files": ["*.yaml", "*.yml"],
12
+ "options": {
13
+ "tabWidth": 2
14
+ }
15
+ }
16
+ ]
9
17
  }
@@ -2,20 +2,20 @@ type GenericObject = {
2
2
  [key: string]: any;
3
3
  };
4
4
  declare const _default: import("vue").DefineComponent<{}, {
5
- props: Readonly<Omit<{
5
+ props: Readonly<{
6
6
  modelValue: any;
7
7
  loadFn: () => Promise<GenericObject[]>;
8
8
  nullText?: string | undefined;
9
9
  loadingText?: string | undefined;
10
10
  displayKey?: string | undefined;
11
11
  preprocesor?: ((option: GenericObject) => string) | undefined;
12
- }, "modelValue"> & {
13
- modelValue: any;
14
- }>;
12
+ }> & {
13
+ readonly modelValue: boolean;
14
+ };
15
15
  options: import("vue").Ref<GenericObject[] | null>;
16
16
  renderOptions: import("vue").ComputedRef<any[] | null>;
17
17
  selectedItem: import("vue").Ref<GenericObject | null>;
18
18
  }, {}, {}, {
19
19
  load(): Promise<void>;
20
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
20
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
21
21
  export default _default;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
14
14
  message: string | Error;
15
15
  shouldConfirm?: boolean | undefined;
16
16
  callback: (ok: boolean) => void;
17
- }>>>, {}>;
17
+ }>>>, {}, {}>;
18
18
  export default _default;
19
19
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
20
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
14
14
  formatter?: ((value: any) => string) | undefined;
15
15
  }>>> & {
16
16
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
17
- }, {}>;
17
+ }, {}, {}>;
18
18
  export default _default;
19
19
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
20
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -8,7 +8,7 @@ interface ModalInjection<C extends Vue__ComponentPublicInstanceConstructor> {
8
8
  }
9
9
  export declare const ModalContainer: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
10
10
  [key: string]: any;
11
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
11
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
12
12
  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> = {
13
13
  __isFragment?: never;
14
14
  __isTeleport?: never;
@@ -12,7 +12,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
12
  class?: string | undefined;
13
13
  }>>> & {
14
14
  onFormSubmit?: ((...args: any[]) => any) | undefined;
15
- }, {}>, Partial<Record<"header", (_: {}) => any>> & Partial<Record<"default", (_: {}) => any>> & Partial<Record<"footer", (_: {}) => any>>>;
15
+ }, {}, {}>, {
16
+ header?(_: {}): any;
17
+ default?(_: {}): any;
18
+ footer?(_: {}): any;
19
+ }>;
16
20
  export default _default;
17
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
22
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -26,9 +30,5 @@ type __VLS_TypePropsToRuntimeProps<T> = {
26
30
  type __VLS_WithTemplateSlots<T, S> = T & {
27
31
  new (): {
28
32
  $slots: S;
29
- $props: __VLS_PropsChildren<S>;
30
33
  };
31
34
  };
32
- type __VLS_PropsChildren<S> = {
33
- [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
34
- };
@@ -117,5 +117,5 @@ declare const _default: import("vue").DefineComponent<{
117
117
  onCreateItem?: ((searchText: string) => any) | undefined;
118
118
  }, {
119
119
  modelValue: any;
120
- }>;
120
+ }, {}>;
121
121
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { AnyComponentPublicInstance } from '@/components';
1
+ import type { AnyComponentPublicInstance } from '../components/modal-container';
2
2
  declare const MaskState: unique symbol;
3
3
  interface IMaskState {
4
4
  [MaskState]?: {