@oliasoft-open-source/react-ui-library 4.0.0-beta-68 → 4.0.0-beta-70
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/assets/{index-226f11bb.css → index-be5ba6ff.css} +128 -126
- package/dist/assets/{index-b8aef5be.js → index-f7563196.js} +70 -113
- package/dist/global.css +128 -126
- package/dist/index.html +1 -1
- package/dist/index.js +118 -177
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-9720e19b.js → Color-6VNJS4EI-d1b94c61.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-7d37fbdb.js → DocsRenderer-NNNQARDV-fcb91ebc.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-7e5c6052.js → WithTooltip-4HIR6TLV-6ac4a41c.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-1694fc63.js → accordion.stories-94ed1e59.js} +1 -1
- package/dist/storybook/assets/{actions-53fa4699.js → actions-2d4e1c8e.js} +1 -1
- package/dist/storybook/assets/{actions.stories-bb18c924.js → actions.stories-81a7cb7a.js} +1 -1
- package/dist/storybook/assets/{afe.stories-2216b4e1.js → afe.stories-9cd4e73f.js} +1 -1
- package/dist/storybook/assets/{badge.stories-a81600c7.js → badge.stories-5ce7957f.js} +1 -1
- package/dist/storybook/assets/{blowout.stories-8c2be2ab.js → blowout.stories-5818edf3.js} +1 -1
- package/dist/storybook/assets/{button-cb591f08.js → button-74c97e4a.js} +1 -1
- package/dist/storybook/assets/{button-group-a5fbadf9.js → button-group-fa895d0c.js} +1 -1
- package/dist/storybook/assets/{button-group.stories-2afe392a.js → button-group.stories-22f072b7.js} +1 -1
- package/dist/storybook/assets/{button.stories-6b52b4cd.js → button.stories-531033a8.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-0a109bbc.js → buttons-and-links-88c3c620.js} +1 -1
- package/dist/storybook/assets/{casing-loads.stories-76f17dfc.js → casing-loads.stories-1296b4e2.js} +1 -1
- package/dist/storybook/assets/{cell.stories-6da6c15f.js → cell.stories-7ff2166a.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-b1156b8d.js → chunk-HLWAVYOI-f59644ec.js} +1 -1
- package/dist/storybook/assets/color-49d98d66.js +25 -0
- package/dist/storybook/assets/{column.stories-350ea350.js → column.stories-ad365376.js} +1 -1
- package/dist/storybook/assets/{dialog-3a6cce13.js → dialog-795008dd.js} +1 -1
- package/dist/storybook/assets/{drawer-0893e7f9.js → drawer-3f83a4d2.js} +1 -1
- package/dist/storybook/assets/{drawer.stories-6b4f9958.js → drawer.stories-89a4e1bb.js} +1 -1
- package/dist/storybook/assets/{empty.stories-6bfc69b2.js → empty.stories-e0e3ac78.js} +1 -1
- package/dist/storybook/assets/file-input.stories-0e546123.js +55 -0
- package/dist/storybook/assets/{flex.stories-25588964.js → flex.stories-9d4c08a1.js} +1 -1
- package/dist/storybook/assets/{footer.stories-de732201.js → footer.stories-54eed51c.js} +1 -1
- package/dist/storybook/assets/{form.stories-c2080117.js → form.stories-d2a451c4.js} +1 -1
- package/dist/storybook/assets/{formation.stories-1f1a8bea.js → formation.stories-02d531b5.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-edbd8b15.js → formatter-SWP5E3XI-dd19a4ce.js} +1 -1
- package/dist/storybook/assets/iframe-74f265ee.js +1 -0
- package/dist/storybook/assets/{index-7b3adecc.js → index-1ce706ae.js} +4 -4
- package/dist/storybook/assets/{input-group.stories-c0484ea3.js → input-group.stories-da8fc871.js} +1 -1
- package/dist/storybook/assets/{input-validation-4c8d810e.js → input-validation-2139dd33.js} +1 -1
- package/dist/storybook/assets/{inputs-0ed869d6.js → inputs-83a350ec.js} +1 -1
- package/dist/storybook/assets/{layout-forms-862ab444.js → layout-forms-472df822.js} +1 -1
- package/dist/storybook/assets/{layout-general-9967a173.js → layout-general-094cc503.js} +1 -1
- package/dist/storybook/assets/{list-e5f12e64.js → list-0dc3df85.js} +1 -1
- package/dist/storybook/assets/{list-heading-845c290a.js → list-heading-88cc8a9b.js} +1 -1
- package/dist/storybook/assets/list-heading-d7e578fa.css +1 -0
- package/dist/storybook/assets/{list.stories-31209849.js → list.stories-0f30d0b5.js} +1 -1
- package/dist/storybook/assets/{list.stories-data-4dcea08a.js → list.stories-data-390b28e1.js} +1 -1
- package/dist/storybook/assets/{loader.stories-ad42acdb.js → loader.stories-6107832a.js} +1 -1
- package/dist/storybook/assets/{menu.stories-db02e5b1.js → menu.stories-7a422ddf.js} +1 -1
- package/dist/storybook/assets/message-7e627e60.js +1 -0
- package/dist/storybook/assets/message-b56c617e.css +1 -0
- package/dist/storybook/assets/{message.stories-d17f4758.js → message.stories-f41a0c22.js} +1 -1
- package/dist/storybook/assets/{modal.stories-ecbef0c9.js → modal.stories-397e2742.js} +1 -1
- package/dist/storybook/assets/{number-input.stories-1d84f9ce.js → number-input.stories-35e68195.js} +1 -1
- package/dist/storybook/assets/{option-dropdown.stories-7591d25d.js → option-dropdown.stories-5030bdb8.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-91619e32.js → padding-and-spacing-79dc7ab5.js} +1 -1
- package/dist/storybook/assets/{page.stories-2d32941d.js → page.stories-f1dbfb8f.js} +1 -1
- package/dist/storybook/assets/{pagination-9bf8f6d8.js → pagination-1770c959.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-58ea6b5b.js → pagination.stories-30777543.js} +1 -1
- package/dist/storybook/assets/pop-confirm.stories-2cec5a7a.js +7 -0
- package/dist/storybook/assets/{popover-8eb441fd.js → popover-06e375a5.js} +1 -1
- package/dist/storybook/assets/{popover.stories-ac47f128.js → popover.stories-280851b1.js} +1 -1
- package/dist/storybook/assets/preview-19a3c448.js +1 -0
- package/dist/storybook/assets/{preview-346ae2ce.js → preview-51964541.js} +2 -2
- package/dist/storybook/assets/{projects.stories-0518d75c.js → projects.stories-0140f7c2.js} +1 -1
- package/dist/storybook/assets/{reservoirs.stories-2616a82f.js → reservoirs.stories-c919669c.js} +1 -1
- package/dist/storybook/assets/{rich-text-input.stories-55c3086c.js → rich-text-input.stories-0c18b94e.js} +1 -1
- package/dist/storybook/assets/row-699188f3.js +39 -0
- package/dist/storybook/assets/{row.stories-0844f68b.js → row.stories-409d804e.js} +1 -1
- package/dist/storybook/assets/{select-1b2bde07.js → select-27b9c44f.js} +1 -1
- package/dist/storybook/assets/{select.stories-35096b9f.js → select.stories-ba877386.js} +1 -1
- package/dist/storybook/assets/{side-bar-5db596f8.js → side-bar-3f68848d.js} +1 -1
- package/dist/storybook/assets/{side-bar.stories-7d22760a.js → side-bar.stories-e9280e56.js} +1 -1
- package/dist/storybook/assets/{site.stories-f96d3d4f.js → site.stories-dafa14f4.js} +1 -1
- package/dist/storybook/assets/{slider-863e5ef6.js → slider-160e2152.js} +1 -1
- package/dist/storybook/assets/{slider.stories-0bfd89dd.js → slider.stories-79ab0e97.js} +1 -1
- package/dist/storybook/assets/{spacer.stories-6ca38a60.js → spacer.stories-97086558.js} +1 -1
- package/dist/storybook/assets/spinner-a81ebe38.js +1 -0
- package/dist/storybook/assets/{spinner.stories-e6d9fe34.js → spinner.stories-07039a8c.js} +2 -2
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-5695db48.js → syntaxhighlighter-NMPM6SWI-00f4f9b0.js} +1 -1
- package/dist/storybook/assets/{table-3a28ed27.js → table-b9516260.js} +1 -1
- package/dist/storybook/assets/{table.stories-a4f6c42f.js → table.stories-140954fe.js} +1 -1
- package/dist/storybook/assets/{table.stories-data-082f441e.js → table.stories-data-aefdf55f.js} +1 -1
- package/dist/storybook/assets/{textarea-eef180d9.js → textarea-54dd1c9a.js} +1 -1
- package/dist/storybook/assets/{textarea.stories-4182caf6.js → textarea.stories-4b85aa60.js} +1 -1
- package/dist/storybook/assets/{title.stories-9b98e384.js → title.stories-a2850e95.js} +1 -1
- package/dist/storybook/assets/toaster-819866ea.js +1 -0
- package/dist/storybook/assets/toaster.stories-a56ac738.js +34 -0
- package/dist/storybook/assets/toggle-35349f40.css +1 -0
- package/dist/storybook/assets/{toggle-fc36615a.js → toggle-bb34b2a2.js} +1 -1
- package/dist/storybook/assets/{toggle.stories-7166588b.js → toggle.stories-b771ed81.js} +1 -1
- package/dist/storybook/assets/{tooltip.test-case.stories-864dec04.js → tooltip.test-case.stories-ef78bd26.js} +1 -1
- package/dist/storybook/assets/{top-bar-c1052c5e.js → top-bar-a84b9365.js} +1 -1
- package/dist/storybook/assets/{top-bar.stories-7bac433c.js → top-bar.stories-e93330f0.js} +1 -1
- package/dist/storybook/assets/{top-bar.testcase.stories-c3b85a10.js → top-bar.testcase.stories-3a824a14.js} +1 -1
- package/dist/storybook/assets/{tree.stories-b22afcbb.js → tree.stories-b5e23d09.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/project.json +1 -1
- package/package.json +1 -1
- package/dist/storybook/assets/color-630df727.js +0 -25
- package/dist/storybook/assets/file-input.stories-a5332034.js +0 -55
- package/dist/storybook/assets/iframe-b7409b71.js +0 -1
- package/dist/storybook/assets/list-heading-0cb98ab2.css +0 -1
- package/dist/storybook/assets/pop-confirm.stories-8b29ae51.js +0 -7
- package/dist/storybook/assets/preview-7d6307c0.js +0 -1
- package/dist/storybook/assets/row-2f12e486.js +0 -39
- package/dist/storybook/assets/spinner-cb92a546.js +0 -1
- package/dist/storybook/assets/toaster-13f753db.js +0 -1
- package/dist/storybook/assets/toaster.stories-3115d596.js +0 -34
- package/dist/storybook/assets/toggle-239108ba.css +0 -1
- package/dist/storybook/assets/types-6770f0e8.js +0 -1
- package/dist/storybook/assets/types-966a8a40.css +0 -1
package/dist/index.js
CHANGED
|
@@ -11414,23 +11414,16 @@ const spinner = "_spinner_156m4_1";
|
|
|
11414
11414
|
const styles$M = {
|
|
11415
11415
|
spinner
|
|
11416
11416
|
};
|
|
11417
|
-
const Spinner$1 = ({
|
|
11418
|
-
|
|
11417
|
+
const Spinner$1 = ({
|
|
11418
|
+
small: small2 = false,
|
|
11419
|
+
colored: colored2 = false,
|
|
11420
|
+
dark: dark2 = false,
|
|
11421
|
+
tiny = false
|
|
11422
|
+
}) => {
|
|
11423
|
+
const color2 = colored2 ? "var(--color-text-primary)" : dark2 ? "var(--color-text-muted)" : "white";
|
|
11419
11424
|
const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
|
|
11420
11425
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$M.spinner, style: { color: color2, fontSize } });
|
|
11421
11426
|
};
|
|
11422
|
-
Spinner$1.defaultProps = {
|
|
11423
|
-
colored: false,
|
|
11424
|
-
dark: false,
|
|
11425
|
-
small: false,
|
|
11426
|
-
tiny: false
|
|
11427
|
-
};
|
|
11428
|
-
Spinner$1.propTypes = {
|
|
11429
|
-
colored: PropTypes.bool,
|
|
11430
|
-
dark: PropTypes.bool,
|
|
11431
|
-
small: PropTypes.bool,
|
|
11432
|
-
tiny: PropTypes.bool
|
|
11433
|
-
};
|
|
11434
11427
|
var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
|
|
11435
11428
|
ButtonType2["SUBMIT"] = "submit";
|
|
11436
11429
|
ButtonType2["BUTTON"] = "button";
|
|
@@ -26105,43 +26098,43 @@ var InfiniteScroll = (
|
|
|
26105
26098
|
return InfiniteScroll2;
|
|
26106
26099
|
}(Component$1)
|
|
26107
26100
|
);
|
|
26108
|
-
const inputInTable$8 = "
|
|
26109
|
-
const inputHover$8 = "
|
|
26110
|
-
const inputFocus$8 = "
|
|
26111
|
-
const inputError$8 = "
|
|
26112
|
-
const inputWarning$8 = "
|
|
26113
|
-
const inputDisabled$8 = "
|
|
26114
|
-
const hideScrollbars$8 = "
|
|
26115
|
-
const header$1 = "
|
|
26116
|
-
const headerTitle = "
|
|
26117
|
-
const heading$3 = "
|
|
26118
|
-
const itemHeader = "
|
|
26119
|
-
const narrow = "
|
|
26120
|
-
const stickyHeader = "
|
|
26121
|
-
const title$3 = "
|
|
26122
|
-
const name = "
|
|
26123
|
-
const iconTooltipMargin = "
|
|
26124
|
-
const bold = "
|
|
26125
|
-
const toggleNarrow = "
|
|
26126
|
-
const drag$1 = "
|
|
26127
|
-
const list$1 = "
|
|
26128
|
-
const bordered$1 = "
|
|
26129
|
-
const item$4 = "
|
|
26130
|
-
const action = "
|
|
26131
|
-
const active$3 = "
|
|
26132
|
-
const indented = "
|
|
26133
|
-
const disabled$5 = "
|
|
26134
|
-
const label$6 = "
|
|
26135
|
-
const details$2 = "
|
|
26136
|
-
const metadata = "
|
|
26137
|
-
const itemContent = "
|
|
26138
|
-
const indentIcon = "
|
|
26139
|
-
const expandIcon = "
|
|
26140
|
-
const expanded = "
|
|
26141
|
-
const right$4 = "
|
|
26142
|
-
const actions = "
|
|
26143
|
-
const scrollableList = "
|
|
26144
|
-
const hideScrollbar = "
|
|
26101
|
+
const inputInTable$8 = "_inputInTable_1jod2_1";
|
|
26102
|
+
const inputHover$8 = "_inputHover_1jod2_13";
|
|
26103
|
+
const inputFocus$8 = "_inputFocus_1jod2_18";
|
|
26104
|
+
const inputError$8 = "_inputError_1jod2_25";
|
|
26105
|
+
const inputWarning$8 = "_inputWarning_1jod2_26";
|
|
26106
|
+
const inputDisabled$8 = "_inputDisabled_1jod2_61";
|
|
26107
|
+
const hideScrollbars$8 = "_hideScrollbars_1jod2_67";
|
|
26108
|
+
const header$1 = "_header_1jod2_77";
|
|
26109
|
+
const headerTitle = "_headerTitle_1jod2_77";
|
|
26110
|
+
const heading$3 = "_heading_1jod2_78";
|
|
26111
|
+
const itemHeader = "_itemHeader_1jod2_78";
|
|
26112
|
+
const narrow = "_narrow_1jod2_81";
|
|
26113
|
+
const stickyHeader = "_stickyHeader_1jod2_85";
|
|
26114
|
+
const title$3 = "_title_1jod2_96";
|
|
26115
|
+
const name = "_name_1jod2_102";
|
|
26116
|
+
const iconTooltipMargin = "_iconTooltipMargin_1jod2_105";
|
|
26117
|
+
const bold = "_bold_1jod2_108";
|
|
26118
|
+
const toggleNarrow = "_toggleNarrow_1jod2_117";
|
|
26119
|
+
const drag$1 = "_drag_1jod2_135";
|
|
26120
|
+
const list$1 = "_list_1jod2_154";
|
|
26121
|
+
const bordered$1 = "_bordered_1jod2_158";
|
|
26122
|
+
const item$4 = "_item_1jod2_78";
|
|
26123
|
+
const action = "_action_1jod2_191";
|
|
26124
|
+
const active$3 = "_active_1jod2_194";
|
|
26125
|
+
const indented = "_indented_1jod2_201";
|
|
26126
|
+
const disabled$5 = "_disabled_1jod2_214";
|
|
26127
|
+
const label$6 = "_label_1jod2_225";
|
|
26128
|
+
const details$2 = "_details_1jod2_236";
|
|
26129
|
+
const metadata = "_metadata_1jod2_237";
|
|
26130
|
+
const itemContent = "_itemContent_1jod2_245";
|
|
26131
|
+
const indentIcon = "_indentIcon_1jod2_252";
|
|
26132
|
+
const expandIcon = "_expandIcon_1jod2_257";
|
|
26133
|
+
const expanded = "_expanded_1jod2_264";
|
|
26134
|
+
const right$4 = "_right_1jod2_267";
|
|
26135
|
+
const actions = "_actions_1jod2_275";
|
|
26136
|
+
const scrollableList = "_scrollableList_1jod2_280";
|
|
26137
|
+
const hideScrollbar = "_hideScrollbar_1jod2_67";
|
|
26145
26138
|
const listStyles = {
|
|
26146
26139
|
inputInTable: inputInTable$8,
|
|
26147
26140
|
inputHover: inputHover$8,
|
|
@@ -26632,27 +26625,27 @@ const List = ({
|
|
|
26632
26625
|
}
|
|
26633
26626
|
);
|
|
26634
26627
|
};
|
|
26635
|
-
const inputInTable$7 = "
|
|
26636
|
-
const inputHover$7 = "
|
|
26637
|
-
const inputFocus$7 = "
|
|
26638
|
-
const inputError$7 = "
|
|
26639
|
-
const inputWarning$7 = "
|
|
26640
|
-
const inputDisabled$7 = "
|
|
26641
|
-
const hideScrollbars$7 = "
|
|
26642
|
-
const container$1 = "
|
|
26643
|
-
const block$1 = "
|
|
26644
|
-
const info = "
|
|
26645
|
-
const success = "
|
|
26646
|
-
const warning$6 = "
|
|
26647
|
-
const error$4 = "
|
|
26648
|
-
const content$1 = "
|
|
26649
|
-
const heading$2 = "
|
|
26650
|
-
const icon$3 = "
|
|
26651
|
-
const dismiss$1 = "
|
|
26652
|
-
const absolute = "
|
|
26653
|
-
const legendToggle = "
|
|
26654
|
-
const detailsText = "
|
|
26655
|
-
const footer$1 = "
|
|
26628
|
+
const inputInTable$7 = "_inputInTable_s49vk_1";
|
|
26629
|
+
const inputHover$7 = "_inputHover_s49vk_13";
|
|
26630
|
+
const inputFocus$7 = "_inputFocus_s49vk_18";
|
|
26631
|
+
const inputError$7 = "_inputError_s49vk_25";
|
|
26632
|
+
const inputWarning$7 = "_inputWarning_s49vk_26";
|
|
26633
|
+
const inputDisabled$7 = "_inputDisabled_s49vk_61";
|
|
26634
|
+
const hideScrollbars$7 = "_hideScrollbars_s49vk_67";
|
|
26635
|
+
const container$1 = "_container_s49vk_83";
|
|
26636
|
+
const block$1 = "_block_s49vk_101";
|
|
26637
|
+
const info = "_info_s49vk_104";
|
|
26638
|
+
const success = "_success_s49vk_108";
|
|
26639
|
+
const warning$6 = "_warning_s49vk_112";
|
|
26640
|
+
const error$4 = "_error_s49vk_116";
|
|
26641
|
+
const content$1 = "_content_s49vk_120";
|
|
26642
|
+
const heading$2 = "_heading_s49vk_124";
|
|
26643
|
+
const icon$3 = "_icon_s49vk_131";
|
|
26644
|
+
const dismiss$1 = "_dismiss_s49vk_139";
|
|
26645
|
+
const absolute = "_absolute_s49vk_143";
|
|
26646
|
+
const legendToggle = "_legendToggle_s49vk_155";
|
|
26647
|
+
const detailsText = "_detailsText_s49vk_165";
|
|
26648
|
+
const footer$1 = "_footer_s49vk_169";
|
|
26656
26649
|
const styles$r = {
|
|
26657
26650
|
inputInTable: inputInTable$7,
|
|
26658
26651
|
inputHover: inputHover$7,
|
|
@@ -26676,63 +26669,67 @@ const styles$r = {
|
|
|
26676
26669
|
detailsText,
|
|
26677
26670
|
footer: footer$1
|
|
26678
26671
|
};
|
|
26679
|
-
|
|
26680
|
-
|
|
26681
|
-
|
|
26672
|
+
var MessageType = /* @__PURE__ */ ((MessageType2) => {
|
|
26673
|
+
MessageType2["INFO"] = "Info";
|
|
26674
|
+
MessageType2["SUCCESS"] = "Success";
|
|
26675
|
+
MessageType2["WARNING"] = "Warning";
|
|
26676
|
+
MessageType2["ERROR"] = "Error";
|
|
26677
|
+
return MessageType2;
|
|
26678
|
+
})(MessageType || {});
|
|
26679
|
+
var MessageToggle = /* @__PURE__ */ ((MessageToggle2) => {
|
|
26680
|
+
MessageToggle2["TOGGLE_DETAILS"] = "TOGGLE_DETAILS";
|
|
26681
|
+
return MessageToggle2;
|
|
26682
|
+
})(MessageToggle || {});
|
|
26683
|
+
const Dismiss = ({ type, onClose, isInToast }) => {
|
|
26684
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
26685
|
+
"div",
|
|
26682
26686
|
{
|
|
26683
|
-
|
|
26684
|
-
|
|
26685
|
-
|
|
26686
|
-
|
|
26687
|
-
|
|
26688
|
-
onClick: onClose
|
|
26687
|
+
className: cx$2(
|
|
26688
|
+
styles$r.dismiss,
|
|
26689
|
+
isInToast ? styles$r.absolute : "",
|
|
26690
|
+
type === MessageType.INFO ? styles$r.info : type === MessageType.SUCCESS ? styles$r.success : type === MessageType.WARNING ? styles$r.warning : type === MessageType.ERROR ? styles$r.error : null
|
|
26691
|
+
),
|
|
26692
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.CLOSE, onClick: onClose })
|
|
26689
26693
|
}
|
|
26690
|
-
)
|
|
26694
|
+
);
|
|
26691
26695
|
};
|
|
26692
26696
|
const initialState$4 = {
|
|
26693
26697
|
detailsVisible: false
|
|
26694
26698
|
};
|
|
26695
26699
|
const reducer$1 = (state, action2) => {
|
|
26696
26700
|
switch (action2.type) {
|
|
26697
|
-
case
|
|
26701
|
+
case MessageToggle.TOGGLE_DETAILS:
|
|
26698
26702
|
return {
|
|
26699
26703
|
...state,
|
|
26700
26704
|
detailsVisible: !state.detailsVisible
|
|
26701
26705
|
};
|
|
26702
|
-
}
|
|
26703
26706
|
default:
|
|
26704
26707
|
return state;
|
|
26705
26708
|
}
|
|
26706
26709
|
};
|
|
26707
26710
|
const Details = ({ details: details2, visible, dispatch }) => {
|
|
26708
26711
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
26709
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
26710
|
-
"div",
|
|
26711
|
-
{
|
|
26712
|
-
className: cx$2(styles$r.legendToggle),
|
|
26713
|
-
onClick: () => dispatch({ type: "TOGGLE_DETAILS" }),
|
|
26714
|
-
children: visible ? "Hide details" : "Show details"
|
|
26715
|
-
}
|
|
26716
|
-
),
|
|
26712
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx$2(styles$r.legendToggle), onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
|
|
26717
26713
|
visible ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.detailsText, children: details2 }) : null
|
|
26718
26714
|
] });
|
|
26719
26715
|
};
|
|
26720
26716
|
const DialogIcon = ({ type }) => {
|
|
26717
|
+
const size2 = 16;
|
|
26721
26718
|
switch (type) {
|
|
26722
|
-
case
|
|
26723
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon:
|
|
26724
|
-
case
|
|
26725
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon:
|
|
26726
|
-
case
|
|
26727
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon:
|
|
26719
|
+
case MessageType.SUCCESS:
|
|
26720
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.SUCCESS, size: size2 });
|
|
26721
|
+
case MessageType.WARNING:
|
|
26722
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.WARNING, size: size2 });
|
|
26723
|
+
case MessageType.ERROR:
|
|
26724
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.ERROR, size: size2 });
|
|
26728
26725
|
default:
|
|
26729
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon:
|
|
26726
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { icon: IconType.INFO, size: size2 });
|
|
26730
26727
|
}
|
|
26731
26728
|
};
|
|
26732
26729
|
const Message = ({ message: message2 }) => {
|
|
26733
26730
|
const {
|
|
26734
26731
|
visible,
|
|
26735
|
-
type,
|
|
26732
|
+
type = MessageType.INFO,
|
|
26736
26733
|
icon: icon2,
|
|
26737
26734
|
heading: heading2,
|
|
26738
26735
|
content: content2,
|
|
@@ -26750,7 +26747,7 @@ const Message = ({ message: message2 }) => {
|
|
|
26750
26747
|
className: cx$2(
|
|
26751
26748
|
styles$r.container,
|
|
26752
26749
|
width2 ? styles$r.block : null,
|
|
26753
|
-
type ===
|
|
26750
|
+
type === MessageType.SUCCESS ? styles$r.success : type === MessageType.WARNING ? styles$r.warning : type === MessageType.ERROR ? styles$r.error : styles$r.info
|
|
26754
26751
|
),
|
|
26755
26752
|
style: { width: width2, maxHeight },
|
|
26756
26753
|
children: [
|
|
@@ -26763,7 +26760,7 @@ const Message = ({ message: message2 }) => {
|
|
|
26763
26760
|
{
|
|
26764
26761
|
details: details2,
|
|
26765
26762
|
visible: state.detailsVisible,
|
|
26766
|
-
dispatch: () => dispatch({ type:
|
|
26763
|
+
dispatch: () => dispatch({ type: MessageToggle.TOGGLE_DETAILS })
|
|
26767
26764
|
}
|
|
26768
26765
|
) : null,
|
|
26769
26766
|
!!footer2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.footer, children: footer2 })
|
|
@@ -26773,30 +26770,6 @@ const Message = ({ message: message2 }) => {
|
|
|
26773
26770
|
}
|
|
26774
26771
|
) : null });
|
|
26775
26772
|
};
|
|
26776
|
-
const messageShape = PropTypes.shape({
|
|
26777
|
-
visible: PropTypes.bool,
|
|
26778
|
-
type: PropTypes.oneOf(["Info", "Success", "Warning", "Error"]),
|
|
26779
|
-
icon: PropTypes.bool,
|
|
26780
|
-
heading: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
26781
|
-
content: PropTypes.oneOfType([
|
|
26782
|
-
PropTypes.string,
|
|
26783
|
-
PropTypes.number,
|
|
26784
|
-
PropTypes.node
|
|
26785
|
-
]),
|
|
26786
|
-
details: PropTypes.oneOfType([
|
|
26787
|
-
PropTypes.string,
|
|
26788
|
-
PropTypes.number,
|
|
26789
|
-
PropTypes.node
|
|
26790
|
-
]),
|
|
26791
|
-
footer: PropTypes.node,
|
|
26792
|
-
withDismiss: PropTypes.bool,
|
|
26793
|
-
onClose: PropTypes.func,
|
|
26794
|
-
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
26795
|
-
maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
26796
|
-
});
|
|
26797
|
-
Message.propTypes = {
|
|
26798
|
-
message: messageShape.isRequired
|
|
26799
|
-
};
|
|
26800
26773
|
const Portal = ({ id: id2, children }) => {
|
|
26801
26774
|
const parent = document.querySelector(`#${id2}`);
|
|
26802
26775
|
const [mounted, setMounted] = useState(false);
|
|
@@ -59834,20 +59807,19 @@ const styles$d = {
|
|
|
59834
59807
|
row
|
|
59835
59808
|
};
|
|
59836
59809
|
const Row$1 = ({
|
|
59837
|
-
alignItems,
|
|
59838
|
-
justifyContent,
|
|
59839
|
-
children,
|
|
59840
|
-
flex,
|
|
59841
|
-
height: height2,
|
|
59842
|
-
marginBottom,
|
|
59843
|
-
marginTop,
|
|
59844
|
-
spacing
|
|
59845
|
-
wrap: wrap2,
|
|
59846
|
-
testId
|
|
59810
|
+
alignItems = "initial",
|
|
59811
|
+
justifyContent = "initial",
|
|
59812
|
+
children = null,
|
|
59813
|
+
flex = false,
|
|
59814
|
+
height: height2 = "auto",
|
|
59815
|
+
marginBottom = "0",
|
|
59816
|
+
marginTop = "0",
|
|
59817
|
+
spacing = "var(--padding)",
|
|
59818
|
+
wrap: wrap2 = false,
|
|
59819
|
+
testId = null
|
|
59847
59820
|
}) => {
|
|
59848
|
-
const
|
|
59849
|
-
const
|
|
59850
|
-
const columns = childElements.map((item2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Fragment$1, { children: React__default.cloneElement(item2, { spacing }) }, index2));
|
|
59821
|
+
const childElements = children === null || children === false ? [] : Array.isArray(children) ? children.filter((c2) => isValidElement(c2)) : [children];
|
|
59822
|
+
const columns = childElements.map((item2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(React__default.Fragment, { children: React__default.cloneElement(item2, { spacing }) }, index2));
|
|
59851
59823
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
59852
59824
|
"div",
|
|
59853
59825
|
{
|
|
@@ -59859,8 +59831,8 @@ const Row$1 = ({
|
|
|
59859
59831
|
flexShrink: flex ? 1 : 0,
|
|
59860
59832
|
flexWrap: wrap2 ? "wrap" : "nowrap",
|
|
59861
59833
|
height: height2,
|
|
59862
|
-
marginLeft:
|
|
59863
|
-
marginRight:
|
|
59834
|
+
marginLeft: Number(spacing) * -0.5,
|
|
59835
|
+
marginRight: Number(spacing) * -0.5,
|
|
59864
59836
|
marginBottom,
|
|
59865
59837
|
marginTop
|
|
59866
59838
|
},
|
|
@@ -59869,30 +59841,6 @@ const Row$1 = ({
|
|
|
59869
59841
|
}
|
|
59870
59842
|
);
|
|
59871
59843
|
};
|
|
59872
|
-
Row$1.defaultProps = {
|
|
59873
|
-
alignItems: "initial",
|
|
59874
|
-
justifyContent: "initial",
|
|
59875
|
-
children: null,
|
|
59876
|
-
flex: false,
|
|
59877
|
-
height: "auto",
|
|
59878
|
-
marginBottom: "0",
|
|
59879
|
-
marginTop: "0",
|
|
59880
|
-
spacing: "var(--padding)",
|
|
59881
|
-
wrap: false,
|
|
59882
|
-
testId: null
|
|
59883
|
-
};
|
|
59884
|
-
Row$1.propTypes = {
|
|
59885
|
-
alignItems: PropTypes.string,
|
|
59886
|
-
justifyContent: PropTypes.string,
|
|
59887
|
-
children: PropTypes.node,
|
|
59888
|
-
flex: PropTypes.bool,
|
|
59889
|
-
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
59890
|
-
marginBottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
59891
|
-
marginTop: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
59892
|
-
spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
59893
|
-
wrap: PropTypes.bool,
|
|
59894
|
-
testId: PropTypes.string
|
|
59895
|
-
};
|
|
59896
59844
|
var hasElementType = typeof Element !== "undefined";
|
|
59897
59845
|
var hasMap = typeof Map === "function";
|
|
59898
59846
|
var hasSet = typeof Set === "function";
|
|
@@ -65194,13 +65142,6 @@ eventManager.on(
|
|
|
65194
65142
|
}
|
|
65195
65143
|
);
|
|
65196
65144
|
const toaster = "";
|
|
65197
|
-
var MessageType = /* @__PURE__ */ ((MessageType2) => {
|
|
65198
|
-
MessageType2["INFO"] = "Info";
|
|
65199
|
-
MessageType2["SUCCESS"] = "Success";
|
|
65200
|
-
MessageType2["WARNING"] = "Warning";
|
|
65201
|
-
MessageType2["ERROR"] = "Error";
|
|
65202
|
-
return MessageType2;
|
|
65203
|
-
})(MessageType || {});
|
|
65204
65145
|
const toast = ({
|
|
65205
65146
|
id: id2,
|
|
65206
65147
|
message: message2 = { type: MessageType.INFO, content: "" },
|
|
@@ -65257,11 +65198,11 @@ const toast = ({
|
|
|
65257
65198
|
type: toastType
|
|
65258
65199
|
});
|
|
65259
65200
|
};
|
|
65260
|
-
const toggle$1 = "
|
|
65261
|
-
const small = "
|
|
65262
|
-
const disabled = "
|
|
65263
|
-
const noMargin = "
|
|
65264
|
-
const helpIconEnabled = "
|
|
65201
|
+
const toggle$1 = "_toggle_1mo1i_9";
|
|
65202
|
+
const small = "_small_1mo1i_25";
|
|
65203
|
+
const disabled = "_disabled_1mo1i_102";
|
|
65204
|
+
const noMargin = "_noMargin_1mo1i_113";
|
|
65205
|
+
const helpIconEnabled = "_helpIconEnabled_1mo1i_116";
|
|
65265
65206
|
const styles$3 = {
|
|
65266
65207
|
toggle: toggle$1,
|
|
65267
65208
|
small,
|