@cocoar/vue-data-grid 1.18.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/builders/coar-grid-column-factory.d.ts +106 -0
  2. package/dist/builders/coar-grid-column-factory.d.ts.map +1 -1
  3. package/dist/cell-renderers/CoarMultiSelectCellEditor.vue.d.ts +15 -0
  4. package/dist/cell-renderers/CoarMultiSelectCellEditor.vue.d.ts.map +1 -0
  5. package/dist/cell-renderers/CoarMultiSelectCellRenderer.vue.d.ts +7 -0
  6. package/dist/cell-renderers/CoarMultiSelectCellRenderer.vue.d.ts.map +1 -0
  7. package/dist/cell-renderers/CoarPlainDateCellEditor.vue.d.ts +52 -0
  8. package/dist/cell-renderers/CoarPlainDateCellEditor.vue.d.ts.map +1 -0
  9. package/dist/cell-renderers/CoarPlainDateCellRenderer.vue.d.ts +7 -0
  10. package/dist/cell-renderers/CoarPlainDateCellRenderer.vue.d.ts.map +1 -0
  11. package/dist/cell-renderers/CoarPlainDateTimeCellEditor.vue.d.ts +56 -0
  12. package/dist/cell-renderers/CoarPlainDateTimeCellEditor.vue.d.ts.map +1 -0
  13. package/dist/cell-renderers/CoarPlainDateTimeCellRenderer.vue.d.ts +7 -0
  14. package/dist/cell-renderers/CoarPlainDateTimeCellRenderer.vue.d.ts.map +1 -0
  15. package/dist/cell-renderers/CoarSelectCellEditor.vue.d.ts.map +1 -1
  16. package/dist/cell-renderers/CoarTagSelectCellEditor.vue.d.ts +15 -0
  17. package/dist/cell-renderers/CoarTagSelectCellEditor.vue.d.ts.map +1 -0
  18. package/dist/cell-renderers/CoarZonedDateTimeCellEditor.vue.d.ts +66 -0
  19. package/dist/cell-renderers/CoarZonedDateTimeCellEditor.vue.d.ts.map +1 -0
  20. package/dist/cell-renderers/CoarZonedDateTimeCellRenderer.vue.d.ts +7 -0
  21. package/dist/cell-renderers/CoarZonedDateTimeCellRenderer.vue.d.ts.map +1 -0
  22. package/dist/cell-renderers/index.d.ts +13 -0
  23. package/dist/cell-renderers/index.d.ts.map +1 -1
  24. package/dist/cell-renderers/multi-select-cell-editor.models.d.ts +41 -0
  25. package/dist/cell-renderers/multi-select-cell-editor.models.d.ts.map +1 -0
  26. package/dist/cell-renderers/plain-date-cell-editor.models.d.ts +30 -0
  27. package/dist/cell-renderers/plain-date-cell-editor.models.d.ts.map +1 -0
  28. package/dist/cell-renderers/plain-date-time-cell-editor.models.d.ts +29 -0
  29. package/dist/cell-renderers/plain-date-time-cell-editor.models.d.ts.map +1 -0
  30. package/dist/cell-renderers/use-popup-editor-focus-guard.d.ts +29 -0
  31. package/dist/cell-renderers/use-popup-editor-focus-guard.d.ts.map +1 -0
  32. package/dist/cell-renderers/zoned-date-time-cell-editor.models.d.ts +52 -0
  33. package/dist/cell-renderers/zoned-date-time-cell-editor.models.d.ts.map +1 -0
  34. package/dist/configurators/MultiSelectColumnConfigurator.d.ts +46 -0
  35. package/dist/configurators/MultiSelectColumnConfigurator.d.ts.map +1 -0
  36. package/dist/configurators/PlainDateColumnConfigurator.d.ts +42 -0
  37. package/dist/configurators/PlainDateColumnConfigurator.d.ts.map +1 -0
  38. package/dist/configurators/PlainDateTimeColumnConfigurator.d.ts +33 -0
  39. package/dist/configurators/PlainDateTimeColumnConfigurator.d.ts.map +1 -0
  40. package/dist/configurators/TagSelectColumnConfigurator.d.ts +48 -0
  41. package/dist/configurators/TagSelectColumnConfigurator.d.ts.map +1 -0
  42. package/dist/configurators/ZonedDateTimeColumnConfigurator.d.ts +53 -0
  43. package/dist/configurators/ZonedDateTimeColumnConfigurator.d.ts.map +1 -0
  44. package/dist/configurators/index.d.ts +5 -0
  45. package/dist/configurators/index.d.ts.map +1 -1
  46. package/dist/index.css +1 -1
  47. package/dist/index.d.ts +3 -3
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +4746 -4263
  50. package/package.json +5 -3
@@ -10,6 +10,12 @@ import { CheckboxColumnConfigurator } from '../configurators/CheckboxColumnConfi
10
10
  import { TextColumnConfigurator } from '../configurators/TextColumnConfigurator';
11
11
  import { NumberColumnConfigurator } from '../configurators/NumberColumnConfigurator';
12
12
  import { SelectColumnConfigurator } from '../configurators/SelectColumnConfigurator';
13
+ import { MultiSelectColumnConfigurator } from '../configurators/MultiSelectColumnConfigurator';
14
+ import { TagSelectColumnConfigurator } from '../configurators/TagSelectColumnConfigurator';
15
+ import { PlainDateColumnConfigurator } from '../configurators/PlainDateColumnConfigurator';
16
+ import { PlainDateTimeColumnConfigurator } from '../configurators/PlainDateTimeColumnConfigurator';
17
+ import { ZonedDateTimeColumnConfigurator } from '../configurators/ZonedDateTimeColumnConfigurator';
18
+ import { Temporal } from '@js-temporal/polyfill';
13
19
  /**
14
20
  * Factory for creating typed column builders.
15
21
  * Provides convenient methods for common column types.
@@ -125,6 +131,106 @@ export declare class CoarGridColumnFactory<TData = unknown> {
125
131
  * ```
126
132
  */
127
133
  select<T = unknown>(fieldName: keyof TData | string, configurator: (s: SelectColumnConfigurator<TData, T>) => SelectColumnConfigurator<TData, T>): CoarGridColumnBuilder<TData, T>;
134
+ /**
135
+ * Create a multi-select column with a checkbox-list dropdown editor.
136
+ *
137
+ * Cell value is `T[]`. The renderer looks up labels from `options` and shows
138
+ * them comma-separated by default; opt into chips via `.display('chips')`.
139
+ * The editor opens a `<CoarMultiSelect>` dropdown that stays open while the
140
+ * user toggles checkboxes — focus-preservation prevents AG Grid from
141
+ * committing prematurely. Commit happens via the standard focus-loss path
142
+ * (click outside / Tab / Enter), AG Grid pulls the final array via
143
+ * `getValue()`.
144
+ *
145
+ * Whether the column is editable is gated by the column-level `.editable()`
146
+ * chain — same pattern as text/number/select/checkbox.
147
+ *
148
+ * @example
149
+ * ```ts
150
+ * col.multiSelect('tags', s => s
151
+ * .options([{ value: 'a', label: 'Alpha' }, { value: 'b', label: 'Beta' }])
152
+ * .searchable()
153
+ * .showSelectAll()
154
+ * .display('chips')
155
+ * ).editable(true)
156
+ *
157
+ * // row-aware options
158
+ * col.multiSelect('perms', s => s.options(row => permsFor(row.role)))
159
+ * .editable(true)
160
+ * ```
161
+ */
162
+ multiSelect<T = unknown>(fieldName: keyof TData | string, configurator: (s: MultiSelectColumnConfigurator<TData, T>) => MultiSelectColumnConfigurator<TData, T>): CoarGridColumnBuilder<TData, T[]>;
163
+ /**
164
+ * Create a tag-style multi-select column. Cell value is `T[]`.
165
+ *
166
+ * Same renderer as `col.multiSelect()` (comma-separated by default,
167
+ * chips opt-in). The editor uses `<CoarTagSelect>` — selected values render
168
+ * as removable chips inside the trigger, and the dropdown only lists
169
+ * not-yet-selected options. With `.allowCreate()`, the user can type
170
+ * free-form values that aren't in `options`; those round-trip into the cell
171
+ * array verbatim, and the renderer falls back to `String(value)` for
172
+ * unknown labels.
173
+ *
174
+ * @example
175
+ * ```ts
176
+ * col.tagSelect('skills', s => s
177
+ * .options([{ value: 'ts', label: 'TypeScript' }, { value: 'go', label: 'Go' }])
178
+ * .allowCreate()
179
+ * .display('chips')
180
+ * ).editable(true)
181
+ * ```
182
+ */
183
+ tagSelect<T = unknown>(fieldName: keyof TData | string, configurator: (s: TagSelectColumnConfigurator<TData, T>) => TagSelectColumnConfigurator<TData, T>): CoarGridColumnBuilder<TData, T[]>;
184
+ /**
185
+ * Create a column for `Temporal.PlainDate` values (calendar date, no time).
186
+ *
187
+ * Renderer formats via `toLocaleString` (date-style: medium); editor wraps
188
+ * `<CoarPlainDatePicker>`. Cell value MUST be `Temporal.PlainDate | null` —
189
+ * consumers convert ISO strings / native `Date` at the data layer (the
190
+ * Temporal-only contract matches the calendar package).
191
+ *
192
+ * The legacy `col.date()` shortcut (Date | string display-only, no editor)
193
+ * remains unchanged for back-compat with existing consumer code.
194
+ *
195
+ * @example
196
+ * ```ts
197
+ * col.plainDate('startsOn', d => d.size('s').highlightWeekends())
198
+ * .editable(true)
199
+ * ```
200
+ */
201
+ plainDate(fieldName: keyof TData | string, configurator?: (d: PlainDateColumnConfigurator<TData>) => PlainDateColumnConfigurator<TData>): CoarGridColumnBuilder<TData, Temporal.PlainDate | null>;
202
+ /**
203
+ * Create a column for `Temporal.PlainDateTime` values (floating wallclock).
204
+ *
205
+ * Renderer formats with date-style: medium + time-style: short. Editor
206
+ * wraps `<CoarPlainDateTimePicker>`.
207
+ *
208
+ * Use `col.zonedDateTime()` when the event lives in a specific IANA zone
209
+ * (cross-zone tools, calendar integration, etc.).
210
+ *
211
+ * @example
212
+ * ```ts
213
+ * col.plainDateTime('localizedAt', d => d.size('s')).editable(true)
214
+ * ```
215
+ */
216
+ plainDateTime(fieldName: keyof TData | string, configurator?: (d: PlainDateTimeColumnConfigurator<TData>) => PlainDateTimeColumnConfigurator<TData>): CoarGridColumnBuilder<TData, Temporal.PlainDateTime | null>;
217
+ /**
218
+ * Create a column for `Temporal.ZonedDateTime` values (date+time+zone).
219
+ *
220
+ * Renderer formats with date-style: medium + time-style: short + a short
221
+ * zone-name suffix so cross-zone columns stay unambiguous at a glance.
222
+ * Editor wraps `<CoarZonedDateTimePicker>`, which surfaces its own zone
223
+ * selector.
224
+ *
225
+ * @example
226
+ * ```ts
227
+ * col.zonedDateTime('eventAt', d => d
228
+ * .timeZone('Europe/Vienna')
229
+ * .timezoneFilter(['Europe/*', 'America/*'])
230
+ * ).editable(true)
231
+ * ```
232
+ */
233
+ zonedDateTime(fieldName: keyof TData | string, configurator?: (d: ZonedDateTimeColumnConfigurator<TData>) => ZonedDateTimeColumnConfigurator<TData>): CoarGridColumnBuilder<TData, Temporal.ZonedDateTime | null>;
128
234
  /**
129
235
  * Create a checkbox column.
130
236
  *
@@ -1 +1 @@
1
- {"version":3,"file":"coar-grid-column-factory.d.ts","sourceRoot":"","sources":["../../src/builders/coar-grid-column-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAalF,OAAO,KAAK,EAAE,qBAAqB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AAI,CAAC,MAAM,GAAG,OAAO,EACnB,SAAS,EAAE,MAAM,KAAK,GAAG,MAAM,EAC/B,MAAM,CAAC,EAAE,sBAAsB,GAC9B,qBAAqB,CAAC,KAAK,EAAE,MAAM,CAAC;IAMvC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,MAAM,GAAG,OAAO,EACnB,KAAK,EAAE,qBAAqB,CAAC,KAAK,EAAE,MAAM,CAAC,GAC1C,4BAA4B,CAAC,KAAK,EAAE,MAAM,CAAC;CAG/C"}
@@ -0,0 +1,15 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { MultiSelectCellEditorConfig } from './multi-select-cell-editor.models';
3
+ type __VLS_Props = {
4
+ params: ICellEditorParams<unknown, unknown[]> & {
5
+ config?: MultiSelectCellEditorConfig<unknown, unknown>;
6
+ };
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
9
+ getValue: () => unknown[];
10
+ afterGuiAttached: () => void;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
+ rootRef: HTMLDivElement;
13
+ }, HTMLDivElement>;
14
+ export default _default;
15
+ //# sourceMappingURL=CoarMultiSelectCellEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarMultiSelectCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarMultiSelectCellEditor.vue"],"names":[],"mappings":"AA+HA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAGrF,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,GAAG;QAC9C,MAAM,CAAC,EAAE,2BAA2B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;KACxD,CAAC;CACH,CAAC;;;;;;;AAwHF,wBASG"}
@@ -0,0 +1,7 @@
1
+ import { ICellRendererParams } from 'ag-grid-community';
2
+ type __VLS_Props = {
3
+ params: ICellRendererParams;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=CoarMultiSelectCellRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarMultiSelectCellRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarMultiSelectCellRenderer.vue"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAK7D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;;AA+FF,wBAOG"}
@@ -0,0 +1,52 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { Temporal } from '@js-temporal/polyfill';
3
+ import { PlainDateCellEditorConfig } from './plain-date-cell-editor.models';
4
+ type __VLS_Props = {
5
+ params: ICellEditorParams<unknown, Temporal.PlainDate | null> & {
6
+ config?: PlainDateCellEditorConfig<unknown>;
7
+ };
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
10
+ getValue: () => {
11
+ readonly era: string | undefined;
12
+ readonly eraYear: number | undefined;
13
+ readonly year: number;
14
+ readonly month: number;
15
+ readonly monthCode: string;
16
+ readonly day: number;
17
+ readonly calendarId: string;
18
+ readonly dayOfWeek: number;
19
+ readonly dayOfYear: number;
20
+ readonly weekOfYear: number | undefined;
21
+ readonly yearOfWeek: number | undefined;
22
+ readonly daysInWeek: number;
23
+ readonly daysInYear: number;
24
+ readonly daysInMonth: number;
25
+ readonly monthsInYear: number;
26
+ readonly inLeapYear: boolean;
27
+ equals: (other: Temporal.PlainDate | Temporal.PlainDateLike | string) => boolean;
28
+ with: (dateLike: Temporal.PlainDateLike, options?: Temporal.AssignmentOptions) => Temporal.PlainDate;
29
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.PlainDate;
30
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDate;
31
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDate;
32
+ until: (other: Temporal.PlainDate | Temporal.PlainDateLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day">) => Temporal.Duration;
33
+ since: (other: Temporal.PlainDate | Temporal.PlainDateLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day">) => Temporal.Duration;
34
+ toPlainDateTime: (temporalTime?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.PlainDateTime;
35
+ toZonedDateTime: (timeZoneAndTime: string | {
36
+ timeZone: Temporal.TimeZoneLike;
37
+ plainTime?: Temporal.PlainTime | Temporal.PlainTimeLike | string;
38
+ }) => Temporal.ZonedDateTime;
39
+ toPlainYearMonth: () => Temporal.PlainYearMonth;
40
+ toPlainMonthDay: () => Temporal.PlainMonthDay;
41
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
42
+ toJSON: () => string;
43
+ toString: (options?: Temporal.ShowCalendarOption) => string;
44
+ valueOf: () => never;
45
+ readonly [Symbol.toStringTag]: "Temporal.PlainDate";
46
+ } | null;
47
+ afterGuiAttached: () => void;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
49
+ rootRef: HTMLDivElement;
50
+ }, HTMLDivElement>;
51
+ export default _default;
52
+ //# sourceMappingURL=CoarPlainDateCellEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarPlainDateCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarPlainDateCellEditor.vue"],"names":[],"mappings":"AA4HA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,KAAK,EAAkB,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAejG,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG;QAC9D,MAAM,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC;KAC7C,CAAC;CACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoImtkB,CAAC;;;;;;;;;;;;;;AAjBttkB,wBASG"}
@@ -0,0 +1,7 @@
1
+ import { ICellRendererParams } from 'ag-grid-community';
2
+ type __VLS_Props = {
3
+ params: ICellRendererParams;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=CoarPlainDateCellRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarPlainDateCellRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarPlainDateCellRenderer.vue"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;;AA2DF,wBAOG"}
@@ -0,0 +1,56 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { Temporal } from '@js-temporal/polyfill';
3
+ import { PlainDateTimeCellEditorConfig } from './plain-date-time-cell-editor.models';
4
+ type __VLS_Props = {
5
+ params: ICellEditorParams<unknown, Temporal.PlainDateTime | null> & {
6
+ config?: PlainDateTimeCellEditorConfig<unknown>;
7
+ };
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
10
+ getValue: () => {
11
+ readonly era: string | undefined;
12
+ readonly eraYear: number | undefined;
13
+ readonly year: number;
14
+ readonly month: number;
15
+ readonly monthCode: string;
16
+ readonly day: number;
17
+ readonly hour: number;
18
+ readonly minute: number;
19
+ readonly second: number;
20
+ readonly millisecond: number;
21
+ readonly microsecond: number;
22
+ readonly nanosecond: number;
23
+ readonly calendarId: string;
24
+ readonly dayOfWeek: number;
25
+ readonly dayOfYear: number;
26
+ readonly weekOfYear: number | undefined;
27
+ readonly yearOfWeek: number | undefined;
28
+ readonly daysInWeek: number;
29
+ readonly daysInYear: number;
30
+ readonly daysInMonth: number;
31
+ readonly monthsInYear: number;
32
+ readonly inLeapYear: boolean;
33
+ equals: (other: Temporal.PlainDateTime | Temporal.PlainDateTimeLike | string) => boolean;
34
+ with: (dateTimeLike: Temporal.PlainDateTimeLike, options?: Temporal.AssignmentOptions) => Temporal.PlainDateTime;
35
+ withPlainTime: (timeLike?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.PlainDateTime;
36
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.PlainDateTime;
37
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDateTime;
38
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainDateTime;
39
+ until: (other: Temporal.PlainDateTime | Temporal.PlainDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
40
+ since: (other: Temporal.PlainDateTime | Temporal.PlainDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
41
+ round: (roundTo: Temporal.RoundTo<"day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.PlainDateTime;
42
+ toZonedDateTime: (tzLike: Temporal.TimeZoneLike, options?: Temporal.ToInstantOptions) => Temporal.ZonedDateTime;
43
+ toPlainDate: () => Temporal.PlainDate;
44
+ toPlainTime: () => Temporal.PlainTime;
45
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
46
+ toJSON: () => string;
47
+ toString: (options?: Temporal.CalendarTypeToStringOptions) => string;
48
+ valueOf: () => never;
49
+ readonly [Symbol.toStringTag]: "Temporal.PlainDateTime";
50
+ } | null;
51
+ afterGuiAttached: () => void;
52
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
53
+ rootRef: HTMLDivElement;
54
+ }, HTMLDivElement>;
55
+ export default _default;
56
+ //# sourceMappingURL=CoarPlainDateTimeCellEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarPlainDateTimeCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarPlainDateTimeCellEditor.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAQ1F,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG;QAClE,MAAM,CAAC,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;KACjD,CAAC;CACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GF,wBASG"}
@@ -0,0 +1,7 @@
1
+ import { ICellRendererParams } from 'ag-grid-community';
2
+ type __VLS_Props = {
3
+ params: ICellRendererParams;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=CoarPlainDateTimeCellRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarPlainDateTimeCellRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarPlainDateTimeCellRenderer.vue"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;;AA2DF,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"CoarSelectCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarSelectCellEditor.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG;QAC5C,MAAM,CAAC,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;KACnD,CAAC;CACH,CAAC;;;;;;;AAsJF,wBASG"}
1
+ {"version":3,"file":"CoarSelectCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarSelectCellEditor.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAG1E,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG;QAC5C,MAAM,CAAC,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;KACnD,CAAC;CACH,CAAC;;;;;;;AAsIF,wBASG"}
@@ -0,0 +1,15 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { MultiSelectCellEditorConfig } from './multi-select-cell-editor.models';
3
+ type __VLS_Props = {
4
+ params: ICellEditorParams<unknown, unknown[]> & {
5
+ config?: MultiSelectCellEditorConfig<unknown, unknown>;
6
+ };
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
9
+ getValue: () => unknown[];
10
+ afterGuiAttached: () => void;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
+ rootRef: HTMLDivElement;
13
+ }, HTMLDivElement>;
14
+ export default _default;
15
+ //# sourceMappingURL=CoarTagSelectCellEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarTagSelectCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarTagSelectCellEditor.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAGrF,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,GAAG;QAC9C,MAAM,CAAC,EAAE,2BAA2B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;KACxD,CAAC;CACH,CAAC;;;;;;;AAoHF,wBASG"}
@@ -0,0 +1,66 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { Temporal } from '@js-temporal/polyfill';
3
+ import { ZonedDateTimeCellEditorConfig } from './zoned-date-time-cell-editor.models';
4
+ type __VLS_Props = {
5
+ params: ICellEditorParams<unknown, Temporal.ZonedDateTime | null> & {
6
+ config?: ZonedDateTimeCellEditorConfig<unknown>;
7
+ };
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
10
+ getValue: () => {
11
+ readonly era: string | undefined;
12
+ readonly eraYear: number | undefined;
13
+ readonly year: number;
14
+ readonly month: number;
15
+ readonly monthCode: string;
16
+ readonly day: number;
17
+ readonly hour: number;
18
+ readonly minute: number;
19
+ readonly second: number;
20
+ readonly millisecond: number;
21
+ readonly microsecond: number;
22
+ readonly nanosecond: number;
23
+ readonly timeZoneId: string;
24
+ readonly calendarId: string;
25
+ readonly dayOfWeek: number;
26
+ readonly dayOfYear: number;
27
+ readonly weekOfYear: number | undefined;
28
+ readonly yearOfWeek: number | undefined;
29
+ readonly hoursInDay: number;
30
+ readonly daysInWeek: number;
31
+ readonly daysInMonth: number;
32
+ readonly daysInYear: number;
33
+ readonly monthsInYear: number;
34
+ readonly inLeapYear: boolean;
35
+ readonly offsetNanoseconds: number;
36
+ readonly offset: string;
37
+ readonly epochMilliseconds: number;
38
+ readonly epochNanoseconds: bigint;
39
+ equals: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string) => boolean;
40
+ with: (zonedDateTimeLike: Temporal.ZonedDateTimeLike, options?: Temporal.ZonedDateTimeAssignmentOptions) => Temporal.ZonedDateTime;
41
+ withPlainTime: (timeLike?: Temporal.PlainTime | Temporal.PlainTimeLike | string) => Temporal.ZonedDateTime;
42
+ withCalendar: (calendar: Temporal.CalendarLike) => Temporal.ZonedDateTime;
43
+ withTimeZone: (timeZone: Temporal.TimeZoneLike) => Temporal.ZonedDateTime;
44
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.ZonedDateTime;
45
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.ZonedDateTime;
46
+ until: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
47
+ since: (other: Temporal.ZonedDateTime | Temporal.ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions<"year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.Duration;
48
+ round: (roundTo: Temporal.RoundTo<"day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">) => Temporal.ZonedDateTime;
49
+ startOfDay: () => Temporal.ZonedDateTime;
50
+ getTimeZoneTransition: (direction: Temporal.TransitionDirection) => Temporal.ZonedDateTime | null;
51
+ toInstant: () => Temporal.Instant;
52
+ toPlainDateTime: () => Temporal.PlainDateTime;
53
+ toPlainDate: () => Temporal.PlainDate;
54
+ toPlainTime: () => Temporal.PlainTime;
55
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
56
+ toJSON: () => string;
57
+ toString: (options?: Temporal.ZonedDateTimeToStringOptions) => string;
58
+ valueOf: () => never;
59
+ readonly [Symbol.toStringTag]: "Temporal.ZonedDateTime";
60
+ } | null;
61
+ afterGuiAttached: () => void;
62
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
63
+ rootRef: HTMLDivElement;
64
+ }, HTMLDivElement>;
65
+ export default _default;
66
+ //# sourceMappingURL=CoarZonedDateTimeCellEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarZonedDateTimeCellEditor.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarZonedDateTimeCellEditor.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAQ1F,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG;QAClE,MAAM,CAAC,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;KACjD,CAAC;CACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiHF,wBASG"}
@@ -0,0 +1,7 @@
1
+ import { ICellRendererParams } from 'ag-grid-community';
2
+ type __VLS_Props = {
3
+ params: ICellRendererParams;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
7
+ //# sourceMappingURL=CoarZonedDateTimeCellRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarZonedDateTimeCellRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/CoarZonedDateTimeCellRenderer.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;;AA6DF,wBAOG"}
@@ -10,6 +10,15 @@ export { default as CoarTextCellEditor } from './CoarTextCellEditor.vue';
10
10
  export { default as CoarNumberCellEditor } from './CoarNumberCellEditor.vue';
11
11
  export { default as CoarSelectCellRenderer } from './CoarSelectCellRenderer.vue';
12
12
  export { default as CoarSelectCellEditor } from './CoarSelectCellEditor.vue';
13
+ export { default as CoarMultiSelectCellRenderer } from './CoarMultiSelectCellRenderer.vue';
14
+ export { default as CoarMultiSelectCellEditor } from './CoarMultiSelectCellEditor.vue';
15
+ export { default as CoarTagSelectCellEditor } from './CoarTagSelectCellEditor.vue';
16
+ export { default as CoarPlainDateCellRenderer } from './CoarPlainDateCellRenderer.vue';
17
+ export { default as CoarPlainDateCellEditor } from './CoarPlainDateCellEditor.vue';
18
+ export { default as CoarPlainDateTimeCellRenderer } from './CoarPlainDateTimeCellRenderer.vue';
19
+ export { default as CoarPlainDateTimeCellEditor } from './CoarPlainDateTimeCellEditor.vue';
20
+ export { default as CoarZonedDateTimeCellRenderer } from './CoarZonedDateTimeCellRenderer.vue';
21
+ export { default as CoarZonedDateTimeCellEditor } from './CoarZonedDateTimeCellEditor.vue';
13
22
  export type { TagCellRendererConfig } from './tag-cell-renderer.models';
14
23
  export type { IconCellRendererConfig } from './icon-cell-renderer.models';
15
24
  export type { DateCellRendererConfig } from './date-cell-renderer.models';
@@ -20,5 +29,9 @@ export type { CheckboxCellRendererConfig } from './checkbox-cell-renderer.models
20
29
  export type { TextCellEditorConfig } from './text-cell-editor.models';
21
30
  export type { NumberCellEditorConfig } from './number-cell-editor.models';
22
31
  export type { SelectCellEditorConfig } from './select-cell-editor.models';
32
+ export type { MultiSelectCellEditorConfig } from './multi-select-cell-editor.models';
33
+ export type { PlainDateCellEditorConfig, CoarDateMarker } from './plain-date-cell-editor.models';
34
+ export type { PlainDateTimeCellEditorConfig } from './plain-date-time-cell-editor.models';
35
+ export type { ZonedDateTimeCellEditorConfig } from './zoned-date-time-cell-editor.models';
23
36
  export type { WrapperSlotConfig, WrapperSlotItem, WrapperIconSlotConfig, WrapperComponentSlotConfig, WrapperTextSlotConfig, WrapperCellRendererConfig, WrapperSlotAccessor, } from './wrapper-cell-renderer.models';
24
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BA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C;AAClF,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,YAAY,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,YAAY,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,YAAY,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjG,YAAY,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAC1F,YAAY,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAC1F,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { CoarSelectOption, CoarSelectSize } from '@cocoar/vue-ui';
2
+ /**
3
+ * Shared config for the multi-select cell editor + renderer.
4
+ *
5
+ * Used by both `col.multiSelect()` (standard dropdown trigger) and
6
+ * `col.tagSelect()` (chip-style trigger). Cell value is `TValue[]`.
7
+ *
8
+ * Set via `col.multiSelect(field, s => s.options(...).display('chips'))`
9
+ * or `col.tagSelect(field, s => s.options(...).allowCreate())`.
10
+ */
11
+ export interface MultiSelectCellEditorConfig<TData = unknown, TValue = unknown> {
12
+ /**
13
+ * Available options. Static array or row-aware function. Using
14
+ * `(row) => CoarSelectOption<TValue>[]` lets options depend on row state.
15
+ */
16
+ options?: CoarSelectOption<TValue>[] | ((row: TData) => CoarSelectOption<TValue>[]);
17
+ /** Show a clear button in the editor (multiSelect only). */
18
+ clearable?: boolean;
19
+ /** Enable search/filter in the dropdown (multiSelect only). */
20
+ searchable?: boolean;
21
+ /** Show a "Select all" row at the top of the dropdown (multiSelect only). */
22
+ showSelectAll?: boolean;
23
+ /** Placeholder shown when no values are selected. */
24
+ placeholder?: string;
25
+ /** Search-input placeholder. */
26
+ searchPlaceholder?: string;
27
+ /** Trigger size — defaults to `'s'` to fit cell height. */
28
+ size?: CoarSelectSize;
29
+ /**
30
+ * Allow creating new tags by typing (tagSelect only). When true, values not
31
+ * in `options` are accepted as free-form strings and round-trip into the
32
+ * cell value array.
33
+ */
34
+ allowCreate?: boolean;
35
+ /**
36
+ * Renderer display mode. `'text'` (default) shows a comma-separated label
37
+ * list; `'chips'` renders each selected value as a `<CoarTag>`.
38
+ */
39
+ display?: 'text' | 'chips';
40
+ }
41
+ //# sourceMappingURL=multi-select-cell-editor.models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-select-cell-editor.models.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/multi-select-cell-editor.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;;;;GAQG;AACH,MAAM,WAAW,2BAA2B,CAAC,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO;IAC5E;;;OAGG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACpF,4DAA4D;IAC5D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gCAAgC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B"}
@@ -0,0 +1,30 @@
1
+ import { Temporal } from '@js-temporal/polyfill';
2
+ import { CoarPlainDatePickerSize, CoarDateMarker } from '@cocoar/vue-ui';
3
+ /** Re-exported from `@cocoar/vue-ui` for grid-side ergonomics. */
4
+ export type { CoarDateMarker };
5
+ /**
6
+ * Configuration for the `col.plainDate()` cell renderer + editor.
7
+ *
8
+ * Cell value type is `Temporal.PlainDate | null`. Consumers convert from ISO
9
+ * strings / native `Date` at the data layer — the editor and renderer are
10
+ * Temporal-only, matching the calendar package's contract.
11
+ */
12
+ export interface PlainDateCellEditorConfig<TData = unknown> {
13
+ /** Trigger size — defaults to `'s'` to fit cell height. */
14
+ size?: CoarPlainDatePickerSize;
15
+ /** Show a clear button inside the picker. Default `true`. */
16
+ clearable?: boolean;
17
+ /** Minimum selectable date. */
18
+ min?: Temporal.PlainDate | null;
19
+ /** Maximum selectable date. */
20
+ max?: Temporal.PlainDate | null;
21
+ /** Show ISO week numbers in the calendar panel. */
22
+ showWeekNumbers?: boolean;
23
+ /** Visually highlight Saturday + Sunday. */
24
+ highlightWeekends?: boolean;
25
+ /** Date markers (dot / ring / underline) drawn on specific dates. */
26
+ markers?: CoarDateMarker[] | ((row: TData) => CoarDateMarker[]);
27
+ /** Locale override. Defaults to the consumer-app locale via `useL10n()`. */
28
+ locale?: string;
29
+ }
30
+ //# sourceMappingURL=plain-date-cell-editor.models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plain-date-cell-editor.models.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/plain-date-cell-editor.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE9E,kEAAkE;AAClE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB,CAAC,KAAK,GAAG,OAAO;IACxD,2DAA2D;IAC3D,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,6DAA6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,+BAA+B;IAC/B,GAAG,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,mDAAmD;IACnD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qEAAqE;IACrE,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,cAAc,EAAE,CAAC,CAAC;IAChE,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,29 @@
1
+ import { Temporal } from '@js-temporal/polyfill';
2
+ import { CoarPlainDateTimePickerSize } from '@cocoar/vue-ui';
3
+ import { CoarDateMarker } from './plain-date-cell-editor.models';
4
+ /**
5
+ * Configuration for the `col.plainDateTime()` cell renderer + editor.
6
+ *
7
+ * Cell value type is `Temporal.PlainDateTime | null` — a floating wallclock
8
+ * (no zone). Use `col.zonedDateTime()` when the event lives in a specific
9
+ * IANA zone.
10
+ */
11
+ export interface PlainDateTimeCellEditorConfig<TData = unknown> {
12
+ /** Trigger size — defaults to `'s'` to fit cell height. */
13
+ size?: CoarPlainDateTimePickerSize;
14
+ /** Show a clear button inside the picker. Default `true`. */
15
+ clearable?: boolean;
16
+ /** Minimum selectable date+time. */
17
+ min?: Temporal.PlainDateTime | null;
18
+ /** Maximum selectable date+time. */
19
+ max?: Temporal.PlainDateTime | null;
20
+ /** Show ISO week numbers in the calendar panel. */
21
+ showWeekNumbers?: boolean;
22
+ /** Visually highlight Saturday + Sunday. */
23
+ highlightWeekends?: boolean;
24
+ /** Date markers drawn on specific dates. */
25
+ markers?: CoarDateMarker[] | ((row: TData) => CoarDateMarker[]);
26
+ /** Locale override. Defaults to the consumer-app locale via `useL10n()`. */
27
+ locale?: string;
28
+ }
29
+ //# sourceMappingURL=plain-date-time-cell-editor.models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plain-date-time-cell-editor.models.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/plain-date-time-cell-editor.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B,CAAC,KAAK,GAAG,OAAO;IAC5D,2DAA2D;IAC3D,IAAI,CAAC,EAAE,2BAA2B,CAAC;IACnC,6DAA6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IACpC,oCAAoC;IACpC,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IACpC,mDAAmD;IACnD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,cAAc,EAAE,CAAC,CAAC;IAChE,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,29 @@
1
+ import { Ref } from 'vue';
2
+ /**
3
+ * Body-teleported overlays (CoarSelect/MultiSelect/TagSelect dropdowns,
4
+ * date-picker panels) live outside AG Grid's cell DOM. When the user clicks
5
+ * into such an overlay, two events fire in sequence:
6
+ *
7
+ * 1. `mousedown` — the browser's default action would shift focus to the
8
+ * click target.
9
+ * 2. `focusout` on the editor root (relatedTarget = overlay element). AG
10
+ * Grid's `stopEditingWhenCellsLoseFocus` sees this and commits + unmounts
11
+ * the editor, which destroys the overlay mid-interaction.
12
+ *
13
+ * This composable installs two guards:
14
+ *
15
+ * - `mousedown` (capture, document) — `preventDefault` for targets inside
16
+ * `.coar-overlay-host`. Tries to keep focus on the cell editor so step 2
17
+ * never fires. Belt.
18
+ * - `focusout` (on the editor root) — `stopPropagation` when the
19
+ * `relatedTarget` is inside `.coar-overlay-host`. If focus DID shift
20
+ * despite the mousedown guard (some browsers / element types ignore the
21
+ * `preventDefault`), AG Grid never sees the focusout bubble through the
22
+ * cell root. Suspenders.
23
+ *
24
+ * Apply in any cell editor whose UI extends into a body-teleported overlay
25
+ * (the date-picker panels, the select dropdowns). The text + number editors
26
+ * don't need it — their input is in-cell, no body teleport.
27
+ */
28
+ export declare function usePopupEditorFocusGuard(rootRef: Readonly<Ref<HTMLElement | null>>): void;
29
+ //# sourceMappingURL=use-popup-editor-focus-guard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-popup-editor-focus-guard.d.ts","sourceRoot":"","sources":["../../src/cell-renderers/use-popup-editor-focus-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,GACzC,IAAI,CAwBN"}