@komarcalabs/design-system 0.1.2 → 0.1.3
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/README.md +5 -0
- package/dist/index.js +79 -43
- package/dist/plugin-mUxynfRy.js +3064 -0
- package/dist/react/components/KmSkeleton.d.ts +16 -0
- package/dist/react/components/KmSkeleton.d.ts.map +1 -0
- package/dist/react/components/index.d.ts +1 -0
- package/dist/react/components/index.d.ts.map +1 -1
- package/dist/react.js +191 -149
- package/dist/skeleton-D8D5ibC2.js +664 -0
- package/dist/styles.css +1 -1
- package/dist/tokens.js +28 -17
- package/dist/treeview-C6_M73YM.js +641 -0
- package/dist/variants/alert.d.ts +201 -6
- package/dist/variants/alert.d.ts.map +1 -1
- package/dist/variants/checkbox.d.ts +133 -0
- package/dist/variants/checkbox.d.ts.map +1 -0
- package/dist/variants/index.d.ts +8 -0
- package/dist/variants/index.d.ts.map +1 -1
- package/dist/variants/pagination.d.ts +91 -0
- package/dist/variants/pagination.d.ts.map +1 -0
- package/dist/variants/radio.d.ts +143 -0
- package/dist/variants/radio.d.ts.map +1 -0
- package/dist/variants/select.d.ts +46 -1
- package/dist/variants/select.d.ts.map +1 -1
- package/dist/variants/skeleton.d.ts +64 -0
- package/dist/variants/skeleton.d.ts.map +1 -0
- package/dist/variants/table.d.ts +106 -0
- package/dist/variants/table.d.ts.map +1 -0
- package/dist/variants/tabs.d.ts +124 -0
- package/dist/variants/tabs.d.ts.map +1 -0
- package/dist/variants/toggleSwitch.d.ts +9 -0
- package/dist/variants/toggleSwitch.d.ts.map +1 -1
- package/dist/variants/treeview.d.ts +97 -0
- package/dist/variants/treeview.d.ts.map +1 -0
- package/dist/variants/typography.d.ts +377 -0
- package/dist/variants/typography.d.ts.map +1 -0
- package/dist/vue/components/KmAlert.vue.d.ts +16 -1
- package/dist/vue/components/KmAlert.vue.d.ts.map +1 -1
- package/dist/vue/components/KmBadge.vue.d.ts +2 -0
- package/dist/vue/components/KmBadge.vue.d.ts.map +1 -1
- package/dist/vue/components/KmButton.vue.d.ts +3 -1
- package/dist/vue/components/KmButton.vue.d.ts.map +1 -1
- package/dist/vue/components/KmCheckbox.vue.d.ts +45 -0
- package/dist/vue/components/KmCheckbox.vue.d.ts.map +1 -0
- package/dist/vue/components/KmDialog/KmDialog.vue.d.ts +2 -2
- package/dist/vue/components/KmDialog/KmDialog.vue.d.ts.map +1 -1
- package/dist/vue/components/KmFormControl.vue.d.ts +37 -0
- package/dist/vue/components/KmFormControl.vue.d.ts.map +1 -0
- package/dist/vue/components/KmHeading.vue.d.ts +34 -0
- package/dist/vue/components/KmHeading.vue.d.ts.map +1 -0
- package/dist/vue/components/KmHtml.vue.d.ts +32 -0
- package/dist/vue/components/KmHtml.vue.d.ts.map +1 -0
- package/dist/vue/components/KmInput.vue.d.ts +2 -0
- package/dist/vue/components/KmInput.vue.d.ts.map +1 -1
- package/dist/vue/components/KmPagination/KmPagination.vue.d.ts +53 -0
- package/dist/vue/components/KmPagination/KmPagination.vue.d.ts.map +1 -0
- package/dist/vue/components/KmPagination/index.d.ts +3 -0
- package/dist/vue/components/KmPagination/index.d.ts.map +1 -0
- package/dist/vue/components/KmPopover.vue.d.ts +141 -0
- package/dist/vue/components/KmPopover.vue.d.ts.map +1 -0
- package/dist/vue/components/KmRadio.vue.d.ts +47 -0
- package/dist/vue/components/KmRadio.vue.d.ts.map +1 -0
- package/dist/vue/components/KmRadioGroup.vue.d.ts +42 -0
- package/dist/vue/components/KmRadioGroup.vue.d.ts.map +1 -0
- package/dist/vue/components/KmScrollArea.vue.d.ts +60 -0
- package/dist/vue/components/KmScrollArea.vue.d.ts.map +1 -0
- package/dist/vue/components/KmSelect.vue.d.ts +66 -17
- package/dist/vue/components/KmSelect.vue.d.ts.map +1 -1
- package/dist/vue/components/KmSkeleton.vue.d.ts +38 -0
- package/dist/vue/components/KmSkeleton.vue.d.ts.map +1 -0
- package/dist/vue/components/KmStepper.vue.d.ts +8 -2
- package/dist/vue/components/KmStepper.vue.d.ts.map +1 -1
- package/dist/vue/components/KmTable/KmTable.vue.d.ts +39 -0
- package/dist/vue/components/KmTable/KmTable.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableBody.vue.d.ts +21 -0
- package/dist/vue/components/KmTable/KmTableBody.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableCaption.vue.d.ts +21 -0
- package/dist/vue/components/KmTable/KmTableCaption.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableCell.vue.d.ts +25 -0
- package/dist/vue/components/KmTable/KmTableCell.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableFooter.vue.d.ts +21 -0
- package/dist/vue/components/KmTable/KmTableFooter.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableHead.vue.d.ts +24 -0
- package/dist/vue/components/KmTable/KmTableHead.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableHeader.vue.d.ts +21 -0
- package/dist/vue/components/KmTable/KmTableHeader.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/KmTableRow.vue.d.ts +24 -0
- package/dist/vue/components/KmTable/KmTableRow.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTable/index.d.ts +17 -0
- package/dist/vue/components/KmTable/index.d.ts.map +1 -0
- package/dist/vue/components/KmTabs/KmTabs.vue.d.ts +45 -0
- package/dist/vue/components/KmTabs/KmTabs.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTabs/KmTabsContent.vue.d.ts +24 -0
- package/dist/vue/components/KmTabs/KmTabsContent.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTabs/KmTabsList.vue.d.ts +22 -0
- package/dist/vue/components/KmTabs/KmTabsList.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTabs/KmTabsTrigger.vue.d.ts +26 -0
- package/dist/vue/components/KmTabs/KmTabsTrigger.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTabs/index.d.ts +9 -0
- package/dist/vue/components/KmTabs/index.d.ts.map +1 -0
- package/dist/vue/components/KmText.vue.d.ts +43 -0
- package/dist/vue/components/KmText.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTextarea.vue.d.ts +2 -0
- package/dist/vue/components/KmTextarea.vue.d.ts.map +1 -1
- package/dist/vue/components/KmTreeview/KmTreeNode.vue.d.ts +37 -0
- package/dist/vue/components/KmTreeview/KmTreeNode.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTreeview/KmTreeview.vue.d.ts +48 -0
- package/dist/vue/components/KmTreeview/KmTreeview.vue.d.ts.map +1 -0
- package/dist/vue/components/KmTreeview/index.d.ts +5 -0
- package/dist/vue/components/KmTreeview/index.d.ts.map +1 -0
- package/dist/vue/components/KmTreeview/types.d.ts +11 -0
- package/dist/vue/components/KmTreeview/types.d.ts.map +1 -0
- package/dist/vue/components/index.d.ts +19 -0
- package/dist/vue/components/index.d.ts.map +1 -1
- package/dist/vue/plugin.d.ts.map +1 -1
- package/dist/vue.js +40 -15
- package/package.json +1 -1
- package/dist/carousel-D_f-K2v2.js +0 -83
- package/dist/plugin-DfFKi2ZR.js +0 -941
- package/dist/toggleSwitch-CpBXc_jq.js +0 -369
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmHtml.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmHtml.vue"],"names":[],"mappings":"AAqDA,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEjE,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;CAC5C,CAAC;AAkCJ,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAlGP,MAAM;;;eAIJ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM;QAHrC,MAAM;6EAwGb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
type?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
13
|
"update:modelValue": (value: string) => any;
|
|
@@ -15,6 +16,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
15
16
|
}>, {
|
|
16
17
|
disabled: boolean;
|
|
17
18
|
type: string;
|
|
19
|
+
required: boolean;
|
|
18
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
19
21
|
export default _default;
|
|
20
22
|
//# sourceMappingURL=KmInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KmInput.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KmInput.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmInput.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;;;;;;cAFW,OAAO;UADX,MAAM;cAEF,OAAO;;AA2LtB,wBASG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PaginationVariants } from '../../../variants';
|
|
2
|
+
export interface KmPaginationProps {
|
|
3
|
+
total: number;
|
|
4
|
+
itemsPerPage?: number;
|
|
5
|
+
siblingCount?: number;
|
|
6
|
+
showEdges?: boolean;
|
|
7
|
+
showInfo?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
size?: PaginationVariants["size"];
|
|
10
|
+
class?: string;
|
|
11
|
+
infoText?: string;
|
|
12
|
+
}
|
|
13
|
+
type __VLS_Props = KmPaginationProps;
|
|
14
|
+
type __VLS_PublicProps = {
|
|
15
|
+
modelValue?: number;
|
|
16
|
+
} & __VLS_Props;
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
info?(_: {
|
|
21
|
+
page: number;
|
|
22
|
+
total: number;
|
|
23
|
+
itemsPerPage: number;
|
|
24
|
+
}): any;
|
|
25
|
+
'first-icon'?(_: {}): any;
|
|
26
|
+
'prev-icon'?(_: {}): any;
|
|
27
|
+
'next-icon'?(_: {}): any;
|
|
28
|
+
'last-icon'?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {};
|
|
31
|
+
rootEl: any;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
"update:modelValue": (value: number) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
size: "sm" | "md" | "lg";
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
itemsPerPage: number;
|
|
42
|
+
siblingCount: number;
|
|
43
|
+
showEdges: boolean;
|
|
44
|
+
showInfo: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=KmPagination.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmPagination.vue.d.ts","sourceRoot":"","sources":["../../../../src/vue/components/KmPagination/KmPagination.vue"],"names":[],"mappings":"AAyLA,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAsCrC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAqOT,OAAO,IAA6B;;;;;;YAdxB,GAAG;8BACM,GAAG;6BACJ,GAAG;6BACH,GAAG;6BACH,GAAG;;;;EAepC;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;cAnTR,OAAO;kBAJH,MAAM;kBACN,MAAM;eACT,OAAO;cACR,OAAO;6EA6TlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/vue/components/KmPagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export type KmPopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
2
|
+
export interface KmPopoverProps {
|
|
3
|
+
/**
|
|
4
|
+
* Modo de activación del popover
|
|
5
|
+
* @default 'click'
|
|
6
|
+
*/
|
|
7
|
+
trigger?: 'click' | 'hover';
|
|
8
|
+
/**
|
|
9
|
+
* Posición del popover con soporte de sintaxis estándar ('top', 'bottom-end', etc.)
|
|
10
|
+
* @default 'bottom'
|
|
11
|
+
*/
|
|
12
|
+
placement?: KmPopoverPlacement;
|
|
13
|
+
/**
|
|
14
|
+
* Lado de anclaje (si no se usa placement)
|
|
15
|
+
*/
|
|
16
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
17
|
+
/**
|
|
18
|
+
* Alineación (si no se usa placement)
|
|
19
|
+
*/
|
|
20
|
+
align?: 'start' | 'center' | 'end';
|
|
21
|
+
/**
|
|
22
|
+
* Distancia en píxeles respecto al elemento trigger
|
|
23
|
+
* @default 8
|
|
24
|
+
*/
|
|
25
|
+
sideOffset?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Desplazamiento adicional en el eje alineado
|
|
28
|
+
* @default 0
|
|
29
|
+
*/
|
|
30
|
+
alignOffset?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Muestra la flecha apuntadora
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
arrow?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Padding mínimo de la flecha respecto a los bordes
|
|
38
|
+
* @default 10
|
|
39
|
+
*/
|
|
40
|
+
arrowPadding?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Retardo en ms para abrir en modo hover
|
|
43
|
+
* @default 150
|
|
44
|
+
*/
|
|
45
|
+
openDelay?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Retardo en ms para cerrar en modo hover
|
|
48
|
+
* @default 200
|
|
49
|
+
*/
|
|
50
|
+
closeDelay?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Si está deshabilitado
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Modo modal para atrapar el foco
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
modal?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Renderizar en un portal (body o contenedor)
|
|
63
|
+
* @default true
|
|
64
|
+
*/
|
|
65
|
+
portal?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Contenedor destino del portal (ej: '#app' o un elemento)
|
|
68
|
+
*/
|
|
69
|
+
to?: string | HTMLElement;
|
|
70
|
+
/**
|
|
71
|
+
* Clases adicionales para el contenedor del contenido
|
|
72
|
+
*/
|
|
73
|
+
contentClass?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Clases adicionales para la flecha
|
|
76
|
+
*/
|
|
77
|
+
arrowClass?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Controla el estado abierto/cerrado externamente
|
|
80
|
+
*/
|
|
81
|
+
open?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Estado inicial abierto
|
|
84
|
+
*/
|
|
85
|
+
defaultOpen?: boolean;
|
|
86
|
+
}
|
|
87
|
+
declare function __VLS_template(): {
|
|
88
|
+
attrs: Partial<{}>;
|
|
89
|
+
slots: Readonly<{
|
|
90
|
+
trigger(props: {
|
|
91
|
+
open: boolean;
|
|
92
|
+
}): any;
|
|
93
|
+
content(props: {
|
|
94
|
+
close: () => void;
|
|
95
|
+
open: boolean;
|
|
96
|
+
}): any;
|
|
97
|
+
default(props: {
|
|
98
|
+
close: () => void;
|
|
99
|
+
open: boolean;
|
|
100
|
+
}): any;
|
|
101
|
+
}> & {
|
|
102
|
+
trigger(props: {
|
|
103
|
+
open: boolean;
|
|
104
|
+
}): any;
|
|
105
|
+
content(props: {
|
|
106
|
+
close: () => void;
|
|
107
|
+
open: boolean;
|
|
108
|
+
}): any;
|
|
109
|
+
default(props: {
|
|
110
|
+
close: () => void;
|
|
111
|
+
open: boolean;
|
|
112
|
+
}): any;
|
|
113
|
+
};
|
|
114
|
+
refs: {};
|
|
115
|
+
rootEl: any;
|
|
116
|
+
};
|
|
117
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
118
|
+
declare const __VLS_component: import('vue').DefineComponent<KmPopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
119
|
+
"update:open": (value: boolean) => any;
|
|
120
|
+
}, string, import('vue').PublicProps, Readonly<KmPopoverProps> & Readonly<{
|
|
121
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
122
|
+
}>, {
|
|
123
|
+
disabled: boolean;
|
|
124
|
+
trigger: "click" | "hover";
|
|
125
|
+
modal: boolean;
|
|
126
|
+
portal: boolean;
|
|
127
|
+
sideOffset: number;
|
|
128
|
+
alignOffset: number;
|
|
129
|
+
arrowPadding: number;
|
|
130
|
+
arrow: boolean;
|
|
131
|
+
openDelay: number;
|
|
132
|
+
closeDelay: number;
|
|
133
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
134
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
135
|
+
export default _default;
|
|
136
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
+
new (): {
|
|
138
|
+
$slots: S;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
//# sourceMappingURL=KmPopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmPopover.vue"],"names":[],"mappings":"AAgSA,MAAM,MAAM,kBAAkB,GAC1B,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,kBAAkB,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EAAE,MAAM,IAAI,CAAC;YAAC,IAAI,EAAE,OAAO,CAAA;SAAE,GAAG,GAAG;uBAC1C;YAAE,KAAK,EAAE,MAAM,IAAI,CAAC;YAAC,IAAI,EAAE,OAAO,CAAA;SAAE,GAAG,GAAG;;;;EA6Q1D;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cAvYR,OAAO;aAhDR,OAAO,GAAG,OAAO;WAqDnB,OAAO;YAKN,OAAO;gBAxCH,MAAM;iBAKL,MAAM;kBAUL,MAAM;WALb,OAAO;eAUH,MAAM;gBAKL,MAAM;6EAoZnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { RadioVariants } from '../../variants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: any;
|
|
4
|
+
value: any;
|
|
5
|
+
label?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
name?: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
size?: RadioVariants["size"];
|
|
11
|
+
tone?: RadioVariants["tone"];
|
|
12
|
+
variant?: "default" | "card";
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
badge?(_: {}): any;
|
|
20
|
+
description?(_: {}): any;
|
|
21
|
+
description?(_: {}): any;
|
|
22
|
+
extra?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {};
|
|
25
|
+
rootEl: any;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
change: (value: any) => any;
|
|
30
|
+
"update:modelValue": (value: any) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onChange?: ((value: any) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
variant: "default" | "card";
|
|
36
|
+
tone: "primary" | "success" | "danger";
|
|
37
|
+
size: "sm" | "md" | "lg";
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=KmRadio.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmRadio.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmRadio.vue"],"names":[],"mappings":"AAsMA,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AAexB,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B,CAAC;AAkEJ,iBAAS,cAAc;WA4IT,OAAO,IAA6B;;yBAfrB,GAAG;yBAIH,GAAG;uBAHL,GAAG;6BACG,GAAG;6BAGH,GAAG;uBAFT,GAAG;;;;EAiB7B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;aAvOP,SAAS,GAAG,MAAM;;;cALjB,OAAO;6EAoPpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { RadioVariants } from '../../variants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: any;
|
|
4
|
+
name?: string;
|
|
5
|
+
direction?: "column" | "row";
|
|
6
|
+
gap?: "sm" | "md" | "lg";
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: RadioVariants["size"];
|
|
9
|
+
tone?: RadioVariants["tone"];
|
|
10
|
+
variant?: "default" | "card";
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
change: (value: any) => any;
|
|
23
|
+
"update:modelValue": (value: any) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onChange?: ((value: any) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
variant: "default" | "card";
|
|
29
|
+
tone: "primary" | "success" | "danger";
|
|
30
|
+
size: "sm" | "md" | "lg";
|
|
31
|
+
direction: "column" | "row";
|
|
32
|
+
gap: "sm" | "md" | "lg";
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=KmRadioGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmRadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmRadioGroup.vue"],"names":[],"mappings":"AA4EA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,GAAG,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B,CAAC;AAiEJ,iBAAS,cAAc;WAwBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;aA3GP,SAAS,GAAG,MAAM;;;eALhB,QAAQ,GAAG,KAAK;SACtB,IAAI,GAAG,IAAI,GAAG,IAAI;cACb,OAAO;wFAuHpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ScrollAreaRootProps } from 'reka-ui';
|
|
2
|
+
export interface KmScrollAreaProps extends /* @vue-ignore */ ScrollAreaRootProps {
|
|
3
|
+
/**
|
|
4
|
+
* Tipo de visibilidad del scrollbar
|
|
5
|
+
* @default 'auto'
|
|
6
|
+
*/
|
|
7
|
+
type?: 'auto' | 'always' | 'scroll' | 'hover';
|
|
8
|
+
/**
|
|
9
|
+
* Orientación del scroll
|
|
10
|
+
* @default 'vertical'
|
|
11
|
+
*/
|
|
12
|
+
orientation?: 'vertical' | 'horizontal' | 'both';
|
|
13
|
+
/**
|
|
14
|
+
* Altura máxima opcional (ej: '250px', '50vh', '100%')
|
|
15
|
+
*/
|
|
16
|
+
maxHeight?: string | number;
|
|
17
|
+
/**
|
|
18
|
+
* Altura fija opcional
|
|
19
|
+
*/
|
|
20
|
+
height?: string | number;
|
|
21
|
+
/**
|
|
22
|
+
* Ancho máximo opcional
|
|
23
|
+
*/
|
|
24
|
+
maxWidth?: string | number;
|
|
25
|
+
/**
|
|
26
|
+
* Clases adicionales para el viewport interno
|
|
27
|
+
*/
|
|
28
|
+
viewportClass?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Clases para el contenedor root
|
|
31
|
+
*/
|
|
32
|
+
class?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Grosor de la barra de scroll
|
|
35
|
+
* @default 'thin'
|
|
36
|
+
*/
|
|
37
|
+
size?: 'thin' | 'normal' | 'wide';
|
|
38
|
+
}
|
|
39
|
+
declare function __VLS_template(): {
|
|
40
|
+
attrs: Partial<{}>;
|
|
41
|
+
slots: {
|
|
42
|
+
default?(_: {}): any;
|
|
43
|
+
};
|
|
44
|
+
refs: {};
|
|
45
|
+
rootEl: any;
|
|
46
|
+
};
|
|
47
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
+
declare const __VLS_component: import('vue').DefineComponent<KmScrollAreaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KmScrollAreaProps> & Readonly<{}>, {
|
|
49
|
+
size: "thin" | "normal" | "wide";
|
|
50
|
+
orientation: "vertical" | "horizontal" | "both";
|
|
51
|
+
type: "auto" | "always" | "scroll" | "hover";
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=KmScrollArea.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmScrollAr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,24 +1,73 @@
|
|
|
1
|
+
import { SelectVariants } from '../../variants';
|
|
2
|
+
export interface KmSelectOption<V = string | number> {
|
|
3
|
+
label: string;
|
|
4
|
+
value: V;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
description?: string;
|
|
7
|
+
badge?: string;
|
|
8
|
+
icon?: any;
|
|
9
|
+
group?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface KmSelectProps<V = string | number> {
|
|
12
|
+
id?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
modelValue?: V | "" | null;
|
|
15
|
+
options: Array<KmSelectOption<V> | string | number>;
|
|
16
|
+
label?: string;
|
|
17
|
+
hint?: string;
|
|
18
|
+
error?: string;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
size?: SelectVariants["size"];
|
|
23
|
+
variant?: SelectVariants["variant"];
|
|
24
|
+
searchable?: boolean;
|
|
25
|
+
searchPlaceholder?: string;
|
|
26
|
+
clearable?: boolean;
|
|
27
|
+
portal?: boolean;
|
|
28
|
+
to?: string | HTMLElement;
|
|
29
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
30
|
+
align?: "start" | "center" | "end";
|
|
31
|
+
sideOffset?: number;
|
|
32
|
+
tabindex?: number | string;
|
|
33
|
+
autofocus?: boolean;
|
|
34
|
+
triggerClass?: string;
|
|
35
|
+
contentClass?: string;
|
|
36
|
+
itemClass?: string;
|
|
37
|
+
}
|
|
1
38
|
declare const _default: <T extends string | number = string>(__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<{
|
|
2
39
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
40
|
+
readonly onChange?: ((value: "" | T) => any) | undefined;
|
|
3
41
|
readonly "onUpdate:modelValue"?: ((value: "" | T) => any) | undefined;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
label?: string;
|
|
13
|
-
hint?: string;
|
|
14
|
-
error?: string;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
} & Partial<{}>> & import('vue').PublicProps;
|
|
18
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
42
|
+
readonly onClear?: (() => any) | undefined;
|
|
43
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue" | "onClear"> & KmSelectProps<T> & Partial<{}>> & import('vue').PublicProps;
|
|
44
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
45
|
+
focus: (options?: FocusOptions) => void;
|
|
46
|
+
blur: () => void;
|
|
47
|
+
}>): void;
|
|
19
48
|
attrs: any;
|
|
20
|
-
slots: {
|
|
21
|
-
|
|
49
|
+
slots: {
|
|
50
|
+
prefix?(_: {}): any;
|
|
51
|
+
trigger?(_: {
|
|
52
|
+
selectedOption: KmSelectOption<T> | undefined;
|
|
53
|
+
placeholder: string | undefined;
|
|
54
|
+
}): any;
|
|
55
|
+
icon?(_: {}): any;
|
|
56
|
+
empty?(_: {}): any;
|
|
57
|
+
item?(_: {
|
|
58
|
+
option: KmSelectOption<T>;
|
|
59
|
+
selected: boolean;
|
|
60
|
+
}): any;
|
|
61
|
+
item?(_: {
|
|
62
|
+
option: KmSelectOption<T>;
|
|
63
|
+
selected: boolean;
|
|
64
|
+
}): any;
|
|
65
|
+
item?(_: {
|
|
66
|
+
option: KmSelectOption<T>;
|
|
67
|
+
selected: boolean;
|
|
68
|
+
}): any;
|
|
69
|
+
};
|
|
70
|
+
emit: ((evt: "change", value: "" | T) => void) & ((evt: "update:modelValue", value: "" | T) => void) & ((evt: "clear") => void);
|
|
22
71
|
}>) => import('vue').VNode & {
|
|
23
72
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
73
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KmSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KmSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmSelect.vue"],"names":[],"mappings":"AAshBA,OAAO,EAAiC,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGpF,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM;IAChD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAA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;EA4D3B,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAt3BzE,wBAs3B4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SkeletonVariants } from '../../variants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
as?: string;
|
|
4
|
+
variant?: SkeletonVariants["variant"];
|
|
5
|
+
tone?: SkeletonVariants["tone"];
|
|
6
|
+
animation?: SkeletonVariants["animation"];
|
|
7
|
+
width?: string | number;
|
|
8
|
+
height?: string | number;
|
|
9
|
+
rounded?: string;
|
|
10
|
+
count?: number;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
class?: any;
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
variant: "default" | "text" | "circular" | "pill" | "rounded" | "card" | "rectangular";
|
|
25
|
+
tone: "muted" | "subtle" | "default";
|
|
26
|
+
loading: boolean;
|
|
27
|
+
animation: "none" | "pulse" | "wave";
|
|
28
|
+
as: string;
|
|
29
|
+
count: number;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=KmSkeleton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmSkeleton.vue"],"names":[],"mappings":"AAoFA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAMzE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAgDJ,iBAAS,cAAc;WA0DT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;aA9HP,OAAO;;QARZ,MAAM;WAOH,MAAM;6EAsIhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface Step {
|
|
1
|
+
export interface Step {
|
|
2
2
|
title: string;
|
|
3
3
|
description?: string;
|
|
4
4
|
}
|
|
@@ -10,7 +10,13 @@ type __VLS_Props = {
|
|
|
10
10
|
mobileLayout?: "circular" | "horizontal";
|
|
11
11
|
mobileLabel?: string;
|
|
12
12
|
};
|
|
13
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
"step-click": (stepIndex: number) => any;
|
|
15
|
+
"update:currentStep": (stepIndex: number) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onStep-click"?: ((stepIndex: number) => any) | undefined;
|
|
18
|
+
"onUpdate:currentStep"?: ((stepIndex: number) => any) | undefined;
|
|
19
|
+
}>, {
|
|
14
20
|
mobileLabel: string;
|
|
15
21
|
orientation: "vertical" | "horizontal";
|
|
16
22
|
mode: "desktop" | "mobile" | "auto";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KmStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmStepper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KmStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/KmStepper.vue"],"names":[],"mappings":"AA2RA,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACrC,YAAY,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;;;;;;;;iBADc,MAAM;iBAHN,UAAU,GAAG,YAAY;UAChC,SAAS,GAAG,QAAQ,GAAG,MAAM;kBACrB,UAAU,GAAG,YAAY;;;;AAkX5C,wBAUG"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { tableVariants } from '../../../variants';
|
|
2
|
+
export interface KmTableProps {
|
|
3
|
+
dense?: boolean;
|
|
4
|
+
striped?: boolean;
|
|
5
|
+
hoverable?: boolean;
|
|
6
|
+
bordered?: boolean;
|
|
7
|
+
wrapperClass?: string;
|
|
8
|
+
class?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface KmTableContext {
|
|
11
|
+
dense: boolean;
|
|
12
|
+
striped: boolean;
|
|
13
|
+
hoverable: boolean;
|
|
14
|
+
bordered: boolean;
|
|
15
|
+
styles: ReturnType<typeof tableVariants>;
|
|
16
|
+
}
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<KmTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KmTableProps> & Readonly<{}>, {
|
|
27
|
+
dense: boolean;
|
|
28
|
+
striped: boolean;
|
|
29
|
+
hoverable: boolean;
|
|
30
|
+
bordered: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=KmTable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KmTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/vue/components/KmTable/KmTable.vue"],"names":[],"mappings":"AAkEA,OAAO,EAAE,aAAa,EAAsB,MAAM,mBAAmB,CAAC;AAEtE,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAmBD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;CAC1C;AA4BD,iBAAS,cAAc;WA0BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WArGX,OAAO;aACL,OAAO;eACL,OAAO;cACR,OAAO;wFA0GlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface KmTableBodyProps {
|
|
2
|
+
class?: string;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLTableSectionElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<KmTableBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KmTableBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=KmTableBody.vue.d.ts.map
|