@strands.gg/accui 2.17.59 → 2.17.61
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/dist/StrandsUIPlugin-5AOCDOcM.cjs.js +143 -0
- package/dist/StrandsUIPlugin-CCRrewS9.es.js +20587 -0
- package/dist/accui.css +1 -0
- package/dist/index.cjs.js +5 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.es.js +12948 -0
- package/dist/nuxt/module.cjs.js +23 -0
- package/dist/nuxt/module.d.ts +4 -0
- package/dist/nuxt/module.es.js +182 -0
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.cjs.js +1 -0
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.d.ts +20 -0
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.es.js +103 -0
- package/dist/nuxt/runtime/composables/useStrandsAuth.cjs.js +1 -0
- package/dist/nuxt/runtime/composables/useStrandsAuth.d.ts +111 -0
- package/dist/nuxt/runtime/composables/useStrandsAuth.es.js +100 -0
- package/dist/nuxt/runtime/composables/useStrandsOAuth.d.ts +8 -0
- package/dist/nuxt/runtime/middleware/auth.d.ts +6 -0
- package/dist/nuxt/runtime/middleware/auth.global.cjs.js +1 -0
- package/dist/nuxt/runtime/middleware/auth.global.d.ts +2 -0
- package/dist/nuxt/runtime/middleware/auth.global.es.js +17 -0
- package/dist/nuxt/runtime/middleware/guest.d.ts +6 -0
- package/dist/nuxt/runtime/plugin.client.cjs.js +1 -0
- package/dist/nuxt/runtime/plugin.client.d.ts +2 -0
- package/dist/nuxt/runtime/plugin.client.es.js +21 -0
- package/dist/nuxt/runtime/plugin.server.cjs.js +1 -0
- package/dist/nuxt/runtime/plugin.server.d.ts +2 -0
- package/dist/nuxt/runtime/plugin.server.es.js +15 -0
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.cjs.js +1 -0
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.d.ts +9 -0
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.es.js +46 -0
- package/dist/nuxt/types.d.ts +51 -0
- package/dist/nuxt.cjs.js +1 -0
- package/dist/nuxt.d.ts +4 -0
- package/dist/nuxt.es.js +11 -0
- package/dist/robots.txt +4 -0
- package/dist/shared/defaults.d.ts +2 -0
- package/dist/sitemap.xml +9 -0
- package/dist/types/composables.d.ts +97 -0
- package/dist/types/index.d.ts +263 -0
- package/dist/types/oauth.d.ts +420 -0
- package/dist/useDarkMode-BdG1G2mj.es.js +102 -0
- package/dist/useDarkMode-Dd0Q5Nnz.cjs.js +1 -0
- package/dist/useStrandsAuth-DSLFMDTj.es.js +717 -0
- package/dist/useStrandsAuth-Db5ZGvxL.cjs.js +1 -0
- package/dist/useStrandsConfig-B2UXxIbT.es.js +213 -0
- package/dist/useStrandsConfig-BYOAEt9d.cjs.js +1 -0
- package/dist/utils/colors.d.ts +10 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/slots.d.ts +1 -0
- package/dist/utils/validation.d.ts +12 -0
- package/dist/vite/index.d.ts +2 -0
- package/dist/vite/plugin.d.ts +68 -0
- package/dist/vite.cjs.js +29 -0
- package/dist/vite.d.ts +6 -0
- package/dist/vite.es.js +92 -0
- package/dist/vue/components/SignedIn.vue.d.ts +35 -0
- package/dist/vue/components/StrandsAuth.vue.d.ts +24 -0
- package/dist/vue/components/StrandsBackupCodesModal.vue.d.ts +11 -0
- package/dist/vue/components/StrandsCompleteSignUp.vue.d.ts +20 -0
- package/dist/vue/components/StrandsConfigProvider.vue.d.ts +21 -0
- package/dist/vue/components/StrandsConfirmModal.vue.d.ts +21 -0
- package/dist/vue/components/StrandsEmailMfaSetupModal.vue.d.ts +11 -0
- package/dist/vue/components/StrandsHardwareKeySetupModal.vue.d.ts +14 -0
- package/dist/vue/components/StrandsLogo.vue.d.ts +9 -0
- package/dist/vue/components/StrandsMFASetup.vue.d.ts +15 -0
- package/dist/vue/components/StrandsMfaModal.vue.d.ts +11 -0
- package/dist/vue/components/StrandsMfaVerification.vue.d.ts +16 -0
- package/dist/vue/components/StrandsNav/StrandsNav.vue.d.ts +43 -0
- package/dist/vue/components/StrandsNav/StrandsNavItem.vue.d.ts +26 -0
- package/dist/vue/components/StrandsNav/index.d.ts +8 -0
- package/dist/vue/components/StrandsNav/types.d.ts +12 -0
- package/dist/vue/components/StrandsOAuthButton.vue.d.ts +18 -0
- package/dist/vue/components/StrandsOAuthCallback.vue.d.ts +12 -0
- package/dist/vue/components/StrandsPasswordReset.vue.d.ts +14 -0
- package/dist/vue/components/StrandsSecuredFooter.vue.d.ts +21 -0
- package/dist/vue/components/StrandsSessionsModal.vue.d.ts +11 -0
- package/dist/vue/components/StrandsSettingsModal.vue.d.ts +32 -0
- package/dist/vue/components/StrandsSignIn.vue.d.ts +20 -0
- package/dist/vue/components/StrandsSignUp.vue.d.ts +18 -0
- package/dist/vue/components/StrandsTotpSetupModal.vue.d.ts +11 -0
- package/dist/vue/components/StrandsUserButton.vue.d.ts +54 -0
- package/dist/vue/components/StrandsUserProfile.vue.d.ts +25 -0
- package/dist/vue/components/SvgIcon.vue.d.ts +16 -0
- package/dist/vue/components/VirtualList.vue.d.ts +36 -0
- package/dist/vue/components/icons/IconGithub.vue.d.ts +2 -0
- package/dist/vue/components/icons/IconGoogle.vue.d.ts +2 -0
- package/dist/vue/components/icons/index.d.ts +2 -0
- package/dist/vue/components/index.d.ts +29 -0
- package/dist/vue/composables/useAuthenticatedFetch.d.ts +22 -0
- package/dist/vue/composables/useDarkMode.d.ts +53 -0
- package/dist/vue/composables/useFloatingPosition.d.ts +22 -0
- package/dist/vue/composables/useModalStack.d.ts +86 -0
- package/dist/vue/composables/useOAuthProviders.d.ts +73 -0
- package/dist/vue/composables/useStrandsAuth.d.ts +2 -0
- package/dist/vue/composables/useStrandsConfig.d.ts +5 -0
- package/dist/vue/composables/useStrandsMfa.d.ts +36 -0
- package/dist/vue/composables/useStrandsOAuth.d.ts +10 -0
- package/dist/vue/composables/useTheme.d.ts +18 -0
- package/dist/vue/index.d.ts +16 -0
- package/dist/vue/plugins/StrandsUIPlugin.d.ts +19 -0
- package/dist/vue/ui/UiAlert.vue.d.ts +30 -0
- package/dist/vue/ui/UiApp.vue.d.ts +26 -0
- package/dist/vue/ui/UiAvatarEditor.vue.d.ts +24 -0
- package/dist/vue/ui/UiButton/UiButton.Anchor.vue.d.ts +42 -0
- package/dist/vue/ui/UiButton/UiButton.Content.vue.d.ts +32 -0
- package/dist/vue/ui/UiButton/UiButton.Nuxt.vue.d.ts +39 -0
- package/dist/vue/ui/UiButton/index.d.ts +11 -0
- package/dist/vue/ui/UiButton.vue.d.ts +77 -0
- package/dist/vue/ui/UiCard.vue.d.ts +38 -0
- package/dist/vue/ui/UiCheckboxGroup.vue.d.ts +46 -0
- package/dist/vue/ui/UiColorPicker/UiColorPicker.Button.vue.d.ts +19 -0
- package/dist/vue/ui/UiColorPicker/UiColorPicker.Picker.vue.d.ts +31 -0
- package/dist/vue/ui/UiColorPicker.vue.d.ts +34 -0
- package/dist/vue/ui/UiDateTimePicker.vue.d.ts +36 -0
- package/dist/vue/ui/UiDivider.vue.d.ts +43 -0
- package/dist/vue/ui/UiHero.vue.d.ts +53 -0
- package/dist/vue/ui/UiInput/UiInput.Date.vue.d.ts +30 -0
- package/dist/vue/ui/UiInput/UiInput.DateTime.vue.d.ts +34 -0
- package/dist/vue/ui/UiInput/UiInput.File.vue.d.ts +59 -0
- package/dist/vue/ui/UiInput/UiInput.Pincode.vue.d.ts +58 -0
- package/dist/vue/ui/UiInput/UiInput.RichText.vue.d.ts +66 -0
- package/dist/vue/ui/UiInput/UiInput.Select.vue.d.ts +806 -0
- package/dist/vue/ui/UiInput/UiInput.Text.vue.d.ts +55 -0
- package/dist/vue/ui/UiInput/UiInput.Textarea.vue.d.ts +60 -0
- package/dist/vue/ui/UiInput/UiInput.Time.vue.d.ts +30 -0
- package/dist/vue/ui/UiInput.vue.d.ts +84 -0
- package/dist/vue/ui/UiLevelProgress.vue.d.ts +18 -0
- package/dist/vue/ui/UiLink.vue.d.ts +42 -0
- package/dist/vue/ui/UiLoader.vue.d.ts +18 -0
- package/dist/vue/ui/UiMegaMenu/UiMegaMenu.Group.vue.d.ts +20 -0
- package/dist/vue/ui/UiMegaMenu/UiMegaMenu.Item.vue.d.ts +35 -0
- package/dist/vue/ui/UiMegaMenu/UiMegaMenu.Panel.vue.d.ts +28 -0
- package/dist/vue/ui/UiMegaMenu/index.d.ts +4 -0
- package/dist/vue/ui/UiMegaMenu.vue.d.ts +48 -0
- package/dist/vue/ui/UiModal.vue.d.ts +71 -0
- package/dist/vue/ui/UiPill.vue.d.ts +43 -0
- package/dist/vue/ui/UiRadioGroup.vue.d.ts +40 -0
- package/dist/vue/ui/UiSlider.vue.d.ts +53 -0
- package/dist/vue/ui/UiTable.vue.d.ts +114 -0
- package/dist/vue/ui/UiTabs.vue.d.ts +87 -0
- package/dist/vue/ui/UiThemeToggle.vue.d.ts +13 -0
- package/dist/vue/ui/UiToggle.vue.d.ts +20 -0
- package/dist/vue/ui/UiTooltip.vue.d.ts +41 -0
- package/dist/vue/ui/index.d.ts +62 -0
- package/dist/vue/utils/contrast.d.ts +75 -0
- package/dist/vue/utils/debounce.d.ts +12 -0
- package/dist/vue/utils/fontPreloader.d.ts +11 -0
- package/dist/vue/utils/iconProps.d.ts +9 -0
- package/dist/vue/utils/lazyComponents.d.ts +4 -0
- package/dist/vue/utils/levels.d.ts +27 -0
- package/dist/vue/utils/modalStack.d.ts +34 -0
- package/dist/vue/utils/performanceInit.d.ts +40 -0
- package/dist/vue/utils/requestCache.d.ts +49 -0
- package/dist/vue/utils/slots.d.ts +9 -0
- package/dist/vue/utils/sounds.d.ts +57 -0
- package/dist/webcomponents/define-element.d.ts +19 -0
- package/dist/webcomponents/entries/strands-alert.d.ts +2 -0
- package/dist/webcomponents/entries/strands-button.d.ts +2 -0
- package/dist/webcomponents/entries/strands-card.d.ts +2 -0
- package/dist/webcomponents/entries/strands-checkbox-group.d.ts +2 -0
- package/dist/webcomponents/entries/strands-divider.d.ts +2 -0
- package/dist/webcomponents/entries/strands-input.d.ts +2 -0
- package/dist/webcomponents/entries/strands-link.d.ts +2 -0
- package/dist/webcomponents/entries/strands-loader-spinner.d.ts +2 -0
- package/dist/webcomponents/entries/strands-modal.d.ts +2 -0
- package/dist/webcomponents/entries/strands-pill.d.ts +2 -0
- package/dist/webcomponents/entries/strands-radio-group.d.ts +2 -0
- package/dist/webcomponents/entries/strands-slider.d.ts +2 -0
- package/dist/webcomponents/entries/strands-table.d.ts +2 -0
- package/dist/webcomponents/entries/strands-tabs.d.ts +2 -0
- package/dist/webcomponents/entries/strands-theme-toggle.d.ts +2 -0
- package/dist/webcomponents/entries/strands-toggle.d.ts +2 -0
- package/dist/webcomponents/entries/strands-tooltip.d.ts +2 -0
- package/dist/webcomponents/index.d.ts +8 -0
- package/dist/webcomponents/loader.d.ts +57 -0
- package/dist/webcomponents/registry.d.ts +41 -0
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CommonInputProps } from '../UiInput.vue';
|
|
2
|
+
export interface UiInputTextType extends CommonInputProps {
|
|
3
|
+
type: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
|
|
4
|
+
min?: string | number;
|
|
5
|
+
max?: string | number;
|
|
6
|
+
step?: string | number;
|
|
7
|
+
autocomplete?: string;
|
|
8
|
+
spellcheck?: boolean;
|
|
9
|
+
hasLeadingIcon?: boolean;
|
|
10
|
+
hasTrailingIcon?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
leading?(_: {}): any;
|
|
16
|
+
'leading-icon'?(_: {}): any;
|
|
17
|
+
'trailing-icon'?(_: {}): any;
|
|
18
|
+
trailing?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<UiInputTextType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
+
input: (value: string | number) => any;
|
|
26
|
+
keydown: (event: KeyboardEvent) => any;
|
|
27
|
+
blur: (event: FocusEvent) => any;
|
|
28
|
+
change: (value: string | number) => any;
|
|
29
|
+
focus: (event: FocusEvent) => any;
|
|
30
|
+
"update:modelValue": (value: string | number) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<UiInputTextType> & Readonly<{
|
|
32
|
+
onInput?: (value: string | number) => any;
|
|
33
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
34
|
+
onBlur?: (event: FocusEvent) => any;
|
|
35
|
+
onChange?: (value: string | number) => any;
|
|
36
|
+
onFocus?: (event: FocusEvent) => any;
|
|
37
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
38
|
+
}>, {
|
|
39
|
+
type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
40
|
+
required: boolean;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
error: boolean | string | Error;
|
|
43
|
+
size: "sm" | "md" | "lg";
|
|
44
|
+
spellcheck: boolean;
|
|
45
|
+
hasLeadingIcon: boolean;
|
|
46
|
+
hasTrailingIcon: boolean;
|
|
47
|
+
readonly: boolean;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CommonInputProps } from '../UiInput.vue';
|
|
2
|
+
export interface UiInputTextareaType extends CommonInputProps {
|
|
3
|
+
type: 'textarea';
|
|
4
|
+
rows?: number;
|
|
5
|
+
cols?: number;
|
|
6
|
+
maxlength?: number;
|
|
7
|
+
autocomplete?: string;
|
|
8
|
+
spellcheck?: boolean;
|
|
9
|
+
resizable?: boolean;
|
|
10
|
+
hasLeadingIcon?: boolean;
|
|
11
|
+
hasTrailingIcon?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface Props extends Omit<UiInputTextareaType, 'type'> {
|
|
14
|
+
}
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
leading?(_: {}): any;
|
|
19
|
+
'leading-icon'?(_: {}): any;
|
|
20
|
+
'trailing-icon'?(_: {}): any;
|
|
21
|
+
trailing?(_: {}): any;
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {
|
|
25
|
+
slotContentRef: HTMLSpanElement;
|
|
26
|
+
};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
+
keydown: (event: KeyboardEvent) => any;
|
|
32
|
+
blur: (event: FocusEvent) => any;
|
|
33
|
+
focus: (event: FocusEvent) => any;
|
|
34
|
+
"update:modelValue": (value: string) => any;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
36
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
37
|
+
onBlur?: (event: FocusEvent) => any;
|
|
38
|
+
onFocus?: (event: FocusEvent) => any;
|
|
39
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
40
|
+
}>, {
|
|
41
|
+
required: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
error: boolean | string | Error;
|
|
44
|
+
size: "sm" | "md" | "lg";
|
|
45
|
+
spellcheck: boolean;
|
|
46
|
+
hasLeadingIcon: boolean;
|
|
47
|
+
hasTrailingIcon: boolean;
|
|
48
|
+
readonly: boolean;
|
|
49
|
+
rows: number;
|
|
50
|
+
resizable: boolean;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
52
|
+
slotContentRef: HTMLSpanElement;
|
|
53
|
+
}, HTMLDivElement>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CommonInputProps } from '../UiInput.vue';
|
|
2
|
+
export interface UiInputTimeType extends CommonInputProps {
|
|
3
|
+
type: 'time';
|
|
4
|
+
is24Hour?: boolean;
|
|
5
|
+
minuteStep?: number;
|
|
6
|
+
}
|
|
7
|
+
interface Props extends Omit<UiInputTimeType, 'type'> {
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
keydown: (event: KeyboardEvent) => any;
|
|
11
|
+
blur: (event: FocusEvent) => any;
|
|
12
|
+
change: (value: string | Date) => any;
|
|
13
|
+
focus: (event: FocusEvent) => any;
|
|
14
|
+
"update:modelValue": (value: string | Date) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
17
|
+
onBlur?: (event: FocusEvent) => any;
|
|
18
|
+
onChange?: (value: string | Date) => any;
|
|
19
|
+
onFocus?: (event: FocusEvent) => any;
|
|
20
|
+
"onUpdate:modelValue"?: (value: string | Date) => any;
|
|
21
|
+
}>, {
|
|
22
|
+
required: boolean;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
error: boolean | string | Error;
|
|
25
|
+
size: "sm" | "md" | "lg";
|
|
26
|
+
readonly: boolean;
|
|
27
|
+
is24Hour: boolean;
|
|
28
|
+
minuteStep: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { UiInputTextType } from './UiInput/UiInput.Text.vue';
|
|
2
|
+
import { UiInputTextareaType } from './UiInput/UiInput.Textarea.vue';
|
|
3
|
+
import { UiInputSelectType } from './UiInput/UiInput.Select.vue';
|
|
4
|
+
import { UiInputFileType } from './UiInput/UiInput.File.vue';
|
|
5
|
+
import { UiInputDateType } from './UiInput/UiInput.Date.vue';
|
|
6
|
+
import { UiInputTimeType } from './UiInput/UiInput.Time.vue';
|
|
7
|
+
import { UiInputDateTimeType } from './UiInput/UiInput.DateTime.vue';
|
|
8
|
+
import { UiInputRichTextType } from './UiInput/UiInput.RichText.vue';
|
|
9
|
+
import { UiInputPincodeType } from './UiInput/UiInput.Pincode.vue';
|
|
10
|
+
export interface CommonInputProps {
|
|
11
|
+
label?: string;
|
|
12
|
+
helpText?: string;
|
|
13
|
+
modelValue?: any;
|
|
14
|
+
value?: any;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
fullWidth?: boolean;
|
|
20
|
+
inputId?: string;
|
|
21
|
+
error?: boolean | string | Error;
|
|
22
|
+
size?: 'sm' | 'md' | 'lg';
|
|
23
|
+
tabindex?: number;
|
|
24
|
+
}
|
|
25
|
+
export type InputProps = (UiInputTextType | UiInputSelectType | UiInputTextareaType | UiInputFileType | UiInputDateType | UiInputTimeType | UiInputDateTimeType | UiInputRichTextType | UiInputPincodeType) & CommonInputProps;
|
|
26
|
+
declare function __VLS_template(): {
|
|
27
|
+
attrs: Partial<{}>;
|
|
28
|
+
slots: {
|
|
29
|
+
leading?(_: {}): any;
|
|
30
|
+
leading?(_: {}): any;
|
|
31
|
+
leading?(_: {}): any;
|
|
32
|
+
leading?(_: {}): any;
|
|
33
|
+
leading?(_: {}): any;
|
|
34
|
+
'leading-icon'?(_: {}): any;
|
|
35
|
+
'leading-icon'?(_: {}): any;
|
|
36
|
+
'leading-icon'?(_: {}): any;
|
|
37
|
+
'leading-icon'?(_: {}): any;
|
|
38
|
+
'leading-icon'?(_: {}): any;
|
|
39
|
+
'trailing-icon'?(_: {}): any;
|
|
40
|
+
'trailing-icon'?(_: {}): any;
|
|
41
|
+
'trailing-icon'?(_: {}): any;
|
|
42
|
+
'trailing-icon'?(_: {}): any;
|
|
43
|
+
'trailing-icon'?(_: {}): any;
|
|
44
|
+
trailing?(_: {}): any;
|
|
45
|
+
trailing?(_: {}): any;
|
|
46
|
+
trailing?(_: {}): any;
|
|
47
|
+
trailing?(_: {}): any;
|
|
48
|
+
trailing?(_: {}): any;
|
|
49
|
+
default?(_: {}): any;
|
|
50
|
+
default?(_: {}): any;
|
|
51
|
+
hint?(_: {}): any;
|
|
52
|
+
};
|
|
53
|
+
refs: {};
|
|
54
|
+
rootEl: HTMLDivElement;
|
|
55
|
+
};
|
|
56
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
57
|
+
declare const __VLS_component: import('vue').DefineComponent<InputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
58
|
+
input: (value: any) => any;
|
|
59
|
+
keydown: (event: KeyboardEvent) => any;
|
|
60
|
+
blur: (event: FocusEvent) => any;
|
|
61
|
+
change: (value: any) => any;
|
|
62
|
+
focus: (event: FocusEvent) => any;
|
|
63
|
+
"update:modelValue": (value: any) => any;
|
|
64
|
+
"file-error": (error: string) => any;
|
|
65
|
+
"clear-preview": () => any;
|
|
66
|
+
complete: (value: string) => any;
|
|
67
|
+
}, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
|
|
68
|
+
onInput?: (value: any) => any;
|
|
69
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
70
|
+
onBlur?: (event: FocusEvent) => any;
|
|
71
|
+
onChange?: (value: any) => any;
|
|
72
|
+
onFocus?: (event: FocusEvent) => any;
|
|
73
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
74
|
+
"onFile-error"?: (error: string) => any;
|
|
75
|
+
"onClear-preview"?: () => any;
|
|
76
|
+
onComplete?: (value: string) => any;
|
|
77
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
78
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
79
|
+
export default _default;
|
|
80
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
81
|
+
new (): {
|
|
82
|
+
$slots: S;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: number;
|
|
3
|
+
max: number;
|
|
4
|
+
level: number;
|
|
5
|
+
levelLabel?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
thickness?: number;
|
|
8
|
+
labelThickness?: number;
|
|
9
|
+
staticArcAngle?: number;
|
|
10
|
+
gapAngle?: number;
|
|
11
|
+
userSettings?: any;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
levelup: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onLevelup?: (...args: any[]) => any;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
href?: string;
|
|
3
|
+
to?: string | object;
|
|
4
|
+
variant?: 'primary' | 'ghost' | 'underline';
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
external?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Color prop supports multiple formats (similar to UiButton):
|
|
10
|
+
* - Base colors: 'red', 'blue', 'green', 'strands', etc.
|
|
11
|
+
* - Shades: 'red-600', 'blue-500', etc. (100-950)
|
|
12
|
+
* - Opacity: 'red/50', 'blue/80', etc. (0-100)
|
|
13
|
+
*/
|
|
14
|
+
color?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
click: (event: MouseEvent) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
29
|
+
onClick?: (event: MouseEvent) => any;
|
|
30
|
+
}>, {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
variant: "primary" | "ghost" | "underline";
|
|
33
|
+
size: "sm" | "md" | "lg";
|
|
34
|
+
external: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
size?: number | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
color?: 'primary' | 'success' | 'warning' | 'danger' | 'white' | 'black';
|
|
4
|
+
variant?: 'spinner' | 'circle' | 'bar';
|
|
5
|
+
text?: string;
|
|
6
|
+
centered?: boolean;
|
|
7
|
+
weight?: number;
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
variant: "spinner" | "circle" | "bar";
|
|
12
|
+
size: number | "sm" | "md" | "lg" | "xl";
|
|
13
|
+
color: "primary" | "success" | "warning" | "danger" | "white" | "black";
|
|
14
|
+
centered: boolean;
|
|
15
|
+
weight: number;
|
|
16
|
+
fullWidth: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface UiMegaMenuGroupProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<UiMegaMenuGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiMegaMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
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
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface UiMegaMenuItemProps {
|
|
2
|
+
to?: string | object;
|
|
3
|
+
href?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
icon?(_: {}): any;
|
|
12
|
+
panel?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {
|
|
15
|
+
itemRef: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<UiMegaMenuItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
click: (event: MouseEvent) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<UiMegaMenuItemProps> & Readonly<{
|
|
23
|
+
onClick?: (event: MouseEvent) => any;
|
|
24
|
+
}>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
itemRef: HTMLDivElement;
|
|
28
|
+
}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface UiMegaMenuPanelProps {
|
|
2
|
+
width?: 'auto' | 'full' | string;
|
|
3
|
+
columns?: 1 | 2 | 3 | 4;
|
|
4
|
+
align?: 'left' | 'center' | 'right';
|
|
5
|
+
gap?: 'sm' | 'md' | 'lg';
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<UiMegaMenuPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiMegaMenuPanelProps> & Readonly<{}>, {
|
|
17
|
+
width: "auto" | "full" | string;
|
|
18
|
+
columns: 1 | 2 | 3 | 4;
|
|
19
|
+
align: "left" | "center" | "right";
|
|
20
|
+
gap: "sm" | "md" | "lg";
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface UiMegaMenuProps {
|
|
2
|
+
triggerMode?: 'hover' | 'click';
|
|
3
|
+
closeDelay?: number;
|
|
4
|
+
openDelay?: number;
|
|
5
|
+
sticky?: boolean;
|
|
6
|
+
stickyOffset?: number;
|
|
7
|
+
maxWidth?: string;
|
|
8
|
+
variant?: 'default' | 'transparent';
|
|
9
|
+
mobileBreakpoint?: number;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
logo?(_: {}): any;
|
|
15
|
+
logo?(_: {}): any;
|
|
16
|
+
navigation?(_: {}): any;
|
|
17
|
+
navigation?(_: {}): any;
|
|
18
|
+
actions?(_: {}): any;
|
|
19
|
+
mobile?(_: {}): any;
|
|
20
|
+
'mobile-footer'?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {
|
|
23
|
+
navRef: HTMLDivElement;
|
|
24
|
+
sharedPanelRef: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
rootEl: HTMLElement;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<UiMegaMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiMegaMenuProps> & Readonly<{}>, {
|
|
30
|
+
variant: "default" | "transparent";
|
|
31
|
+
maxWidth: string;
|
|
32
|
+
sticky: boolean;
|
|
33
|
+
triggerMode: "hover" | "click";
|
|
34
|
+
closeDelay: number;
|
|
35
|
+
openDelay: number;
|
|
36
|
+
stickyOffset: number;
|
|
37
|
+
mobileBreakpoint: number;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
39
|
+
navRef: HTMLDivElement;
|
|
40
|
+
sharedPanelRef: HTMLDivElement;
|
|
41
|
+
}, HTMLElement>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
closeOnBackdrop?: boolean;
|
|
4
|
+
closeOnEscape?: boolean;
|
|
5
|
+
showCloseButton?: boolean;
|
|
6
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' | 'auto';
|
|
7
|
+
cardVariant?: 'default' | 'modern' | 'minimal' | 'clean' | 'simple';
|
|
8
|
+
cardPadding?: 'sm' | 'md' | 'lg';
|
|
9
|
+
cardShadow?: 'none' | 'sm' | 'md' | 'lg';
|
|
10
|
+
cardColor?: 'default' | 'secondary' | 'tertiary';
|
|
11
|
+
cardClass?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
subtitle?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
trigger?(_: {
|
|
19
|
+
open: () => void;
|
|
20
|
+
close: () => void;
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
}): any;
|
|
23
|
+
header?(_: {
|
|
24
|
+
handleClose: () => void;
|
|
25
|
+
isOpen: true;
|
|
26
|
+
openModal: () => Promise<void>;
|
|
27
|
+
}): any;
|
|
28
|
+
default?(_: {}): any;
|
|
29
|
+
footer?(_: {
|
|
30
|
+
handleClose: () => void;
|
|
31
|
+
isOpen: true;
|
|
32
|
+
openModal: () => Promise<void>;
|
|
33
|
+
}): any;
|
|
34
|
+
};
|
|
35
|
+
refs: {
|
|
36
|
+
triggerElement: HTMLSpanElement;
|
|
37
|
+
modalContainer: HTMLDivElement;
|
|
38
|
+
};
|
|
39
|
+
rootEl: any;
|
|
40
|
+
};
|
|
41
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
42
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
+
close: () => any;
|
|
44
|
+
"update:modelValue": (value: boolean) => any;
|
|
45
|
+
open: () => any;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
47
|
+
onClose?: () => any;
|
|
48
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
49
|
+
onOpen?: () => any;
|
|
50
|
+
}>, {
|
|
51
|
+
size: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | "auto";
|
|
52
|
+
modelValue: boolean;
|
|
53
|
+
closeOnEscape: boolean;
|
|
54
|
+
closeOnBackdrop: boolean;
|
|
55
|
+
showCloseButton: boolean;
|
|
56
|
+
cardVariant: "default" | "modern" | "minimal" | "clean" | "simple";
|
|
57
|
+
cardPadding: "sm" | "md" | "lg";
|
|
58
|
+
cardShadow: "none" | "sm" | "md" | "lg";
|
|
59
|
+
cardColor: "default" | "secondary" | "tertiary";
|
|
60
|
+
cardClass: string;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
62
|
+
triggerElement: HTMLSpanElement;
|
|
63
|
+
modalContainer: HTMLDivElement;
|
|
64
|
+
}, any>;
|
|
65
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
variant?: 'filled' | 'outline' | 'ghost' | 'dot' | 'dot-only';
|
|
3
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
4
|
+
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
5
|
+
icon?: boolean;
|
|
6
|
+
iconOnly?: boolean;
|
|
7
|
+
removable?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
tooltip?: string;
|
|
10
|
+
}
|
|
11
|
+
export type UiPillProps = Props;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
'leading-icon'?(_: {}): any;
|
|
16
|
+
icon?(_: {}): any;
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
'trailing-icon'?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
remove: () => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
27
|
+
onRemove?: () => any;
|
|
28
|
+
}>, {
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
variant: "filled" | "outline" | "ghost" | "dot" | "dot-only";
|
|
31
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
32
|
+
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
|
|
33
|
+
icon: boolean;
|
|
34
|
+
iconOnly: boolean;
|
|
35
|
+
removable: boolean;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
interface RadioOption {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
icon?: any;
|
|
7
|
+
}
|
|
8
|
+
interface Props {
|
|
9
|
+
modelValue?: string | number | null;
|
|
10
|
+
options: RadioOption[];
|
|
11
|
+
label?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
helpText?: string;
|
|
14
|
+
error?: string | boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
orientation?: 'horizontal' | 'vertical';
|
|
18
|
+
variant?: 'default' | 'card';
|
|
19
|
+
size?: 'sm' | 'md' | 'lg';
|
|
20
|
+
fieldId?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
+
blur: (event: FocusEvent) => any;
|
|
24
|
+
change: (value: string | number) => any;
|
|
25
|
+
focus: (event: FocusEvent) => any;
|
|
26
|
+
"update:modelValue": (value: string | number) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
onBlur?: (event: FocusEvent) => any;
|
|
29
|
+
onChange?: (value: string | number) => any;
|
|
30
|
+
onFocus?: (event: FocusEvent) => any;
|
|
31
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
32
|
+
}>, {
|
|
33
|
+
required: boolean;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
variant: "default" | "card";
|
|
36
|
+
size: "sm" | "md" | "lg";
|
|
37
|
+
orientation: "horizontal" | "vertical";
|
|
38
|
+
fieldId: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: number;
|
|
3
|
+
value?: number | string;
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
step?: number;
|
|
7
|
+
label?: string;
|
|
8
|
+
helpText?: string;
|
|
9
|
+
error?: string | boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
showValue?: boolean;
|
|
13
|
+
showMinMax?: boolean;
|
|
14
|
+
showTicks?: boolean;
|
|
15
|
+
showTickLabels?: boolean;
|
|
16
|
+
tickCount?: number;
|
|
17
|
+
unit?: string;
|
|
18
|
+
size?: 'sm' | 'md' | 'lg';
|
|
19
|
+
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info';
|
|
20
|
+
inputId?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
+
input: (value: number) => any;
|
|
24
|
+
blur: (event: FocusEvent) => any;
|
|
25
|
+
change: (value: number) => any;
|
|
26
|
+
focus: (event: FocusEvent) => any;
|
|
27
|
+
"update:modelValue": (value: number) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
29
|
+
onInput?: (value: number) => any;
|
|
30
|
+
onBlur?: (event: FocusEvent) => any;
|
|
31
|
+
onChange?: (value: number) => any;
|
|
32
|
+
onFocus?: (event: FocusEvent) => any;
|
|
33
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
34
|
+
}>, {
|
|
35
|
+
required: boolean;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
size: "sm" | "md" | "lg";
|
|
38
|
+
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
39
|
+
min: number;
|
|
40
|
+
max: number;
|
|
41
|
+
step: number;
|
|
42
|
+
modelValue: number;
|
|
43
|
+
value: number | string;
|
|
44
|
+
showValue: boolean;
|
|
45
|
+
showMinMax: boolean;
|
|
46
|
+
showTicks: boolean;
|
|
47
|
+
showTickLabels: boolean;
|
|
48
|
+
tickCount: number;
|
|
49
|
+
unit: string;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
51
|
+
sliderRef: HTMLInputElement;
|
|
52
|
+
}, HTMLDivElement>;
|
|
53
|
+
export default _default;
|