@vc-shell/framework 2.1.0-pr255.87acc71 → 2.1.0-pr256.34ebb1b
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/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CTKDY1xe.js +20733 -0
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CTKDY1xe.js.map +1 -0
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-CtkZR5a1.js → VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js} +1 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Cs-yidUE.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js} +2 -2
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Cs-yidUE.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js.map} +1 -1
- package/dist/chunks/{vendor-date-fns-BKO3x1R1.js → vendor-date-fns-C-55OMpS.js} +487 -441
- package/dist/chunks/vendor-date-fns-C-55OMpS.js.map +1 -0
- package/dist/chunks/vendor-rrule-C4g_KGmu.js +1706 -0
- package/dist/chunks/vendor-rrule-C4g_KGmu.js.map +1 -0
- package/dist/chunks/vendor-tslib-C4Z-yBok.js +35 -0
- package/dist/chunks/vendor-tslib-C4Z-yBok.js.map +1 -0
- package/dist/chunks/{vendor-vuepic-vue-datepicker-CaZ_qpJp.js → vendor-vuepic-vue-datepicker-D0bvbIbh.js} +1 -1
- package/dist/chunks/{vendor-vuepic-vue-datepicker-CaZ_qpJp.js.map → vendor-vuepic-vue-datepicker-D0bvbIbh.js.map} +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +1561 -1555
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/locales/de.js +67 -3
- package/dist/locales/en.js +67 -3
- package/dist/locales/en.json +67 -3
- package/dist/locales/types.d.ts +67 -3
- package/dist/shell/_internal/notifications/composables/useContainer/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/index.d.ts +1 -1
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-popover/index.d.ts +2 -0
- package/dist/ui/components/molecules/vc-popover/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-popover/panel-anchor-registry.d.ts.map +1 -0
- package/dist/ui/components/molecules/{vc-dropdown-panel/vc-dropdown-panel.vue.d.ts → vc-popover/vc-popover.vue.d.ts} +1 -1
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/index.d.ts +1 -0
- package/dist/ui/components/organisms/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableSelectAllBar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts +211 -0
- package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerBar.vue.d.ts +40 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerBar.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerGridlines.vue.d.ts +12 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerGridlines.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerHeader.vue.d.ts +33 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerHeader.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerResourcePanel.vue.d.ts +22 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerResourcePanel.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerRow.vue.d.ts +48 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerRow.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerSkeleton.vue.d.ts +8 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerSkeleton.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerTimeIndicator.vue.d.ts +7 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerTimeIndicator.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerToolbar.vue.d.ts +28 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerToolbar.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/ConfirmDialog.vue.d.ts +20 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/ConfirmDialog.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/RecurrenceScopeDialog.vue.d.ts +18 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/RecurrenceScopeDialog.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts +38 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerBarSheet.vue.d.ts +21 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerBarSheet.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerMobileResourceCard.vue.d.ts +20 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerMobileResourceCard.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthDayCell.vue.d.ts +24 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthDayCell.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventBar.vue.d.ts +38 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventBar.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts +41 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts +30 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthWeekRow.vue.d.ts +82 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthWeekRow.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue.d.ts +36 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue.d.ts +46 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue.d.ts +59 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts +57 -0
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useBarInteraction.d.ts +31 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useBarInteraction.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventColor.d.ts +20 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventColor.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventInteraction.d.ts +77 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventInteraction.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useLanePacking.d.ts +7 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useLanePacking.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useMonthLayout.d.ts +14 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useMonthLayout.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useRecurrence.d.ts +20 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useRecurrence.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerEvents.d.ts +17 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerEvents.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerNavigation.d.ts +19 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerNavigation.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerOrchestrator.d.ts +78 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerOrchestrator.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerViewport.d.ts +21 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerViewport.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useTimeScale.d.ts +29 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useTimeScale.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useTimelineTimeGrid.d.ts +64 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useTimelineTimeGrid.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/index.d.ts +3 -0
- package/dist/ui/components/organisms/vc-scheduler/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/injection-keys.d.ts +18 -0
- package/dist/ui/components/organisms/vc-scheduler/injection-keys.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/types.d.ts +90 -0
- package/dist/ui/components/organisms/vc-scheduler/types.d.ts.map +1 -0
- package/dist/ui/index.js +117 -115
- package/package.json +5 -4
- package/dist/chunks/VcTableAdapter.vue_vue_type_script_setup_true_lang-DfRo-sZe.js +0 -18296
- package/dist/chunks/VcTableAdapter.vue_vue_type_script_setup_true_lang-DfRo-sZe.js.map +0 -1
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-CtkZR5a1.js.map +0 -1
- package/dist/chunks/vendor-date-fns-BKO3x1R1.js.map +0 -1
- package/dist/chunks/vendor-tslib-l0sNRNKZ.js.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/index.d.ts +0 -2
- package/dist/ui/components/molecules/vc-dropdown-panel/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/panel-anchor-registry.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +0 -1
- /package/dist/ui/components/molecules/{vc-dropdown-panel → vc-popover}/panel-anchor-registry.d.ts +0 -0
package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { IEventDraft } from "../../types";
|
|
2
|
+
export interface Props {
|
|
3
|
+
open: boolean;
|
|
4
|
+
draft: IEventDraft;
|
|
5
|
+
mode: "create" | "edit";
|
|
6
|
+
/** When false, hides the recurrence block entirely — used for a single-occurrence
|
|
7
|
+
* ("this" scope) edit, where an override isn't itself recurring. */
|
|
8
|
+
allowRecurrence?: boolean;
|
|
9
|
+
/** When false (default), hides the manual Color field — colors are auto-derived from
|
|
10
|
+
* the title, so users don't pick them. Enable to expose a manual override. */
|
|
11
|
+
allowColor?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface Emits {
|
|
14
|
+
(event: "save", value: IEventDraft): void;
|
|
15
|
+
(event: "delete", value: {
|
|
16
|
+
id: string;
|
|
17
|
+
}): void;
|
|
18
|
+
(event: "close"): void;
|
|
19
|
+
}
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
+
delete: (value: {
|
|
22
|
+
id: string;
|
|
23
|
+
}) => any;
|
|
24
|
+
close: () => any;
|
|
25
|
+
save: (value: IEventDraft) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
27
|
+
onDelete?: ((value: {
|
|
28
|
+
id: string;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
onClose?: (() => any) | undefined;
|
|
31
|
+
onSave?: ((value: IEventDraft) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
allowRecurrence: boolean;
|
|
34
|
+
allowColor: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=SchedulerEventEditor.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerEventEditor.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue"],"names":[],"mappings":"AAugBA,OAAO,KAAK,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAuChE,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB;yEACqE;IACrE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;mFAC+E;IAC/E,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1C,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/C,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AA2rBD,QAAA,MAAM,YAAY;;YA7rBe,MAAM;;;;;;YAAN,MAAM;;;;;qBARnB,OAAO;gBAGZ,OAAO;6EAssBpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ISchedulerBar, IBarUpdate } from "../../types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelBar: ISchedulerBar | null;
|
|
4
|
+
open: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
delete: (p: {
|
|
8
|
+
id: string;
|
|
9
|
+
}) => any;
|
|
10
|
+
close: () => any;
|
|
11
|
+
save: (u: IBarUpdate) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onDelete?: ((p: {
|
|
14
|
+
id: string;
|
|
15
|
+
}) => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
onSave?: ((u: IBarUpdate) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=SchedulerBarSheet.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerBarSheet.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerBarSheet.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerBarSheet.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE7D,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAmJrE,QAAA,MAAM,YAAY;;YA/IO,MAAM;;;;;;YAAN,MAAM;;;;kFAkJ7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ISchedulerResource, ISchedulerBar } from "../../types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
resource: ISchedulerResource;
|
|
4
|
+
bars: ISchedulerBar[];
|
|
5
|
+
expanded?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
create: (p: {
|
|
9
|
+
resourceId: string;
|
|
10
|
+
}) => any;
|
|
11
|
+
"bar-tap": (bar: ISchedulerBar) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onCreate?: ((p: {
|
|
14
|
+
resourceId: string;
|
|
15
|
+
}) => any) | undefined;
|
|
16
|
+
"onBar-tap"?: ((bar: ISchedulerBar) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=SchedulerMobileResourceCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerMobileResourceCard.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerMobileResourceCard.vue"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAErE,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,kBAAkB,CAAC;IAAC,IAAI,EAAE,aAAa,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AA4J/F,QAAA,MAAM,YAAY;;oBAxJe,MAAM;;;;;oBAAN,MAAM;;;kFA2JrC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
date: Date;
|
|
3
|
+
inMonth: boolean;
|
|
4
|
+
isToday: boolean;
|
|
5
|
+
isWeekend: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
"cell-pointerdown": (ev: PointerEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onCell-pointerdown"?: ((ev: PointerEvent) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=MonthDayCell.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthDayCell.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/month/MonthDayCell.vue"],"names":[],"mappings":"AAoFA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC;AA4D1F,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ISchedulerEvent } from "../../types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
event: ISchedulerEvent;
|
|
4
|
+
continuesLeft: boolean;
|
|
5
|
+
continuesRight: boolean;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
editable: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {
|
|
10
|
+
event: ISchedulerEvent;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_1) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
select: (rect: DOMRect | null) => any;
|
|
17
|
+
"resize-start": (p: {
|
|
18
|
+
edge: "start" | "end";
|
|
19
|
+
event: PointerEvent;
|
|
20
|
+
}) => any;
|
|
21
|
+
"move-start": (ev: PointerEvent) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onSelect?: ((rect: DOMRect | null) => any) | undefined;
|
|
24
|
+
"onResize-start"?: ((p: {
|
|
25
|
+
edge: "start" | "end";
|
|
26
|
+
event: PointerEvent;
|
|
27
|
+
}) => any) | undefined;
|
|
28
|
+
"onMove-start"?: ((ev: PointerEvent) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=MonthEventBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthEventBar.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/month/MonthEventBar.vue"],"names":[],"mappings":"AAyKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,eAAe,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAkIF,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;cAtIiB,OAAO,GAAG,KAAK;eAAS,YAAY;;;;;;cAApC,OAAO,GAAG,KAAK;eAAS,YAAY;;;kFAyInE,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ISchedulerEvent } from "../../types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
event: ISchedulerEvent | null;
|
|
5
|
+
/** Bounding rect of the clicked bar/chip; wrapped as a floating-ui virtual anchor. */
|
|
6
|
+
anchorRect: DOMRect | null;
|
|
7
|
+
/** Whether the Edit/Delete actions row should render. False → view-only quick info. */
|
|
8
|
+
canEdit?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare function close(): void;
|
|
11
|
+
declare var __VLS_16: {
|
|
12
|
+
event: ISchedulerEvent | null;
|
|
13
|
+
close: typeof close;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
'event-popover'?: (props: typeof __VLS_16) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
delete: (payload: {
|
|
20
|
+
id: string;
|
|
21
|
+
}) => any;
|
|
22
|
+
close: () => any;
|
|
23
|
+
edit: (event: ISchedulerEvent) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onDelete?: ((payload: {
|
|
26
|
+
id: string;
|
|
27
|
+
}) => any) | undefined;
|
|
28
|
+
onClose?: (() => any) | undefined;
|
|
29
|
+
onEdit?: ((event: ISchedulerEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
canEdit: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=MonthEventPopover.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthEventPopover.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9B,sFAAsF;IACtF,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,uFAAuF;IACvF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA2DJ,iBAAS,KAAK,SAEb;AAwQD,QAAA,IAAI,QAAQ;;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKxD,QAAA,MAAM,UAAU;;YAnUe,MAAM;;;;;;YAAN,MAAM;;;;;aAVvB,OAAO;6EAiVnB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ISchedulerEvent } from "../../types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
date: Date | null;
|
|
5
|
+
events: ISchedulerEvent[];
|
|
6
|
+
/** Bounding rect of the clicked "+N more" cell; wrapped as a floating-ui virtual anchor. */
|
|
7
|
+
anchorRect: DOMRect | null;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_10: {
|
|
10
|
+
event: ISchedulerEvent;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
event?: (props: typeof __VLS_10) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
close: () => any;
|
|
17
|
+
"event-click": (ev: ISchedulerEvent, rect: DOMRect | null) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
|
+
"onEvent-click"?: ((ev: ISchedulerEvent, rect: DOMRect | null) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=MonthMorePopover.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthMorePopover.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,4FAA4F;IAC5F,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B,CAAC;AAqFF,QAAA,IAAI,QAAQ;;CAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { IWeekEventSegment, ISchedulerEvent } from "../../types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
days: {
|
|
4
|
+
date: Date;
|
|
5
|
+
inMonth: boolean;
|
|
6
|
+
isToday: boolean;
|
|
7
|
+
isWeekend: boolean;
|
|
8
|
+
}[];
|
|
9
|
+
laidOut: {
|
|
10
|
+
segment: IWeekEventSegment;
|
|
11
|
+
lane: number;
|
|
12
|
+
}[];
|
|
13
|
+
overflow: number[];
|
|
14
|
+
timedByDay: Map<string, ISchedulerEvent[]>;
|
|
15
|
+
selectedId: string | null;
|
|
16
|
+
editable: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_9: {
|
|
19
|
+
date: Date;
|
|
20
|
+
col: number;
|
|
21
|
+
}, __VLS_22: {
|
|
22
|
+
event: ISchedulerEvent;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
'day-extra'?: (props: typeof __VLS_9) => any;
|
|
26
|
+
} & {
|
|
27
|
+
event?: (props: typeof __VLS_22) => any;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
30
|
+
"cell-pointerdown": (p: {
|
|
31
|
+
date: Date;
|
|
32
|
+
ev: PointerEvent;
|
|
33
|
+
}) => any;
|
|
34
|
+
"event-select": (p: {
|
|
35
|
+
id: string;
|
|
36
|
+
rect: DOMRect | null;
|
|
37
|
+
}) => any;
|
|
38
|
+
"event-move-start": (p: {
|
|
39
|
+
event: ISchedulerEvent;
|
|
40
|
+
ev: PointerEvent;
|
|
41
|
+
}) => any;
|
|
42
|
+
"event-resize-start": (p: {
|
|
43
|
+
event: ISchedulerEvent;
|
|
44
|
+
edge: "start" | "end";
|
|
45
|
+
ev: PointerEvent;
|
|
46
|
+
}) => any;
|
|
47
|
+
"more-click": (p: {
|
|
48
|
+
date: Date;
|
|
49
|
+
rect: DOMRect;
|
|
50
|
+
}) => any;
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
52
|
+
"onCell-pointerdown"?: ((p: {
|
|
53
|
+
date: Date;
|
|
54
|
+
ev: PointerEvent;
|
|
55
|
+
}) => any) | undefined;
|
|
56
|
+
"onEvent-select"?: ((p: {
|
|
57
|
+
id: string;
|
|
58
|
+
rect: DOMRect | null;
|
|
59
|
+
}) => any) | undefined;
|
|
60
|
+
"onEvent-move-start"?: ((p: {
|
|
61
|
+
event: ISchedulerEvent;
|
|
62
|
+
ev: PointerEvent;
|
|
63
|
+
}) => any) | undefined;
|
|
64
|
+
"onEvent-resize-start"?: ((p: {
|
|
65
|
+
event: ISchedulerEvent;
|
|
66
|
+
edge: "start" | "end";
|
|
67
|
+
ev: PointerEvent;
|
|
68
|
+
}) => any) | undefined;
|
|
69
|
+
"onMore-click"?: ((p: {
|
|
70
|
+
date: Date;
|
|
71
|
+
rect: DOMRect;
|
|
72
|
+
}) => any) | undefined;
|
|
73
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
75
|
+
declare const _default: typeof __VLS_export;
|
|
76
|
+
export default _default;
|
|
77
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
78
|
+
new (): {
|
|
79
|
+
$slots: S;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=MonthWeekRow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonthWeekRow.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/month/MonthWeekRow.vue"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEtE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IAC/E,OAAO,EAAE;QAAE,OAAO,EAAE,iBAAiB,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;IAC3C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA6JF,QAAA,IAAI,OAAO;;;CAAU,EAAE,QAAQ;;CAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;cA1JqB,IAAI;YAAM,YAAY;;;YAH5B,MAAM;cAAQ,OAAO,GAAG,IAAI;;;eACrB,eAAe;YAAM,YAAY;;;eAC/B,eAAe;cAAQ,OAAO,GAAG,KAAK;YAAM,YAAY;;;cAEjE,IAAI;cAAQ,OAAO;;;;cADb,IAAI;YAAM,YAAY;;;YAH5B,MAAM;cAAQ,OAAO,GAAG,IAAI;;;eACrB,eAAe;YAAM,YAAY;;;eAC/B,eAAe;cAAQ,OAAO,GAAG,KAAK;YAAM,YAAY;;;cAEjE,IAAI;cAAQ,OAAO;;kFA4JhD,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { IEventDraft } from "../../types";
|
|
2
|
+
export interface Props {
|
|
3
|
+
open: boolean;
|
|
4
|
+
/** Bounding rect of the clicked cell; wrapped as a floating-ui virtual anchor. */
|
|
5
|
+
anchorRect: DOMRect | null;
|
|
6
|
+
draft: IEventDraft;
|
|
7
|
+
}
|
|
8
|
+
export interface Emits {
|
|
9
|
+
(event: "save", value: {
|
|
10
|
+
title: string;
|
|
11
|
+
}): void;
|
|
12
|
+
(event: "more", value: {
|
|
13
|
+
title: string;
|
|
14
|
+
}): void;
|
|
15
|
+
(event: "close"): void;
|
|
16
|
+
}
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
+
close: () => any;
|
|
19
|
+
save: (value: {
|
|
20
|
+
title: string;
|
|
21
|
+
}) => any;
|
|
22
|
+
more: (value: {
|
|
23
|
+
title: string;
|
|
24
|
+
}) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
27
|
+
onSave?: ((value: {
|
|
28
|
+
title: string;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
onMore?: ((value: {
|
|
31
|
+
title: string;
|
|
32
|
+
}) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
//# sourceMappingURL=QuickCreatePopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuickCreatePopover.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue"],"names":[],"mappings":"AA+HA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,kFAAkF;IAClF,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,WAAW,CAAC;CACpB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAChD,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAChD,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AA8MD,QAAA,MAAM,YAAY;;;eAjNgB,MAAM;;;eACN,MAAM;;;;;eADN,MAAM;;;eACN,MAAM;;kFAmNtC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ICreateIntent } from "../../composables/useEventInteraction";
|
|
2
|
+
import type { ISchedulerEvent } from "../../types";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
events: ISchedulerEvent[];
|
|
5
|
+
focusedDate: Date;
|
|
6
|
+
editable: boolean;
|
|
7
|
+
isEventEditable: (e: ISchedulerEvent) => boolean;
|
|
8
|
+
quickInfo: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
11
|
+
event: ISchedulerEvent;
|
|
12
|
+
}, __VLS_16: {
|
|
13
|
+
event: ISchedulerEvent | null;
|
|
14
|
+
close: () => void;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
empty?: (props: typeof __VLS_1) => any;
|
|
18
|
+
} & {
|
|
19
|
+
event?: (props: typeof __VLS_3) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'event-popover'?: (props: typeof __VLS_16) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
24
|
+
"event-click": (ev: ISchedulerEvent) => any;
|
|
25
|
+
"create-intent": (intent: ICreateIntent) => any;
|
|
26
|
+
"edit-intent": (ev: ISchedulerEvent) => any;
|
|
27
|
+
"event-delete": (p: {
|
|
28
|
+
id: string;
|
|
29
|
+
}) => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
"onEvent-click"?: ((ev: ISchedulerEvent) => any) | undefined;
|
|
32
|
+
"onCreate-intent"?: ((intent: ICreateIntent) => any) | undefined;
|
|
33
|
+
"onEdit-intent"?: ((ev: ISchedulerEvent) => any) | undefined;
|
|
34
|
+
"onEvent-delete"?: ((p: {
|
|
35
|
+
id: string;
|
|
36
|
+
}) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=SchedulerAgendaView.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerAgendaView.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue"],"names":[],"mappings":"AAwSA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,WAAW,EAAE,IAAI,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC;IACjD,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AA2OF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO;;CAAU,EAAE,QAAQ;;;CAAY,CAAE;AAChE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKxD,QAAA,MAAM,UAAU;;;;;YA7Oe,MAAM;;;;;;;YAAN,MAAM;;kFAgPnC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type ICreateIntent } from "../../composables/useEventInteraction";
|
|
2
|
+
import type { ISchedulerEvent } from "../../types";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
events: ISchedulerEvent[];
|
|
5
|
+
focusedDate: Date;
|
|
6
|
+
firstDayOfWeek: number;
|
|
7
|
+
editable: boolean;
|
|
8
|
+
isEventEditable: (e: ISchedulerEvent) => boolean;
|
|
9
|
+
quickInfo: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_14: {
|
|
12
|
+
event: ISchedulerEvent;
|
|
13
|
+
}, __VLS_27: {
|
|
14
|
+
event: ISchedulerEvent;
|
|
15
|
+
}, __VLS_40: {
|
|
16
|
+
event: ISchedulerEvent | null;
|
|
17
|
+
close: () => void;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
event?: (props: typeof __VLS_14) => any;
|
|
21
|
+
} & {
|
|
22
|
+
event?: (props: typeof __VLS_27) => any;
|
|
23
|
+
} & {
|
|
24
|
+
'event-popover'?: (props: typeof __VLS_40) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
|
+
"event-click": (ev: ISchedulerEvent) => any;
|
|
28
|
+
"create-intent": (intent: ICreateIntent) => any;
|
|
29
|
+
"event-update": (u: {
|
|
30
|
+
id: string;
|
|
31
|
+
start: Date;
|
|
32
|
+
end: Date;
|
|
33
|
+
}) => any;
|
|
34
|
+
"edit-intent": (ev: ISchedulerEvent) => any;
|
|
35
|
+
"event-delete": (p: {
|
|
36
|
+
id: string;
|
|
37
|
+
}) => any;
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
"onEvent-click"?: ((ev: ISchedulerEvent) => any) | undefined;
|
|
40
|
+
"onCreate-intent"?: ((intent: ICreateIntent) => any) | undefined;
|
|
41
|
+
"onEvent-update"?: ((u: {
|
|
42
|
+
id: string;
|
|
43
|
+
start: Date;
|
|
44
|
+
end: Date;
|
|
45
|
+
}) => any) | undefined;
|
|
46
|
+
"onEdit-intent"?: ((ev: ISchedulerEvent) => any) | undefined;
|
|
47
|
+
"onEvent-delete"?: ((p: {
|
|
48
|
+
id: string;
|
|
49
|
+
}) => any) | undefined;
|
|
50
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=SchedulerMonthView.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerMonthView.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue"],"names":[],"mappings":"AA6fA,OAAO,EAA8C,KAAK,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACvH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC;IACjD,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAohBF,QAAA,IAAI,QAAQ;;CAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ;;;CAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOxD,QAAA,MAAM,UAAU;;;;YAzhBe,MAAM;eAAS,IAAI;aAAO,IAAI;;;;YAE9B,MAAM;;;;;;YAFN,MAAM;eAAS,IAAI;aAAO,IAAI;;;;YAE9B,MAAM;;kFA0hBnC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type ICreateIntent } from "../../composables/useEventInteraction";
|
|
2
|
+
import type { ISchedulerEvent } from "../../types";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
events: ISchedulerEvent[];
|
|
5
|
+
focusedDate: Date;
|
|
6
|
+
firstDayOfWeek: number;
|
|
7
|
+
editable: boolean;
|
|
8
|
+
isEventEditable: (e: ISchedulerEvent) => boolean;
|
|
9
|
+
quickInfo: boolean;
|
|
10
|
+
mode: "day" | "week";
|
|
11
|
+
dayStartHour?: number;
|
|
12
|
+
dayEndHour?: number;
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_1: {
|
|
15
|
+
event: ISchedulerEvent;
|
|
16
|
+
}, __VLS_3: {
|
|
17
|
+
event: ISchedulerEvent;
|
|
18
|
+
}, __VLS_5: {}, __VLS_18: {
|
|
19
|
+
event: ISchedulerEvent | null;
|
|
20
|
+
close: () => void;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
event?: (props: typeof __VLS_1) => any;
|
|
24
|
+
} & {
|
|
25
|
+
event?: (props: typeof __VLS_3) => any;
|
|
26
|
+
} & {
|
|
27
|
+
empty?: (props: typeof __VLS_5) => any;
|
|
28
|
+
} & {
|
|
29
|
+
'event-popover'?: (props: typeof __VLS_18) => any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
+
"event-click": (ev: ISchedulerEvent) => any;
|
|
33
|
+
"create-intent": (intent: ICreateIntent) => any;
|
|
34
|
+
"edit-intent": (ev: ISchedulerEvent) => any;
|
|
35
|
+
"event-delete": (p: {
|
|
36
|
+
id: string;
|
|
37
|
+
}) => any;
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
"onEvent-click"?: ((ev: ISchedulerEvent) => any) | undefined;
|
|
40
|
+
"onCreate-intent"?: ((intent: ICreateIntent) => any) | undefined;
|
|
41
|
+
"onEdit-intent"?: ((ev: ISchedulerEvent) => any) | undefined;
|
|
42
|
+
"onEvent-delete"?: ((p: {
|
|
43
|
+
id: string;
|
|
44
|
+
}) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
dayStartHour: number;
|
|
47
|
+
dayEndHour: number;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=SchedulerTimelineView.vue.d.ts.map
|
package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerTimelineView.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue"],"names":[],"mappings":"AA4iBA,OAAO,EAAyB,KAAK,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAGlG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAKnD,KAAK,WAAW,GAAG;IACf,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC;IACjD,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA6ZJ,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO;;CAAU,EAAE,OAAO,IAAU,EAAE,QAAQ;;;CAAY,CAAE;AACnF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOxD,QAAA,MAAM,UAAU;;;;;YA/Ze,MAAM;;;;;;;YAAN,MAAM;;;kBAZlB,MAAM;gBACR,MAAM;6EA8arB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { ISchedulerBar, IBarUpdate } from "../types";
|
|
3
|
+
export interface UseBarInteractionOptions {
|
|
4
|
+
bars: Ref<ISchedulerBar[]>;
|
|
5
|
+
snapDate: (d: Date) => Date;
|
|
6
|
+
xToDate: (x: number) => Date;
|
|
7
|
+
isBarEditable: (bar: ISchedulerBar) => boolean;
|
|
8
|
+
onCommit: (update: IBarUpdate) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function useBarInteraction(opts: UseBarInteractionOptions): {
|
|
11
|
+
pending: Ref<{
|
|
12
|
+
id: string;
|
|
13
|
+
start: Date;
|
|
14
|
+
end: Date;
|
|
15
|
+
} | null, {
|
|
16
|
+
id: string;
|
|
17
|
+
start: Date;
|
|
18
|
+
end: Date;
|
|
19
|
+
} | {
|
|
20
|
+
id: string;
|
|
21
|
+
start: Date;
|
|
22
|
+
end: Date;
|
|
23
|
+
} | null>;
|
|
24
|
+
effectiveBar: (bar: ISchedulerBar) => ISchedulerBar;
|
|
25
|
+
beginMove: (bar: ISchedulerBar, pointerX: number) => void;
|
|
26
|
+
beginResize: (bar: ISchedulerBar, edge: "start" | "end", pointerX: number) => void;
|
|
27
|
+
updatePointer: (pointerX: number) => void;
|
|
28
|
+
commit: () => void;
|
|
29
|
+
cancel: () => void;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=useBarInteraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBarInteraction.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-scheduler/composables/useBarInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI1D,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;IAC3B,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC;IAC5B,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,aAAa,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC;IAC/C,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CACxC;AAID,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,wBAAwB;;YACpC,MAAM;eAAS,IAAI;aAAO,IAAI;;YAA9B,MAAM;eAAS,IAAI;aAAO,IAAI;;YAA9B,MAAM;eAAS,IAAI;aAAO,IAAI;;wBAgD7B,aAAa,KAAG,aAAa;qBAtChC,aAAa,YAAY,MAAM;uBAC7B,aAAa,QAAQ,OAAO,GAAG,KAAK,YAAY,MAAM;8BAG/C,MAAM;;;EAsCxC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Deterministic palette color for a seed (e.g. an event title). Empty seed → default fill. */
|
|
2
|
+
export declare function autoEventColor(seed: string | undefined | null): string;
|
|
3
|
+
/**
|
|
4
|
+
* Legible text color (near-white or near-black) for text laid over `fill`, chosen by
|
|
5
|
+
* whichever gives higher WCAG contrast. Only hex/rgb() fills can be measured; a CSS-var
|
|
6
|
+
* or unknown fill can't be resolved at runtime, so it falls back to white — the historical
|
|
7
|
+
* default, safe for the framework's mid-tone token fills.
|
|
8
|
+
*/
|
|
9
|
+
export declare function readableInk(fill: string | undefined | null): string;
|
|
10
|
+
/**
|
|
11
|
+
* Inline background + text color for an event surface (bar/chip/popover header).
|
|
12
|
+
* A past event renders as a pale tint of its fill with dark text: de-emphasized, but
|
|
13
|
+
* high-contrast (AA) — unlike a wash-to-white dim (opacity/desaturate), which pushes the
|
|
14
|
+
* tighter palette colors below AA once faded.
|
|
15
|
+
*/
|
|
16
|
+
export declare function eventSurfaceStyle(fill: string, isPast: boolean): {
|
|
17
|
+
background: string;
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=useEventColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEventColor.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-scheduler/composables/useEventColor.ts"],"names":[],"mappings":"AA4BA,+FAA+F;AAC/F,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAGtE;AA8BD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAMnE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAQtG"}
|