@cnamts/synapse 1.0.11 → 1.0.12

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 (108) hide show
  1. package/dist/{DateFilter-QEfKOz0P.js → DateFilter-DoCcOfDW.js} +1 -1
  2. package/dist/{NumberFilter-C0h7gVzp.js → NumberFilter-9uR8uo6p.js} +1 -1
  3. package/dist/{PeriodFilter-8dVrKjju.js → PeriodFilter-CxN5ini7.js} +1 -1
  4. package/dist/{SelectFilter-BI3QGbqb.js → SelectFilter-bfxipgvt.js} +1 -1
  5. package/dist/{TextFilter-UOp1hcPp.js → TextFilter-yCnWcmW2.js} +1 -1
  6. package/dist/components/Amelipro/AmeliproAccordion/AmeliproAccordion.d.ts +6 -2
  7. package/dist/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.d.ts +2 -0
  8. package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.d.ts +6 -2
  9. package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +6 -6
  10. package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +6 -6
  11. package/dist/components/Amelipro/AmeliproTable/AmeliproTable.d.ts +4 -0
  12. package/dist/components/Amelipro/AmeliproTable/types.d.ts +11 -0
  13. package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +6 -6
  14. package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +14 -14
  15. package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +3 -3
  16. package/dist/components/Customs/SyTextField/SyTextField.d.ts +1 -1
  17. package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +40 -4
  18. package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +46 -4
  19. package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +5 -10
  20. package/dist/components/DatePicker/composables/useDatePickerViewMode.d.ts +2 -1
  21. package/dist/components/DatePicker/tests/setup.d.ts +368 -8
  22. package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +6 -6
  23. package/dist/components/NirField/NirField.d.ts +4 -2
  24. package/dist/components/PeriodField/PeriodField.d.ts +80 -0
  25. package/dist/components/SearchListField/SearchListField.d.ts +3 -3
  26. package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +5 -8
  27. package/dist/components/Tables/SyTable/SyTable.d.ts +5 -8
  28. package/dist/components/Tables/common/SyTablePagination.d.ts +3 -3
  29. package/dist/components/Tables/common/types.d.ts +4 -0
  30. package/dist/components/Tables/common/usePagination.d.ts +3 -4
  31. package/dist/components/Tables/common/useTableCheckbox.d.ts +10 -6
  32. package/dist/design-system-v3.js +1 -1
  33. package/dist/design-system-v3.umd.cjs +127 -127
  34. package/dist/{main-DyEOPqqn.js → main-DMXtXK3y.js} +9984 -9855
  35. package/dist/style.css +1 -1
  36. package/package.json +1 -1
  37. package/src/assets/overrides/_forms.scss +2 -0
  38. package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.stories.ts +7 -4
  39. package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.vue +2 -0
  40. package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.vue +1 -0
  41. package/src/components/Amelipro/AmeliproAccordionFrieze/__tests__/__snapshots__/AmeliproAccordionFrieze.spec.ts.snap +574 -112
  42. package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.stories.ts +5 -2
  43. package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +2 -1
  44. package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.stories.ts +6 -3
  45. package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.vue +2 -0
  46. package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.stories.ts +5 -2
  47. package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +2 -1
  48. package/src/components/Amelipro/AmeliproCheckbox/__tests__/AmeliproCheckbox.spec.ts +175 -0
  49. package/src/components/Amelipro/AmeliproCheckbox/__tests__/__snapshots__/AmeliproCheckbox.spec.ts.snap +88 -0
  50. package/src/components/Amelipro/AmeliproCheckboxGroup/__tests__/AmeliproCheckboxGroup.spec.ts +423 -0
  51. package/src/components/Amelipro/AmeliproCheckboxGroup/{tests → __tests__}/__snapshots__/AmeliproCheckboxGroup.spec.ts.snap +112 -78
  52. package/src/components/Amelipro/AmeliproChips/__tests__/AmeliproChips.spec.ts +92 -0
  53. package/src/components/Amelipro/AmeliproChips/__tests__/__snapshots__/AmeliproChips.spec.ts.snap +81 -0
  54. package/src/components/Amelipro/AmeliproDialog/__tests__/AmeliproDialog.spec.ts +257 -0
  55. package/src/components/Amelipro/AmeliproDialog/__tests__/__snapshots__/AmeliproDialog.spec.ts.snap +61 -0
  56. package/src/components/Amelipro/AmeliproDisclosure/__tests__/AmeliproDisclosure.spec.ts +79 -0
  57. package/src/components/Amelipro/AmeliproDisclosure/__tests__/__snapshots__/AmeliproDisclosure.spec.ts.snap +89 -0
  58. package/src/components/Amelipro/AmeliproTable/AmeliproTable.stories.ts +81 -9
  59. package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +139 -61
  60. package/src/components/Amelipro/AmeliproTable/__tests__/AmeliproTable.spec.ts +10 -0
  61. package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap +361 -187
  62. package/src/components/Amelipro/AmeliproTable/types.d.ts +11 -0
  63. package/src/components/Customs/SyTextField/SyTextField.vue +27 -5
  64. package/src/components/DatePicker/CalendarMode/DatePicker.vue +31 -8
  65. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +44 -12
  66. package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +2 -2
  67. package/src/components/DatePicker/DateTextInput/DateTextInput.vue +7 -1
  68. package/src/components/DatePicker/composables/tests/useDatePickerViewMode.spec.ts +107 -72
  69. package/src/components/DatePicker/composables/tests/useMonthButtonCustomization.spec.ts +6 -6
  70. package/src/components/DatePicker/composables/useDatePickerViewMode.ts +57 -7
  71. package/src/components/DatePicker/composables/useMonthButtonCustomization.ts +14 -14
  72. package/src/components/DatePicker/tests/navigation.regression.spec.ts +74 -0
  73. package/src/components/DatePicker/tests/navigation.simple.spec.ts +137 -0
  74. package/src/components/NirField/NirField.stories.ts +11 -2
  75. package/src/components/NirField/NirField.vue +21 -9
  76. package/src/components/RangeField/tests/RangeField.spec.ts +0 -3
  77. package/src/components/Tables/SyServerTable/SyServerTable.mdx +15 -0
  78. package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +309 -0
  79. package/src/components/Tables/SyServerTable/SyServerTable.vue +18 -3
  80. package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
  81. package/src/components/Tables/SyTable/SyTable.mdx +15 -0
  82. package/src/components/Tables/SyTable/SyTable.stories.ts +228 -0
  83. package/src/components/Tables/SyTable/SyTable.vue +18 -3
  84. package/src/components/Tables/SyTable/tests/SyTable.spec.ts +63 -0
  85. package/src/components/Tables/common/SyTablePagination.vue +10 -8
  86. package/src/components/Tables/common/types.ts +4 -0
  87. package/src/components/Tables/common/usePagination.ts +11 -20
  88. package/src/components/Tables/common/useTableCheckbox.ts +23 -11
  89. package/src/composables/validation/AvecVosComposants.mdx.old +1 -1
  90. package/src/composables/validation/FormValidation.stories.ts.old +5 -5
  91. package/src/stories/Accessibilite/Introduction.mdx +1 -1
  92. package/src/stories/Demarrer/EnrichirLeDesignSystem.mdx +43 -0
  93. package/src/stories/Demarrer/EnrichirLeDesignSystem.stories.ts +239 -0
  94. package/src/stories/Demarrer/SignalerUneAnomalie.mdx +39 -0
  95. package/src/stories/Demarrer/SignalerUneAnomalie.stories.ts +261 -0
  96. package/src/components/Amelipro/AmeliproCheckbox/tests/AmeliproCheckbox.spec.ts +0 -19
  97. package/src/components/Amelipro/AmeliproCheckbox/tests/__snapshots__/AmeliproCheckbox.spec.ts.snap +0 -40
  98. package/src/components/Amelipro/AmeliproCheckboxGroup/tests/AmeliproCheckboxGroup.spec.ts +0 -46
  99. package/src/components/Amelipro/AmeliproChips/tests/AmeliproChips.spec.ts +0 -16
  100. package/src/components/Amelipro/AmeliproChips/tests/__snapshots__/AmeliproChips.spec.ts.snap +0 -97
  101. package/src/components/Amelipro/AmeliproDialog/tests/AmeliproDialog.spec.ts +0 -24
  102. package/src/components/Amelipro/AmeliproDialog/tests/__snapshots__/AmeliproDialog.spec.ts.snap +0 -134
  103. package/src/components/Amelipro/AmeliproDisclosure/tests/AmeliproDisclosure.spec.ts +0 -19
  104. package/src/components/Amelipro/AmeliproDisclosure/tests/__snapshots__/AmeliproDisclosure.spec.ts.snap +0 -104
  105. package/src/components/BackBtn/tests/__snapshots__/BackBtn.spec.ts.snap +0 -45
  106. package/src/components/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +0 -1270
  107. package/src/stories/Demarrer/CreerUneIssue.mdx +0 -67
  108. package/src/stories/Demarrer/components.stories.ts +0 -25
@@ -43,7 +43,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
43
43
  returnObject: boolean;
44
44
  showSelect: boolean;
45
45
  selectStrategy: "all" | "single" | "page";
46
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
47
46
  density: import('vuetify/lib/composables/density.mjs').Density;
48
47
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
49
48
  page: string | number;
@@ -94,7 +93,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
94
93
  returnObject: boolean;
95
94
  showSelect: boolean;
96
95
  selectStrategy: "all" | "single" | "page";
97
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
98
96
  density: import('vuetify/lib/composables/density.mjs').Density;
99
97
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
100
98
  page: string | number;
@@ -138,6 +136,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
138
136
  class?: any;
139
137
  mobileBreakpoint?: number | import('vuetify/lib/types.mjs').DisplayBreakpoint | undefined;
140
138
  customKeySort?: Record<string, import('vuetify/lib/types.mjs').DataTableCompareFunction<any>> | undefined;
139
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
141
140
  loading?: string | boolean | undefined;
142
141
  color?: string | undefined;
143
142
  headerProps?: Record<string, any> | undefined;
@@ -150,7 +149,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
150
149
  "onUpdate:options"?: ((options: any) => any) | undefined;
151
150
  "onUpdate:page"?: ((page: number) => any) | undefined;
152
151
  "onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
153
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "valueComparator" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader">;
152
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader">;
154
153
  $attrs: {
155
154
  [x: string]: unknown;
156
155
  };
@@ -275,7 +274,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
275
274
  returnObject: boolean;
276
275
  showSelect: boolean;
277
276
  selectStrategy: "all" | "single" | "page";
278
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
279
277
  density: import('vuetify/lib/composables/density.mjs').Density;
280
278
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
281
279
  page: string | number;
@@ -320,6 +318,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
320
318
  class?: any;
321
319
  mobileBreakpoint?: number | import('vuetify/lib/types.mjs').DisplayBreakpoint | undefined;
322
320
  customKeySort?: Record<string, import('vuetify/lib/types.mjs').DataTableCompareFunction<any>> | undefined;
321
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
323
322
  loading?: string | boolean | undefined;
324
323
  color?: string | undefined;
325
324
  headerProps?: Record<string, any> | undefined;
@@ -353,7 +352,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
353
352
  returnObject: boolean;
354
353
  showSelect: boolean;
355
354
  selectStrategy: "all" | "single" | "page";
356
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
357
355
  density: import('vuetify/lib/composables/density.mjs').Density;
358
356
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
359
357
  page: string | number;
@@ -524,7 +522,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
524
522
  returnObject: boolean;
525
523
  showSelect: boolean;
526
524
  selectStrategy: "all" | "single" | "page";
527
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
528
525
  density: import('vuetify/lib/composables/density.mjs').Density;
529
526
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
530
527
  page: string | number;
@@ -575,7 +572,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
575
572
  returnObject: boolean;
576
573
  showSelect: boolean;
577
574
  selectStrategy: "all" | "single" | "page";
578
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
579
575
  density: import('vuetify/lib/composables/density.mjs').Density;
580
576
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
581
577
  page: string | number;
@@ -620,6 +616,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
620
616
  class?: any;
621
617
  mobileBreakpoint?: number | import('vuetify/lib/types.mjs').DisplayBreakpoint | undefined;
622
618
  customKeySort?: Record<string, import('vuetify/lib/types.mjs').DataTableCompareFunction<any>> | undefined;
619
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
623
620
  loading?: string | boolean | undefined;
624
621
  color?: string | undefined;
625
622
  headerProps?: Record<string, any> | undefined;
@@ -633,7 +630,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
633
630
  "onUpdate:options"?: ((options: any) => any) | undefined;
634
631
  "onUpdate:page"?: ((page: number) => any) | undefined;
635
632
  "onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
636
- }, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "valueComparator" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
633
+ }, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
637
634
  items?: Record<string, unknown>[] | undefined;
638
635
  itemValue?: import('vuetify/lib/util/helpers.mjs').SelectItemKey<Record<string, unknown>>;
639
636
  rowProps?: import('vuetify/lib/components/VDataTable/types.mjs').RowProps<Record<string, unknown>> | undefined;
@@ -42,7 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
42
42
  returnObject: boolean;
43
43
  showSelect: boolean;
44
44
  selectStrategy: "all" | "single" | "page";
45
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
46
45
  density: import('vuetify/lib/composables/density.mjs').Density;
47
46
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
48
47
  page: string | number;
@@ -95,7 +94,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
95
94
  returnObject: boolean;
96
95
  showSelect: boolean;
97
96
  selectStrategy: "all" | "single" | "page";
98
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
99
97
  density: import('vuetify/lib/composables/density.mjs').Density;
100
98
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
101
99
  page: string | number;
@@ -141,6 +139,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
141
139
  customKeyFilter?: import('vuetify/lib/composables/filter.mjs').FilterKeyFunctions | undefined;
142
140
  filterKeys?: import('vuetify/lib/composables/filter.mjs').FilterKeys | undefined;
143
141
  customKeySort?: Record<string, import('vuetify/lib/types.mjs').DataTableCompareFunction<any>> | undefined;
142
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
144
143
  loading?: string | boolean | undefined;
145
144
  color?: string | undefined;
146
145
  headerProps?: Record<string, any> | undefined;
@@ -154,7 +153,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
154
153
  "onUpdate:options"?: ((value: any) => any) | undefined;
155
154
  "onUpdate:page"?: ((value: number) => any) | undefined;
156
155
  "onUpdate:sortBy"?: ((value: any) => any) | undefined;
157
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "valueComparator" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "filterMode" | "noFilter" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader">;
156
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "filterMode" | "noFilter" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader">;
158
157
  $attrs: {
159
158
  [x: string]: unknown;
160
159
  };
@@ -281,7 +280,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
281
280
  returnObject: boolean;
282
281
  showSelect: boolean;
283
282
  selectStrategy: "all" | "single" | "page";
284
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
285
283
  density: import('vuetify/lib/composables/density.mjs').Density;
286
284
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
287
285
  page: string | number;
@@ -328,6 +326,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
328
326
  customKeyFilter?: import('vuetify/lib/composables/filter.mjs').FilterKeyFunctions | undefined;
329
327
  filterKeys?: import('vuetify/lib/composables/filter.mjs').FilterKeys | undefined;
330
328
  customKeySort?: Record<string, import('vuetify/lib/types.mjs').DataTableCompareFunction<any>> | undefined;
329
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
331
330
  loading?: string | boolean | undefined;
332
331
  color?: string | undefined;
333
332
  headerProps?: Record<string, any> | undefined;
@@ -365,7 +364,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
365
364
  returnObject: boolean;
366
365
  showSelect: boolean;
367
366
  selectStrategy: "all" | "single" | "page";
368
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
369
367
  density: import('vuetify/lib/composables/density.mjs').Density;
370
368
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
371
369
  page: string | number;
@@ -538,7 +536,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
538
536
  returnObject: boolean;
539
537
  showSelect: boolean;
540
538
  selectStrategy: "all" | "single" | "page";
541
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
542
539
  density: import('vuetify/lib/composables/density.mjs').Density;
543
540
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
544
541
  page: string | number;
@@ -591,7 +588,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
591
588
  returnObject: boolean;
592
589
  showSelect: boolean;
593
590
  selectStrategy: "all" | "single" | "page";
594
- valueComparator: typeof import('vuetify/lib/util/helpers.mjs').deepEqual;
595
591
  density: import('vuetify/lib/composables/density.mjs').Density;
596
592
  tag: string | import('vuetify/lib/types.mjs').JSXComponent<any>;
597
593
  page: string | number;
@@ -638,6 +634,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
638
634
  customKeyFilter?: import('vuetify/lib/composables/filter.mjs').FilterKeyFunctions | undefined;
639
635
  filterKeys?: import('vuetify/lib/composables/filter.mjs').FilterKeys | undefined;
640
636
  customKeySort?: Record<string, import('vuetify/lib/types.mjs').DataTableCompareFunction<any>> | undefined;
637
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
641
638
  loading?: string | boolean | undefined;
642
639
  color?: string | undefined;
643
640
  headerProps?: Record<string, any> | undefined;
@@ -652,7 +649,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
652
649
  "onUpdate:options"?: ((value: any) => any) | undefined;
653
650
  "onUpdate:page"?: ((value: number) => any) | undefined;
654
651
  "onUpdate:sortBy"?: ((value: any) => any) | undefined;
655
- }, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "valueComparator" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "filterMode" | "noFilter" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
652
+ }, "style" | "tag" | "density" | "sticky" | "loadingText" | "selectStrategy" | "returnObject" | "expandIcon" | "collapseIcon" | "page" | "hover" | "nextIcon" | "prevIcon" | "mobile" | "striped" | "hideNoData" | "noDataText" | "itemsPerPage" | "multiSort" | "mustSort" | "sortBy" | "groupBy" | "filterMode" | "noFilter" | "expandOnClick" | "showExpand" | "expanded" | "showSelect" | "firstIcon" | "lastIcon" | "itemsPerPageText" | "pageText" | "firstPageLabel" | "prevPageLabel" | "nextPageLabel" | "lastPageLabel" | "itemsPerPageOptions" | "showCurrentPage" | "disableSort" | "sortAscIcon" | "sortDescIcon" | "groupCollapseIcon" | "groupExpandIcon" | "fixedHeader" | "fixedFooter" | "hideDefaultBody" | "hideDefaultFooter" | "hideDefaultHeader"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
656
653
  items?: Record<string, unknown>[] | undefined;
657
654
  itemValue?: import('vuetify/lib/util/helpers.mjs').SelectItemKey<Record<string, unknown>>;
658
655
  rowProps?: import('vuetify/lib/components/VDataTable/types.mjs').RowProps<Record<string, unknown>> | undefined;
@@ -204,7 +204,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
204
204
  width?: string | number | undefined;
205
205
  activeStrategy?: import('vuetify/lib/composables/nested/nested.mjs').ActiveStrategyProp | undefined;
206
206
  activated?: any;
207
- valueComparator?: typeof import('vuetify/lib/util/helpers.mjs').deepEqual | undefined;
207
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
208
208
  baseColor?: string | undefined;
209
209
  activeColor?: string | undefined;
210
210
  activeClass?: string | undefined;
@@ -327,7 +327,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
327
327
  width?: string | number | undefined;
328
328
  activeStrategy?: import('vuetify/lib/composables/nested/nested.mjs').ActiveStrategyProp | undefined;
329
329
  activated?: any;
330
- valueComparator?: typeof import('vuetify/lib/util/helpers.mjs').deepEqual | undefined;
330
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
331
331
  baseColor?: string | undefined;
332
332
  activeColor?: string | undefined;
333
333
  activeClass?: string | undefined;
@@ -518,7 +518,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
518
518
  width?: string | number | undefined;
519
519
  activeStrategy?: import('vuetify/lib/composables/nested/nested.mjs').ActiveStrategyProp | undefined;
520
520
  activated?: any;
521
- valueComparator?: typeof import('vuetify/lib/util/helpers.mjs').deepEqual | undefined;
521
+ valueComparator?: typeof import('vuetify/lib/util/deepEqual.mjs').deepEqual | undefined;
522
522
  baseColor?: string | undefined;
523
523
  activeColor?: string | undefined;
524
524
  activeClass?: string | undefined;
@@ -83,6 +83,8 @@ export type SyTableProps = {
83
83
  enableColumnControls?: boolean;
84
84
  headers?: DataTableHeaders[];
85
85
  showSelect?: boolean;
86
+ showExpand?: boolean;
87
+ selectionKey?: string;
86
88
  multiSort?: boolean;
87
89
  mustSort?: boolean;
88
90
  itemsPerPageOptions?: number[];
@@ -101,6 +103,8 @@ export type SyServerTableProps = {
101
103
  enableColumnControls?: boolean;
102
104
  headers?: DataTableHeaders[];
103
105
  showSelect?: boolean;
106
+ showExpand?: boolean;
107
+ selectionKey?: string;
104
108
  multiSort?: boolean;
105
109
  mustSort?: boolean;
106
110
  itemsPerPageOptions?: number[];
@@ -5,16 +5,15 @@ import { DataOptions } from './types';
5
5
  *
6
6
  * @param options - Reactive reference to table options
7
7
  * @param itemsLength - Total number of items (for client-side) or serverItemsLength (for server-side)
8
- * @param table - Reference to the table component
9
8
  * @returns Pagination utilities and computed properties
10
9
  */
11
- export declare function usePagination({ options, itemsLength, table, }: {
10
+ export declare function usePagination({ options, itemsLength, }: {
12
11
  options: Ref<Partial<DataOptions>>;
13
12
  itemsLength: Ref<number>;
14
- table: Ref<unknown>;
15
13
  }): {
16
14
  page: import('vue').WritableComputedRef<number, number>;
17
15
  pageCount: import('vue').ComputedRef<number>;
18
16
  itemsPerPageValue: import('vue').ComputedRef<number>;
19
- updateItemsPerPage: (newItemsPerPage: number) => void;
17
+ updateItemsPerPage: (newItemsPerPage: number) => Promise<void>;
18
+ isUpdatingItemsPerPage: Ref<boolean, boolean>;
20
19
  };
@@ -1,17 +1,21 @@
1
1
  import { MaybeRefOrGetter } from 'vue';
2
2
  interface UseTableCheckboxOptions {
3
3
  /**
4
- * The items to be displayed in the table
5
- */
4
+ * The items to be displayed in the table
5
+ */
6
6
  items: MaybeRefOrGetter<Record<string, unknown>[]>;
7
7
  /**
8
- * The model value for selected items
9
- */
8
+ * The model value for selected items
9
+ */
10
10
  modelValue: MaybeRefOrGetter<unknown[]>;
11
11
  /**
12
- * Function to update the model value
13
- */
12
+ * Function to update the model value
13
+ */
14
14
  updateModelValue: (value: unknown[]) => void;
15
+ /**
16
+ * Optional key to use for item selection value. If not provided, falls back to `id` then the full object.
17
+ */
18
+ selectionKey?: MaybeRefOrGetter<string | undefined>;
15
19
  }
16
20
  export declare function useTableCheckbox(options: UseTableCheckboxOptions): {
17
21
  getItemValue: (item: Record<string, unknown>) => unknown;
@@ -1,4 +1,4 @@
1
- import { a0 as i, am as o, ao as r, an as l, ap as t, aq as n, ar as p, as as b, at as d, au as m, av as A, ax as c, az as u, aw as F, ay as S, aA as g, aB as B, aC as T, aD as y, aE as L, aF as C, aG as D, aH as P, aI as M, aJ as k, aK as N, aL as f, aM as H, aN as h, aO as I, aP as R, aQ as x, aR as E, aS as V, aT as v, aU as U, aV as G, aW as w, aX as K, aY as W, aZ as q, a_ as z, a$ as _, b0 as O, b1 as X, b2 as Y, b3 as j, b4 as J, b5 as Q, b6 as Z, b7 as $, b8 as aa, b9 as ea, ba as sa, bb as ia, bc as oa, bd as ra, be as la, bf as ta, B as na, q as pa, a1 as ba, a2 as da, C as ma, ab as Aa, ac as ca, ad as ua, ae as Fa, r as Sa, a3 as ga, a4 as Ba, a5 as Ta, D as ya, v as La, af as Ca, s as Da, bv as Pa, aj as Ma, E as ka, a6 as Na, a7 as fa, w as Ha, Z as ha, $ as Ia, F as Ra, t as xa, H as Ea, b as Va, c as va, d as Ua, e as Ga, f as wa, g as Ka, l as Wa, h as qa, i as za, bq as _a, L as Oa, bS as Xa, a8 as Ya, a9 as ja, ak as Ja, bp as Qa, N as Za, al as $a, ag as ae, bu as ee, k as se, V as ie, x as oe, P as re, z as le, A as te, ah as ne, G as pe, I as be, bh as de, m as me, n as Ae, bg as ce, j as ue, ai as Fe, J as Se, K as ge, R as Be, aa as Te, M as ye, o as Le, S as Ce, W as De, X as Pe, p as Me, O as ke, a as Ne, Y as fe, T as He, Q as he, bi as Ie, bj as Re, U as xe, bT as Ee, br as Ve, bs as ve, bU as Ue, c2 as Ge, c4 as we, by as Ke, c3 as We, bV as qe, y as ze, bZ as _e, b_ as Oe, b$ as Xe, bA as Ye, bz as je, bQ as Je, c1 as Qe, bB as Ze, bP as $e, bO as as, bC as es, bD as ss, bt as is, bE as os, bJ as rs, bI as ls, bF as ts, bH as ns, bG as ps, bL as bs, bK as ds, bN as ms, bM as As, c0 as cs, bW as us, bX as Fs, bY as Ss, bR as gs, u as Bs, bk as Ts, bl as ys, bx as Ls, bn as Cs, bm as Ds, bw as Ps, bo as Ms } from "./main-DyEOPqqn.js";
1
+ import { a0 as i, am as o, ao as r, an as l, ap as t, aq as n, ar as p, as as b, at as d, au as m, av as A, ax as c, az as u, aw as F, ay as S, aA as g, aB as B, aC as T, aD as y, aE as L, aF as C, aG as D, aH as P, aI as M, aJ as k, aK as N, aL as f, aM as H, aN as h, aO as I, aP as R, aQ as x, aR as E, aS as V, aT as v, aU as U, aV as G, aW as w, aX as K, aY as W, aZ as q, a_ as z, a$ as _, b0 as O, b1 as X, b2 as Y, b3 as j, b4 as J, b5 as Q, b6 as Z, b7 as $, b8 as aa, b9 as ea, ba as sa, bb as ia, bc as oa, bd as ra, be as la, bf as ta, B as na, q as pa, a1 as ba, a2 as da, C as ma, ab as Aa, ac as ca, ad as ua, ae as Fa, r as Sa, a3 as ga, a4 as Ba, a5 as Ta, D as ya, v as La, af as Ca, s as Da, bv as Pa, aj as Ma, E as ka, a6 as Na, a7 as fa, w as Ha, Z as ha, $ as Ia, F as Ra, t as xa, H as Ea, b as Va, c as va, d as Ua, e as Ga, f as wa, g as Ka, l as Wa, h as qa, i as za, bq as _a, L as Oa, bS as Xa, a8 as Ya, a9 as ja, ak as Ja, bp as Qa, N as Za, al as $a, ag as ae, bu as ee, k as se, V as ie, x as oe, P as re, z as le, A as te, ah as ne, G as pe, I as be, bh as de, m as me, n as Ae, bg as ce, j as ue, ai as Fe, J as Se, K as ge, R as Be, aa as Te, M as ye, o as Le, S as Ce, W as De, X as Pe, p as Me, O as ke, a as Ne, Y as fe, T as He, Q as he, bi as Ie, bj as Re, U as xe, bT as Ee, br as Ve, bs as ve, bU as Ue, c2 as Ge, c4 as we, by as Ke, c3 as We, bV as qe, y as ze, bZ as _e, b_ as Oe, b$ as Xe, bA as Ye, bz as je, bQ as Je, c1 as Qe, bB as Ze, bP as $e, bO as as, bC as es, bD as ss, bt as is, bE as os, bJ as rs, bI as ls, bF as ts, bH as ns, bG as ps, bL as bs, bK as ds, bN as ms, bM as As, c0 as cs, bW as us, bX as Fs, bY as Ss, bR as gs, u as Bs, bk as Ts, bl as ys, bx as Ls, bn as Cs, bm as Ds, bw as Ps, bo as Ms } from "./main-DMXtXK3y.js";
2
2
  import "vue";
3
3
  export {
4
4
  i as Accordion,