@payfit/unity-components 3.9.7 → 3.9.9
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/esm/ai-kit.js +25 -19
- package/dist/esm/core/components/card/Card.d.ts +30 -0
- package/dist/esm/core/components/card/Card.js +27 -21
- package/dist/esm/core/components/card/parts/CardTitle.d.ts +1 -4
- package/dist/esm/core/components/card/parts/CardTitle.js +15 -14
- package/dist/esm/core/components/definition-list/DefinitionList.context.d.ts +5 -1
- package/dist/esm/core/components/definition-list/DefinitionList.context.js +6 -2
- package/dist/esm/core/components/definition-list/DefinitionList.d.ts +12 -2
- package/dist/esm/core/components/definition-list/DefinitionList.js +34 -16
- package/dist/esm/core/components/definition-list/parts/DefinitionItem.js +50 -15
- package/dist/esm/core/components/definition-list/parts/DefinitionListGroup.d.ts +15 -0
- package/dist/esm/core/components/definition-list/parts/DefinitionListGroup.js +41 -0
- package/dist/esm/core/index.d.ts +1 -0
- package/dist/esm/core/index.js +139 -138
- package/dist/esm/index.js +152 -151
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.context.d.ts +7 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.context.js +10 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.d.ts +30 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.js +35 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.variants.d.ts +55 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.variants.js +31 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardActions.d.ts +7 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardActions.js +18 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardContent.d.ts +9 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardContent.js +19 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardHeader.d.ts +12 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardHeader.js +44 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardSubtitle.d.ts +7 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardSubtitle.js +16 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardTitle.d.ts +7 -0
- package/dist/esm/modules/ai-kit/components/proposal-card/parts/ProposalCardTitle.js +23 -0
- package/dist/esm/modules/ai-kit/index.d.ts +6 -0
- package/package.json +7 -7
- package/src/agent-references/component-catalog.json +24 -0
package/dist/esm/index.js
CHANGED
|
@@ -80,154 +80,155 @@ import { DateRangeCalendar as Xe } from "./core/components/date-range-calendar/D
|
|
|
80
80
|
import { DateRangePicker as Ze } from "./core/components/date-range-picker/DateRangePicker.js";
|
|
81
81
|
import { DefinitionList as Qe } from "./core/components/definition-list/DefinitionList.js";
|
|
82
82
|
import { DefinitionItem as $e } from "./core/components/definition-list/parts/DefinitionItem.js";
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
|
|
83
|
+
import { DefinitionListGroup as et } from "./core/components/definition-list/parts/DefinitionListGroup.js";
|
|
84
|
+
import { DefinitionTooltip as tt } from "./core/components/definition-tooltip/DefinitionTooltip.js";
|
|
85
|
+
import { DialogButton as nt } from "./core/components/dialog/parts/DialogActions/DialogButton.js";
|
|
86
|
+
import { Dialog as rt, DialogTrigger as it, dialog as at } from "./core/components/dialog/Dialog.js";
|
|
87
|
+
import { DialogActions as ot } from "./core/components/dialog/parts/DialogActions.js";
|
|
88
|
+
import { DialogContent as st } from "./core/components/dialog/parts/DialogContent.js";
|
|
89
|
+
import { DialogTitle as ct } from "./core/components/dialog/parts/DialogTitle.js";
|
|
90
|
+
import { PromoDialogActions as lt } from "./core/components/promo-dialog/parts/PromoDialogActions.js";
|
|
91
|
+
import { PromoDialogHero as ut } from "./core/components/promo-dialog/parts/PromoDialogHero.js";
|
|
92
|
+
import { PromoDialogTitle as dt } from "./core/components/promo-dialog/parts/PromoDialogTitle.js";
|
|
93
|
+
import { PromoDialog as ft, promoDialog as pt } from "./core/components/promo-dialog/PromoDialog.js";
|
|
94
|
+
import { PromoDialogSubtitle as mt } from "./core/components/promo-dialog/parts/PromoDialogSubtitle.js";
|
|
95
|
+
import { PromoDialogContent as ht } from "./core/components/promo-dialog/parts/PromoDialogContent.js";
|
|
96
|
+
import { EmptyState as gt } from "./core/components/empty-state/EmptyState.js";
|
|
97
|
+
import { EmptyStateIcon as _t } from "./core/components/empty-state/parts/EmptyStateIcon.js";
|
|
98
|
+
import { EmptyStateContent as vt } from "./core/components/empty-state/parts/EmptyStateContent.js";
|
|
99
|
+
import { EmptyStateActions as yt } from "./core/components/empty-state/parts/EmptyStateActions.js";
|
|
100
|
+
import { EmptyStateGetStarted as bt } from "./core/components/empty-state/presets/EmptyStateGetStarted.js";
|
|
101
|
+
import { EmptyStateWaitingForData as xt } from "./core/components/empty-state/presets/EmptyStateWaitingForData.js";
|
|
102
|
+
import { EmptyStateGoodJob as St } from "./core/components/empty-state/presets/EmptyStateGoodJob.js";
|
|
103
|
+
import { EmptyStateUpgradeRequired as Ct } from "./core/components/empty-state/presets/EmptyStateUpgradeRequired.js";
|
|
104
|
+
import { EmptyStateNoSearchResults as wt } from "./core/components/empty-state/presets/EmptyStateNoSearchResults.js";
|
|
105
|
+
import { EmptyStateUseDesktop as Tt } from "./core/components/empty-state/presets/EmptyStateUseDesktop.js";
|
|
106
|
+
import { useContainerQueryLevel as Et } from "./core/hooks/use-container-query-level.js";
|
|
107
|
+
import { ErrorState as Dt, errorState as Ot } from "./core/components/error-state/ErrorState.js";
|
|
108
|
+
import { Fieldset as kt, fieldset as At } from "./core/components/fieldset/Fieldset.js";
|
|
109
|
+
import { FieldGroup as jt } from "./core/components/fieldset/parts/FieldGroup.js";
|
|
110
|
+
import { Filter as Mt, FilterControls as Nt, FilterLabels as Pt, filterContainer as Ft, filterDismissButton as It } from "./core/components/filter/Filter.js";
|
|
111
|
+
import { FloatingActionBar as Lt, floatingActionBar as Rt } from "./core/components/floating-action-bar/FloatingActionBar.js";
|
|
112
|
+
import { FilterToolbar as zt, filterToolbar as Bt } from "./core/components/filter-toolbar/FilterToolbar.js";
|
|
113
|
+
import { flex as Vt, flexItem as Ht } from "./core/components/flex/Flex.variants.js";
|
|
114
|
+
import { Flex as Ut, Stack as Wt } from "./core/components/flex/Flex.js";
|
|
115
|
+
import { FlexItem as Gt, StackItem as Kt } from "./core/components/flex/FlexItem.js";
|
|
116
|
+
import { FullPageLoader as qt, fullPageLoader as Jt } from "./core/components/full-page-loader/FullPageLoader.js";
|
|
117
|
+
import { SkipLink as Yt, SkipLinks as Xt } from "./core/components/skip-links/SkipLinks.js";
|
|
118
|
+
import { FunnelLayout as Zt, funnelLayout as Qt } from "./core/components/funnel-layout/FunnelLayout.js";
|
|
119
|
+
import { FunnelBody as $t, funnelBody as en } from "./core/components/funnel-layout/parts/FunnelBody.js";
|
|
120
|
+
import { FunnelPage as tn, funnelPage as nn } from "./core/components/funnel-layout/parts/FunnelPage.js";
|
|
121
|
+
import { FunnelPageAction as rn } from "./core/components/funnel-layout/parts/FunnelPageAction.js";
|
|
122
|
+
import { FunnelPageActions as an, funnelPageActions as on } from "./core/components/funnel-layout/parts/FunnelPageActions.js";
|
|
123
|
+
import { FunnelPageContent as sn, funnelPageContent as cn } from "./core/components/funnel-layout/parts/FunnelPageContent.js";
|
|
124
|
+
import { FunnelBackButton as ln } from "./core/components/funnel-layout/parts/FunnelBackButton.js";
|
|
125
|
+
import { FunnelPageFooter as un, funnelPageFooter as dn } from "./core/components/funnel-layout/parts/FunnelPageFooter.js";
|
|
126
|
+
import { FunnelPageHeader as fn, funnelPageHeader as pn } from "./core/components/funnel-layout/parts/FunnelPageHeader.js";
|
|
127
|
+
import { FunnelSidebar as mn, funnelSidebar as hn } from "./core/components/funnel-layout/parts/FunnelSidebar.js";
|
|
128
|
+
import { FunnelTopBar as gn, funnelTopBar as _n } from "./core/components/funnel-layout/parts/FunnelTopBar.js";
|
|
129
|
+
import { grid as vn, gridItem as yn } from "./core/components/grid/Grid.variants.js";
|
|
130
|
+
import { Grid as bn } from "./core/components/grid/Grid.js";
|
|
131
|
+
import { GridItem as xn } from "./core/components/grid/GridItem.js";
|
|
132
|
+
import { Input as Sn } from "./core/components/input/Input.js";
|
|
133
|
+
import { RawLinkButton as Cn } from "./core/components/link-button/RawLinkButton.js";
|
|
134
|
+
import { ListView as wn } from "./core/components/list-view/ListView.js";
|
|
135
|
+
import { RawListViewItem as Tn, listViewItem as En } from "./core/components/list-view/parts/RawListViewItem.js";
|
|
136
|
+
import { ListViewSection as Dn, listViewSection as On } from "./core/components/list-view/parts/ListViewSection.js";
|
|
137
|
+
import { ListViewItemLabel as kn } from "./core/components/list-view/parts/ListViewItemLabel.js";
|
|
138
|
+
import { ListViewItemText as An } from "./core/components/list-view/parts/ListViewItemText.js";
|
|
139
|
+
import { MenuSection as jn } from "./core/components/menu/parts/MenuSection.js";
|
|
140
|
+
import { Search as Mn, search as Nn } from "./core/components/search/Search.js";
|
|
141
|
+
import { MultiSelect as Pn } from "./core/components/multi-select/MultiSelect.js";
|
|
142
|
+
import { MultiSelectOptGroup as Fn } from "./core/components/multi-select/parts/MultiSelectOptGroup.js";
|
|
143
|
+
import { MultiSelectOption as In } from "./core/components/multi-select/parts/MultiSelectOption.js";
|
|
144
|
+
import { Nav as Ln } from "./core/components/nav/Nav.js";
|
|
145
|
+
import { RawNavItem as Rn, navItemBase as zn } from "./core/components/nav/parts/RawNavItem.js";
|
|
146
|
+
import { NavGroup as Bn } from "./core/components/nav/parts/NavGroup.js";
|
|
147
|
+
import { RawNavigationCard as Vn } from "./core/components/navigation-card/NavigationCard.js";
|
|
148
|
+
import { NavigationCardGroup as Hn, navigationCardGroup as Un } from "./core/components/navigation-card/parts/NavigationCardGroup.js";
|
|
149
|
+
import { NavigationCardLabel as Wn } from "./core/components/navigation-card/parts/NavigationCardLabel.js";
|
|
150
|
+
import { NavigationCardDescription as Gn } from "./core/components/navigation-card/parts/NavigationCardDescription.js";
|
|
151
|
+
import { NumberInput as Kn, numberInput as qn } from "./core/components/number-input/NumberInput.js";
|
|
152
|
+
import { Page as Jn, page as Yn } from "./core/components/page/Page.js";
|
|
153
|
+
import { PageHeader as Xn, pageHeader as Zn } from "./core/components/page/parts/PageHeader.js";
|
|
154
|
+
import { PageHeading as Qn } from "./core/components/page/parts/PageHeading.js";
|
|
155
|
+
import { Pagination as $n, pagination as er } from "./core/components/pagination/Pagination.js";
|
|
156
|
+
import { PaginationContent as tr, paginationContent as nr } from "./core/components/pagination/parts/PaginationContent.js";
|
|
157
|
+
import { PaginationItem as rr } from "./core/components/pagination/parts/PaginationItem.js";
|
|
158
|
+
import { RawPaginationLink as ir, paginationLink as ar } from "./core/components/pagination/parts/RawPaginationLink.js";
|
|
159
|
+
import { RawPaginationPrevious as or } from "./core/components/pagination/parts/RawPaginationPrevious.js";
|
|
160
|
+
import { RawPaginationNext as sr } from "./core/components/pagination/parts/RawPaginationNext.js";
|
|
161
|
+
import { PaginationEllipsis as cr } from "./core/components/pagination/parts/PaginationEllipsis.js";
|
|
162
|
+
import { usePaginationWindow as lr } from "./core/components/pagination/hooks/use-pagination-window.js";
|
|
163
|
+
import { usePaginationState as ur } from "./core/components/pagination/hooks/use-pagination-state.js";
|
|
164
|
+
import { PhoneNumberInput as dr } from "./core/components/phone-number/PhoneNumberInput.js";
|
|
165
|
+
import { Pill as fr } from "./core/components/pill/Pill.js";
|
|
166
|
+
import { Popover as pr, PopoverTrigger as mr } from "./core/components/popover/Popover.js";
|
|
167
|
+
import { ProgressBar as hr } from "./core/components/progress-bar/ProgressBar.js";
|
|
168
|
+
import { RadioButtonGroup as gr } from "./core/components/radio-button-group/RadioButtonGroup.js";
|
|
169
|
+
import { RadioButtonHelper as _r } from "./core/components/radio-button-group/parts/RadioButtonHelper.js";
|
|
170
|
+
import { RadioIndicator as vr } from "./core/components/radio-button-group/parts/RadioIndicator.js";
|
|
171
|
+
import { RadioButton as yr, radioButton as br } from "./core/components/radio-button-group/parts/RadioButton.js";
|
|
172
|
+
import { Skeleton as xr } from "./core/components/skeleton/Skeleton.js";
|
|
173
|
+
import { SegmentedButtonGroup as Sr } from "./core/components/segmented-button-group/SegmentedButtonGroup.js";
|
|
174
|
+
import { ToggleButton as Cr } from "./core/components/segmented-button-group/parts/ToggleButton.js";
|
|
175
|
+
import { SelectableButtonGroup as wr, selectableButtonGroup as Tr } from "./core/components/selectable-button-group/SelectableButtonGroup.js";
|
|
176
|
+
import { SelectableButton as Er, selectableButton as Dr } from "./core/components/selectable-button-group/parts/SelectableButton.js";
|
|
177
|
+
import { SelectableCardCheckboxGroup as Or } from "./core/components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.js";
|
|
178
|
+
import { SelectableCardCheckbox as kr } from "./core/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.js";
|
|
179
|
+
import { SelectableCardRadioGroup as Ar } from "./core/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.js";
|
|
180
|
+
import { SelectableCardRadio as jr } from "./core/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.js";
|
|
181
|
+
import { SelectButton as Mr } from "./core/components/select/parts/SelectButton.js";
|
|
182
|
+
import { Select as Nr } from "./core/components/select/Select.js";
|
|
183
|
+
import { SelectOption as Pr } from "./core/components/select/parts/SelectOption.js";
|
|
184
|
+
import { SelectOptionGroup as Fr } from "./core/components/select/parts/SelectOptionGroup.js";
|
|
185
|
+
import { SelectOptionHelper as Ir } from "./core/components/select/parts/SelectOptionHelper.js";
|
|
186
|
+
import { SidePanel as Lr, sidePanel as Rr } from "./core/components/side-panel/SidePanel.js";
|
|
187
|
+
import { SidePanelContent as zr, sidePanelContent as Br } from "./core/components/side-panel/parts/SidePanelContent.js";
|
|
188
|
+
import { SidePanelFooter as Vr, sidePanelFooter as Hr } from "./core/components/side-panel/parts/SidePanelFooter.js";
|
|
189
|
+
import { SidePanelHeader as Ur, sidePanelHeader as Wr } from "./core/components/side-panel/parts/SidePanelHeader.js";
|
|
190
|
+
import { Stepper as Gr } from "./core/components/stepper/Stepper.js";
|
|
191
|
+
import { Step as Kr } from "./core/components/stepper/parts/Step.js";
|
|
192
|
+
import { useStepper as qr } from "./core/components/stepper/hooks/useStepper.js";
|
|
193
|
+
import { Table as Jr, TableRoot as Yr } from "./core/components/table/Table.js";
|
|
194
|
+
import { TableBody as Xr, tableBody as Zr } from "./core/components/table/parts/TableBody.js";
|
|
195
|
+
import { TableCell as Qr, tableCell as $r } from "./core/components/table/parts/TableCell.js";
|
|
196
|
+
import { TableColumnHeader as ei, tableColumnHeader as ti } from "./core/components/table/parts/TableColumnHeader.js";
|
|
197
|
+
import { TableEmptyState as ni, TableEmptyStateError as ri, TableEmptyStateLoading as ii, TableEmptyStateNoData as ai, TableEmptyStateText as oi, TableNoSearchResults as si, tableEmptyState as ci } from "./core/components/table/parts/TableEmptyState.js";
|
|
198
|
+
import { TableHeader as li, tableHeader as ui } from "./core/components/table/parts/TableHeader.js";
|
|
199
|
+
import { TablePagination as di, tablePagination as fi } from "./core/components/table/parts/TablePagination.js";
|
|
200
|
+
import { TableRow as pi, tableRow as mi } from "./core/components/table/parts/TableRow.js";
|
|
201
|
+
import { Tabs as hi } from "./core/components/tabs/Tabs.js";
|
|
202
|
+
import { RawTab as gi } from "./core/components/tabs/parts/RawTab.js";
|
|
203
|
+
import { TabList as _i } from "./core/components/tabs/parts/TabList.js";
|
|
204
|
+
import { TabPanel as vi } from "./core/components/tabs/parts/TabPanel.js";
|
|
205
|
+
import { TabPanels as yi } from "./core/components/tabs/parts/TabPanels.js";
|
|
206
|
+
import { TaskMenu as bi, taskMenu as xi } from "./core/components/task-menu/TaskMenu.js";
|
|
207
|
+
import { RawSubTask as Si, rawSubTask as Ci } from "./core/components/task-menu/parts/RawSubTask.js";
|
|
208
|
+
import { RawTask as wi, rawTask as Ti } from "./core/components/task-menu/parts/RawTask.js";
|
|
209
|
+
import { TaskGroup as Ei } from "./core/components/task-menu/parts/TaskGroup.js";
|
|
210
|
+
import { TextArea as Di, textArea as Oi } from "./core/components/text-area/TextArea.js";
|
|
211
|
+
import { Timeline as ki } from "./core/components/timeline/Timeline.js";
|
|
212
|
+
import { TimelineStep as Ai } from "./core/components/timeline/parts/TimelineStep.js";
|
|
213
|
+
import { TimelineStepHeader as ji } from "./core/components/timeline/parts/TimelineStepHeader.js";
|
|
214
|
+
import { TimelineStepDescription as Mi } from "./core/components/timeline/parts/TimelineStepDescription.js";
|
|
215
|
+
import { TOAST_CONFIG as Ni, ToastManager as Pi } from "./core/components/toast/ToastManager.js";
|
|
216
|
+
import { toast as Fi } from "./core/components/toast/toast.js";
|
|
217
|
+
import { ToggleSwitchGroup as Ii, toggleSwitchGroup as Li } from "./core/components/toggle-switch-group/ToggleSwitchGroup.js";
|
|
218
|
+
import { ToggleSwitch as Ri, toggleSwitch as zi } from "./core/components/toggle-switch/ToggleSwitch.js";
|
|
219
|
+
import { useAsyncList as Bi } from "./core/hooks/use-async-list.js";
|
|
220
|
+
import { ScrollArea as Vi } from "./core/components/scroll-area/ScrollArea.js";
|
|
221
|
+
import { useFieldContext as Hi, useFormContext as Ui } from "./modules/tanstack-form/hooks/tanstack-form-context.js";
|
|
222
|
+
import { useTanstackUnityForm as Wi, withFieldGroup as Gi, withForm as Ki } from "./modules/tanstack-form/hooks/use-tanstack-form.js";
|
|
223
|
+
import { tanstackFormDefaultValues as qi } from "./modules/tanstack-form/hooks/tanstack-form-default-values.js";
|
|
224
|
+
import { useFieldA11yContext as Ji } from "./modules/tanstack-form/components/form-field/TanstackFormField.context.js";
|
|
225
|
+
import { fieldRevalidateLogic as Yi } from "./modules/tanstack-form/utils/field-revalidate-logic.js";
|
|
226
|
+
import { StandardSchemaAdapter as Xi } from "./modules/tanstack-form/adapters/standardSchemaAdapter.js";
|
|
227
|
+
import { ZodV3SchemaAdapter as Zi, ZodV4SchemaAdapter as Qi } from "./modules/tanstack-form/adapters/zodAdapter.js";
|
|
228
|
+
import { createSchemaAdapter as $i } from "./modules/tanstack-form/utils/createSchemaAdapter.js";
|
|
229
|
+
import { ColumnSortHeader as ea, isSortableHeader as ta } from "./modules/tanstack-table/components/data-table/parts/ColumnSortHeader.js";
|
|
230
|
+
import { DataTable as na } from "./modules/tanstack-table/components/data-table/DataTable.js";
|
|
231
|
+
import { DataTableRoot as ra, dataTableRoot as ia } from "./modules/tanstack-table/components/data-table/parts/DataTableRoot.js";
|
|
232
|
+
import { DataTableBulkActions as aa } from "./modules/tanstack-table/components/data-table-bulk-actions/DataTableBulkActions.js";
|
|
233
|
+
import { FilterAdapters as oa } from "./modules/tanstack-table/adapters/filter-adapters.js";
|
|
234
|
+
export { v as ActionBar, u as ActionBarButton, p as ActionBarIconButton, y as ActionBarRoot, e as Actionable, C as Alert, w as AlertActions, D as AlertContent, O as AlertTitle, k as Anchor, A as AppLayout, F as AppMenu, M as AppMenuContext, N as AppMenuContextProvider, W as AppMenuFooter, J as AppMenuHeader, Y as AppMenuNavContent, U as AppProfileMenuButton, j as AppTopBar, X as Autocomplete, Z as AutocompleteItem, $ as AutocompleteItemGroup, z as Avatar, V as AvatarFallback, oe as AvatarGroup, ae as AvatarGroupCount, re as AvatarIcon, H as AvatarImage, ie as AvatarPair, te as AvatarWithTooltip, G as BRAND_ASSETS, Ce as BREADCRUMB_ITEM_MAX_WIDTH, R as Badge, se as BadgeDot, ce as BottomSheet, ue as BottomSheetContent, fe as BottomSheetFooter, me as BottomSheetHeader, _e as Breadcrumb, ge as Breadcrumbs, l as Button, Fe as Card, Re as CardContent, Le as CardTitle, De as Carousel, je as CarouselContent, ke as CarouselHeader, Te as CarouselNav, Ne as CarouselSlide, He as Checkbox, Be as CheckboxGroup, Ue as CheckboxStandalone, x as CircularIconButton, We as Collapsible, Ge as CollapsibleContent, qe as CollapsibleGroup, Ke as CollapsibleTitle, ea as ColumnSortHeader, n as DESKTOP_BREAKPOINTS, na as DataTable, aa as DataTableBulkActions, ra as DataTableRoot, Je as DateCalendar, Ye as DatePicker, Xe as DateRangeCalendar, Ze as DateRangePicker, $e as DefinitionItem, Qe as DefinitionList, et as DefinitionListGroup, tt as DefinitionTooltip, rt as Dialog, ot as DialogActions, nt as DialogButton, st as DialogContent, ct as DialogTitle, it as DialogTrigger, gt as EmptyState, yt as EmptyStateActions, vt as EmptyStateContent, bt as EmptyStateGetStarted, St as EmptyStateGoodJob, _t as EmptyStateIcon, wt as EmptyStateNoSearchResults, Ct as EmptyStateUpgradeRequired, Tt as EmptyStateUseDesktop, xt as EmptyStateWaitingForData, Dt as ErrorState, jt as FieldGroup, kt as Fieldset, Mt as Filter, oa as FilterAdapters, Nt as FilterControls, Pt as FilterLabels, zt as FilterToolbar, Ut as Flex, Gt as FlexItem, Lt as FloatingActionBar, qt as FullPageLoader, ln as FunnelBackButton, $t as FunnelBody, Zt as FunnelLayout, tn as FunnelPage, rn as FunnelPageAction, an as FunnelPageActions, sn as FunnelPageContent, un as FunnelPageFooter, fn as FunnelPageHeader, mn as FunnelSidebar, gn as FunnelTopBar, bn as Grid, xn as GridItem, s as Icon, f as IconButton, Sn as Input, ne as InteractiveAvatar, ze as Label, wn as ListView, kn as ListViewItemLabel, An as ListViewItemText, Dn as ListViewSection, r as MOBILE_BREAKPOINTS, m as Menu, h as MenuContent, L as MenuHeader, jn as MenuSection, I as MenuSeparator, g as MenuTrigger, Pn as MultiSelect, Fn as MultiSelectOptGroup, In as MultiSelectOption, Ln as Nav, Bn as NavGroup, Gn as NavigationCardDescription, Hn as NavigationCardGroup, Wn as NavigationCardLabel, ve as NoopRouterProvider, Kn as NumberInput, Jn as Page, Xn as PageHeader, Qn as PageHeading, $n as Pagination, tr as PaginationContent, cr as PaginationEllipsis, rr as PaginationItem, K as PayFitBrand, q as PayFitBrandPreprod, dr as PhoneNumberInput, fr as Pill, pr as Popover, mr as PopoverTrigger, hr as ProgressBar, ft as PromoDialog, lt as PromoDialogActions, ht as PromoDialogContent, ut as PromoDialogHero, mt as PromoDialogSubtitle, dt as PromoDialogTitle, yr as RadioButton, gr as RadioButtonGroup, _r as RadioButtonHelper, vr as RadioIndicator, we as RawBreadcrumbLink, xe as RawLink, Cn as RawLinkButton, Tn as RawListViewItem, _ as RawMenuItem, Rn as RawNavItem, Vn as RawNavigationCard, ir as RawPaginationLink, sr as RawPaginationNext, or as RawPaginationPrevious, Si as RawSubTask, gi as RawTab, wi as RawTask, ye as RouterProvider, Vi as ScrollArea, Mn as Search, Sr as SegmentedButtonGroup, Nr as Select, Mr as SelectButton, Pr as SelectOption, Fr as SelectOptionGroup, Ir as SelectOptionHelper, Er as SelectableButton, wr as SelectableButtonGroup, kr as SelectableCardCheckbox, Or as SelectableCardCheckboxGroup, jr as SelectableCardRadio, Ar as SelectableCardRadioGroup, Lr as SidePanel, zr as SidePanelContent, Vr as SidePanelFooter, Ur as SidePanelHeader, xr as Skeleton, Yt as SkipLink, Xt as SkipLinks, c as Spinner, Wt as Stack, Kt as StackItem, Xi as StandardSchemaAdapter, Kr as Step, Gr as Stepper, Ni as TOAST_CONFIG, _i as TabList, vi as TabPanel, yi as TabPanels, Jr as Table, Xr as TableBody, Qr as TableCell, ei as TableColumnHeader, ni as TableEmptyState, ri as TableEmptyStateError, ii as TableEmptyStateLoading, ai as TableEmptyStateNoData, oi as TableEmptyStateText, li as TableHeader, si as TableNoSearchResults, di as TablePagination, Yr as TableRoot, pi as TableRow, hi as Tabs, Ei as TaskGroup, bi as TaskMenu, E as Text, Di as TextArea, ki as Timeline, Ai as TimelineStep, Mi as TimelineStepDescription, ji as TimelineStepHeader, Pi as ToastManager, Cr as ToggleButton, Ri as ToggleSwitch, Ii as ToggleSwitchGroup, d as Tooltip, Zi as ZodV3SchemaAdapter, Qi as ZodV4SchemaAdapter, b as actionBarRoot, Q as autocompleteItem, ee as autocompleteItemGroup, le as bottomSheet, de as bottomSheetContent, pe as bottomSheetFooter, he as bottomSheetHeader, Ie as card, Oe as carousel, Me as carouselContent, Ae as carouselHeader, Ee as carouselNav, Pe as carouselSlide, Ve as checkboxGroup, S as circularIconButton, $i as createSchemaAdapter, ia as dataTableRoot, at as dialog, Ot as errorState, Yi as fieldRevalidateLogic, At as fieldset, Ft as filterContainer, It as filterDismissButton, Bt as filterToolbar, Vt as flex, Ht as flexItem, Rt as floatingActionBar, Jt as fullPageLoader, en as funnelBody, Qt as funnelLayout, nn as funnelPage, on as funnelPageActions, cn as funnelPageContent, dn as funnelPageFooter, pn as funnelPageHeader, hn as funnelSidebar, _n as funnelTopBar, B as getInitials, vn as grid, yn as gridItem, i as isDesktopBreakpoint, a as isMobileBreakpoint, ta as isSortableHeader, Se as link, En as listViewItem, On as listViewSection, zn as navItemBase, Un as navigationCardGroup, qn as numberInput, Yn as page, Zn as pageHeader, er as pagination, nr as paginationContent, ar as paginationLink, pt as promoDialog, br as radioButton, Ci as rawSubTask, Ti as rawTask, Nn as search, Dr as selectableButton, Tr as selectableButtonGroup, Rr as sidePanel, Br as sidePanelContent, Hr as sidePanelFooter, Wr as sidePanelHeader, Zr as tableBody, $r as tableCell, ti as tableColumnHeader, ci as tableEmptyState, ui as tableHeader, fi as tablePagination, mi as tableRow, qi as tanstackFormDefaultValues, xi as taskMenu, T as text, Oi as textArea, Fi as toast, zi as toggleSwitch, Li as toggleSwitchGroup, P as useAppMenuContext, Bi as useAsyncList, o as useBreakpointListener, Et as useContainerQueryLevel, Ji as useFieldA11yContext, Hi as useFieldContext, Ui as useFormContext, t as useMediaQuery, ur as usePaginationState, lr as usePaginationWindow, be as useRouter, qr as useStepper, Wi as useTanstackUnityForm, Gi as withFieldGroup, Ki as withForm };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type AIProposalCardState = 'pending' | 'confirmed' | 'dismissed';
|
|
2
|
+
export interface ProposalCardContextValue {
|
|
3
|
+
state: AIProposalCardState;
|
|
4
|
+
isExpandable: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const ProposalCardContextProvider: import('react').Provider<ProposalCardContextValue | null>;
|
|
7
|
+
export declare function useProposalCardContext(): ProposalCardContextValue;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
//#region src/modules/ai-kit/components/proposal-card/ProposalCard.context.tsx
|
|
3
|
+
var n = e(null), r = n.Provider;
|
|
4
|
+
function i() {
|
|
5
|
+
let e = t(n);
|
|
6
|
+
if (!e) throw Error("AIProposalCard compound components must be used within an AIProposalCard component");
|
|
7
|
+
return e;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as ProposalCardContextProvider, i as useProposalCardContext };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CardProps } from '../../../../core/components/card/Card.js';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { AIProposalCardState } from './ProposalCard.context.js';
|
|
4
|
+
export interface AIProposalCardProps extends Omit<CardProps, 'children' | 'density'> {
|
|
5
|
+
/** Compound AIProposalCard parts that describe the proposed operation. */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Identifies whether the proposal awaits a decision or is retained history.
|
|
9
|
+
*/
|
|
10
|
+
state: AIProposalCardState;
|
|
11
|
+
/** Controls historical-proposal disclosure. Ignored while pending. */
|
|
12
|
+
isExpanded?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The initial disclosure state for a confirmed or dismissed proposal.
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
defaultExpanded?: boolean;
|
|
18
|
+
/** Receives a requested disclosure change for a historical proposal. */
|
|
19
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Presents an AI-proposed operation, its supporting details, and the actions
|
|
23
|
+
* needed to decide it.
|
|
24
|
+
*
|
|
25
|
+
* Pending proposals show their content and consumer-provided actions. Confirmed
|
|
26
|
+
* and dismissed proposals retain the same details behind an accessible,
|
|
27
|
+
* controlled or uncontrolled disclosure.
|
|
28
|
+
*/
|
|
29
|
+
export declare const AIProposalCard: import('react').ForwardRefExoticComponent<Omit<AIProposalCardProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
30
|
+
export type { AIProposalCardState };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Card as e } from "../../../../core/components/card/Card.js";
|
|
2
|
+
import { ProposalCardContextProvider as t } from "./ProposalCard.context.js";
|
|
3
|
+
import { proposalCard as n } from "./ProposalCard.variants.js";
|
|
4
|
+
import { forwardRef as r } from "react";
|
|
5
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
+
import { Disclosure as a } from "react-aria-components/Disclosure";
|
|
7
|
+
//#region src/modules/ai-kit/components/proposal-card/ProposalCard.tsx
|
|
8
|
+
var o = r(({ children: r, state: o, isExpanded: s, defaultExpanded: c = !1, onExpandedChange: l, ...u }, d) => {
|
|
9
|
+
let f = o !== "pending", { body: p, disclosure: m } = n();
|
|
10
|
+
return /* @__PURE__ */ i(t, {
|
|
11
|
+
value: {
|
|
12
|
+
state: o,
|
|
13
|
+
isExpandable: f
|
|
14
|
+
},
|
|
15
|
+
children: /* @__PURE__ */ i(e, {
|
|
16
|
+
ref: d,
|
|
17
|
+
...u,
|
|
18
|
+
density: "compact",
|
|
19
|
+
"data-unity-proposal-state": o,
|
|
20
|
+
children: f ? /* @__PURE__ */ i(a, {
|
|
21
|
+
className: ({ isExpanded: e }) => m({ isExpanded: e }),
|
|
22
|
+
defaultExpanded: c,
|
|
23
|
+
isExpanded: s,
|
|
24
|
+
onExpandedChange: l,
|
|
25
|
+
children: r
|
|
26
|
+
}) : /* @__PURE__ */ i("div", {
|
|
27
|
+
className: p(),
|
|
28
|
+
children: r
|
|
29
|
+
})
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
o.displayName = "AIProposalCard";
|
|
34
|
+
//#endregion
|
|
35
|
+
export { o as AIProposalCard };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare const proposalCard: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
isExpanded: {
|
|
3
|
+
true: {
|
|
4
|
+
disclosure: string;
|
|
5
|
+
disclosureIcon: string;
|
|
6
|
+
};
|
|
7
|
+
false: {};
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
body: string;
|
|
11
|
+
disclosure: string;
|
|
12
|
+
header: string;
|
|
13
|
+
headerContent: string;
|
|
14
|
+
subtitle: string;
|
|
15
|
+
content: string;
|
|
16
|
+
actions: string;
|
|
17
|
+
disclosureHeader: string[];
|
|
18
|
+
disclosureIcon: string;
|
|
19
|
+
}, undefined, {
|
|
20
|
+
isExpanded: {
|
|
21
|
+
true: {
|
|
22
|
+
disclosure: string;
|
|
23
|
+
disclosureIcon: string;
|
|
24
|
+
};
|
|
25
|
+
false: {};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
body: string;
|
|
29
|
+
disclosure: string;
|
|
30
|
+
header: string;
|
|
31
|
+
headerContent: string;
|
|
32
|
+
subtitle: string;
|
|
33
|
+
content: string;
|
|
34
|
+
actions: string;
|
|
35
|
+
disclosureHeader: string[];
|
|
36
|
+
disclosureIcon: string;
|
|
37
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
38
|
+
isExpanded: {
|
|
39
|
+
true: {
|
|
40
|
+
disclosure: string;
|
|
41
|
+
disclosureIcon: string;
|
|
42
|
+
};
|
|
43
|
+
false: {};
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
body: string;
|
|
47
|
+
disclosure: string;
|
|
48
|
+
header: string;
|
|
49
|
+
headerContent: string;
|
|
50
|
+
subtitle: string;
|
|
51
|
+
content: string;
|
|
52
|
+
actions: string;
|
|
53
|
+
disclosureHeader: string[];
|
|
54
|
+
disclosureIcon: string;
|
|
55
|
+
}>>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { uyTv as e } from "@payfit/unity-themes";
|
|
2
|
+
//#region src/modules/ai-kit/components/proposal-card/ProposalCard.variants.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
body: "uy:flex uy:flex-col uy:gap-200",
|
|
6
|
+
disclosure: "uy:flex uy:flex-col",
|
|
7
|
+
header: "uy:flex uy:items-start uy:justify-between uy:gap-200",
|
|
8
|
+
headerContent: "uy:flex uy:min-w-0 uy:flex-col uy:gap-25",
|
|
9
|
+
subtitle: "uy:typography-body-small uy:text-content-neutral-lowest",
|
|
10
|
+
content: "uy:flex uy:flex-col uy:gap-200",
|
|
11
|
+
actions: "uy:flex uy:flex-wrap uy:justify-end uy:gap-100",
|
|
12
|
+
disclosureHeader: [
|
|
13
|
+
"uy:flex uy:w-full uy:items-center uy:justify-between uy:gap-200",
|
|
14
|
+
"uy:rounded-100 uy:text-left uy:text-content-neutral",
|
|
15
|
+
"uy:data-[focus-visible=true]:outline-2",
|
|
16
|
+
"uy:data-[focus-visible=true]:outline-solid",
|
|
17
|
+
"uy:data-[focus-visible=true]:outline-offset-2",
|
|
18
|
+
"uy:data-[focus-visible=true]:outline-utility-focus-ring"
|
|
19
|
+
],
|
|
20
|
+
disclosureIcon: "uy:shrink-0 uy:transition-transform"
|
|
21
|
+
},
|
|
22
|
+
variants: { isExpanded: {
|
|
23
|
+
true: {
|
|
24
|
+
disclosure: "uy:gap-200",
|
|
25
|
+
disclosureIcon: "uy:rotate-180"
|
|
26
|
+
},
|
|
27
|
+
false: {}
|
|
28
|
+
} }
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { t as proposalCard };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
export interface AIProposalCardActionsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'className'> {
|
|
3
|
+
/** Consumer-provided decision controls. They render only while pending. */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/** Renders consumer-provided confirmation or rejection actions for pending proposals. */
|
|
7
|
+
export declare const AIProposalCardActions: import('react').ForwardRefExoticComponent<AIProposalCardActionsProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useProposalCardContext as e } from "../ProposalCard.context.js";
|
|
2
|
+
import { proposalCard as t } from "../ProposalCard.variants.js";
|
|
3
|
+
import { forwardRef as n } from "react";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/modules/ai-kit/components/proposal-card/parts/ProposalCardActions.tsx
|
|
6
|
+
var i = n(({ children: n, ...i }, a) => {
|
|
7
|
+
let { state: o } = e(), { actions: s } = t();
|
|
8
|
+
return o === "pending" ? /* @__PURE__ */ r("div", {
|
|
9
|
+
ref: a,
|
|
10
|
+
className: s(),
|
|
11
|
+
"data-unity-slot": "proposal-card.actions",
|
|
12
|
+
...i,
|
|
13
|
+
children: n
|
|
14
|
+
}) : null;
|
|
15
|
+
});
|
|
16
|
+
i.displayName = "AIProposalCardActions";
|
|
17
|
+
//#endregion
|
|
18
|
+
export { i as AIProposalCardActions };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
export interface AIProposalCardContentProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'role' | 'className'> {
|
|
3
|
+
/** Arbitrary supporting proposal details. */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Landmark role supported by React Aria's DisclosurePanel. */
|
|
6
|
+
role?: 'group' | 'region';
|
|
7
|
+
}
|
|
8
|
+
/** Renders proposal details and hides historical details until disclosed. */
|
|
9
|
+
export declare const AIProposalCardContent: import('react').ForwardRefExoticComponent<AIProposalCardContentProps & import('react').RefAttributes<HTMLDivElement>>;
|