@milaboratories/uikit 2.2.3 → 2.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.
@@ -0,0 +1,42 @@
1
+ import './pl-btn-split.scss';
2
+ import type { ListOption } from '../../types';
3
+ declare const _default: <M = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly onClick?: ((...args: any[]) => any) | undefined;
6
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onClick"> & ({
7
+ modelValue: M;
8
+ } & {
9
+ /**
10
+ * List of available options for the dropdown menu
11
+ */
12
+ options?: Readonly<ListOption<M>[]>;
13
+ /**
14
+ * If `true`, the dropdown component is disabled and cannot be interacted with.
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * If `true,` the button is disabled, cannot be interacted with, and shows a special 'loading' icon.
19
+ */
20
+ loading?: boolean;
21
+ })> & import("vue").PublicProps;
22
+ expose(exposed: import("vue").ShallowUnwrapRef<{
23
+ data: {
24
+ open: boolean;
25
+ optionsHeight: number;
26
+ activeIndex: number;
27
+ };
28
+ }>): void;
29
+ attrs: any;
30
+ slots: {};
31
+ emit: ((event: "click", ...args: any[]) => void) & {
32
+ 'update:modelValue': [modelValue: M];
33
+ };
34
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }> & {
37
+ __ctx?: Awaited<typeof __VLS_setup>;
38
+ };
39
+ export default _default;
40
+ type __VLS_PrettifyLocal<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -0,0 +1,3 @@
1
+ import PlBtnSplit from './PlBtnSplit.vue';
2
+ export { PlBtnSplit };
3
+ export default PlBtnSplit;
@@ -36,6 +36,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
36
  * Actions slot has a top border (default: `true`)
37
37
  */
38
38
  actionsHasTopBorder?: boolean;
39
+ /**
40
+ * If `true`, the modal window closes when clicking outside the modal area (default: `true`)
41
+ */
42
+ closeOnOutsideClick?: boolean;
39
43
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
44
  "update:modelValue": (...args: any[]) => void;
41
45
  }, string, import("vue").PublicProps, Readonly<{
@@ -75,6 +79,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
79
  * Actions slot has a top border (default: `true`)
76
80
  */
77
81
  actionsHasTopBorder?: boolean;
82
+ /**
83
+ * If `true`, the modal window closes when clicking outside the modal area (default: `true`)
84
+ */
85
+ closeOnOutsideClick?: boolean;
78
86
  }> & Readonly<{
79
87
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
88
  }>, {
@@ -108,10 +108,10 @@ declare const _default: import("vue").DefineComponent<{
108
108
  error: string;
109
109
  options: Readonly<RefOption[]>;
110
110
  label: string;
111
+ required: boolean;
111
112
  disabled: boolean;
112
113
  helper: string;
113
114
  clearable: boolean;
114
- required: boolean;
115
115
  placeholder: string;
116
116
  loadingOptionsHelper: string;
117
117
  optionSize: "small" | "medium";
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<{
6
6
  multi?: boolean;
7
7
  title?: string;
8
8
  autoSelectStorage?: boolean;
9
+ closeOnOutsideClick?: boolean;
9
10
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
11
  "update:modelValue": (value: boolean) => any;
11
12
  "import:files": (value: ImportedFiles) => any;
@@ -15,11 +16,13 @@ declare const _default: import("vue").DefineComponent<{
15
16
  multi?: boolean;
16
17
  title?: string;
17
18
  autoSelectStorage?: boolean;
19
+ closeOnOutsideClick?: boolean;
18
20
  }> & Readonly<{
19
21
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
22
  "onImport:files"?: ((value: ImportedFiles) => any) | undefined;
21
23
  }>, {
22
24
  title: string;
25
+ closeOnOutsideClick: boolean;
23
26
  extensions: string[];
24
27
  autoSelectStorage: boolean;
25
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -32,10 +32,6 @@ declare const __VLS_component: import("vue").DefineComponent<{
32
32
  * Allowed file extensions (should start with `.`)
33
33
  */
34
34
  extensions?: string[];
35
- /**
36
- * File dialog title
37
- */
38
- fileDialogTitle?: string;
39
35
  /**
40
36
  * Placeholder text
41
37
  */
@@ -60,6 +56,14 @@ declare const __VLS_component: import("vue").DefineComponent<{
60
56
  * Remove rounded border and change styles
61
57
  */
62
58
  cellStyle?: boolean;
59
+ /**
60
+ * File dialog title
61
+ */
62
+ fileDialogTitle?: string;
63
+ /**
64
+ * If `true`, the file dialog window closes when clicking outside the modal area (default: `true`)
65
+ */
66
+ fileDialogCloseOnOutsideClick?: boolean;
63
67
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
64
68
  "update:modelValue": (value: ImportFileHandle | undefined) => any;
65
69
  }, string, import("vue").PublicProps, Readonly<{
@@ -83,10 +87,6 @@ declare const __VLS_component: import("vue").DefineComponent<{
83
87
  * Allowed file extensions (should start with `.`)
84
88
  */
85
89
  extensions?: string[];
86
- /**
87
- * File dialog title
88
- */
89
- fileDialogTitle?: string;
90
90
  /**
91
91
  * Placeholder text
92
92
  */
@@ -111,6 +111,14 @@ declare const __VLS_component: import("vue").DefineComponent<{
111
111
  * Remove rounded border and change styles
112
112
  */
113
113
  cellStyle?: boolean;
114
+ /**
115
+ * File dialog title
116
+ */
117
+ fileDialogTitle?: string;
118
+ /**
119
+ * If `true`, the file dialog window closes when clicking outside the modal area (default: `true`)
120
+ */
121
+ fileDialogCloseOnOutsideClick?: boolean;
114
122
  }> & Readonly<{
115
123
  "onUpdate:modelValue"?: ((value: ImportFileHandle | undefined) => any) | undefined;
116
124
  }>, {
@@ -120,8 +128,9 @@ declare const __VLS_component: import("vue").DefineComponent<{
120
128
  helper: string;
121
129
  placeholder: string;
122
130
  extensions: string[];
123
- fileDialogTitle: string;
124
131
  cellStyle: boolean;
132
+ fileDialogTitle: string;
133
+ fileDialogCloseOnOutsideClick: boolean;
125
134
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
126
135
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
127
136
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
13
13
  */
14
14
  shadow?: boolean;
15
15
  /**
16
- * If `true`, the modal window closes when clicking outside the modal area.
16
+ * If `true`, the modal window closes when clicking outside the modal area (default: `true`)
17
17
  */
18
18
  closeOnOutsideClick?: boolean;
19
19
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
32
  */
33
33
  shadow?: boolean;
34
34
  /**
35
- * If `true`, the modal window closes when clicking outside the modal area.
35
+ * If `true`, the modal window closes when clicking outside the modal area (default: `true`)
36
36
  */
37
37
  closeOnOutsideClick?: boolean;
38
38
  }> & Readonly<{
@@ -40,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
40
40
  }>, {
41
41
  width: string;
42
42
  modelValue: boolean;
43
- shadow: boolean;
44
43
  closeOnOutsideClick: boolean;
44
+ shadow: boolean;
45
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
46
46
  title?(_: {}): any;
47
47
  default?(_: {}): any;
@@ -13,6 +13,7 @@ export * from './layout/PlGrid';
13
13
  * Components
14
14
  */
15
15
  export * from './components/PlAlert';
16
+ export * from './components/PlBtnSplit';
16
17
  export * from './components/PlBtnPrimary';
17
18
  export * from './components/PlBtnAccent';
18
19
  export * from './components/PlBtnDanger';