@strands.gg/accui 2.1.2 → 2.1.4
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/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/nuxt/module.d.ts +6 -0
- package/dist/nuxt/module.d.ts.map +1 -0
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.cjs.js +1 -1
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.cjs.js.map +1 -1
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.d.ts +21 -0
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.d.ts.map +1 -0
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.es.js +5 -2
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.es.js.map +1 -1
- package/dist/nuxt/runtime/composables/useStrandsAuth.d.ts +143 -0
- package/dist/nuxt/runtime/composables/useStrandsAuth.d.ts.map +1 -0
- package/dist/nuxt/runtime/middleware/auth.d.ts +8 -0
- package/dist/nuxt/runtime/middleware/auth.d.ts.map +1 -0
- package/dist/nuxt/runtime/middleware/auth.global.d.ts +4 -0
- package/dist/nuxt/runtime/middleware/auth.global.d.ts.map +1 -0
- package/dist/nuxt/runtime/middleware/guest.d.ts +8 -0
- package/dist/nuxt/runtime/middleware/guest.d.ts.map +1 -0
- package/dist/nuxt/runtime/plugin.client.d.ts +4 -0
- package/dist/nuxt/runtime/plugin.client.d.ts.map +1 -0
- package/dist/nuxt/runtime/plugin.server.d.ts +4 -0
- package/dist/nuxt/runtime/plugin.server.d.ts.map +1 -0
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.d.ts +4 -0
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.d.ts.map +1 -0
- package/dist/nuxt/types.d.ts +46 -0
- package/dist/nuxt/types.d.ts.map +1 -0
- package/dist/nuxt-v4/module.d.ts +6 -0
- package/dist/nuxt-v4/module.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/composables/useAuthenticatedFetch.cjs.js +1 -1
- package/dist/nuxt-v4/runtime/composables/useAuthenticatedFetch.cjs.js.map +1 -1
- package/dist/nuxt-v4/runtime/composables/useAuthenticatedFetch.d.ts +21 -0
- package/dist/nuxt-v4/runtime/composables/useAuthenticatedFetch.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/composables/useAuthenticatedFetch.es.js +5 -2
- package/dist/nuxt-v4/runtime/composables/useAuthenticatedFetch.es.js.map +1 -1
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.cjs.js +1 -1
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.cjs.js.map +1 -1
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.d.ts +28 -0
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.es.js +1 -0
- package/dist/nuxt-v4/runtime/composables/useStrandsAuth.es.js.map +1 -1
- package/dist/nuxt-v4/runtime/middleware/auth.global.d.ts +4 -0
- package/dist/nuxt-v4/runtime/middleware/auth.global.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/plugin.client.d.ts +4 -0
- package/dist/nuxt-v4/runtime/plugin.client.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/plugin.server.d.ts +4 -0
- package/dist/nuxt-v4/runtime/plugin.server.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/plugins/auth-interceptor.client.cjs.js.map +1 -1
- package/dist/nuxt-v4/runtime/plugins/auth-interceptor.client.d.ts +4 -0
- package/dist/nuxt-v4/runtime/plugins/auth-interceptor.client.d.ts.map +1 -0
- package/dist/nuxt-v4/runtime/plugins/auth-interceptor.client.es.js.map +1 -1
- package/dist/nuxt-v4/types.d.ts +64 -0
- package/dist/nuxt-v4/types.d.ts.map +1 -0
- package/dist/nuxt-v4.d.ts +5 -0
- package/dist/nuxt-v4.d.ts.map +1 -0
- package/dist/nuxt.d.ts +5 -0
- package/dist/nuxt.d.ts.map +1 -0
- package/dist/shared/defaults.d.ts +3 -0
- package/dist/shared/defaults.d.ts.map +1 -0
- package/dist/strands-auth-ui.cjs.js +1 -1
- package/dist/strands-auth-ui.cjs.js.map +1 -1
- package/dist/strands-auth-ui.es.js +4 -2
- package/dist/strands-auth-ui.es.js.map +1 -1
- package/dist/types/index.d.ts +237 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/slots.d.ts +2 -0
- package/dist/utils/slots.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +13 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/vue/components/SignedIn.vue.d.ts +55 -0
- package/dist/vue/components/SignedIn.vue.d.ts.map +1 -0
- package/dist/vue/components/SignedOut.vue.d.ts +55 -0
- package/dist/vue/components/SignedOut.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsAuth.vue.d.ts +26 -0
- package/dist/vue/components/StrandsAuth.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsBackupCodesModal.vue.d.ts +13 -0
- package/dist/vue/components/StrandsBackupCodesModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsCompleteSignUp.vue.d.ts +22 -0
- package/dist/vue/components/StrandsCompleteSignUp.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsConfigProvider.vue.d.ts +23 -0
- package/dist/vue/components/StrandsConfigProvider.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsConfirmModal.vue.d.ts +23 -0
- package/dist/vue/components/StrandsConfirmModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsEmailMfaSetupModal.vue.d.ts +13 -0
- package/dist/vue/components/StrandsEmailMfaSetupModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsHardwareKeySetupModal.vue.d.ts +16 -0
- package/dist/vue/components/StrandsHardwareKeySetupModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsLogo.vue.d.ts +9 -0
- package/dist/vue/components/StrandsLogo.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsMFASetup.vue.d.ts +17 -0
- package/dist/vue/components/StrandsMFASetup.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsMfaModal.vue.d.ts +13 -0
- package/dist/vue/components/StrandsMfaModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsMfaVerification.vue.d.ts +18 -0
- package/dist/vue/components/StrandsMfaVerification.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsPasswordReset.vue.d.ts +16 -0
- package/dist/vue/components/StrandsPasswordReset.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsSecuredFooter.vue.d.ts +23 -0
- package/dist/vue/components/StrandsSecuredFooter.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsSessionsModal.vue.d.ts +15 -0
- package/dist/vue/components/StrandsSessionsModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsSettingsModal.vue.d.ts +19 -0
- package/dist/vue/components/StrandsSettingsModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsSignIn.vue.d.ts +22 -0
- package/dist/vue/components/StrandsSignIn.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsSignUp.vue.d.ts +20 -0
- package/dist/vue/components/StrandsSignUp.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsTotpSetupModal.vue.d.ts +13 -0
- package/dist/vue/components/StrandsTotpSetupModal.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsUserButton.vue.d.ts +31 -0
- package/dist/vue/components/StrandsUserButton.vue.d.ts.map +1 -0
- package/dist/vue/components/StrandsUserProfile.vue.d.ts +27 -0
- package/dist/vue/components/StrandsUserProfile.vue.d.ts.map +1 -0
- package/dist/vue/components/SvgIcon.vue.d.ts +18 -0
- package/dist/vue/components/SvgIcon.vue.d.ts.map +1 -0
- package/dist/vue/components/VirtualList.vue.d.ts +38 -0
- package/dist/vue/components/VirtualList.vue.d.ts.map +1 -0
- package/dist/vue/components/icons/IconGithub.vue.d.ts +4 -0
- package/dist/vue/components/icons/IconGithub.vue.d.ts.map +1 -0
- package/dist/vue/components/icons/IconGoogle.vue.d.ts +4 -0
- package/dist/vue/components/icons/IconGoogle.vue.d.ts.map +1 -0
- package/dist/vue/components/icons/index.d.ts +3 -0
- package/dist/vue/components/icons/index.d.ts.map +1 -0
- package/dist/vue/components/index.d.ts +27 -0
- package/dist/vue/components/index.d.ts.map +1 -0
- package/dist/vue/composables/useAuthenticatedFetch.d.ts +21 -0
- package/dist/vue/composables/useAuthenticatedFetch.d.ts.map +1 -0
- package/dist/vue/composables/useOAuthProviders.d.ts +75 -0
- package/dist/vue/composables/useOAuthProviders.d.ts.map +1 -0
- package/dist/vue/composables/useStrandsAuth.d.ts +131 -0
- package/dist/vue/composables/useStrandsAuth.d.ts.map +1 -0
- package/dist/vue/composables/useStrandsConfig.d.ts +12 -0
- package/dist/vue/composables/useStrandsConfig.d.ts.map +1 -0
- package/dist/vue/composables/useStrandsMfa.d.ts +39 -0
- package/dist/vue/composables/useStrandsMfa.d.ts.map +1 -0
- package/dist/vue/index.d.ts +13 -0
- package/dist/vue/index.d.ts.map +1 -0
- package/dist/vue/plugins/StrandsUIPlugin.d.ts +20 -0
- package/dist/vue/plugins/StrandsUIPlugin.d.ts.map +1 -0
- package/dist/vue/ui/UiAlert.vue.d.ts +32 -0
- package/dist/vue/ui/UiAlert.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiAvatarEditor.vue.d.ts +26 -0
- package/dist/vue/ui/UiAvatarEditor.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiButton.vue.d.ts +55 -0
- package/dist/vue/ui/UiButton.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiCard.vue.d.ts +30 -0
- package/dist/vue/ui/UiCard.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiInput.vue.d.ts +49 -0
- package/dist/vue/ui/UiInput.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiLevelProgress.vue.d.ts +20 -0
- package/dist/vue/ui/UiLevelProgress.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiLink.vue.d.ts +43 -0
- package/dist/vue/ui/UiLink.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiLoader.vue.d.ts +16 -0
- package/dist/vue/ui/UiLoader.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiModal.vue.d.ts +34 -0
- package/dist/vue/ui/UiModal.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiTabs.vue.d.ts +18 -0
- package/dist/vue/ui/UiTabs.vue.d.ts.map +1 -0
- package/dist/vue/ui/UiToggle.vue.d.ts +16 -0
- package/dist/vue/ui/UiToggle.vue.d.ts.map +1 -0
- package/dist/vue/ui/index.d.ts +30 -0
- package/dist/vue/ui/index.d.ts.map +1 -0
- package/dist/vue/utils/contrast.d.ts +80 -0
- package/dist/vue/utils/contrast.d.ts.map +1 -0
- package/dist/vue/utils/debounce.d.ts +13 -0
- package/dist/vue/utils/debounce.d.ts.map +1 -0
- package/dist/vue/utils/fontPreloader.d.ts +20 -0
- package/dist/vue/utils/fontPreloader.d.ts.map +1 -0
- package/dist/vue/utils/iconProps.d.ts +10 -0
- package/dist/vue/utils/iconProps.d.ts.map +1 -0
- package/dist/vue/utils/lazyComponents.d.ts +3 -0
- package/dist/vue/utils/lazyComponents.d.ts.map +1 -0
- package/dist/vue/utils/levels.d.ts +28 -0
- package/dist/vue/utils/levels.d.ts.map +1 -0
- package/dist/vue/utils/performanceInit.d.ts +41 -0
- package/dist/vue/utils/performanceInit.d.ts.map +1 -0
- package/dist/vue/utils/requestCache.d.ts +50 -0
- package/dist/vue/utils/requestCache.d.ts.map +1 -0
- package/dist/vue/utils/sounds.d.ts +57 -0
- package/dist/vue/utils/sounds.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MfaDevicesResponse, TotpSetupResponse, BackupCodesResponse } from '../../types';
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
|
+
import { MfaDeviceType } from '../..';
|
|
4
|
+
export declare function useStrandsMfa(): {
|
|
5
|
+
mfaDevices: ComputedRef<{
|
|
6
|
+
id: string;
|
|
7
|
+
device_type: MfaDeviceType;
|
|
8
|
+
device_name: string;
|
|
9
|
+
is_active: boolean;
|
|
10
|
+
last_used_at?: (string | Date) | undefined;
|
|
11
|
+
created_at: string | Date;
|
|
12
|
+
}[]>;
|
|
13
|
+
mfaEnabled: ComputedRef<boolean>;
|
|
14
|
+
loading: ComputedRef<boolean>;
|
|
15
|
+
hasMfaDevices: ComputedRef<boolean>;
|
|
16
|
+
activeMfaDevices: ComputedRef<{
|
|
17
|
+
id: string;
|
|
18
|
+
device_type: MfaDeviceType;
|
|
19
|
+
device_name: string;
|
|
20
|
+
is_active: boolean;
|
|
21
|
+
last_used_at?: (string | Date) | undefined;
|
|
22
|
+
created_at: string | Date;
|
|
23
|
+
}[]>;
|
|
24
|
+
fetchMfaDevices: () => Promise<MfaDevicesResponse>;
|
|
25
|
+
setupTotp: (deviceName: string) => Promise<TotpSetupResponse>;
|
|
26
|
+
verifyTotpSetup: (deviceId: string, totpCode: string) => Promise<void>;
|
|
27
|
+
setupEmailMfa: (deviceName: string) => Promise<{
|
|
28
|
+
device_id: string;
|
|
29
|
+
email: string;
|
|
30
|
+
}>;
|
|
31
|
+
sendEmailMfaCode: (deviceId: string) => Promise<void>;
|
|
32
|
+
verifyEmailMfaCode: (deviceId: string, code: string) => Promise<boolean>;
|
|
33
|
+
disableMfaDevice: (deviceId: string) => Promise<void>;
|
|
34
|
+
regenerateBackupCodes: (deviceId: string) => Promise<BackupCodesResponse>;
|
|
35
|
+
getDeviceTypeIcon: (deviceType: string) => string;
|
|
36
|
+
getDeviceTypeName: (deviceType: string) => string;
|
|
37
|
+
formatLastUsed: (lastUsedAt?: string | Date) => string;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=useStrandsMfa.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStrandsMfa.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/composables/useStrandsMfa.ts"],"names":[],"mappings":";;AACA,OAAO,KAAK,EAEV,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,aAAa,CAAA;AAQpB,wBAAgB,aAAa;;;;;;;;;;;;;;;;;;;;2BAkDO,OAAO,CAAC,kBAAkB,CAAC;4BAiBxB,MAAM,KAAG,OAAO,CAAC,iBAAiB,CAAC;gCAkB/B,MAAM,YAAY,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;gCAmBxC,MAAM,KAAG,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;iCAkBrD,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;mCAapB,MAAM,QAAQ,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;iCAkBzC,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;sCAgBjB,MAAM,KAAG,OAAO,CAAC,mBAAmB,CAAC;oCAe7C,MAAM,KAAG,MAAM;oCAgBf,MAAM,KAAG,MAAM;kCAgBjB,MAAM,GAAG,IAAI,KAAG,MAAM;EAsC5D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './components/index';
|
|
2
|
+
export * from './ui/index';
|
|
3
|
+
export { default as StrandsUIPlugin, injectSquircleStyles } from './plugins/StrandsUIPlugin';
|
|
4
|
+
export * from './composables/useStrandsAuth';
|
|
5
|
+
export * from './composables/useStrandsConfig';
|
|
6
|
+
export * from './composables/useOAuthProviders';
|
|
7
|
+
export * from './composables/useAuthenticatedFetch';
|
|
8
|
+
export * from './utils/requestCache';
|
|
9
|
+
export * from './utils/debounce';
|
|
10
|
+
export * from './utils/fontPreloader';
|
|
11
|
+
export * from './utils/lazyComponents';
|
|
12
|
+
export * from './utils/performanceInit';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../apps/accounts-ui/src/vue/index.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAA;AAGlC,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAG5F,cAAc,8BAA8B,CAAA;AAC5C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qCAAqC,CAAA;AAGnD,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { default as StrandsUiAlert } from '../ui/UiAlert.vue';
|
|
3
|
+
import { default as StrandsUiButton } from '../ui/UiButton.vue';
|
|
4
|
+
import { default as StrandsUiCard } from '../ui/UiCard.vue';
|
|
5
|
+
import { default as StrandsUiInput } from '../ui/UiInput.vue';
|
|
6
|
+
import { default as StrandsUiLink } from '../ui/UiLink.vue';
|
|
7
|
+
import { default as StrandsUiTabs } from '../ui/UiTabs.vue';
|
|
8
|
+
import { default as StrandsUiLoader } from '../ui/UiLoader.vue';
|
|
9
|
+
declare function injectSquircleStyles(): void;
|
|
10
|
+
export interface StrandsUIOptions {
|
|
11
|
+
prefix?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: {
|
|
14
|
+
install(app: App, options?: StrandsUIOptions): void;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export { StrandsUiAlert, StrandsUiButton, StrandsUiCard, StrandsUiInput, StrandsUiLink, StrandsUiTabs, StrandsUiLoader, };
|
|
18
|
+
export { injectSquircleStyles };
|
|
19
|
+
export type { ButtonVariant, ButtonSize, InputType, CardVariant, LinkVariant, AlertVariant, } from '../ui/index';
|
|
20
|
+
//# sourceMappingURL=StrandsUIPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StrandsUIPlugin.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/plugins/StrandsUIPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG9B,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAChD,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAGhD,iBAAS,oBAAoB,SAE5B;AAaD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;;iBAGc,GAAG,YAAW,gBAAgB;;AAD7C,wBAaC;AAGD,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,EACb,cAAc,EACd,aAAa,EACb,aAAa,EACb,eAAe,GAChB,CAAA;AAGD,OAAO,EAAE,oBAAoB,EAAE,CAAA;AAG/B,YAAY,EACV,aAAa,EACb,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,GACb,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
variant?: 'success' | 'error' | 'warning' | 'info';
|
|
4
|
+
title?: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
+
dismiss: () => any;
|
|
19
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
+
onDismiss?: (() => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
variant: "success" | "error" | "warning" | "info";
|
|
23
|
+
dismissible: boolean;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=UiAlert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiAlert.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiAlert.vue"],"names":[],"mappings":";AA+BA;AAmQA,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAkDD,iBAAS,cAAc;WAsGT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;aAhLT,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM;iBAGpC,OAAO;wFAsLrB,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,26 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: number;
|
|
4
|
+
previewSize?: number;
|
|
5
|
+
maxFileSize?: number;
|
|
6
|
+
uploading?: boolean;
|
|
7
|
+
preselectedFile?: File | null;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
error: (error: string) => any;
|
|
11
|
+
upload: (file: File) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
onError?: ((error: string) => any) | undefined;
|
|
14
|
+
onUpload?: ((file: File) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
size: number;
|
|
17
|
+
previewSize: number;
|
|
18
|
+
maxFileSize: number;
|
|
19
|
+
uploading: boolean;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
21
|
+
fileInput: HTMLInputElement;
|
|
22
|
+
canvas: HTMLCanvasElement;
|
|
23
|
+
previewCanvas: HTMLCanvasElement;
|
|
24
|
+
}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=UiAvatarEditor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiAvatarEditor.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiAvatarEditor.vue"],"names":[],"mappings":";AAuJA;AAu4BA,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CAC9B;;;;;;;;UALQ,MAAM;iBACC,MAAM;iBACN,MAAM;eACR,OAAO;;;;;;AAyvBrB,wBAUG"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'outline';
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
type?: 'button' | 'submit' | 'reset';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
loadingText?: string;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Color prop supports multiple formats:
|
|
12
|
+
* - Base colors: 'red', 'blue', 'green', 'strands', etc.
|
|
13
|
+
* - Shades: 'red-600', 'blue-500', etc. (100-950)
|
|
14
|
+
* - Opacity: 'red/50', 'blue/80', etc. (0-100)
|
|
15
|
+
* Uses CSS relative color syntax for dynamic shading and opacity
|
|
16
|
+
*/
|
|
17
|
+
color?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Font weight for the button text
|
|
20
|
+
* Affects WCAG 3.0 APCA contrast calculation thresholds
|
|
21
|
+
* Higher weights require less contrast
|
|
22
|
+
*/
|
|
23
|
+
fontWeight?: 400 | 500 | 600 | 700;
|
|
24
|
+
}
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: {
|
|
28
|
+
icon?(_: {}): any;
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
rootEl: HTMLButtonElement;
|
|
33
|
+
};
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
36
|
+
click: (event: MouseEvent) => any;
|
|
37
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
38
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
variant: "primary" | "secondary" | "ghost" | "outline";
|
|
41
|
+
type: "button" | "submit" | "reset";
|
|
42
|
+
size: "sm" | "md" | "lg";
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
loading: boolean;
|
|
45
|
+
fullWidth: boolean;
|
|
46
|
+
fontWeight: 400 | 500 | 600 | 700;
|
|
47
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=UiButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiButton.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiButton.vue"],"names":[],"mappings":";AAsBA;AAyZA,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CAAA;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;CACnC;AAoJD,iBAAS,cAAc;WAyFT,OAAO,IAA6B;;sBAXxB,GAAG;yBACA,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;aApRT,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS;UAEhD,QAAQ,GAAG,QAAQ,GAAG,OAAO;UAD7B,IAAI,GAAG,IAAI,GAAG,IAAI;cAEd,OAAO;aACR,OAAO;eAEL,OAAO;gBAcN,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;2FAyQlC,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,30 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
variant?: 'default' | 'modern' | 'minimal' | 'clean';
|
|
4
|
+
padding?: 'sm' | 'md' | 'lg';
|
|
5
|
+
shadow?: 'none' | 'sm' | 'md' | 'lg';
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
+
variant: "default" | "modern" | "minimal" | "clean";
|
|
20
|
+
padding: "sm" | "md" | "lg";
|
|
21
|
+
shadow: "none" | "sm" | "md" | "lg";
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=UiCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiCard.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiCard.vue"],"names":[],"mappings":";AAqBA;AAyHA,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;IACpD,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACrC;AAkBD,iBAAS,cAAc;WAiET,OAAO,IAA6B;;wBAZtB,GAAG;yBACF,GAAG;wBACJ,GAAG;;;;EAe9B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aArGT,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO;aAC1C,IAAI,GAAG,IAAI,GAAG,IAAI;YACnB,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;wFA2GpC,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,49 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string | number;
|
|
4
|
+
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
error?: string | {
|
|
10
|
+
message: string;
|
|
11
|
+
};
|
|
12
|
+
helpText?: string;
|
|
13
|
+
autocomplete?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
inputmode?: 'text' | 'numeric' | 'decimal' | 'tel' | 'search' | 'email' | 'url';
|
|
16
|
+
maxlength?: number | string;
|
|
17
|
+
size?: 'sm' | 'md' | 'lg';
|
|
18
|
+
}
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
icon?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {};
|
|
25
|
+
rootEl: HTMLDivElement;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
|
+
"update:modelValue": (value: string) => any;
|
|
30
|
+
blur: (event: FocusEvent) => any;
|
|
31
|
+
focus: (event: FocusEvent) => any;
|
|
32
|
+
keydown: (event: KeyboardEvent) => any;
|
|
33
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
35
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
37
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
type: "text" | "email" | "password" | "number" | "tel" | "url";
|
|
40
|
+
size: "sm" | "md" | "lg";
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
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
|
+
};
|
|
49
|
+
//# sourceMappingURL=UiInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiInput.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiInput.vue"],"names":[],"mappings":";AAwCA;AAuWA,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAA;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;IAC/E,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B;AAwED,iBAAS,cAAc;WAoJT,OAAO,IAA6B;;sBAVxB,GAAG;;;;EAe5B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;UA9PZ,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK;UAWxD,IAAI,GAAG,IAAI,GAAG,IAAI;wFA4PzB,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,20 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value: number;
|
|
4
|
+
max: number;
|
|
5
|
+
level: number;
|
|
6
|
+
levelLabel?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
thickness?: number;
|
|
9
|
+
labelThickness?: number;
|
|
10
|
+
staticArcAngle?: number;
|
|
11
|
+
gapAngle?: number;
|
|
12
|
+
userSettings?: any;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
levelup: (...args: any[]) => void;
|
|
16
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onLevelup?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=UiLevelProgress.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiLevelProgress.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiLevelProgress.vue"],"names":[],"mappings":";AAsGA;AAwUA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB,CAAC;;;;;;AAmWF,wBAQG"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
href?: string;
|
|
4
|
+
to?: string | object;
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'underline';
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
external?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Color prop supports multiple formats (similar to UiButton):
|
|
11
|
+
* - Base colors: 'red', 'blue', 'green', 'strands', etc.
|
|
12
|
+
* - Shades: 'red-600', 'blue-500', etc. (100-950)
|
|
13
|
+
* - Opacity: 'red/50', 'blue/80', etc. (0-100)
|
|
14
|
+
*/
|
|
15
|
+
color?: string;
|
|
16
|
+
}
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
27
|
+
click: (event: MouseEvent) => any;
|
|
28
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
29
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
variant: "primary" | "secondary" | "ghost" | "underline";
|
|
32
|
+
size: "sm" | "md" | "lg";
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
external: boolean;
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, 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
|
+
};
|
|
43
|
+
//# sourceMappingURL=UiLink.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiLink.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiLink.vue"],"names":[],"mappings":";AAeA;AA4PA,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,WAAW,CAAA;IACzD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AA4FD,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;aA/LT,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,WAAW;UAClD,IAAI,GAAG,IAAI,GAAG,IAAI;cACd,OAAO;cACP,OAAO;6EAqMlB,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,16 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: number;
|
|
4
|
+
variant?: 'light' | 'dark' | 'auto';
|
|
5
|
+
text?: string;
|
|
6
|
+
centered?: boolean;
|
|
7
|
+
weight?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
variant: "light" | "dark" | "auto";
|
|
11
|
+
size: number;
|
|
12
|
+
centered: boolean;
|
|
13
|
+
weight: number;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=UiLoader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiLoader.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiLoader.vue"],"names":[],"mappings":";AAiCA;AA6HA,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;;aAJW,OAAO,GAAG,MAAM,GAAG,MAAM;UAD5B,MAAM;cAGF,OAAO;YACT,MAAM;;AAoHjB,wBAQG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
closeOnOverlayClick?: boolean;
|
|
5
|
+
fullscreenOnMobile?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
+
close: () => any;
|
|
20
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
open: boolean;
|
|
24
|
+
closeOnOverlayClick: boolean;
|
|
25
|
+
fullscreenOnMobile: boolean;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=UiModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiModal.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiModal.vue"],"names":[],"mappings":";AA2BA;AA4HA,UAAU,KAAK;IACd,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC5B;AA2BD,iBAAS,cAAc;WA4ET,OAAO,IAA6B;;wBAZtB,GAAG;yBACF,GAAG;wBACJ,GAAG;;;;EAe9B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;UA3Hb,OAAO;yBACQ,OAAO;wBACR,OAAO;wFAkI3B,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,18 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Tab {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface Props {
|
|
7
|
+
modelValue: string;
|
|
8
|
+
tabs: Tab[];
|
|
9
|
+
}
|
|
10
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
15
|
+
tabButtons: HTMLButtonElement[];
|
|
16
|
+
}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=UiTabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiTabs.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiTabs.vue"],"names":[],"mappings":";AAsBA;AAuMA,UAAU,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,GAAG,EAAE,CAAA;CACZ;;;;;;;;AAiMD,wBASG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (value: boolean) => any;
|
|
9
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
modelValue: boolean;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=UiToggle.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiToggle.vue.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/UiToggle.vue"],"names":[],"mappings":";AAWA;AAuHA,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;;;;;;cAFY,OAAO;gBADL,OAAO;;AAuGtB,wBASG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { default as StrandsUiAlert } from './UiAlert.vue';
|
|
2
|
+
export { default as StrandsUiButton } from './UiButton.vue';
|
|
3
|
+
export { default as StrandsUiCard } from './UiCard.vue';
|
|
4
|
+
export { default as StrandsUiInput } from './UiInput.vue';
|
|
5
|
+
export { default as StrandsUiLink } from './UiLink.vue';
|
|
6
|
+
export { default as StrandsUiTabs } from './UiTabs.vue';
|
|
7
|
+
export { default as StrandsUiLoader } from './UiLoader.vue';
|
|
8
|
+
export { default as StrandsUiToggle } from './UiToggle.vue';
|
|
9
|
+
export { default as StrandsUiAvatarEditor } from './UiAvatarEditor.vue';
|
|
10
|
+
export { default as StrandsUiLevelProgress } from './UiLevelProgress.vue';
|
|
11
|
+
export { default as StrandsUiModal } from './UiModal.vue';
|
|
12
|
+
export { default as UiAlert } from './UiAlert.vue';
|
|
13
|
+
export { default as UiButton } from './UiButton.vue';
|
|
14
|
+
export { default as UiCard } from './UiCard.vue';
|
|
15
|
+
export { default as UiInput } from './UiInput.vue';
|
|
16
|
+
export { default as UiLink } from './UiLink.vue';
|
|
17
|
+
export { default as UiTabs } from './UiTabs.vue';
|
|
18
|
+
export { default as UiLoader } from './UiLoader.vue';
|
|
19
|
+
export { default as UiToggle } from './UiToggle.vue';
|
|
20
|
+
export { default as UiAvatarEditor } from './UiAvatarEditor.vue';
|
|
21
|
+
export { default as UiAvatarEditorSimple } from './UiAvatarEditor.vue';
|
|
22
|
+
export { default as UiLevelProgress } from './UiLevelProgress.vue';
|
|
23
|
+
export { default as UiModal } from './UiModal.vue';
|
|
24
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'outline';
|
|
25
|
+
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
26
|
+
export type InputType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
|
|
27
|
+
export type CardVariant = 'default' | 'modern' | 'minimal';
|
|
28
|
+
export type LinkVariant = 'primary' | 'secondary' | 'ghost' | 'underline';
|
|
29
|
+
export type AlertVariant = 'success' | 'error' | 'warning' | 'info';
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/ui/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,eAAe,CAAA;AAGzD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAGlD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CAAA;AACzE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC3C,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAA;AAChF,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAA;AAC1D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,WAAW,CAAA;AACzE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WCAG 3.0 APCA-based contrast calculation utilities
|
|
3
|
+
* Provides perceptually accurate text contrast determination for accessibility
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Convert hex color to RGB values
|
|
7
|
+
*/
|
|
8
|
+
export declare const hexToRgb: (hex: string) => {
|
|
9
|
+
r: number;
|
|
10
|
+
g: number;
|
|
11
|
+
b: number;
|
|
12
|
+
} | null;
|
|
13
|
+
/**
|
|
14
|
+
* APCA sRGB to Y (luminance) conversion - WCAG 3.0 method
|
|
15
|
+
*/
|
|
16
|
+
export declare const sRGBtoY: (r: number, g: number, b: number) => number;
|
|
17
|
+
/**
|
|
18
|
+
* APCA contrast calculation
|
|
19
|
+
* Returns contrast value between -108 and 105
|
|
20
|
+
*/
|
|
21
|
+
export declare const calcAPCA: (txtY: number, bgY: number) => number;
|
|
22
|
+
/**
|
|
23
|
+
* Get effective RGB color considering shades and opacity modifications
|
|
24
|
+
*/
|
|
25
|
+
export declare const getEffectiveRgb: (colorProp: string) => {
|
|
26
|
+
r: number;
|
|
27
|
+
g: number;
|
|
28
|
+
b: number;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Calculate APCA contrast score between two colors
|
|
32
|
+
* @param textColor RGB object or hex string for text color
|
|
33
|
+
* @param backgroundColor RGB object or hex string for background color
|
|
34
|
+
* @returns APCA contrast score (-108 to 105)
|
|
35
|
+
*/
|
|
36
|
+
export declare const getAPCAContrast: (textColor: {
|
|
37
|
+
r: number;
|
|
38
|
+
g: number;
|
|
39
|
+
b: number;
|
|
40
|
+
} | string, backgroundColor: {
|
|
41
|
+
r: number;
|
|
42
|
+
g: number;
|
|
43
|
+
b: number;
|
|
44
|
+
} | string) => number;
|
|
45
|
+
/**
|
|
46
|
+
* Get APCA contrast threshold based on font weight and size
|
|
47
|
+
* WCAG 3.0 APCA thresholds vary based on font characteristics
|
|
48
|
+
*/
|
|
49
|
+
export declare const getAPCAThreshold: (fontWeight?: number, fontSize?: number) => number;
|
|
50
|
+
/**
|
|
51
|
+
* Determine optimal text color (black or white) for a given background
|
|
52
|
+
* Uses WCAG 3.0 APCA algorithm for accurate contrast assessment
|
|
53
|
+
* @param colorProp Color property string (e.g., 'red-500', 'blue/50')
|
|
54
|
+
* @param fontWeight Font weight (300-900, default 400)
|
|
55
|
+
* @param fontSize Font size in pixels (default 16)
|
|
56
|
+
* @returns '#000000' for black text or '#ffffff' for white text
|
|
57
|
+
*/
|
|
58
|
+
export declare const getContrastTextColor: (colorProp: string, fontWeight?: number, fontSize?: number) => string;
|
|
59
|
+
/**
|
|
60
|
+
* Check if a color combination meets WCAG 3.0 APCA standards
|
|
61
|
+
* @param textColor Text color (RGB object or hex string)
|
|
62
|
+
* @param backgroundColor Background color (RGB object or hex string)
|
|
63
|
+
* @param fontWeight Font weight (300-900, default 400)
|
|
64
|
+
* @param fontSize Font size in pixels (default 16)
|
|
65
|
+
* @returns boolean indicating if contrast is sufficient
|
|
66
|
+
*/
|
|
67
|
+
export declare const meetsAPCAStandard: (textColor: {
|
|
68
|
+
r: number;
|
|
69
|
+
g: number;
|
|
70
|
+
b: number;
|
|
71
|
+
} | string, backgroundColor: {
|
|
72
|
+
r: number;
|
|
73
|
+
g: number;
|
|
74
|
+
b: number;
|
|
75
|
+
} | string, fontWeight?: number, fontSize?: number) => boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Generate color value from color prop (for CSS generation)
|
|
78
|
+
*/
|
|
79
|
+
export declare const getColorValue: (color: string) => string;
|
|
80
|
+
//# sourceMappingURL=contrast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contrast.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/utils/contrast.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkBH;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAO5E,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,MAezD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,EAAE,KAAK,MAAM,KAAG,MAapD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,WAAW,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CA0CpF,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAC1B,WAAW;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,EACvD,iBAAiB;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,KAC5D,MAUF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,aAAY,MAAY,EAAE,WAAU,MAAW,KAAG,MAyBlF,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,GAC/B,WAAW,MAAM,EACjB,aAAY,MAAY,EACxB,WAAU,MAAW,KACpB,MA2BF,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAC5B,WAAW;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,EACvD,iBAAiB;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,EAC7D,aAAY,MAAY,EACxB,WAAU,MAAW,KACpB,OAKF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,MAwC7C,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Debounce utility for optimizing frequent operations
|
|
3
|
+
*/
|
|
4
|
+
export declare function debounce<T extends (...args: any[]) => void>(func: T, wait: number): (...args: Parameters<T>) => void;
|
|
5
|
+
/**
|
|
6
|
+
* Debounced localStorage setter
|
|
7
|
+
*/
|
|
8
|
+
export declare const debouncedSetItem: (key: string, value: string) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Throttle utility for limiting function execution frequency
|
|
11
|
+
*/
|
|
12
|
+
export declare function throttle<T extends (...args: any[]) => void>(func: T, limit: number): (...args: Parameters<T>) => void;
|
|
13
|
+
//# sourceMappingURL=debounce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../../../apps/accounts-ui/src/vue/utils/debounce.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EACzD,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,MAAM,GACX,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAYlC;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,kCAjBE,IAqBxB,CAAA;AAEP;;GAEG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EACzD,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,MAAM,GACZ,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAUlC"}
|