@vc-shell/framework 2.1.0-pr255.4dc5c0d → 2.1.0-pr256.0fe3abb
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/{VcTableAdapter.vue_vue_type_script_setup_true_lang-BL653h9q.js → VcScheduler.vue_vue_type_script_setup_true_lang-CTKDY1xe.js} +9127 -6676
- 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 +1320 -1314
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/locales/de.js +67 -0
- package/dist/locales/en.js +67 -0
- package/dist/locales/en.json +67 -0
- package/dist/locales/types.d.ts +67 -0
- 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-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-BL653h9q.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
|
@@ -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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { ISchedulerEvent } from "../types";
|
|
3
|
+
/** Resolved disambiguation outcome for an empty-cell/slot click gesture. */
|
|
4
|
+
export type CreateIntentKind = "single" | "double" | "drag";
|
|
5
|
+
/** Upward intent emitted by the views instead of creating an event immediately. */
|
|
6
|
+
export interface ICreateIntent {
|
|
7
|
+
start: Date;
|
|
8
|
+
end: Date;
|
|
9
|
+
allDay: boolean;
|
|
10
|
+
anchorRect: DOMRect | null;
|
|
11
|
+
kind: CreateIntentKind;
|
|
12
|
+
}
|
|
13
|
+
export interface ClickDiscriminatorOptions {
|
|
14
|
+
/** Window (ms) to wait for a second click before resolving to "single". Default 220. */
|
|
15
|
+
delay?: number;
|
|
16
|
+
onIntent: (kind: "single" | "double", key: string) => void;
|
|
17
|
+
}
|
|
18
|
+
export interface ClickDiscriminator {
|
|
19
|
+
/**
|
|
20
|
+
* Register one resolved click on the given target key (e.g. a cell date or slot start time).
|
|
21
|
+
* A second call on the SAME key before the delay elapses cancels the timer and resolves
|
|
22
|
+
* "double" for that key. A second call on a DIFFERENT key immediately flushes the pending
|
|
23
|
+
* click as "single" (for the original key) and starts a fresh single-click timer for the
|
|
24
|
+
* new key — two clicks on different targets are always two independent singles, never a
|
|
25
|
+
* double.
|
|
26
|
+
*/
|
|
27
|
+
click: (key: string) => void;
|
|
28
|
+
/** Discard a pending single-click timer (e.g. the gesture turned into a drag). */
|
|
29
|
+
cancel: () => void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Single/double click disambiguator: a lone click resolves to "single" only after `delay` ms;
|
|
33
|
+
* a second click within that window on the SAME target key cancels the pending timer and
|
|
34
|
+
* resolves "double" instead. A second click on a DIFFERENT key never forms a double — the
|
|
35
|
+
* pending click is flushed as its own "single" immediately, then a fresh timer starts for the
|
|
36
|
+
* new key. Callers decide what "the same target" means (the key) and are responsible for
|
|
37
|
+
* calling `cancel()` when a drag starts instead of a click.
|
|
38
|
+
*/
|
|
39
|
+
export declare function useClickDiscriminator(opts: ClickDiscriminatorOptions): ClickDiscriminator;
|
|
40
|
+
export interface UseEventInteractionOptions {
|
|
41
|
+
editable: Ref<boolean>;
|
|
42
|
+
isEventEditable: (e: ISchedulerEvent) => boolean;
|
|
43
|
+
dayFromPoint: (clientX: number, clientY: number) => Date | null;
|
|
44
|
+
onUpdate: (u: {
|
|
45
|
+
id: string;
|
|
46
|
+
start: Date;
|
|
47
|
+
end: Date;
|
|
48
|
+
}) => void;
|
|
49
|
+
onCreate: (c: {
|
|
50
|
+
start: Date;
|
|
51
|
+
end: Date;
|
|
52
|
+
allDay: boolean;
|
|
53
|
+
}) => void;
|
|
54
|
+
}
|
|
55
|
+
export declare function useEventInteraction(opts: UseEventInteractionOptions): {
|
|
56
|
+
pending: Ref<{
|
|
57
|
+
id: string;
|
|
58
|
+
start: Date;
|
|
59
|
+
end: Date;
|
|
60
|
+
} | null, {
|
|
61
|
+
id: string;
|
|
62
|
+
start: Date;
|
|
63
|
+
end: Date;
|
|
64
|
+
} | {
|
|
65
|
+
id: string;
|
|
66
|
+
start: Date;
|
|
67
|
+
end: Date;
|
|
68
|
+
} | null>;
|
|
69
|
+
effectiveEvent: (e: ISchedulerEvent) => ISchedulerEvent;
|
|
70
|
+
beginMove: (e: ISchedulerEvent, x: number, y: number) => void;
|
|
71
|
+
beginResize: (e: ISchedulerEvent, edge: "start" | "end", x: number, y: number) => void;
|
|
72
|
+
beginCreate: (date: Date) => void;
|
|
73
|
+
updatePointer: (x: number, y: number) => void;
|
|
74
|
+
commit: () => void;
|
|
75
|
+
cancel: () => void;
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=useEventInteraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEventInteraction.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-scheduler/composables/useEventInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD,4EAA4E;AAC5E,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,mFAAmF;AACnF,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;IACV,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAID,MAAM,WAAW,yBAAyB;IACxC,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5D;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;;;;OAOG;IACH,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,kFAAkF;IAClF,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,GAAG,kBAAkB,CA6CzF;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACvB,eAAe,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC;IACjD,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAChE,QAAQ,EAAE,CAAC,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,IAAI,CAAC;QAAC,GAAG,EAAE,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9D,QAAQ,EAAE,CAAC,CAAC,EAAE;QAAE,KAAK,EAAE,IAAI,CAAC;QAAC,GAAG,EAAE,IAAI,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACpE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,0BAA0B;;YACxC,MAAM;eAAS,IAAI;aAAO,IAAI;;YAA9B,MAAM;eAAS,IAAI;aAAO,IAAI;;YAA9B,MAAM;eAAS,IAAI;aAAO,IAAI;;wBAmF7B,eAAe,KAAG,eAAe;mBAzEtC,eAAe,KAAK,MAAM,KAAK,MAAM;qBACnC,eAAe,QAAQ,OAAO,GAAG,KAAK,KAAK,MAAM,KAAK,MAAM;wBAezD,IAAI;uBAQL,MAAM,KAAK,MAAM;;;EAqD5C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComputedRef, type Ref } from "vue";
|
|
2
|
+
import type { ISchedulerBar, IPackedBar } from "../types";
|
|
3
|
+
export declare function useLanePacking(bars: Ref<ISchedulerBar[]>): {
|
|
4
|
+
packedByResource: ComputedRef<Map<string, IPackedBar[]>>;
|
|
5
|
+
laneCount: (resourceId: string) => number;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=useLanePacking.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLanePacking.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-scheduler/composables/useLanePacking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,WAAW,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAkB1D,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,aAAa,EAAE,CAAC;;4BAaxB,MAAM;EAOtC"}
|