@tap-payments/os-micro-frontend-shared 0.3.264 → 0.3.265-test.1793707397
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/build/_chunks/{chunk-ALZSCMJI.js → chunk-265MSIZH.js} +1 -1
- package/build/_chunks/chunk-26HBCCEH.js +1 -0
- package/build/_chunks/{chunk-QNBOZQDY.js → chunk-2DZTKOWC.js} +1 -1
- package/build/_chunks/{chunk-ESRTU72R.js → chunk-2FFQR4XJ.js} +1 -1
- package/build/_chunks/chunk-3M2GZVQW.js +2 -0
- package/build/_chunks/{chunk-ZT35MSJQ.js → chunk-42T6C72N.js} +1 -1
- package/build/_chunks/chunk-46V3JVHX.js +1 -0
- package/build/_chunks/chunk-4ZCG5ZAD.js +1 -0
- package/build/_chunks/chunk-5GDTBQ3D.js +1 -0
- package/build/_chunks/{chunk-JZN7D44A.js → chunk-5SPLSDGC.js} +1 -1
- package/build/_chunks/{chunk-VDOQXEUT.js → chunk-6W2A6AMS.js} +1 -1
- package/build/_chunks/{chunk-WHPBDYOY.js → chunk-7XEIN7KW.js} +1 -1
- package/build/_chunks/{chunk-3CMVSEFO.js → chunk-A6YF5T27.js} +1 -1
- package/build/_chunks/{chunk-SPNEIGHB.js → chunk-ADEEIE7D.js} +1 -1
- package/build/_chunks/{chunk-C5EKTMXI.js → chunk-AQNXY7NX.js} +1 -1
- package/build/_chunks/{chunk-MBC5H6W7.js → chunk-B3QNGYUI.js} +1 -1
- package/build/_chunks/{chunk-6BFV6NCN.js → chunk-BVAZARPH.js} +1 -1
- package/build/_chunks/chunk-CAVYK7HF.js +2 -0
- package/build/_chunks/chunk-D743NDB7.js +1 -0
- package/build/_chunks/chunk-DJMDRRJI.js +1 -0
- package/build/_chunks/{chunk-UPSV4H3R.js → chunk-DZYFAAXL.js} +1 -1
- package/build/_chunks/{chunk-OGVYYV4P.js → chunk-EKOUE2IZ.js} +1 -1
- package/build/_chunks/{chunk-MGH52F2U.js → chunk-F4TXGFRW.js} +1 -1
- package/build/_chunks/{chunk-ZRRZG4CU.js → chunk-FIFXF3JZ.js} +1 -1
- package/build/_chunks/{chunk-TDNUHD3F.js → chunk-FJNHU3S4.js} +1 -1
- package/build/_chunks/chunk-FTJW56LC.js +1 -0
- package/build/_chunks/chunk-H5O3MWP7.js +1 -0
- package/build/_chunks/{chunk-5BAFTVZQ.js → chunk-HRL5HXES.js} +1 -1
- package/build/_chunks/{chunk-IRBWQZSH.js → chunk-I7OG7E3Z.js} +1 -1
- package/build/_chunks/{chunk-Y2GYQNCW.js → chunk-IERB2R3J.js} +1 -1
- package/build/_chunks/chunk-IFYLS2HJ.js +1 -0
- package/build/_chunks/chunk-ISC5KT5E.js +1 -0
- package/build/_chunks/chunk-J2BHHD2B.js +1 -0
- package/build/_chunks/{chunk-HWDXYAQY.js → chunk-JDEIU7E5.js} +1 -1
- package/build/_chunks/{chunk-WYJOH2AK.js → chunk-JM6GMHUT.js} +1 -1
- package/build/_chunks/chunk-KBO34KR6.js +2 -0
- package/build/_chunks/{chunk-TYMPXKFT.js → chunk-KOBQX2C2.js} +1 -1
- package/build/_chunks/{chunk-7SNHZ7VW.js → chunk-KVZJDQV2.js} +1 -1
- package/build/_chunks/chunk-MWN6TZQG.js +1 -0
- package/build/_chunks/chunk-NLRRXPA3.js +1 -0
- package/build/_chunks/{chunk-TC4ME6DZ.js → chunk-O44C6KUS.js} +1 -1
- package/build/_chunks/{chunk-EB24OXAG.js → chunk-PCGC6E7J.js} +1 -1
- package/build/_chunks/{chunk-74TIGJAP.js → chunk-PQRI2WMI.js} +1 -1
- package/build/_chunks/{chunk-LEFLUMTS.js → chunk-QVH3AVGY.js} +1 -1
- package/build/_chunks/{chunk-HBR7P4LZ.js → chunk-QZJCQWTE.js} +1 -1
- package/build/_chunks/{chunk-LJY75SQY.js → chunk-RSIJKVO6.js} +1 -1
- package/build/_chunks/{chunk-JWLIHVLP.js → chunk-S27723NU.js} +1 -1
- package/build/_chunks/{chunk-IA5IEBOH.js → chunk-SKASDIJH.js} +1 -1
- package/build/_chunks/{chunk-DCQXQHAI.js → chunk-SN2KTD4P.js} +1 -1
- package/build/_chunks/{chunk-6IAMZFT6.js → chunk-UQ7XDCXB.js} +1 -1
- package/build/_chunks/{chunk-ZZPTXUPF.js → chunk-UY75PFQ7.js} +1 -1
- package/build/_chunks/chunk-UZVOPL5U.js +1 -0
- package/build/_chunks/{chunk-4HUB6MWM.js → chunk-VEPRRBYW.js} +1 -1
- package/build/_chunks/{chunk-334EPCW5.js → chunk-VFCK7VBP.js} +1 -1
- package/build/_chunks/{chunk-OL6PQPSI.js → chunk-VRPTMDSJ.js} +1 -1
- package/build/_chunks/{chunk-Q6AL55UP.js → chunk-W2HSCMPT.js} +1 -1
- package/build/_chunks/chunk-WEETQTTS.js +2 -0
- package/build/_chunks/chunk-WIEJ4V3F.js +1 -0
- package/build/_chunks/chunk-XK77AJ74.js +9 -0
- package/build/_chunks/{chunk-PGRQEN5C.js → chunk-XMGXCCSD.js} +1 -1
- package/build/_chunks/chunk-XXGEI3LI.js +2 -0
- package/build/_chunks/{chunk-YFIYVG7E.js → chunk-YDOKNGL2.js} +1 -1
- package/build/_chunks/{chunk-BTE72W4R.js → chunk-YQYHL4AG.js} +1 -1
- package/build/_chunks/chunk-Z2DUFVI5.js +1 -0
- package/build/_chunks/{chunk-7ZWAT3EG.js → chunk-ZERM22LM.js} +1 -1
- package/build/_chunks/{chunk-7GTNCNBB.js → chunk-ZFVCIKJ5.js} +1 -1
- package/build/_chunks/chunk-ZYLV22XM.js +2 -0
- package/build/_chunks/{chunk-44P3BD62.js → chunk-ZYP2H2JO.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/Autocomplete.d.ts +5 -10
- package/build/components/Autocomplete/constants.d.ts +69 -0
- package/build/components/Autocomplete/icons.d.ts +10 -0
- package/build/components/Autocomplete/index.d.ts +3 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/Autocomplete/style.d.ts +61 -6
- package/build/components/Autocomplete/type.d.ts +64 -0
- package/build/components/Autocomplete/utils.d.ts +11 -0
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/Calender/style.d.ts +4 -4
- package/build/components/Card/index.js +1 -1
- package/build/components/CardList/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColorPicker/style.d.ts +3 -3
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ColumnViews/styles.d.ts +6 -2
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DateInput/DateInput.d.ts +4 -0
- package/build/components/DateInput/constants.d.ts +83 -0
- package/build/components/DateInput/icons.d.ts +3 -0
- package/build/components/DateInput/index.d.ts +5 -0
- package/build/components/DateInput/index.js +1 -0
- package/build/components/DateInput/style.d.ts +41 -0
- package/build/components/DateInput/type.d.ts +85 -0
- package/build/components/DateInput/utils.d.ts +25 -0
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/FileDropbox/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterChip/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/FilterDropdown/style.d.ts +2 -2
- package/build/components/Filters/index.js +1 -1
- package/build/components/Filters/style.d.ts +2 -2
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/GroupedSelect/constants.d.ts +1 -0
- package/build/components/GroupedSelect/icons.d.ts +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/GroupedSelect/style.d.ts +8 -2
- package/build/components/GroupedSelect/type.d.ts +3 -0
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/FieldSelectedValues.d.ts +2 -2
- package/build/components/MultiLevelSelect/MultiLevelSelect.d.ts +4 -0
- package/build/components/MultiLevelSelect/NodeMenuItem.d.ts +11 -0
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/SelectableOption.d.ts +4 -4
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/SelectedChips.d.ts +3 -3
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/constants.d.ts +13 -12
- package/build/components/MultiLevelSelect/index.d.ts +4 -0
- package/build/components/MultiLevelSelect/index.js +1 -0
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/style.d.ts +10 -2
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/type.d.ts +10 -10
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/utils.d.ts +12 -12
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RadioGroup/style.d.ts +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchButton/style.d.ts +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/SearchInput/style.d.ts +2 -2
- package/build/components/Select/Select.d.ts +4 -0
- package/build/components/Select/SelectField.d.ts +37 -0
- package/build/components/Select/SelectFieldValue.d.ts +14 -0
- package/build/components/Select/constants.d.ts +89 -0
- package/build/components/Select/icons.d.ts +10 -0
- package/build/components/Select/index.d.ts +5 -0
- package/build/components/Select/index.js +1 -0
- package/build/components/Select/style.d.ts +91 -0
- package/build/components/Select/type.d.ts +106 -0
- package/build/components/Select/utils.d.ts +39 -0
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/constants.d.ts +2 -0
- package/build/components/Sidebar/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusButton/style.d.ts +2 -2
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/constants.d.ts +2 -0
- package/build/components/TextInput/index.js +1 -1
- package/build/components/TextInput/type.d.ts +6 -0
- package/build/components/TextInput/utils.d.ts +3 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Window/Window.d.ts +13 -0
- package/build/components/Window/WindowContent.d.ts +4 -0
- package/build/components/Window/WindowDialog.d.ts +4 -0
- package/build/components/Window/WindowFooter.d.ts +4 -0
- package/build/components/Window/WindowFooterActions.d.ts +4 -0
- package/build/components/Window/WindowProvider.d.ts +3 -0
- package/build/components/Window/constants.d.ts +41 -0
- package/build/components/Window/context.d.ts +10 -0
- package/build/components/Window/index.d.ts +9 -0
- package/build/components/Window/index.js +1 -0
- package/build/components/Window/style.d.ts +36 -0
- package/build/components/Window/type.d.ts +223 -0
- package/build/components/Window/utils.d.ts +42 -0
- package/build/components/WindowServices/DropdownIcon.d.ts +9 -0
- package/build/components/WindowServices/ServiceItem.d.ts +9 -0
- package/build/components/WindowServices/WindowServices.d.ts +4 -0
- package/build/components/WindowServices/WindowSkeleton.d.ts +4 -0
- package/build/components/WindowServices/constants.d.ts +37 -0
- package/build/components/WindowServices/index.d.ts +4 -0
- package/build/components/WindowServices/index.js +1 -0
- package/build/components/WindowServices/style.d.ts +45 -0
- package/build/components/WindowServices/type.d.ts +66 -0
- package/build/components/WindowServices/utils.d.ts +9 -0
- package/build/components/WindowToolbar/CloseIcon.d.ts +9 -0
- package/build/components/WindowToolbar/DirectionIcon.d.ts +12 -0
- package/build/components/WindowToolbar/MaximizeIcon.d.ts +9 -0
- package/build/components/WindowToolbar/MinimizeIcon.d.ts +9 -0
- package/build/components/WindowToolbar/SandboxIcon.d.ts +10 -0
- package/build/components/WindowToolbar/WindowToolbar.d.ts +4 -0
- package/build/components/{NestedMultiSelect/NestedMultiSelect.d.ts → WindowToolbar/WindowToolbarEndAdornment.d.ts} +2 -2
- package/build/components/WindowToolbar/WindowToolbarStartAdornment.d.ts +4 -0
- package/build/components/WindowToolbar/WindowToolbarTitle.d.ts +12 -0
- package/build/components/WindowToolbar/constants.d.ts +12 -0
- package/build/components/WindowToolbar/index.d.ts +11 -0
- package/build/components/WindowToolbar/index.js +1 -0
- package/build/components/WindowToolbar/style.d.ts +56 -0
- package/build/components/WindowToolbar/type.d.ts +64 -0
- package/build/components/index.d.ts +11 -15
- package/build/components/index.js +1 -1
- package/build/components/modules/JSONViewWindow/JSONViewWindow.d.ts +12 -0
- package/build/components/modules/JSONViewWindow/components/Content/Content.d.ts +11 -0
- package/build/components/modules/JSONViewWindow/components/Content/constants.d.ts +4 -0
- package/build/components/modules/JSONViewWindow/components/Content/index.d.ts +3 -0
- package/build/components/modules/JSONViewWindow/components/Content/style.d.ts +266 -0
- package/build/components/modules/JSONViewWindow/components/Content/type.d.ts +10 -0
- package/build/components/{JSONViewer → modules/JSONViewWindow}/components/CopiedIndicator/CopiedIndicator.d.ts +1 -1
- package/build/components/modules/JSONViewWindow/components/CopiedIndicator/style.d.ts +276 -0
- package/build/components/{AppWindowWrapper/AppWindow/AppWindow.d.ts → modules/JSONViewWindow/components/Footer/Footer.d.ts} +2 -2
- package/build/components/modules/JSONViewWindow/components/Footer/index.d.ts +3 -0
- package/build/components/modules/JSONViewWindow/components/Footer/style.d.ts +7 -0
- package/build/components/modules/JSONViewWindow/components/Footer/type.d.ts +11 -0
- package/build/components/modules/JSONViewWindow/components/HighlightText/index.d.ts +1 -0
- package/build/components/modules/JSONViewWindow/components/IconButton/IconButton.d.ts +8 -0
- package/build/components/modules/JSONViewWindow/components/IconButton/index.d.ts +2 -0
- package/build/components/modules/JSONViewWindow/components/IconButton/style.d.ts +2 -0
- package/build/components/modules/JSONViewWindow/components/IconButton/type.d.ts +6 -0
- package/build/components/{JSONViewer/components/JSONSearchBar/styles.d.ts → modules/JSONViewWindow/components/JSONSearchBar/style.d.ts} +2 -2
- package/build/components/modules/JSONViewWindow/components/JSONViewArrow/JSONViewArrow.d.ts +8 -0
- package/build/components/modules/JSONViewWindow/components/JSONViewArrow/index.d.ts +2 -0
- package/build/components/modules/JSONViewWindow/components/JSONViewArrow/type.d.ts +6 -0
- package/build/components/modules/JSONViewWindow/components/List/List.d.ts +8 -0
- package/build/components/modules/JSONViewWindow/components/List/index.d.ts +3 -0
- package/build/components/modules/JSONViewWindow/components/List/type.d.ts +8 -0
- package/build/components/modules/JSONViewWindow/components/Pane/Pane.d.ts +20 -0
- package/build/components/modules/JSONViewWindow/components/Pane/index.d.ts +3 -0
- package/build/components/modules/JSONViewWindow/components/Pane/type.d.ts +5 -0
- package/build/components/modules/JSONViewWindow/components/Toolbar/Toolbar.d.ts +4 -0
- package/build/components/modules/JSONViewWindow/components/Toolbar/constants.d.ts +4 -0
- package/build/components/modules/JSONViewWindow/components/Toolbar/index.d.ts +4 -0
- package/build/components/modules/JSONViewWindow/components/Toolbar/type.d.ts +21 -0
- package/build/components/modules/JSONViewWindow/components/index.d.ts +8 -0
- package/build/components/modules/JSONViewWindow/constants.d.ts +26 -0
- package/build/components/modules/JSONViewWindow/context/Provider.d.ts +7 -0
- package/build/components/modules/JSONViewWindow/context/context.d.ts +3 -0
- package/build/components/modules/JSONViewWindow/context/index.d.ts +2 -0
- package/build/components/modules/JSONViewWindow/hooks/index.d.ts +2 -0
- package/build/components/modules/JSONViewWindow/hooks/useJSONViewWindow.d.ts +24 -0
- package/build/components/{JSONViewer → modules/JSONViewWindow}/hooks/useJsonSearch.d.ts +1 -1
- package/build/components/modules/JSONViewWindow/index.d.ts +9 -0
- package/build/components/modules/JSONViewWindow/index.js +1 -0
- package/build/components/{JSONViewer → modules/JSONViewWindow}/style.d.ts +29 -40
- package/build/components/modules/JSONViewWindow/type.d.ts +33 -0
- package/build/components/modules/JSONViewWindow/utils.d.ts +14 -0
- package/build/components/modules/RangeCalender/components/QuickFilters/style.d.ts +1 -1
- package/build/components/modules/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
- package/build/components/modules/RangeCalender/index.js +1 -1
- package/build/components/modules/RangeCalender/style.d.ts +3 -3
- package/build/components/modules/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.d.ts +1 -1
- package/build/components/modules/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
- package/build/components/modules/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.d.ts +1 -1
- package/build/components/modules/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
- package/build/components/modules/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
- package/build/components/modules/VirtualTables/components/ErrorList/styles.d.ts +1 -1
- package/build/components/modules/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
- package/build/components/modules/VirtualTables/index.js +1 -1
- package/build/components/modules/WindowShell/WindowShell.d.ts +4 -0
- package/build/components/modules/WindowShell/WindowShellAnimator.d.ts +28 -0
- package/build/components/modules/WindowShell/WindowShellToolbar.d.ts +14 -0
- package/build/components/modules/WindowShell/constants.d.ts +6 -0
- package/build/components/modules/WindowShell/index.d.ts +3 -0
- package/build/components/modules/WindowShell/index.js +1 -0
- package/build/components/modules/WindowShell/style.d.ts +36 -0
- package/build/components/modules/WindowShell/type.d.ts +228 -0
- package/build/components/modules/WindowShell/utils.d.ts +44 -0
- package/build/components/modules/index.d.ts +4 -0
- package/build/components/modules/index.js +1 -0
- package/build/components/primitives/FieldFeedback/icons.d.ts +2 -1
- package/build/components/primitives/Input/style.d.ts +2 -2
- package/build/components/primitives/Slider/style.d.ts +1 -1
- package/build/components/primitives/Textarea/style.d.ts +2 -2
- package/build/components/primitives/index.js +1 -1
- package/build/constants/index.d.ts +1 -2
- package/build/constants/index.js +1 -1
- package/build/constants/window.d.ts +10 -5
- package/build/datetime/components/DateRangeCalendar/style.d.ts +5 -5
- package/build/datetime/components/index.js +1 -1
- package/build/hooks/index.d.ts +1 -1
- package/build/hooks/index.js +1 -1
- package/build/hooks/useElementSizeObserver.d.ts +18 -0
- package/build/index.js +1 -1
- package/build/types/appEvents.d.ts +6 -0
- package/build/types/table.d.ts +0 -2
- package/build/types/user.d.ts +0 -46
- package/build/utils/index.js +1 -1
- package/build/utils/number.d.ts +7 -0
- package/package.json +4 -9
- package/build/_chunks/chunk-2YNDLGG6.js +0 -1
- package/build/_chunks/chunk-4YB6A7BD.js +0 -8
- package/build/_chunks/chunk-53C2M4NA.js +0 -1
- package/build/_chunks/chunk-54TY5SXL.js +0 -1
- package/build/_chunks/chunk-5DFEQLOX.js +0 -1
- package/build/_chunks/chunk-637B2KTR.js +0 -2
- package/build/_chunks/chunk-AN2PVRN2.js +0 -1
- package/build/_chunks/chunk-BFVDSVFM.js +0 -1
- package/build/_chunks/chunk-DS6S5G66.js +0 -1
- package/build/_chunks/chunk-EG32DA46.js +0 -1
- package/build/_chunks/chunk-FOSRKOWU.js +0 -1
- package/build/_chunks/chunk-FQ2VMVUY.js +0 -0
- package/build/_chunks/chunk-HDCNWBW5.js +0 -1
- package/build/_chunks/chunk-I3LSSBRI.js +0 -1
- package/build/_chunks/chunk-IQAHULGQ.js +0 -2
- package/build/_chunks/chunk-JUVW4KPW.js +0 -1
- package/build/_chunks/chunk-K43ZLU4I.js +0 -2
- package/build/_chunks/chunk-L3QJZAXC.js +0 -1
- package/build/_chunks/chunk-MRA4IYK7.js +0 -1
- package/build/_chunks/chunk-MUR4ILTY.js +0 -2
- package/build/_chunks/chunk-NCG4PCDH.js +0 -1
- package/build/_chunks/chunk-NW7HJXBW.js +0 -8
- package/build/_chunks/chunk-O3LHVRBN.js +0 -2
- package/build/_chunks/chunk-PNIR4GUC.js +0 -2
- package/build/_chunks/chunk-SNCNXCPA.js +0 -1
- package/build/_chunks/chunk-XOH5TUDL.js +0 -1
- package/build/_chunks/chunk-Y7SE3WMR.js +0 -1
- package/build/_chunks/chunk-YROLX5D7.js +0 -8
- package/build/components/AppServices/AppServices.d.ts +0 -15
- package/build/components/AppServices/ServiceItem.d.ts +0 -12
- package/build/components/AppServices/index.d.ts +0 -2
- package/build/components/AppServices/index.js +0 -1
- package/build/components/AppServices/style.d.ts +0 -12
- package/build/components/AppServicesBar/AppServicesBar.d.ts +0 -22
- package/build/components/AppServicesBar/index.d.ts +0 -3
- package/build/components/AppServicesBar/index.js +0 -1
- package/build/components/AppWindowWrapper/AppWindow/constant.d.ts +0 -2
- package/build/components/AppWindowWrapper/AppWindow/index.d.ts +0 -5
- package/build/components/AppWindowWrapper/AppWindow/style.d.ts +0 -18
- package/build/components/AppWindowWrapper/AppWindow/type.d.ts +0 -18
- package/build/components/AppWindowWrapper/AppWindow/utils.d.ts +0 -34
- package/build/components/AppWindowWrapper/AppWindowWrapper.d.ts +0 -4
- package/build/components/AppWindowWrapper/context/Provider.d.ts +0 -3
- package/build/components/AppWindowWrapper/context/context.d.ts +0 -3
- package/build/components/AppWindowWrapper/context/index.d.ts +0 -2
- package/build/components/AppWindowWrapper/context/type.d.ts +0 -88
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.d.ts +0 -5
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +0 -5
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.d.ts +0 -3
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.d.ts +0 -16
- package/build/components/AppWindowWrapper/headers/AccountHeader/index.d.ts +0 -4
- package/build/components/AppWindowWrapper/headers/AccountHeader/type.d.ts +0 -14
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.d.ts +0 -5
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.d.ts +0 -5
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.d.ts +0 -4
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.d.ts +0 -25
- package/build/components/AppWindowWrapper/index.d.ts +0 -8
- package/build/components/AppWindowWrapper/index.js +0 -1
- package/build/components/AppWindowWrapper/type.d.ts +0 -11
- package/build/components/FormSelect/FormSelect.d.ts +0 -8
- package/build/components/FormSelect/FormSelectMenuSearchInput.d.ts +0 -9
- package/build/components/FormSelect/FormSelectSearchableField.d.ts +0 -3
- package/build/components/FormSelect/FormSelectSelectMenu.d.ts +0 -21
- package/build/components/FormSelect/index.d.ts +0 -3
- package/build/components/FormSelect/index.js +0 -1
- package/build/components/FormSelect/style.d.ts +0 -52
- package/build/components/FormSelect/type.d.ts +0 -105
- package/build/components/FormSelect/utils.d.ts +0 -15
- package/build/components/Icons/LoadingIcon.d.ts +0 -4
- package/build/components/Icons/MenuSearchIcon.d.ts +0 -3
- package/build/components/Icons/index.d.ts +0 -2
- package/build/components/Icons/index.js +0 -1
- package/build/components/InputBase/SelectBase/SelectBase.d.ts +0 -46
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.d.ts +0 -33
- package/build/components/InputBase/SelectBase/components/DefaultClearIcon.d.ts +0 -5
- package/build/components/InputBase/SelectBase/components/DefaultSelectIcon.d.ts +0 -5
- package/build/components/InputBase/SelectBase/components/SelectBaseEndAdornment.d.ts +0 -13
- package/build/components/InputBase/SelectBase/components/SelectInlineProgress.d.ts +0 -6
- package/build/components/InputBase/SelectBase/index.d.ts +0 -3
- package/build/components/InputBase/SelectBase/style.d.ts +0 -14
- package/build/components/InputBase/SelectBase/utils.d.ts +0 -2
- package/build/components/InputBase/index.d.ts +0 -1
- package/build/components/InputBase/index.js +0 -1
- package/build/components/Inputs/Select/Select.d.ts +0 -3
- package/build/components/Inputs/Select/index.d.ts +0 -2
- package/build/components/Inputs/Select/type.d.ts +0 -9
- package/build/components/Inputs/index.d.ts +0 -2
- package/build/components/Inputs/index.js +0 -1
- package/build/components/JSONViewer/JSONViewer.d.ts +0 -3
- package/build/components/JSONViewer/JSONViewerList.d.ts +0 -11
- package/build/components/JSONViewer/components/FooterButton/FooterButton.d.ts +0 -5
- package/build/components/JSONViewer/components/FooterButton/index.d.ts +0 -2
- package/build/components/JSONViewer/components/HighlightText/index.d.ts +0 -2
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.d.ts +0 -5
- package/build/components/JSONViewer/components/JSONTitleBar/index.d.ts +0 -3
- package/build/components/JSONViewer/components/JSONTitleBar/type.d.ts +0 -14
- package/build/components/JSONViewer/components/index.d.ts +0 -4
- package/build/components/JSONViewer/context/Provider.d.ts +0 -7
- package/build/components/JSONViewer/context/context.d.ts +0 -3
- package/build/components/JSONViewer/context/index.d.ts +0 -2
- package/build/components/JSONViewer/hooks/index.d.ts +0 -2
- package/build/components/JSONViewer/hooks/useJsonViewerContext.d.ts +0 -9
- package/build/components/JSONViewer/index.d.ts +0 -7
- package/build/components/JSONViewer/index.js +0 -1
- package/build/components/JSONViewer/type.d.ts +0 -33
- package/build/components/JSONViewer/utils.d.ts +0 -7
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.d.ts +0 -2
- package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +0 -6
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.d.ts +0 -2
- package/build/components/MFWidgetLoader/index.d.ts +0 -2
- package/build/components/MFWidgetLoader/index.js +0 -1
- package/build/components/MultiSelect/MultiSelect.d.ts +0 -21
- package/build/components/MultiSelect/index.d.ts +0 -2
- package/build/components/MultiSelect/index.js +0 -1
- package/build/components/MultiSelect/style.d.ts +0 -40
- package/build/components/NestedMultiSelect/NodeMenuItem.d.ts +0 -11
- package/build/components/NestedMultiSelect/index.d.ts +0 -4
- package/build/components/NestedMultiSelect/index.js +0 -1
- package/build/components/Toolbar/Toolbar.d.ts +0 -5
- package/build/components/Toolbar/ToolbarAppIcon.d.ts +0 -7
- package/build/components/Toolbar/index.d.ts +0 -4
- package/build/components/Toolbar/index.js +0 -1
- package/build/components/Toolbar/style.d.ts +0 -34
- package/build/components/Toolbar/type.d.ts +0 -10
- package/build/components/ToolbarIcon/CloseIcon/CloseIcon.d.ts +0 -3
- package/build/components/ToolbarIcon/CloseIcon/index.d.ts +0 -1
- package/build/components/ToolbarIcon/CloseIcon/style.d.ts +0 -4
- package/build/components/ToolbarIcon/ExpandButton/ExpandButton.d.ts +0 -9
- package/build/components/ToolbarIcon/ExpandButton/index.d.ts +0 -1
- package/build/components/ToolbarIcon/ExpandButton/style.d.ts +0 -14
- package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.d.ts +0 -7
- package/build/components/ToolbarIcon/MaximizeIcon/index.d.ts +0 -1
- package/build/components/ToolbarIcon/MaximizeIcon/style.d.ts +0 -4
- package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.d.ts +0 -3
- package/build/components/ToolbarIcon/MinimizeIcon/index.d.ts +0 -1
- package/build/components/ToolbarIcon/MinimizeIcon/style.d.ts +0 -4
- package/build/components/ToolbarIcon/index.d.ts +0 -4
- package/build/components/ToolbarIcon/index.js +0 -1
- package/build/components/ToolbarIcon/style.d.ts +0 -4
- package/build/constants/style.d.ts +0 -4
- package/build/hooks/useMouseState.d.ts +0 -8
- /package/build/components/{NestedMultiSelect → MultiLevelSelect}/BranchMenuItem.d.ts +0 -0
- /package/build/components/{NestedMultiSelect → MultiLevelSelect}/icons.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/CopiedIndicator/index.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/HighlightText.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/HighlightedParts.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/type.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/util.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchBar/JSONSearchBar.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchBar/index.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/HighlightMatchingKey.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/HighlightMatchingValue.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/index.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/type.d.ts +0 -0
- /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/util.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {c as c$2}from'./chunk-54TY5SXL.js';import {m,a as a$2}from'./chunk-AN2PVRN2.js';import {a,c as c$1,d as d$1}from'./chunk-EG32DA46.js';import {c,d}from'./chunk-BFVDSVFM.js';import {a as a$1,b}from'./chunk-DS6S5G66.js';import {zn,ta,dl,el,wi,Ik,A,Vd,xe,we as we$1,sa,qa,ra}from'./chunk-IQAHULGQ.js';import Gt,{memo,createContext,useState,useRef,useId,useMemo,useCallback,useEffect,useContext}from'react';import {styled,Popover,Input,Typography,Box}from'@mui/material';import C from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import Xt from'@mui/material/Box';import {useTranslation}from'react-i18next';import {styled as styled$1}from'@mui/material/styles';var R=37,M=545;styled(Popover)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"12px"}}));var Kt=44,ce={"--w-rjv-color":"#9cdcfe","--w-rjv-key-string":"#357fb9","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ffffff","--w-rjv-arrow-color":"#116e6bed","--w-rjv-edit-color":"#9cdcfe","--w-rjv-info-color":"#9c9c9c7a","--w-rjv-update-color":"#FFE20B","--w-rjv-copied-color":"#9cdcfe","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#000000","--w-rjv-colon-color":"#000000","--w-rjv-brackets-color":"#000000","--w-rjv-quotes-color":"#9cdcfe","--w-rjv-quotes-string-color":"#c27c46","--w-rjv-type-string-color":"#c27c46","--w-rjv-type-int-color":"#956ea5","--w-rjv-type-float-color":"#956ea5","--w-rjv-type-bigint-color":"#956ea5","--w-rjv-type-boolean-color":"#956ea5","--w-rjv-type-date-color":"#956ea5","--w-rjv-type-url-color":"#3b89cf","--w-rjv-type-null-color":"#956ea5","--w-rjv-type-nan-color":"#956ea5","--w-rjv-type-undefined-color":"#956ea5",padding:"1rem",height:`calc(100% - ${Kt+R}px`,overflow:"auto"},Ye={...ce,background:"transparent","--w-rjv-line-color":"transparent"},Xe=styled("button")(({theme:e})=>({padding:"0rem",borderRadius:"0.25rem",backgroundColor:e.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem",color:e.palette.text.primary,fontSize:"0.625rem",fontWeight:e.typography.fontWeightBold,outline:"none",cursor:"pointer",border:`1px solid ${e.palette.grey[100]}`,"&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark};`},position:"relative",overflow:"hidden",transition:"all 0.2s ease-in-out",width:"24px",height:"24px",flexShrink:0})),Qe=styled("button")(({theme:e})=>({outline:"none",cursor:"pointer",border:"1px solid transparent","&:hover":{boxShadow:e.shadows[8]},borderRadius:"0.25rem",position:"relative",backgroundColor:e.palette.background.transparent,display:"inline-flex",alignItems:"center",justifyContent:"center"}));styled(Input)(({theme:e})=>({border:`1px solid ${e.palette.grey[100]}`,borderRadius:"0.25rem",padding:"0.375rem",fontSize:"0.625rem",outline:"none",width:"100%",maxWidth:"150px",height:"1.5rem",backgroundColor:e.palette.background.paper,"&:focus":{border:`1px solid ${e.palette.info.dark}`}}));var ue=styled(Typography)(()=>({border:"1px solid rgba(242, 242, 242, 0.70);",display:"inline-flex",height:"24px",padding:"0px 8px",justifyContent:"center",alignItems:"center",borderRadius:"37.5px",backgroundColor:"#fff"})),fe=styled(Box,{shouldForwardProp:e=>!["isMaximized","isScrollingRequest","isRequestShown"].includes(e)})(({isScrollingRequest:e,isMaximized:t,isRequestShown:r,theme:o})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",paddingBlock:"0px",paddingInlineStart:"12px",paddingInlineEnd:"12px",position:"sticky",left:0,right:0,top:0,background:"#fff",zIndex:5,...e&&{boxShadow:o.shadows[23]},...t&&{paddingTop:zn,transition:"padding 0.3s ease-in-out",...r&&{width:"50%"}}})),me=styled(Box,{shouldForwardProp:e=>!["isMaximized","isRequestShown"].includes(e)})(({isMaximized:e,isRequestShown:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px",height:R,position:"fixed",bottom:0,right:0,left:e?"50vw":0,...!t&&{left:0}})),ge=styled(Box)(()=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"8px",paddingInlineEnd:"0px"})),he=styled(Box)(()=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"0px",paddingInlineEnd:"12px"})),Ue=styled(motion.div,{shouldForwardProp:e=>!["isRequestShown","isMaximized"].includes(e)})(({isRequestShown:e,isMaximized:t})=>({width:"100%",height:"100%",overflowY:"auto",overflowX:"hidden",background:"#fff",zIndex:20,position:"relative",display:"flex",flexDirection:"column",borderBottomRightRadius:"12px",borderBottomLeftRadius:e?0:"12px",...t&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"100vh"}}));styled(motion.div,{shouldForwardProp:e=>!["isMaximized","currentRequestWidth"].includes(e)})(({isMaximized:e,currentRequestWidth:t})=>({backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:e?"100vh":"100%",overflowY:"auto",overflowX:"hidden",position:"absolute",width:e?"100vw":t,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"}));styled(Box,{shouldForwardProp:e=>!["isMaximized","currentHeight"].includes(e)})(({isMaximized:e,currentHeight:t})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:e?`calc(100vh - ${R}px)`:(t||M)-R+5,background:"transparent",position:"fixed",width:"100%"}));var Ze=styled(Box)(()=>({position:"fixed",width:"100%",background:"transparent",height:"100%"})),et=styled("span")(()=>({color:"#032F62"})),tt=styled("span")(()=>({color:"#357fb9"}));function G({"data-copied":e,style:t,onClick:r},{keyName:o}){return o?jsxs(Qe,{style:t,onClick:n=>{r?.(n);},children:[jsx(AnimatePresence,{children:e&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ta,alt:"icon"},"copied-icon")}),jsx(AnimatePresence,{children:!e&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ra,alt:"icon"},"copy-icon")})]}):jsx("span",{})}function Ut({onClick:e,icon:t,label:r,disableAnimation:o,...n}){let[i,l]=Gt.useState(false),{t:p}=useTranslation();return jsxs(Xe,{...n,onClick:d=>{e?.(d),!o&&(l(true),setTimeout(()=>{l(false);},2e3));},children:[jsxs(Xt,{sx:{width:"16px",display:"flex",overflow:"hidden",justifyContent:"center",alignItems:"center"},children:[jsx(AnimatePresence,{mode:"wait",children:i&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:ta,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{mode:"wait",children:!i&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:t,alt:"icon"},"id-icon")})]}),r&&jsxs(Fragment,{children:[jsx(AnimatePresence,{children:i&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute"},transition:{duration:.4},children:p("copied")})}),jsx(AnimatePresence,{children:!i&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute",width:"53px"},transition:{duration:.4},children:r})})]})]})}var rt=memo(Ut);var B=rt;var it=styled$1("div")(()=>({display:"flex",alignItems:"center",position:"relative",flexShrink:0,width:"24px",height:"24px"})),st=styled$1("button")(({theme:e,isActive:t})=>({width:"24px",height:"24px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,backgroundColor:e.palette.background.paper,cursor:"pointer",outline:"none",padding:0,position:"relative",zIndex:11,transition:"all 0.2s ease-in-out","&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`}})),at=styled$1(motion.div)(()=>({position:"absolute",right:0,top:0,height:"24px",display:"flex",alignItems:"center",zIndex:20,background:"transparent"})),lt=styled$1(motion.input)(({theme:e})=>({width:"177px",height:"24px",borderRadius:"4px",color:e.palette.text.primary,fontSize:"10px",outline:0,background:e.palette.background.paper,boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`,paddingLeft:"8px",boxSizing:"border-box","::placeholder":{color:"#D5D5D5"}})),ye={position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:2,userSelect:"none"},pt={...ye,background:"none",border:"none",padding:0,margin:0,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none","&:disabled":{opacity:.3,cursor:"default"}},dt=styled$1("button")(()=>({...pt,right:53})),ct=styled$1("button")(()=>({...pt,right:39})),ut=styled$1(motion.img)(()=>({...ye,right:24,width:10,height:10,cursor:"pointer"})),ft=styled$1(motion.img)(()=>({...ye,right:8,width:11,height:11,cursor:"default"})),we=styled$1("img")(()=>({width:10,height:10})),mt=styled$1("img")(()=>({width:12,height:12})),gt=styled$1("span")(({theme:e})=>({position:"absolute",right:67,top:"50%",transform:"translateY(-50%)",fontSize:"9px",lineHeight:1,color:e.palette.text.secondary,whiteSpace:"nowrap",userSelect:"none",zIndex:2,pointerEvents:"none"}));function ro({value:e,onChange:t,currentIndex:r,totalCount:o,onPrev:n,onNext:i,onOpen:l,placeholder:p="Search..."}){let[s,d]=useState(false),g=useRef(null),m=e.trim().length>0,w=o>0,x=m,b=()=>{l?.(),d(true),requestAnimationFrame(()=>g.current?.focus());},S=()=>{t(""),d(false);};return jsxs(it,{children:[jsx(AnimatePresence,{children:s&&jsxs(at,{initial:{clipPath:"inset(0 0 0 100%)",opacity:0},animate:{clipPath:"inset(0 0 0 0%)",opacity:1},exit:{clipPath:"inset(0 0 0 100%)",opacity:0},transition:{duration:.22,ease:[.4,0,.2,1]},children:[jsx(lt,{ref:g,initial:false,animate:{paddingRight:x?"98px":"24px"},transition:{duration:.15},placeholder:p,value:e,onChange:u=>t(u.target.value),onKeyDown:u=>{u.key==="Enter"&&(u.shiftKey?n():i()),u.key==="Escape"&&S();},onBlur:()=>{m||d(false);}}),x&&jsx(dt,{onClick:n,disabled:!w,title:"Previous match (Shift+Enter)",children:jsx(we,{src:dl,alt:"prev"})}),x&&jsx(ct,{onClick:i,disabled:!w,title:"Next match (Enter)",children:jsx(we,{src:el,alt:"next"})}),x&&jsx(ut,{src:wi,alt:"clear",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:S}),jsx(ft,{src:Ik,alt:"search",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),x&&jsx(gt,{children:w?`${r+1}/${o}`:"0/0"})]},"input-area")}),jsx(AnimatePresence,{children:!s&&jsx(motion.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.15},children:jsx(st,{isActive:false,onClick:b,title:"Search",children:jsx(mt,{src:A,alt:"search"})})})})]})}var z=memo(ro);function yt(e,t){let r=[],o=t.length,n=0,i=e.indexOf(t,n);for(;i!==-1;){let l=i+o;r.push([i,l]),n=l,i=e.indexOf(t,n);}return r}var io={padding:0,outline:"none"};function bt({text:e,queryLength:t,ranges:r,idPrefix:o}){let n=[],i=0;return r.forEach(([l,p],s)=>{l>i&&n.push(e.slice(i,l)),n.push(jsx("mark",{style:io,children:e.slice(l,l+t)},`${o}-${s}`)),i=p;}),i<e.length&&n.push(e.slice(i)),jsx(Fragment,{children:n})}function T({text:e,query:t}){let r=useId(),o=useMemo(()=>t.trim().toLowerCase(),[t]),n=useMemo(()=>{if(!o)return e;let i=e.toLowerCase(),l=yt(i,o);return l.length===0?e:jsx(bt,{text:e,queryLength:t.length,ranges:l,idPrefix:r})},[e,t.length,o,r]);return jsx(Fragment,{children:n})}function U(e,t){return e.toLowerCase().includes(t)}function Z(e){return e.trim().toLowerCase()}function ee(e){let t=Z(e);return (r,{keyName:o})=>{if(!t||!o)return;let n=String(o);if(U(n,t))return jsx(tt,{children:jsx(T,{text:String(o),query:e})})}}function te(e){let t=Z(e);return (r,{value:o})=>{if(!t)return;let n=String(o??"");if(U(n,t))return jsxs(et,{children:['"',jsx(T,{text:String(o??""),query:e}),'"']})}}function fo({title:e,onClose:t,onMaximize:r,maximized:o=false,id:n,onMouseHover:i,onMouseLeave:l,onRequestClick:p,isRequestExpanded:s=false,showRequestIcon:d$2=false,isHovered:g=false}){return jsx(c,{id:n,maximized:o||false,children:jsx(d,{isHovered:true,onMouseEnter:i,onMouseLeave:l,isMaximized:o,title:e,icon:Vd,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:o,onClick:r}),d$2&&jsx(d$1,{onClick:p,isExpanded:s,isHovered:g,children:"Request"})]})})})}var It=memo(fo);var be=It;var H=createContext({jsonViewerList:[],handleJsonViewerDialogOpen:()=>{},handleWindowMinimize:()=>{},handleWindowOrder:()=>{},registerJsonViewerEvents:()=>{},containerRef:{current:null}});var Jt=({list:e,events:t,onClose:r,isWindowMinimized:o,windowOrder:n})=>e?.length?jsx(Fragment,{children:e.map((i,l)=>jsx(q,{index:l,...t,...i,onClose:()=>{r(l);},isWindowMinimized:o,windowOrder:n},i.json.id))}):null;var wo=({children:e,containerRef:t})=>{let[r,o]=useState([]),[n,i]=useState(false),[l,p]=useState(1),s=useRef({}),d=useCallback(c=>{if(r.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(r.some(N=>N.json.id===c.json.id))return;let O=structuredClone(c.json),V=O.request_body,u={...c,json:O,requestJson:c.requestJson||V||void 0};delete u.json.request_body,o(N=>[...N,u]);},[r]),g=useCallback(c=>{o(O=>O.filter((V,u)=>c!==u));},[]),m=useCallback(c=>{i(c);},[]),w=useCallback(c=>{p(c);},[]),x=useCallback(c=>{s.current=c;},[]),b=useMemo(()=>({onJsonRequestOpen:()=>s.current.onJsonRequestOpen?.(),onJsonSearch:()=>s.current.onJsonSearch?.(),onJsonCopy:()=>s.current.onJsonCopy?.(),onJsonIdCopy:()=>s.current.onJsonIdCopy?.(),onJsonNodesMinimize:()=>s.current.onJsonNodesMinimize?.(),onJsonNodesMaximize:()=>s.current.onJsonNodesMaximize?.()}),[]),S=useMemo(()=>({jsonViewerList:r,handleJsonViewerDialogOpen:d,handleWindowMinimize:m,handleWindowOrder:w,registerJsonViewerEvents:x,containerRef:t}),[r,d,m,w,x,t]);return jsxs(H.Provider,{value:S,children:[e,jsx(Jt,{list:r,events:b,onClose:g,isWindowMinimized:n,windowOrder:l})]})};var Tt="#FFE20B";function oe(e,t){let[r,o]=useState(0),[n,i]=useState(0);useEffect(()=>{if(!t.trim()){i(0),o(0);return}let s=setTimeout(()=>{let d=e.current?.querySelectorAll("mark")??[];i(d.length),o(0);},50);return ()=>clearTimeout(s)},[t,e]),useEffect(()=>{if(!e.current||!t.trim())return;let s=Array.from(e.current.querySelectorAll("mark"));s.forEach((d,g)=>{let m=g===r;d.style.backgroundColor=m?Tt:"transparent",d.style.outline=m?`1px solid ${Tt}`:"none",d.style.borderRadius="2px";}),s[r]?.scrollIntoView({behavior:"smooth",block:"nearest"});},[r,n,t,e]);let l=useCallback(()=>{n!==0&&o(s=>(s+1)%n);},[n]),p=useCallback(()=>{n!==0&&o(s=>(s-1+n)%n);},[n]);return {currentIndex:r,totalCount:n,goNext:l,goPrev:p}}function Et(e,t){return e==null?String(e).includes(t):typeof e=="string"?e.toLowerCase().includes(t):typeof e=="number"||typeof e=="boolean"?String(e).includes(t):false}function Vt(e,t){if(Array.isArray(e)){let r=e.map(o=>Vt(o,t)).filter(o=>o!=null);return r.length>0?r:null}return typeof e=="object"&&e!==null?Wt(e,t):Et(e,t)?e:null}function Wt(e,t){let r={};for(let[o,n]of Object.entries(e))if(o.toLowerCase().includes(t))r[o]=n;else if(typeof n=="object"&&n!==null){let i=Vt(n,t);i!==null&&(r[o]=i);}else Et(n,t)&&(r[o]=n);return Object.keys(r).length>0?r:null}function Ce(e,t){return t.trim()?Wt(e,t.toLowerCase()):e}var L=400,re=.5;function q(e){let{containerRef:t}=useContext(H),{height:r,width:o}=a$1(),[n,i]=useState(false);return jsx(m,{isOpen:true,onClose:e.onClose,containerRef:t,defaultWindowWidth:L,defaultWindowHeight:M,minHeight:300,windowZIndex:3,initialPosition:{x:o/2-L/4+e.index*20,y:r/2-M/2+e.index*30},windowProps:{mainAppOrder:e.windowOrder,mainAppIsMinimized:e.isWindowMinimized,overflow:"visible",titleBar:jsx(Co,{...e,isRequestShown:n,setIsRequestShown:i})},children:jsx(vo,{...e,isRequestShown:n})})}function Co({requestJson:e={},onClose:t,onJsonRequestOpen:r,isRequestShown:o,setIsRequestShown:n}){let{isMaximized:i,setIsMaximized:l,isToolbarAnimationDisabled:p,setIsToolbarAnimationDisabled:s,dimensions:d,updateSize:g}=useContext(a$2),{onMouseEnter:m,onMouseLeave:w,isHovered:x}=b(),b$1=d.width||L,S=Object.keys(e)?.length;return jsx(motion.div,{style:{...i&&{height:zn,position:"fixed",zIndex:1e3}},animate:{width:o?b$1*2:b$1,...i&&{width:"100vw"},...!i&&{transform:`translateX(${o?-b$1:0}px)`}},transition:{duration:re,...p&&{duration:0}},children:jsx(be,{title:o?"JSON Request & Response":"JSON Response",onClose:()=>t(),onMaximize:()=>{l(c=>!c),s(true),setTimeout(()=>{s(false);},re*1e3);},isHovered:x,onMouseHover:m,onMouseLeave:w,maximized:i,id:"draggable-dialog-title",onRequestClick:()=>{n(c=>!c),s(false),o||(r?.(),g({width:L,height:M}));},isRequestExpanded:o,showRequestIcon:!!S})})}function vo({json:e,requestJson:t={},onJsonSearch:r,onJsonCopy:o,onJsonIdCopy:n,onJsonNodesMinimize:i,onJsonNodesMaximize:l,isRequestShown:p}){let{isMaximized:s,isToolbarAnimationDisabled:d,dimensions:g}=useContext(a$2),[m,w]=useState(false),[x,b]=useState(false),[S,c]=useState(true),[O,V]=useState(false),[u,N]=useState(""),[k,jt]=useState(""),Je=useRef(null),ke=useRef(null),_=oe(Je,u),F=oe(ke,k),qt=useMemo(()=>Object.keys(e)?.length,[e]),Pe=g.width||L,Be=v=>{setTimeout(()=>{navigator.clipboard.writeText(v||"").then(()=>{});},10);},Dt=useMemo(()=>Object.keys(t)?.length,[t]),Oe=useMemo(()=>Ce(e,u),[e,u]),Te=useMemo(()=>Ce(t,k),[t,k]);return jsx(Ze,{"data-testid":"JSONViewer",children:jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:s?`calc(100vh - ${R}px)`:(g.height||M)-R+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:p&&jsxs(motion.div,{initial:{left:s?"50vw":0,...s&&{position:"relative",left:"-50vw"}},animate:{left:s?"50vw":-Pe,...s&&{position:"relative",left:"0"},...!p&&{left:0}},exit:{left:s?"50vw":0,...s&&{position:"relative",left:"0"}},transition:{duration:re,...d&&{duration:0}},ref:ke,style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:s?"100vh":"100%",overflowY:"auto",position:"absolute",width:s?"100vw":Pe,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{V(true),setTimeout(()=>{V(false);},2e3);},children:[jsxs(fe,{isMaximized:s,isScrollingRequest:O,sx:{background:"#E7E7E7B2"},isRequestShown:p,children:[jsx(he,{children:jsx(ue,{variant:"subtitle1",children:"API Request"})}),jsxs(ge,{children:[jsx(z,{value:k,onChange:jt,onOpen:()=>r?.(),currentIndex:F.currentIndex,totalCount:F.totalCount,onPrev:F.goPrev,onNext:F.goNext}),jsx(B,{disableAnimation:true,onClick:()=>{S?l?.():i?.(),c(v=>!v);},icon:S?xe:we$1}),jsx(B,{onClick:()=>{o?.(),navigator.clipboard.writeText(JSON.stringify(t,null,2)).then(()=>{});},icon:sa}),jsx(B,{onClick:()=>{n?.(),navigator.clipboard.writeText(e?.id||"").then(()=>{});},icon:qa})]})]}),k.trim()&&Te===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(C,{value:Te??t,style:Ye,displayDataTypes:false,collapsed:k.trim()?void 0:S?1:void 0,onCopied:(v,I)=>{typeof I=="string"&&Be(I);},enableClipboard:false,children:[jsx(C.String,{render:te(k)}),jsx(C.KeyName,{render:ee(k)}),jsx(C.CountInfo,{render:(v,{keyName:I})=>{if(!I)return jsx("span",{})}}),jsx(C.Copied,{render:G})]}),jsx(AnimatePresence,{children:p&&jsx(me,{sx:{flex:1,height:R,left:0},children:jsx(c$2,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:Dt})})})]})}),jsxs(Ue,{ref:Je,isMaximized:s,isRequestShown:p,style:{left:0,maxHeight:"100vw"},initial:{...s&&{width:"100vw",left:0}},animate:{...s&&{position:"absolute",left:p?"50vw":"0"}},transition:{duration:re,...d&&{duration:0}},onScroll:()=>{b(true),setTimeout(()=>{b(false);},2e3);},children:[jsxs(fe,{isMaximized:s,isScrollingRequest:x,isRequestShown:p,children:[jsx(he,{children:jsx(ue,{variant:"subtitle1",children:"API Response"})}),jsxs(ge,{children:[jsx(z,{value:u,onChange:N,onOpen:()=>r?.(),currentIndex:_.currentIndex,totalCount:_.totalCount,onPrev:_.goPrev,onNext:_.goNext}),jsx(B,{disableAnimation:true,onClick:()=>{m?l?.():i?.(),w(v=>!v);},icon:m?xe:we$1}),jsx(B,{onClick:()=>{o?.(),navigator.clipboard.writeText(JSON.stringify(e,null,2)).then(()=>{});},icon:sa}),jsx(B,{onClick:()=>{n?.(),navigator.clipboard.writeText(e?.id||"").then(()=>{});},icon:qa})]})]}),u.trim()&&Oe===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(C,{value:Oe??e,style:ce,displayDataTypes:false,collapsed:u.trim()?void 0:m?1:void 0,onCopied:(v,I)=>{typeof I=="string"&&Be(I);},children:[jsx(C.String,{render:te(u)}),jsx(C.KeyName,{render:ee(u)}),jsx(C.CountInfo,{render:(v,{keyName:I})=>{if(!I)return jsx("span",{})}}),jsx(C.Copied,{render:G})]}),jsx(me,{sx:{flex:1,height:R},children:jsx(c$2,{sx:{borderBottomLeftRadius:p?0:"12px",background:"#f8f9fb",flex:1},totalCount:qt})})]})]})})}var Ro=({isWindowMinimized:e,windowOrder:t,...r})=>{let{handleJsonViewerDialogOpen:o,handleWindowMinimize:n,handleWindowOrder:i,registerJsonViewerEvents:l}=useContext(H),p=useCallback(()=>{n(e);},[n,e]),s=useCallback(()=>{i(t);},[i,t]);return useEffect(()=>{s();},[s]),useEffect(()=>{p();},[p]),useEffect(()=>{l(r);},[l,r]),{handleJsonViewerDialogOpen:o}};var zr=q;export{B as a,z as b,T as c,be as d,H as e,Jt as f,wo as g,oe as h,Ro as i,zr as j};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-HDCNWBW5.js';import {aa,ba}from'./chunk-K43ZLU4I.js';import {zc,Bc}from'./chunk-I3LSSBRI.js';import Ie,{forwardRef,useState,useId,useCallback,useMemo}from'react';import we from'@mui/material/InputLabel';import Le from'@mui/material/MenuItem';import ge from'@mui/material/SvgIcon';import {jsx,jsxs}from'react/jsx-runtime';import U from'@mui/material/Box';import Se from'@mui/material/IconButton';import be from'@mui/material/CircularProgress';import he from'@mui/material/FormControl';import _ from'@mui/material/Select';import {styled}from'@mui/material/styles';var N=forwardRef((e,r)=>jsx(ge,{ref:r,viewBox:"0 0 8 8",fontSize:"small",...e,children:jsx("path",{d:"M6.63965 0.102539C6.75727 0.0997602 6.87304 0.133137 6.97168 0.197266C7.07023 0.261345 7.14718 0.353407 7.19238 0.461914C7.23757 0.570522 7.24961 0.690513 7.22559 0.805664C7.20154 0.920834 7.1425 1.02595 7.05762 1.10742L7.05664 1.10938L4.56738 3.59766L4.49512 3.66992L7.05762 6.23242C7.11359 6.28617 7.15865 6.35066 7.18945 6.42188C7.22023 6.49308 7.23648 6.5699 7.2373 6.64746C7.23809 6.72499 7.22359 6.80223 7.19434 6.87402C7.16499 6.9459 7.1213 7.0115 7.06641 7.06641C7.01149 7.12132 6.94592 7.16498 6.87402 7.19434C6.8022 7.22362 6.72502 7.23809 6.64746 7.2373C6.56987 7.23649 6.4931 7.22024 6.42188 7.18945C6.35064 7.15865 6.28618 7.1136 6.23242 7.05762L6.23145 7.05664L3.74219 4.56836L3.66992 4.49512L3.59766 4.56836L1.1084 7.05664L1.10742 7.05762C1.05365 7.11362 0.989227 7.15864 0.917969 7.18945C0.846721 7.22025 0.769997 7.2365 0.692383 7.2373C0.614798 7.23809 0.537661 7.22364 0.46582 7.19434C0.393921 7.16498 0.328351 7.12132 0.273438 7.06641C0.218559 7.01151 0.174849 6.94589 0.145508 6.87402C0.116258 6.80223 0.101751 6.72498 0.102539 6.64746C0.103364 6.5699 0.119618 6.49308 0.150391 6.42188C0.181198 6.35065 0.226245 6.28617 0.282227 6.23242L2.84473 3.66992L2.77246 3.59766L0.283203 1.10938L0.282227 1.1084L0.224609 1.04297C0.172384 0.974382 0.136093 0.894624 0.118164 0.80957C0.0942576 0.695891 0.104774 0.577375 0.148438 0.469727C0.192107 0.362124 0.266971 0.269962 0.363281 0.205078C0.459591 0.140238 0.573348 0.105497 0.689453 0.105469C0.767281 0.105527 0.844313 0.121103 0.916016 0.151367C0.987801 0.181723 1.05308 0.226359 1.10742 0.282227L3.66992 2.84473L6.23242 0.282227C6.33914 0.171037 6.48558 0.106239 6.63965 0.102539Z",fill:"#20232B",stroke:"white",strokeWidth:.20511})}));N.displayName="DefaultClearIcon";var y=N;function M({size:e=20,color:r="grey.A400",...n}){return jsx(be,{size:e,sx:{backgroundColor:"transparent",color:r},...n})}function B({endAdornmentProp:e,isLoading:r,showClear:n,showMenuArrow:l,menuOpen:m,IconComponent:s,ClearIconComponent:f=y,onClear:d,onClearDefault:p}){return !(e||n||r||l)?null:jsxs(U,{className:"SelectBase-endAdornmentRoot",component:"span",children:[e,r?jsx(M,{}):null,!r&&n?jsx(Se,{className:"SelectBase-clearIconButton",type:"button",tabIndex:0,size:"small","aria-label":"Clear selection",onMouseDown:t=>{t.preventDefault(),t.stopPropagation();},onClick:t=>{t.preventDefault(),t.stopPropagation(),d?d():p();},sx:t=>({p:"1px",flexShrink:0,cursor:"pointer",color:"inherit",backgroundColor:"transparent",...s?{mr:2}:{},"&:hover":{backgroundColor:t.palette.action.hover},"&:focus-visible":{outline:`2px solid ${t.palette.primary.main}`,outlineOffset:1}}),children:jsx(f,{sx:{fontSize:8,width:8,height:8}})}):null,!r&&l&&!s&&jsx(U,{component:"span",className:`SelectBase-menuTriggerIcon${m?" SelectBase-menuTriggerIcon-open":""}`,"aria-hidden":true,children:jsx(a,{})})]})}function G(e,r){if(e==null)return false;if(Array.isArray(e))return e.length>0;if(typeof e=="object"){if(r){let l=r(e);return l!=null&&l!==""}let n=e.id;return n!=null&&n!==""}return String(e)!==""}var Z=styled(he)(({theme:e})=>({minWidth:52,height:"40px !important",maxHeight:"40px !important",backgroundColor:"transparent",width:"100%",cursor:"pointer","& .MuiInputBase-root":{cursor:"pointer"},"& .MuiInputBase-root.Mui-disabled":{cursor:"default"},"& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)",color:`${e.palette.grey[700]} !important`,height:"100%",pointerEvents:"none"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));styled(_)(({theme:e})=>({fontSize:"11px",lineHeight:"11px",color:e.palette.common.black,borderRadius:"4px",boxShadow:e.shadows[17],border:"none",outline:"none","&:focus":{border:"1px solid #1F88D0"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"rgba(0, 0, 0, 0.23)"},"&.Mui-focused fieldset":{border:"2px solid red"}},minWidth:52,height:"40px !important",maxHeight:"40px !important",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));var J=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),K=styled(_,{shouldForwardProp:e=>!["feedbackType","hasFeedback"].includes(e)})(({theme:e,error:r,feedbackType:n,hasFeedback:l})=>{let{borderColor:m}=aa(e,n),s=l?"4px 4px 0 0":"4px";return {width:"100%",height:"40px !important",maxHeight:"40px !important",borderRadius:s,overflow:"hidden",backgroundColor:e.palette.grey[400],"&.Mui-disabled":{backgroundColor:e.palette.grey[400]},".MuiSelect-select":{padding:"0 8px !important",height:"40px !important",maxHeight:"40px !important",display:"flex",alignItems:"flex-end !important",backgroundColor:`${e.palette.grey[400]} !important`,borderRadius:s,fontSize:"11px",cursor:"pointer","&:focus":{backgroundColor:`${e.palette.grey[400]} !important`}},"&.Mui-disabled .MuiSelect-select":{cursor:"default"},".MuiSelect-filled":{padding:"0 8px !important"},"&.MuiInputBase-adornedEnd":{display:"inline-flex",alignItems:"center",backgroundColor:e.palette.grey[400],gap:0},"&&.MuiInputBase-adornedEnd .MuiInputBase-input":{flex:"1 1 0%",minWidth:0,width:"auto",maxWidth:"100%"},"& .SelectBase-endAdornmentRoot":{display:"flex",alignItems:"center",flexShrink:0,gap:"8px",position:"relative",zIndex:1},"& .SelectBase-menuTriggerIcon":{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"inherit",lineHeight:0,"& svg, & .MuiSvgIcon-root":{transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter})}},"& .SelectBase-menuTriggerIcon-open svg, & .SelectBase-menuTriggerIcon-open .MuiSvgIcon-root":{transform:"rotate(180deg)"},"&.Mui-disabled .MuiSelect-icon":{color:"rgba(0, 0, 0, 0.38)"},"&.Mui-disabled .SelectBase-menuTriggerIcon":{cursor:"default",color:"rgba(0, 0, 0, 0.38)","& svg path":{fill:"rgba(0, 0, 0, 0.38)",stroke:"rgba(0, 0, 0, 0.38)"}},...n&&{border:`1px solid ${m}`},...l&&{borderBottom:"none"},...r&&{border:`1px solid ${e.palette.error.main}`}}}),Q=styled(U)(()=>({display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1,cursor:"pointer","&:has(.MuiInputBase-root.Mui-disabled)":{cursor:"default"}}));function Pe({required:e,hasError:r,label:n,value:l,helperText:m,feedback:s,onChange:f,options:d,isOptionEqualToValue:p,renderOption:h,getOptionValue:t,isLoading:I,children:Y,getOptionLabel:k,IconComponent:F,showClearIcon:j=false,ClearIconComponent:q=y,onClear:O,endAdornment:V,inputProps:ee,open:C,onOpen:w,onClose:L,...P},oe){let[te,re]=useState(false),ne=zc(useId(),"select-base-multiple"),le=C??te,v=useCallback((o,a)=>{a?w?.(o):L?.(o),C===void 0&&re(a);},[w,L,C]),ae=o=>{f?.(o);},ie=()=>{let o=l?.filter(a=>a!=null)??[];return t?o.map(t):o.map(a=>a?.id)},se=useMemo(()=>d?.filter(o=>l?.some(a=>{if(a==null)return false;if(p)return p(o,a);if(t){let g=t(o),b=t(a);return g===b||String(g)===String(b)}let c=o?.id,i=a?.id;return c===i||String(c)===String(i)})),[d,l,p,t]),de=()=>se?.map(o=>k?k(o):o.label)?.join(", "),E=!!(P.disabled||I),pe=j&&G(l,t)&&!E,ce=jsx(B,{endAdornmentProp:V,isLoading:!!I,showClear:pe,showMenuArrow:!I,menuOpen:le,IconComponent:F,ClearIconComponent:q,onClear:O,onClearDefault:()=>f?.([])}),{isProvided:ue,isVisible:R,type:me}=Bc(s);return jsxs(Q,{children:[jsxs(Z,{id:ne,variant:"filled","data-testid":"SelectBase",required:e,children:[jsx(we,{id:`select-label-${n.trim()}`,"data-testid":"SelectBase_InputLabel",children:n}),jsx(K,{multiple:true,"data-testid":"SelectBase_Select",ref:oe,value:ie()??"",error:r&&!R,feedbackType:me,hasFeedback:R,disableUnderline:true,required:e,labelId:`select-label-${n.trim()}`,id:`select-label-${n.trim()}`,renderValue:de,...P,open:C,onOpen:o=>v(o,true),onClose:o=>v(o,false),inputProps:ee,disabled:E,IconComponent:F??(()=>null),endAdornment:ce,onChange:o=>{let c=o.target.value?.map(i=>d?.find(g=>{if(t){let A=t(g);return A===i||String(A)===String(i)}let b=g?.id;return b===i||String(b)===String(i)}));f?.(c?.filter(i=>i!=null)??[]);},children:Y||d?.map((o,a)=>{let c=p?p(o,l):o?.id===l?.id;return jsx(Le,{value:(t?t(o):o?.id)??"",onClick:()=>{ae(o);},sx:{fontSize:"12px",backgroundColor:i=>c?i.palette.action.hover:i.palette.common.white},children:h?h(o):o.label},`select-base-multiple-item-${a}`)})})]}),ue?jsx(ba,{...s}):jsx(J,{children:m})]})}var so=Ie.forwardRef(Pe);export{y as a,B as b,G as c,Z as d,J as e,K as f,Q as g,so as h};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {f}from'./chunk-K43ZLU4I.js';import e from'@mui/material/Box';import l from'@mui/material/Button';import d from'@mui/material/Input';import n from'@mui/material/ListSubheader';import r from'@mui/material/MenuItem';import {keyframes,styled}from'@mui/material/styles';var c=keyframes`
|
|
2
|
-
0% {
|
|
3
|
-
transform: rotate(-90deg);
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
transform: rotate(270deg);
|
|
7
|
-
}
|
|
8
|
-
`,b=styled(e)({width:12,height:12,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center","& svg":{width:"100%",height:"100%",display:"block"},animation:`${c} 2s linear infinite`}),x=styled(n)(({theme:t})=>({backgroundColor:t.palette.common.white,paddingLeft:8,paddingRight:8,paddingBottom:6,lineHeight:1})),w=styled("span")(({theme:t})=>({fontFamily:t.typography.fontFamily,fontWeight:500,fontSize:11,lineHeight:"100%",letterSpacing:0,color:"#8D8D94",leadingTrim:"none",transition:t.transitions.create(["color","opacity"],{duration:90,easing:"ease-in"})})),C=styled(e)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",gap:t.spacing(1)})),F=styled(n)(({theme:t})=>({backgroundColor:t.palette.common.white,paddingLeft:8,paddingRight:8,paddingTop:t.spacing(.75),paddingBottom:t.spacing(.75),lineHeight:1.2,"&.MuiListSubheader-root":{lineHeight:1.2}})),k=styled(l)(({theme:t})=>({minWidth:0,padding:"2px 4px",fontFamily:t.typography.fontFamily,fontWeight:500,fontStyle:"normal",fontSize:11,lineHeight:"120%",letterSpacing:0,textTransform:"none",verticalAlign:"middle",color:"#1F88D0",transition:t.transitions.create(["color","background-color","opacity"],{duration:90,easing:"ease-in"})})),g=styled(f)(()=>({padding:0,".MuiSvgIcon-root":{width:12,height:12}})),M=styled("img")({width:14,height:14,flexShrink:0,display:"block"}),I=styled(e)({display:"flex",alignItems:"center",width:"100%",gap:8}),B=styled(r,{shouldForwardProp:t=>t!=="$selected"})(({theme:t,$selected:a})=>({fontSize:"12px",backgroundColor:a?"#F8F8F8 !important":t.palette.common.white,"&.Mui-disabled":{opacity:1}})),R=styled(g,{shouldForwardProp:t=>t!=="$mutedRect"})(({$mutedRect:t})=>t?{"& svg rect":{fill:"#BDC1CC"}}:{}),v=styled(d)(({theme:t})=>({width:"100%",height:36,padding:"8px 8px 8px 12px",borderRadius:4,backgroundColor:t.palette.common.white,border:"1px solid #F2F2F2",boxSizing:"border-box","&:hover":{borderColor:"#F2F2F2"},"&.Mui-focused":{borderColor:"#F2F2F2",backgroundColor:t.palette.common.white},"&:before, &:after":{display:"none"},"& input":{padding:0,fontSize:10},"& .MuiInputBase-input":{paddingRight:4}}));styled(r)(({theme:t})=>({opacity:1,paddingTop:0,paddingBottom:0,marginBottom:8,minHeight:"auto",pointerEvents:"none",backgroundColor:t.palette.common.white,"&:hover":{backgroundColor:t.palette.common.white},"&.Mui-focusVisible":{backgroundColor:t.palette.common.white},"&.Mui-disabled":{backgroundColor:t.palette.common.white,opacity:1}}));export{b as a,x as b,w as c,C as d,F as e,k as f,M as g,I as h,B as i,R as j,v as k};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AppService } from '../../types/index.js';
|
|
3
|
-
import { ServiceItemProps } from './ServiceItem';
|
|
4
|
-
interface AppServicesProps extends Pick<ServiceItemProps, 'onClickServiceItem'> {
|
|
5
|
-
serviceCode: string;
|
|
6
|
-
services: AppService[];
|
|
7
|
-
isMaximized: boolean;
|
|
8
|
-
dimensions: {
|
|
9
|
-
width: string | number;
|
|
10
|
-
};
|
|
11
|
-
onChangeServiceCode?: (serviceCode: string) => void;
|
|
12
|
-
}
|
|
13
|
-
declare function AppServices({ isMaximized, serviceCode, dimensions, services, onChangeServiceCode, onClickServiceItem }: Readonly<AppServicesProps>): React.JSX.Element;
|
|
14
|
-
declare const _default: React.MemoExoticComponent<typeof AppServices>;
|
|
15
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ServiceItemProps {
|
|
3
|
-
activeCode: string;
|
|
4
|
-
isDropdown?: boolean;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
navigateToMenuItem: (serviceCode: string) => void;
|
|
8
|
-
onClickServiceItem?: (code: string) => void;
|
|
9
|
-
}
|
|
10
|
-
declare function ServiceItem({ isDropdown, name, code, activeCode, navigateToMenuItem, onClickServiceItem }: Readonly<ServiceItemProps>): import("react").JSX.Element;
|
|
11
|
-
declare const _default: import("react").MemoExoticComponent<typeof ServiceItem>;
|
|
12
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{uc as default}from'../../_chunks/chunk-O3LHVRBN.js';import'../../_chunks/chunk-C5EKTMXI.js';import'../../_chunks/chunk-MRA4IYK7.js';import'../../_chunks/chunk-4HUB6MWM.js';import'../../_chunks/chunk-74TIGJAP.js';import'../../_chunks/chunk-NCG4PCDH.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-7GTNCNBB.js';import'../../_chunks/chunk-6BFV6NCN.js';import'../../_chunks/chunk-LJY75SQY.js';import'../../_chunks/chunk-PNIR4GUC.js';import'../../_chunks/chunk-MGH52F2U.js';import'../../_chunks/chunk-EB24OXAG.js';import'../../_chunks/chunk-637B2KTR.js';import'../../_chunks/chunk-7SNHZ7VW.js';import'../../_chunks/chunk-FOSRKOWU.js';import'../../_chunks/chunk-6IAMZFT6.js';import'../../_chunks/chunk-TDNUHD3F.js';import'../../_chunks/chunk-JUVW4KPW.js';import'../../_chunks/chunk-ALZSCMJI.js';import'../../_chunks/chunk-Q6AL55UP.js';import'../../_chunks/chunk-44P3BD62.js';import'../../_chunks/chunk-UPSV4H3R.js';import'../../_chunks/chunk-2YNDLGG6.js';import'../../_chunks/chunk-ZZPTXUPF.js';import'../../_chunks/chunk-53C2M4NA.js';import'../../_chunks/chunk-VDOQXEUT.js';import'../../_chunks/chunk-NW7HJXBW.js';import'../../_chunks/chunk-YROLX5D7.js';import'../../_chunks/chunk-MBC5H6W7.js';import'../../_chunks/chunk-5DFEQLOX.js';import'../../_chunks/chunk-SNCNXCPA.js';import'../../_chunks/chunk-Y7SE3WMR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-L3QJZAXC.js';import'../../_chunks/chunk-XOH5TUDL.js';import'../../_chunks/chunk-54TY5SXL.js';import'../../_chunks/chunk-OL6PQPSI.js';import'../../_chunks/chunk-WHPBDYOY.js';import'../../_chunks/chunk-TC4ME6DZ.js';import'../../_chunks/chunk-ESRTU72R.js';import'../../_chunks/chunk-IRBWQZSH.js';import'../../_chunks/chunk-HWDXYAQY.js';import'../../_chunks/chunk-PGRQEN5C.js';import'../../_chunks/chunk-334EPCW5.js';import'../../_chunks/chunk-ZT35MSJQ.js';import'../../_chunks/chunk-IA5IEBOH.js';import'../../_chunks/chunk-JZN7D44A.js';import'../../_chunks/chunk-DCQXQHAI.js';import'../../_chunks/chunk-HBR7P4LZ.js';import'../../_chunks/chunk-JWLIHVLP.js';import'../../_chunks/chunk-LEFLUMTS.js';import'../../_chunks/chunk-Y2GYQNCW.js';import'../../_chunks/chunk-ZRRZG4CU.js';import'../../_chunks/chunk-OGVYYV4P.js';import'../../_chunks/chunk-7ZWAT3EG.js';import'../../_chunks/chunk-5BAFTVZQ.js';import'../../_chunks/chunk-BTE72W4R.js';import'../../_chunks/chunk-YFIYVG7E.js';import'../../_chunks/chunk-SPNEIGHB.js';import'../../_chunks/chunk-TYMPXKFT.js';import'../../_chunks/chunk-WYJOH2AK.js';import'../../_chunks/chunk-AN2PVRN2.js';import'../../_chunks/chunk-EG32DA46.js';import'../../_chunks/chunk-BFVDSVFM.js';import'../../_chunks/chunk-QNBOZQDY.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-4YB6A7BD.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-3CMVSEFO.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-DS6S5G66.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
|
-
maximized?: boolean | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export declare const ServiceItemStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
8
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
9
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
10
|
-
title?: string | undefined;
|
|
11
|
-
isDropdown: boolean;
|
|
12
|
-
}, {}, {}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DragControls } from 'framer-motion';
|
|
3
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
-
import { AppService } from '../../types/index.js';
|
|
5
|
-
export interface AppServicesBarProps {
|
|
6
|
-
appCode: string;
|
|
7
|
-
serviceCode: string;
|
|
8
|
-
services: AppService[];
|
|
9
|
-
isMaximized: boolean;
|
|
10
|
-
dimensions: {
|
|
11
|
-
width: number | string;
|
|
12
|
-
};
|
|
13
|
-
ui: {
|
|
14
|
-
onStartDrag: DragControls['start'];
|
|
15
|
-
};
|
|
16
|
-
onChangeServiceCode: (serviceCode: string) => void;
|
|
17
|
-
onClickServiceItem: (code: string) => void;
|
|
18
|
-
sx?: SxProps<Theme>;
|
|
19
|
-
}
|
|
20
|
-
declare function AppServicesBar({ appCode, services, isMaximized, dimensions, serviceCode, ui: { onStartDrag }, onChangeServiceCode, onClickServiceItem, sx, }: Readonly<AppServicesBarProps>): import("react").JSX.Element | null;
|
|
21
|
-
declare const _default: import("react").MemoExoticComponent<typeof AppServicesBar>;
|
|
22
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{vc as default}from'../../_chunks/chunk-O3LHVRBN.js';import'../../_chunks/chunk-C5EKTMXI.js';import'../../_chunks/chunk-MRA4IYK7.js';import'../../_chunks/chunk-4HUB6MWM.js';import'../../_chunks/chunk-74TIGJAP.js';import'../../_chunks/chunk-NCG4PCDH.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-7GTNCNBB.js';import'../../_chunks/chunk-6BFV6NCN.js';import'../../_chunks/chunk-LJY75SQY.js';import'../../_chunks/chunk-PNIR4GUC.js';import'../../_chunks/chunk-MGH52F2U.js';import'../../_chunks/chunk-EB24OXAG.js';import'../../_chunks/chunk-637B2KTR.js';import'../../_chunks/chunk-7SNHZ7VW.js';import'../../_chunks/chunk-FOSRKOWU.js';import'../../_chunks/chunk-6IAMZFT6.js';import'../../_chunks/chunk-TDNUHD3F.js';import'../../_chunks/chunk-JUVW4KPW.js';import'../../_chunks/chunk-ALZSCMJI.js';import'../../_chunks/chunk-Q6AL55UP.js';import'../../_chunks/chunk-44P3BD62.js';import'../../_chunks/chunk-UPSV4H3R.js';import'../../_chunks/chunk-2YNDLGG6.js';import'../../_chunks/chunk-ZZPTXUPF.js';import'../../_chunks/chunk-53C2M4NA.js';import'../../_chunks/chunk-VDOQXEUT.js';import'../../_chunks/chunk-NW7HJXBW.js';import'../../_chunks/chunk-YROLX5D7.js';import'../../_chunks/chunk-MBC5H6W7.js';import'../../_chunks/chunk-5DFEQLOX.js';import'../../_chunks/chunk-SNCNXCPA.js';import'../../_chunks/chunk-Y7SE3WMR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-L3QJZAXC.js';import'../../_chunks/chunk-XOH5TUDL.js';import'../../_chunks/chunk-54TY5SXL.js';import'../../_chunks/chunk-OL6PQPSI.js';import'../../_chunks/chunk-WHPBDYOY.js';import'../../_chunks/chunk-TC4ME6DZ.js';import'../../_chunks/chunk-ESRTU72R.js';import'../../_chunks/chunk-IRBWQZSH.js';import'../../_chunks/chunk-HWDXYAQY.js';import'../../_chunks/chunk-PGRQEN5C.js';import'../../_chunks/chunk-334EPCW5.js';import'../../_chunks/chunk-ZT35MSJQ.js';import'../../_chunks/chunk-IA5IEBOH.js';import'../../_chunks/chunk-JZN7D44A.js';import'../../_chunks/chunk-DCQXQHAI.js';import'../../_chunks/chunk-HBR7P4LZ.js';import'../../_chunks/chunk-JWLIHVLP.js';import'../../_chunks/chunk-LEFLUMTS.js';import'../../_chunks/chunk-Y2GYQNCW.js';import'../../_chunks/chunk-ZRRZG4CU.js';import'../../_chunks/chunk-OGVYYV4P.js';import'../../_chunks/chunk-7ZWAT3EG.js';import'../../_chunks/chunk-5BAFTVZQ.js';import'../../_chunks/chunk-BTE72W4R.js';import'../../_chunks/chunk-YFIYVG7E.js';import'../../_chunks/chunk-SPNEIGHB.js';import'../../_chunks/chunk-TYMPXKFT.js';import'../../_chunks/chunk-WYJOH2AK.js';import'../../_chunks/chunk-AN2PVRN2.js';import'../../_chunks/chunk-EG32DA46.js';import'../../_chunks/chunk-BFVDSVFM.js';import'../../_chunks/chunk-QNBOZQDY.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-4YB6A7BD.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-3CMVSEFO.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-DS6S5G66.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import AppWindow from './AppWindow';
|
|
2
|
-
export type { WindowProps } from './type';
|
|
3
|
-
export { FOOTER_HEIGHT, LEFT_SIDEBAR_WIDTH, RIGHT_SIDEBAR_WIDTH, VIEWER_HEIGHT, VIEWER_WIDTH, WINDOW_ANIMATION_DURATION } from './constant';
|
|
4
|
-
export * from './style';
|
|
5
|
-
export default AppWindow;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const StyledMenuLink: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
|
-
isActive?: boolean | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export declare const StyledSubmitButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
8
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
9
|
-
}, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "variant" | "size" | "startIcon" | "endIcon" | "fullWidth" | "href" | "disableFocusRipple" | "disableElevation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
10
|
-
export declare const SubmitButtonWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
|
-
export declare const StyledFooter: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
-
export declare const StyledHideButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
17
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
18
|
-
}, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "variant" | "size" | "startIcon" | "endIcon" | "fullWidth" | "href" | "disableFocusRipple" | "disableElevation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export interface WindowProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
titleBar?: React.ReactNode;
|
|
6
|
-
titleBarText?: string;
|
|
7
|
-
mainAppIsMinimized?: boolean;
|
|
8
|
-
mainAppOrder?: number;
|
|
9
|
-
showSectionsButton?: boolean;
|
|
10
|
-
rightActions?: ReactNode;
|
|
11
|
-
titleBarIcon?: string;
|
|
12
|
-
minWidth?: string | number;
|
|
13
|
-
maxWidth?: string | number;
|
|
14
|
-
minHeight?: string | number;
|
|
15
|
-
maxHeight?: string | number;
|
|
16
|
-
/** Paper and Resizable overflow. Defaults to `hidden`. Use `visible` to let children paint outside the window bounds. */
|
|
17
|
-
overflow?: 'hidden' | 'visible';
|
|
18
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ResizeDirection } from 're-resizable';
|
|
3
|
-
import { AppWindowProviderProps } from '../context/type';
|
|
4
|
-
/**
|
|
5
|
-
* Adjusts draggable position for top/left resizes.
|
|
6
|
-
* re-resizable changes size only; returns `null` when no position offset is needed.
|
|
7
|
-
*
|
|
8
|
-
* `position.x` is measured from the parent's right edge (`fullWindowWidth - position.x` in AppWindow),
|
|
9
|
-
* so widening from the left increases x. `y` is a normal top-down offset.
|
|
10
|
-
*/
|
|
11
|
-
export declare function getResizeAdjustedPosition(startPosition: {
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
}, direction: ResizeDirection, delta: {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
}): {
|
|
18
|
-
x: number;
|
|
19
|
-
y: number;
|
|
20
|
-
} | null;
|
|
21
|
-
type ComputeInitialPositionParams = {
|
|
22
|
-
viewportWidth: number;
|
|
23
|
-
viewportHeight: number;
|
|
24
|
-
viewerDefaultWidth: number;
|
|
25
|
-
viewerDefaultHeight: number;
|
|
26
|
-
isMaximized: boolean;
|
|
27
|
-
containerRef?: React.RefObject<HTMLElement> | null;
|
|
28
|
-
initialPosition: AppWindowProviderProps['initialPosition'];
|
|
29
|
-
};
|
|
30
|
-
export declare const computeInitialPosition: (params: ComputeInitialPositionParams) => {
|
|
31
|
-
x: number;
|
|
32
|
-
y: number;
|
|
33
|
-
};
|
|
34
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AppWindowProviderProps } from './type';
|
|
3
|
-
export declare function AppWindowContextProvider({ children, isOpen, onClose, defaultWindowHeight, defaultWindowWidth, initialPosition, minWidth, maxWidth, minHeight, maxHeight, containerRef, windowZIndex, }: AppWindowProviderProps): import("react").JSX.Element;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { Resizable } from 're-resizable';
|
|
3
|
-
export interface AppWindowProviderProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
defaultWindowWidth?: number;
|
|
8
|
-
defaultWindowHeight?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Viewport-relative start position: `x` is the left-edge offset, `y` the
|
|
11
|
-
* top-edge offset (like CSS `left`/`top`). Converted to parent-relative
|
|
12
|
-
* coords when `containerRef` is set. Omit a coordinate to viewport-center
|
|
13
|
-
* that axis.
|
|
14
|
-
*/
|
|
15
|
-
initialPosition?: {
|
|
16
|
-
x?: number | null;
|
|
17
|
-
y?: number | null;
|
|
18
|
-
};
|
|
19
|
-
minWidth?: string | number;
|
|
20
|
-
maxWidth?: string | number;
|
|
21
|
-
minHeight?: string | number;
|
|
22
|
-
maxHeight?: string | number;
|
|
23
|
-
containerRef?: React.RefObject<HTMLElement>;
|
|
24
|
-
/**
|
|
25
|
-
* Added to `mainAppOrder` for the Dialog z-index. Defaults to `1`.
|
|
26
|
-
* Body-portaled overlays that must stack with the host app window should pass
|
|
27
|
-
* `APP_WINDOW_Z_INDEX` (3) so they land at `order + 3`, matching the host.
|
|
28
|
-
*/
|
|
29
|
-
windowZIndex?: number;
|
|
30
|
-
}
|
|
31
|
-
export interface AppWindowContextProps {
|
|
32
|
-
containerRef?: React.RefObject<HTMLElement>;
|
|
33
|
-
position: {
|
|
34
|
-
x: number;
|
|
35
|
-
y: number;
|
|
36
|
-
};
|
|
37
|
-
setPosition: Dispatch<SetStateAction<{
|
|
38
|
-
x: number;
|
|
39
|
-
y: number;
|
|
40
|
-
}>>;
|
|
41
|
-
dimensions: {
|
|
42
|
-
width: number;
|
|
43
|
-
height: number;
|
|
44
|
-
};
|
|
45
|
-
viewerDefaultWidth: number;
|
|
46
|
-
viewerDefaultHeight: number;
|
|
47
|
-
windowZIndex: number;
|
|
48
|
-
isOpen: boolean;
|
|
49
|
-
setIsMaximized: Dispatch<SetStateAction<boolean>>;
|
|
50
|
-
setIsSidebarExpanded: Dispatch<SetStateAction<boolean>>;
|
|
51
|
-
setIsToolbarAnimationDisabled: Dispatch<SetStateAction<boolean>>;
|
|
52
|
-
setIsResized: Dispatch<SetStateAction<boolean>>;
|
|
53
|
-
setNewDimensions: Dispatch<SetStateAction<{
|
|
54
|
-
width: number;
|
|
55
|
-
height: number;
|
|
56
|
-
}>>;
|
|
57
|
-
isMaximized: boolean;
|
|
58
|
-
isToolbarAnimationDisabled: boolean;
|
|
59
|
-
isSidebarExpanded: boolean;
|
|
60
|
-
isResized: boolean;
|
|
61
|
-
onClose: () => void;
|
|
62
|
-
resizableRef: React.MutableRefObject<Resizable | null | undefined>;
|
|
63
|
-
fullWindowWidth: number;
|
|
64
|
-
fullWindowHeight: number;
|
|
65
|
-
/**
|
|
66
|
-
* Browser viewport width from `window.innerWidth`, used for resize max bounds.
|
|
67
|
-
*/
|
|
68
|
-
viewportWidth: number;
|
|
69
|
-
/**
|
|
70
|
-
* Browser viewport height from `window.innerHeight`, used for resize max bounds.
|
|
71
|
-
*/
|
|
72
|
-
viewportHeight: number;
|
|
73
|
-
/**
|
|
74
|
-
* @deprecated Please use `updateSize`
|
|
75
|
-
*/
|
|
76
|
-
updateRefSize: (size: {
|
|
77
|
-
width?: number;
|
|
78
|
-
height?: number;
|
|
79
|
-
}) => void;
|
|
80
|
-
updateSize: (size: {
|
|
81
|
-
width?: number;
|
|
82
|
-
height?: number;
|
|
83
|
-
}) => void;
|
|
84
|
-
minWidth?: string | number;
|
|
85
|
-
maxWidth?: string | number;
|
|
86
|
-
minHeight?: string | number;
|
|
87
|
-
maxHeight?: string | number;
|
|
88
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AccountHeaderProps } from './type';
|
|
3
|
-
declare function AccountHeader({ isMaximized, setIsToolbarAnimationDisabled, setIsMaximized, onClose, isSidebarExpanded, setIsSidebarExpanded, isToolbarAnimationDisabled, title, showSectionsButton, rightActions, icon, }: AccountHeaderProps): import("react").JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof AccountHeader>;
|
|
5
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AccountHeaderTitleProps } from './type';
|
|
3
|
-
declare function AccountHeaderTitle({ title, onClose, onMaximize, maximized, id, onRequestClick, isSidebarExpanded, isHovered, onMouseHover, onMouseLeave, showSectionsButton, rightActions, icon, }: Readonly<AccountHeaderTitleProps>): import("react").JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof AccountHeaderTitle>;
|
|
5
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import type { BoxProps } from '@mui/material/Box';
|
|
3
|
-
export interface AccountHeaderTitleProps extends BoxProps {
|
|
4
|
-
title: string;
|
|
5
|
-
onClose?: (e: SyntheticEvent) => void;
|
|
6
|
-
onMaximize?: (e: SyntheticEvent) => void;
|
|
7
|
-
maximized?: boolean;
|
|
8
|
-
id?: string;
|
|
9
|
-
onRequestClick?: (e: SyntheticEvent) => void;
|
|
10
|
-
isSidebarExpanded?: boolean;
|
|
11
|
-
isHovered?: boolean;
|
|
12
|
-
onMouseHover?: (e: SyntheticEvent) => void;
|
|
13
|
-
showSectionsButton?: boolean;
|
|
14
|
-
rightActions?: ReactNode;
|
|
15
|
-
icon?: string;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
2
|
-
export interface AccountHeaderProps {
|
|
3
|
-
isSidebarExpanded: boolean;
|
|
4
|
-
setIsSidebarExpanded: (value: boolean) => void;
|
|
5
|
-
isToolbarAnimationDisabled?: boolean;
|
|
6
|
-
setIsToolbarAnimationDisabled?: (value: boolean) => void;
|
|
7
|
-
isMaximized?: boolean;
|
|
8
|
-
setIsMaximized?: Dispatch<SetStateAction<boolean>>;
|
|
9
|
-
onClose?: () => void;
|
|
10
|
-
title?: string;
|
|
11
|
-
showSectionsButton?: boolean;
|
|
12
|
-
rightActions?: ReactNode;
|
|
13
|
-
icon?: string;
|
|
14
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AppWindowHeaderProps } from './type';
|
|
3
|
-
declare function AppWindowHeader({ isMaximized, id, isToolbarAnimationDisabled, title, leftActions, onClose, onMaximize, sx }: AppWindowHeaderProps): import("react").JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof AppWindowHeader>;
|
|
5
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AppWindowHeaderBaseProps } from './type';
|
|
3
|
-
declare function AppWindowHeaderBase({ title, maximized, id, isHovered, onMouseHover, onMouseLeave, leftActions, titleIconSrc, sx, ...rootProps }: AppWindowHeaderBaseProps): import("react").JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof AppWindowHeaderBase>;
|
|
5
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { StyledHeaderWrapperStyled, ToolbarProps } from '../../../Toolbar';
|
|
2
|
-
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import { ReactNode, SyntheticEvent } from 'react';
|
|
4
|
-
export type AppWindowHeaderBaseProps = React.ComponentProps<typeof StyledHeaderWrapperStyled> & {
|
|
5
|
-
title?: string;
|
|
6
|
-
maximized?: boolean;
|
|
7
|
-
id?: string;
|
|
8
|
-
isHovered?: boolean;
|
|
9
|
-
onMouseHover?: (e: SyntheticEvent) => void;
|
|
10
|
-
onMouseLeave?: (e: SyntheticEvent) => void;
|
|
11
|
-
leftActions?: ToolbarProps['leftActions'];
|
|
12
|
-
titleIconSrc?: ToolbarProps['icon'];
|
|
13
|
-
};
|
|
14
|
-
export type AppWindowHeaderProps = {
|
|
15
|
-
id?: string;
|
|
16
|
-
isToolbarAnimationDisabled?: boolean;
|
|
17
|
-
isMaximized?: boolean;
|
|
18
|
-
title?: string;
|
|
19
|
-
leftActions?: ReactNode;
|
|
20
|
-
onClose?: () => void;
|
|
21
|
-
onMaximize?: (isMaximized: boolean) => void;
|
|
22
|
-
headerBaseProps?: Partial<AppWindowHeaderBaseProps>;
|
|
23
|
-
headerBaseStyles?: SxProps<Theme>;
|
|
24
|
-
sx?: AppWindowHeaderBaseProps['sx'];
|
|
25
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import AppWindowWrapper from './AppWindowWrapper';
|
|
2
|
-
export { default as AppWindow, type WindowProps, LEFT_SIDEBAR_WIDTH, RIGHT_SIDEBAR_WIDTH, VIEWER_HEIGHT, VIEWER_WIDTH, WINDOW_ANIMATION_DURATION, FOOTER_HEIGHT, StyledFooter, StyledHideButton, StyledMenuLink, StyledSubmitButton, SubmitButtonWrapper, } from './AppWindow';
|
|
3
|
-
export * from './headers/AccountHeader';
|
|
4
|
-
export * from './headers/AppWindowHeader';
|
|
5
|
-
export { default as AppWindowHeader } from './headers/AppWindowHeader';
|
|
6
|
-
export * from './context';
|
|
7
|
-
export type { AppWindowProps } from './type';
|
|
8
|
-
export default AppWindowWrapper;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{d as AccountHeaderTitle,j as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,l as AppWindowHeader,k as AppWindowHeaderBase,c as FOOTER_HEIGHT,h as StyledFooter,i as StyledHideButton,e as StyledMenuLink,f as StyledSubmitButton,g as SubmitButtonWrapper,m as default}from'../../_chunks/chunk-AN2PVRN2.js';import'../../_chunks/chunk-EG32DA46.js';import'../../_chunks/chunk-BFVDSVFM.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-DS6S5G66.js';import'../../_chunks/chunk-I3LSSBRI.js';export{uo as LEFT_SIDEBAR_WIDTH,vo as RIGHT_SIDEBAR_WIDTH,xo as VIEWER_HEIGHT,wo as VIEWER_WIDTH,to as WINDOW_ANIMATION_DURATION}from'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AppWindowProviderProps } from './context/type';
|
|
2
|
-
import { WindowProps } from './AppWindow/type';
|
|
3
|
-
export interface AppWindowProps extends AppWindowProviderProps {
|
|
4
|
-
windowProps?: Omit<WindowProps, 'children'>;
|
|
5
|
-
/**
|
|
6
|
-
* Portal a nested window into the enclosing window's root when `containerRef`
|
|
7
|
-
* is not provided. Defaults to `false` so existing windows keep their current
|
|
8
|
-
* portal target. An explicit `containerRef` always wins.
|
|
9
|
-
*/
|
|
10
|
-
inheritParentContainer?: boolean;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type FormSelectProps } from './type';
|
|
3
|
-
declare function FormSelect(props: Readonly<FormSelectProps>): React.JSX.Element;
|
|
4
|
-
declare namespace FormSelect {
|
|
5
|
-
var displayName: string;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.MemoExoticComponent<typeof FormSelect>;
|
|
8
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type FormSelectMenuSearchInputProps = {
|
|
3
|
-
placeholder: string;
|
|
4
|
-
value: string;
|
|
5
|
-
onValueChange: (value: string) => void;
|
|
6
|
-
isLoading?: boolean;
|
|
7
|
-
};
|
|
8
|
-
/** Shared in-menu search field (Select custom menu + Autocomplete listbox subheader). */
|
|
9
|
-
export declare function FormSelectMenuSearchInput({ placeholder, value, onValueChange, isLoading }: Readonly<FormSelectMenuSearchInputProps>): import("react").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ControllerRenderProps, FieldValues } from 'react-hook-form';
|
|
3
|
-
export type FormSelectSelectMenuProps = {
|
|
4
|
-
menuSearchPlaceholder: string;
|
|
5
|
-
searchValue: string;
|
|
6
|
-
onSearchChange: (value: string) => void;
|
|
7
|
-
isLoading?: boolean;
|
|
8
|
-
menuHasNoOptionsText: boolean;
|
|
9
|
-
menuNoOptionsText?: React.ReactNode;
|
|
10
|
-
optionsWithoutEmptyValue: any[];
|
|
11
|
-
getOptionValue?: (option: any) => string;
|
|
12
|
-
getOptionLabel?: (option: any) => string;
|
|
13
|
-
renderOption?: (option: any) => React.ReactNode;
|
|
14
|
-
isOptionEqualToValue?: (option: any, value: any) => boolean;
|
|
15
|
-
menuHasSelectedCheckMark: boolean;
|
|
16
|
-
valueOnly: boolean;
|
|
17
|
-
getOptionId: (option: any) => string;
|
|
18
|
-
field: ControllerRenderProps<FieldValues>;
|
|
19
|
-
onChange?: (option: any) => void;
|
|
20
|
-
};
|
|
21
|
-
export declare function FormSelectSelectMenu({ menuSearchPlaceholder, searchValue, onSearchChange, isLoading, menuHasNoOptionsText, menuNoOptionsText, optionsWithoutEmptyValue, getOptionValue, getOptionLabel, renderOption, isOptionEqualToValue, menuHasSelectedCheckMark, valueOnly, getOptionId, field, onChange, }: Readonly<FormSelectSelectMenuProps>): React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-NW7HJXBW.js';import'../../_chunks/chunk-YROLX5D7.js';import'../../_chunks/chunk-SNCNXCPA.js';import'../../_chunks/chunk-Y7SE3WMR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-4YB6A7BD.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|