wcz-layout 10.1.0 → 10.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AggregatedCell-C7nAQyMO.mjs.map +1 -1
- package/dist/{Approval-C-hF4jbT.mjs → Approval-DoD-GRRH.mjs} +18 -14
- package/dist/Approval-DoD-GRRH.mjs.map +1 -0
- package/dist/{Employee-DbdStvU0.d.mts → Employee-N9fRSnIl.d.mts} +30 -14
- package/dist/FileMeta-DDqUju1Y.mjs.map +1 -1
- package/dist/{LayoutTable-BkrjgpW_.d.mts → LayoutTable-DX9IaO8V.d.mts} +196 -194
- package/dist/RouterListItemButton-ULMlaQh6.mjs.map +1 -1
- package/dist/{approval-BYryxFOW.mjs → approval-DiNOXd4B.mjs} +3 -3
- package/dist/approval-DiNOXd4B.mjs.map +1 -0
- package/dist/components.d.mts +1 -1
- package/dist/components.mjs.map +1 -1
- package/dist/data/client.d.mts +183 -28
- package/dist/data/client.mjs +2 -2
- package/dist/data/client.mjs.map +1 -1
- package/dist/data/server.d.mts +1 -1
- package/dist/data/server.mjs +1 -1
- package/dist/file-C5BOj1q8.mjs.map +1 -1
- package/dist/hooks.d.mts +1 -1
- package/dist/hooks.mjs +7 -7
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/middleware.mjs.map +1 -1
- package/dist/models.d.mts +22 -2
- package/dist/models.mjs +1 -1
- package/dist/{peoplesoft-BY_75WTS.d.mts → peoplesoft-BIdTNshE.d.mts} +2 -3
- package/dist/peoplesoft-BkJMCcHb.mjs.map +1 -1
- package/dist/providers-DrairEO2.mjs.map +1 -1
- package/dist/tokens-BLRreL1j.mjs.map +1 -1
- package/dist/utils-BUpDoqme.mjs.map +1 -1
- package/package.json +130 -130
- package/skills/ai/SKILL.md +59 -0
- package/skills/client-db/SKILL.md +47 -43
- package/skills/db-schema/SKILL.md +6 -0
- package/skills/dialogs/SKILL.md +8 -6
- package/skills/forms/SKILL.md +19 -1
- package/skills/general/SKILL.md +127 -122
- package/skills/general/references/exports.md +6 -3
- package/skills/migrations/versions/migrate-v10-to-v11.md +1 -0
- package/skills/migrations/versions/migrate-v9-to-v10.md +23 -23
- package/skills/routing/SKILL.md +7 -4
- package/skills/server-functions/SKILL.md +8 -5
- package/skills/services/SKILL.md +1 -1
- package/skills/services/docs/approval.md +258 -257
- package/skills/services/docs/peoplesoft.md +114 -114
- package/skills/start/SKILL.md +3 -2
- package/skills/start/steps/02-project-name-setup.md +1 -1
- package/skills/start/steps/07-vault-setup.md +5 -4
- package/skills/table/SKILL.md +2 -1
- package/dist/Approval-C-hF4jbT.mjs.map +0 -1
- package/dist/approval-BYryxFOW.mjs.map +0 -1
- package/skills/unslop/SKILL.md +0 -80
- /package/skills/start/steps/{10-gitlab-ci.md → 09-gitlab-ci.md} +0 -0
- /package/skills/start/steps/{09-commit.md → 10-commit.md} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SxProps, TablePaginationProps, Theme, TypographyProps } from "@mui/material";
|
|
2
2
|
import { FC, ReactElement, ReactNode } from "react";
|
|
3
|
-
import { Row, RowData } from "@tanstack/react-table";
|
|
3
|
+
import { AggregationFnDef, Row, RowData, aggregationFn_extent, aggregationFn_max, aggregationFn_min } from "@tanstack/react-table";
|
|
4
4
|
//#region src/components/table/types.d.ts
|
|
5
5
|
type TableFilterVariant = "text" | "number" | "date" | "boolean" | "select" | "multi-select";
|
|
6
6
|
type TableFilterOption = {
|
|
@@ -17,24 +17,26 @@ type LayoutColumnMeta = {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/components/table/context.d.ts
|
|
20
|
+
type RangeValue = Date | number | undefined;
|
|
21
|
+
type WithResult<TFn, TResult> = TFn extends AggregationFnDef<infer TFeatures, infer TData, infer TValue, unknown> ? AggregationFnDef<TFeatures, TData, TValue, TResult> : never;
|
|
20
22
|
declare const layoutTableFeatures: {
|
|
21
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
22
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
23
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
24
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
25
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
26
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
27
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
28
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
29
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
30
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
31
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
32
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
33
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
34
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
35
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
36
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
37
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
23
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
24
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
25
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
26
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
27
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
28
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
29
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
30
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
31
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
32
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
33
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
34
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
35
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
36
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
37
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
38
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
39
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
38
40
|
columnMeta: LayoutColumnMeta;
|
|
39
41
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
40
42
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -77,38 +79,38 @@ declare const layoutTableFeatures: {
|
|
|
77
79
|
textCaseSensitive: import("@tanstack/table-core").CreatedSortFn<any, any>;
|
|
78
80
|
};
|
|
79
81
|
aggregationFns: {
|
|
80
|
-
sum:
|
|
81
|
-
min:
|
|
82
|
-
max:
|
|
83
|
-
extent:
|
|
84
|
-
mean:
|
|
85
|
-
median:
|
|
86
|
-
unique:
|
|
87
|
-
uniqueCount:
|
|
88
|
-
count:
|
|
89
|
-
first:
|
|
90
|
-
last:
|
|
82
|
+
sum: AggregationFnDef<any, any, unknown, number>;
|
|
83
|
+
min: WithResult<typeof aggregationFn_min, RangeValue>;
|
|
84
|
+
max: WithResult<typeof aggregationFn_max, RangeValue>;
|
|
85
|
+
extent: WithResult<typeof aggregationFn_extent, [RangeValue, RangeValue]>;
|
|
86
|
+
mean: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
87
|
+
median: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
88
|
+
unique: AggregationFnDef<any, any, unknown, unknown[]>;
|
|
89
|
+
uniqueCount: AggregationFnDef<any, any, unknown, number>;
|
|
90
|
+
count: AggregationFnDef<any, any, unknown, number>;
|
|
91
|
+
first: AggregationFnDef<any, any, unknown, unknown>;
|
|
92
|
+
last: AggregationFnDef<any, any, unknown, unknown>;
|
|
91
93
|
};
|
|
92
94
|
};
|
|
93
95
|
type LayoutTableFeatures = typeof layoutTableFeatures;
|
|
94
96
|
declare const tableContext: import("react").Context<import("@tanstack/react-table").ReactTable<any, any>>, cellContext: import("react").Context<import("@tanstack/table-core").Cell<any, any, any>>, headerContext: import("react").Context<import("@tanstack/table-core").Header<any, any, any>>, useTableContext: <TTableData extends import("@tanstack/table-core").RowData = import("@tanstack/table-core").RowData>() => import("@tanstack/react-table").ReactTable<{
|
|
95
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
96
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
97
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
98
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
99
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
100
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
101
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
102
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
103
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
104
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
105
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
106
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
107
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
108
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
109
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
110
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
111
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
97
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
98
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
99
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
100
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
101
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
102
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
103
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
104
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
105
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
106
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
107
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
108
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
109
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
110
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
111
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
112
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
113
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
112
114
|
columnMeta: LayoutColumnMeta;
|
|
113
115
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
114
116
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -151,36 +153,36 @@ declare const tableContext: import("react").Context<import("@tanstack/react-tabl
|
|
|
151
153
|
textCaseSensitive: import("@tanstack/table-core").CreatedSortFn<any, any>;
|
|
152
154
|
};
|
|
153
155
|
aggregationFns: {
|
|
154
|
-
sum:
|
|
155
|
-
min:
|
|
156
|
-
max:
|
|
157
|
-
extent:
|
|
158
|
-
mean:
|
|
159
|
-
median:
|
|
160
|
-
unique:
|
|
161
|
-
uniqueCount:
|
|
162
|
-
count:
|
|
163
|
-
first:
|
|
164
|
-
last:
|
|
156
|
+
sum: AggregationFnDef<any, any, unknown, number>;
|
|
157
|
+
min: WithResult<typeof aggregationFn_min, RangeValue>;
|
|
158
|
+
max: WithResult<typeof aggregationFn_max, RangeValue>;
|
|
159
|
+
extent: WithResult<typeof aggregationFn_extent, [RangeValue, RangeValue]>;
|
|
160
|
+
mean: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
161
|
+
median: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
162
|
+
unique: AggregationFnDef<any, any, unknown, unknown[]>;
|
|
163
|
+
uniqueCount: AggregationFnDef<any, any, unknown, number>;
|
|
164
|
+
count: AggregationFnDef<any, any, unknown, number>;
|
|
165
|
+
first: AggregationFnDef<any, any, unknown, unknown>;
|
|
166
|
+
last: AggregationFnDef<any, any, unknown, unknown>;
|
|
165
167
|
};
|
|
166
168
|
}, TTableData>, useCellContext: <TValue extends import("@tanstack/table-core").CellData = unknown>() => import("@tanstack/table-core").Cell<{
|
|
167
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
168
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
169
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
170
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
171
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
172
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
173
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
174
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
175
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
176
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
177
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
178
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
179
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
180
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
181
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
182
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
183
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
169
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
170
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
171
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
172
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
173
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
174
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
175
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
176
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
177
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
178
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
179
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
180
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
181
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
182
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
183
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
184
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
185
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
184
186
|
columnMeta: LayoutColumnMeta;
|
|
185
187
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
186
188
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -223,36 +225,36 @@ declare const tableContext: import("react").Context<import("@tanstack/react-tabl
|
|
|
223
225
|
textCaseSensitive: import("@tanstack/table-core").CreatedSortFn<any, any>;
|
|
224
226
|
};
|
|
225
227
|
aggregationFns: {
|
|
226
|
-
sum:
|
|
227
|
-
min:
|
|
228
|
-
max:
|
|
229
|
-
extent:
|
|
230
|
-
mean:
|
|
231
|
-
median:
|
|
232
|
-
unique:
|
|
233
|
-
uniqueCount:
|
|
234
|
-
count:
|
|
235
|
-
first:
|
|
236
|
-
last:
|
|
228
|
+
sum: AggregationFnDef<any, any, unknown, number>;
|
|
229
|
+
min: WithResult<typeof aggregationFn_min, RangeValue>;
|
|
230
|
+
max: WithResult<typeof aggregationFn_max, RangeValue>;
|
|
231
|
+
extent: WithResult<typeof aggregationFn_extent, [RangeValue, RangeValue]>;
|
|
232
|
+
mean: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
233
|
+
median: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
234
|
+
unique: AggregationFnDef<any, any, unknown, unknown[]>;
|
|
235
|
+
uniqueCount: AggregationFnDef<any, any, unknown, number>;
|
|
236
|
+
count: AggregationFnDef<any, any, unknown, number>;
|
|
237
|
+
first: AggregationFnDef<any, any, unknown, unknown>;
|
|
238
|
+
last: AggregationFnDef<any, any, unknown, unknown>;
|
|
237
239
|
};
|
|
238
240
|
}, any, TValue>, useHeaderContext: <TValue extends import("@tanstack/table-core").CellData = unknown>() => import("@tanstack/table-core").Header<{
|
|
239
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
240
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
241
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
242
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
243
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
244
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
245
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
246
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
247
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
248
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
249
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
250
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
251
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
252
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
253
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
254
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
255
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
241
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
242
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
243
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
244
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
245
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
246
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
247
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
248
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
249
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
250
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
251
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
252
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
253
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
254
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
255
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
256
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
257
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
256
258
|
columnMeta: LayoutColumnMeta;
|
|
257
259
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
258
260
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -295,17 +297,17 @@ declare const tableContext: import("react").Context<import("@tanstack/react-tabl
|
|
|
295
297
|
textCaseSensitive: import("@tanstack/table-core").CreatedSortFn<any, any>;
|
|
296
298
|
};
|
|
297
299
|
aggregationFns: {
|
|
298
|
-
sum:
|
|
299
|
-
min:
|
|
300
|
-
max:
|
|
301
|
-
extent:
|
|
302
|
-
mean:
|
|
303
|
-
median:
|
|
304
|
-
unique:
|
|
305
|
-
uniqueCount:
|
|
306
|
-
count:
|
|
307
|
-
first:
|
|
308
|
-
last:
|
|
300
|
+
sum: AggregationFnDef<any, any, unknown, number>;
|
|
301
|
+
min: WithResult<typeof aggregationFn_min, RangeValue>;
|
|
302
|
+
max: WithResult<typeof aggregationFn_max, RangeValue>;
|
|
303
|
+
extent: WithResult<typeof aggregationFn_extent, [RangeValue, RangeValue]>;
|
|
304
|
+
mean: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
305
|
+
median: AggregationFnDef<any, any, unknown, number | undefined>;
|
|
306
|
+
unique: AggregationFnDef<any, any, unknown, unknown[]>;
|
|
307
|
+
uniqueCount: AggregationFnDef<any, any, unknown, number>;
|
|
308
|
+
count: AggregationFnDef<any, any, unknown, number>;
|
|
309
|
+
first: AggregationFnDef<any, any, unknown, unknown>;
|
|
310
|
+
last: AggregationFnDef<any, any, unknown, unknown>;
|
|
309
311
|
};
|
|
310
312
|
}, any, TValue>;
|
|
311
313
|
//#endregion
|
|
@@ -346,23 +348,23 @@ declare const AggregatedCell: FC<TypographyProps & {
|
|
|
346
348
|
//#endregion
|
|
347
349
|
//#region src/hooks/useLayoutTable.d.ts
|
|
348
350
|
declare const appFeatures: {
|
|
349
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
350
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
351
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
352
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
353
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
354
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
355
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
356
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
357
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
358
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
359
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
360
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
361
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
362
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
363
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
364
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
365
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
351
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
352
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
353
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
354
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
355
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
356
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
357
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
358
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
359
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
360
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
361
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
362
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
363
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
364
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
365
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
366
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
367
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
366
368
|
columnMeta: LayoutColumnMeta;
|
|
367
369
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
368
370
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -406,9 +408,9 @@ declare const appFeatures: {
|
|
|
406
408
|
};
|
|
407
409
|
aggregationFns: {
|
|
408
410
|
sum: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number>;
|
|
409
|
-
min:
|
|
410
|
-
max:
|
|
411
|
-
extent:
|
|
411
|
+
min: never;
|
|
412
|
+
max: never;
|
|
413
|
+
extent: never;
|
|
412
414
|
mean: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
413
415
|
median: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
414
416
|
unique: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, unknown[]>;
|
|
@@ -418,23 +420,23 @@ declare const appFeatures: {
|
|
|
418
420
|
last: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, unknown>;
|
|
419
421
|
};
|
|
420
422
|
}, createLayoutColumnHelper: <TData extends import("@tanstack/table-core").RowData>() => import("@tanstack/react-table").AppColumnHelper<{
|
|
421
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
422
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
423
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
424
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
425
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
426
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
427
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
428
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
429
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
430
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
431
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
432
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
433
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
434
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
435
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
436
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
437
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
423
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
424
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
425
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
426
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
427
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
428
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
429
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
430
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
431
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
432
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
433
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
434
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
435
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
436
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
437
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
438
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
439
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
438
440
|
columnMeta: LayoutColumnMeta;
|
|
439
441
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
440
442
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -478,9 +480,9 @@ declare const appFeatures: {
|
|
|
478
480
|
};
|
|
479
481
|
aggregationFns: {
|
|
480
482
|
sum: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number>;
|
|
481
|
-
min:
|
|
482
|
-
max:
|
|
483
|
-
extent:
|
|
483
|
+
min: never;
|
|
484
|
+
max: never;
|
|
485
|
+
extent: never;
|
|
484
486
|
mean: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
485
487
|
median: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
486
488
|
unique: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, unknown[]>;
|
|
@@ -536,23 +538,23 @@ declare const appFeatures: {
|
|
|
536
538
|
scope?: "page" | "all";
|
|
537
539
|
}>;
|
|
538
540
|
}>, useLayoutTable: <TData extends import("@tanstack/table-core").RowData, TSelected = import("@tanstack/table-core").TableState_CellSelection & import("@tanstack/table-core").TableState_ColumnFiltering & import("@tanstack/table-core").TableState_ColumnGrouping & import("@tanstack/table-core").TableState_ColumnOrdering & import("@tanstack/table-core").TableState_ColumnPinning & import("@tanstack/table-core").TableState_ColumnResizing & import("@tanstack/table-core").TableState_ColumnSizing & import("@tanstack/table-core").TableState_ColumnVisibility & import("@tanstack/table-core").TableState_GlobalFiltering & import("@tanstack/table-core").TableState_RowExpanding & import("@tanstack/table-core").TableState_RowPagination & import("@tanstack/table-core").TableState_RowPinning & import("@tanstack/table-core").TableState_RowSelection & import("@tanstack/table-core").TableState_RowSorting>(tableOptions: Omit<import("@tanstack/table-core").TableOptions<{
|
|
539
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
540
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
541
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
542
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
543
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
544
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
545
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
546
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
547
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
548
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
549
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
550
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
551
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
552
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
553
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
554
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
555
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
541
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
542
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
543
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
544
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
545
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
546
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
547
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
548
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
549
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
550
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
551
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
552
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
553
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
554
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
555
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
556
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
557
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
556
558
|
columnMeta: LayoutColumnMeta;
|
|
557
559
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
558
560
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -596,9 +598,9 @@ declare const appFeatures: {
|
|
|
596
598
|
};
|
|
597
599
|
aggregationFns: {
|
|
598
600
|
sum: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number>;
|
|
599
|
-
min:
|
|
600
|
-
max:
|
|
601
|
-
extent:
|
|
601
|
+
min: never;
|
|
602
|
+
max: never;
|
|
603
|
+
extent: never;
|
|
602
604
|
mean: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
603
605
|
median: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
604
606
|
unique: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, unknown[]>;
|
|
@@ -608,23 +610,23 @@ declare const appFeatures: {
|
|
|
608
610
|
last: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, unknown>;
|
|
609
611
|
};
|
|
610
612
|
}, TData>, "features">, selector?: ((state: import("@tanstack/table-core").TableState_CellSelection & import("@tanstack/table-core").TableState_ColumnFiltering & import("@tanstack/table-core").TableState_ColumnGrouping & import("@tanstack/table-core").TableState_ColumnOrdering & import("@tanstack/table-core").TableState_ColumnPinning & import("@tanstack/table-core").TableState_ColumnResizing & import("@tanstack/table-core").TableState_ColumnSizing & import("@tanstack/table-core").TableState_ColumnVisibility & import("@tanstack/table-core").TableState_GlobalFiltering & import("@tanstack/table-core").TableState_RowExpanding & import("@tanstack/table-core").TableState_RowPagination & import("@tanstack/table-core").TableState_RowPinning & import("@tanstack/table-core").TableState_RowSelection & import("@tanstack/table-core").TableState_RowSorting) => TSelected) | undefined) => import("@tanstack/react-table").AppReactTable<{
|
|
611
|
-
cellSelectionFeature: import("@tanstack/table-core").
|
|
612
|
-
cellSpanningFeature: import("@tanstack/table-core").
|
|
613
|
-
columnFacetingFeature: import("@tanstack/table-core").
|
|
614
|
-
columnFilteringFeature: import("@tanstack/table-core").
|
|
615
|
-
columnGroupingFeature: import("@tanstack/table-core").
|
|
616
|
-
columnOrderingFeature: import("@tanstack/table-core").
|
|
617
|
-
columnPinningFeature: import("@tanstack/table-core").
|
|
618
|
-
columnResizingFeature: import("@tanstack/table-core").
|
|
619
|
-
columnSizingFeature: import("@tanstack/table-core").
|
|
620
|
-
columnVisibilityFeature: import("@tanstack/table-core").
|
|
621
|
-
globalFilteringFeature: import("@tanstack/table-core").
|
|
622
|
-
rowAggregationFeature: import("@tanstack/table-core").
|
|
623
|
-
rowExpandingFeature: import("@tanstack/table-core").
|
|
624
|
-
rowPaginationFeature: import("@tanstack/table-core").
|
|
625
|
-
rowPinningFeature: import("@tanstack/table-core").
|
|
626
|
-
rowSelectionFeature: import("@tanstack/table-core").
|
|
627
|
-
rowSortingFeature: import("@tanstack/table-core").
|
|
613
|
+
cellSelectionFeature: typeof import("@tanstack/table-core").cellSelectionFeature;
|
|
614
|
+
cellSpanningFeature: typeof import("@tanstack/table-core").cellSpanningFeature;
|
|
615
|
+
columnFacetingFeature: typeof import("@tanstack/table-core").columnFacetingFeature;
|
|
616
|
+
columnFilteringFeature: typeof import("@tanstack/table-core").columnFilteringFeature;
|
|
617
|
+
columnGroupingFeature: typeof import("@tanstack/table-core").columnGroupingFeature;
|
|
618
|
+
columnOrderingFeature: typeof import("@tanstack/table-core").columnOrderingFeature;
|
|
619
|
+
columnPinningFeature: typeof import("@tanstack/table-core").columnPinningFeature;
|
|
620
|
+
columnResizingFeature: typeof import("@tanstack/table-core").columnResizingFeature;
|
|
621
|
+
columnSizingFeature: typeof import("@tanstack/table-core").columnSizingFeature;
|
|
622
|
+
columnVisibilityFeature: typeof import("@tanstack/table-core").columnVisibilityFeature;
|
|
623
|
+
globalFilteringFeature: typeof import("@tanstack/table-core").globalFilteringFeature;
|
|
624
|
+
rowAggregationFeature: typeof import("@tanstack/table-core").rowAggregationFeature;
|
|
625
|
+
rowExpandingFeature: typeof import("@tanstack/table-core").rowExpandingFeature;
|
|
626
|
+
rowPaginationFeature: typeof import("@tanstack/table-core").rowPaginationFeature;
|
|
627
|
+
rowPinningFeature: typeof import("@tanstack/table-core").rowPinningFeature;
|
|
628
|
+
rowSelectionFeature: typeof import("@tanstack/table-core").rowSelectionFeature;
|
|
629
|
+
rowSortingFeature: typeof import("@tanstack/table-core").rowSortingFeature;
|
|
628
630
|
columnMeta: LayoutColumnMeta;
|
|
629
631
|
filteredRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
630
632
|
sortedRowModel: (table: import("@tanstack/table-core").Table<any, any>) => () => import("@tanstack/table-core").RowModel<any, any>;
|
|
@@ -668,9 +670,9 @@ declare const appFeatures: {
|
|
|
668
670
|
};
|
|
669
671
|
aggregationFns: {
|
|
670
672
|
sum: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number>;
|
|
671
|
-
min:
|
|
672
|
-
max:
|
|
673
|
-
extent:
|
|
673
|
+
min: never;
|
|
674
|
+
max: never;
|
|
675
|
+
extent: never;
|
|
674
676
|
mean: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
675
677
|
median: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, number | undefined>;
|
|
676
678
|
unique: import("@tanstack/table-core").AggregationFnDef<any, any, unknown, unknown[]>;
|
|
@@ -755,4 +757,4 @@ type LayoutTableProps<TData extends RowData> = TableToolbarProps & {
|
|
|
755
757
|
declare function LayoutTable<TData extends RowData>({ table, loading, pagination, pageSizeOptions, showToolbar, disableColumnMenu, onRowClick, onRowDoubleClick, sx, ...toolbar }: LayoutTableProps<TData>): import("react").JSX.Element;
|
|
756
758
|
//#endregion
|
|
757
759
|
export { AggregatedCell as a, layoutTableFeatures as c, useTableContext as d, FilterOperator as f, TableFilterVariant as h, useLayoutTable as i, useCellContext as l, TableFilterOption as m, LayoutTableProps as n, RowAction as o, LayoutColumnMeta as p, createLayoutColumnHelper as r, LayoutTableFeatures as s, LayoutTable as t, useHeaderContext as u };
|
|
758
|
-
//# sourceMappingURL=LayoutTable-
|
|
760
|
+
//# sourceMappingURL=LayoutTable-DX9IaO8V.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouterListItemButton-ULMlaQh6.mjs","names":["IconButton","createLink","React","IconButtonProps","LinkComponent","Component","forwardRef","HTMLAnchorElement","IconButtonComponent","props","reference","$","_c","$i","Symbol","for","t0","CreatedComponent","RouterIconButton","ListItemButton","createLink","React","ListItemButtonProps","LinkComponent","Component","forwardRef","HTMLAnchorElement","ButtonComponent","props","reference","$","_c","$i","Symbol","for","t0","CreatedComponent","RouterListItemButton"],"sources":["../src/components/router/RouterIconButton.tsx","../src/components/router/RouterListItemButton.tsx"],"sourcesContent":["import { IconButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { IconButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, IconButtonProps<\"a\">>(\n function IconButtonComponent(props, reference) {\n return <IconButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterIconButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n","import { ListItemButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { ListItemButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, ListItemButtonProps<\"a\">>(\n function ButtonComponent(props, reference) {\n return <ListItemButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterListItemButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n"],"mappings":";;;;;;AAMA,MAAMK,cAAYH,MAAMI,WACtB,SAAAE,oBAAAC,OAAAC,WAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAA,IAAAD,EAAA,OAAA,oEAAA;EAAA,KAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,GAAAF,EAAAE,MAAAC,OAAAC,IAAA,2BAAA;EAAAJ,EAAA,KAAA;CAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAF,SAAAE,EAAA,OAAAD,WAAA;EACSM,KAAA,oBAAC,YAAD;GAAiBN,KAAAA;GAAqB,WAAA;GAAG,GAAKD;EAAK,CAAA;EAAIE,EAAA,KAAAF;EAAAE,EAAA,KAAAD;EAAAC,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,OAAvDK;AAAuD,CAElE;AAEA,MAAMC,qBAAmBhB,WAAWI,WAAS;AAE7C,MAAaa,oBAAoDT,UAAA;CAAA,MAAAE,IAAAC,EAAA,CAAA;CAAA,IAAAD,EAAA,OAAA,oEAAA;EAAA,KAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,GAAAF,EAAAE,MAAAC,OAAAC,IAAA,2BAAA;EAAAJ,EAAA,KAAA;CAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAF,OAAA;EACxDO,KAAA,
|
|
1
|
+
{"version":3,"file":"RouterListItemButton-ULMlaQh6.mjs","names":["IconButton","createLink","React","IconButtonProps","LinkComponent","Component","forwardRef","HTMLAnchorElement","IconButtonComponent","props","reference","$","_c","$i","Symbol","for","t0","CreatedComponent","RouterIconButton","Component","_c","CreatedComponent","ListItemButton","createLink","React","ListItemButtonProps","LinkComponent","Component","forwardRef","HTMLAnchorElement","ButtonComponent","props","reference","$","_c","$i","Symbol","for","t0","CreatedComponent","RouterListItemButton","_c"],"sources":["../src/components/router/RouterIconButton.tsx","../src/components/router/RouterListItemButton.tsx"],"sourcesContent":["import { IconButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { IconButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, IconButtonProps<\"a\">>(\n function IconButtonComponent(props, reference) {\n return <IconButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterIconButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n","import { ListItemButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { ListItemButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, ListItemButtonProps<\"a\">>(\n function ButtonComponent(props, reference) {\n return <ListItemButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterListItemButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n"],"mappings":";;;;;;AAMA,MAAMK,cAAYH,MAAMI,WACtB,SAAAE,oBAAAC,OAAAC,WAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAA,IAAAD,EAAA,OAAA,oEAAA;EAAA,KAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,GAAAF,EAAAE,MAAAC,OAAAC,IAAA,2BAAA;EAAAJ,EAAA,KAAA;CAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAF,SAAAE,EAAA,OAAAD,WAAA;EACSM,KAAA,oBAAC,YAAD;GAAiBN,KAAAA;GAAqB,WAAA;GAAG,GAAKD;EAAK,CAAA;EAAIE,EAAA,KAAAF;EAAAE,EAAA,KAAAD;EAAAC,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,OAAvDK;AAAuD,CAElE;AAEA,MAAMC,qBAAmBhB,WAAWI,WAAS;AAE7C,MAAaa,oBAAoDT,UAAA;CAAA,MAAAE,IAAAC,EAAA,CAAA;CAAA,IAAAD,EAAA,OAAA,oEAAA;EAAA,KAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,GAAAF,EAAAE,MAAAC,OAAAC,IAAA,2BAAA;EAAAJ,EAAA,KAAA;CAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAF,OAAA;EACxDO,KAAA,oBAACK,oBAAD,EAAiB,GAAKZ,MAAK,CAAA;EAAIE,EAAA,KAAAF;EAAAE,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,OAA/BK;AAA+B;;;ACTxC,MAAMW,YAAYH,MAAMI,WACtB,SAAAE,gBAAAC,OAAAC,WAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAA,IAAAD,EAAA,OAAA,oEAAA;EAAA,KAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,GAAAF,EAAAE,MAAAC,OAAAC,IAAA,2BAAA;EAAAJ,EAAA,KAAA;CAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAF,SAAAE,EAAA,OAAAD,WAAA;EACSM,KAAA,oBAAC,gBAAD;GAAqBN,KAAAA;GAAqB,WAAA;GAAG,GAAKD;EAAK,CAAA;EAAIE,EAAA,KAAAF;EAAAE,EAAA,KAAAD;EAAAC,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,OAA3DK;AAA2D,CAEtE;AAEA,MAAMC,mBAAmBhB,WAAWI,SAAS;AAE7C,MAAaa,wBAAwDT,UAAA;CAAA,MAAAE,IAAAC,EAAA,CAAA;CAAA,IAAAD,EAAA,OAAA,oEAAA;EAAA,KAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,GAAAF,EAAAE,MAAAC,OAAAC,IAAA,2BAAA;EAAAJ,EAAA,KAAA;CAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAF,OAAA;EAC5DO,KAAA,oBAAC,kBAAD,EAAiB,GAAKP,MAAK,CAAA;EAAIE,EAAA,KAAAF;EAAAE,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,OAA/BK;AAA+B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createApi } from "./createApi-DGJJ4I_R.mjs";
|
|
2
|
-
import { a as ResubmitApprovalSchema, c as ApprovalStatus, i as CreateApprovalSchema, n as ApproveApprovalSchema, o as WithdrawApprovalSchema, r as CancelApprovalSchema, u as ApprovalStepResult } from "./Approval-
|
|
2
|
+
import { a as ResubmitApprovalSchema, c as ApprovalStatus, i as CreateApprovalSchema, n as ApproveApprovalSchema, o as WithdrawApprovalSchema, r as CancelApprovalSchema, u as ApprovalStepResult } from "./Approval-DoD-GRRH.mjs";
|
|
3
3
|
import { z as z$1 } from "zod";
|
|
4
4
|
import { createServerOnlyFn } from "@tanstack/react-start";
|
|
5
5
|
//#region src/data/server/approval.ts
|
|
@@ -22,7 +22,7 @@ const getApprovals = createServerOnlyFn(async ({ data }) => {
|
|
|
22
22
|
if (input.approverEmployeeId) queryParams.append("approverEmployeeId", input.approverEmployeeId);
|
|
23
23
|
if (input.stepResult) queryParams.append("stepResult", input.stepResult.toString());
|
|
24
24
|
const { data: approvals } = await (await approvalApi()).request({
|
|
25
|
-
url: `/Requests
|
|
25
|
+
url: `/Requests?${queryParams.toString()}`,
|
|
26
26
|
method: "GET"
|
|
27
27
|
});
|
|
28
28
|
return approvals;
|
|
@@ -81,4 +81,4 @@ const cancelApproval = createServerOnlyFn(async ({ data }) => {
|
|
|
81
81
|
//#endregion
|
|
82
82
|
export { createApproval as a, resubmitApproval as c, cancelApproval as i, withdrawApproval as l, GetApprovalsSchema as n, getApproval as o, approveApproval as r, getApprovals as s, GetApprovalSchema as t };
|
|
83
83
|
|
|
84
|
-
//# sourceMappingURL=approval-
|
|
84
|
+
//# sourceMappingURL=approval-DiNOXd4B.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-DiNOXd4B.mjs","names":["createServerOnlyFn","z","createApi","ApproveApprovalSchema","CancelApprovalSchema","CreateApprovalSchema","ResubmitApprovalSchema","WithdrawApprovalSchema","Approval","ApprovalStatus","ApprovalStepResult","GetApprovalsSchema","object","appName","string","min","max","status","optional","approverEmployeeId","stepResult","GetApprovalSchema","id","uuid","approvalApi","baseURL","scopeKey","getApprovals","data","input","Promise","Array","parse","queryParams","URLSearchParams","append","toString","api","approvals","request","url","method","getApproval","approval","createApproval","approveApproval","resubmitApproval","withdrawApproval","cancelApproval","z"],"sources":["../src/data/server/approval.ts"],"sourcesContent":["import { createServerOnlyFn } from \"@tanstack/react-start\";\nimport { z } from \"zod\";\nimport { createApi } from \"~/lib/createApi\";\nimport {\n ApproveApprovalSchema,\n CancelApprovalSchema,\n CreateApprovalSchema,\n ResubmitApprovalSchema,\n WithdrawApprovalSchema,\n} from \"~/models/approval/Approval\";\nimport type { Approval } from \"~/models/approval/Approval\";\nimport { ApprovalStatus } from \"~/models/approval/ApprovalStatus\";\nimport { ApprovalStepResult } from \"~/models/approval/ApprovalStepResult\";\n\nexport const GetApprovalsSchema = z.object({\n appName: z.string().min(1).max(255),\n status: ApprovalStatus.optional(),\n approverEmployeeId: z.string().min(1).max(20).optional(),\n stepResult: ApprovalStepResult.optional(),\n});\n\nexport const GetApprovalSchema = z.object({\n id: z.uuid(),\n});\n\nconst approvalApi = () => createApi({ baseURL: \"APPROVAL_BASE_URL\", scopeKey: \"approval\" });\n\nexport const getApprovals = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof GetApprovalsSchema> }): Promise<Array<Approval>> => {\n const input = GetApprovalsSchema.parse(data);\n const queryParams = new URLSearchParams();\n queryParams.append(\"applicationName\", input.appName);\n if (input.status) queryParams.append(\"status\", input.status.toString());\n if (input.approverEmployeeId)\n queryParams.append(\"approverEmployeeId\", input.approverEmployeeId);\n if (input.stepResult) queryParams.append(\"stepResult\", input.stepResult.toString());\n\n const api = await approvalApi();\n const { data: approvals } = await api.request<Array<Approval>>({\n url: `/Requests?${queryParams.toString()}`,\n method: \"GET\",\n });\n return approvals;\n },\n);\n\nexport const getApproval = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof GetApprovalSchema> }): Promise<Approval> => {\n const input = GetApprovalSchema.parse(data);\n const api = await approvalApi();\n const { data: approval } = await api.request<Approval>({\n url: `/Requests/${input.id}`,\n method: \"GET\",\n });\n return approval;\n },\n);\n\nexport const createApproval = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof CreateApprovalSchema> }): Promise<Approval> => {\n const input = CreateApprovalSchema.parse(data);\n const api = await approvalApi();\n const { data: approval } = await api.request<Approval>({\n url: `/Requests`,\n method: \"POST\",\n data: input,\n });\n return approval;\n },\n);\n\nexport const approveApproval = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof ApproveApprovalSchema> }): Promise<Approval> => {\n const input = ApproveApprovalSchema.parse(data);\n const api = await approvalApi();\n const { data: approval } = await api.request<Approval>({\n url: `/Requests/${input.id}/single-approval`,\n method: \"POST\",\n data: input,\n });\n return approval;\n },\n);\n\nexport const resubmitApproval = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof ResubmitApprovalSchema> }): Promise<Approval> => {\n const input = ResubmitApprovalSchema.parse(data);\n const api = await approvalApi();\n const { data: approval } = await api.request<Approval>({\n url: `/Requests/${input.id}/resubmit`,\n method: \"POST\",\n data: input,\n });\n return approval;\n },\n);\n\nexport const withdrawApproval = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof WithdrawApprovalSchema> }): Promise<void> => {\n const input = WithdrawApprovalSchema.parse(data);\n const api = await approvalApi();\n await api.request<void>({\n url: `/Requests/${input.id}/withdraw`,\n method: \"POST\",\n data: input,\n });\n },\n);\n\nexport const cancelApproval = createServerOnlyFn(\n async ({ data }: { data: z.input<typeof CancelApprovalSchema> }): Promise<void> => {\n const input = CancelApprovalSchema.parse(data);\n const api = await approvalApi();\n await api.request<void>({\n url: `/Requests/${input.id}/cancel`,\n method: \"POST\",\n data: input,\n });\n },\n);\n"],"mappings":";;;;;AAcA,MAAaW,qBAAqBV,IAAEW,OAAO;CACzCC,SAASZ,IAAEa,OAAO,CAAC,CAACC,IAAI,CAAC,CAAC,CAACC,IAAI,GAAG;CAClCC,QAAQR,eAAeS,SAAS;CAChCC,oBAAoBlB,IAAEa,OAAO,CAAC,CAACC,IAAI,CAAC,CAAC,CAACC,IAAI,EAAE,CAAC,CAACE,SAAS;CACvDE,YAAYV,mBAAmBQ,SAAS;AAC1C,CAAC;AAED,MAAaG,oBAAoBpB,IAAEW,OAAO,EACxCU,IAAIrB,IAAEsB,KAAK,EACb,CAAC;AAED,MAAMC,oBAAoBtB,UAAU;CAAEuB,SAAS;CAAqBC,UAAU;AAAW,CAAC;AAE1F,MAAaC,eAAe3B,mBAC1B,OAAO,EAAE4B,WAAmF;CAC1F,MAAMC,QAAQlB,mBAAmBqB,MAAMJ,IAAI;CAC3C,MAAMK,cAAc,IAAIC,gBAAgB;CACxCD,YAAYE,OAAO,mBAAmBN,MAAMhB,OAAO;CACnD,IAAIgB,MAAMZ,QAAQgB,YAAYE,OAAO,UAAUN,MAAMZ,OAAOmB,SAAS,CAAC;CACtE,IAAIP,MAAMV,oBACRc,YAAYE,OAAO,sBAAsBN,MAAMV,kBAAkB;CACnE,IAAIU,MAAMT,YAAYa,YAAYE,OAAO,cAAcN,MAAMT,WAAWgB,SAAS,CAAC;CAGlF,MAAM,EAAER,MAAMU,cAAc,OAAMD,MADhBb,YAAY,EAAA,CACQe,QAAyB;EAC7DC,KAAK,aAAaP,YAAYG,SAAS;EACvCK,QAAQ;CACV,CAAC;CACD,OAAOH;AACT,CACF;AAEA,MAAaI,cAAc1C,mBACzB,OAAO,EAAE4B,WAA2E;CAClF,MAAMC,QAAQR,kBAAkBW,MAAMJ,IAAI;CAE1C,MAAM,EAAEA,MAAMe,aAAa,OAAMN,MADfb,YAAY,EAAA,CACOe,QAAkB;EACrDC,KAAK,aAAaX,MAAMP;EACxBmB,QAAQ;CACV,CAAC;CACD,OAAOE;AACT,CACF;AAEA,MAAaC,iBAAiB5C,mBAC5B,OAAO,EAAE4B,WAA8E;CACrF,MAAMC,QAAQxB,qBAAqB2B,MAAMJ,IAAI;CAE7C,MAAM,EAAEA,MAAMe,aAAa,OAAMN,MADfb,YAAY,EAAA,CACOe,QAAkB;EACrDC,KAAK;EACLC,QAAQ;EACRb,MAAMC;CACR,CAAC;CACD,OAAOc;AACT,CACF;AAEA,MAAaE,kBAAkB7C,mBAC7B,OAAO,EAAE4B,WAA+E;CACtF,MAAMC,QAAQ1B,sBAAsB6B,MAAMJ,IAAI;CAE9C,MAAM,EAAEA,MAAMe,aAAa,OAAMN,MADfb,YAAY,EAAA,CACOe,QAAkB;EACrDC,KAAK,aAAaX,MAAMP,GAAE;EAC1BmB,QAAQ;EACRb,MAAMC;CACR,CAAC;CACD,OAAOc;AACT,CACF;AAEA,MAAaG,mBAAmB9C,mBAC9B,OAAO,EAAE4B,WAAgF;CACvF,MAAMC,QAAQvB,uBAAuB0B,MAAMJ,IAAI;CAE/C,MAAM,EAAEA,MAAMe,aAAa,OAAMN,MADfb,YAAY,EAAA,CACOe,QAAkB;EACrDC,KAAK,aAAaX,MAAMP,GAAE;EAC1BmB,QAAQ;EACRb,MAAMC;CACR,CAAC;CACD,OAAOc;AACT,CACF;AAEA,MAAaI,mBAAmB/C,mBAC9B,OAAO,EAAE4B,WAA4E;CACnF,MAAMC,QAAQtB,uBAAuByB,MAAMJ,IAAI;CAE/C,OAAMS,MADYb,YAAY,EAAA,CACpBe,QAAc;EACtBC,KAAK,aAAaX,MAAMP,GAAE;EAC1BmB,QAAQ;EACRb,MAAMC;CACR,CAAC;AACH,CACF;AAEA,MAAamB,iBAAiBhD,mBAC5B,OAAO,EAAE4B,WAA0E;CACjF,MAAMC,QAAQzB,qBAAqB4B,MAAMJ,IAAI;CAE7C,OAAMS,MADYb,YAAY,EAAA,CACpBe,QAAc;EACtBC,KAAK,aAAaX,MAAMP,GAAE;EAC1BmB,QAAQ;EACRb,MAAMC;CACR,CAAC;AACH,CACF"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FileMeta } from "./FileMeta-Be9viU7D.mjs";
|
|
2
|
-
import { a as AggregatedCell, f as FilterOperator, h as TableFilterVariant, m as TableFilterOption, n as LayoutTableProps, o as RowAction, p as LayoutColumnMeta, t as LayoutTable } from "./LayoutTable-
|
|
2
|
+
import { a as AggregatedCell, f as FilterOperator, h as TableFilterVariant, m as TableFilterOption, n as LayoutTableProps, o as RowAction, p as LayoutColumnMeta, t as LayoutTable } from "./LayoutTable-DX9IaO8V.mjs";
|
|
3
3
|
import { BoxProps, ButtonProps, FabProps, IconButtonProps, LinkProps, ListItemButtonProps, SxProps, TabProps, Theme } from "@mui/material";
|
|
4
4
|
import React$1, { ComponentType, FC, ReactNode } from "react";
|
|
5
5
|
import * as z$2 from "zod";
|