@sps-woodland/core 8.56.2 → 8.56.3
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/lib/action-bar/action-bar/ActionBar.js +44 -59
- package/lib/action-bar/action-bar/ActionBar.ve.js +4 -11
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +14 -22
- package/lib/action-bar/index.js +54 -74
- package/lib/action-bar/index.umd.cjs +1 -1
- package/lib/action-bar/style.css +2 -1
- package/lib/add-to-list/add-to-list/AddToList.js +220 -302
- package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
- package/lib/add-to-list/add-to-list/ItemsList.js +42 -67
- package/lib/add-to-list/add-to-list/ListItem.js +24 -50
- package/lib/add-to-list/index.js +393 -453
- package/lib/add-to-list/index.umd.cjs +1 -1
- package/lib/add-to-list/style.css +2 -1
- package/lib/buttons/button/Button.js +95 -121
- package/lib/buttons/button/Button.ve.js +150 -9
- package/lib/buttons/index.js +281 -171
- package/lib/buttons/index.umd.cjs +1 -1
- package/lib/buttons/style.css +2 -1
- package/lib/cards/card/Card.js +19 -27
- package/lib/cards/card/Card.ve.js +4 -4
- package/lib/cards/card-footer/CardFooter.js +12 -13
- package/lib/cards/card-footer/CardFooter.ve.js +4 -4
- package/lib/cards/card-header/CardHeader.js +12 -13
- package/lib/cards/card-header/CardHeader.ve.js +4 -4
- package/lib/cards/card-title/CardTitle.js +11 -12
- package/lib/cards/card-title/CardTitle.ve.js +4 -4
- package/lib/cards/index.js +52 -52
- package/lib/cards/index.umd.cjs +1 -1
- package/lib/cards/style.css +2 -1
- package/lib/column-manager/column-manager/ColumnManager.js +95 -112
- package/lib/column-manager/column-manager/useColumnManager.js +59 -48
- package/lib/column-manager/index.js +2 -5
- package/lib/components/icon/Icon.ve.js +15 -5
- package/lib/components/icon/icons/sprite.svg.js +4 -4
- package/lib/content-row/content-row/ContentRow.js +146 -173
- package/lib/content-row/content-row/ContentRow.ve.js +105 -18
- package/lib/content-row/content-row-col/ContentRowCol.js +37 -48
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +49 -6
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +16 -24
- package/lib/content-row/index.js +407 -318
- package/lib/content-row/index.umd.cjs +1 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +24 -39
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +13 -5
- package/lib/content-row/style.css +2 -1
- package/lib/content-tiles/content-tile/ContentTile.js +71 -60
- package/lib/content-tiles/content-tile/ContentTile.ve.js +36 -14
- package/lib/content-tiles/content-tile-list/ContentTileList.js +12 -13
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +4 -5
- package/lib/content-tiles/index.js +156 -118
- package/lib/content-tiles/index.umd.cjs +1 -1
- package/lib/content-tiles/style.css +2 -1
- package/lib/core.css +2 -1
- package/lib/dropdowns/dropdown/Dropdown.js +56 -68
- package/lib/dropdowns/dropdown/Dropdown.ve.js +37 -8
- package/lib/dropdowns/index.js +171 -171
- package/lib/dropdowns/index.umd.cjs +1 -1
- package/lib/dropdowns/option-list/Option.js +14 -18
- package/lib/dropdowns/option-list/Option.ve.js +4 -5
- package/lib/dropdowns/option-list/OptionList.js +28 -44
- package/lib/dropdowns/option-list/OptionList.ve.js +4 -5
- package/lib/dropdowns/style.css +2 -1
- package/lib/editable-table/EditableTable.js +68 -85
- package/lib/editable-table/index.js +1 -4
- package/lib/feedback-block/FeedbackBlock.js +40 -35
- package/lib/feedback-block/FeedbackBlock.ve.js +56 -7
- package/lib/feedback-block/index.js +132 -85
- package/lib/feedback-block/index.umd.cjs +1 -1
- package/lib/feedback-block/style.css +2 -1
- package/lib/file-upload/file-upload/FileUpload.js +164 -202
- package/lib/file-upload/file-upload/FileUpload.ve.js +84 -18
- package/lib/file-upload/file-upload/mime-type.enum.js +106 -106
- package/lib/file-upload/index.js +390 -353
- package/lib/file-upload/index.umd.cjs +1 -1
- package/lib/file-upload/style.css +2 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +41 -46
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +51 -9
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +12 -15
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +4 -4
- package/lib/filter-tiles/index.js +142 -107
- package/lib/filter-tiles/index.umd.cjs +1 -1
- package/lib/filter-tiles/style.css +2 -1
- package/lib/focused-task/focused-task/FocusedTask.js +52 -74
- package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -12
- package/lib/focused-task/focused-task/useFocusedTask.js +20 -18
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +12 -13
- package/lib/focused-task/index.js +127 -144
- package/lib/focused-task/index.umd.cjs +1 -1
- package/lib/focused-task/style.css +2 -1
- package/lib/growler/Growler.js +78 -90
- package/lib/growler/Growler.ve.js +23 -12
- package/lib/growler/GrowlerListProvider.js +38 -39
- package/lib/growler/Sonner.ve.js +17 -12
- package/lib/growler/index.js +249 -274
- package/lib/growler/index.umd.cjs +1 -1
- package/lib/growler/sonner.js +73 -102
- package/lib/growler/style.css +2 -1
- package/lib/index.js +520 -501
- package/lib/index.umd.cjs +4 -4
- package/lib/insight-card/InsightCard.js +90 -84
- package/lib/insight-card/InsightCard.ve.js +148 -15
- package/lib/insight-card/InsightCardSet.js +12 -12
- package/lib/insight-card/index.js +269 -141
- package/lib/insight-card/index.umd.cjs +1 -1
- package/lib/insight-card/style.css +2 -1
- package/lib/key-value-set/index.js +97 -87
- package/lib/key-value-set/index.umd.cjs +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +17 -21
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +10 -5
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +25 -21
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +13 -6
- package/lib/key-value-set/style.css +2 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.js +51 -54
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +30 -8
- package/lib/list-bar/index.js +305 -301
- package/lib/list-bar/index.umd.cjs +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.js +10 -19
- package/lib/list-bar/list-bar/ListBar.js +105 -121
- package/lib/list-bar/list-bar/ListBar.ve.js +13 -17
- package/lib/list-bar/list-bar/ListBarSearch.js +20 -21
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +8 -12
- package/lib/list-bar/list-bar/ListBarSortBy.js +28 -38
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +38 -28
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +4 -11
- package/lib/list-bar/style.css +2 -1
- package/lib/matrix/index.js +79 -87
- package/lib/matrix/index.umd.cjs +1 -1
- package/lib/matrix/matrix/Matrix.js +18 -26
- package/lib/matrix/matrix/Matrix.ve.js +4 -7
- package/lib/matrix/matrix-body/MatrixBody.js +10 -13
- package/lib/matrix/matrix-cell/MatrixCell.js +23 -18
- package/lib/matrix/matrix-head/MatrixHead.js +10 -13
- package/lib/matrix/matrix-header/MatrixHeader.js +20 -23
- package/lib/matrix/matrix-row/MatrixRow.js +10 -13
- package/lib/matrix/style.css +2 -1
- package/lib/modal/index.js +197 -187
- package/lib/modal/index.umd.cjs +1 -1
- package/lib/modal/modal/Modal.js +90 -108
- package/lib/modal/modal/Modal.ve.js +43 -13
- package/lib/modal/modal/useModal.js +19 -24
- package/lib/modal/modal-footer/ModalFooter.js +11 -12
- package/lib/modal/style.css +2 -1
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +49 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +8 -10
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +4 -4
- package/lib/page-title/heading-level/HeadingLevel.js +8 -12
- package/lib/page-title/index.js +33 -40
- package/lib/page-title/index.umd.cjs +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.js +13 -18
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +4 -5
- package/lib/page-title/page-title/PageTitle.js +15 -19
- package/lib/page-title/page-title/PageTitle.ve.js +4 -7
- package/lib/page-title/style.css +2 -1
- package/lib/photo/index.js +174 -177
- package/lib/photo/index.umd.cjs +1 -1
- package/lib/photo/photo/Photo.js +72 -81
- package/lib/photo/photo/Photo.ve.js +21 -7
- package/lib/photo/photo-carousel/PhotoCarousel.js +36 -51
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +13 -9
- package/lib/photo/style.css +2 -1
- package/lib/product-bar/hooks/usePriorityPlus.js +88 -104
- package/lib/product-bar/index.js +372 -395
- package/lib/product-bar/index.umd.cjs +1 -1
- package/lib/product-bar/product-bar/ProductBar.js +77 -103
- package/lib/product-bar/product-bar/ProductBar.ve.js +46 -15
- package/lib/product-bar/product-bar-name/ProductBarName.js +37 -40
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +48 -70
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +4 -8
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +28 -26
- package/lib/product-bar/slack-link/SlackLink.js +26 -30
- package/lib/product-bar/slack-link/SlackLink.ve.js +4 -5
- package/lib/product-bar/style.css +2 -1
- package/lib/product-bar-vertical/index.js +240 -251
- package/lib/product-bar-vertical/index.umd.cjs +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +42 -61
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +53 -23
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +30 -42
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +71 -89
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +22 -29
- package/lib/product-bar-vertical/style.css +2 -1
- package/lib/progress-indicators/index.js +372 -255
- package/lib/progress-indicators/index.umd.cjs +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +66 -110
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +66 -13
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +34 -54
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +136 -8
- package/lib/progress-indicators/progress-ring/ProgressRing.js +45 -52
- package/lib/progress-indicators/style.css +2 -1
- package/lib/rich-text-editor/index.js +556 -582
- package/lib/rich-text-editor/index.umd.cjs +11 -11
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +29 -33
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +23 -37
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +13 -6
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +68 -77
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +21 -8
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +14 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +14 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +33 -27
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +79 -88
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +28 -36
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +195 -211
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +12 -12
- package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +20 -19
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +11 -15
- package/lib/rich-text-editor/style.css +2 -1
- package/lib/scrollable-container/ScrollableContainer.js +18 -27
- package/lib/scrollable-container/ScrollableContainer.ve.js +4 -4
- package/lib/scrollable-container/index.js +20 -27
- package/lib/scrollable-container/index.umd.cjs +1 -1
- package/lib/scrollable-container/style.css +2 -1
- package/lib/side-nav/index.js +190 -228
- package/lib/side-nav/index.umd.cjs +1 -1
- package/lib/side-nav/side-nav/SideNav.js +43 -60
- package/lib/side-nav/side-nav/SideNav.ve.js +22 -16
- package/lib/side-nav/side-nav/navContext.js +7 -7
- package/lib/side-nav/side-nav-header/SideNavHeader.js +14 -15
- package/lib/side-nav/side-nav-item/SideNavItem.js +68 -94
- package/lib/side-nav/side-nav-section/SideNavSection.js +16 -26
- package/lib/side-nav/style.css +2 -1
- package/lib/sorting-header/caret/caret.ve.js +13 -5
- package/lib/sorting-header/index.js +269 -251
- package/lib/sorting-header/index.umd.cjs +1 -1
- package/lib/sorting-header/sorting-header/SortingHeader.js +110 -124
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +30 -6
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -83
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -7
- package/lib/sorting-header/style.css +2 -1
- package/lib/style.css +2 -1
- package/lib/tabs/index.js +255 -201
- package/lib/tabs/index.umd.cjs +1 -1
- package/lib/tabs/style.css +2 -1
- package/lib/tabs/tab/Tab.js +24 -27
- package/lib/tabs/tab/Tab.ve.js +76 -6
- package/lib/tabs/tab-panel/TabPanel.js +16 -25
- package/lib/tabs/tabs/Tabs.js +101 -112
- package/lib/tabs/tabs/Tabs.ve.js +13 -11
- package/lib/tags/clickable-tag/ClickableTag.js +86 -90
- package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
- package/lib/tags/index.js +342 -199
- package/lib/tags/index.umd.cjs +1 -1
- package/lib/tags/split-tag/SplitTag.js +49 -30
- package/lib/tags/split-tag/SplitTag.ve.js +35 -9
- package/lib/tags/style.css +2 -1
- package/lib/tags/tag/Tag.js +42 -38
- package/lib/tags/tag/Tag.ve.js +41 -6
- package/lib/utils/cl.js +5 -5
- package/lib/zero-state/ZeroState.js +36 -29
- package/lib/zero-state/ZeroState.ve.js +29 -11
- package/lib/zero-state/index.js +103 -78
- package/lib/zero-state/index.umd.cjs +1 -1
- package/lib/zero-state/style.css +2 -1
- package/package.json +12 -12
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +0 -57
package/lib/list-bar/index.js
CHANGED
|
@@ -1,317 +1,321 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { Metadata as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { Tag as
|
|
5
|
-
import { lockToAnimationFrames as
|
|
6
|
-
import {
|
|
7
|
-
import { useWoodlandLanguage as
|
|
8
|
-
import { sprinkles as
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}) {
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
import { Metadata as t, PortalContext as n, addProps as r, cl as i, contentOf as a, modChildren as o, selectChildren as s } from "@sps-woodland/core";
|
|
3
|
+
import { Button as c } from "@sps-woodland/core/button";
|
|
4
|
+
import { Tag as l } from "@sps-woodland/core/tag";
|
|
5
|
+
import { lockToAnimationFrames as u } from "@spscommerce/utils";
|
|
6
|
+
import { SpsCheckbox as d, SpsDropdown as f, SpsForm as p, SpsInputGroup as m } from "@spscommerce/ds-react";
|
|
7
|
+
import { useWoodlandLanguage as h } from "@spscommerce/i18n";
|
|
8
|
+
import { sprinkles as g } from "@sps-woodland/tokens";
|
|
9
|
+
//#region src/list-bar/search-results-bar/SearchResultsBar.css.ts
|
|
10
|
+
var _ = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h0", v = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h1", y = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h4", b = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h5", x = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h6", S = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h7";
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/list-bar/search-results-bar/SearchResultsBar.tsx
|
|
13
|
+
function C({ results: t, selections: n, zeroStateText: r, onClear: i, className: a, children: o, ...s }) {
|
|
14
|
+
let { t: u } = h(), d = n ? Object.keys(n).reduce((e, t) => (n[t].length > 0 && (e[t] = n[t]), e), {}) : {};
|
|
15
|
+
return /* @__PURE__ */ e.createElement("div", {
|
|
16
|
+
className: v,
|
|
17
|
+
...s
|
|
18
|
+
}, t != null && /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h2" }, /* @__PURE__ */ e.createElement("span", null, u("searchResultsBar.results", { defaultValue: "Results:" })), /* @__PURE__ */ e.createElement(l, {
|
|
19
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h3",
|
|
20
|
+
kind: "info"
|
|
21
|
+
}, /* @__PURE__ */ e.createElement("span", null, t))), /* @__PURE__ */ e.createElement("div", { className: y }, Object.keys(d).length > 0 ? Object.keys(d).map((t, n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: t }, /* @__PURE__ */ e.createElement("span", {
|
|
22
|
+
key: n,
|
|
23
|
+
className: b
|
|
24
|
+
}, t, ":"), d[t].map((t, n) => /* @__PURE__ */ e.createElement(l, {
|
|
25
|
+
className: x,
|
|
26
|
+
key: n,
|
|
27
|
+
kind: "key"
|
|
28
|
+
}, /* @__PURE__ */ e.createElement("span", null, t))))) : /* @__PURE__ */ e.createElement("span", { className: "font-italic" }, r || u("searchResultsBar.noAdvancedSearchSelections", { defaultValue: "No Advanced Search Selections" }))), /* @__PURE__ */ e.createElement("div", { className: S }, /* @__PURE__ */ e.createElement(c, {
|
|
29
|
+
fill: !0,
|
|
30
|
+
noWrap: !0,
|
|
31
|
+
kind: "link",
|
|
32
|
+
onClick: i
|
|
33
|
+
}, u("searchResultsBar.clearResults", { defaultValue: "Clear Results" }))));
|
|
21
34
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
35
|
+
t.set(C, {
|
|
36
|
+
name: "Search Results Bar",
|
|
37
|
+
props: {
|
|
38
|
+
results: { type: "number | string | null" },
|
|
39
|
+
selections: { type: "{ [key: string]: string[] }" },
|
|
40
|
+
zeroStateText: { type: "string" },
|
|
41
|
+
onClear: { type: "() => void" }
|
|
42
|
+
}
|
|
30
43
|
});
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region ../../../node_modules/.pnpm/@vanilla-extract+recipes@0.2.5_@vanilla-extract+css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js
|
|
46
|
+
function w(e, t, n) {
|
|
47
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
48
|
+
value: n,
|
|
49
|
+
enumerable: !0,
|
|
50
|
+
configurable: !0,
|
|
51
|
+
writable: !0
|
|
52
|
+
}) : e[t] = n, e;
|
|
38
53
|
}
|
|
39
|
-
function
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
function T(e, t) {
|
|
55
|
+
var n = Object.keys(e);
|
|
56
|
+
if (Object.getOwnPropertySymbols) {
|
|
57
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
58
|
+
t && (r = r.filter(function(t) {
|
|
59
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
60
|
+
})), n.push.apply(n, r);
|
|
61
|
+
}
|
|
62
|
+
return n;
|
|
48
63
|
}
|
|
49
|
-
function
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
64
|
+
function E(e) {
|
|
65
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
66
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
67
|
+
t % 2 ? T(Object(n), !0).forEach(function(t) {
|
|
68
|
+
w(e, t, n[t]);
|
|
69
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T(Object(n)).forEach(function(t) {
|
|
70
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
return e;
|
|
59
74
|
}
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
(t) => t.type === b ? [
|
|
91
|
-
{
|
|
92
|
-
className: B(t.props.className, Be)
|
|
93
|
-
}
|
|
94
|
-
] : []
|
|
95
|
-
);
|
|
96
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, r);
|
|
75
|
+
var D = (e, t, n) => {
|
|
76
|
+
for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
|
|
77
|
+
return !0;
|
|
78
|
+
}, O = (e) => (t) => {
|
|
79
|
+
var n = e.defaultClassName, r = E(E({}, e.defaultVariants), t);
|
|
80
|
+
for (var i in r) {
|
|
81
|
+
var a = r[i] ?? e.defaultVariants[i];
|
|
82
|
+
if (a != null) {
|
|
83
|
+
var o = a;
|
|
84
|
+
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
85
|
+
var s = e.variantClassNames[i][o];
|
|
86
|
+
s && (n += " " + s);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
for (var [c, l] of e.compoundVariants) D(c, r, e.defaultVariants) && (n += " " + l);
|
|
90
|
+
return n;
|
|
91
|
+
}, k = O({
|
|
92
|
+
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv1",
|
|
93
|
+
variantClassNames: { pinned: {
|
|
94
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv2",
|
|
95
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv3"
|
|
96
|
+
} },
|
|
97
|
+
defaultVariants: { pinned: !1 },
|
|
98
|
+
compoundVariants: []
|
|
99
|
+
}), A = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv4", j = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv6", M = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvb", N = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvc", P = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd", F = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwve", I = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvf";
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region src/list-bar/list-bar/InputGroupWrapper.tsx
|
|
102
|
+
function L({ children: t }) {
|
|
103
|
+
let n = o(t, (e) => e.type === c ? [{ className: i(e.props.className, F) }] : []);
|
|
104
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, n);
|
|
97
105
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/list-bar/list-bar/ListBarSearch.tsx
|
|
108
|
+
function R({ onSubmit: t, children: n }) {
|
|
109
|
+
function r(e) {
|
|
110
|
+
e.preventDefault(), t && t(e);
|
|
111
|
+
}
|
|
112
|
+
return /* @__PURE__ */ e.createElement("form", {
|
|
113
|
+
onSubmit: r,
|
|
114
|
+
className: N,
|
|
115
|
+
noValidate: !0
|
|
116
|
+
}, /* @__PURE__ */ e.createElement(m, { className: P }, /* @__PURE__ */ e.createElement(L, null, n)));
|
|
106
117
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
onSubmit: { type: "FormEventHandler" }
|
|
111
|
-
}
|
|
118
|
+
t.set(R, {
|
|
119
|
+
name: "ListBarSearch",
|
|
120
|
+
props: { onSubmit: { type: "FormEventHandler" } }
|
|
112
121
|
});
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}) {
|
|
116
|
-
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/list-bar/list-bar/ListBarSearchInfo.tsx
|
|
124
|
+
function z({ children: t }) {
|
|
125
|
+
return /* @__PURE__ */ e.createElement("div", null, t);
|
|
117
126
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
function
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
custom: (l) => f.isWoodlandComponent(l) && f.get(l).name === "Tabs"
|
|
189
|
-
}
|
|
190
|
-
]);
|
|
191
|
-
return /* @__PURE__ */ e.createElement("div", { className: B(w), ref: u, ...S }, /* @__PURE__ */ e.createElement("div", { className: fe({ pinned: m }), ref: y }, T ? U(T, { context: "container" }) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: he }, !!n && /* @__PURE__ */ e.createElement("div", { className: ve }, /* @__PURE__ */ e.createElement(
|
|
192
|
-
ae,
|
|
193
|
-
{
|
|
194
|
-
checked: i,
|
|
195
|
-
disabled: _,
|
|
196
|
-
indeterminate: c,
|
|
197
|
-
onChange: () => {
|
|
198
|
-
p?.(!i);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
)), /* @__PURE__ */ e.createElement("div", { className: ye }, !t && F, !t && G, F.length > 0 && a && /* @__PURE__ */ e.createElement(
|
|
202
|
-
"div",
|
|
203
|
-
{
|
|
204
|
-
className: ge,
|
|
205
|
-
"data-testid": `${O}__advanced-search`
|
|
206
|
-
},
|
|
207
|
-
/* @__PURE__ */ e.createElement("div", { className: be }, /* @__PURE__ */ e.createElement(b, { kind: "link", onClick: D }, h ?? M("listToolbar.advancedSearchToggle", { defaultValue: "Advanced Search" }))),
|
|
208
|
-
(a.enteredFields || 0) > 0 && /* @__PURE__ */ e.createElement(N, { className: we, kind: "info", "data-testid": `${O}__entered-fields` }, /* @__PURE__ */ e.createElement("span", null, a.enteredFields))
|
|
209
|
-
), t && /* @__PURE__ */ e.createElement("div", { className: Se }, t)), m ? /* @__PURE__ */ e.createElement("div", { className: j }, /* @__PURE__ */ e.createElement(X.Provider, { value: { fixed: !0 } }, V)) : /* @__PURE__ */ e.createElement("div", { className: j }, V)), /* @__PURE__ */ e.createElement("div", { className: ne }, (!m || o) && H))));
|
|
127
|
+
t.set(z, { name: "ListBarSearchInfo" });
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/list-bar/list-bar/ListBar.tsx
|
|
130
|
+
function B({ advancedSearch: a, onToggleAdvancedSearch: o, title: f, onToolbarPinned: p, selectable: m, isSelected: g, isIndeterminate: v, disableSelection: y = !1, onSelectionChange: b, pinResultsBar: x, pinToolbar: S = !0, advancedSearchToggleText: w, children: T, className: E, ...D }) {
|
|
131
|
+
let { t: O } = h(), N = null, [P, F] = e.useState(!1), I = e.useRef(null), L = e.useRef(null), { "data-testid": B } = D, V = u(() => {
|
|
132
|
+
if (I.current && S) {
|
|
133
|
+
let e = I.current.getBoundingClientRect();
|
|
134
|
+
if (!e) return;
|
|
135
|
+
let t = Math.round(e.height), n = Math.round(e.top), r = Math.round(window.scrollY);
|
|
136
|
+
t > 0 && n <= 60 && (typeof N == "number" ? r <= N && (N = null, F(!1)) : (N = Math.round(window.scrollY), F(!0), o && o(!1)));
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
e.useEffect(() => (window.addEventListener("scroll", V), window.addEventListener("resize", V), () => {
|
|
140
|
+
window.removeEventListener("scroll", V), window.removeEventListener("resize", V);
|
|
141
|
+
}), []);
|
|
142
|
+
let H = e.useRef();
|
|
143
|
+
e.useLayoutEffect(() => {
|
|
144
|
+
if (L.current && I.current && S) {
|
|
145
|
+
if (P && H.current) L.current.style.height = H.current.height, L.current.style.width = H.current.width, L.current.style.marginBottom = H.current.marginBottom;
|
|
146
|
+
else if (!P) {
|
|
147
|
+
L.current.style.height = "", L.current.style.width = "", L.current.style.marginBottom = "";
|
|
148
|
+
let e = window.getComputedStyle(I.current);
|
|
149
|
+
H.current = {
|
|
150
|
+
height: e.height,
|
|
151
|
+
width: e.width,
|
|
152
|
+
marginBottom: e.marginBottom
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}, [P]);
|
|
157
|
+
function U() {
|
|
158
|
+
o && o(!a?.isOpen);
|
|
159
|
+
}
|
|
160
|
+
function W(e) {
|
|
161
|
+
p && p(e);
|
|
162
|
+
}
|
|
163
|
+
e.useEffect(() => {
|
|
164
|
+
W(P);
|
|
165
|
+
}, [P]);
|
|
166
|
+
let [G, K, q, [J], Y] = s(T, [
|
|
167
|
+
{ type: R },
|
|
168
|
+
{ type: z },
|
|
169
|
+
{ type: C },
|
|
170
|
+
{ custom: (e) => t.isWoodlandComponent(e) && t.get(e).name === "Tabs" }
|
|
171
|
+
]);
|
|
172
|
+
return /* @__PURE__ */ e.createElement("div", {
|
|
173
|
+
className: i(E),
|
|
174
|
+
ref: L,
|
|
175
|
+
...D
|
|
176
|
+
}, /* @__PURE__ */ e.createElement("div", {
|
|
177
|
+
className: k({ pinned: P }),
|
|
178
|
+
ref: I
|
|
179
|
+
}, J ? r(J, { context: "container" }) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: A }, !!m && /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv5" }, /* @__PURE__ */ e.createElement(d, {
|
|
180
|
+
checked: g,
|
|
181
|
+
disabled: y,
|
|
182
|
+
indeterminate: v,
|
|
183
|
+
onChange: () => {
|
|
184
|
+
b?.(!g);
|
|
185
|
+
}
|
|
186
|
+
})), /* @__PURE__ */ e.createElement("div", { className: j }, !f && G, !f && K, G.length > 0 && a && /* @__PURE__ */ e.createElement("div", {
|
|
187
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv7",
|
|
188
|
+
"data-testid": `${B}__advanced-search`
|
|
189
|
+
}, /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv8" }, /* @__PURE__ */ e.createElement(c, {
|
|
190
|
+
kind: "link",
|
|
191
|
+
onClick: U
|
|
192
|
+
}, w ?? O("listToolbar.advancedSearchToggle", { defaultValue: "Advanced Search" }))), (a.enteredFields || 0) > 0 && /* @__PURE__ */ e.createElement(l, {
|
|
193
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv9",
|
|
194
|
+
kind: "info",
|
|
195
|
+
"data-testid": `${B}__entered-fields`
|
|
196
|
+
}, /* @__PURE__ */ e.createElement("span", null, a.enteredFields))), f && /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwva" }, f)), P ? /* @__PURE__ */ e.createElement("div", { className: M }, /* @__PURE__ */ e.createElement(n.Provider, { value: { fixed: !0 } }, Y)) : /* @__PURE__ */ e.createElement("div", { className: M }, Y)), /* @__PURE__ */ e.createElement("div", { className: _ }, (!P || x) && q))));
|
|
210
197
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
198
|
+
t.set(B, {
|
|
199
|
+
name: "ListBar",
|
|
200
|
+
props: {
|
|
201
|
+
activeTab: { type: "Tab" },
|
|
202
|
+
advancedSearch: { type: "{ isOpen: boolean, enteredFields: number }" },
|
|
203
|
+
onToggleAdvancedSearch: { type: "(boolean) => void" },
|
|
204
|
+
title: { type: "string" },
|
|
205
|
+
onToolbarPinned: { type: "(boolean) => void" },
|
|
206
|
+
selectable: { type: "boolean" },
|
|
207
|
+
disableSelection: {
|
|
208
|
+
type: "boolean",
|
|
209
|
+
default: "false"
|
|
210
|
+
},
|
|
211
|
+
isSelected: { type: "boolean" },
|
|
212
|
+
isIndeterminate: { type: "boolean" },
|
|
213
|
+
onSelectionChange: { type: "(boolean) => void" },
|
|
214
|
+
pinResultsBar: { type: "boolean" },
|
|
215
|
+
pinToolbar: {
|
|
216
|
+
type: "boolean",
|
|
217
|
+
default: "true"
|
|
218
|
+
},
|
|
219
|
+
advancedSearchToggleText: { type: "string" }
|
|
220
|
+
}
|
|
228
221
|
});
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
te,
|
|
245
|
-
{
|
|
246
|
-
className: B(n, Ne),
|
|
247
|
-
icon: r?.icon || s?.icon,
|
|
248
|
-
label: r?.label || s?.label,
|
|
249
|
-
options: c
|
|
250
|
-
}
|
|
251
|
-
);
|
|
222
|
+
//#endregion
|
|
223
|
+
//#region src/list-bar/list-bar/ListBarSortBy.tsx
|
|
224
|
+
function V({ options: t, activeOption: n, onSortChange: r, defaultOption: a, className: o, ...s }) {
|
|
225
|
+
let c = (t || []).map((e) => [{
|
|
226
|
+
label: e.label,
|
|
227
|
+
icon: e.icon
|
|
228
|
+
}, () => {
|
|
229
|
+
r && r(e);
|
|
230
|
+
}]);
|
|
231
|
+
return /* @__PURE__ */ e.createElement(f, {
|
|
232
|
+
className: i(o, I),
|
|
233
|
+
icon: n?.icon || a?.icon,
|
|
234
|
+
label: n?.label || a?.label,
|
|
235
|
+
options: c
|
|
236
|
+
});
|
|
252
237
|
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
238
|
+
t.set(V, {
|
|
239
|
+
name: "ListBarSortBy",
|
|
240
|
+
props: {
|
|
241
|
+
options: { type: "SortOption[]" },
|
|
242
|
+
activeOption: { type: "SortOption" },
|
|
243
|
+
onSortChange: { type: "(option: SortOption) => void" },
|
|
244
|
+
defaultOption: { type: "SortOption" }
|
|
245
|
+
}
|
|
261
246
|
});
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
247
|
+
//#endregion
|
|
248
|
+
//#region src/list-bar/advanced-search/AdvancedSearch.css.ts
|
|
249
|
+
var H = O({
|
|
250
|
+
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc0",
|
|
251
|
+
variantClassNames: {
|
|
252
|
+
open: {
|
|
253
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc1",
|
|
254
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc2"
|
|
255
|
+
},
|
|
256
|
+
compact: {
|
|
257
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc3",
|
|
258
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc4"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
defaultVariants: {
|
|
262
|
+
open: !1,
|
|
263
|
+
compact: !1
|
|
264
|
+
},
|
|
265
|
+
compoundVariants: []
|
|
266
|
+
}), U = O({
|
|
267
|
+
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc5",
|
|
268
|
+
variantClassNames: { open: {
|
|
269
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc6",
|
|
270
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc7"
|
|
271
|
+
} },
|
|
272
|
+
defaultVariants: { open: !0 },
|
|
273
|
+
compoundVariants: []
|
|
274
|
+
}), W = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc8", G = "pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc9";
|
|
275
|
+
//#endregion
|
|
276
|
+
//#region src/list-bar/advanced-search/AdvancedSearch.tsx
|
|
277
|
+
function K({ formArray: t, formGroup: n, formMeta: r, onSubmit: o, controlsDisabled: s, footerLinks: l, isOpen: u, onClear: d, submitButtonText: f, compact: m, className: _, children: v, ...y }) {
|
|
278
|
+
let { t: b } = h();
|
|
279
|
+
function x() {
|
|
280
|
+
d && d();
|
|
281
|
+
}
|
|
282
|
+
return /* @__PURE__ */ e.createElement("div", {
|
|
283
|
+
className: i(H({
|
|
284
|
+
open: u,
|
|
285
|
+
compact: m
|
|
286
|
+
})),
|
|
287
|
+
...y
|
|
288
|
+
}, /* @__PURE__ */ e.createElement(p, {
|
|
289
|
+
onSubmit: o,
|
|
290
|
+
formArray: t,
|
|
291
|
+
formGroup: n,
|
|
292
|
+
formMeta: r
|
|
293
|
+
}, /* @__PURE__ */ e.createElement("div", { className: U({ open: u }) }, v), /* @__PURE__ */ e.createElement("div", { className: W }, l && /* @__PURE__ */ e.createElement("div", { id: "footer_links" }, a(l)), /* @__PURE__ */ e.createElement("div", { className: G }, /* @__PURE__ */ e.createElement(c, {
|
|
294
|
+
kind: "default",
|
|
295
|
+
type: "button",
|
|
296
|
+
className: g({ mr: "sm" }),
|
|
297
|
+
onClick: x,
|
|
298
|
+
disabled: s
|
|
299
|
+
}, b("advancedSearch.clear", { defaultValue: "Clear Fields" })), /* @__PURE__ */ e.createElement(c, {
|
|
300
|
+
kind: "key",
|
|
301
|
+
type: "submit",
|
|
302
|
+
disabled: s
|
|
303
|
+
}, f ?? b("advancedSearch.search", { defaultValue: "Search" }))))));
|
|
293
304
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
t.set(K, {
|
|
306
|
+
name: "Advanced Search",
|
|
307
|
+
props: {
|
|
308
|
+
formArray: { type: "SpsFormArray<any>" },
|
|
309
|
+
formGroup: { type: "SpsFormGroup" },
|
|
310
|
+
formMeta: { type: "SpsFormSetMeta<any>" },
|
|
311
|
+
onSubmit: { type: "React.FormEventHandler" },
|
|
312
|
+
controlsDisabled: { type: "boolean" },
|
|
313
|
+
footerLinks: { type: "React.ReactNode | (() => React.ReactNode)" },
|
|
314
|
+
isOpen: { type: "boolean" },
|
|
315
|
+
onClear: { type: "() => void" },
|
|
316
|
+
submitButtonText: { type: "string" },
|
|
317
|
+
compact: { type: "boolean" }
|
|
318
|
+
}
|
|
308
319
|
});
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
ze as InputGroupWrapper,
|
|
312
|
-
Ce as ListBar,
|
|
313
|
-
I as ListBarSearch,
|
|
314
|
-
x as ListBarSearchInfo,
|
|
315
|
-
Re as ListBarSortBy,
|
|
316
|
-
A as SearchResultsBar
|
|
317
|
-
};
|
|
320
|
+
//#endregion
|
|
321
|
+
export { K as AdvancedSearch, L as InputGroupWrapper, B as ListBar, R as ListBarSearch, z as ListBarSearchInfo, V as ListBarSortBy, C as SearchResultsBar };
|