@agendize/vue-tools 1.12.0 → 1.13.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.
- package/dist/bloc/Bloc.d.ts +11 -11
- package/dist/bloc/Bloc.d.ts.map +1 -1
- package/dist/bloc/useBlocState.d.ts +3 -3
- package/dist/index.d.ts +26 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/presentation/component/form-builder/View.vue.d.ts +26 -30
- package/dist/presentation/component/form-builder/View.vue.d.ts.map +1 -1
- package/dist/presentation/component/form-builder/viewModel.d.ts +25 -25
- package/dist/presentation/component/qr-code/View.vue.d.ts +37 -64
- package/dist/presentation/component/qr-code/View.vue.d.ts.map +1 -1
- package/dist/presentation/component/share/ShareIframe.vue.d.ts +43 -66
- package/dist/presentation/component/share/ShareIframe.vue.d.ts.map +1 -1
- package/dist/presentation/component/share/ShareQrCode.vue.d.ts +35 -44
- package/dist/presentation/component/share/ShareQrCode.vue.d.ts.map +1 -1
- package/dist/presentation/component/share/View.vue.d.ts +32 -39
- package/dist/presentation/component/share/View.vue.d.ts.map +1 -1
- package/dist/presentation/component/share/viewModel.d.ts +4 -4
- package/dist/store/accountStore.d.ts +16 -15
- package/dist/store/accountStore.d.ts.map +1 -1
- package/dist/store/plugins.d.ts +17 -15
- package/dist/store/plugins.d.ts.map +1 -1
- package/dist/ui-test/Share.vue.d.ts +22 -12
- package/dist/ui-test/Share.vue.d.ts.map +1 -1
- package/dist/utils/colorUtils.d.ts +5 -5
- package/dist/utils/constants.d.ts +4 -4
- package/dist/utils/date.d.ts +4 -4
- package/dist/utils/file.d.ts +10 -10
- package/dist/utils/format.d.ts +8 -8
- package/dist/utils/lazy.d.ts +8 -8
- package/dist/utils/poll.d.ts +10 -10
- package/dist/utils/right.d.ts +2 -2
- package/dist/utils/string.d.ts +8 -8
- package/dist/utils/string.d.ts.map +1 -1
- package/dist/utils/web.d.ts +2 -2
- package/dist/vue-tools.es.js +3624 -3266
- package/package.json +12 -12
|
@@ -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,17 @@
|
|
|
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
|
|
5
|
-
account: AccountEntity;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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 type AccountState = {
|
|
5
|
+
account: AccountEntity;
|
|
6
|
+
organisation: AccountEntity;
|
|
7
|
+
};
|
|
8
|
+
export declare const createStore: (calendarApi: CalendarApi) => import("pinia").Pinia;
|
|
9
|
+
export declare const useAccountStore: import("pinia").StoreDefinition<"account", AccountState, {}, {
|
|
10
|
+
updateAccount(payload: AccountEntity): Promise<void>;
|
|
11
|
+
fetchAccount(crossAccount?: boolean, success?: (account: AccountEntity) => void, error?: (error: ApiErrors) => void): Promise<void>;
|
|
12
|
+
updatePassword(currentPassword: string, newPassword: string): Promise<void>;
|
|
13
|
+
hasAbility(ability: AclAbility, rightObject?: RightObject | string): boolean;
|
|
14
|
+
hasAnyAbility(abilities: AclAbility[], rightObject?: RightObject | string): boolean;
|
|
15
|
+
hasAnyRoles(roles: RoleType[]): boolean;
|
|
16
|
+
}>;
|
|
16
17
|
//# sourceMappingURL=accountStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountStore.d.ts","sourceRoot":"","sources":["../../src/store/accountStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"accountStore.d.ts","sourceRoot":"","sources":["../../src/store/accountStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG;IACvB,OAAO,EAAE,aAAa,CAAA;IACtB,YAAY,EAAE,aAAa,CAAA;CAC9B,CAAC;AAIF,eAAO,MAAM,WAAW,gBAAiB,WAAW,0BAGnD,CAAA;AAED,eAAO,MAAM,eAAe;2BAOS,aAAa,GAAG,QAAQ,IAAI,CAAC;gCAiB7B,OAAO,sBAAsB,aAAa,KAAK,IAAI,kBAAkB,SAAS,KAAK,IAAI;oCAoB9E,MAAM,eAAe,MAAM,GAAG,QAAQ,IAAI,CAAC;kDAGnC,WAAW,GAAG,MAAM,GAAG,OAAO;6BAInD,UAAU,EAAE,gBAAgB,WAAW,GAAG,MAAM,GAAG,OAAO;uBAKhE,QAAQ,EAAE,GAAG,OAAO;EAK7C,CAAC"}
|
package/dist/store/plugins.d.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
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
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { Logger, CalendarApi, LoggerLevel, LoggerInterface } from '@agendize/js-calendar-api';
|
|
3
|
+
import { PublicApi, Logger as PublicLogger, LoggerLevel as PublicLoggerLevel, LoggerInterface as PublicLoggerInterface } 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 createPublicLogger: (logger: PublicLoggerInterface, level: PublicLoggerLevel) => Plugin;
|
|
14
|
+
export declare const useApi: () => CalendarApi;
|
|
15
|
+
export declare const usePublicApi: () => PublicApi;
|
|
16
|
+
export declare const useLogger: () => Logger;
|
|
17
|
+
export declare const usePublicLogger: () => PublicLogger;
|
|
16
18
|
//# 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;AAC1G,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;
|
|
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,EAAE,MAAM,IAAI,YAAY,EAAE,WAAW,IAAI,iBAAiB,EAAE,eAAe,IAAI,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAkBtJ,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,kBAAkB,WAAY,qBAAqB,SAAQ,iBAAiB,KAAG,MAQ3F,CAAA;AAED,eAAO,MAAM,MAAM,QAAO,WAEzB,CAAA;AAED,eAAO,MAAM,YAAY,QAAO,SAE/B,CAAA;AAED,eAAO,MAAM,SAAS,QAAO,MAE5B,CAAA;AAED,eAAO,MAAM,eAAe,QAAO,YAElC,CAAA"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
url:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
url: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>>>, {}, {}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithDefaults<P, D> = {
|
|
7
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
8
|
+
default: D[K];
|
|
9
|
+
}> : P[K];
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Prettify<T> = {
|
|
12
|
+
[K in keyof T]: T[K];
|
|
13
|
+
} & {};
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
13
23
|
//# sourceMappingURL=Share.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Share.vue.d.ts","sourceRoot":"","sources":["../../src/ui-test/Share.vue
|
|
1
|
+
{"version":3,"file":"Share.vue.d.ts","sourceRoot":"","sources":["../../src/ui-test/Share.vue"],"names":[],"mappings":"AAkBA,UAAU,KAAK;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;;AAqDH,wBAOG;AAEH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface ColorDef {
|
|
2
|
-
key: string;
|
|
3
|
-
code: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function generateShadesFromColor(color: string, base?: string): ColorDef[];
|
|
1
|
+
export interface ColorDef {
|
|
2
|
+
key: string;
|
|
3
|
+
code: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function generateShadesFromColor(color: string, base?: string): ColorDef[];
|
|
6
6
|
//# sourceMappingURL=colorUtils.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const languages: {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
}[];
|
|
1
|
+
export declare const languages: {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}[];
|
|
5
5
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/utils/date.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function dateToString(date: Date, short?: boolean): string;
|
|
2
|
-
export declare function formatDate(date?: Date): string;
|
|
3
|
-
export declare function isToday(date: Date): boolean;
|
|
4
|
-
export declare function getWeekNumber(date: Date): number;
|
|
1
|
+
export declare function dateToString(date: Date, short?: boolean): string;
|
|
2
|
+
export declare function formatDate(date?: Date): string;
|
|
3
|
+
export declare function isToday(date: Date): boolean;
|
|
4
|
+
export declare function getWeekNumber(date: Date): number;
|
|
5
5
|
//# sourceMappingURL=date.d.ts.map
|
package/dist/utils/file.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ref } from "vue";
|
|
2
|
-
declare function onPictureUpdated(item: File | undefined, objectDefinition: {
|
|
3
|
-
urlPicture: Ref<string | undefined>;
|
|
4
|
-
pictureAsData: Ref<string | undefined>;
|
|
5
|
-
filePicture: Ref<File | undefined>;
|
|
6
|
-
}): void;
|
|
7
|
-
declare const toBase64: (file: File) => Promise<string | ArrayBuffer>;
|
|
8
|
-
declare function readBlobFromUrl(url: string, callback: (data: string) => void): void;
|
|
9
|
-
declare function downloadFile(filename: string, data: string): void;
|
|
10
|
-
export { toBase64, onPictureUpdated, readBlobFromUrl, downloadFile };
|
|
1
|
+
import { Ref } from "vue";
|
|
2
|
+
declare function onPictureUpdated(item: File | undefined, objectDefinition: {
|
|
3
|
+
urlPicture: Ref<string | undefined>;
|
|
4
|
+
pictureAsData: Ref<string | undefined>;
|
|
5
|
+
filePicture: Ref<File | undefined>;
|
|
6
|
+
}): void;
|
|
7
|
+
declare const toBase64: (file: File) => Promise<string | ArrayBuffer>;
|
|
8
|
+
declare function readBlobFromUrl(url: string, callback: (data: string) => void): void;
|
|
9
|
+
declare function downloadFile(filename: string, data: string): void;
|
|
10
|
+
export { toBase64, onPictureUpdated, readBlobFromUrl, downloadFile };
|
|
11
11
|
//# sourceMappingURL=file.d.ts.map
|
package/dist/utils/format.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare function parseToInt(value: string): number;
|
|
2
|
-
declare function personToInitials(person?: {
|
|
3
|
-
firstName?: string;
|
|
4
|
-
lastName?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
}): string;
|
|
7
|
-
declare function getDurationLabel(t: any, duration?: number): any;
|
|
8
|
-
export { parseToInt, personToInitials, getDurationLabel };
|
|
1
|
+
declare function parseToInt(value: string): number;
|
|
2
|
+
declare function personToInitials(person?: {
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
}): string;
|
|
7
|
+
declare function getDurationLabel(t: any, duration?: number): any;
|
|
8
|
+
export { parseToInt, personToInitials, getDurationLabel };
|
|
9
9
|
//# sourceMappingURL=format.d.ts.map
|
package/dist/utils/lazy.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AsyncComponentLoader, Component } from "vue";
|
|
2
|
-
export interface AsyncOptions {
|
|
3
|
-
loading: Component;
|
|
4
|
-
error: Component;
|
|
5
|
-
delay?: number;
|
|
6
|
-
timeout?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare function defineAsyncComponentWithLoading(fn: AsyncComponentLoader<any>, options?: AsyncOptions): any;
|
|
1
|
+
import { AsyncComponentLoader, Component } from "vue";
|
|
2
|
+
export interface AsyncOptions {
|
|
3
|
+
loading: Component;
|
|
4
|
+
error: Component;
|
|
5
|
+
delay?: number;
|
|
6
|
+
timeout?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function defineAsyncComponentWithLoading(fn: AsyncComponentLoader<any>, options?: AsyncOptions): any;
|
|
9
9
|
//# sourceMappingURL=lazy.d.ts.map
|
package/dist/utils/poll.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Effectue l'appel à une methode à interval regulier
|
|
3
|
-
*
|
|
4
|
-
* @param fn Methode à appeler.
|
|
5
|
-
* @param validate Methode permettant de stopper le polling suivant le résultat retourné par la méthode de polling
|
|
6
|
-
* @param interval Interval en ms des appels à la méthode de polling
|
|
7
|
-
* @param maxAttempts Nombre maximum de tentative de polling suite à une erreur de validation
|
|
8
|
-
* @param mustStopPoll Permet de stopper le polling (à la différence de la méthode validate, ici le polling est stoppé avant l'appel à la méthode de polling)
|
|
9
|
-
*/
|
|
10
|
-
export declare function poll<T>(fn: () => Promise<T>, validate: (arg: T) => boolean, interval: number, maxAttempts?: number, mustStopPoll?: () => boolean): Promise<unknown>;
|
|
1
|
+
/**
|
|
2
|
+
* Effectue l'appel à une methode à interval regulier
|
|
3
|
+
*
|
|
4
|
+
* @param fn Methode à appeler.
|
|
5
|
+
* @param validate Methode permettant de stopper le polling suivant le résultat retourné par la méthode de polling
|
|
6
|
+
* @param interval Interval en ms des appels à la méthode de polling
|
|
7
|
+
* @param maxAttempts Nombre maximum de tentative de polling suite à une erreur de validation
|
|
8
|
+
* @param mustStopPoll Permet de stopper le polling (à la différence de la méthode validate, ici le polling est stoppé avant l'appel à la méthode de polling)
|
|
9
|
+
*/
|
|
10
|
+
export declare function poll<T>(fn: () => Promise<T>, validate: (arg: T) => boolean, interval: number, maxAttempts?: number, mustStopPoll?: () => boolean): Promise<unknown>;
|
|
11
11
|
//# sourceMappingURL=poll.d.ts.map
|
package/dist/utils/right.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { GlobalRight } from "@agendize/js-calendar-api";
|
|
2
|
-
export declare function hasGlobalSchedulingRight(rights?: GlobalRight[]): boolean;
|
|
1
|
+
import { GlobalRight } from "@agendize/js-calendar-api";
|
|
2
|
+
export declare function hasGlobalSchedulingRight(rights?: GlobalRight[]): boolean;
|
|
3
3
|
//# sourceMappingURL=right.d.ts.map
|
package/dist/utils/string.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare function capitalize(data?: string, suffix?: string): string;
|
|
2
|
-
export declare function isStringIncludeInList(stringsToSearchIn: (string | undefined)[], stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
3
|
-
export declare function isStringIncludeIn(stringToSearchIn?: string, stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
4
|
-
export declare function normaliseStringWithoutAccent(label?: string): string;
|
|
5
|
-
export declare function sortByString(fieldGetter: (o: any) => string, options?: {
|
|
6
|
-
escapeAccent
|
|
7
|
-
escapeCase
|
|
8
|
-
}): (a: any, b: any) => number;
|
|
1
|
+
export declare function capitalize(data?: string, suffix?: string): string;
|
|
2
|
+
export declare function isStringIncludeInList(stringsToSearchIn: (string | undefined)[], stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
3
|
+
export declare function isStringIncludeIn(stringToSearchIn?: string, stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
4
|
+
export declare function normaliseStringWithoutAccent(label?: string): string;
|
|
5
|
+
export declare function sortByString(fieldGetter: (o: any) => string | undefined, options?: {
|
|
6
|
+
escapeAccent?: boolean;
|
|
7
|
+
escapeCase?: boolean;
|
|
8
|
+
}): (a: any, b: any) => number;
|
|
9
9
|
//# sourceMappingURL=string.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/utils/string.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED,wBAAgB,qBAAqB,CAAE,iBAAiB,EAAC,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,GAAC,OAAc,EAAE,UAAU,GAAC,OAAa,GAAG,OAAO,CAEvK;AAED,wBAAgB,iBAAiB,CAAE,gBAAgB,CAAC,EAAC,MAAM,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,GAAC,OAAc,EAAE,UAAU,GAAC,OAAa,GAAG,OAAO,CAWnJ;AAeD,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAC,MAAM,GAAG,MAAM,CAKlE;AAED,wBAAgB,YAAY,CAAC,WAAW,EAAE,CAAC,CAAC,EAAC,GAAG,KAAK,MAAM,EAAE,OAAO,GAAE;IAAE,YAAY,EAAC,OAAO,CAAE;IAAC,UAAU,EAAC,OAAO,CAAA;CAA4C,GAAK,CAAC,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,GAAG,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/utils/string.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED,wBAAgB,qBAAqB,CAAE,iBAAiB,EAAC,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,GAAC,OAAc,EAAE,UAAU,GAAC,OAAa,GAAG,OAAO,CAEvK;AAED,wBAAgB,iBAAiB,CAAE,gBAAgB,CAAC,EAAC,MAAM,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,GAAC,OAAc,EAAE,UAAU,GAAC,OAAa,GAAG,OAAO,CAWnJ;AAeD,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAC,MAAM,GAAG,MAAM,CAKlE;AAED,wBAAgB,YAAY,CAAC,WAAW,EAAE,CAAC,CAAC,EAAC,GAAG,KAAK,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE;IAAE,YAAY,CAAC,EAAC,OAAO,CAAE;IAAC,UAAU,CAAC,EAAC,OAAO,CAAA;CAA4C,GAAK,CAAC,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,GAAG,KAAK,MAAM,CAMvM"}
|
package/dist/utils/web.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function getDomain(uri: string, withoutSubdomain?: boolean): string;
|
|
2
|
-
export declare function decodeHtml(html?: string): string;
|
|
1
|
+
export declare function getDomain(uri: string, withoutSubdomain?: boolean): string;
|
|
2
|
+
export declare function decodeHtml(html?: string): string;
|
|
3
3
|
//# sourceMappingURL=web.d.ts.map
|