bonkers-ui 1.0.64 → 1.0.66
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/CONSTANTS.d.ts +1 -0
- package/CONSTANTS.d.ts.map +1 -0
- package/LICENCE +21 -0
- package/_utils/debounce.d.ts +2 -0
- package/_utils/debounce.d.ts.map +1 -0
- package/_utils/debounce.js +12 -0
- package/_utils/debounce.js.map +1 -0
- package/bonkers-ui.umd.js +3 -3
- package/bonkers-ui.umd.js.map +1 -1
- package/components/ui-alert/_types.d.ts +1 -0
- package/components/ui-alert/_types.d.ts.map +1 -0
- package/components/ui-alert/index.d.ts +8 -6
- package/components/ui-alert/index.d.ts.map +1 -0
- package/components/ui-alert/ui-alert.vue.d.ts +7 -5
- package/components/ui-alert/ui-alert.vue.d.ts.map +1 -0
- package/components/ui-badge/_typings.d.ts +1 -0
- package/components/ui-badge/_typings.d.ts.map +1 -0
- package/components/ui-badge/index.d.ts +8 -18
- package/components/ui-badge/index.d.ts.map +1 -0
- package/components/ui-badge/ui-badge.vue.d.ts +7 -7
- package/components/ui-badge/ui-badge.vue.d.ts.map +1 -0
- package/components/ui-badge/ui-badge.vue.js +33 -37
- package/components/ui-badge/ui-badge.vue.js.map +1 -1
- package/components/ui-ber-rank/_types.d.ts +3 -1
- package/components/ui-ber-rank/_types.d.ts.map +1 -0
- package/components/ui-ber-rank/index.d.ts +6 -4
- package/components/ui-ber-rank/index.d.ts.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +5 -3
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.js +6 -6
- package/components/ui-ber-rank/ui-ber-rank.vue.js.map +1 -1
- package/components/ui-button/_typings.d.ts +1 -0
- package/components/ui-button/_typings.d.ts.map +1 -0
- package/components/ui-button/index.d.ts +8 -6
- package/components/ui-button/index.d.ts.map +1 -0
- package/components/ui-button/ui-button.vue.d.ts +6 -4
- package/components/ui-button/ui-button.vue.d.ts.map +1 -0
- package/components/ui-card-cta/index.d.ts +7 -5
- package/components/ui-card-cta/index.d.ts.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +6 -4
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -0
- package/components/ui-card-result/index.d.ts +7 -5
- package/components/ui-card-result/index.d.ts.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.d.ts +4 -3
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.js +5 -5
- package/components/ui-card-result/ui-card-result.vue2.js +18 -18
- package/components/ui-card-simple/index.d.ts +6 -4
- package/components/ui-card-simple/index.d.ts.map +1 -0
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +3 -2
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -0
- package/components/ui-checkbox/index.d.ts +13 -11
- package/components/ui-checkbox/index.d.ts.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +8 -6
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.js +2 -2
- package/components/ui-checkbox/ui-checkbox.vue2.js +8 -8
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -1
- package/components/ui-dropdown/_typings.d.ts +1 -0
- package/components/ui-dropdown/_typings.d.ts.map +1 -0
- package/components/ui-dropdown/index.d.ts +8 -6
- package/components/ui-dropdown/index.d.ts.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +7 -5
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.js +45 -43
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
- package/components/ui-icon/_typings.d.ts +1 -0
- package/components/ui-icon/_typings.d.ts.map +1 -0
- package/components/ui-icon/index.d.ts +8 -6
- package/components/ui-icon/index.d.ts.map +1 -0
- package/components/ui-icon/ui-icon.vue.d.ts +6 -4
- package/components/ui-icon/ui-icon.vue.d.ts.map +1 -0
- package/components/ui-icon/ui-icon.vue.js +15 -15
- package/components/ui-icon-wrapper/_typings.d.ts +1 -0
- package/components/ui-icon-wrapper/_typings.d.ts.map +1 -0
- package/components/ui-icon-wrapper/index.d.ts +8 -6
- package/components/ui-icon-wrapper/index.d.ts.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +6 -4
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +3 -3
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +3 -3
- package/components/ui-input/_typings.d.ts +1 -0
- package/components/ui-input/_typings.d.ts.map +1 -0
- package/components/ui-input/index.d.ts +15 -6
- package/components/ui-input/index.d.ts.map +1 -0
- package/components/ui-input/ui-input.vue.d.ts +9 -4
- package/components/ui-input/ui-input.vue.d.ts.map +1 -0
- package/components/ui-input/ui-input.vue.js +29 -25
- package/components/ui-input/ui-input.vue.js.map +1 -1
- package/components/ui-input-range/index.d.ts +7 -5
- package/components/ui-input-range/index.d.ts.map +1 -0
- package/components/ui-input-range/ui-input-range.vue.d.ts +5 -4
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -0
- package/components/ui-input-range/ui-input-range.vue.js +2 -2
- package/components/ui-input-range/ui-input-range.vue2.js +19 -19
- package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
- package/components/ui-list-item/_types.d.ts +1 -0
- package/components/ui-list-item/_types.d.ts.map +1 -0
- package/components/ui-list-item/index.d.ts +8 -6
- package/components/ui-list-item/index.d.ts.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.d.ts +7 -5
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.js +14 -14
- package/components/ui-modal/_typings.d.ts +1 -0
- package/components/ui-modal/_typings.d.ts.map +1 -0
- package/components/ui-modal/index.d.ts +8 -6
- package/components/ui-modal/index.d.ts.map +1 -0
- package/components/ui-modal/ui-backdrop/index.d.ts +6 -4
- package/components/ui-modal/ui-backdrop/index.d.ts.map +1 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +3 -2
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -0
- package/components/ui-modal/ui-modal.vue.d.ts +6 -4
- package/components/ui-modal/ui-modal.vue.d.ts.map +1 -0
- package/components/ui-notification-badge/_types.d.ts +1 -0
- package/components/ui-notification-badge/_types.d.ts.map +1 -0
- package/components/ui-notification-badge/index.d.ts +8 -6
- package/components/ui-notification-badge/index.d.ts.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +6 -4
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -0
- package/components/ui-order-card/_types.d.ts +1 -0
- package/components/ui-order-card/_types.d.ts.map +1 -0
- package/components/ui-order-card/index.d.ts +7 -5
- package/components/ui-order-card/index.d.ts.map +1 -0
- package/components/ui-order-card/ui-order-card.vue.d.ts +7 -5
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -0
- package/components/ui-plain-radio/index.d.ts +7 -5
- package/components/ui-plain-radio/index.d.ts.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +4 -3
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
- package/components/ui-progress/_types.d.ts +1 -0
- package/components/ui-progress/_types.d.ts.map +1 -0
- package/components/ui-progress/index.d.ts +5 -3
- package/components/ui-progress/index.d.ts.map +1 -0
- package/components/ui-progress/ui-progress.vue.d.ts +3 -2
- package/components/ui-progress/ui-progress.vue.d.ts.map +1 -0
- package/components/ui-radio/index.d.ts +7 -5
- package/components/ui-radio/index.d.ts.map +1 -0
- package/components/ui-radio/ui-radio.vue.d.ts +6 -4
- package/components/ui-radio/ui-radio.vue.d.ts.map +1 -0
- package/components/ui-radio/ui-radio.vue.js +2 -2
- package/components/ui-radio/ui-radio.vue2.js +12 -12
- package/components/ui-radio/ui-radio.vue2.js.map +1 -1
- package/components/ui-radio-compact/index.d.ts +11 -6
- package/components/ui-radio-compact/index.d.ts.map +1 -0
- package/components/ui-radio-compact/index.js.map +1 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +4 -3
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -0
- package/components/ui-radio-fancy/_typings.d.ts +1 -0
- package/components/ui-radio-fancy/_typings.d.ts.map +1 -0
- package/components/ui-radio-fancy/index.d.ts +7 -5
- package/components/ui-radio-fancy/index.d.ts.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +7 -5
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +15 -15
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
- package/components/ui-result-card-range/_types.d.ts +1 -0
- package/components/ui-result-card-range/_types.d.ts.map +1 -0
- package/components/ui-result-card-range/index.d.ts +7 -29
- package/components/ui-result-card-range/index.d.ts.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +6 -8
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.js +9 -11
- package/components/ui-result-card-range/ui-result-card-range.vue.js.map +1 -1
- package/components/ui-ripple/index.d.ts +6 -4
- package/components/ui-ripple/index.d.ts.map +1 -0
- package/components/ui-ripple/ui-ripple.vue.d.ts +3 -2
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -0
- package/components/ui-select/index.d.ts +7 -5
- package/components/ui-select/index.d.ts.map +1 -0
- package/components/ui-select/ui-select.vue.d.ts +4 -3
- package/components/ui-select/ui-select.vue.d.ts.map +1 -0
- package/components/ui-skeleton/_typings.d.ts +1 -0
- package/components/ui-skeleton/_typings.d.ts.map +1 -0
- package/components/ui-skeleton/index.d.ts +5 -3
- package/components/ui-skeleton/index.d.ts.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +5 -3
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -0
- package/components/ui-snackbar/_types.d.ts +1 -0
- package/components/ui-snackbar/_types.d.ts.map +1 -0
- package/components/ui-snackbar/index.d.ts +8 -6
- package/components/ui-snackbar/index.d.ts.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +6 -4
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -0
- package/components/ui-table/_types.d.ts +1 -0
- package/components/ui-table/_types.d.ts.map +1 -0
- package/components/ui-table/index.d.ts +11 -9
- package/components/ui-table/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-cell/index.d.ts +7 -5
- package/components/ui-table/ui-table-cell/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +6 -4
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -0
- package/components/ui-table/ui-table-row/_typings.d.ts +1 -0
- package/components/ui-table/ui-table-row/_typings.d.ts.map +1 -0
- package/components/ui-table/ui-table-row/index.d.ts +8 -6
- package/components/ui-table/ui-table-row/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +6 -4
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -0
- package/components/ui-table/ui-table.vue.d.ts +6 -4
- package/components/ui-table/ui-table.vue.d.ts.map +1 -0
- package/components/ui-tabs/index.d.ts +5 -3
- package/components/ui-tabs/index.d.ts.map +1 -0
- package/components/ui-tabs/ui-tabs.vue.d.ts +3 -2
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -0
- package/components/ui-toggle/index.d.ts +13 -11
- package/components/ui-toggle/index.d.ts.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.d.ts +6 -5
- package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.js +3 -3
- package/components/ui-toggle/ui-toggle.vue2.js +10 -10
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
- package/components/ui-typography/_typings.d.ts +1 -0
- package/components/ui-typography/_typings.d.ts.map +1 -0
- package/components/ui-typography/index.d.ts +9 -7
- package/components/ui-typography/index.d.ts.map +1 -0
- package/components/ui-typography/ui-typography.vue.d.ts +7 -5
- package/components/ui-typography/ui-typography.vue.d.ts.map +1 -0
- package/components/ui-verification-input/index.d.ts +7 -5
- package/components/ui-verification-input/index.d.ts.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +4 -3
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -0
- package/index.d.ts +38 -36
- package/index.d.ts.map +1 -0
- package/index.js +117 -116
- package/index.js.map +1 -1
- package/package.json +40 -38
- package/types.d.ts +21 -20
- package/types.d.ts.map +1 -0
- package/types.js +6 -6
- package/postcss.config.js +0 -8
- package/tsconfig.json +0 -56
- package/tsconfig.node.json +0 -12
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { EAlertTypes } from './_types';
|
|
3
|
+
import { TIconName } from '../ui-icon';
|
|
4
|
+
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
6
|
icon: TIconName;
|
|
6
7
|
kind?: EAlertTypes | undefined;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
9
|
icon: TIconName;
|
|
9
10
|
kind?: EAlertTypes | undefined;
|
|
10
11
|
}>>>, {}, {}>, {
|
|
@@ -25,3 +26,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
25
26
|
$slots: S;
|
|
26
27
|
};
|
|
27
28
|
};
|
|
29
|
+
//# sourceMappingURL=ui-alert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-alert/ui-alert.vue"],"names":[],"mappings":"AA4BA;AAGC,OAAe,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;AAgIxC,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_typings.d.ts","sourceRoot":"","sources":["../../../src/components/ui-badge/_typings.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CACf;AAED,oBAAY,UAAU;IACrB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CACjB"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { TIconName } from '../ui-icon';
|
|
2
2
|
import { EBadgeSize, EBadgeKind } from './_typings';
|
|
3
3
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
4
|
-
import UiBadge from
|
|
4
|
+
import { default as UiBadge } from './ui-badge.vue';
|
|
5
|
+
|
|
5
6
|
export { UiBadge };
|
|
6
7
|
/**
|
|
7
8
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
8
9
|
*/
|
|
9
10
|
declare const deprecatedDefault: {
|
|
10
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
11
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
12
|
size: {
|
|
12
13
|
type: PropType<EBadgeSize>;
|
|
13
14
|
};
|
|
@@ -17,10 +18,7 @@ declare const deprecatedDefault: {
|
|
|
17
18
|
icon: {
|
|
18
19
|
type: PropType<TIconName>;
|
|
19
20
|
};
|
|
20
|
-
|
|
21
|
-
type: PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
21
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
24
22
|
size: {
|
|
25
23
|
type: PropType<EBadgeSize>;
|
|
26
24
|
};
|
|
@@ -30,9 +28,6 @@ declare const deprecatedDefault: {
|
|
|
30
28
|
icon: {
|
|
31
29
|
type: PropType<TIconName>;
|
|
32
30
|
};
|
|
33
|
-
elipsis: {
|
|
34
|
-
type: PropType<boolean>;
|
|
35
|
-
};
|
|
36
31
|
}>>, {}, true, {}, {}, {
|
|
37
32
|
P: {};
|
|
38
33
|
B: {};
|
|
@@ -40,7 +35,7 @@ declare const deprecatedDefault: {
|
|
|
40
35
|
C: {};
|
|
41
36
|
M: {};
|
|
42
37
|
Defaults: {};
|
|
43
|
-
}, Readonly<ExtractPropTypes<{
|
|
38
|
+
}, Readonly< ExtractPropTypes<{
|
|
44
39
|
size: {
|
|
45
40
|
type: PropType<EBadgeSize>;
|
|
46
41
|
};
|
|
@@ -50,14 +45,11 @@ declare const deprecatedDefault: {
|
|
|
50
45
|
icon: {
|
|
51
46
|
type: PropType<TIconName>;
|
|
52
47
|
};
|
|
53
|
-
elipsis: {
|
|
54
|
-
type: PropType<boolean>;
|
|
55
|
-
};
|
|
56
48
|
}>>, {}, {}, {}, {}, {}>;
|
|
57
49
|
__isFragment?: undefined;
|
|
58
50
|
__isTeleport?: undefined;
|
|
59
51
|
__isSuspense?: undefined;
|
|
60
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
52
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
61
53
|
size: {
|
|
62
54
|
type: PropType<EBadgeSize>;
|
|
63
55
|
};
|
|
@@ -67,13 +59,11 @@ declare const deprecatedDefault: {
|
|
|
67
59
|
icon: {
|
|
68
60
|
type: PropType<TIconName>;
|
|
69
61
|
};
|
|
70
|
-
elipsis: {
|
|
71
|
-
type: PropType<boolean>;
|
|
72
|
-
};
|
|
73
62
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
74
63
|
$slots: {
|
|
75
64
|
default?(_: {}): any;
|
|
76
65
|
};
|
|
77
66
|
});
|
|
78
67
|
export default deprecatedDefault;
|
|
79
|
-
export { EBadgeKind, EBadgeSize } from
|
|
68
|
+
export { EBadgeKind, EBadgeSize } from './_typings';
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAU,CAAC;AAClC,eAAe,iBAAiB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { TIconName } from '../ui-icon';
|
|
3
|
+
import { EBadgeKind, EBadgeSize } from './_typings';
|
|
4
|
+
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
6
|
size?: EBadgeSize | undefined;
|
|
6
7
|
kind?: EBadgeKind | undefined;
|
|
7
8
|
icon?: TIconName | undefined;
|
|
8
|
-
|
|
9
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
size?: EBadgeSize | undefined;
|
|
11
11
|
kind?: EBadgeKind | undefined;
|
|
12
12
|
icon?: TIconName | undefined;
|
|
13
|
-
elipsis?: boolean | undefined;
|
|
14
13
|
}>>>, {}, {}>, {
|
|
15
14
|
default?(_: {}): any;
|
|
16
15
|
}>;
|
|
@@ -29,3 +28,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
29
28
|
$slots: S;
|
|
30
29
|
};
|
|
31
30
|
};
|
|
31
|
+
//# sourceMappingURL=ui-badge.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-badge/ui-badge.vue"],"names":[],"mappings":"AAgCA;AAGC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAe,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;AA8JrD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,62 +1,58 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { EBadgeSize as
|
|
1
|
+
import { defineComponent as m, useSlots as f, computed as z, openBlock as o, createElementBlock as g, createElementVNode as s, createBlock as a, unref as t, createCommentVNode as l, withCtx as h, renderSlot as S, normalizeClass as k } from "vue";
|
|
2
|
+
import { EBadgeSize as r, EBadgeKind as i } from "./_typings.js";
|
|
3
3
|
import E from "../ui-icon/index.js";
|
|
4
|
-
import { ESize as
|
|
5
|
-
import
|
|
6
|
-
import { ETypographySizes as
|
|
7
|
-
const
|
|
4
|
+
import { ESize as v } from "../../_types/sizing.js";
|
|
5
|
+
import b from "../ui-typography/index.js";
|
|
6
|
+
import { ETypographySizes as n } from "../ui-typography/_typings.js";
|
|
7
|
+
const w = { class: "ui-badge relative overflow-hidden text-white" }, y = { class: "relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs" }, D = /* @__PURE__ */ m({
|
|
8
8
|
__name: "ui-badge",
|
|
9
9
|
props: {
|
|
10
10
|
size: {},
|
|
11
11
|
kind: {},
|
|
12
|
-
icon: {}
|
|
13
|
-
elipsis: { type: Boolean }
|
|
12
|
+
icon: {}
|
|
14
13
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
switch (
|
|
18
|
-
case
|
|
19
|
-
return
|
|
20
|
-
case
|
|
21
|
-
return
|
|
22
|
-
case
|
|
14
|
+
setup(d) {
|
|
15
|
+
const c = d, u = f(), p = z(() => {
|
|
16
|
+
switch (c.size) {
|
|
17
|
+
case r.MEDIUM:
|
|
18
|
+
return n.XS;
|
|
19
|
+
case r.LARGE:
|
|
20
|
+
return n.SM;
|
|
21
|
+
case r.SMALL:
|
|
23
22
|
default:
|
|
24
|
-
return
|
|
23
|
+
return n.XXS;
|
|
25
24
|
}
|
|
26
25
|
});
|
|
27
|
-
return (e,
|
|
28
|
-
|
|
29
|
-
e.icon ? (
|
|
26
|
+
return (e, B) => (o(), g("div", w, [
|
|
27
|
+
s("div", y, [
|
|
28
|
+
e.icon ? (o(), a(t(E), {
|
|
30
29
|
key: 0,
|
|
31
|
-
size: t(
|
|
30
|
+
size: t(v).SM,
|
|
32
31
|
"icon-name": e.icon
|
|
33
|
-
}, null, 8, ["size", "icon-name"])) :
|
|
34
|
-
t(u).default ? (
|
|
32
|
+
}, null, 8, ["size", "icon-name"])) : l("", !0),
|
|
33
|
+
t(u).default ? (o(), a(t(b), {
|
|
35
34
|
key: 1,
|
|
36
|
-
size:
|
|
37
|
-
class:
|
|
38
|
-
e.elipsis && "overflow-hidden text-ellipsis"
|
|
39
|
-
]]),
|
|
35
|
+
size: p.value,
|
|
36
|
+
class: "whitespace-nowrap",
|
|
40
37
|
"line-height": ""
|
|
41
38
|
}, {
|
|
42
|
-
default:
|
|
43
|
-
|
|
39
|
+
default: h(() => [
|
|
40
|
+
S(e.$slots, "default")
|
|
44
41
|
]),
|
|
45
42
|
_: 3
|
|
46
|
-
}, 8, ["size"
|
|
43
|
+
}, 8, ["size"])) : l("", !0)
|
|
47
44
|
]),
|
|
48
|
-
|
|
49
|
-
class:
|
|
50
|
-
(!e.kind || e.kind === t(
|
|
51
|
-
e.kind === t(
|
|
52
|
-
e.kind === t(
|
|
53
|
-
e.elipsis && "max-w-full"
|
|
45
|
+
s("div", {
|
|
46
|
+
class: k(["absolute left-0 top-0 size-full rounded-full", [
|
|
47
|
+
(!e.kind || e.kind === t(i).PRIMARY) && "bg-primary-600",
|
|
48
|
+
e.kind === t(i).ERROR && "bg-error-600",
|
|
49
|
+
e.kind === t(i).ACCENT && "bg-accent-600"
|
|
54
50
|
]])
|
|
55
51
|
}, null, 2)
|
|
56
52
|
]));
|
|
57
53
|
}
|
|
58
54
|
});
|
|
59
55
|
export {
|
|
60
|
-
|
|
56
|
+
D as default
|
|
61
57
|
};
|
|
62
58
|
//# sourceMappingURL=ui-badge.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-badge.vue.js","sources":["../../../src/components/ui-badge/ui-badge.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-badge relative overflow-hidden text-white\"\n\t>\n\t\t<div class=\"relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs\">\n\t\t\t<ui-icon\n\t\t\t\tv-if=\"icon\"\n\t\t\t\t:size=\"ESize.SM\"\n\t\t\t\t:icon-name=\"icon\"\n\t\t\t/>\n\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"slots.default\"\n\t\t\t\t:size=\"getBadgeSize\"\n\t\t\t\tclass=\"whitespace-nowrap\"\n\t\t\t\tline-height\n\t\t\t
|
|
1
|
+
{"version":3,"file":"ui-badge.vue.js","sources":["../../../src/components/ui-badge/ui-badge.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-badge relative overflow-hidden text-white\"\n\t>\n\t\t<div class=\"relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs\">\n\t\t\t<ui-icon\n\t\t\t\tv-if=\"icon\"\n\t\t\t\t:size=\"ESize.SM\"\n\t\t\t\t:icon-name=\"icon\"\n\t\t\t/>\n\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"slots.default\"\n\t\t\t\t:size=\"getBadgeSize\"\n\t\t\t\tclass=\"whitespace-nowrap\"\n\t\t\t\tline-height\n\t\t\t>\n\t\t\t\t<slot name=\"default\" />\n\t\t\t</ui-typography>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"absolute left-0 top-0 size-full rounded-full\"\n\t\t\t:class=\"[\n\t\t\t\t(!kind || kind === EBadgeKind.PRIMARY) && 'bg-primary-600',\n\n\t\t\t\tkind === EBadgeKind.ERROR && 'bg-error-600',\n\t\t\t\tkind === EBadgeKind.ACCENT && 'bg-accent-600',\n\t\t\t]\"\n\t\t/>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, useSlots } from \"vue\";\n\timport { EBadgeKind, EBadgeSize } from \"./_typings\";\n\timport UiIcon, { type TIconName } from \"../ui-icon\";\n\timport { ESize } from \"../../_types/sizing\";\n\timport UiTypography, { ETypographySizes } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tsize?: EBadgeSize;\n\t\tkind?: EBadgeKind;\n\t\ticon?: TIconName;\n\t}>();\n\n\tconst slots = useSlots();\n\n\tconst getBadgeSize = computed(()=>{\n\t\tswitch (props.size) {\n\t\t\tcase EBadgeSize.MEDIUM:\n\t\t\t\treturn ETypographySizes.XS;\n\t\t\tcase EBadgeSize.LARGE:\n\t\t\t\treturn ETypographySizes.SM;\n\t\t\tcase EBadgeSize.SMALL:\n\t\t\tdefault:\n\t\t\t\treturn ETypographySizes.XXS;\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","slots","useSlots","getBadgeSize","computed","EBadgeSize","ETypographySizes"],"mappings":";;;;;;;;;;;;;;AAwCC,UAAMA,IAAQC,GAMRC,IAAQC,KAERC,IAAeC,EAAS,MAAI;AACjC,cAAQL,EAAM,MAAM;AAAA,QACnB,KAAKM,EAAW;AACf,iBAAOC,EAAiB;AAAA,QACzB,KAAKD,EAAW;AACf,iBAAOC,EAAiB;AAAA,QACzB,KAAKD,EAAW;AAAA,QAChB;AACC,iBAAOC,EAAiB;AAAA,MAC1B;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EColors } from
|
|
1
|
+
import { EColors } from '../../_types/colors';
|
|
2
|
+
|
|
2
3
|
type Ran<T extends number> = number extends T ? number : _Range<T, []>;
|
|
3
4
|
type _Range<T extends number, R extends unknown[]> = R["length"] extends T ? R[number] : _Range<T, [R["length"], ...R]>;
|
|
4
5
|
export type TBerPropNumber = Ran<typeof berRankDictionary.length>;
|
|
@@ -59,3 +60,4 @@ export declare enum EBerSize {
|
|
|
59
60
|
MEDIUM = "medium"
|
|
60
61
|
}
|
|
61
62
|
export {};
|
|
63
|
+
//# sourceMappingURL=_types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/components/ui-ber-rank/_types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,KAAK,GAAG,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,SAAS,CAAC,GAAG,MAAM,GAAE,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACtE,KAAK,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AAExH,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAA;AACjE,MAAM,MAAM,cAAc,GAAG,GAAG,cAAc,EAAE,CAAC;AACjD,MAAM,MAAM,QAAQ,GAAG,OAAO,iBAAiB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiEpB,CAAC;AAEX,eAAO,MAAM,YAAY,kHAA4C,CAAC;AAEtE,oBAAY,QAAQ;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CACjB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EBerSize } from './_types';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin,
|
|
3
|
-
import UiBerRank from
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import { default as UiBerRank } from './ui-ber-rank.vue';
|
|
4
|
+
|
|
4
5
|
export { UiBerRank };
|
|
5
|
-
export { EBerSize } from
|
|
6
|
+
export { EBerSize } from './_types';
|
|
6
7
|
/**
|
|
7
8
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
8
9
|
*/
|
|
@@ -15,7 +16,7 @@ declare const deprecatedDefault: DefineComponent<{
|
|
|
15
16
|
type: PropType<number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15">;
|
|
16
17
|
required: true;
|
|
17
18
|
};
|
|
18
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
19
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
19
20
|
size: {
|
|
20
21
|
type: PropType<EBerSize>;
|
|
21
22
|
default: EBerSize;
|
|
@@ -28,3 +29,4 @@ declare const deprecatedDefault: DefineComponent<{
|
|
|
28
29
|
size: EBerSize;
|
|
29
30
|
}, {}>;
|
|
30
31
|
export default deprecatedDefault;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-ber-rank/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;MAAY,CAAC;AACpC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import {
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { TBerPropNumber, TBerPropString, EBerSize } from './_types';
|
|
3
|
+
|
|
3
4
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
5
|
rank: TBerPropNumber | TBerPropString | number;
|
|
5
6
|
size?: EBerSize | undefined;
|
|
6
7
|
}>, {
|
|
7
8
|
size: EBerSize;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
10
|
rank: TBerPropNumber | TBerPropString | number;
|
|
10
11
|
size?: EBerSize | undefined;
|
|
11
12
|
}>, {
|
|
@@ -31,3 +32,4 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
31
32
|
type __VLS_Prettify<T> = {
|
|
32
33
|
[K in keyof T]: T[K];
|
|
33
34
|
} & {};
|
|
35
|
+
//# sourceMappingURL=ui-ber-rank.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-ber-rank.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-ber-rank/ui-ber-rank.vue"],"names":[],"mappings":"AA6DA;AAKC,OAAO,EAAqB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;;UA0L1F,cAAc,GAAG,cAAc,GAAG,MAAM;;;;;UAAxC,cAAc,GAAG,cAAc,GAAG,MAAM;;;;;UACvC,QAAQ;;AAPjB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, computed as v, openBlock as s, createElementBlock as n, createElementVNode as o, normalizeClass as _, unref as e, createVNode as l, withCtx as a, createTextVNode as m, toDisplayString as x } from "vue";
|
|
2
2
|
import c from "../ui-typography/index.js";
|
|
3
3
|
import { EColors as p } from "../../_types/colors.js";
|
|
4
4
|
import { EBerSize as t, berRankDictionary as i } from "./_types.js";
|
|
@@ -15,14 +15,14 @@ const L = { class: "ui-ber-rank flex" }, M = { class: "ui-ber-rank__icon-wrapper
|
|
|
15
15
|
fill: "currentColor"
|
|
16
16
|
}, null, -1), y = [
|
|
17
17
|
D
|
|
18
|
-
], A = /* @__PURE__ */
|
|
18
|
+
], A = /* @__PURE__ */ z({
|
|
19
19
|
__name: "ui-ber-rank",
|
|
20
20
|
props: {
|
|
21
21
|
rank: {},
|
|
22
22
|
size: { default: t.MEDIUM }
|
|
23
23
|
},
|
|
24
24
|
setup(w) {
|
|
25
|
-
const E = w, d =
|
|
25
|
+
const E = w, d = v(() => {
|
|
26
26
|
switch (E.size) {
|
|
27
27
|
case t.SMALL:
|
|
28
28
|
return u.SM;
|
|
@@ -50,7 +50,7 @@ const L = { class: "ui-ber-rank flex" }, M = { class: "ui-ber-rank__icon-wrapper
|
|
|
50
50
|
weight: e(h).BOLD,
|
|
51
51
|
size: d.value,
|
|
52
52
|
"text-transform": e(k).UPPERCASE,
|
|
53
|
-
class: "absolute left-0 top-0 flex
|
|
53
|
+
class: "absolute left-0 top-0 flex size-full items-center justify-center"
|
|
54
54
|
}, {
|
|
55
55
|
default: a(() => [
|
|
56
56
|
m(" ber ")
|
|
@@ -80,12 +80,12 @@ const L = { class: "ui-ber-rank flex" }, M = { class: "ui-ber-rank__icon-wrapper
|
|
|
80
80
|
weight: e(h).BOLD,
|
|
81
81
|
size: d.value,
|
|
82
82
|
"text-transform": e(k).UPPERCASE,
|
|
83
|
-
class: "absolute left-0 top-0 flex
|
|
83
|
+
class: "absolute left-0 top-0 flex size-full items-center justify-center"
|
|
84
84
|
}, {
|
|
85
85
|
default: a(() => {
|
|
86
86
|
var f;
|
|
87
87
|
return [
|
|
88
|
-
m(
|
|
88
|
+
m(x(((f = e(i)[+r.rank]) == null ? void 0 : f.text) || e(i)[0].text), 1)
|
|
89
89
|
];
|
|
90
90
|
}),
|
|
91
91
|
_: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-ber-rank.vue.js","sources":["../../../src/components/ui-ber-rank/ui-ber-rank.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-ber-rank flex\">\n\t\t<div class=\"ui-ber-rank__icon-wrapper relative\">\n\t\t\t<svg\n\t\t\t\tclass=\"text-secondary\"\n\t\t\t\t:class=\"[\n\t\t\t\t\tsize === EBerSize.SMALL && 'ui-ber-rank__icon_small',\n\t\t\t\t\tsize === EBerSize.MEDIUM && 'ui-ber-rank__icon_medium',\n\t\t\t\t]\"\n\t\t\t\tviewBox=\"0 0 160 60\"\n\t\t\t\tfill=\"none\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\tfill-rule=\"evenodd\"\n\t\t\t\t\td=\"M0.279251 15.36C0.279251 9.9835 0.279251 7.29524 1.32559 5.24169C2.24597 3.43534 3.71459 1.96672 5.52094 1.04634C7.5745 0 10.2627 0 15.6393 0H139.208C143.189 0 145.18 0 146.874 0.666121C148.369 1.25435 149.693 2.20864 150.724 3.44151C151.892 4.83764 152.521 6.72601 153.78 10.5027L158.93 25.9523C159.431 27.4541 159.681 28.205 159.78 28.9732C159.869 29.6549 159.869 30.3451 159.78 31.0268C159.681 31.795 159.431 32.5459 158.93 34.0477L153.78 49.4973C152.521 53.274 151.892 55.1624 150.724 56.5585C149.693 57.7914 148.369 58.7457 146.874 59.3339C145.18 60 143.189 60 139.208 60H15.6393C10.2627 60 7.5745 60 5.52094 58.9537C3.71459 58.0333 2.24597 56.5647 1.32559 54.7583C0.279251 52.7048 0.279251 50.0165 0.279251 44.64V15.36Z\"\n\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t/>\n\t\t\t</svg>\n\t\t\t<ui-typography\n\t\t\t\t:kind=\"EColors.WHITE\"\n\t\t\t\t:weight=\"ETextWeight.BOLD\"\n\t\t\t\t:size=\"textSize\"\n\t\t\t\t:text-transform=\"ETextTransform.UPPERCASE\"\n\t\t\t\tclass=\"absolute left-0 top-0 flex
|
|
1
|
+
{"version":3,"file":"ui-ber-rank.vue.js","sources":["../../../src/components/ui-ber-rank/ui-ber-rank.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-ber-rank flex\">\n\t\t<div class=\"ui-ber-rank__icon-wrapper relative\">\n\t\t\t<svg\n\t\t\t\tclass=\"text-secondary\"\n\t\t\t\t:class=\"[\n\t\t\t\t\tsize === EBerSize.SMALL && 'ui-ber-rank__icon_small',\n\t\t\t\t\tsize === EBerSize.MEDIUM && 'ui-ber-rank__icon_medium',\n\t\t\t\t]\"\n\t\t\t\tviewBox=\"0 0 160 60\"\n\t\t\t\tfill=\"none\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\tfill-rule=\"evenodd\"\n\t\t\t\t\td=\"M0.279251 15.36C0.279251 9.9835 0.279251 7.29524 1.32559 5.24169C2.24597 3.43534 3.71459 1.96672 5.52094 1.04634C7.5745 0 10.2627 0 15.6393 0H139.208C143.189 0 145.18 0 146.874 0.666121C148.369 1.25435 149.693 2.20864 150.724 3.44151C151.892 4.83764 152.521 6.72601 153.78 10.5027L158.93 25.9523C159.431 27.4541 159.681 28.205 159.78 28.9732C159.869 29.6549 159.869 30.3451 159.78 31.0268C159.681 31.795 159.431 32.5459 158.93 34.0477L153.78 49.4973C152.521 53.274 151.892 55.1624 150.724 56.5585C149.693 57.7914 148.369 58.7457 146.874 59.3339C145.18 60 143.189 60 139.208 60H15.6393C10.2627 60 7.5745 60 5.52094 58.9537C3.71459 58.0333 2.24597 56.5647 1.32559 54.7583C0.279251 52.7048 0.279251 50.0165 0.279251 44.64V15.36Z\"\n\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t/>\n\t\t\t</svg>\n\t\t\t<ui-typography\n\t\t\t\t:kind=\"EColors.WHITE\"\n\t\t\t\t:weight=\"ETextWeight.BOLD\"\n\t\t\t\t:size=\"textSize\"\n\t\t\t\t:text-transform=\"ETextTransform.UPPERCASE\"\n\t\t\t\tclass=\"absolute left-0 top-0 flex size-full items-center justify-center\"\n\t\t\t>\n\t\t\t\tber\n\t\t\t</ui-typography>\n\t\t</div>\n\n\t\t<div class=\"ui-ber-rank__icon-wrapper relative\">\n\t\t\t<ui-typography :kind=\"berRankDictionary[+rank]?.color || berRankDictionary[0].color\">\n\t\t\t\t<svg\n\t\t\t\t\t:class=\"[\n\t\t\t\t\t\tsize === EBerSize.SMALL && 'ui-ber-rank__icon_small',\n\t\t\t\t\t\tsize === EBerSize.MEDIUM && 'ui-ber-rank__icon_medium',\n\t\t\t\t\t]\"\n\t\t\t\t\tviewBox=\"0 0 106 60\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\tfill-rule=\"evenodd\"\n\t\t\t\t\t\td=\"M3.01833 20.2172C0.74308 13.3915 -0.394547 9.9786 0.287586 7.26202C0.884697 4.88404 2.36903 2.82464 4.43616 1.50619C6.79762 0 10.3951 0 17.5901 0H90.3607C95.7373 0 98.4255 0 100.479 1.04634C102.285 1.96672 103.754 3.43534 104.674 5.24169C105.721 7.29524 105.721 9.9835 105.721 15.36V44.64C105.721 50.0165 105.721 52.7048 104.674 54.7583C103.754 56.5647 102.285 58.0333 100.479 58.9537C98.4255 60 95.7373 60 90.3607 60H17.5901C10.3951 60 6.79762 60 4.43616 58.4938C2.36903 57.1754 0.884697 55.116 0.287586 52.738C-0.394547 50.0214 0.743081 46.6085 3.01834 39.7827L4.93001 34.0477C5.43062 32.5459 5.68093 31.795 5.78035 31.0268C5.86857 30.3451 5.86857 29.6549 5.78035 28.9732C5.68093 28.205 5.43062 27.4541 4.93001 25.9523L3.01833 20.2172Z\"\n\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t/>\n\t\t\t\t</svg>\n\t\t\t</ui-typography>\n\n\t\t\t<ui-typography\n\t\t\t\t:kind=\"EColors.WHITE\"\n\t\t\t\t:weight=\"ETextWeight.BOLD\"\n\t\t\t\t:size=\"textSize\"\n\t\t\t\t:text-transform=\"ETextTransform.UPPERCASE\"\n\t\t\t\tclass=\"absolute left-0 top-0 flex size-full items-center justify-center\"\n\t\t\t>\n\t\t\t\t{{ berRankDictionary[+rank]?.text || berRankDictionary[0].text }}\n\t\t\t</ui-typography>\n\t\t</div>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETextWeight, ETypographySizes, ETextTransform } from \"../ui-typography\";\n\timport { EColors } from \"../../_types/colors\";\n\timport { berRankDictionary, type TBerPropNumber, type TBerPropString, EBerSize } from \"./_types\";\n\n\tconst props = withDefaults(defineProps<{\n\t\trank: TBerPropNumber | TBerPropString | number; // from 0 to 15\n\t\tsize?: EBerSize\n\t}>(), {\n\t\tsize: EBerSize.MEDIUM\n\t});\n\n\tconst textSize = computed(()=>{\n\t\tswitch (props.size) {\n\t\t\tcase EBerSize.SMALL:\n\t\t\t\treturn ETypographySizes.SM;\n\t\t\tcase EBerSize.MEDIUM:\n\t\t\t\treturn ETypographySizes.XXXL;\n\t\t\tdefault:\n\t\t\t\treturn ETypographySizes.XXXL;\n\t\t}\n\t});\n</script>\n\n<style>\n\t.ui-ber-rank__icon_medium {\n\t\theight: 60px;\n\t}\n\n\t.ui-ber-rank__icon_small {\n\t\theight: 30px;\n\t}\n</style>\n"],"names":["props","__props","textSize","computed","EBerSize","ETypographySizes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAoEC,UAAMA,IAAQC,GAORC,IAAWC,EAAS,MAAI;AAC7B,cAAQH,EAAM,MAAM;AAAA,QACnB,KAAKI,EAAS;AACb,iBAAOC,EAAiB;AAAA,QACzB,KAAKD,EAAS;AACb,iBAAOC,EAAiB;AAAA,QACzB;AACC,iBAAOA,EAAiB;AAAA,MAC1B;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_typings.d.ts","sourceRoot":"","sources":["../../../src/components/ui-button/_typings.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,IAAI,SAAS;CACb;AACD,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,KAAK,OAAO;IACZ,MAAM,OAAO;IACb,KAAK,OAAO;CACZ"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { EButtonSizes, EButtonTypes } from './_typings';
|
|
2
2
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import UiButton from
|
|
3
|
+
import { default as UiButton } from './ui-button.vue';
|
|
4
|
+
|
|
4
5
|
export { UiButton };
|
|
5
|
-
export { EButtonSizes, EButtonTypes } from
|
|
6
|
+
export { EButtonSizes, EButtonTypes } from './_typings';
|
|
6
7
|
/**
|
|
7
8
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
8
9
|
*/
|
|
9
10
|
declare const deprecatedDefault: {
|
|
10
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
11
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
12
|
size: {
|
|
12
13
|
type: PropType<EButtonSizes>;
|
|
13
14
|
default: EButtonSizes;
|
|
@@ -24,7 +25,7 @@ declare const deprecatedDefault: {
|
|
|
24
25
|
type: PropType<boolean>;
|
|
25
26
|
default: boolean;
|
|
26
27
|
};
|
|
27
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
28
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
28
29
|
size: {
|
|
29
30
|
type: PropType<EButtonSizes>;
|
|
30
31
|
default: EButtonSizes;
|
|
@@ -53,7 +54,7 @@ declare const deprecatedDefault: {
|
|
|
53
54
|
C: {};
|
|
54
55
|
M: {};
|
|
55
56
|
Defaults: {};
|
|
56
|
-
}, Readonly<ExtractPropTypes<{
|
|
57
|
+
}, Readonly< ExtractPropTypes<{
|
|
57
58
|
size: {
|
|
58
59
|
type: PropType<EButtonSizes>;
|
|
59
60
|
default: EButtonSizes;
|
|
@@ -79,7 +80,7 @@ declare const deprecatedDefault: {
|
|
|
79
80
|
__isFragment?: undefined;
|
|
80
81
|
__isTeleport?: undefined;
|
|
81
82
|
__isSuspense?: undefined;
|
|
82
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
83
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
83
84
|
size: {
|
|
84
85
|
type: PropType<EButtonSizes>;
|
|
85
86
|
default: EButtonSizes;
|
|
@@ -109,3 +110,4 @@ declare const deprecatedDefault: {
|
|
|
109
110
|
};
|
|
110
111
|
});
|
|
111
112
|
export default deprecatedDefault;
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAExD;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAW,CAAC;AACnC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import { EButtonSizes, EButtonTypes } from
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { EButtonSizes, EButtonTypes } from './_typings';
|
|
3
|
+
|
|
3
4
|
type TProps = {
|
|
4
5
|
kind?: EButtonTypes;
|
|
5
6
|
size?: EButtonSizes;
|
|
6
7
|
fullWidth?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
};
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
10
11
|
kind: EButtonTypes;
|
|
11
12
|
size: EButtonSizes;
|
|
12
13
|
fullWidth: boolean;
|
|
13
14
|
disabled: boolean;
|
|
14
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
15
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
15
16
|
kind: EButtonTypes;
|
|
16
17
|
size: EButtonSizes;
|
|
17
18
|
fullWidth: boolean;
|
|
@@ -49,3 +50,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
49
50
|
$slots: S;
|
|
50
51
|
};
|
|
51
52
|
};
|
|
53
|
+
//# sourceMappingURL=ui-button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-button/ui-button.vue"],"names":[],"mappings":"AAyDA;AAEC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAIzD,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAA;;;;;;;;;;;;;;;;;;;;;AAuIF,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { TIconName } from '../ui-icon';
|
|
2
2
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import UiCardCta from
|
|
3
|
+
import { default as UiCardCta } from './ui-card-cta.vue';
|
|
4
|
+
|
|
4
5
|
export { UiCardCta };
|
|
5
6
|
/**
|
|
6
7
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
7
8
|
*/
|
|
8
9
|
declare const deprecatedDefault: {
|
|
9
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
10
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
11
|
invertOrder: {
|
|
11
12
|
type: PropType<boolean>;
|
|
12
13
|
};
|
|
@@ -22,7 +23,7 @@ declare const deprecatedDefault: {
|
|
|
22
23
|
description: {
|
|
23
24
|
type: PropType<string>;
|
|
24
25
|
};
|
|
25
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
26
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
26
27
|
invertOrder: {
|
|
27
28
|
type: PropType<boolean>;
|
|
28
29
|
};
|
|
@@ -45,7 +46,7 @@ declare const deprecatedDefault: {
|
|
|
45
46
|
C: {};
|
|
46
47
|
M: {};
|
|
47
48
|
Defaults: {};
|
|
48
|
-
}, Readonly<ExtractPropTypes<{
|
|
49
|
+
}, Readonly< ExtractPropTypes<{
|
|
49
50
|
invertOrder: {
|
|
50
51
|
type: PropType<boolean>;
|
|
51
52
|
};
|
|
@@ -65,7 +66,7 @@ declare const deprecatedDefault: {
|
|
|
65
66
|
__isFragment?: undefined;
|
|
66
67
|
__isTeleport?: undefined;
|
|
67
68
|
__isSuspense?: undefined;
|
|
68
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
69
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
69
70
|
invertOrder: {
|
|
70
71
|
type: PropType<boolean>;
|
|
71
72
|
};
|
|
@@ -89,3 +90,4 @@ declare const deprecatedDefault: {
|
|
|
89
90
|
};
|
|
90
91
|
});
|
|
91
92
|
export default deprecatedDefault;
|
|
93
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-cta/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AACpC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { TIconName } from '../ui-icon';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
5
|
invertOrder?: boolean | undefined;
|
|
5
6
|
disabled?: boolean | undefined;
|
|
6
7
|
iconName?: TIconName | undefined;
|
|
7
8
|
title?: string | undefined;
|
|
8
9
|
description?: string | undefined;
|
|
9
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
11
|
invertOrder?: boolean | undefined;
|
|
11
12
|
disabled?: boolean | undefined;
|
|
12
13
|
iconName?: TIconName | undefined;
|
|
@@ -32,3 +33,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
32
33
|
$slots: S;
|
|
33
34
|
};
|
|
34
35
|
};
|
|
36
|
+
//# sourceMappingURL=ui-card-cta.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-card-cta.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-cta/ui-card-cta.vue"],"names":[],"mappings":"AAiEA;AAOC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;AAmM7C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|