@salesql/sql_components_vue3 0.3.1 → 1.0.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.
Files changed (60) hide show
  1. package/dist/constants/events.d.ts +16 -0
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.ts +39 -8
  5. package/dist/index.es.js +1067 -150
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/sql_components_vue3.css +1 -1
  8. package/dist/ui/DsAlert/DsAlert.types.d.ts +13 -0
  9. package/dist/ui/DsAlert/DsAlert.vue.d.ts +75 -0
  10. package/dist/ui/DsAlert/index.d.ts +2 -0
  11. package/dist/ui/DsAvatar/DsAvatar.types.d.ts +8 -0
  12. package/dist/ui/DsAvatar/DsAvatar.vue.d.ts +62 -0
  13. package/dist/ui/DsAvatar/index.d.ts +2 -0
  14. package/dist/ui/DsBadge/DsBadge.types.d.ts +9 -0
  15. package/dist/ui/DsBadge/DsBadge.vue.d.ts +26 -0
  16. package/dist/ui/DsBadge/index.d.ts +2 -0
  17. package/dist/ui/DsButton/DsButton.types.d.ts +21 -0
  18. package/dist/ui/DsButton/DsButton.vue.d.ts +94 -0
  19. package/dist/ui/DsButton/index.d.ts +2 -0
  20. package/dist/ui/DsCheckbox/DsCheckbox.types.d.ts +7 -0
  21. package/dist/ui/DsCheckbox/DsCheckbox.vue.d.ts +49 -0
  22. package/dist/ui/DsCheckbox/index.d.ts +2 -0
  23. package/dist/ui/DsContactValue/DsContactValue.types.d.ts +16 -0
  24. package/dist/ui/DsContactValue/DsContactValue.vue.d.ts +112 -0
  25. package/dist/ui/DsContactValue/index.d.ts +2 -0
  26. package/dist/ui/DsDataCard/DsDataCard.types.d.ts +9 -0
  27. package/dist/ui/DsDataCard/DsDataCard.vue.d.ts +173 -0
  28. package/dist/ui/DsDataCard/index.d.ts +2 -0
  29. package/dist/ui/DsInput/DsInput.types.d.ts +15 -0
  30. package/dist/ui/DsInput/DsInput.vue.d.ts +112 -0
  31. package/dist/ui/DsInput/index.d.ts +2 -0
  32. package/dist/ui/DsModal/DsModal.types.d.ts +8 -0
  33. package/dist/ui/DsModal/DsModal.vue.d.ts +69 -0
  34. package/dist/ui/DsModal/index.d.ts +2 -0
  35. package/dist/ui/DsNotification/DsNotification.types.d.ts +14 -0
  36. package/dist/ui/DsNotification/DsNotification.vue.d.ts +83 -0
  37. package/dist/ui/DsNotification/index.d.ts +2 -0
  38. package/dist/ui/DsSpinner/DsSpinner.types.d.ts +6 -0
  39. package/dist/ui/{SqlSpinner/SqlSpinner.vue.d.ts → DsSpinner/DsSpinner.vue.d.ts} +15 -15
  40. package/dist/ui/DsSpinner/index.d.ts +2 -0
  41. package/dist/ui/DsTable/DsTable.types.d.ts +16 -0
  42. package/dist/ui/{BasicTable/BasicTable.vue.d.ts → DsTable/DsTable.vue.d.ts} +15 -6
  43. package/dist/ui/DsTable/index.d.ts +2 -0
  44. package/dist/ui/DsTag/DsTag.types.d.ts +8 -0
  45. package/dist/ui/DsTag/DsTag.vue.d.ts +45 -0
  46. package/dist/ui/DsTag/index.d.ts +2 -0
  47. package/dist/ui/DsTextarea/DsTextarea.types.d.ts +8 -0
  48. package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +70 -0
  49. package/dist/ui/DsTextarea/index.d.ts +2 -0
  50. package/dist/ui/DsVerificationIcon/DsVerificationIcon.types.d.ts +6 -0
  51. package/dist/ui/DsVerificationIcon/DsVerificationIcon.vue.d.ts +52 -0
  52. package/dist/ui/DsVerificationIcon/index.d.ts +2 -0
  53. package/package.json +6 -6
  54. package/dist/ui/BasicTable/BasicTable.types.d.ts +0 -16
  55. package/dist/ui/BasicTable/index.d.ts +0 -2
  56. package/dist/ui/SqlButton/SqlButton.types.d.ts +0 -31
  57. package/dist/ui/SqlButton/SqlButton.vue.d.ts +0 -75
  58. package/dist/ui/SqlButton/index.d.ts +0 -2
  59. package/dist/ui/SqlSpinner/SqlSpinner.types.d.ts +0 -11
  60. package/dist/ui/SqlSpinner/index.d.ts +0 -2
@@ -0,0 +1,14 @@
1
+ export declare const DS_NOTIFICATION_TYPES: {
2
+ readonly INFO: "info";
3
+ readonly WARNING: "warning";
4
+ readonly ERROR: "error";
5
+ };
6
+ export type DsNotificationType = (typeof DS_NOTIFICATION_TYPES)[keyof typeof DS_NOTIFICATION_TYPES];
7
+ export declare const DS_NOTIFICATION_POSITIONS: {
8
+ readonly TOP_LEFT: "top-left";
9
+ readonly TOP_RIGHT: "top-right";
10
+ readonly BOTTOM_LEFT: "bottom-left";
11
+ readonly BOTTOM_RIGHT: "bottom-right";
12
+ };
13
+ export type DsNotificationPosition = (typeof DS_NOTIFICATION_POSITIONS)[keyof typeof DS_NOTIFICATION_POSITIONS];
14
+ export declare const DS_NOTIFICATION_ICONS: Record<DsNotificationType, string>;
@@ -0,0 +1,83 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsNotificationType, type DsNotificationPosition } from './DsNotification.types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ type: {
5
+ type: PropType<DsNotificationType>;
6
+ default: "info";
7
+ };
8
+ position: {
9
+ type: PropType<DsNotificationPosition>;
10
+ default: "bottom-left";
11
+ };
12
+ title: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ description: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ linkTitle: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ link: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ showClose: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ closeLabel: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ close: (...args: any[]) => void;
38
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
39
+ type: {
40
+ type: PropType<DsNotificationType>;
41
+ default: "info";
42
+ };
43
+ position: {
44
+ type: PropType<DsNotificationPosition>;
45
+ default: "bottom-left";
46
+ };
47
+ title: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ description: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ linkTitle: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ link: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ showClose: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ closeLabel: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ }>> & Readonly<{
72
+ onClose?: ((...args: any[]) => any) | undefined;
73
+ }>, {
74
+ type: DsNotificationType;
75
+ link: string;
76
+ title: string;
77
+ closeLabel: string;
78
+ description: string;
79
+ position: DsNotificationPosition;
80
+ linkTitle: string;
81
+ showClose: boolean;
82
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsNotification } from './DsNotification.vue';
2
+ export * from './DsNotification.types';
@@ -0,0 +1,6 @@
1
+ export declare const DS_SPINNER_TONES: {
2
+ readonly DARK: "dark";
3
+ readonly LIGHT: "light";
4
+ readonly ACCENT: "accent";
5
+ };
6
+ export type DsSpinnerTone = (typeof DS_SPINNER_TONES)[keyof typeof DS_SPINNER_TONES];
@@ -1,34 +1,34 @@
1
1
  import { type PropType } from 'vue';
2
- import { type SqlSpinnerSize, type SqlSpinnerThemeMode } from './SqlSpinner.types';
2
+ import { type DsSpinnerTone } from './DsSpinner.types';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- type: {
5
- type: PropType<SqlSpinnerThemeMode>;
6
- default: "dark";
7
- };
8
4
  size: {
9
- type: PropType<SqlSpinnerSize>;
10
- default: "small";
5
+ type: NumberConstructor;
6
+ default: number;
7
+ };
8
+ tone: {
9
+ type: PropType<DsSpinnerTone>;
10
+ default: "dark";
11
11
  };
12
12
  label: {
13
13
  type: StringConstructor;
14
14
  default: string;
15
15
  };
16
16
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
- type: {
18
- type: PropType<SqlSpinnerThemeMode>;
19
- default: "dark";
20
- };
21
17
  size: {
22
- type: PropType<SqlSpinnerSize>;
23
- default: "small";
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ tone: {
22
+ type: PropType<DsSpinnerTone>;
23
+ default: "dark";
24
24
  };
25
25
  label: {
26
26
  type: StringConstructor;
27
27
  default: string;
28
28
  };
29
29
  }>> & Readonly<{}>, {
30
- type: SqlSpinnerThemeMode;
31
- size: SqlSpinnerSize;
30
+ size: number;
31
+ tone: DsSpinnerTone;
32
32
  label: string;
33
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
34
  export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsSpinner } from './DsSpinner.vue';
2
+ export * from './DsSpinner.types';
@@ -0,0 +1,16 @@
1
+ export declare const DS_TABLE_ALIGN: {
2
+ readonly LEFT: "left";
3
+ readonly CENTER: "center";
4
+ readonly RIGHT: "right";
5
+ };
6
+ export type DsTableAlign = (typeof DS_TABLE_ALIGN)[keyof typeof DS_TABLE_ALIGN];
7
+ export interface DsTableColumn {
8
+ key: string;
9
+ label: string;
10
+ align?: DsTableAlign;
11
+ width?: string;
12
+ }
13
+ export interface DsTableRow {
14
+ id: string | number;
15
+ [key: string]: unknown;
16
+ }
@@ -1,7 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
- import { type BasicTableColumn, type BasicTableRow } from './BasicTable.types';
2
+ import { type DsTableColumn, type DsTableRow } from './DsTable.types';
3
3
  declare var __VLS_1: {}, __VLS_4: `cell-${string}`, __VLS_5: {
4
- row: BasicTableRow;
4
+ row: DsTableRow;
5
5
  };
6
6
  type __VLS_Slots = {} & {
7
7
  [K in NonNullable<typeof __VLS_4>]?: (props: typeof __VLS_5) => any;
@@ -10,32 +10,41 @@ type __VLS_Slots = {} & {
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  columns: {
13
- type: PropType<BasicTableColumn[]>;
13
+ type: PropType<DsTableColumn[]>;
14
14
  required: true;
15
15
  };
16
16
  rows: {
17
- type: PropType<BasicTableRow[]>;
17
+ type: PropType<DsTableRow[]>;
18
18
  required: true;
19
19
  };
20
20
  emptyMessage: {
21
21
  type: StringConstructor;
22
22
  default: string;
23
23
  };
24
+ highlightRowId: {
25
+ type: PropType<string | number | null>;
26
+ default: null;
27
+ };
24
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
29
  columns: {
26
- type: PropType<BasicTableColumn[]>;
30
+ type: PropType<DsTableColumn[]>;
27
31
  required: true;
28
32
  };
29
33
  rows: {
30
- type: PropType<BasicTableRow[]>;
34
+ type: PropType<DsTableRow[]>;
31
35
  required: true;
32
36
  };
33
37
  emptyMessage: {
34
38
  type: StringConstructor;
35
39
  default: string;
36
40
  };
41
+ highlightRowId: {
42
+ type: PropType<string | number | null>;
43
+ default: null;
44
+ };
37
45
  }>> & Readonly<{}>, {
38
46
  emptyMessage: string;
47
+ highlightRowId: string | number | null;
39
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
49
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
41
50
  export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsTable } from './DsTable.vue';
2
+ export * from './DsTable.types';
@@ -0,0 +1,8 @@
1
+ export declare const DS_TAG_TONES: {
2
+ readonly DEFAULT: "default";
3
+ readonly SUCCESS: "success";
4
+ readonly INFO: "info";
5
+ readonly WARNING: "warning";
6
+ readonly ERROR: "error";
7
+ };
8
+ export type DsTagTone = (typeof DS_TAG_TONES)[keyof typeof DS_TAG_TONES];
@@ -0,0 +1,45 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsTagTone } from './DsTag.types';
3
+ declare var __VLS_1: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ tone: {
9
+ type: PropType<DsTagTone>;
10
+ default: "default";
11
+ };
12
+ rounded: BooleanConstructor;
13
+ closable: BooleanConstructor;
14
+ closeLabel: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ close: () => any;
20
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ tone: {
22
+ type: PropType<DsTagTone>;
23
+ default: "default";
24
+ };
25
+ rounded: BooleanConstructor;
26
+ closable: BooleanConstructor;
27
+ closeLabel: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ }>> & Readonly<{
32
+ onClose?: (() => any) | undefined;
33
+ }>, {
34
+ tone: DsTagTone;
35
+ rounded: boolean;
36
+ closable: boolean;
37
+ closeLabel: string;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
40
+ export default _default;
41
+ type __VLS_WithSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsTag } from './DsTag.vue';
2
+ export * from './DsTag.types';
@@ -0,0 +1,8 @@
1
+ export interface DsTextareaProps {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ rows?: number;
5
+ error?: boolean;
6
+ errorMessage?: string;
7
+ disabled?: boolean;
8
+ }
@@ -0,0 +1,70 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ placeholder: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ rows: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ disabled: BooleanConstructor;
11
+ error: BooleanConstructor;
12
+ errorMessage: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ name: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ id: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ modelValue: {
25
+ type: import("vue").PropType<string>;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ focus: (...args: any[]) => void;
29
+ blur: (...args: any[]) => void;
30
+ "update:modelValue": (value: string) => void;
31
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ placeholder: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ rows: {
37
+ type: NumberConstructor;
38
+ default: number;
39
+ };
40
+ disabled: BooleanConstructor;
41
+ error: BooleanConstructor;
42
+ errorMessage: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ name: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ id: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ modelValue: {
55
+ type: import("vue").PropType<string>;
56
+ };
57
+ }>> & Readonly<{
58
+ onFocus?: ((...args: any[]) => any) | undefined;
59
+ onBlur?: ((...args: any[]) => any) | undefined;
60
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
61
+ }>, {
62
+ disabled: boolean;
63
+ error: boolean;
64
+ id: string;
65
+ rows: number;
66
+ placeholder: string;
67
+ errorMessage: string;
68
+ name: string;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsTextarea } from './DsTextarea.vue';
2
+ export * from './DsTextarea.types';
@@ -0,0 +1,6 @@
1
+ export declare const DS_VERIFICATION_STATES: {
2
+ readonly VERIFIED: "verified";
3
+ readonly UNVERIFIED: "unverified";
4
+ readonly NEW: "new";
5
+ };
6
+ export type DsVerificationState = (typeof DS_VERIFICATION_STATES)[keyof typeof DS_VERIFICATION_STATES];
@@ -0,0 +1,52 @@
1
+ import { type PropType } from 'vue';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
+ verified: {
8
+ type: PropType<boolean | null>;
9
+ default: null;
10
+ };
11
+ isContactData: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ size: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ label: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ verified: {
25
+ type: PropType<boolean | null>;
26
+ default: null;
27
+ };
28
+ isContactData: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ size: {
33
+ type: NumberConstructor;
34
+ default: number;
35
+ };
36
+ label: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ }>> & Readonly<{}>, {
41
+ size: number;
42
+ label: string;
43
+ verified: boolean | null;
44
+ isContactData: boolean;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
46
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
47
+ export default _default;
48
+ type __VLS_WithSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsVerificationIcon } from './DsVerificationIcon.vue';
2
+ export * from './DsVerificationIcon.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesql/sql_components_vue3",
3
- "version": "0.3.1",
3
+ "version": "1.0.0",
4
4
  "description": "Librería de componentes Vue 3 (SalesQL)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -26,20 +26,20 @@
26
26
  "vue": "^3.5.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@histoire/plugin-vue": "1.0.0-alpha.3",
30
- "@vitejs/plugin-vue": "^6.0.1",
29
+ "@histoire/plugin-vue": "1.0.0-beta.1",
30
+ "@vitejs/plugin-vue": "6.0.1",
31
31
  "@vitest/coverage-v8": "^3.2.0",
32
32
  "@vue/test-utils": "^2.4.6",
33
33
  "flexsearch": "^0.8.212",
34
- "histoire": "1.0.0-alpha.3",
34
+ "histoire": "1.0.0-beta.1",
35
35
  "jsdom": "^26.1.0",
36
36
  "sass": "^1.93.2",
37
37
  "shiki": "^3.13.0",
38
- "vite": "^7.1.7",
38
+ "vite": "7.3.2",
39
39
  "vitest": "^3.2.0",
40
40
  "vscode-oniguruma": "^2.0.1",
41
41
  "vscode-textmate": "^9.2.0",
42
- "vue": "^3.5.0",
42
+ "vue": "3.5.39",
43
43
  "vue-tsc": "^2.2.12"
44
44
  },
45
45
  "publishConfig": {
@@ -1,16 +0,0 @@
1
- export declare const BASIC_TABLE_ALIGN: {
2
- readonly LEFT: "left";
3
- readonly CENTER: "center";
4
- readonly RIGHT: "right";
5
- };
6
- export type BasicTableAlign = (typeof BASIC_TABLE_ALIGN)[keyof typeof BASIC_TABLE_ALIGN];
7
- export interface BasicTableColumn {
8
- key: string;
9
- label: string;
10
- align?: BasicTableAlign;
11
- width?: string;
12
- }
13
- export interface BasicTableRow {
14
- id: string | number;
15
- [key: string]: unknown;
16
- }
@@ -1,2 +0,0 @@
1
- export { default as BasicTable } from './BasicTable.vue';
2
- export * from './BasicTable.types';
@@ -1,31 +0,0 @@
1
- export declare const SQL_BUTTON_TYPES: {
2
- readonly DEFAULT: "default";
3
- readonly PRIMARY: "primary";
4
- readonly SECONDARY: "secondary";
5
- readonly TERTIARY: "tertiary";
6
- readonly SPECIAL: "special";
7
- readonly SPECIAL2: "special2";
8
- readonly SPECIAL3: "special3";
9
- readonly DOTTED: "dotted";
10
- readonly DANGER: "danger";
11
- readonly GRADIENT: "gradient";
12
- };
13
- export type SqlButtonType = (typeof SQL_BUTTON_TYPES)[keyof typeof SQL_BUTTON_TYPES];
14
- export declare const SQL_BUTTON_SIZES: {
15
- readonly SMALL: "small";
16
- readonly SMALL_SQUARE: "small-square";
17
- readonly SMALL_SQUARE_NO_PADDING: "small-square-no-padding";
18
- readonly MEDIUM: "medium";
19
- readonly MEDIUM_SQUARE: "medium-square";
20
- readonly LARGE: "large";
21
- readonly LARGE_SQUARE: "large-square";
22
- readonly XLARGE: "xlarge";
23
- readonly XLARGE_SQUARE: "xlarge-square";
24
- };
25
- export type SqlButtonSize = (typeof SQL_BUTTON_SIZES)[keyof typeof SQL_BUTTON_SIZES];
26
- export declare const SQL_BUTTON_NATIVE_TYPES: {
27
- readonly BUTTON: "button";
28
- readonly SUBMIT: "submit";
29
- readonly RESET: "reset";
30
- };
31
- export type SqlButtonNativeType = (typeof SQL_BUTTON_NATIVE_TYPES)[keyof typeof SQL_BUTTON_NATIVE_TYPES];
@@ -1,75 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import { type SqlButtonNativeType, type SqlButtonSize, type SqlButtonType } from './SqlButton.types';
3
- declare var __VLS_5: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_5) => any;
6
- };
7
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- type: {
9
- type: PropType<SqlButtonType>;
10
- default: "default";
11
- };
12
- size: {
13
- type: PropType<SqlButtonSize>;
14
- default: "large";
15
- };
16
- nativeType: {
17
- type: PropType<SqlButtonNativeType>;
18
- default: "button";
19
- };
20
- selected: {
21
- type: PropType<boolean | null>;
22
- default: null;
23
- };
24
- loading: BooleanConstructor;
25
- disabled: BooleanConstructor;
26
- plain: BooleanConstructor;
27
- autofocus: BooleanConstructor;
28
- round: BooleanConstructor;
29
- circle: BooleanConstructor;
30
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
31
- click: (event: MouseEvent) => any;
32
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
- type: {
34
- type: PropType<SqlButtonType>;
35
- default: "default";
36
- };
37
- size: {
38
- type: PropType<SqlButtonSize>;
39
- default: "large";
40
- };
41
- nativeType: {
42
- type: PropType<SqlButtonNativeType>;
43
- default: "button";
44
- };
45
- selected: {
46
- type: PropType<boolean | null>;
47
- default: null;
48
- };
49
- loading: BooleanConstructor;
50
- disabled: BooleanConstructor;
51
- plain: BooleanConstructor;
52
- autofocus: BooleanConstructor;
53
- round: BooleanConstructor;
54
- circle: BooleanConstructor;
55
- }>> & Readonly<{
56
- onClick?: ((event: MouseEvent) => any) | undefined;
57
- }>, {
58
- type: SqlButtonType;
59
- size: SqlButtonSize;
60
- circle: boolean;
61
- nativeType: SqlButtonNativeType;
62
- selected: boolean | null;
63
- loading: boolean;
64
- disabled: boolean;
65
- plain: boolean;
66
- autofocus: boolean;
67
- round: boolean;
68
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
70
- export default _default;
71
- type __VLS_WithSlots<T, S> = T & {
72
- new (): {
73
- $slots: S;
74
- };
75
- };
@@ -1,2 +0,0 @@
1
- export { default as SqlButton } from './SqlButton.vue';
2
- export * from './SqlButton.types';
@@ -1,11 +0,0 @@
1
- export declare const SQL_SPINNER_THEME_MODES: {
2
- readonly LIGHT: "light";
3
- readonly DARK: "dark";
4
- };
5
- export type SqlSpinnerThemeMode = (typeof SQL_SPINNER_THEME_MODES)[keyof typeof SQL_SPINNER_THEME_MODES];
6
- export declare const SQL_SPINNER_SIZES: {
7
- readonly SMALL: "small";
8
- readonly MEDIUM: "medium";
9
- readonly LARGE: "large";
10
- };
11
- export type SqlSpinnerSize = (typeof SQL_SPINNER_SIZES)[keyof typeof SQL_SPINNER_SIZES];
@@ -1,2 +0,0 @@
1
- export { default as SqlSpinner } from './SqlSpinner.vue';
2
- export * from './SqlSpinner.types';