@agendize/vue-tools 1.8.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- declare type Subscription<S> = (state: S) => void;
2
- export declare abstract class Bloc<S> {
3
- private internalState;
4
- private listeners;
5
- constructor(initialState: S);
6
- get state(): S;
7
- changeState(state: S): void;
8
- subscribe(listener: Subscription<S>): void;
9
- unsubscribe(listener: Subscription<S>): void;
10
- }
11
- export {};
1
+ declare type Subscription<S> = (state: S) => void;
2
+ export declare abstract class Bloc<S> {
3
+ private internalState;
4
+ private listeners;
5
+ constructor(initialState: S);
6
+ get state(): S;
7
+ changeState(state: S): void;
8
+ subscribe(listener: Subscription<S>): void;
9
+ unsubscribe(listener: Subscription<S>): void;
10
+ }
11
+ export {};
12
12
  //# sourceMappingURL=Bloc.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Bloc } from "./Bloc";
2
- import { DeepReadonly, Ref } from "vue";
3
- export declare function useBlocState<S>(bloc: Bloc<S>): DeepReadonly<Ref<S>>;
1
+ import { Bloc } from "./Bloc";
2
+ import { DeepReadonly, Ref } from "vue";
3
+ export declare function useBlocState<S>(bloc: Bloc<S>): DeepReadonly<Ref<S>>;
4
4
  //# sourceMappingURL=useBlocState.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,22 +1,22 @@
1
- import { useBlocState } from "./bloc/useBlocState";
2
- import { dateToString } from "./utils/date";
3
- import { onPictureUpdated, readBlobFromUrl, toBase64 } from "./utils/file";
4
- import { pad, parseToInt, formatDate, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList } from "./utils/format";
5
- import QRCode from "./presentation/component/qr-code/View.vue";
6
- import Share from "./presentation/component/share/View.vue";
7
- import { ShareMode } from "./presentation/component/share/viewModel";
8
- import { createStore, useAccountStore } from "./store/accountStore";
9
- import { createApi, createLogger, useApi, useLogger } from "./store/plugins";
10
- import { poll } from "./utils/poll";
11
- import { getDomain } from "./utils/web";
12
- import { hasGlobalSchedulingRight } from "./utils/right";
13
- export * from './bloc/Bloc';
14
- export * from './utils/colorUtils';
15
- export { useBlocState, dateToString, QRCode, Share, ShareMode, onPictureUpdated, readBlobFromUrl, pad, parseToInt, formatDate, toBase64, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList };
16
- export { createStore, useAccountStore };
17
- export { createApi, createLogger, useApi, useLogger };
18
- export { poll, getDomain };
19
- export { hasGlobalSchedulingRight };
20
- export * from './utils/constants';
21
- export * from './utils/lazy';
1
+ import { useBlocState } from "./bloc/useBlocState";
2
+ import { dateToString } from "./utils/date";
3
+ import { onPictureUpdated, readBlobFromUrl, toBase64 } from "./utils/file";
4
+ import { pad, parseToInt, formatDate, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList, getDurationLabel } from "./utils/format";
5
+ import QRCode from "./presentation/component/qr-code/View.vue";
6
+ import Share from "./presentation/component/share/View.vue";
7
+ import { ShareMode } from "./presentation/component/share/viewModel";
8
+ import { createStore, useAccountStore } from "./store/accountStore";
9
+ import { createApi, createLogger, useApi, useLogger, createPublicApi, usePublicApi } from "./store/plugins";
10
+ import { poll } from "./utils/poll";
11
+ import { getDomain } from "./utils/web";
12
+ import { hasGlobalSchedulingRight } from "./utils/right";
13
+ export * from './bloc/Bloc';
14
+ export * from './utils/colorUtils';
15
+ export { useBlocState, dateToString, QRCode, Share, ShareMode, onPictureUpdated, readBlobFromUrl, pad, parseToInt, formatDate, toBase64, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList, getDurationLabel };
16
+ export { createStore, useAccountStore };
17
+ export { createApi, createLogger, useApi, useLogger, createPublicApi, usePublicApi };
18
+ export { poll, getDomain };
19
+ export { hasGlobalSchedulingRight };
20
+ export * from './utils/constants';
21
+ export * from './utils/lazy';
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @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iB,EAAE,qBAAqB,EAAE,gBAAgB,EAAC,CAAA;AAC7P,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAC,CAAA;AACnF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAA;AAC1B,OAAO,EAAE,wBAAwB,EAAE,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA"}
@@ -1,67 +1,67 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- width: {
3
- type: import("vue").PropType<number>;
4
- required: true;
5
- };
6
- height: {
7
- type: import("vue").PropType<number>;
8
- required: true;
9
- };
10
- bgColor: {
11
- type: import("vue").PropType<string>;
12
- };
13
- dotsColor: {
14
- type: import("vue").PropType<string>;
15
- };
16
- value: {
17
- type: import("vue").PropType<string>;
18
- required: true;
19
- };
20
- outlineValue: {
21
- type: import("vue").PropType<string>;
22
- required: true;
23
- };
24
- download: {
25
- type: import("vue").PropType<boolean>;
26
- } & {
27
- default: boolean;
28
- };
29
- disableDownload: {
30
- type: import("vue").PropType<boolean>;
31
- };
32
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
- width: {
34
- type: import("vue").PropType<number>;
35
- required: true;
36
- };
37
- height: {
38
- type: import("vue").PropType<number>;
39
- required: true;
40
- };
41
- bgColor: {
42
- type: import("vue").PropType<string>;
43
- };
44
- dotsColor: {
45
- type: import("vue").PropType<string>;
46
- };
47
- value: {
48
- type: import("vue").PropType<string>;
49
- required: true;
50
- };
51
- outlineValue: {
52
- type: import("vue").PropType<string>;
53
- required: true;
54
- };
55
- download: {
56
- type: import("vue").PropType<boolean>;
57
- } & {
58
- default: boolean;
59
- };
60
- disableDownload: {
61
- type: import("vue").PropType<boolean>;
62
- };
63
- }>>, {
64
- download: boolean;
65
- }, {}>;
66
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ width: {
3
+ type: import("vue").PropType<number>;
4
+ required: true;
5
+ };
6
+ height: {
7
+ type: import("vue").PropType<number>;
8
+ required: true;
9
+ };
10
+ bgColor: {
11
+ type: import("vue").PropType<string>;
12
+ };
13
+ dotsColor: {
14
+ type: import("vue").PropType<string>;
15
+ };
16
+ value: {
17
+ type: import("vue").PropType<string>;
18
+ required: true;
19
+ };
20
+ outlineValue: {
21
+ type: import("vue").PropType<string>;
22
+ required: true;
23
+ };
24
+ download: {
25
+ type: import("vue").PropType<boolean>;
26
+ } & {
27
+ default: boolean;
28
+ };
29
+ disableDownload: {
30
+ type: import("vue").PropType<boolean>;
31
+ };
32
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ width: {
34
+ type: import("vue").PropType<number>;
35
+ required: true;
36
+ };
37
+ height: {
38
+ type: import("vue").PropType<number>;
39
+ required: true;
40
+ };
41
+ bgColor: {
42
+ type: import("vue").PropType<string>;
43
+ };
44
+ dotsColor: {
45
+ type: import("vue").PropType<string>;
46
+ };
47
+ value: {
48
+ type: import("vue").PropType<string>;
49
+ required: true;
50
+ };
51
+ outlineValue: {
52
+ type: import("vue").PropType<string>;
53
+ required: true;
54
+ };
55
+ download: {
56
+ type: import("vue").PropType<boolean>;
57
+ } & {
58
+ default: boolean;
59
+ };
60
+ disableDownload: {
61
+ type: import("vue").PropType<boolean>;
62
+ };
63
+ }>>, {
64
+ download: boolean;
65
+ }, {}>;
66
+ export default _default;
67
67
  //# sourceMappingURL=View.vue.d.ts.map
@@ -1,67 +1,67 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- id: {
3
- type: import("vue").PropType<string>;
4
- required: true;
5
- };
6
- height: {
7
- type: import("vue").PropType<number>;
8
- } & {
9
- default: number;
10
- };
11
- width: {
12
- type: import("vue").PropType<number>;
13
- } & {
14
- default: number;
15
- };
16
- source: {
17
- type: import("vue").PropType<string>;
18
- } & {
19
- default: string;
20
- };
21
- url: {
22
- type: import("vue").PropType<string>;
23
- required: true;
24
- };
25
- couldBack: {
26
- type: import("vue").PropType<boolean>;
27
- required: true;
28
- };
29
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- back: () => void;
31
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
- id: {
33
- type: import("vue").PropType<string>;
34
- required: true;
35
- };
36
- height: {
37
- type: import("vue").PropType<number>;
38
- } & {
39
- default: number;
40
- };
41
- width: {
42
- type: import("vue").PropType<number>;
43
- } & {
44
- default: number;
45
- };
46
- source: {
47
- type: import("vue").PropType<string>;
48
- } & {
49
- default: string;
50
- };
51
- url: {
52
- type: import("vue").PropType<string>;
53
- required: true;
54
- };
55
- couldBack: {
56
- type: import("vue").PropType<boolean>;
57
- required: true;
58
- };
59
- }>> & {
60
- onBack?: () => any;
61
- }, {
62
- width: number;
63
- height: number;
64
- source: string;
65
- }, {}>;
66
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ id: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ height: {
7
+ type: import("vue").PropType<number>;
8
+ } & {
9
+ default: number;
10
+ };
11
+ width: {
12
+ type: import("vue").PropType<number>;
13
+ } & {
14
+ default: number;
15
+ };
16
+ source: {
17
+ type: import("vue").PropType<string>;
18
+ } & {
19
+ default: string;
20
+ };
21
+ url: {
22
+ type: import("vue").PropType<string>;
23
+ required: true;
24
+ };
25
+ couldBack: {
26
+ type: import("vue").PropType<boolean>;
27
+ required: true;
28
+ };
29
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ back: () => void;
31
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ id: {
33
+ type: import("vue").PropType<string>;
34
+ required: true;
35
+ };
36
+ height: {
37
+ type: import("vue").PropType<number>;
38
+ } & {
39
+ default: number;
40
+ };
41
+ width: {
42
+ type: import("vue").PropType<number>;
43
+ } & {
44
+ default: number;
45
+ };
46
+ source: {
47
+ type: import("vue").PropType<string>;
48
+ } & {
49
+ default: string;
50
+ };
51
+ url: {
52
+ type: import("vue").PropType<string>;
53
+ required: true;
54
+ };
55
+ couldBack: {
56
+ type: import("vue").PropType<boolean>;
57
+ required: true;
58
+ };
59
+ }>> & {
60
+ onBack?: () => any;
61
+ }, {
62
+ width: number;
63
+ height: number;
64
+ source: string;
65
+ }, {}>;
66
+ export default _default;
67
67
  //# sourceMappingURL=ShareIframe.vue.d.ts.map
@@ -1,45 +1,45 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- id: {
3
- type: import("vue").PropType<string>;
4
- required: true;
5
- };
6
- source: {
7
- type: import("vue").PropType<string>;
8
- } & {
9
- default: string;
10
- };
11
- url: {
12
- type: import("vue").PropType<string>;
13
- required: true;
14
- };
15
- couldBack: {
16
- type: import("vue").PropType<boolean>;
17
- required: true;
18
- };
19
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- back: () => void;
21
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
- id: {
23
- type: import("vue").PropType<string>;
24
- required: true;
25
- };
26
- source: {
27
- type: import("vue").PropType<string>;
28
- } & {
29
- default: string;
30
- };
31
- url: {
32
- type: import("vue").PropType<string>;
33
- required: true;
34
- };
35
- couldBack: {
36
- type: import("vue").PropType<boolean>;
37
- required: true;
38
- };
39
- }>> & {
40
- onBack?: () => any;
41
- }, {
42
- source: string;
43
- }, {}>;
44
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ id: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ source: {
7
+ type: import("vue").PropType<string>;
8
+ } & {
9
+ default: string;
10
+ };
11
+ url: {
12
+ type: import("vue").PropType<string>;
13
+ required: true;
14
+ };
15
+ couldBack: {
16
+ type: import("vue").PropType<boolean>;
17
+ required: true;
18
+ };
19
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ back: () => void;
21
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ id: {
23
+ type: import("vue").PropType<string>;
24
+ required: true;
25
+ };
26
+ source: {
27
+ type: import("vue").PropType<string>;
28
+ } & {
29
+ default: string;
30
+ };
31
+ url: {
32
+ type: import("vue").PropType<string>;
33
+ required: true;
34
+ };
35
+ couldBack: {
36
+ type: import("vue").PropType<boolean>;
37
+ required: true;
38
+ };
39
+ }>> & {
40
+ onBack?: () => any;
41
+ }, {
42
+ source: string;
43
+ }, {}>;
44
+ export default _default;
45
45
  //# sourceMappingURL=ShareQrCode.vue.d.ts.map
@@ -1,34 +1,40 @@
1
- import { ShareMode } from "./viewModel";
2
- declare const _default: import("vue").DefineComponent<{
3
- id: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- url: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- sharedMode: {
12
- type: import("vue").PropType<ShareMode[]>;
13
- } & {
14
- default: () => ShareMode[];
15
- };
16
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
- id: {
18
- type: import("vue").PropType<string>;
19
- required: true;
20
- };
21
- url: {
22
- type: import("vue").PropType<string>;
23
- required: true;
24
- };
25
- sharedMode: {
26
- type: import("vue").PropType<ShareMode[]>;
27
- } & {
28
- default: () => ShareMode[];
29
- };
30
- }>>, {
31
- sharedMode: ShareMode[];
32
- }, {}>;
33
- export default _default;
1
+ import { ShareMode } from "./viewModel";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ id: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ };
7
+ url: {
8
+ type: import("vue").PropType<string>;
9
+ required: true;
10
+ };
11
+ sharedMode: {
12
+ type: import("vue").PropType<ShareMode[]>;
13
+ } & {
14
+ default: () => ShareMode[];
15
+ };
16
+ urlLabel: {
17
+ type: import("vue").PropType<string>;
18
+ };
19
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ id: {
21
+ type: import("vue").PropType<string>;
22
+ required: true;
23
+ };
24
+ url: {
25
+ type: import("vue").PropType<string>;
26
+ required: true;
27
+ };
28
+ sharedMode: {
29
+ type: import("vue").PropType<ShareMode[]>;
30
+ } & {
31
+ default: () => ShareMode[];
32
+ };
33
+ urlLabel: {
34
+ type: import("vue").PropType<string>;
35
+ };
36
+ }>>, {
37
+ sharedMode: ShareMode[];
38
+ }, {}>;
39
+ export default _default;
34
40
  //# sourceMappingURL=View.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"View.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/share/View.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CtC,wBA6FG"}
1
+ {"version":3,"file":"View.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/share/View.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDtC,wBA8GG"}
@@ -1,5 +1,5 @@
1
- export declare enum ShareMode {
2
- IFRAME = "iFrame",
3
- QR_CODE = "qrCode"
4
- }
1
+ export declare enum ShareMode {
2
+ IFRAME = "iFrame",
3
+ QR_CODE = "qrCode"
4
+ }
5
5
  //# sourceMappingURL=viewModel.d.ts.map
@@ -1,16 +1,16 @@
1
- import { AccountEntity, ApiErrors, CalendarApi, RightObject } from "@agendize/js-calendar-api";
2
- import { AclAbility } from "@agendize/vue-acl";
3
- import { RoleType } from "@agendize/vue-acl/src/types/acl";
4
- export declare type AccountState = {
5
- account: AccountEntity;
6
- };
7
- export declare const createStore: (calendarApi: CalendarApi) => import("pinia").Pinia;
8
- export declare const useAccountStore: import("pinia").StoreDefinition<"account", AccountState, {}, {
9
- updateAccount(payload: AccountEntity): Promise<void>;
10
- fetchAccount(crossAccount?: boolean, success?: (account: AccountEntity) => void, error?: (error: ApiErrors) => void): Promise<void>;
11
- updatePassword(currentPassword: string, newPassword: string): Promise<void>;
12
- hasAbility(ability: AclAbility, rightObject?: RightObject | string): boolean;
13
- hasAnyAbility(abilities: AclAbility[], rightObject?: RightObject | string): boolean;
14
- hasAnyRoles(roles: RoleType[]): boolean;
15
- }>;
1
+ import { AccountEntity, ApiErrors, CalendarApi, RightObject } from "@agendize/js-calendar-api";
2
+ import { AclAbility } from "@agendize/vue-acl";
3
+ import { RoleType } from "@agendize/vue-acl/src/types/acl";
4
+ export declare type AccountState = {
5
+ account: AccountEntity;
6
+ };
7
+ export declare const createStore: (calendarApi: CalendarApi) => import("pinia").Pinia;
8
+ export declare const useAccountStore: import("pinia").StoreDefinition<"account", AccountState, {}, {
9
+ updateAccount(payload: AccountEntity): Promise<void>;
10
+ fetchAccount(crossAccount?: boolean, success?: (account: AccountEntity) => void, error?: (error: ApiErrors) => void): Promise<void>;
11
+ updatePassword(currentPassword: string, newPassword: string): Promise<void>;
12
+ hasAbility(ability: AclAbility, rightObject?: RightObject | string): boolean;
13
+ hasAnyAbility(abilities: AclAbility[], rightObject?: RightObject | string): boolean;
14
+ hasAnyRoles(roles: RoleType[]): boolean;
15
+ }>;
16
16
  //# sourceMappingURL=accountStore.d.ts.map
@@ -1,10 +1,16 @@
1
- import { Plugin } from 'vue';
2
- import { Logger, CalendarApi, LoggerLevel, LoggerInterface } from '@agendize/js-calendar-api';
3
- export declare const createApi: (calendarOptions: {
4
- baseURL: string;
5
- clientId: string;
6
- }) => Plugin;
7
- export declare const createLogger: (logger: LoggerInterface, level: LoggerLevel) => Plugin;
8
- export declare const useApi: () => CalendarApi;
9
- export declare const useLogger: () => Logger;
1
+ import { Plugin } from 'vue';
2
+ import { Logger, CalendarApi, LoggerLevel, LoggerInterface } from '@agendize/js-calendar-api';
3
+ import { PublicApi } from "@agendize/js-public-api";
4
+ export declare const createApi: (calendarOptions: {
5
+ baseURL: string;
6
+ clientId: string;
7
+ }) => Plugin;
8
+ export declare const createPublicApi: (calendarOptions: {
9
+ baseURL: string;
10
+ lang: string;
11
+ }) => Plugin;
12
+ export declare const createLogger: (logger: LoggerInterface, level: LoggerLevel) => Plugin;
13
+ export declare const useApi: () => CalendarApi;
14
+ export declare const usePublicApi: () => PublicApi;
15
+ export declare const useLogger: () => Logger;
10
16
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/store/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,MAAM,EAAC,MAAM,KAAK,CAAC;AAChC,OAAO,EAAC,MAAM,EAAE,WAAW,EAAiB,WAAW,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAA;AAe1G,eAAO,MAAM,SAAS,oBAAqB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;CACnB,KAAG,MAaH,CAAA;AAED,eAAO,MAAM,YAAY,WAAY,eAAe,SAAS,WAAW,KAAG,MAQ1E,CAAA;AAED,eAAO,MAAM,MAAM,QAAO,WAEzB,CAAA;AAED,eAAO,MAAM,SAAS,QAAO,MAE5B,CAAA"}
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/store/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,MAAM,EAAC,MAAM,KAAK,CAAC;AAChC,OAAO,EAAC,MAAM,EAAE,WAAW,EAAiB,WAAW,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAA;AAC1G,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAgBlD,eAAO,MAAM,SAAS,oBAAqB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;CACnB,KAAG,MAaH,CAAA;AAED,eAAO,MAAM,eAAe,oBAAqB;IAC7C,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACf,KAAG,MAaH,CAAA;AAED,eAAO,MAAM,YAAY,WAAY,eAAe,SAAS,WAAW,KAAG,MAQ1E,CAAA;AAED,eAAO,MAAM,MAAM,QAAO,WAEzB,CAAA;AAED,eAAO,MAAM,YAAY,QAAO,SAE/B,CAAA;AAED,eAAO,MAAM,SAAS,QAAO,MAE5B,CAAA"}
@@ -1,13 +1,13 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- url: {
3
- type: import("vue").PropType<string>;
4
- required: true;
5
- };
6
- }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- url: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- }>>, {}, {}>;
12
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ url: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ url: {
8
+ type: import("vue").PropType<string>;
9
+ required: true;
10
+ };
11
+ }>>, {}, {}>;
12
+ export default _default;
13
13
  //# sourceMappingURL=Share.vue.d.ts.map
@@ -1,6 +1,6 @@
1
- export interface ColorDef {
2
- key: string;
3
- code: string;
4
- }
5
- export declare function generateShadesFromColor(color: string): ColorDef[];
1
+ export interface ColorDef {
2
+ key: string;
3
+ code: string;
4
+ }
5
+ export declare function generateShadesFromColor(color: string): ColorDef[];
6
6
  //# sourceMappingURL=colorUtils.d.ts.map