@uniformdev/design-system 19.121.0 → 19.121.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/{importedIcons-GRLD5JXK.js → importedIcons-XEGXOSVC.js} +2 -0
- package/dist/esm/index.js +330 -112
- package/dist/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +326 -104
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var importedIcons_exports = {};
|
|
|
45
45
|
__export(importedIcons_exports, {
|
|
46
46
|
importedIcons: () => importedIcons
|
|
47
47
|
});
|
|
48
|
-
var import_CgAdd, import_CgAddR, import_CgAirplane, import_CgAlarm, import_CgAlbum, import_CgAlignBottom, import_CgAlignCenter, import_CgAlignLeft, import_CgAlignMiddle, import_CgAlignRight, import_CgAlignTop, import_CgAnchor, import_CgAppleWatch, import_CgArrangeBack, import_CgArrangeFront, import_CgArrowAlignH, import_CgArrowAlignV, import_CgArrowBottomLeft, import_CgArrowBottomLeftO, import_CgArrowBottomLeftR, import_CgArrowBottomRight, import_CgArrowBottomRightO, import_CgArrowBottomRightR, import_CgArrowDown, import_CgArrowDownO, import_CgArrowDownR, import_CgArrowLeft, import_CgArrowLeftO, import_CgArrowLeftR, import_CgArrowLongDown, import_CgArrowLongDownC, import_CgArrowLongDownE, import_CgArrowLongDownL, import_CgArrowLongDownR, import_CgArrowLongLeft, import_CgArrowLongLeftC, import_CgArrowLongLeftE, import_CgArrowLongLeftL, import_CgArrowLongLeftR, import_CgArrowLongRight, import_CgArrowLongRightC, import_CgArrowLongRightE, import_CgArrowLongRightL, import_CgArrowLongRightR, import_CgArrowLongUp, import_CgArrowLongUpC, import_CgArrowLongUpE, import_CgArrowLongUpL, import_CgArrowLongUpR, import_CgArrowRight, import_CgArrowRightO, import_CgArrowRightR, import_CgArrowsBreakeH, import_CgArrowsBreakeV, import_CgArrowsExchange, import_CgArrowsExchangeAlt, import_CgArrowsExchangeAltV, import_CgArrowsExchangeV, import_CgArrowsExpandDownLeft, import_CgArrowsExpandDownRight, import_CgArrowsExpandLeft, import_CgArrowsExpandLeftAlt, import_CgArrowsExpandRight, import_CgArrowsExpandRightAlt, import_CgArrowsExpandUpLeft, import_CgArrowsExpandUpRight, import_CgArrowsH, import_CgArrowsHAlt, import_CgArrowsMergeAltH, import_CgArrowsMergeAltV, import_CgArrowsScrollH, import_CgArrowsScrollV, import_CgArrowsShrinkH, import_CgArrowsShrinkV, import_CgArrowsV, import_CgArrowsVAlt, import_CgArrowTopLeft, import_CgArrowTopLeftO, import_CgArrowTopLeftR, import_CgArrowTopRight, import_CgArrowTopRightO, import_CgArrowTopRightR, import_CgArrowUp, import_CgArrowUpO, import_CgArrowUpR, import_CgAssign, import_CgAsterisk, import_CgAttachment, import_CgAttribution, import_CgAwards, import_CgBackspace, import_CgBandAid, import_CgBattery, import_CgBatteryEmpty, import_CgBatteryFull, import_CgBee, import_CgBell, import_CgBitbucket, import_CgBlock, import_CgBoard, import_CgBolt, import_CgBookmark, import_CgBorderAll, import_CgBorderBottom, import_CgBorderLeft, import_CgBorderRight, import_CgBorderStyleDashed, import_CgBorderStyleDotted, import_CgBorderStyleSolid, import_CgBot, import_CgBowl, import_CgBox, import_CgBoy, import_CgBriefcase, import_CgBrowse, import_CgBrowser, import_CgBrush, import_CgBulb, import_CgCalculator, import_CgCalendar, import_CgCalendarDates, import_CgCalendarDue, import_CgCalendarNext, import_CgCalendarToday, import_CgCalendarTwo, import_CgCalibrate, import_CgCamera, import_CgCap, import_CgCaptions, import_CgCardClubs, import_CgCardDiamonds, import_CgCardHearts, import_CgCardSpades, import_CgCarousel, import_CgCast, import_CgChart, import_CgCheck, import_CgCheckO, import_CgCheckR, import_CgChevronDoubleDown, import_CgChevronDoubleDownO, import_CgChevronDoubleDownR, import_CgChevronDoubleLeft, import_CgChevronDoubleLeftO, import_CgChevronDoubleLeftR, import_CgChevronDoubleRight, import_CgChevronDoubleRightO, import_CgChevronDoubleRightR, import_CgChevronDoubleUp, import_CgChevronDoubleUpO, import_CgChevronDoubleUpR, import_CgChevronDown, import_CgChevronDownO, import_CgChevronDownR, import_CgChevronLeft, import_CgChevronLeftO, import_CgChevronLeftR, import_CgChevronRight, import_CgChevronRightO, import_CgChevronRightR, import_CgChevronUp, import_CgChevronUpO, import_CgChevronUpR, import_CgClapperBoard, import_CgClipboard, import_CgClose, import_CgCloseO, import_CgCloseR, import_CgCloud, import_CgCode, import_CgCodeSlash, import_CgCoffee, import_CgCollage, import_CgColorBucket, import_CgColorPicker, import_CgComment, import_CgCommunity, import_CgComponents, import_CgCompress, import_CgCompressLeft, import_CgCompressRight, import_CgCompressV, import_CgController, import_CgCopy, import_CgCopyright, import_CgCornerDoubleDownLeft, import_CgCornerDoubleDownRight, import_CgCornerDoubleLeftDown, import_CgCornerDoubleLeftUp, import_CgCornerDoubleRightDown, import_CgCornerDoubleRightUp, import_CgCornerDoubleUpLeft, import_CgCornerDoubleUpRight, import_CgCornerDownLeft, import_CgCornerDownRight, import_CgCornerLeftDown, import_CgCornerLeftUp, import_CgCornerRightDown, import_CgCornerRightUp, import_CgCornerUpLeft, import_CgCornerUpRight, import_CgCPlusPlus, import_CgCreditCard, import_CgCrop, import_CgCross, import_CgCrown, import_CgDanger, import_CgDarkMode, import_CgData, import_CgDatabase, import_CgDebug, import_CgDesktop, import_CgDetailsLess, import_CgDetailsMore, import_CgDialpad, import_CgDice1, import_CgDice2, import_CgDice3, import_CgDice4, import_CgDice5, import_CgDice6, import_CgDisc, import_CgDisplayFlex, import_CgDisplayFullwidth, import_CgDisplayGrid, import_CgDisplaySpacing, import_CgDistributeHorizontal, import_CgDistributeVertical, import_CgDockBottom, import_CgDockLeft, import_CgDockRight, import_CgDockWindow, import_CgDollar, import_CgDrive, import_CgDrop, import_CgDropInvert, import_CgDropOpacity, import_CgDuplicate, import_CgEditBlackPoint, import_CgEditContrast, import_CgEditExposure, import_CgEditFade, import_CgEditFlipH, import_CgEditFlipV, import_CgEditHighlight, import_CgEditMarkup, import_CgEditMask, import_CgEditNoise, import_CgEditShadows, import_CgEditStraight, import_CgEditUnmask, import_CgEject, import_CgEnter, import_CgErase, import_CgEreader, import_CgEricsson, import_CgEthernet, import_CgEuro, import_CgExpand, import_CgExport, import_CgExtension, import_CgExtensionAdd, import_CgExtensionAlt, import_CgExtensionRemove, import_CgExternal, import_CgEye, import_CgEyeAlt, import_CgFeed, import_CgFile, import_CgFileAdd, import_CgFileDocument, import_CgFileRemove, import_CgFilm, import_CgFilters, import_CgFlag, import_CgFlagAlt, import_CgFolder, import_CgFolderAdd, import_CgFolderRemove, import_CgFontHeight, import_CgFontSpacing, import_CgFormatBold, import_CgFormatCenter, import_CgFormatColor, import_CgFormatHeading, import_CgFormatIndentDecrease, import_CgFormatIndentIncrease, import_CgFormatItalic, import_CgFormatJustify, import_CgFormatLeft, import_CgFormatLineHeight, import_CgFormatRight, import_CgFormatSeparator, import_CgFormatSlash, import_CgFormatStrike, import_CgFormatText, import_CgFormatUnderline, import_CgFormatUppercase, import_CgGames, import_CgGenderFemale, import_CgGenderMale, import_CgGhostCharacter, import_CgGift, import_CgGirl, import_CgGitBranch, import_CgGitCommit, import_CgGitFork, import_CgGitPull, import_CgGlass, import_CgGlassAlt, import_CgGlobe, import_CgGlobeAlt, import_CgGym, import_CgHashtag, import_CgHeadset, import_CgHeart, import_CgHome, import_CgHomeAlt, import_CgHomeScreen, import_CgIcecream, import_CgImage, import_CgImport, import_CgInbox, import_CgInfinity, import_CgInfo, import_CgInpicture, import_CgInsertAfter, import_CgInsertAfterO, import_CgInsertAfterR, import_CgInsertBefore, import_CgInsertBeforeO, import_CgInsertBeforeR, import_CgInsights, import_CgInternal, import_CgKey, import_CgKeyboard, import_CgKeyhole, import_CgLaptop, import_CgLayoutGrid, import_CgLayoutGridSmall, import_CgLayoutList, import_CgLayoutPin, import_CgLink, import_CgList, import_CgListTree, import_CgLivePhoto, import_CgLoadbar, import_CgLoadbarAlt, import_CgLoadbarDoc, import_CgLoadbarSound, import_CgLock, import_CgLockUnlock, import_CgLogIn, import_CgLogOff, import_CgLogOut, import_CgLoupe, import_CgMagnet, import_CgMail, import_CgMailForward, import_CgMailOpen, import_CgMailReply, import_CgMathDivide, import_CgMathEqual, import_CgMathMinus, import_CgMathPercent, import_CgMathPlus, import_CgMaximize, import_CgMaximizeAlt, import_CgMediaLive, import_CgMediaPodcast, import_CgMenu, import_CgMenuBoxed, import_CgMenuCake, import_CgMenuCheese, import_CgMenuGridO, import_CgMenuGridR, import_CgMenuHotdog, import_CgMenuLeft, import_CgMenuLeftAlt, import_CgMenuMotion, import_CgMenuOreos, import_CgMenuRight, import_CgMenuRightAlt, import_CgMenuRound, import_CgMergeHorizontal, import_CgMergeVertical, import_CgMic, import_CgMinimize, import_CgMinimizeAlt, import_CgMiniPlayer, import_CgModem, import_CgMoon, import_CgMore, import_CgMoreAlt, import_CgMoreO, import_CgMoreR, import_CgMoreVertical, import_CgMoreVerticalAlt, import_CgMoreVerticalO, import_CgMoreVerticalR, import_CgMouse, import_CgMoveDown, import_CgMoveLeft, import_CgMoveRight, import_CgMoveTask, import_CgMoveUp, import_CgMusic, import_CgMusicNote, import_CgMusicSpeaker, import_CgNametag, import_CgNotes, import_CgNotifications, import_CgOptions, import_CgOrganisation, import_CgPassword, import_CgPathBack, import_CgPathCrop, import_CgPathDivide, import_CgPathExclude, import_CgPathFront, import_CgPathIntersect, import_CgPathOutline, import_CgPathTrim, import_CgPathUnite, import_CgPen, import_CgPentagonBottomLeft, import_CgPentagonBottomRight, import_CgPentagonDown, import_CgPentagonLeft, import_CgPentagonRight, import_CgPentagonTopLeft, import_CgPentagonTopRight, import_CgPentagonUp, import_CgPerformance, import_CgPhone, import_CgPhotoscan, import_CgPiano, import_CgPill, import_CgPin, import_CgPinAlt, import_CgPinBottom, import_CgPinTop, import_CgPlayBackwards, import_CgPlayButton, import_CgPlayButtonO, import_CgPlayButtonR, import_CgPlayForwards, import_CgPlayList, import_CgPlayListAdd, import_CgPlayListCheck, import_CgPlayListRemove, import_CgPlayListSearch, import_CgPlayPause, import_CgPlayPauseO, import_CgPlayPauseR, import_CgPlayStop, import_CgPlayStopO, import_CgPlayStopR, import_CgPlayTrackNext, import_CgPlayTrackNextO, import_CgPlayTrackNextR, import_CgPlayTrackPrev, import_CgPlayTrackPrevO, import_CgPlayTrackPrevR, import_CgPlug, import_CgPolaroid, import_CgPoll, import_CgPresentation, import_CgPrinter, import_CgProfile, import_CgPullClear, import_CgPushChevronDown, import_CgPushChevronDownO, import_CgPushChevronDownR, import_CgPushChevronLeft, import_CgPushChevronLeftO, import_CgPushChevronLeftR, import_CgPushChevronRight, import_CgPushChevronRightO, import_CgPushChevronRightR, import_CgPushChevronUp, import_CgPushChevronUpO, import_CgPushChevronUpR, import_CgPushDown, import_CgPushLeft, import_CgPushRight, import_CgPushUp, import_CgQr, import_CgQuote, import_CgQuoteO, import_CgRadioCheck, import_CgRadioChecked, import_CgRatio, import_CgRead, import_CgReadme, import_CgRecord, import_CgRedo, import_CgRemote, import_CgRemove, import_CgRemoveR, import_CgRename, import_CgReorder, import_CgRepeat, import_CgRing, import_CgRowFirst, import_CgRowLast, import_CgRuler, import_CgSandClock, import_CgScan, import_CgScreen, import_CgScreenMirror, import_CgScreenShot, import_CgScreenWide, import_CgScrollH, import_CgScrollV, import_CgSearch, import_CgSearchFound, import_CgSearchLoading, import_CgSelect, import_CgSelectO, import_CgSelectR, import_CgServer, import_CgShapeCircle, import_CgShapeHalfCircle, import_CgShapeHexagon, import_CgShapeRhombus, import_CgShapeSquare, import_CgShapeTriangle, import_CgShapeZigzag, import_CgShare, import_CgShield, import_CgShoppingBag, import_CgShoppingCart, import_CgShortcut, import_CgSidebar, import_CgSidebarOpen, import_CgSidebarRight, import_CgSignal, import_CgSize, import_CgSleep, import_CgSmartHomeBoiler, import_CgSmartHomeCooker, import_CgSmartHomeHeat, import_CgSmartHomeLight, import_CgSmartHomeRefrigerator, import_CgSmartHomeWashMachine, import_CgSmartphone, import_CgSmartphoneChip, import_CgSmartphoneRam, import_CgSmartphoneShake, import_CgSmile, import_CgSmileMouthOpen, import_CgSmileNeutral, import_CgSmileNoMouth, import_CgSmileNone, import_CgSmileSad, import_CgSmileUpside, import_CgSoftwareDownload, import_CgSoftwareUpload, import_CgSortAz, import_CgSortZa, import_CgSpaceBetween, import_CgSpaceBetweenV, import_CgSpinner, import_CgSpinnerAlt, import_CgSpinnerTwo, import_CgSpinnerTwoAlt, import_CgStack, import_CgStopwatch, import_CgStories, import_CgStyle, import_CgSun, import_CgSupport, import_CgSwap, import_CgSwapVertical, import_CgSweden, import_CgSwiss, import_CgSync, import_CgTab, import_CgTag, import_CgTapDouble, import_CgTapSingle, import_CgTemplate, import_CgTennis, import_CgTerminal, import_CgTerrain, import_CgThermometer, import_CgThermostat, import_CgTikcode, import_CgTime, import_CgTimelapse, import_CgTimer, import_CgToday, import_CgToggleOff, import_CgToggleOn, import_CgToggleSquare, import_CgToggleSquareOff, import_CgToolbarBottom, import_CgToolbarLeft, import_CgToolbarRight, import_CgToolbarTop, import_CgToolbox, import_CgTouchpad, import_CgTrack, import_CgTranscript, import_CgTrash, import_CgTrashEmpty, import_CgTree, import_CgTrees, import_CgTrending, import_CgTrendingDown, import_CgTrophy, import_CgTv, import_CgUiKit, import_CgUmbrella, import_CgUnavailable, import_CgUnblock, import_CgUndo, import_CgUnsplash, import_CgUsb, import_CgUsbC, import_CgUser, import_CgUserAdd, import_CgUserList, import_CgUserRemove, import_CgViewCols, import_CgViewComfortable, import_CgViewDay, import_CgViewGrid, import_CgViewList, import_CgViewMonth, import_CgViewSplit, import_CgVinyl, import_CgVoicemail, import_CgVoicemailO, import_CgVoicemailR, import_CgVolume, import_CgWebcam, import_CgWebsite, import_CgWorkAlt, import_CgYinyang, import_CgZoomIn, import_CgZoomOut, importedIcons;
|
|
48
|
+
var import_CgAdd, import_CgAddR, import_CgAirplane, import_CgAlarm, import_CgAlbum, import_CgAlignBottom, import_CgAlignCenter, import_CgAlignLeft, import_CgAlignMiddle, import_CgAlignRight, import_CgAlignTop, import_CgAnchor, import_CgAppleWatch, import_CgArrangeBack, import_CgArrangeFront, import_CgArrowAlignH, import_CgArrowAlignV, import_CgArrowBottomLeft, import_CgArrowBottomLeftO, import_CgArrowBottomLeftR, import_CgArrowBottomRight, import_CgArrowBottomRightO, import_CgArrowBottomRightR, import_CgArrowDown, import_CgArrowDownO, import_CgArrowDownR, import_CgArrowLeft, import_CgArrowLeftO, import_CgArrowLeftR, import_CgArrowLongDown, import_CgArrowLongDownC, import_CgArrowLongDownE, import_CgArrowLongDownL, import_CgArrowLongDownR, import_CgArrowLongLeft, import_CgArrowLongLeftC, import_CgArrowLongLeftE, import_CgArrowLongLeftL, import_CgArrowLongLeftR, import_CgArrowLongRight, import_CgArrowLongRightC, import_CgArrowLongRightE, import_CgArrowLongRightL, import_CgArrowLongRightR, import_CgArrowLongUp, import_CgArrowLongUpC, import_CgArrowLongUpE, import_CgArrowLongUpL, import_CgArrowLongUpR, import_CgArrowRight, import_CgArrowRightO, import_CgArrowRightR, import_CgArrowsBreakeH, import_CgArrowsBreakeV, import_CgArrowsExchange, import_CgArrowsExchangeAlt, import_CgArrowsExchangeAltV, import_CgArrowsExchangeV, import_CgArrowsExpandDownLeft, import_CgArrowsExpandDownRight, import_CgArrowsExpandLeft, import_CgArrowsExpandLeftAlt, import_CgArrowsExpandRight, import_CgArrowsExpandRightAlt, import_CgArrowsExpandUpLeft, import_CgArrowsExpandUpRight, import_CgArrowsH, import_CgArrowsHAlt, import_CgArrowsMergeAltH, import_CgArrowsMergeAltV, import_CgArrowsScrollH, import_CgArrowsScrollV, import_CgArrowsShrinkH, import_CgArrowsShrinkV, import_CgArrowsV, import_CgArrowsVAlt, import_CgArrowTopLeft, import_CgArrowTopLeftO, import_CgArrowTopLeftR, import_CgArrowTopRight, import_CgArrowTopRightO, import_CgArrowTopRightR, import_CgArrowUp, import_CgArrowUpO, import_CgArrowUpR, import_CgAssign, import_CgAsterisk, import_CgAttachment, import_CgAttribution, import_CgAwards, import_CgBackspace, import_CgBandAid, import_CgBattery, import_CgBatteryEmpty, import_CgBatteryFull, import_CgBee, import_CgBell, import_CgBitbucket, import_CgBlock, import_CgBoard, import_CgBolt, import_CgBookmark, import_CgBorderAll, import_CgBorderBottom, import_CgBorderLeft, import_CgBorderRight, import_CgBorderStyleDashed, import_CgBorderStyleDotted, import_CgBorderStyleSolid, import_CgBot, import_CgBowl, import_CgBox, import_CgBoy, import_CgBriefcase, import_CgBrowse, import_CgBrowser, import_CgBrush, import_CgBulb, import_CgCalculator, import_CgCalendar, import_CgCalendarDates, import_CgCalendarDue, import_CgCalendarNext, import_CgCalendarToday, import_CgCalendarTwo, import_CgCalibrate, import_CgCamera, import_CgCap, import_CgCaptions, import_CgCardClubs, import_CgCardDiamonds, import_CgCardHearts, import_CgCardSpades, import_CgCarousel, import_CgCast, import_CgChart, import_CgCheck, import_CgCheckO, import_CgCheckR, import_CgChevronDoubleDown, import_CgChevronDoubleDownO, import_CgChevronDoubleDownR, import_CgChevronDoubleLeft, import_CgChevronDoubleLeftO, import_CgChevronDoubleLeftR, import_CgChevronDoubleRight, import_CgChevronDoubleRightO, import_CgChevronDoubleRightR, import_CgChevronDoubleUp, import_CgChevronDoubleUpO, import_CgChevronDoubleUpR, import_CgChevronDown, import_CgChevronDownO, import_CgChevronDownR, import_CgChevronLeft, import_CgChevronLeftO, import_CgChevronLeftR, import_CgChevronRight, import_CgChevronRightO, import_CgChevronRightR, import_CgChevronUp, import_CgChevronUpO, import_CgChevronUpR, import_CgClapperBoard, import_CgClipboard, import_CgClose, import_CgCloseO, import_CgCloseR, import_CgCloud, import_CgCode, import_CgCodeSlash, import_CgCoffee, import_CgCollage, import_CgColorBucket, import_CgColorPicker, import_CgComment, import_CgCommunity, import_CgComponents, import_CgCompress, import_CgCompressLeft, import_CgCompressRight, import_CgCompressV, import_CgController, import_CgCopy, import_CgCopyright, import_CgCornerDoubleDownLeft, import_CgCornerDoubleDownRight, import_CgCornerDoubleLeftDown, import_CgCornerDoubleLeftUp, import_CgCornerDoubleRightDown, import_CgCornerDoubleRightUp, import_CgCornerDoubleUpLeft, import_CgCornerDoubleUpRight, import_CgCornerDownLeft, import_CgCornerDownRight, import_CgCornerLeftDown, import_CgCornerLeftUp, import_CgCornerRightDown, import_CgCornerRightUp, import_CgCornerUpLeft, import_CgCornerUpRight, import_CgCPlusPlus, import_CgCreditCard, import_CgCrop, import_CgCross, import_CgCrown, import_CgDanger, import_CgDarkMode, import_CgData, import_CgDatabase, import_CgDebug, import_CgDesktop, import_CgDetailsLess, import_CgDetailsMore, import_CgDialpad, import_CgDice1, import_CgDice2, import_CgDice3, import_CgDice4, import_CgDice5, import_CgDice6, import_CgDisc, import_CgDisplayFlex, import_CgDisplayFullwidth, import_CgDisplayGrid, import_CgDisplaySpacing, import_CgDistributeHorizontal, import_CgDistributeVertical, import_CgDockBottom, import_CgDockLeft, import_CgDockRight, import_CgDockWindow, import_CgDollar, import_CgDrive, import_CgDrop, import_CgDropInvert, import_CgDropOpacity, import_CgDuplicate, import_CgEditBlackPoint, import_CgEditContrast, import_CgEditExposure, import_CgEditFade, import_CgEditFlipH, import_CgEditFlipV, import_CgEditHighlight, import_CgEditMarkup, import_CgEditMask, import_CgEditNoise, import_CgEditShadows, import_CgEditStraight, import_CgEditUnmask, import_CgEject, import_CgEnter, import_CgErase, import_CgEreader, import_CgEricsson, import_CgEthernet, import_CgEuro, import_CgExpand, import_CgExport, import_CgExtension, import_CgExtensionAdd, import_CgExtensionAlt, import_CgExtensionRemove, import_CgExternal, import_CgEye, import_CgEyeAlt, import_CgFeed, import_CgFile, import_CgFileAdd, import_CgFileDocument, import_CgFileRemove, import_CgFilm, import_CgFilters, import_CgFlag, import_CgFlagAlt, import_CgFolder, import_CgFolderAdd, import_CgFolderRemove, import_CgFontHeight, import_CgFontSpacing, import_CgFormatBold, import_CgFormatCenter, import_CgFormatColor, import_CgFormatHeading, import_CgFormatIndentDecrease, import_CgFormatIndentIncrease, import_CgFormatItalic, import_CgFormatJustify, import_CgFormatLeft, import_CgFormatLineHeight, import_CgFormatRight, import_CgFormatSeparator, import_CgFormatSlash, import_CgFormatStrike, import_CgFormatText, import_CgFormatUnderline, import_CgFormatUppercase, import_CgGames, import_CgGenderFemale, import_CgGenderMale, import_CgGhostCharacter, import_CgGift, import_CgGirl, import_CgGitBranch, import_CgGitCommit, import_CgGitFork, import_CgGitPull, import_CgGlass, import_CgGlassAlt, import_CgGlobe, import_CgGlobeAlt, import_CgGym, import_CgHashtag, import_CgHeadset, import_CgHeart, import_CgHome, import_CgHomeAlt, import_CgHomeScreen, import_CgIcecream, import_CgImage, import_CgImport, import_CgInbox, import_CgInfinity, import_CgInfo, import_CgInpicture, import_CgInsertAfter, import_CgInsertAfterO, import_CgInsertAfterR, import_CgInsertBefore, import_CgInsertBeforeO, import_CgInsertBeforeR, import_CgInsights, import_CgInternal, import_CgKey, import_CgKeyboard, import_CgKeyhole, import_CgLaptop, import_CgLayoutGrid, import_CgLayoutGridSmall, import_CgLayoutList, import_CgLayoutPin, import_CgLink, import_CgList, import_CgListTree, import_CgLivePhoto, import_CgLoadbar, import_CgLoadbarAlt, import_CgLoadbarDoc, import_CgLoadbarSound, import_CgLock, import_CgLockUnlock, import_CgLogIn, import_CgLogOff, import_CgLogOut, import_CgLoupe, import_CgMagnet, import_CgMail, import_CgMailForward, import_CgMailOpen, import_CgMailReply, import_CgMathDivide, import_CgMathEqual, import_CgMathMinus, import_CgMathPercent, import_CgMathPlus, import_CgMaximize, import_CgMaximizeAlt, import_CgMediaLive, import_CgMediaPodcast, import_CgMenu, import_CgMenuBoxed, import_CgMenuCake, import_CgMenuCheese, import_CgMenuGridO, import_CgMenuGridR, import_CgMenuHotdog, import_CgMenuLeft, import_CgMenuLeftAlt, import_CgMenuMotion, import_CgMenuOreos, import_CgMenuRight, import_CgMenuRightAlt, import_CgMenuRound, import_CgMergeHorizontal, import_CgMergeVertical, import_CgMic, import_CgMinimize, import_CgMinimizeAlt, import_CgMiniPlayer, import_CgModem, import_CgMoon, import_CgMore, import_CgMoreAlt, import_CgMoreO, import_CgMoreR, import_CgMoreVertical, import_CgMoreVerticalAlt, import_CgMoreVerticalO, import_CgMoreVerticalR, import_CgMouse, import_CgMoveDown, import_CgMoveLeft, import_CgMoveRight, import_CgMoveTask, import_CgMoveUp, import_CgMusic, import_CgMusicNote, import_CgMusicSpeaker, import_CgNametag, import_CgNotes, import_CgNotifications, import_CgOptions, import_CgOrganisation, import_CgPassword, import_CgPathBack, import_CgPathCrop, import_CgPathDivide, import_CgPathExclude, import_CgPathFront, import_CgPathIntersect, import_CgPathOutline, import_CgPathTrim, import_CgPathUnite, import_CgPen, import_CgPentagonBottomLeft, import_CgPentagonBottomRight, import_CgPentagonDown, import_CgPentagonLeft, import_CgPentagonRight, import_CgPentagonTopLeft, import_CgPentagonTopRight, import_CgPentagonUp, import_CgPerformance, import_CgPhone, import_CgPhotoscan, import_CgPiano, import_CgPill, import_CgPin, import_CgPinAlt, import_CgPinBottom, import_CgPinTop, import_CgPlayBackwards, import_CgPlayButton, import_CgPlayButtonO, import_CgPlayButtonR, import_CgPlayForwards, import_CgPlayList, import_CgPlayListAdd, import_CgPlayListCheck, import_CgPlayListRemove, import_CgPlayListSearch, import_CgPlayPause, import_CgPlayPauseO, import_CgPlayPauseR, import_CgPlayStop, import_CgPlayStopO, import_CgPlayStopR, import_CgPlayTrackNext, import_CgPlayTrackNextO, import_CgPlayTrackNextR, import_CgPlayTrackPrev, import_CgPlayTrackPrevO, import_CgPlayTrackPrevR, import_CgPlug, import_CgPolaroid, import_CgPoll, import_CgPresentation, import_CgPrinter, import_CgProfile, import_CgPullClear, import_CgPushChevronDown, import_CgPushChevronDownO, import_CgPushChevronDownR, import_CgPushChevronLeft, import_CgPushChevronLeftO, import_CgPushChevronLeftR, import_CgPushChevronRight, import_CgPushChevronRightO, import_CgPushChevronRightR, import_CgPushChevronUp, import_CgPushChevronUpO, import_CgPushChevronUpR, import_CgPushDown, import_CgPushLeft, import_CgPushRight, import_CgPushUp, import_CgQr, import_CgQuote, import_CgQuoteO, import_CgRadioCheck, import_CgRadioChecked, import_CgRatio, import_CgRead, import_CgReadme, import_CgRecord, import_CgRedo, import_CgRemote, import_CgRemove, import_CgRemoveR, import_CgRename, import_CgReorder, import_CgRepeat, import_CgRing, import_CgRowFirst, import_CgRowLast, import_CgRuler, import_CgSandClock, import_CgScan, import_CgScreen, import_CgScreenMirror, import_CgScreenShot, import_CgScreenWide, import_CgScrollH, import_CgScrollV, import_CgSearch, import_CgSearchFound, import_CgSearchLoading, import_CgSelect, import_CgSelectO, import_CgSelectR, import_CgServer, import_CgShapeCircle, import_CgShapeHalfCircle, import_CgShapeHexagon, import_CgShapeRhombus, import_CgShapeSquare, import_CgShapeTriangle, import_CgShapeZigzag, import_CgShare, import_CgShield, import_CgShoppingBag, import_CgShoppingCart, import_CgShortcut, import_CgSidebar, import_CgSidebarOpen, import_CgSidebarRight, import_CgSignal, import_CgSize, import_CgSleep, import_CgSmartHomeBoiler, import_CgSmartHomeCooker, import_CgSmartHomeHeat, import_CgSmartHomeLight, import_CgSmartHomeRefrigerator, import_CgSmartHomeWashMachine, import_CgSmartphone, import_CgSmartphoneChip, import_CgSmartphoneRam, import_CgSmartphoneShake, import_CgSmile, import_CgSmileMouthOpen, import_CgSmileNeutral, import_CgSmileNoMouth, import_CgSmileNone, import_CgSmileSad, import_CgSmileUpside, import_CgSoftwareDownload, import_CgSoftwareUpload, import_CgSortAz, import_CgSortZa, import_CgSpaceBetween, import_CgSpaceBetweenV, import_CgSpinner, import_CgSpinnerAlt, import_CgSpinnerTwo, import_CgSpinnerTwoAlt, import_CgStack, import_CgStopwatch, import_CgStories, import_CgStyle, import_CgSun, import_CgSupport, import_CgSwap, import_CgSwapVertical, import_CgSweden, import_CgSwiss, import_CgSync, import_CgTab, import_CgTag, import_CgTapDouble, import_CgTapSingle, import_CgTemplate, import_CgTennis, import_CgTerminal, import_CgTerrain, import_CgThermometer, import_CgThermostat, import_CgTikcode, import_CgTime, import_CgTimelapse, import_CgTimer, import_CgToday, import_CgToggleOff, import_CgToggleOn, import_CgToggleSquare, import_CgToggleSquareOff, import_CgToolbarBottom, import_CgToolbarLeft, import_CgToolbarRight, import_CgToolbarTop, import_CgToolbox, import_CgTouchpad, import_CgTrack, import_CgTranscript, import_CgTrash, import_CgTrashEmpty, import_CgTree, import_CgTrees, import_CgTrending, import_CgTrendingDown, import_CgTrophy, import_CgTv, import_CgUiKit, import_CgUmbrella, import_CgUnavailable, import_CgUnblock, import_CgUndo, import_CgUnsplash, import_CgUsb, import_CgUsbC, import_CgUser, import_CgUserAdd, import_CgUserList, import_CgUserRemove, import_CgViewCols, import_CgViewComfortable, import_CgViewDay, import_CgViewGrid, import_CgViewList, import_CgViewMonth, import_CgViewSplit, import_CgVinyl, import_CgVoicemail, import_CgVoicemailO, import_CgVoicemailR, import_CgVolume, import_CgWebcam, import_CgWebsite, import_CgWorkAlt, import_CgYinyang, import_CgZoomIn, import_CgZoomOut, import_MdCopyAll, importedIcons;
|
|
49
49
|
var init_importedIcons = __esm({
|
|
50
50
|
"src/components/Icons/importedIcons.ts"() {
|
|
51
51
|
"use strict";
|
|
@@ -693,6 +693,7 @@ var init_importedIcons = __esm({
|
|
|
693
693
|
import_CgYinyang = require("@react-icons/all-files/cg/CgYinyang");
|
|
694
694
|
import_CgZoomIn = require("@react-icons/all-files/cg/CgZoomIn");
|
|
695
695
|
import_CgZoomOut = require("@react-icons/all-files/cg/CgZoomOut");
|
|
696
|
+
import_MdCopyAll = require("@react-icons/all-files/md/MdCopyAll");
|
|
696
697
|
importedIcons = {
|
|
697
698
|
"add-r": import_CgAddR.CgAddR,
|
|
698
699
|
add: import_CgAdd.CgAdd,
|
|
@@ -879,6 +880,7 @@ var init_importedIcons = __esm({
|
|
|
879
880
|
compress: import_CgCompress.CgCompress,
|
|
880
881
|
controller: import_CgController.CgController,
|
|
881
882
|
copy: import_CgCopy.CgCopy,
|
|
883
|
+
"copy-all": import_MdCopyAll.MdCopyAll,
|
|
882
884
|
copyright: import_CgCopyright.CgCopyright,
|
|
883
885
|
"corner-double-down-left": import_CgCornerDoubleDownLeft.CgCornerDoubleDownLeft,
|
|
884
886
|
"corner-double-down-right": import_CgCornerDoubleDownRight.CgCornerDoubleDownRight,
|
|
@@ -1467,6 +1469,7 @@ __export(src_exports, {
|
|
|
1467
1469
|
RICHTEXT_OPERATORS: () => RICHTEXT_OPERATORS,
|
|
1468
1470
|
ResolveIcon: () => ResolveIcon,
|
|
1469
1471
|
RichTextToolbarIcon: () => RichTextToolbarIcon,
|
|
1472
|
+
SYSTEM_DATE_OPERATORS: () => SYSTEM_DATE_OPERATORS,
|
|
1470
1473
|
SYSTEM_FIELD_OPERATORS: () => SYSTEM_FIELD_OPERATORS,
|
|
1471
1474
|
ScrollableList: () => ScrollableList,
|
|
1472
1475
|
ScrollableListInputItem: () => ScrollableListInputItem,
|
|
@@ -1507,6 +1510,7 @@ __export(src_exports, {
|
|
|
1507
1510
|
ToastContainer: () => ToastContainer,
|
|
1508
1511
|
Tooltip: () => Tooltip,
|
|
1509
1512
|
TwoColumnLayout: () => TwoColumnLayout,
|
|
1513
|
+
USER_OPERATORS: () => USER_OPERATORS,
|
|
1510
1514
|
UniformBadge: () => UniformBadge,
|
|
1511
1515
|
UniformLogo: () => UniformLogo,
|
|
1512
1516
|
UniformLogoLarge: () => UniformLogoLarge,
|
|
@@ -4199,7 +4203,7 @@ var import_react22 = require("@emotion/react");
|
|
|
4199
4203
|
var PageHeaderSectionContainer = import_react22.css`
|
|
4200
4204
|
display: flex;
|
|
4201
4205
|
justify-content: space-between;
|
|
4202
|
-
margin-bottom: var(--spacing-
|
|
4206
|
+
margin-bottom: var(--spacing-sm);
|
|
4203
4207
|
flex-direction: column;
|
|
4204
4208
|
gap: var(--spacing-sm);
|
|
4205
4209
|
|
|
@@ -15578,7 +15582,8 @@ function InputComboBox(props) {
|
|
|
15578
15582
|
background: "var(--gray-100)",
|
|
15579
15583
|
"&:hover": {
|
|
15580
15584
|
borderColor: "var(--gray-300)"
|
|
15581
|
-
}
|
|
15585
|
+
},
|
|
15586
|
+
...state.isFocused ? { borderColor: "var(--gray-300)" } : {}
|
|
15582
15587
|
},
|
|
15583
15588
|
...(_b = (_a2 = props.styles) == null ? void 0 : _a2.control) == null ? void 0 : _b.call(_a2, base, state)
|
|
15584
15589
|
};
|
|
@@ -19389,6 +19394,16 @@ var toggleInput2 = import_react110.css`
|
|
|
19389
19394
|
color: var(--white);
|
|
19390
19395
|
}
|
|
19391
19396
|
|
|
19397
|
+
&:indeterminate,
|
|
19398
|
+
&:indeterminate:hover,
|
|
19399
|
+
&:indeterminate:focus {
|
|
19400
|
+
background: var(--accent-dark-active)
|
|
19401
|
+
url('data:image/svg+xml;base64,PHN2ZwogIHdpZHRoPSIxNiIKICBoZWlnaHQ9IjE2IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKPgogIDxwYXRoCiAgICBkPSJNNCAxMkM0IDExLjQ0NzcgNC40NDc3MiAxMSA1IDExSDE5QzE5LjU1MjMgMTEgMjAgMTEuNDQ3NyAyMCAxMkMyMCAxMi41NTIzIDE5LjU1MjMgMTMgMTkgMTNINUM0LjQ0NzcyIDEzIDQgMTIuNTUyMyA0IDEyWiIKICAgIGZpbGw9IndoaXRlIgogIC8+Cjwvc3ZnPg==')
|
|
19402
|
+
no-repeat center center;
|
|
19403
|
+
border-color: var(--accent-dark-active);
|
|
19404
|
+
color: var(--white);
|
|
19405
|
+
}
|
|
19406
|
+
|
|
19392
19407
|
&:hover {
|
|
19393
19408
|
border-color: var(--accent-dark-hover);
|
|
19394
19409
|
}
|
|
@@ -22098,6 +22113,60 @@ var TEXTBOX_OPERATORS = [
|
|
|
22098
22113
|
editorType: "empty"
|
|
22099
22114
|
}
|
|
22100
22115
|
];
|
|
22116
|
+
var USER_OPERATORS = [
|
|
22117
|
+
{
|
|
22118
|
+
label: "is...",
|
|
22119
|
+
value: "eq",
|
|
22120
|
+
editorType: "text"
|
|
22121
|
+
},
|
|
22122
|
+
{
|
|
22123
|
+
label: "contains...",
|
|
22124
|
+
value: "match",
|
|
22125
|
+
editorType: "text"
|
|
22126
|
+
},
|
|
22127
|
+
{
|
|
22128
|
+
label: "is not...",
|
|
22129
|
+
value: "neq",
|
|
22130
|
+
editorType: "text"
|
|
22131
|
+
}
|
|
22132
|
+
];
|
|
22133
|
+
var SYSTEM_DATE_OPERATORS = [
|
|
22134
|
+
{
|
|
22135
|
+
label: "is...",
|
|
22136
|
+
value: "eq",
|
|
22137
|
+
editorType: "date"
|
|
22138
|
+
},
|
|
22139
|
+
{
|
|
22140
|
+
label: "is between...",
|
|
22141
|
+
value: "between",
|
|
22142
|
+
editorType: "dateRange"
|
|
22143
|
+
},
|
|
22144
|
+
{
|
|
22145
|
+
label: "is before...",
|
|
22146
|
+
value: "lt",
|
|
22147
|
+
editorType: "date"
|
|
22148
|
+
},
|
|
22149
|
+
{
|
|
22150
|
+
label: "is after...",
|
|
22151
|
+
value: "gt",
|
|
22152
|
+
editorType: "date"
|
|
22153
|
+
},
|
|
22154
|
+
{
|
|
22155
|
+
label: "is on or before...",
|
|
22156
|
+
value: "lte",
|
|
22157
|
+
editorType: "date"
|
|
22158
|
+
},
|
|
22159
|
+
{
|
|
22160
|
+
label: "is on or after...",
|
|
22161
|
+
value: "gte",
|
|
22162
|
+
editorType: "date"
|
|
22163
|
+
},
|
|
22164
|
+
{
|
|
22165
|
+
label: "is not...",
|
|
22166
|
+
value: "neq",
|
|
22167
|
+
editorType: "date"
|
|
22168
|
+
}
|
|
22169
|
+
];
|
|
22101
22170
|
var RICHTEXT_OPERATORS = [
|
|
22102
22171
|
{
|
|
22103
22172
|
label: "is empty...",
|
|
@@ -22243,6 +22312,12 @@ var FilterButton = import_react138.css`
|
|
|
22243
22312
|
opacity: var(--opacity-50);
|
|
22244
22313
|
}
|
|
22245
22314
|
`;
|
|
22315
|
+
var FilterButtonText = import_react138.css`
|
|
22316
|
+
overflow: hidden;
|
|
22317
|
+
text-overflow: ellipsis;
|
|
22318
|
+
white-space: nowrap;
|
|
22319
|
+
max-width: 14ch;
|
|
22320
|
+
`;
|
|
22246
22321
|
var FilterButtonSelected = import_react138.css`
|
|
22247
22322
|
background: var(--gray-100);
|
|
22248
22323
|
border-color: var(--gray-300);
|
|
@@ -22279,7 +22354,6 @@ var AddConditionalBtn = import_react138.css`
|
|
|
22279
22354
|
gap: var(--spacing-sm);
|
|
22280
22355
|
transition: color var(--duration-fast) var(--timing-ease-out);
|
|
22281
22356
|
padding: 0;
|
|
22282
|
-
font-size: var(--fs-sm);
|
|
22283
22357
|
|
|
22284
22358
|
&:hover,
|
|
22285
22359
|
&:focus {
|
|
@@ -22334,7 +22408,7 @@ var SearchAndFilterOptionsContainer = import_react138.css`
|
|
|
22334
22408
|
padding: var(--spacing-md) var(--spacing-md) var(--spacing-base);
|
|
22335
22409
|
will-change: height;
|
|
22336
22410
|
position: relative;
|
|
22337
|
-
z-index:
|
|
22411
|
+
z-index: 1;
|
|
22338
22412
|
`;
|
|
22339
22413
|
var SearchAndFilterOptionsInnerContainer = import_react138.css`
|
|
22340
22414
|
display: flex;
|
|
@@ -22344,6 +22418,11 @@ var SearchAndFilterOptionsInnerContainer = import_react138.css`
|
|
|
22344
22418
|
var SearchAndFilterButtonGroup = import_react138.css`
|
|
22345
22419
|
margin-top: var(--spacing-base);
|
|
22346
22420
|
`;
|
|
22421
|
+
var SortFilterInputRow = import_react138.css`
|
|
22422
|
+
align-items: center;
|
|
22423
|
+
display: flex;
|
|
22424
|
+
gap: var(--spacing-sm);
|
|
22425
|
+
`;
|
|
22347
22426
|
|
|
22348
22427
|
// src/components/SearchAndFilter/FilterButton.tsx
|
|
22349
22428
|
var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
|
|
@@ -22367,7 +22446,7 @@ var FilterButton2 = ({
|
|
|
22367
22446
|
"data-testid": "filters-button",
|
|
22368
22447
|
children: [
|
|
22369
22448
|
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { icon, iconColor: "currentColor", size: "1rem" }),
|
|
22370
|
-
text,
|
|
22449
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("span", { css: FilterButtonText, children: text }),
|
|
22371
22450
|
filterCount ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Counter, { count: filterCount, bgColor: "var(--white)" }) : null
|
|
22372
22451
|
]
|
|
22373
22452
|
}
|
|
@@ -22506,10 +22585,22 @@ var useSearchAndFilter = () => {
|
|
|
22506
22585
|
var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
|
|
22507
22586
|
var FilterControls = ({
|
|
22508
22587
|
children,
|
|
22588
|
+
defaultSortByValue,
|
|
22509
22589
|
hideSearchInput
|
|
22510
22590
|
}) => {
|
|
22511
|
-
|
|
22591
|
+
var _a, _b, _c;
|
|
22592
|
+
const {
|
|
22593
|
+
setFilterVisibility,
|
|
22594
|
+
filterVisibility,
|
|
22595
|
+
setSearchTerm,
|
|
22596
|
+
validFilterQuery,
|
|
22597
|
+
searchTerm,
|
|
22598
|
+
sortByValue,
|
|
22599
|
+
filterOptions
|
|
22600
|
+
} = useSearchAndFilter();
|
|
22601
|
+
const [initialSortValue, setInitialSortValue] = (0, import_react140.useState)(sortByValue);
|
|
22512
22602
|
const [localeSearchTerm, setLocaleSearchTerm] = (0, import_react140.useState)("");
|
|
22603
|
+
const [userHasChangedSortByValue, setUserHasChangedSortByValue] = (0, import_react140.useState)(false);
|
|
22513
22604
|
(0, import_react_use3.useDebounce)(
|
|
22514
22605
|
() => {
|
|
22515
22606
|
setSearchTerm(localeSearchTerm);
|
|
@@ -22523,14 +22614,25 @@ var FilterControls = ({
|
|
|
22523
22614
|
}
|
|
22524
22615
|
}, [searchTerm]);
|
|
22525
22616
|
const handleFilterToggle = (mode) => {
|
|
22526
|
-
if (filterVisibility &&
|
|
22617
|
+
if (filterVisibility === "filters" && mode === "filters" || filterVisibility === "sort" && mode === "sort") {
|
|
22527
22618
|
return setFilterVisibility(void 0);
|
|
22528
22619
|
}
|
|
22529
22620
|
return setFilterVisibility(mode);
|
|
22530
22621
|
};
|
|
22531
|
-
const
|
|
22532
|
-
const
|
|
22533
|
-
const
|
|
22622
|
+
const sortValue = (sortByValue != null ? sortByValue : defaultSortByValue).split("_");
|
|
22623
|
+
const sortDirection = sortValue == null ? void 0 : sortValue.pop();
|
|
22624
|
+
const sortField = sortValue == null ? void 0 : sortValue.join("_");
|
|
22625
|
+
const sortOn = sortField.startsWith("fields.") ? "contentTypeFields" : "metadata";
|
|
22626
|
+
const sortByValueLabel = (_c = (_b = (_a = filterOptions == null ? void 0 : filterOptions.find((op) => op.value === sortOn)) == null ? void 0 : _a.options) == null ? void 0 : _b.find((f) => f.value === sortField)) == null ? void 0 : _c.label;
|
|
22627
|
+
const sortByIcon = userHasChangedSortByValue ? sortDirection === "ASC" ? "arrow-up" : "arrow-down" : "sort-az";
|
|
22628
|
+
(0, import_react_use3.useEffectOnce)(() => {
|
|
22629
|
+
setInitialSortValue(sortByValue);
|
|
22630
|
+
});
|
|
22631
|
+
(0, import_react140.useEffect)(() => {
|
|
22632
|
+
if (initialSortValue !== sortByValue) {
|
|
22633
|
+
setUserHasChangedSortByValue(true);
|
|
22634
|
+
}
|
|
22635
|
+
}, [initialSortValue, sortByValue]);
|
|
22534
22636
|
return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(import_jsx_runtime119.Fragment, { children: [
|
|
22535
22637
|
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
22536
22638
|
FilterButton2,
|
|
@@ -22549,7 +22651,7 @@ var FilterControls = ({
|
|
|
22549
22651
|
"aria-controls": "search-and-filter-sortBy",
|
|
22550
22652
|
"aria-label": "sort by options",
|
|
22551
22653
|
"aria-haspopup": "true",
|
|
22552
|
-
text: sortByValueLabel,
|
|
22654
|
+
text: !userHasChangedSortByValue ? "Sort" : sortByValueLabel,
|
|
22553
22655
|
icon: sortByIcon,
|
|
22554
22656
|
"aria-expanded": filterVisibility === "sort",
|
|
22555
22657
|
hasSelectedValue: sortByValue !== "",
|
|
@@ -22708,10 +22810,11 @@ var FilterMultiChoiceEditor = ({
|
|
|
22708
22810
|
options,
|
|
22709
22811
|
isDisabled,
|
|
22710
22812
|
readOnly,
|
|
22813
|
+
valueTestId,
|
|
22711
22814
|
...props
|
|
22712
22815
|
}) => {
|
|
22713
22816
|
const readOnlyProps = readOnly ? readOnlyAttributes : {};
|
|
22714
|
-
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { "data-testid": valueTestId, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22715
22818
|
InputComboBox,
|
|
22716
22819
|
{
|
|
22717
22820
|
...props,
|
|
@@ -22726,19 +22829,28 @@ var FilterMultiChoiceEditor = ({
|
|
|
22726
22829
|
},
|
|
22727
22830
|
value,
|
|
22728
22831
|
"aria-readonly": readOnly,
|
|
22832
|
+
styles: {
|
|
22833
|
+
menu(base) {
|
|
22834
|
+
return {
|
|
22835
|
+
...base,
|
|
22836
|
+
minWidth: "max-content"
|
|
22837
|
+
};
|
|
22838
|
+
}
|
|
22839
|
+
},
|
|
22729
22840
|
...readOnlyProps
|
|
22730
22841
|
}
|
|
22731
|
-
);
|
|
22842
|
+
) });
|
|
22732
22843
|
};
|
|
22733
22844
|
var FilterSingleChoiceEditor = ({
|
|
22734
22845
|
options,
|
|
22735
22846
|
value,
|
|
22736
22847
|
isDisabled,
|
|
22737
22848
|
readOnly,
|
|
22738
|
-
onChange
|
|
22849
|
+
onChange,
|
|
22850
|
+
valueTestId
|
|
22739
22851
|
}) => {
|
|
22740
22852
|
const readOnlyProps = readOnly ? readOnlyAttributes : {};
|
|
22741
|
-
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { "data-testid": valueTestId, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22742
22854
|
InputComboBox,
|
|
22743
22855
|
{
|
|
22744
22856
|
placeholder: "Type to search...",
|
|
@@ -22751,9 +22863,17 @@ var FilterSingleChoiceEditor = ({
|
|
|
22751
22863
|
isDisabled,
|
|
22752
22864
|
value,
|
|
22753
22865
|
"aria-readonly": readOnly,
|
|
22866
|
+
styles: {
|
|
22867
|
+
menu(base) {
|
|
22868
|
+
return {
|
|
22869
|
+
...base,
|
|
22870
|
+
minWidth: "max-content"
|
|
22871
|
+
};
|
|
22872
|
+
}
|
|
22873
|
+
},
|
|
22754
22874
|
...readOnlyProps
|
|
22755
22875
|
}
|
|
22756
|
-
);
|
|
22876
|
+
) });
|
|
22757
22877
|
};
|
|
22758
22878
|
var CustomOptions = ({ label, value }) => {
|
|
22759
22879
|
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(StatusBullet, { status: label, message: value });
|
|
@@ -22763,10 +22883,11 @@ var StatusMultiEditor = ({
|
|
|
22763
22883
|
value,
|
|
22764
22884
|
isDisabled,
|
|
22765
22885
|
readOnly,
|
|
22766
|
-
onChange
|
|
22886
|
+
onChange,
|
|
22887
|
+
valueTestId
|
|
22767
22888
|
}) => {
|
|
22768
22889
|
const readOnlyProps = readOnly ? readOnlyAttributes : {};
|
|
22769
|
-
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22890
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { "data-testid": valueTestId, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22770
22891
|
InputComboBox,
|
|
22771
22892
|
{
|
|
22772
22893
|
options,
|
|
@@ -22778,19 +22899,28 @@ var StatusMultiEditor = ({
|
|
|
22778
22899
|
formatOptionLabel: CustomOptions,
|
|
22779
22900
|
value,
|
|
22780
22901
|
isDisabled,
|
|
22902
|
+
styles: {
|
|
22903
|
+
menu(base) {
|
|
22904
|
+
return {
|
|
22905
|
+
...base,
|
|
22906
|
+
minWidth: "max-content"
|
|
22907
|
+
};
|
|
22908
|
+
}
|
|
22909
|
+
},
|
|
22781
22910
|
...readOnlyProps
|
|
22782
22911
|
}
|
|
22783
|
-
);
|
|
22912
|
+
) });
|
|
22784
22913
|
};
|
|
22785
22914
|
var StatusSingleEditor = ({
|
|
22786
22915
|
options,
|
|
22787
22916
|
value,
|
|
22788
22917
|
isDisabled,
|
|
22789
22918
|
readOnly,
|
|
22790
|
-
onChange
|
|
22919
|
+
onChange,
|
|
22920
|
+
valueTestId
|
|
22791
22921
|
}) => {
|
|
22792
22922
|
const readOnlyProps = readOnly ? readOnlyAttributes : {};
|
|
22793
|
-
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22923
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { "data-testid": valueTestId, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22794
22924
|
InputComboBox,
|
|
22795
22925
|
{
|
|
22796
22926
|
options,
|
|
@@ -22801,11 +22931,19 @@ var StatusSingleEditor = ({
|
|
|
22801
22931
|
formatOptionLabel: CustomOptions,
|
|
22802
22932
|
value,
|
|
22803
22933
|
isDisabled,
|
|
22934
|
+
styles: {
|
|
22935
|
+
menu(base) {
|
|
22936
|
+
return {
|
|
22937
|
+
...base,
|
|
22938
|
+
minWidth: "max-content"
|
|
22939
|
+
};
|
|
22940
|
+
}
|
|
22941
|
+
},
|
|
22804
22942
|
...readOnlyProps
|
|
22805
22943
|
}
|
|
22806
|
-
);
|
|
22944
|
+
) });
|
|
22807
22945
|
};
|
|
22808
|
-
var TextEditor = ({ onChange, ariaLabel, value, readOnly }) => {
|
|
22946
|
+
var TextEditor = ({ onChange, ariaLabel, value, readOnly, valueTestId }) => {
|
|
22809
22947
|
(0, import_react_use4.useDebounce)(() => onChange, 500, [value]);
|
|
22810
22948
|
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22811
22949
|
Input,
|
|
@@ -22815,11 +22953,19 @@ var TextEditor = ({ onChange, ariaLabel, value, readOnly }) => {
|
|
|
22815
22953
|
onChange: (e) => onChange(e.currentTarget.value),
|
|
22816
22954
|
placeholder: "Enter phrase to search\u2026",
|
|
22817
22955
|
value,
|
|
22818
|
-
readOnly
|
|
22956
|
+
readOnly,
|
|
22957
|
+
"data-testid": valueTestId
|
|
22819
22958
|
}
|
|
22820
22959
|
);
|
|
22821
22960
|
};
|
|
22822
|
-
var NumberRangeEditor = ({
|
|
22961
|
+
var NumberRangeEditor = ({
|
|
22962
|
+
onChange,
|
|
22963
|
+
disabled: disabled2,
|
|
22964
|
+
ariaLabel,
|
|
22965
|
+
value,
|
|
22966
|
+
readOnly,
|
|
22967
|
+
valueTestId
|
|
22968
|
+
}) => {
|
|
22823
22969
|
const [minValue, setMinValue] = (0, import_react142.useState)("");
|
|
22824
22970
|
const [maxValue, setMaxValue] = (0, import_react142.useState)("");
|
|
22825
22971
|
const [error, setError] = (0, import_react142.useState)("");
|
|
@@ -22842,41 +22988,50 @@ var NumberRangeEditor = ({ onChange, disabled: disabled2, ariaLabel, value, read
|
|
|
22842
22988
|
setError("");
|
|
22843
22989
|
onChange([minValue, maxValue]);
|
|
22844
22990
|
}, [maxValue, minValue, setError]);
|
|
22845
|
-
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
22846
|
-
/* @__PURE__ */ (0, import_jsx_runtime121.
|
|
22847
|
-
|
|
22848
|
-
|
|
22849
|
-
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
-
|
|
22858
|
-
|
|
22859
|
-
|
|
22860
|
-
|
|
22861
|
-
|
|
22862
|
-
|
|
22863
|
-
|
|
22864
|
-
|
|
22865
|
-
|
|
22866
|
-
|
|
22867
|
-
|
|
22868
|
-
|
|
22869
|
-
|
|
22870
|
-
|
|
22871
|
-
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_jsx_runtime121.Fragment, { children: [
|
|
22992
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("div", { css: twoColumnGrid, "data-testid": valueTestId, children: [
|
|
22993
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22994
|
+
Input,
|
|
22995
|
+
{
|
|
22996
|
+
label: `${ariaLabel}-min`,
|
|
22997
|
+
type: "number",
|
|
22998
|
+
showLabel: false,
|
|
22999
|
+
min: 0,
|
|
23000
|
+
placeholder: "Low",
|
|
23001
|
+
onChange: (e) => setMinValue(e.currentTarget.value),
|
|
23002
|
+
"aria-invalid": !error ? false : true,
|
|
23003
|
+
disabled: disabled2,
|
|
23004
|
+
value: value ? value[0] : "",
|
|
23005
|
+
readOnly
|
|
23006
|
+
}
|
|
23007
|
+
),
|
|
23008
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
23009
|
+
Input,
|
|
23010
|
+
{
|
|
23011
|
+
type: "number",
|
|
23012
|
+
label: `${ariaLabel}-max`,
|
|
23013
|
+
showLabel: false,
|
|
23014
|
+
min: 0,
|
|
23015
|
+
placeholder: "High",
|
|
23016
|
+
onChange: (e) => setMaxValue(e.currentTarget.value),
|
|
23017
|
+
"aria-invalid": !error ? false : true,
|
|
23018
|
+
disabled: disabled2,
|
|
23019
|
+
value: value ? value[1] : "",
|
|
23020
|
+
readOnly
|
|
23021
|
+
}
|
|
23022
|
+
)
|
|
23023
|
+
] }),
|
|
22876
23024
|
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(ErrorContainer, { errorMessage: error })
|
|
22877
23025
|
] });
|
|
22878
23026
|
};
|
|
22879
|
-
var NumberEditor = ({
|
|
23027
|
+
var NumberEditor = ({
|
|
23028
|
+
ariaLabel,
|
|
23029
|
+
onChange,
|
|
23030
|
+
disabled: disabled2,
|
|
23031
|
+
value,
|
|
23032
|
+
readOnly,
|
|
23033
|
+
valueTestId
|
|
23034
|
+
}) => {
|
|
22880
23035
|
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22881
23036
|
Input,
|
|
22882
23037
|
{
|
|
@@ -22887,11 +23042,19 @@ var NumberEditor = ({ ariaLabel, onChange, disabled: disabled2, value, readOnly
|
|
|
22887
23042
|
onChange: (e) => onChange(e.currentTarget.value),
|
|
22888
23043
|
disabled: disabled2,
|
|
22889
23044
|
value,
|
|
22890
|
-
readOnly
|
|
23045
|
+
readOnly,
|
|
23046
|
+
"data-testid": valueTestId
|
|
22891
23047
|
}
|
|
22892
23048
|
);
|
|
22893
23049
|
};
|
|
22894
|
-
var DateEditor = ({
|
|
23050
|
+
var DateEditor = ({
|
|
23051
|
+
onChange,
|
|
23052
|
+
ariaLabel,
|
|
23053
|
+
disabled: disabled2,
|
|
23054
|
+
value,
|
|
23055
|
+
readOnly,
|
|
23056
|
+
valueTestId
|
|
23057
|
+
}) => {
|
|
22895
23058
|
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
22896
23059
|
Input,
|
|
22897
23060
|
{
|
|
@@ -22901,11 +23064,19 @@ var DateEditor = ({ onChange, ariaLabel, disabled: disabled2, value, readOnly })
|
|
|
22901
23064
|
onChange: (e) => onChange(e.currentTarget.value),
|
|
22902
23065
|
disabled: disabled2,
|
|
22903
23066
|
value,
|
|
22904
|
-
readOnly
|
|
23067
|
+
readOnly,
|
|
23068
|
+
"data-testid": valueTestId
|
|
22905
23069
|
}
|
|
22906
23070
|
);
|
|
22907
23071
|
};
|
|
22908
|
-
var DateRangeEditor = ({
|
|
23072
|
+
var DateRangeEditor = ({
|
|
23073
|
+
ariaLabel,
|
|
23074
|
+
onChange,
|
|
23075
|
+
disabled: disabled2,
|
|
23076
|
+
value,
|
|
23077
|
+
readOnly,
|
|
23078
|
+
valueTestId
|
|
23079
|
+
}) => {
|
|
22909
23080
|
const [minDateValue, setMinDateValue] = (0, import_react142.useState)(value ? value[0] : "");
|
|
22910
23081
|
const [maxDateValue, setMaxDateValue] = (0, import_react142.useState)(value ? value[1] : "");
|
|
22911
23082
|
const [error, setError] = (0, import_react142.useState)("");
|
|
@@ -22940,33 +23111,35 @@ var DateRangeEditor = ({ ariaLabel, onChange, disabled: disabled2, value, readOn
|
|
|
22940
23111
|
setError("");
|
|
22941
23112
|
onChange([minDateValue, maxDateValue]);
|
|
22942
23113
|
}, [minDateValue, maxDateValue, setError]);
|
|
22943
|
-
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
22944
|
-
/* @__PURE__ */ (0, import_jsx_runtime121.
|
|
22945
|
-
|
|
22946
|
-
|
|
22947
|
-
|
|
22948
|
-
|
|
22949
|
-
|
|
22950
|
-
|
|
22951
|
-
|
|
22952
|
-
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
|
|
22960
|
-
|
|
22961
|
-
|
|
22962
|
-
|
|
22963
|
-
|
|
22964
|
-
|
|
22965
|
-
|
|
22966
|
-
|
|
22967
|
-
|
|
22968
|
-
|
|
22969
|
-
|
|
23114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_jsx_runtime121.Fragment, { children: [
|
|
23115
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("div", { css: twoColumnGrid, "data-testid": valueTestId, children: [
|
|
23116
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
23117
|
+
Input,
|
|
23118
|
+
{
|
|
23119
|
+
label: `${ariaLabel}-min-date`,
|
|
23120
|
+
type: "date",
|
|
23121
|
+
showLabel: false,
|
|
23122
|
+
value: minDateValue,
|
|
23123
|
+
onChange: (e) => setMinDateValue(e.currentTarget.value),
|
|
23124
|
+
"aria-invalid": !error ? false : true,
|
|
23125
|
+
disabled: disabled2,
|
|
23126
|
+
readOnly
|
|
23127
|
+
}
|
|
23128
|
+
),
|
|
23129
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
23130
|
+
Input,
|
|
23131
|
+
{
|
|
23132
|
+
label: `${ariaLabel}-max-date`,
|
|
23133
|
+
type: "date",
|
|
23134
|
+
showLabel: false,
|
|
23135
|
+
value: maxDateValue,
|
|
23136
|
+
onChange: (e) => setMaxDateValue(e.currentTarget.value),
|
|
23137
|
+
"aria-invalid": !error ? false : true,
|
|
23138
|
+
disabled: disabled2,
|
|
23139
|
+
readOnly
|
|
23140
|
+
}
|
|
23141
|
+
)
|
|
23142
|
+
] }),
|
|
22970
23143
|
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(ErrorContainer, { errorMessage: error })
|
|
22971
23144
|
] });
|
|
22972
23145
|
};
|
|
@@ -23032,7 +23205,7 @@ var SearchAndFilterOptionsContainer2 = ({
|
|
|
23032
23205
|
) : null
|
|
23033
23206
|
] });
|
|
23034
23207
|
};
|
|
23035
|
-
var FilterMenu = ({ id, filterTitle = "Show
|
|
23208
|
+
var FilterMenu = ({ id, filterTitle = "Show results", menuControls, children }) => {
|
|
23036
23209
|
const { filterVisibility, setFilterVisibility } = useSearchAndFilter();
|
|
23037
23210
|
const innerMenuRef = import_react143.default.useRef(null);
|
|
23038
23211
|
(0, import_react143.useEffect)(() => {
|
|
@@ -23106,8 +23279,8 @@ var FilterItem = ({
|
|
|
23106
23279
|
menuIsOpen: false,
|
|
23107
23280
|
isClearable: false
|
|
23108
23281
|
} : {};
|
|
23109
|
-
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: ConditionalFilterRow, children: [
|
|
23110
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { children: index === 0 ? "
|
|
23282
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: ConditionalFilterRow, "data-testid": "filter-item", children: [
|
|
23283
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { children: index === 0 ? "Where" : "and" }),
|
|
23111
23284
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: ConditionalInputRow, children: [
|
|
23112
23285
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
23113
23286
|
InputComboBox,
|
|
@@ -23118,8 +23291,21 @@ var FilterItem = ({
|
|
|
23118
23291
|
var _a2;
|
|
23119
23292
|
onParamChange((_a2 = e == null ? void 0 : e.value) != null ? _a2 : "");
|
|
23120
23293
|
},
|
|
23294
|
+
isOptionDisabled: (option) => {
|
|
23295
|
+
var _a2;
|
|
23296
|
+
return (_a2 = option == null ? void 0 : option.disabled) != null ? _a2 : false;
|
|
23297
|
+
},
|
|
23298
|
+
styles: {
|
|
23299
|
+
menu(base) {
|
|
23300
|
+
return {
|
|
23301
|
+
...base,
|
|
23302
|
+
minWidth: "max-content"
|
|
23303
|
+
};
|
|
23304
|
+
}
|
|
23305
|
+
},
|
|
23121
23306
|
value: selectedFieldValue,
|
|
23122
|
-
...readOnlyProps
|
|
23307
|
+
...readOnlyProps,
|
|
23308
|
+
id: "filter-field"
|
|
23123
23309
|
}
|
|
23124
23310
|
),
|
|
23125
23311
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
@@ -23133,7 +23319,16 @@ var FilterItem = ({
|
|
|
23133
23319
|
},
|
|
23134
23320
|
isDisabled: !filters[index].field,
|
|
23135
23321
|
value: selectedOperatorValue,
|
|
23136
|
-
|
|
23322
|
+
styles: {
|
|
23323
|
+
menu(base) {
|
|
23324
|
+
return {
|
|
23325
|
+
...base,
|
|
23326
|
+
minWidth: "max-content"
|
|
23327
|
+
};
|
|
23328
|
+
}
|
|
23329
|
+
},
|
|
23330
|
+
...readOnlyProps,
|
|
23331
|
+
id: "filter-operator"
|
|
23137
23332
|
}
|
|
23138
23333
|
),
|
|
23139
23334
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
@@ -23145,16 +23340,18 @@ var FilterItem = ({
|
|
|
23145
23340
|
onChange: (e) => onValueChange(e != null ? e : ""),
|
|
23146
23341
|
readOnly,
|
|
23147
23342
|
isDisabled: !filters[index].operator,
|
|
23148
|
-
value: selectedMetaValue
|
|
23343
|
+
value: selectedMetaValue,
|
|
23344
|
+
valueTestId: "filter-value"
|
|
23149
23345
|
}
|
|
23150
23346
|
),
|
|
23151
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
23347
|
+
readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
23152
23348
|
"button",
|
|
23153
23349
|
{
|
|
23154
23350
|
type: "button",
|
|
23155
23351
|
onClick: () => handleDeleteFilter(index),
|
|
23156
23352
|
"aria-label": "delete filter",
|
|
23157
23353
|
css: IconBtn,
|
|
23354
|
+
"data-testid": "delete-filter",
|
|
23158
23355
|
children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Icon, { icon: "trash", iconColor: "red", size: "1rem" })
|
|
23159
23356
|
}
|
|
23160
23357
|
)
|
|
@@ -23167,6 +23364,7 @@ var FilterItems = ({
|
|
|
23167
23364
|
}) => {
|
|
23168
23365
|
const { filterOptions, filters, setFilters, handleAddFilter, handleResetFilters, setFilterVisibility } = useSearchAndFilter();
|
|
23169
23366
|
const handleUpdateFilter = (index, prop, value) => {
|
|
23367
|
+
var _a, _b, _c, _d, _e;
|
|
23170
23368
|
const next = [...filters];
|
|
23171
23369
|
next[index] = { ...next[index], [prop]: value };
|
|
23172
23370
|
if (prop === "operator") {
|
|
@@ -23179,7 +23377,11 @@ var FilterItems = ({
|
|
|
23179
23377
|
}
|
|
23180
23378
|
}
|
|
23181
23379
|
if (prop === "field") {
|
|
23182
|
-
|
|
23380
|
+
const firstOperatorInAvailableOperators = (_e = (_d = (_c = (_b = (_a = filterOptions.find((fo) => {
|
|
23381
|
+
var _a2;
|
|
23382
|
+
return (_a2 = fo.options) == null ? void 0 : _a2.find((op) => op.value === value);
|
|
23383
|
+
})) == null ? void 0 : _a.options) == null ? void 0 : _b.find((op) => op.value === next[index].field)) == null ? void 0 : _c.operatorOptions) == null ? void 0 : _d[0].value) != null ? _e : "eq";
|
|
23384
|
+
next[index].operator = firstOperatorInAvailableOperators;
|
|
23183
23385
|
next[index].value = "";
|
|
23184
23386
|
}
|
|
23185
23387
|
setFilters(next);
|
|
@@ -23189,10 +23391,19 @@ var FilterItems = ({
|
|
|
23189
23391
|
{
|
|
23190
23392
|
id: "search-and-filter-options",
|
|
23191
23393
|
menuControls: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
23192
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
23193
|
-
|
|
23194
|
-
|
|
23195
|
-
|
|
23394
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
23395
|
+
"button",
|
|
23396
|
+
{
|
|
23397
|
+
type: "button",
|
|
23398
|
+
css: AddConditionalBtn,
|
|
23399
|
+
onClick: handleAddFilter,
|
|
23400
|
+
"data-testid": "add-filter",
|
|
23401
|
+
children: [
|
|
23402
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Icon, { icon: "math-plus", iconColor: "currentColor", size: "1rem" }),
|
|
23403
|
+
addButtonText
|
|
23404
|
+
]
|
|
23405
|
+
}
|
|
23406
|
+
),
|
|
23196
23407
|
(filters == null ? void 0 : filters.length) ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
23197
23408
|
"button",
|
|
23198
23409
|
{
|
|
@@ -23202,6 +23413,7 @@ var FilterItems = ({
|
|
|
23202
23413
|
handleResetFilters();
|
|
23203
23414
|
setFilterVisibility(void 0);
|
|
23204
23415
|
},
|
|
23416
|
+
"data-testid": "reset-filters",
|
|
23205
23417
|
children: resetButtonText
|
|
23206
23418
|
}
|
|
23207
23419
|
) : null
|
|
@@ -23459,7 +23671,7 @@ var SortItems = () => {
|
|
|
23459
23671
|
var _a2;
|
|
23460
23672
|
return (_a2 = item.options) == null ? void 0 : _a2.find((option) => option.value === sortField);
|
|
23461
23673
|
})) == null ? void 0 : _a.options) == null ? void 0 : _b.find((nestedOption) => nestedOption.value === sortField);
|
|
23462
|
-
return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(FilterMenu, { id: "search-and-filter-options", filterTitle: "Sort by", children: /* @__PURE__ */ (0, import_jsx_runtime125.
|
|
23674
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(FilterMenu, { id: "search-and-filter-options", filterTitle: "Sort by", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { css: SortFilterInputRow, children: [
|
|
23463
23675
|
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
23464
23676
|
InputComboBox,
|
|
23465
23677
|
{
|
|
@@ -23468,6 +23680,14 @@ var SortItems = () => {
|
|
|
23468
23680
|
const fieldName = e == null ? void 0 : e.value;
|
|
23469
23681
|
setSortBy(`${fieldName}_${sortDirection}`);
|
|
23470
23682
|
},
|
|
23683
|
+
styles: {
|
|
23684
|
+
menu(base) {
|
|
23685
|
+
return {
|
|
23686
|
+
...base,
|
|
23687
|
+
minWidth: "max-content"
|
|
23688
|
+
};
|
|
23689
|
+
}
|
|
23690
|
+
},
|
|
23471
23691
|
value: currentSelectedOption
|
|
23472
23692
|
}
|
|
23473
23693
|
),
|
|
@@ -23484,7 +23704,7 @@ var SortItems = () => {
|
|
|
23484
23704
|
value: sortDirection
|
|
23485
23705
|
}
|
|
23486
23706
|
)
|
|
23487
|
-
] }) })
|
|
23707
|
+
] }) });
|
|
23488
23708
|
};
|
|
23489
23709
|
|
|
23490
23710
|
// src/components/SearchAndFilter/FilterModeView.tsx
|
|
@@ -23587,7 +23807,7 @@ var SearchAndFilter = ({
|
|
|
23587
23807
|
css: SearchAndFilterControlsWrapper(
|
|
23588
23808
|
viewSwitchControls ? "auto auto 1fr 0.5fr" : "auto auto 1fr"
|
|
23589
23809
|
),
|
|
23590
|
-
children: !filterControls ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(FilterControls, { hideSearchInput: !onSearchChange }) : filterControls
|
|
23810
|
+
children: !filterControls ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(FilterControls, { hideSearchInput: !onSearchChange, defaultSortByValue }) : filterControls
|
|
23591
23811
|
}
|
|
23592
23812
|
),
|
|
23593
23813
|
viewSwitchControls
|
|
@@ -24320,6 +24540,7 @@ var ToastContainer = ({ limit = 4 }) => {
|
|
|
24320
24540
|
RICHTEXT_OPERATORS,
|
|
24321
24541
|
ResolveIcon,
|
|
24322
24542
|
RichTextToolbarIcon,
|
|
24543
|
+
SYSTEM_DATE_OPERATORS,
|
|
24323
24544
|
SYSTEM_FIELD_OPERATORS,
|
|
24324
24545
|
ScrollableList,
|
|
24325
24546
|
ScrollableListInputItem,
|
|
@@ -24360,6 +24581,7 @@ var ToastContainer = ({ limit = 4 }) => {
|
|
|
24360
24581
|
ToastContainer,
|
|
24361
24582
|
Tooltip,
|
|
24362
24583
|
TwoColumnLayout,
|
|
24584
|
+
USER_OPERATORS,
|
|
24363
24585
|
UniformBadge,
|
|
24364
24586
|
UniformLogo,
|
|
24365
24587
|
UniformLogoLarge,
|