@agendize/vue-tools 1.24.0 → 1.25.2
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 +12 -0
- package/dist/bloc/Bloc.d.ts.map +1 -0
- package/dist/bloc/useBlocState.d.ts +4 -0
- package/dist/bloc/useBlocState.d.ts.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/presentation/component/form-builder/View.vue.d.ts +18 -0
- package/dist/presentation/component/form-builder/View.vue.d.ts.map +1 -0
- package/dist/presentation/component/form-builder/viewModel.d.ts +28 -0
- package/dist/presentation/component/form-builder/viewModel.d.ts.map +1 -0
- package/dist/presentation/component/qr-code/View.vue.d.ts +17 -0
- package/dist/presentation/component/qr-code/View.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/ShareEmail.vue.d.ts +155 -0
- package/dist/presentation/component/share/ShareEmail.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/ShareIframe.vue.d.ts +21 -0
- package/dist/presentation/component/share/ShareIframe.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/ShareQrCode.vue.d.ts +17 -0
- package/dist/presentation/component/share/ShareQrCode.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/View.vue.d.ts +19 -0
- package/dist/presentation/component/share/View.vue.d.ts.map +1 -0
- package/dist/presentation/component/share/viewModel.d.ts +23 -0
- package/dist/presentation/component/share/viewModel.d.ts.map +1 -0
- package/dist/store/accountStore.d.ts +19 -0
- package/dist/store/accountStore.d.ts.map +1 -0
- package/dist/store/plugins.d.ts +11 -0
- package/dist/store/plugins.d.ts.map +1 -0
- package/dist/ui-test/Share.vue.d.ts +6 -0
- package/dist/ui-test/Share.vue.d.ts.map +1 -0
- package/dist/ui-test/Tester.vue.d.ts +15 -0
- package/dist/ui-test/Tester.vue.d.ts.map +1 -0
- package/dist/utils/appointment.d.ts +32 -0
- package/dist/utils/appointment.d.ts.map +1 -0
- package/dist/utils/colorUtils.d.ts +16 -0
- package/dist/utils/colorUtils.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +5 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/dataCleaner.d.ts +2 -0
- package/dist/utils/dataCleaner.d.ts.map +1 -0
- package/dist/utils/datadogLogger.d.ts +23 -0
- package/dist/utils/datadogLogger.d.ts.map +1 -0
- package/dist/utils/date.d.ts +13 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/file.d.ts +11 -0
- package/dist/utils/file.d.ts.map +1 -0
- package/dist/utils/form.d.ts +9 -0
- package/dist/utils/form.d.ts.map +1 -0
- package/dist/utils/format.d.ts +24 -0
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/lazy.d.ts +10 -0
- package/dist/utils/lazy.d.ts.map +1 -0
- package/dist/utils/location.d.ts +24 -0
- package/dist/utils/location.d.ts.map +1 -0
- package/dist/utils/number.d.ts +3 -0
- package/dist/utils/number.d.ts.map +1 -0
- package/dist/utils/objectUtils.d.ts +10 -0
- package/dist/utils/objectUtils.d.ts.map +1 -0
- package/dist/utils/poll.d.ts +24 -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/string.d.ts +10 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/dist/utils/validator.d.ts +4 -0
- package/dist/utils/validator.d.ts.map +1 -0
- package/dist/utils/web.d.ts +4 -0
- package/dist/utils/web.d.ts.map +1 -0
- package/dist/utils/widget.d.ts +27 -0
- package/dist/utils/widget.d.ts.map +1 -0
- package/dist/utils/workingPeriod.d.ts +6 -0
- package/dist/utils/workingPeriod.d.ts.map +1 -0
- package/dist/vue-tools.es.js +2329 -2268
- package/package.json +3 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
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
|
+
//# sourceMappingURL=Bloc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bloc.d.ts","sourceRoot":"","sources":["../../src/bloc/Bloc.ts"],"names":[],"mappings":"AAAA,KAAK,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
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useBlocState } from "./bloc/useBlocState";
|
|
2
|
+
import { downloadFile, onPictureUpdated, readBlobFromUrl, toBase64 } from "./utils/file";
|
|
3
|
+
import { getAddress, getDurationLabel, getFullname, parseToInt, personToInitials } from "./utils/format";
|
|
4
|
+
import QRCode from "./presentation/component/qr-code/View.vue";
|
|
5
|
+
import Share from "./presentation/component/share/View.vue";
|
|
6
|
+
import { ShareCallBackInterface, ShareMode } from "./presentation/component/share/viewModel";
|
|
7
|
+
import { createStore, useAccountStore } from "./store/accountStore";
|
|
8
|
+
import { createApi, createLogger, useApi, useLogger } from "./store/plugins";
|
|
9
|
+
import { clearPoll, poll } from "./utils/poll";
|
|
10
|
+
import { getDomain } from "./utils/web";
|
|
11
|
+
import { hasGlobalSchedulingRight } from "./utils/right";
|
|
12
|
+
import FormBuilder from "./presentation/component/form-builder/View.vue";
|
|
13
|
+
import { formEntityToFormFields, loadFormFieldFromResult } from "./presentation/component/form-builder/viewModel";
|
|
14
|
+
import { getDateRangeByDatesLabel, getDateRangeLabel } from "./utils/date";
|
|
15
|
+
export * from './bloc/Bloc';
|
|
16
|
+
export * from './utils/appointment';
|
|
17
|
+
export * from './utils/colorUtils';
|
|
18
|
+
export { useBlocState, FormBuilder, QRCode, Share, ShareMode, onPictureUpdated, readBlobFromUrl, parseToInt, toBase64, downloadFile, personToInitials, getDurationLabel, getFullname, getAddress };
|
|
19
|
+
export { createStore, useAccountStore };
|
|
20
|
+
export { createApi, createLogger, useApi, useLogger };
|
|
21
|
+
export { poll, clearPoll, getDomain, formEntityToFormFields, loadFormFieldFromResult };
|
|
22
|
+
export { hasGlobalSchedulingRight };
|
|
23
|
+
export { getDateRangeByDatesLabel, getDateRangeLabel };
|
|
24
|
+
export * from './utils/objectUtils';
|
|
25
|
+
export * from './utils/constants';
|
|
26
|
+
export * from './utils/lazy';
|
|
27
|
+
export * from './utils/string';
|
|
28
|
+
export * from './utils/web';
|
|
29
|
+
export * from './utils/number';
|
|
30
|
+
export * from './utils/date';
|
|
31
|
+
export * from './utils/widget';
|
|
32
|
+
export * from './utils/workingPeriod';
|
|
33
|
+
export * from './utils/datadogLogger';
|
|
34
|
+
export * from './utils/validator';
|
|
35
|
+
export * from './utils/location';
|
|
36
|
+
export * from './utils/form';
|
|
37
|
+
export type { ShareCallBackInterface };
|
|
38
|
+
//# 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,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAA;AACtF,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;AACtG,OAAO,MAAM,MAAM,2CAA2C,CAAA;AAC9D,OAAO,KAAK,MAAM,yCAAyC,CAAC;AAC5D,OAAO,EAAC,sBAAsB,EAAE,SAAS,EAAC,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAC,WAAW,EAAE,eAAe,EAAC,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAC,MAAM,iBAAiB,CAAA;AAC1E,OAAO,EAAC,SAAS,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAA;AACrC,OAAO,EAAC,wBAAwB,EAAC,MAAM,eAAe,CAAC;AACvD,OAAO,WAAW,MAAM,gDAAgD,CAAA;AACxE,OAAO,EAAC,sBAAsB,EAAE,uBAAuB,EAAC,MAAM,iDAAiD,CAAA;AAC/G,OAAO,EAAC,wBAAwB,EAAE,iBAAiB,EAAC,MAAM,cAAc,CAAA;AAExE,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAC,YAAY,EAAG,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAC3F,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAC,CAAA;AACpG,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,SAAS,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,CAAA;AACtF,OAAO,EAAE,wBAAwB,EAAE,CAAA;AACnC,OAAO,EAAC,wBAAwB,EAAE,iBAAiB,EAAC,CAAA;AACpD,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAE5B,YAAY,EAAC,sBAAsB,EAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormValueType } from './viewModel';
|
|
2
|
+
interface Props {
|
|
3
|
+
formId: string;
|
|
4
|
+
fieldValues?: Map<string, FormValueType>;
|
|
5
|
+
cypherParams?: FormValueType;
|
|
6
|
+
showError?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
updateFormResult: (result: any) => any;
|
|
10
|
+
onError: (code: string) => any;
|
|
11
|
+
goToHome: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
onUpdateFormResult?: (result: any) => any;
|
|
14
|
+
onOnError?: (code: string) => any;
|
|
15
|
+
onGoToHome?: () => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=View.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/form-builder/View.vue"],"names":[],"mappings":"AAmFA,OAAO,EAAC,aAAa,EAAgB,MAAM,aAAa,CAAC;AAIzD,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;;;;;;;;;;AAkLD,wBAQG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FormItemEntity, PagePublicEntity } from "@agendize/js-agendize-api";
|
|
2
|
+
import { Ref } from "vue";
|
|
3
|
+
import { FormField } from "@agendize/design-system";
|
|
4
|
+
export declare function loadFormFieldFromResult(pages: PagePublicEntity[] | undefined, fieldValues?: Map<string, FormValueType>): FormItemEntity[];
|
|
5
|
+
export declare type FormValueType = string | string[] | null;
|
|
6
|
+
export declare function FormViewModel(emitter: Function, formId: string, fieldValues?: Map<string, FormValueType>, cypherParams?: string | string[] | null): FormViewModelType;
|
|
7
|
+
export declare function formEntityToFormFields(fieldEntities: FormItemEntity[], cleanUnknownValue?: boolean): any[];
|
|
8
|
+
interface FormViewModelType {
|
|
9
|
+
welcomeMessage: Ref<string>;
|
|
10
|
+
formName: Ref<string>;
|
|
11
|
+
fields: Ref<FormField[]>;
|
|
12
|
+
dataConsentValue: Ref<boolean>;
|
|
13
|
+
marketingConsentValue: Ref<boolean>;
|
|
14
|
+
dataConsentMessage: Ref<string>;
|
|
15
|
+
marketingConsentMessage: Ref<string>;
|
|
16
|
+
formSubmit: () => void;
|
|
17
|
+
validateForm: (data: {
|
|
18
|
+
isValid: boolean;
|
|
19
|
+
values: {
|
|
20
|
+
id: string;
|
|
21
|
+
isValid: boolean;
|
|
22
|
+
values: any;
|
|
23
|
+
}[];
|
|
24
|
+
}) => void;
|
|
25
|
+
isFieldsValid: Ref<boolean>;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=viewModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewModel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/form-builder/viewModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,cAAc,EAId,gBAAgB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA2B,GAAG,EAAC,MAAM,KAAK,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAIlD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,SAAS,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,oBAgDtH;AAED,MAAM,CAAC,OAAO,MAAM,aAAa,GAAI,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;AAE7D,wBAAgB,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAC,aAAa,CAAC,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,GAAG,iBAAiB,CAmGpK;AAwBD,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,cAAc,EAAE,EAAE,iBAAiB,CAAC,EAAE,OAAO,SA2BlG;AA4CD,UAAU,iBAAiB;IACvB,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACrB,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAA;IACxB,gBAAgB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC9B,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACnC,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC/B,uBAAuB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACpC,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,YAAY,EAAE,CAAC,IAAI,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,MAAM,EAAE,GAAG,CAAA;SAAE,EAAE,CAAA;KAAE,KAAK,IAAI,CAAA;IAC3G,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;CAC9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
bgColor?: string;
|
|
5
|
+
dotsColor?: string;
|
|
6
|
+
value: string;
|
|
7
|
+
outlineValue?: string;
|
|
8
|
+
download?: boolean;
|
|
9
|
+
disableDownload?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
download: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
14
|
+
qrCode: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# 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"],"names":[],"mappings":"AAkHA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAC,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;;cAFW,OAAO;;;;AAmKnB,wBASG"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { Mandatory } from "@agendize/design-system";
|
|
2
|
+
interface Props {
|
|
3
|
+
id: string;
|
|
4
|
+
url: string;
|
|
5
|
+
couldBack: boolean;
|
|
6
|
+
email?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
error: (message: string, error: any) => any;
|
|
10
|
+
back: () => any;
|
|
11
|
+
sent: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
onError?: (message: string, error: any) => any;
|
|
14
|
+
onBack?: () => any;
|
|
15
|
+
onSent?: () => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
17
|
+
emailsField: {
|
|
18
|
+
$: import("vue").ComponentInternalInstance;
|
|
19
|
+
$data: {};
|
|
20
|
+
$props: {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly label: string;
|
|
23
|
+
readonly modelValue?: string;
|
|
24
|
+
readonly helperMessage?: string;
|
|
25
|
+
readonly placeholder?: string;
|
|
26
|
+
readonly mandatory: Mandatory;
|
|
27
|
+
readonly pattern?: string;
|
|
28
|
+
readonly minlength?: number;
|
|
29
|
+
readonly maxlength?: number;
|
|
30
|
+
readonly maxFieldLength?: number;
|
|
31
|
+
readonly disabled?: boolean;
|
|
32
|
+
readonly readonly?: boolean;
|
|
33
|
+
readonly showError?: boolean;
|
|
34
|
+
readonly clickToCopy?: boolean;
|
|
35
|
+
readonly onError?: ((item: any) => any) | undefined;
|
|
36
|
+
readonly "onUpdate:modelValue"?: ((item: string) => any) | undefined;
|
|
37
|
+
readonly onValidated?: ((validation: {
|
|
38
|
+
isValid: boolean;
|
|
39
|
+
id: string;
|
|
40
|
+
values: any;
|
|
41
|
+
}) => any) | undefined;
|
|
42
|
+
readonly onCopied?: (() => any) | undefined;
|
|
43
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
44
|
+
$attrs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
$refs: {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
} & {
|
|
50
|
+
inputField: HTMLInputElement;
|
|
51
|
+
slot: HTMLDivElement;
|
|
52
|
+
};
|
|
53
|
+
$slots: Readonly<{
|
|
54
|
+
[name: string]: import("vue").Slot<any>;
|
|
55
|
+
}>;
|
|
56
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
57
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
58
|
+
$host: Element | null;
|
|
59
|
+
$emit: ((event: "error", item: any) => void) & ((event: "validated", validation: {
|
|
60
|
+
isValid: boolean;
|
|
61
|
+
id: string;
|
|
62
|
+
values: any;
|
|
63
|
+
}) => void) & ((event: "update:modelValue", item: string) => void) & ((event: "copied") => void);
|
|
64
|
+
$el: HTMLDivElement;
|
|
65
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("@agendize/design-system/dist/presentation/component/form/fields/field-input/viewModel").FieldInputProps> & Readonly<{
|
|
66
|
+
onError?: ((item: any) => any) | undefined;
|
|
67
|
+
"onUpdate:modelValue"?: ((item: string) => any) | undefined;
|
|
68
|
+
onValidated?: ((validation: {
|
|
69
|
+
isValid: boolean;
|
|
70
|
+
id: string;
|
|
71
|
+
values: any;
|
|
72
|
+
}) => any) | undefined;
|
|
73
|
+
onCopied?: (() => any) | undefined;
|
|
74
|
+
}>, {
|
|
75
|
+
checkField: (showError?: boolean, onMounted?: boolean) => {
|
|
76
|
+
isValid: boolean;
|
|
77
|
+
id: any;
|
|
78
|
+
values: any;
|
|
79
|
+
} | {
|
|
80
|
+
isValid: boolean;
|
|
81
|
+
id: any;
|
|
82
|
+
values?: undefined;
|
|
83
|
+
};
|
|
84
|
+
copy: (showMicroToaster: boolean, target?: HTMLInputElement) => void;
|
|
85
|
+
focus: () => void;
|
|
86
|
+
resetError: () => void;
|
|
87
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
|
+
error: (item: any) => any;
|
|
89
|
+
"update:modelValue": (item: string) => any;
|
|
90
|
+
validated: (validation: {
|
|
91
|
+
isValid: boolean;
|
|
92
|
+
id: string;
|
|
93
|
+
values: any;
|
|
94
|
+
}) => any;
|
|
95
|
+
copied: () => any;
|
|
96
|
+
}, string, {
|
|
97
|
+
showError: boolean;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
readonly: boolean;
|
|
100
|
+
clickToCopy: boolean;
|
|
101
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
102
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
103
|
+
created?: (() => void) | (() => void)[];
|
|
104
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
105
|
+
mounted?: (() => void) | (() => void)[];
|
|
106
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
107
|
+
updated?: (() => void) | (() => void)[];
|
|
108
|
+
activated?: (() => void) | (() => void)[];
|
|
109
|
+
deactivated?: (() => void) | (() => void)[];
|
|
110
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
111
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
112
|
+
destroyed?: (() => void) | (() => void)[];
|
|
113
|
+
unmounted?: (() => void) | (() => void)[];
|
|
114
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
115
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
116
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
117
|
+
};
|
|
118
|
+
$forceUpdate: () => void;
|
|
119
|
+
$nextTick: typeof import("vue").nextTick;
|
|
120
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
121
|
+
} & Readonly<{
|
|
122
|
+
showError: boolean;
|
|
123
|
+
disabled: boolean;
|
|
124
|
+
readonly: boolean;
|
|
125
|
+
clickToCopy: boolean;
|
|
126
|
+
}> & Omit<Readonly<import("@agendize/design-system/dist/presentation/component/form/fields/field-input/viewModel").FieldInputProps> & Readonly<{
|
|
127
|
+
onError?: ((item: any) => any) | undefined;
|
|
128
|
+
"onUpdate:modelValue"?: ((item: string) => any) | undefined;
|
|
129
|
+
onValidated?: ((validation: {
|
|
130
|
+
isValid: boolean;
|
|
131
|
+
id: string;
|
|
132
|
+
values: any;
|
|
133
|
+
}) => any) | undefined;
|
|
134
|
+
onCopied?: (() => any) | undefined;
|
|
135
|
+
}>, "disabled" | "readonly" | "showError" | "copy" | "focus" | "checkField" | "resetError" | "clickToCopy"> & import("vue").ShallowUnwrapRef<{
|
|
136
|
+
checkField: (showError?: boolean, onMounted?: boolean) => {
|
|
137
|
+
isValid: boolean;
|
|
138
|
+
id: any;
|
|
139
|
+
values: any;
|
|
140
|
+
} | {
|
|
141
|
+
isValid: boolean;
|
|
142
|
+
id: any;
|
|
143
|
+
values?: undefined;
|
|
144
|
+
};
|
|
145
|
+
copy: (showMicroToaster: boolean, target?: HTMLInputElement) => void;
|
|
146
|
+
focus: () => void;
|
|
147
|
+
resetError: () => void;
|
|
148
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
149
|
+
$slots: {
|
|
150
|
+
default?(_: {}): any;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
}, HTMLDivElement>;
|
|
154
|
+
export default _default;
|
|
155
|
+
//# sourceMappingURL=ShareEmail.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareEmail.vue.d.ts","sourceRoot":"","sources":["../../../../src/presentation/component/share/ShareEmail.vue"],"names":[],"mappings":"AA0HA,OAAO,EAAqB,SAAS,EAA2C,MAAM,yBAAyB,CAAA;AAS/G,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAC,MAAM,CAAA;IACV,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAdD,CAhHyB,oBAgHzB,CA9GG;;;;;;;sBA8GH,CA3GkD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAqX63W,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;8BA1QriX,CAhHyB,oBAgHzB,CA9GG;;;;;;;kBA8GH,CA3GkD;;;;;;;;;;;AAoWlD,wBASG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
id: string;
|
|
3
|
+
height?: number;
|
|
4
|
+
width?: number;
|
|
5
|
+
source?: string;
|
|
6
|
+
url: string;
|
|
7
|
+
couldBack: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
close: () => any;
|
|
11
|
+
back: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
onClose?: () => any;
|
|
14
|
+
onBack?: () => any;
|
|
15
|
+
}>, {
|
|
16
|
+
source: string;
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# 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"],"names":[],"mappings":"AAiIA,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,EAAC,MAAM,CAAA;IACV,SAAS,EAAE,OAAO,CAAA;CACnB;;;;;;;;YAHU,MAAM;WADP,MAAM;YADL,MAAM;;AAuUjB,wBASG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
id: string;
|
|
3
|
+
source?: string;
|
|
4
|
+
url: string;
|
|
5
|
+
couldBack: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
close: () => any;
|
|
9
|
+
back: () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
|
+
onClose?: () => any;
|
|
12
|
+
onBack?: () => any;
|
|
13
|
+
}>, {
|
|
14
|
+
source: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# 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"],"names":[],"mappings":"AAkJA,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,EAAC,MAAM,CAAA;IACV,SAAS,EAAE,OAAO,CAAA;CACnB;;;;;;;;YAHU,MAAM;;AAuSjB,wBASG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ShareMode, ShareProperties } from "./viewModel";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<ShareProperties, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
close: () => any;
|
|
4
|
+
error: (mode: ShareMode, message: string, error: any) => any;
|
|
5
|
+
emailSent: () => any;
|
|
6
|
+
smsSent: () => any;
|
|
7
|
+
copied: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<ShareProperties> & Readonly<{
|
|
9
|
+
onClose?: () => any;
|
|
10
|
+
onError?: (mode: ShareMode, message: string, error: any) => any;
|
|
11
|
+
onEmailSent?: () => any;
|
|
12
|
+
onSmsSent?: () => any;
|
|
13
|
+
onCopied?: () => any;
|
|
14
|
+
}>, {
|
|
15
|
+
sharedMode: ShareMode[];
|
|
16
|
+
shouldShorten: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# 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"],"names":[],"mappings":"AAmMA,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;AA6YvD,wBAQG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum ShareMode {
|
|
2
|
+
IFRAME = "iFrame",
|
|
3
|
+
QR_CODE = "qrCode",
|
|
4
|
+
EMAIL = "email",
|
|
5
|
+
SMS = "sms"
|
|
6
|
+
}
|
|
7
|
+
export interface ShareCallBackInterface {
|
|
8
|
+
emailSent: () => void;
|
|
9
|
+
smsSent: () => void;
|
|
10
|
+
error: (mode: ShareMode, message: string | undefined, error: any | undefined) => void;
|
|
11
|
+
copied: () => void;
|
|
12
|
+
}
|
|
13
|
+
export interface ShareProperties {
|
|
14
|
+
id: string;
|
|
15
|
+
url: string;
|
|
16
|
+
sharedMode?: ShareMode[];
|
|
17
|
+
shouldShorten?: boolean;
|
|
18
|
+
urlLabel?: string;
|
|
19
|
+
callbacks?: ShareCallBackInterface;
|
|
20
|
+
shareEmail?: string;
|
|
21
|
+
sharePhone?: string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=viewModel.d.ts.map
|
|
@@ -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;IAClB,KAAK,UAAU;IACf,GAAG,QAAQ;CACd;AAED,MAAM,WAAW,sBAAsB;IACnC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAG,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,GAAG,GAAG,SAAS,KAAK,IAAI,CAAC;IACvF,MAAM,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,sBAAsB,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AccountEntity, AgendizeApi, ApiErrors, RightObject, UserEntity } from "@agendize/js-agendize-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
|
+
user: UserEntity;
|
|
8
|
+
};
|
|
9
|
+
export declare const createStore: (calendarApi: AgendizeApi) => import("pinia").Pinia;
|
|
10
|
+
export declare const useAccountStore: import("pinia").StoreDefinition<"account", AccountState, {}, {
|
|
11
|
+
updateAccount(payload: AccountEntity, v2_3?: boolean): Promise<void>;
|
|
12
|
+
fetchAccount(crossAccount?: boolean, success?: (account: AccountEntity) => void, error?: (error: ApiErrors) => void): Promise<void>;
|
|
13
|
+
updatePassword(currentPassword: string, newPassword: string): Promise<void>;
|
|
14
|
+
hasAbility(ability: AclAbility, rightObject?: RightObject | string): boolean;
|
|
15
|
+
countAbility(abilities: AclAbility[], rightObject?: RightObject | string): number;
|
|
16
|
+
hasAnyAbility(abilities: AclAbility[], rightObject?: RightObject | string): boolean;
|
|
17
|
+
hasAnyRoles(roles: RoleType[]): boolean;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=accountStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountStore.d.ts","sourceRoot":"","sources":["../../src/store/accountStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACzG,OAAO,EAAC,UAAU,EAAS,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAEzD,MAAM,MAAM,YAAY,GAAG;IACvB,OAAO,EAAE,aAAa,CAAA;IACtB,YAAY,EAAE,aAAa,CAAA;IAC3B,IAAI,EAAE,UAAU,CAAA;CACnB,CAAC;AAIF,eAAO,MAAM,WAAW,GAAI,aAAa,WAAW,0BAGnD,CAAA;AAED,eAAO,MAAM,eAAe;2BAMS,aAAa,SAAQ,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;gCAU5C,OAAO,YAAY,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,UAAU,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI;oCAoB9E,MAAM,eAAe,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;wBAG7D,UAAU,gBAAgB,WAAW,GAAG,MAAM,GAAG,OAAO;4BAIpD,UAAU,EAAE,gBAAgB,WAAW,GAAG,MAAM,GAAG,MAAM;6BAKxD,UAAU,EAAE,gBAAgB,WAAW,GAAG,MAAM,GAAG,OAAO;uBAGhE,QAAQ,EAAE,GAAG,OAAO;EAK7C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { AgendizeApi, Logger, LoggerInterface, LoggerLevel } from '@agendize/js-agendize-api';
|
|
3
|
+
export declare const createApi: (agendizeOptions: {
|
|
4
|
+
baseURL: string;
|
|
5
|
+
widgetBaseURL: string;
|
|
6
|
+
clientId: string;
|
|
7
|
+
}) => Plugin;
|
|
8
|
+
export declare const createLogger: (logger: LoggerInterface, level: LoggerLevel) => Plugin;
|
|
9
|
+
export declare const useApi: () => AgendizeApi;
|
|
10
|
+
export declare const useLogger: () => Logger;
|
|
11
|
+
//# 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,WAAW,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAC,MAAM,2BAA2B,CAAA;AAe3F,eAAO,MAAM,SAAS,GAAI,iBAAiB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;CACnB,KAAG,MAeH,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,QAAQ,eAAe,EAAE,OAAO,WAAW,KAAG,MAQ1E,CAAA;AAED,eAAO,MAAM,MAAM,QAAO,WAEzB,CAAA;AAED,eAAO,MAAM,SAAS,QAAO,MAE5B,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
url: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=Share.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Share.vue.d.ts","sourceRoot":"","sources":["../../src/ui-test/Share.vue"],"names":[],"mappings":"AAgBA,UAAU,KAAK;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;;AAsDH,wBAQG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
component: any;
|
|
3
|
+
filter?: string;
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
options?: {
|
|
7
|
+
props?: any | undefined;
|
|
8
|
+
slot?: any | undefined;
|
|
9
|
+
class?: any | undefined;
|
|
10
|
+
style?: any | undefined;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=Tester.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tester.vue.d.ts","sourceRoot":"","sources":["../../src/ui-test/Tester.vue"],"names":[],"mappings":"AAsCA,KAAK,WAAW,GAAG;IACjB,SAAS,EAAC,GAAG,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,EAAC,MAAM,CAAC;IACV,KAAK,EAAC,MAAM,CAAC;IACb,OAAO,CAAC,EAAC;QACP,KAAK,CAAC,EAAC,GAAG,GAAG,SAAS,CAAC;QACvB,IAAI,CAAC,EAAC,GAAG,GAAG,SAAS,CAAC;QACtB,KAAK,CAAC,EAAC,GAAG,GAAG,SAAS,CAAC;QACvB,KAAK,CAAC,EAAC,GAAG,GAAG,SAAS,CAAA;KACvB,EAAE,CAAA;CACJ,CAAC;;AA2EF,wBAOG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CustomStatusEntity, EventStatus } from "@agendize/js-agendize-api";
|
|
2
|
+
export declare enum EventStatusPriority {
|
|
3
|
+
LIFE_CYCLE = 0,
|
|
4
|
+
CUSTOM = 1,
|
|
5
|
+
COMPLETED = 2,
|
|
6
|
+
END_OF = 3,
|
|
7
|
+
UNKNOWN = 4
|
|
8
|
+
}
|
|
9
|
+
export declare const EventStatusComparator: (a: DisplayEventStatus, b: DisplayEventStatus) => number;
|
|
10
|
+
export declare class DisplayEventStatus {
|
|
11
|
+
value: string;
|
|
12
|
+
label: string;
|
|
13
|
+
isCustom: boolean;
|
|
14
|
+
icon?: {
|
|
15
|
+
value: string;
|
|
16
|
+
background?: string;
|
|
17
|
+
};
|
|
18
|
+
type: EventStatusPriority;
|
|
19
|
+
constructor(value: string, label: string, isCustom?: boolean, color?: string);
|
|
20
|
+
private populate;
|
|
21
|
+
private initType;
|
|
22
|
+
private getBackgroundStatusColor;
|
|
23
|
+
}
|
|
24
|
+
export declare function getTransitionStatus(t: any, customStatus: CustomStatusEntity[], event: {
|
|
25
|
+
status: EventStatus;
|
|
26
|
+
customStatusId?: string;
|
|
27
|
+
endDate?: Date;
|
|
28
|
+
}, options?: {
|
|
29
|
+
cancelled: boolean;
|
|
30
|
+
current: boolean;
|
|
31
|
+
}): DisplayEventStatus[];
|
|
32
|
+
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../src/utils/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAE,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAI1E,oBAAY,mBAAmB;IAC3B,UAAU,IAAA;IACV,MAAM,IAAA;IACN,SAAS,IAAA;IACT,MAAM,IAAA;IACN,OAAO,IAAA;CACV;AAED,eAAO,MAAM,qBAAqB,GAAI,GAAE,kBAAkB,EAAE,GAAE,kBAAkB,WAM/E,CAAA;AAED,qBAAa,kBAAkB;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAC;QAAC,KAAK,EAAC,MAAM,CAAC;QAAC,UAAU,CAAC,EAAC,MAAM,CAAA;KAAC,CAAA;IACxC,IAAI,EAAE,mBAAmB,CAAA;gBAGb,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,OAAe,EAAE,KAAK,CAAC,EAAE,MAAM;IAOnF,OAAO,CAAC,QAAQ;IAKhB,OAAO,CAAC,QAAQ;IAwBhB,OAAO,CAAC,wBAAwB;CAanC;AAmBD,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,GAAG,EACN,YAAY,EAAE,kBAAkB,EAAE,EAClC,KAAK,EAAE;IAAE,MAAM,EAAE,WAAW,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,IAAI,CAAA;CAAC,EACtE,OAAO,GAAG;IAAC,SAAS,EAAC,OAAO,CAAC;IAAC,OAAO,EAAC,OAAO,CAAA;CAAmC,GAAG,kBAAkB,EAAE,CA4E1I"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ColorDef {
|
|
2
|
+
id: number;
|
|
3
|
+
key: string;
|
|
4
|
+
code: string;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Génère un tableau de définitions de nuances (shades) à partir d'une couleur de base, en incluant éventuellement des propriétés additionnelles.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} color La couleur de base à partir de laquelle les nuances seront générées (en notation hexadécimale, par exemple "#RRGGBB").
|
|
11
|
+
* @param {string} [base='az-primary'] Le préfixe utilisé pour générer les clés des nuances (par défaut "az-primary").
|
|
12
|
+
* @param {boolean} [additionalProps=false] Indique s'il faut ajouter des propriétés supplémentaires spécifiques (par défaut false).
|
|
13
|
+
* @return {ColorDef[]} Un tableau contenant les définitions des différentes nuances de la couleur, incluant leur clé, leur code hexadécimal et leur couleur de texte correspondant.
|
|
14
|
+
*/
|
|
15
|
+
export declare function generateShadesFromColor(color: string, base?: string, additionalProps?: boolean): ColorDef[];
|
|
16
|
+
//# sourceMappingURL=colorUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../src/utils/colorUtils.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAC,MAAM,CAAC;IACV,GAAG,EAAC,MAAM,CAAC;IACX,IAAI,EAAC,MAAM,CAAA;IACX,IAAI,EAAC,MAAM,CAAA;CACd;AAKD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAE,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,MAAoB,EAAE,eAAe,GAAG,OAAe,GAAE,QAAQ,EAAE,CAgEhI"}
|
|
@@ -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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataCleaner.d.ts","sourceRoot":"","sources":["../../src/utils/dataCleaner.ts"],"names":[],"mappings":"AAKA,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,aAAa,GAAE,MAAM,EAAW,GAAG,GAAG,CA6BtF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LoggerInterface, LoggerServiceType } from '@agendize/js-agendize-api';
|
|
2
|
+
export declare class DatadogLogger implements LoggerInterface {
|
|
3
|
+
private logInConsole;
|
|
4
|
+
private logger;
|
|
5
|
+
private userId;
|
|
6
|
+
private organisationId;
|
|
7
|
+
constructor(option: {
|
|
8
|
+
clientToken: string;
|
|
9
|
+
site: string;
|
|
10
|
+
env: string;
|
|
11
|
+
forwardErrorsToLogs?: boolean;
|
|
12
|
+
version: string;
|
|
13
|
+
debug: boolean;
|
|
14
|
+
});
|
|
15
|
+
fine(service: string, ...data: any[]): void;
|
|
16
|
+
trace(service: LoggerServiceType, ...data: any[]): void;
|
|
17
|
+
debug(service: LoggerServiceType, ...data: any[]): void;
|
|
18
|
+
error(service: LoggerServiceType, ...data: any[]): void;
|
|
19
|
+
info(service: LoggerServiceType, ...data: any[]): void;
|
|
20
|
+
warn(service: LoggerServiceType, ...data: any[]): void;
|
|
21
|
+
private getUserIdOrOrganisationId;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=datadogLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datadogLogger.d.ts","sourceRoot":"","sources":["../../src/utils/datadogLogger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,iBAAiB,EAA0B,MAAM,2BAA2B,CAAA;AAIrG,qBAAa,aAAc,YAAW,eAAe;IACjD,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,cAAc,CAAoB;gBAE9B,MAAM,EAAE;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,OAAO,CAAA;KACjB;IAmBD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAM3C,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAMvD,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYvD,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYvD,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYtD,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAYtD,OAAO,CAAC,yBAAyB;CAYpC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DateTime, DurationObjectUnits } from 'luxon';
|
|
2
|
+
import { Locale } from "vue-i18n";
|
|
3
|
+
export declare function isToday(date: Date): boolean;
|
|
4
|
+
export declare function getWeekNumber(date: Date): number;
|
|
5
|
+
export declare function getReadableDuration(durationParam: {
|
|
6
|
+
days?: number;
|
|
7
|
+
hours?: number;
|
|
8
|
+
minutes?: number;
|
|
9
|
+
} | undefined, t: any, spaceBefore?: boolean): string;
|
|
10
|
+
export declare function getDateRangeByDatesLabel(start: DateTime, locale: Locale, end?: DateTime, t?: any): any;
|
|
11
|
+
export declare function getDateRangeLabel(start: DateTime, duration: number, locale: Locale, t?: any): any;
|
|
12
|
+
export declare function calculateDuration(start?: Date, end?: Date): DurationObjectUnits;
|
|
13
|
+
//# sourceMappingURL=date.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/utils/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAY,mBAAmB,EAAC,MAAM,OAAO,CAAA;AAC7D,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAKhC,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAG3C;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAIhD;AAkBD,wBAAgB,mBAAmB,CAAC,aAAa,EAAE;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,GAAE,OAAe,GAAG,MAAM,CAe3D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,OAuBhG;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,OAK3F;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,IAAI,GAAG,mBAAmB,CAO/E"}
|
|
@@ -0,0 +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 };
|
|
11
|
+
//# sourceMappingURL=file.d.ts.map
|