@agendize/vue-tools 1.4.0 → 1.6.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 +1 -0
- package/dist/bloc/Bloc.d.ts.map +1 -0
- package/dist/bloc/useBlocState.d.ts +1 -0
- package/dist/bloc/useBlocState.d.ts.map +1 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/presentation/component/qr-code/View.vue.d.ts +8 -1
- package/dist/presentation/component/qr-code/View.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/ShareIframe.vue.d.ts +67 -0
- package/dist/presentation/component/share/ShareIframe.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/ShareQrCode.vue.d.ts +45 -0
- package/dist/presentation/component/share/ShareQrCode.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/View.vue.d.ts +34 -0
- package/dist/presentation/component/share/View.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/viewModel.d.ts +5 -0
- package/dist/presentation/component/share/viewModel.d.ts.map +1 -0
- package/dist/store/accountStore.d.ts +1 -0
- package/dist/store/accountStore.d.ts.map +1 -0
- package/dist/store/plugins.d.ts +1 -0
- package/dist/store/plugins.d.ts.map +1 -0
- package/dist/ui-test/Share.vue.d.ts +13 -0
- package/dist/ui-test/Share.vue.d.ts.map +1 -0
- package/dist/utils/colorUtils.d.ts +1 -0
- package/dist/utils/colorUtils.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/date.d.ts +1 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/file.d.ts +1 -0
- package/dist/utils/file.d.ts.map +1 -0
- package/dist/utils/format.d.ts +5 -2
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/lazy.d.ts +1 -0
- package/dist/utils/lazy.d.ts.map +1 -0
- package/dist/utils/poll.d.ts +1 -0
- package/dist/utils/poll.d.ts.map +1 -0
- package/dist/utils/right.d.ts +3 -0
- package/dist/utils/right.d.ts.map +1 -0
- package/dist/utils/web.d.ts +2 -0
- package/dist/utils/web.d.ts.map +1 -0
- package/dist/vue-tools.es.js +73204 -34883
- package/package.json +5 -7
- package/dist/vue-tools.umd.js +0 -77
package/dist/bloc/Bloc.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bloc.d.ts","sourceRoot":"","sources":["../../src/bloc/Bloc.ts"],"names":[],"mappings":"AAAA,aAAK,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;AAE1C,8BAAsB,IAAI,CAAC,CAAC;IACxB,OAAO,CAAC,aAAa,CAAI;IACzB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,YAAY,EAAE,CAAC;IAI3B,IAAW,KAAK,IAAI,CAAC,CAEpB;IAED,WAAW,CAAC,KAAK,EAAE,CAAC;IAQpB,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;IAInC,WAAW,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;CAMxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBlocState.d.ts","sourceRoot":"","sources":["../../src/bloc/useBlocState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,YAAY,EAAyC,GAAG,EAAC,MAAM,KAAK,CAAC;AAE7E,wBAAgB,YAAY,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAgBnE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { useBlocState } from "./bloc/useBlocState";
|
|
2
2
|
import { dateToString } from "./utils/date";
|
|
3
3
|
import { onPictureUpdated, readBlobFromUrl, toBase64 } from "./utils/file";
|
|
4
|
-
import { pad, parseToInt, formatDate, decodeHtml, personToInitials } from "./utils/format";
|
|
4
|
+
import { pad, parseToInt, formatDate, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn } from "./utils/format";
|
|
5
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";
|
|
6
8
|
import { createStore, useAccountStore } from "./store/accountStore";
|
|
7
9
|
import { createApi, createLogger, useApi, useLogger } from "./store/plugins";
|
|
8
10
|
import { poll } from "./utils/poll";
|
|
11
|
+
import { getDomain } from "./utils/web";
|
|
12
|
+
import { hasGlobalSchedulingRight } from "./utils/right";
|
|
9
13
|
export * from './bloc/Bloc';
|
|
10
14
|
export * from './utils/colorUtils';
|
|
11
|
-
export { useBlocState, dateToString, QRCode, onPictureUpdated, readBlobFromUrl, pad, parseToInt, formatDate, toBase64, decodeHtml, personToInitials };
|
|
15
|
+
export { useBlocState, dateToString, QRCode, Share, ShareMode, onPictureUpdated, readBlobFromUrl, pad, parseToInt, formatDate, toBase64, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn };
|
|
12
16
|
export { createStore, useAccountStore };
|
|
13
17
|
export { createApi, createLogger, useApi, useLogger };
|
|
14
|
-
export { poll };
|
|
18
|
+
export { poll, getDomain };
|
|
19
|
+
export { hasGlobalSchedulingRight };
|
|
15
20
|
export * from './utils/constants';
|
|
16
21
|
export * from './utils/lazy';
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAA;AACxE,OAAO,EAAC,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAC,4BAA4B,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAA;AACvI,OAAO,MAAM,MAAM,2CAA2C,CAAA;AAC9D,OAAO,KAAK,MAAM,yCAAyC,CAAC;AAC5D,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAC,MAAM,iBAAiB,CAAA;AAC3E,OAAO,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAEzD,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAC,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAC,4BAA4B,EAAE,iBAAiB,EAAC,CAAA;AACpN,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAC,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAA;AAC1B,OAAO,EAAE,wBAAwB,EAAE,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA"}
|
|
@@ -26,6 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
} & {
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
+
disableDownload: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
};
|
|
29
32
|
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
33
|
width: {
|
|
31
34
|
type: import("vue").PropType<number>;
|
|
@@ -54,7 +57,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
57
|
} & {
|
|
55
58
|
default: boolean;
|
|
56
59
|
};
|
|
60
|
+
disableDownload: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
};
|
|
57
63
|
}>>, {
|
|
58
64
|
download: boolean;
|
|
59
|
-
}>;
|
|
65
|
+
}, {}>;
|
|
60
66
|
export default _default;
|
|
67
|
+
//# sourceMappingURL=View.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/qr-code/View.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,wBAmDG"}
|
|
@@ -0,0 +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;
|
|
67
|
+
//# sourceMappingURL=ShareIframe.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareIframe.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/share/ShareIframe.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,wBAsGG"}
|
|
@@ -0,0 +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;
|
|
45
|
+
//# sourceMappingURL=ShareQrCode.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareQrCode.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/share/ShareQrCode.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,wBAoGG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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;
|
|
34
|
+
//# sourceMappingURL=View.vue.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewModel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/share/viewModel.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,WAAW;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountStore.d.ts","sourceRoot":"","sources":["../../src/store/accountStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,SAAS,EAAE,WAAW,EAAc,MAAM,2BAA2B,CAAC;AAC7F,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAEzD,oBAAY,YAAY,GAAG;IACvB,OAAO,EAAE,aAAa,CAAC;CAC1B,CAAC;AAKF,eAAO,MAAM,WAAW,gBAAiB,WAAW,UAAU,GAAG,0BAIhE,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;wBAGvD,OAAO,aAAa,MAAM,GAAG,QAAQ,OAAO,CAAC;uBAG9C,QAAQ,EAAE,GAAG,QAAQ,OAAO,CAAC;EAI5D,CAAC"}
|
package/dist/store/plugins.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export declare const createApi: (calendarOptions: {
|
|
|
7
7
|
export declare const createLogger: (logger: LoggerInterface, level: LoggerLevel) => Plugin;
|
|
8
8
|
export declare const useApi: () => CalendarApi;
|
|
9
9
|
export declare const useLogger: () => Logger;
|
|
10
|
+
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +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;
|
|
13
|
+
//# sourceMappingURL=Share.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Share.vue.d.ts","sourceRoot":"","sources":["../../src/ui-test/Share.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AAQA,wBAYG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../src/utils/colorUtils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,GAAG,EAAC,MAAM,CAAC;IACX,IAAI,EAAC,MAAM,CAAA;CACd;AAED,wBAAgB,uBAAuB,CAAE,KAAK,EAAE,MAAM,GAAE,QAAQ,EAAE,CAyBjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,EAAE;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,EAQrD,CAAA"}
|
package/dist/utils/date.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/utils/date.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,GAAE,OAAe,GAAG,MAAM,CAcvE"}
|
package/dist/utils/file.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ declare function onPictureUpdated(item: File | undefined, objectDefinition: {
|
|
|
7
7
|
declare const toBase64: (file: File) => Promise<string | ArrayBuffer>;
|
|
8
8
|
declare function readBlobFromUrl(url: string, callback: (data: string) => void): void;
|
|
9
9
|
export { toBase64, onPictureUpdated, readBlobFromUrl };
|
|
10
|
+
//# sourceMappingURL=file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/utils/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,iBAAS,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,EACtB,gBAAgB,EAAE;IAAE,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAAC,aAAa,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAAC,WAAW,EAAE,GAAG,CAAC,IAAI,GAAG,SAAS,CAAC,CAAA;CAAE,QAc9J;AAED,QAAA,MAAM,QAAQ,SAAU,IAAI,kCAK1B,CAAC;AAEH,iBAAS,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,QAsBrE;AAED,OAAO,EAAC,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAC,CAAA"}
|
package/dist/utils/format.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
declare function parseToInt(value: string): number;
|
|
2
2
|
declare function formatDate(date?: Date): string;
|
|
3
3
|
declare function pad(value: any, size?: number): string;
|
|
4
|
-
declare function
|
|
4
|
+
declare function isStringIncludeIn(stringToSearchIn?: string, stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
5
|
+
declare function normaliseStringWithoutAccent(label?: string): string;
|
|
6
|
+
declare function decodeHtml(html?: string): string;
|
|
5
7
|
declare function personToInitials(person?: {
|
|
6
8
|
firstName?: string;
|
|
7
9
|
lastName?: string;
|
|
8
10
|
name?: string;
|
|
9
11
|
}): string;
|
|
10
|
-
export { formatDate, pad, parseToInt, decodeHtml, personToInitials };
|
|
12
|
+
export { formatDate, pad, parseToInt, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn };
|
|
13
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/utils/format.ts"],"names":[],"mappings":"AAAA,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,UAMhC;AAED,iBAAS,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAKvC;AAED,iBAAS,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,GAAE,MAAU,UAIxC;AAED,iBAAS,iBAAiB,CAAE,gBAAgB,CAAC,EAAC,MAAM,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,GAAC,OAAc,EAAE,UAAU,GAAC,OAAa,GAAG,OAAO,CAkB5I;AAED,iBAAS,4BAA4B,CAAC,KAAK,CAAC,EAAC,MAAM,GAAG,MAAM,CAK3D;AAED,iBAAS,UAAU,CAAC,IAAI,CAAC,EAAC,MAAM,GAAE,MAAM,CAOvC;AAED,iBAAS,gBAAgB,CAAC,MAAM,CAAC,EAAG;IAAE,SAAS,CAAC,EAAC,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAC,MAAM,CAAC;IAAC,IAAI,CAAC,EAAC,MAAM,CAAA;CAAC,GAAE,MAAM,CAO/F;AAED,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,UAAU,EAAC,UAAU,EAAC,gBAAgB,EAAC,4BAA4B,EAAC,iBAAiB,EAAE,CAAA"}
|
package/dist/utils/lazy.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazy.d.ts","sourceRoot":"","sources":["../../src/utils/lazy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAE,SAAS,EAAuB,MAAM,KAAK,CAAC;AAI1E,MAAM,WAAW,YAAY;IAAE,OAAO,EAAE,SAAS,CAAE;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAC,MAAM,CAAC;IAAC,OAAO,CAAC,EAAC,MAAM,CAAA;CAAC;AAQrG,wBAAgB,+BAA+B,CAAC,EAAE,EAAE,oBAAoB,CAAC,GAAG,CAAC,EAC7B,OAAO,GAAE,YAA6B,OAQrF"}
|
package/dist/utils/poll.d.ts
CHANGED
|
@@ -8,3 +8,4 @@
|
|
|
8
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
9
|
*/
|
|
10
10
|
export declare function poll<T>(fn: () => Promise<T>, validate: (T: any) => boolean, interval: number, maxAttempts?: number, mustStopPoll?: () => boolean): Promise<unknown>;
|
|
11
|
+
//# sourceMappingURL=poll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../src/utils/poll.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAsB,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,KAAA,KAAK,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,OAAO,oBA4BjJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"right.d.ts","sourceRoot":"","sources":["../../src/utils/right.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAKtD,wBAAgB,wBAAwB,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,WAU9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../../src/utils/web.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,gBAAgB,GAAE,OAAe,UASvE"}
|