@wix/patterns 1.255.0 → 1.256.0
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/cjs/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/cjs/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
- package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js +16 -11
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +4 -4
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
- package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
- package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTableWSRTable.js +12 -6
- package/dist/cjs/components/NestedTable/NestedTableWSRTable.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +3 -3
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/cjs/components/common.st.css.js +4 -4
- package/dist/cjs/components/common.st.css.js.map +1 -1
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/esm/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js +4 -2
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/esm/components/Heading/Heading.st.css.js +2 -2
- package/dist/esm/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/esm/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTableWSRTable.js +4 -1
- package/dist/esm/components/NestedTable/NestedTableWSRTable.js.map +1 -1
- package/dist/esm/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
- package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
- package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js.map +1 -1
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/components/CardContainer/CardContainer.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionPageNew/CollectionPage.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTableWSRTable.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/SearchOrCustomFilter.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.st.css.d.ts.map +1 -1
- package/dist/types/components/Fade/Fade.st.css.d.ts.map +1 -1
- package/dist/types/components/Heading/Heading.st.css.d.ts.map +1 -1
- package/dist/types/components/MaxHeightText/MaxHeightText.st.css.d.ts.map +1 -1
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTableRow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTableWSRTable.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerTableListItem/PickerTableListItem.st.css.d.ts.map +1 -1
- package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
- package/dist/types/components/SlidingModal/SlidingModal.st.css.d.ts.map +1 -1
- package/dist/types/components/ToolbarItemBox/ToolbarItemBox.st.css.d.ts.map +1 -1
- package/dist/types/components/common.st.css.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +147 -3
- package/src/aiAssistant/aiAssistant.ts +28 -0
- package/src/aiAssistant/createAiAssistant.ts +75 -0
- package/src/aiAssistant/index.ts +2 -0
- package/src/aiAssistant/useAiAssistantContext.ts +14 -0
- package/src/alpha/index.ts +3 -0
- package/src/bm/WixPatternsBMProvider.tsx +79 -0
- package/src/bm/buildBMCairoEssentials.ts +136 -0
- package/src/bm/buildCreateEssentials.ts +64 -0
- package/src/bm/errorMonitorCompat.ts +39 -0
- package/src/bm/testProviderPropsOverrides.ts +23 -0
- package/src/bm/useExperimentsCompat.ts +16 -0
- package/src/bm/usePickerModal.ts +90 -0
- package/src/bm/usePlatformApiCompat.ts +13 -0
- package/src/bm/warmUpPickerStandalone.ts +25 -0
- package/src/bm/withWixPatternsProvider.tsx +14 -0
- package/src/components/ActionCell/ActionCell.ts +75 -0
- package/src/components/ActionCell/index.ts +4 -0
- package/src/components/ActionCell/useActionCellColumn.ts +43 -0
- package/src/components/ActionCell/useActionCellColumnBase.ts +24 -0
- package/src/components/ActionCell/useRenderActionCellColumn.tsx +34 -0
- package/src/components/ActionControl/ActionButton.tsx +37 -0
- package/src/components/ActionControl/ActionControl.tsx +19 -0
- package/src/components/ActionControl/ActionControl.uni.driver.ts +30 -0
- package/src/components/ActionControl/ActionPopover.tsx +75 -0
- package/src/components/ActionControl/ActionSubItemProps.tsx +67 -0
- package/src/components/ActionControl/index.ts +4 -0
- package/src/components/ActionModal/CustomActionModal.tsx +64 -0
- package/src/components/ActionModal/MessageActionModal.tsx +73 -0
- package/src/components/ActionModal/index.ts +2 -0
- package/src/components/AppliedFiltersTagList/AppliedFiltersTagList.tsx +60 -0
- package/src/components/AppliedFiltersTagList/AppliedFiltersTagList.uni.driver.ts +38 -0
- package/src/components/AppliedFiltersTagList/AppliedFiltersTagListState.tsx +204 -0
- package/src/components/AppliedFiltersTagList/FilterTagContent.tsx +26 -0
- package/src/components/AppliedFiltersTagList/index.ts +1 -0
- package/src/components/AutoCompleteFilter/AutoCompleteFilter.tsx +29 -0
- package/src/components/AutoCompleteFilter/AutoCompleteFilterState.ts +97 -0
- package/src/components/AutoCompleteFilter/index.tsx +1 -0
- package/src/components/BorderOnlyBox.tsx +14 -0
- package/src/components/BulkAction/BulkActionModalRenderProp.ts +41 -0
- package/src/components/BulkAction/BulkActionToolbarRenderProp.ts +14 -0
- package/src/components/BulkAction/MultiCollectionBulkActionModal.tsx +35 -0
- package/src/components/BulkAction/MultiCollectionBulkActionRenderProps.ts +20 -0
- package/src/components/BulkAction/MultiCollectionBulkActionToolbar.tsx +38 -0
- package/src/components/BulkAction/SingleCollectionBulkActionModal.tsx +43 -0
- package/src/components/BulkAction/SingleCollectionBulkActionToolbar.tsx +54 -0
- package/src/components/BulkAction/index.ts +7 -0
- package/src/components/BulkActionButton/BulkActionButton.tsx +26 -0
- package/src/components/BulkActionButton/index.ts +1 -0
- package/src/components/BulkActionToolbar/BulkActionToolbar.driver.tsx +61 -0
- package/src/components/BulkActionToolbar/BulkActionToolbar.tsx +66 -0
- package/src/components/BulkActionToolbar/BulkActionToolbar.uni.driver.ts +36 -0
- package/src/components/BulkActionToolbar/index.ts +1 -0
- package/src/components/CardContainer/CardContainer.st.css +7 -0
- package/src/components/CardContainer/CardContainer.st.css.ts +25 -0
- package/src/components/CardContainer/CardContainer.tsx +83 -0
- package/src/components/CardContainer/CardContainer.uni.driver.ts +16 -0
- package/src/components/CardContainer/index.ts +1 -0
- package/src/components/Collapse/Collapse.st.css +8 -0
- package/src/components/Collapse/Collapse.st.css.ts +25 -0
- package/src/components/Collapse/Collapse.tsx +152 -0
- package/src/components/Collapse/index.ts +1 -0
- package/src/components/CollectionActionsBar.tsx +16 -0
- package/src/components/CollectionAutoComplete/CollectionAutoComplete.tsx +155 -0
- package/src/components/CollectionAutoComplete/index.tsx +1 -0
- package/src/components/CollectionCard/CollectionCard.tsx +127 -0
- package/src/components/CollectionCard/index.ts +1 -0
- package/src/components/CollectionContext.ts +6 -0
- package/src/components/CollectionEmptyStateBase/CollectionEmptyStateBase.tsx +22 -0
- package/src/components/CollectionEmptyStateBase/index.ts +1 -0
- package/src/components/CollectionErrorState/CollectionErrorState.tsx +55 -0
- package/src/components/CollectionErrorState/index.ts +1 -0
- package/src/components/CollectionFilter/CollectionFilter.tsx +32 -0
- package/src/components/CollectionFilter/CollectionFilterState.ts +97 -0
- package/src/components/CollectionFilter/index.ts +1 -0
- package/src/components/CollectionItemActions/CollectionItemActions.tsx +95 -0
- package/src/components/CollectionItemActions/CollectionItemActions.uni.driver.ts +101 -0
- package/src/components/CollectionItemActions/CollectionItemActionsHelper.ts +131 -0
- package/src/components/CollectionItemActions/getDefaultActionCellProps.ts +6 -0
- package/src/components/CollectionItemActions/index.ts +1 -0
- package/src/components/CollectionListHeader/CollectionListHeader.tsx +46 -0
- package/src/components/CollectionListHeader/index.ts +1 -0
- package/src/components/CollectionListItem/CollectionListChildSlot.tsx +16 -0
- package/src/components/CollectionListItem/CollectionListItem.tsx +49 -0
- package/src/components/CollectionListItem/CollectionListItem.uni.driver.ts +14 -0
- package/src/components/CollectionListItem/index.ts +2 -0
- package/src/components/CollectionListRow/CollectionListRow.tsx +99 -0
- package/src/components/CollectionListRow/index.ts +1 -0
- package/src/components/CollectionModal.tsx +18 -0
- package/src/components/CollectionMultiSelectCheckbox/CollectionMultiSelectCheckbox.tsx +204 -0
- package/src/components/CollectionMultiSelectCheckbox/index.ts +1 -0
- package/src/components/CollectionPage/CollectionPage.tsx +60 -0
- package/src/components/CollectionPage/index.ts +1 -0
- package/src/components/CollectionPageContent/CollectionPageContent.tsx +17 -0
- package/src/components/CollectionPageContent/index.ts +1 -0
- package/src/components/CollectionPageHeader/CollectionPageHeader.tsx +33 -0
- package/src/components/CollectionPageHeader/index.ts +1 -0
- package/src/components/CollectionPageHeaderNew/CollectionPageHeader.tsx +69 -0
- package/src/components/CollectionPageHeaderNew/index.ts +1 -0
- package/src/components/CollectionPageNew/CollectionPage.st.css +9 -0
- package/src/components/CollectionPageNew/CollectionPage.st.css.ts +25 -0
- package/src/components/CollectionPageNew/CollectionPage.tsx +90 -0
- package/src/components/CollectionPageNew/CollectionPage.uni.driver.ts +42 -0
- package/src/components/CollectionPageNew/index.ts +1 -0
- package/src/components/CollectionPageNew/useCollectionPageLoadReporting.ts +74 -0
- package/src/components/CollectionPagination.tsx +42 -0
- package/src/components/CollectionSearch.tsx +54 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.tsx +57 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.types.ts +29 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.ts +22 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.tsx +45 -0
- package/src/components/CollectionSectionHeader/index.ts +6 -0
- package/src/components/CollectionTable/CollectionTable.st.css +11 -0
- package/src/components/CollectionTable/CollectionTable.st.css.ts +25 -0
- package/src/components/CollectionTable/CollectionTable.tsx +394 -0
- package/src/components/CollectionTable/CollectionTable.uni.driver.ts +399 -0
- package/src/components/CollectionTable/CollectionTableBaseCommonProps.ts +25 -0
- package/src/components/CollectionTable/CollectionTableContent.tsx +63 -0
- package/src/components/CollectionTable/CollectionTableContentCard.tsx +33 -0
- package/src/components/CollectionTable/CollectionTableWSRTable.tsx +298 -0
- package/src/components/CollectionTable/index.ts +1 -0
- package/src/components/CollectionTable/useTableCollectionSyncProps.ts +104 -0
- package/src/components/CollectionTableActionsColumn.tsx +62 -0
- package/src/components/CollectionToolbar/CollectionToolbar.st.css +40 -0
- package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +25 -0
- package/src/components/CollectionToolbar/CollectionToolbar.tsx +315 -0
- package/src/components/CollectionToolbar/CollectionToolbar.uni.driver.ts +628 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsGroupProps.ts +14 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.tsx +90 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.tsx +73 -0
- package/src/components/CollectionToolbar/CollectionToolbarContext.ts +9 -0
- package/src/components/CollectionToolbar/CollectionToolbarSkeletonItem.tsx +21 -0
- package/src/components/CollectionToolbar/PrimaryActionButton.tsx +47 -0
- package/src/components/CollectionToolbar/ReorderModeDiscardChangesModal.tsx +26 -0
- package/src/components/CollectionToolbar/ReorderModeToolbar.tsx +105 -0
- package/src/components/CollectionToolbar/ReorderModeToolbar.uni.driver.ts +39 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css +10 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +25 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.tsx +52 -0
- package/src/components/CollectionToolbar/ToolbarGroupScrollWidthBox.tsx +34 -0
- package/src/components/CollectionToolbar/ToolbarSecondaryActions.tsx +35 -0
- package/src/components/CollectionToolbar/ToolbarSecondaryActions.uni.driver.ts +21 -0
- package/src/components/CollectionToolbar/index.ts +4 -0
- package/src/components/CollectionToolbar/useCollectionToolbarSyncedProps.ts +35 -0
- package/src/components/CollectionToolbarFilters/CollectionToolbarFilters.tsx +248 -0
- package/src/components/CollectionToolbarFilters/CollectionToolbarFiltersState.ts +62 -0
- package/src/components/CollectionToolbarFilters/FiltersPanelSidePanelEntry.tsx +11 -0
- package/src/components/CollectionToolbarFilters/filterElement.ts +7 -0
- package/src/components/CollectionToolbarFilters/index.ts +2 -0
- package/src/components/CollectionToolbarFilters/useFiltersLayout.ts +60 -0
- package/src/components/CollectionToolbarFilters/useFiltersSyncProps.ts +95 -0
- package/src/components/CollectionToolbars/CollectionToolbars.tsx +197 -0
- package/src/components/CollectionToolbars/CollectionToolbarsProvider.tsx +32 -0
- package/src/components/CollectionToolbars/CollectionToolbarsVisualization.tsx +24 -0
- package/src/components/CollectionToolbars/ToolbarAndTitlebarContainer.tsx +35 -0
- package/src/components/CollectionToolbars/ToolbarState.ts +74 -0
- package/src/components/CollectionToolbars/index.ts +1 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css +11 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +25 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.tsx +80 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonlyState.ts +66 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.tsx +26 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.ts +211 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdownBase.tsx +102 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.tsx +21 -0
- package/src/components/CollectionViewsDropdown/ManageViewPopover.tsx +132 -0
- package/src/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.ts +85 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css +3 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +25 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.tsx +156 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdownListItem.uni.driver.ts +20 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdownModals.tsx +32 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx +59 -0
- package/src/components/CollectionViewsDropdown/index.ts +3 -0
- package/src/components/CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.tsx +143 -0
- package/src/components/CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.uni.driver.ts +70 -0
- package/src/components/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.tsx +166 -0
- package/src/components/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.uni.driver.ts +78 -0
- package/src/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.tsx +79 -0
- package/src/components/CounterBadgeButton/CounterBadgeButton.tsx +31 -0
- package/src/components/CounterBadgeButton/index.ts +1 -0
- package/src/components/CtaProps.ts +24 -0
- package/src/components/CustomColumns/CustomColumns.tsx +29 -0
- package/src/components/CustomColumns/CustomColumnsDragAndDrop.ts +7 -0
- package/src/components/CustomColumns/CustomColumnsFull.tsx +14 -0
- package/src/components/CustomColumns/index.ts +2 -0
- package/src/components/CustomColumnsPanel/ColumnListTableListItem.tsx +170 -0
- package/src/components/CustomColumnsPanel/ColumnsList.tsx +115 -0
- package/src/components/CustomColumnsPanel/CustomColumnsCTAButton.tsx +97 -0
- package/src/components/CustomColumnsPanel/CustomColumnsNoResults.tsx +45 -0
- package/src/components/CustomColumnsPanel/CustomColumnsPanel.tsx +93 -0
- package/src/components/CustomColumnsPanel/CustomColumnsPanel.uni.driver.ts +155 -0
- package/src/components/CustomColumnsPanel/CustomColumnsPanelEntry.tsx +36 -0
- package/src/components/CustomColumnsPanel/CustomColumnsSearch.tsx +33 -0
- package/src/components/CustomColumnsPanel/index.ts +1 -0
- package/src/components/CustomFieldFilters/CheckboxCustomFieldFilter.tsx +30 -0
- package/src/components/CustomFieldFilters/DateCustomFieldFilter.tsx +16 -0
- package/src/components/CustomFieldFilters/DateCustomFieldFilterBase.tsx +21 -0
- package/src/components/CustomFieldFilters/DateTimeCustomFieldFilter.tsx +16 -0
- package/src/components/CustomFieldFilters/buildCustomFieldFilterElement.tsx +45 -0
- package/src/components/CustomFieldFilters/index.ts +1 -0
- package/src/components/CustomFieldModal/CustomFieldForm.tsx +367 -0
- package/src/components/CustomFieldModal/CustomFieldFormPiiFields.tsx +79 -0
- package/src/components/CustomFieldModal/CustomFieldModal.tsx +145 -0
- package/src/components/CustomFieldModal/CustomFieldModal.uni.driver.ts +247 -0
- package/src/components/CustomFieldModal/CustomFieldModalPrimaryButton.tsx +56 -0
- package/src/components/CustomFieldModal/CustomFieldTypeDropdown.tsx +157 -0
- package/src/components/CustomFieldModal/index.ts +2 -0
- package/src/components/CustomFields/CustomFieldsDisabledHint.tsx +31 -0
- package/src/components/CustomFields/CustomFieldsDisabledHint.uni.driver.ts +30 -0
- package/src/components/CustomFields/CustomFieldsDisabledTooltip.tsx +34 -0
- package/src/components/CustomFields/index.ts +2 -0
- package/src/components/CustomFieldsForm/CustomFieldsForm.tsx +73 -0
- package/src/components/CustomFieldsForm/CustomFieldsForm.uni.driver.ts +11 -0
- package/src/components/CustomFieldsForm/index.ts +1 -0
- package/src/components/CustomFieldsFormContext.ts +17 -0
- package/src/components/CustomFieldsPanel/AddCustomFieldCTAButton.tsx +38 -0
- package/src/components/CustomFieldsPanel/ArchiveFieldModal.tsx +34 -0
- package/src/components/CustomFieldsPanel/ArchiveFieldModal.uni.driver.ts +23 -0
- package/src/components/CustomFieldsPanel/CustomColumnsAddCustomFieldCTAButton.tsx +35 -0
- package/src/components/CustomFieldsPanel/CustomColumnsEditCustomFieldCTAButton.tsx +29 -0
- package/src/components/CustomFieldsPanel/CustomFieldItem.tsx +65 -0
- package/src/components/CustomFieldsPanel/CustomFieldPanel.uni.driver.ts +46 -0
- package/src/components/CustomFieldsPanel/CustomFieldPopover.uni.driver.ts +40 -0
- package/src/components/CustomFieldsPanel/CustomFieldsCollectionPanelEntry.tsx +13 -0
- package/src/components/CustomFieldsPanel/CustomFieldsList.tsx +40 -0
- package/src/components/CustomFieldsPanel/CustomFieldsPanel.tsx +68 -0
- package/src/components/CustomFieldsPanel/CustomFieldsPanelEntry.tsx +9 -0
- package/src/components/CustomFieldsPanel/ManageFieldsCTAButton.tsx +55 -0
- package/src/components/CustomFieldsPanel/ManageFieldsPopoverMenu.tsx +121 -0
- package/src/components/CustomFieldsTransforms/transformCustomCheckboxToWQL.tsx +15 -0
- package/src/components/CustomFieldsTransforms/transformCustomDateFilterToWQL.tsx +21 -0
- package/src/components/CustomFieldsTransforms/transformCustomFiltersToWQL.tsx +61 -0
- package/src/components/CustomFieldsTransforms/transformCustomNumberRangeFilterToWQL.tsx +21 -0
- package/src/components/CustomFieldsTransforms/transformSortToWQL.tsx +14 -0
- package/src/components/CustomFieldsWidget/ActionButtons.tsx +43 -0
- package/src/components/CustomFieldsWidget/CustomFieldsAllNamespacesForm.tsx +88 -0
- package/src/components/CustomFieldsWidget/CustomFieldsEmptyStateOverrides.ts +4 -0
- package/src/components/CustomFieldsWidget/CustomFieldsNamespaceForm.tsx +31 -0
- package/src/components/CustomFieldsWidget/CustomFieldsNamespaceSectionForm.tsx +73 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidget.tsx +145 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidget.uni.driver.ts +164 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetContent.tsx +81 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetInline.tsx +63 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.tsx +181 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidget.tsx +88 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidget.uni.driver.ts +168 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetCard.tsx +81 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.tsx +45 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetContent.tsx +28 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetContentLazy.tsx +37 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetInline.tsx +52 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetLazyContent.ts +5 -0
- package/src/components/CustomFieldsWidget/EmptyStateContent.tsx +40 -0
- package/src/components/CustomFieldsWidget/EmptyStateViewContent.tsx +27 -0
- package/src/components/CustomFieldsWidget/ErrorStateContent.tsx +35 -0
- package/src/components/CustomFieldsWidget/OnCustomFieldChange.ts +11 -0
- package/src/components/CustomFieldsWidget/Skeletons.tsx +15 -0
- package/src/components/CustomFieldsWidget/index.ts +3 -0
- package/src/components/CustomFieldsWidget/types.ts +83 -0
- package/src/components/CustomFieldsWidget/useCustomFieldsFormState.ts +32 -0
- package/src/components/CustomFieldsWidget/useCustomFieldsViewWidget.ts +47 -0
- package/src/components/CustomFieldsWidgetContext.ts +17 -0
- package/src/components/DataExtension/CollectionDataExtensionState.ts +215 -0
- package/src/components/DataExtension/DataExtension.ts +77 -0
- package/src/components/DataExtension/index.ts +2 -0
- package/src/components/DataExtension/manageCustomFieldsPageAction.tsx +23 -0
- package/src/components/DateRangeFilter/DateRangeFilter.tsx +149 -0
- package/src/components/DateRangeFilter/index.ts +1 -0
- package/src/components/DateRangePicker/DateRangeFilter.uni.driver.ts +116 -0
- package/src/components/DateRangePicker/DateRangePicker.tsx +154 -0
- package/src/components/DateRangePicker/index.ts +1 -0
- package/src/components/DisabledTooltip/DisabledTooltip.tsx +36 -0
- package/src/components/DisabledTooltip/DisabledTooltipButton.uni.driver.ts +25 -0
- package/src/components/DisabledTooltip/index.ts +1 -0
- package/src/components/DiscardChangesModal.tsx +25 -0
- package/src/components/DragAndDrop/CollectionDragAndDropBI.ts +230 -0
- package/src/components/DragAndDrop/CollectionDragAndDropState.ts +204 -0
- package/src/components/DragAndDrop/DragAndDrop.ts +97 -0
- package/src/components/DragAndDrop/DragAndDrop.uni.driver.ts +223 -0
- package/src/components/DragAndDrop/DragAndDropAnnouncements.tsx +133 -0
- package/src/components/DragAndDrop/DragAndDropCategoriesProps.ts +12 -0
- package/src/components/DragAndDrop/DragAndDropState.ts +587 -0
- package/src/components/DragAndDrop/DragOverlayTestComponent.tsx +48 -0
- package/src/components/DragAndDrop/ReorderModeState.ts +195 -0
- package/src/components/DragAndDrop/TableDragAndDropState.ts +55 -0
- package/src/components/DragAndDrop/hasExceededDistance.ts +22 -0
- package/src/components/DragAndDrop/index.ts +3 -0
- package/src/components/DragAndDrop/initReordeModeState.ts +19 -0
- package/src/components/DragAndDrop/rectIntersection.ts +15 -0
- package/src/components/DragHandle/DragHandle.st.css +27 -0
- package/src/components/DragHandle/DragHandle.st.css.ts +25 -0
- package/src/components/DragHandle/DragHandle.tsx +40 -0
- package/src/components/DropdownFilter/CollectionDropdownFilter.uni.driver.ts +200 -0
- package/src/components/DropdownFilter/selectedItemsLabel.tsx +15 -0
- package/src/components/EditorXLogo.tsx +22 -0
- package/src/components/EmptyState/CollectionEmptyState.tsx +38 -0
- package/src/components/EmptyState/CollectionEmptyState.uni.driver.ts +25 -0
- package/src/components/EmptyState/CollectionNoResultsState.tsx +105 -0
- package/src/components/EmptyState/CollectionNoResultsState.uni.driver.ts +33 -0
- package/src/components/EmptyState/CollectionPremiumEmptyState.tsx +40 -0
- package/src/components/EmptyState/CollectionPremiumEmptyState.uni.driver.ts +27 -0
- package/src/components/EmptyState/EmptyState.uni.driver.ts +24 -0
- package/src/components/EmptyState/EmptyStateBase.tsx +78 -0
- package/src/components/EmptyState/NewItemButton.tsx +25 -0
- package/src/components/EmptyState/PremiumButton.tsx +23 -0
- package/src/components/EntityPage/EntityPage.tsx +82 -0
- package/src/components/EntityPage/EntityPage.uni.driver.ts +55 -0
- package/src/components/EntityPage/EntityPageActionsBar.tsx +24 -0
- package/src/components/EntityPage/EntityPagePlain.st.css +9 -0
- package/src/components/EntityPage/EntityPagePlain.st.css.ts +25 -0
- package/src/components/EntityPage/EntityPagePlain.tsx +34 -0
- package/src/components/EntityPage/EntityPageWrapper.tsx +33 -0
- package/src/components/EntityPage/index.ts +2 -0
- package/src/components/EntityPage/useEntityPageLoadReporting.ts +57 -0
- package/src/components/EntityPageAdditionalContent/EntityPageAdditionalContent.tsx +16 -0
- package/src/components/EntityPageAdditionalContent/index.ts +1 -0
- package/src/components/EntityPageCard/EntityPageCard.tsx +13 -0
- package/src/components/EntityPageCard/index.ts +1 -0
- package/src/components/EntityPageContent/EntityPageContent.tsx +21 -0
- package/src/components/EntityPageContent/index.ts +1 -0
- package/src/components/EntityPageExtensions/EntityPageExtensions.tsx +54 -0
- package/src/components/EntityPageExtensions/index.ts +1 -0
- package/src/components/EntityPageHeader/EntityPageHeader.tsx +17 -0
- package/src/components/EntityPageHeader/index.ts +1 -0
- package/src/components/EntityPageMainContent/EntityPageMainContent.tsx +13 -0
- package/src/components/EntityPageMainContent/index.ts +1 -0
- package/src/components/ErrorBoundary.tsx +21 -0
- package/src/components/ErrorCard/ErrorCard.tsx +71 -0
- package/src/components/ErrorCard/ErrorCard.uni.driver.ts +19 -0
- package/src/components/ErrorCard/index.ts +1 -0
- package/src/components/ErrorState/ErrorState.tsx +89 -0
- package/src/components/ErrorState/LoadingErrorState.tsx +52 -0
- package/src/components/ErrorState/OfflineErrorState.tsx +51 -0
- package/src/components/ErrorState/OfflineIllustration.tsx +63 -0
- package/src/components/ErrorState/ToolbarCollectionErrorState.uni.driver.ts +27 -0
- package/src/components/ErrorState/index.ts +2 -0
- package/src/components/ExpandableSearch.tsx +30 -0
- package/src/components/ExportButton/ExportButton.tsx +107 -0
- package/src/components/ExportButton/ExportButton.uni.driver.ts +18 -0
- package/src/components/ExportButton/ExportButtonModalLayout.tsx +98 -0
- package/src/components/ExportButton/ExportModal.tsx +27 -0
- package/src/components/ExportButton/ExportModal.uni.driver.ts +102 -0
- package/src/components/ExportButton/ExportProps.tsx +115 -0
- package/src/components/ExportButton/ExportStepCancel.tsx +17 -0
- package/src/components/ExportButton/ExportStepConfig.tsx +64 -0
- package/src/components/ExportButton/ExportStepError.tsx +28 -0
- package/src/components/ExportButton/ExportStepProgress.tsx +51 -0
- package/src/components/ExportButton/LinearAbsoluteProgressBar.tsx +50 -0
- package/src/components/ExportButton/RadioGroupSafe.tsx +16 -0
- package/src/components/ExportButton/getExportModalErrorProps.tsx +147 -0
- package/src/components/ExportButton/getExportModalStepProps.tsx +120 -0
- package/src/components/ExportButton/index.ts +3 -0
- package/src/components/ExtendedColumn/ExtendedColumn.tsx +99 -0
- package/src/components/ExtensionMenuItems/ExtensionMenuItems.ts +9 -0
- package/src/components/ExtensionMenuItems/index.ts +1 -0
- package/src/components/Extensions/Extensions.tsx +27 -0
- package/src/components/Extensions/index.ts +1 -0
- package/src/components/Fade/Fade.st.css +11 -0
- package/src/components/Fade/Fade.st.css.ts +25 -0
- package/src/components/Fade/Fade.tsx +38 -0
- package/src/components/Fade/index.ts +1 -0
- package/src/components/FileCard/DownloadButton.tsx +40 -0
- package/src/components/FileCard/FileCard.tsx +37 -0
- package/src/components/FileCard/FileCardList.tsx +32 -0
- package/src/components/FileCard/FileDetails.tsx +51 -0
- package/src/components/FileCard/FilePreview.tsx +66 -0
- package/src/components/FileCard/FilePreviewModal.tsx +69 -0
- package/src/components/FileCard/FileProps.ts +35 -0
- package/src/components/FileCard/Thumbnail.tsx +28 -0
- package/src/components/FileCard/formatBytes.ts +13 -0
- package/src/components/FileCard/icons.tsx +118 -0
- package/src/components/FileCard/resolveFileByMediaType.tsx +86 -0
- package/src/components/FileCard/useDownloadFile.ts +46 -0
- package/src/components/FilterContext.ts +12 -0
- package/src/components/FilterRenderingContext.tsx +13 -0
- package/src/components/FiltersPanel/AddApplyFiltersButton.ts +28 -0
- package/src/components/FiltersPanel/FilterAccordionTitle.tsx +33 -0
- package/src/components/FiltersPanel/FiltersPanel.tsx +118 -0
- package/src/components/FiltersPanel/FiltersPanel.uni.driver.ts +355 -0
- package/src/components/FiltersPanel/FiltersPanelAppliedFiltersSection.tsx +65 -0
- package/src/components/FiltersPanel/FiltersPanelContext.tsx +15 -0
- package/src/components/FiltersPanel/FiltersPanelFooter.tsx +44 -0
- package/src/components/FiltersPanel/FiltersPanelSelectedFiltersSection.tsx +76 -0
- package/src/components/FiltersPanel/FiltersPanelState.ts +36 -0
- package/src/components/FiltersPanel/index.ts +1 -0
- package/src/components/FolderIcon.tsx +23 -0
- package/src/components/FormFieldInput/FormFieldInput.tsx +71 -0
- package/src/components/FormFieldInput/FormFieldInput.uni.driver.ts +6 -0
- package/src/components/FormFieldInput/index.ts +1 -0
- package/src/components/FormPage/FormPage.tsx +24 -0
- package/src/components/FormPage/FormPageActionsBar.tsx +59 -0
- package/src/components/FormPage/FormPageProvider.tsx +37 -0
- package/src/components/FormPage/WidgetsFormProvider.tsx +20 -0
- package/src/components/FormPage/index.ts +4 -0
- package/src/components/FormPageAdditionalContent/FormPageAdditionalContent.tsx +27 -0
- package/src/components/FormPageAdditionalContent/index.ts +1 -0
- package/src/components/FormPageCard/FormPageCard.tsx +49 -0
- package/src/components/FormPageCard/FormPageCard.uni.driver.ts +6 -0
- package/src/components/FormPageCard/index.ts +1 -0
- package/src/components/FormPageContent/FormPageContent.tsx +21 -0
- package/src/components/FormPageContent/FormPageContent.uni.driver.ts +66 -0
- package/src/components/FormPageContent/index.ts +1 -0
- package/src/components/FormPageHeader/FormPageHeader.tsx +41 -0
- package/src/components/FormPageHeader/index.ts +1 -0
- package/src/components/FormPageMainContent/FormPageMainContent.tsx +26 -0
- package/src/components/FormPageMainContent/index.ts +1 -0
- package/src/components/Grid/DebugItemKeyRecycler.tsx +20 -0
- package/src/components/Grid/Grid.scss +3 -0
- package/src/components/Grid/Grid.tsx +150 -0
- package/src/components/Grid/Grid.types.ts +71 -0
- package/src/components/Grid/Grid.uni.driver.ts +488 -0
- package/src/components/Grid/GridCardItem.tsx +151 -0
- package/src/components/Grid/GridContent.tsx +129 -0
- package/src/components/Grid/GridEmptyState.tsx +8 -0
- package/src/components/Grid/GridFolders.tsx +155 -0
- package/src/components/Grid/GridFolders.types.ts +99 -0
- package/src/components/Grid/GridFolders.uni.driver.ts +68 -0
- package/src/components/Grid/GridFoldersFolderSection.tsx +87 -0
- package/src/components/Grid/GridFoldersItemsSection.tsx +69 -0
- package/src/components/Grid/GridFoldersLoadingSection.tsx +32 -0
- package/src/components/Grid/GridFoldersPlaceholderStates.tsx +41 -0
- package/src/components/Grid/GridFoldersSection.tsx +46 -0
- package/src/components/Grid/GridFoldersSection.uni.driver.ts +17 -0
- package/src/components/Grid/GridFoldersSectionsGroup.tsx +87 -0
- package/src/components/Grid/GridItem.tsx +103 -0
- package/src/components/Grid/GridItemBaseProps.ts +51 -0
- package/src/components/Grid/GridLayout.tsx +0 -0
- package/src/components/Grid/GridPlaceholderStates.tsx +43 -0
- package/src/components/Grid/GridSectionHeader.tsx +53 -0
- package/src/components/Grid/GridSingleGridContent.tsx +56 -0
- package/src/components/Grid/RenderItem.ts +11 -0
- package/src/components/Grid/SkeletonGrid.uni.driver.ts +12 -0
- package/src/components/Grid/SupportedCardGalleryItemProps.ts +15 -0
- package/src/components/Grid/index.ts +1 -0
- package/src/components/Grid/renderFolderItem.tsx +86 -0
- package/src/components/Grid/useGridBaseSyncProps.ts +108 -0
- package/src/components/Grid/useGridItemActions.tsx +145 -0
- package/src/components/Grid/useRenderItem.tsx +57 -0
- package/src/components/GridDragAndDropDndKit/DraggableCardOverlay.tsx +46 -0
- package/src/components/GridDragAndDropDndKit/GridDragAndDrop.ts +34 -0
- package/src/components/GridDragAndDropDndKit/GridDragOverlayCardItem.tsx +24 -0
- package/src/components/GridDragAndDropDndKit/GridDraggableCardItem.tsx +142 -0
- package/src/components/GridDragAndDropDndKit/GridSortableContext.tsx +120 -0
- package/src/components/GridDragAndDropDndKit/dndTestEventHandlers.ts +121 -0
- package/src/components/GridDragAndDropDndKit/sortableGridKeyboardCoordinates.ts +159 -0
- package/src/components/GridSections/GridSectionAndRepeater.tsx +49 -0
- package/src/components/GridSections/GridSectionHeader.tsx +40 -0
- package/src/components/GridSections/GridSectionsContent.tsx +84 -0
- package/src/components/GridSections/GridSectionsSectionState.ts +55 -0
- package/src/components/GridSections/GridSectionsSingleSkeletonGrid.tsx +49 -0
- package/src/components/GridSections/GridSectionsState.ts +63 -0
- package/src/components/Heading/Heading.st.css +10 -0
- package/src/components/Heading/Heading.st.css.ts +25 -0
- package/src/components/Heading/Heading.tsx +17 -0
- package/src/components/Heading/index.ts +1 -0
- package/src/components/Illustration/AddItemEmptyState.tsx +38 -0
- package/src/components/Illustration/CollectionPremiumEmptyStateIllustration.tsx +47 -0
- package/src/components/InfiniteScrollLoader/InfiniteScrollLoader.tsx +25 -0
- package/src/components/InfiniteScrollLoader/InfiniteScrollLoaderBase.tsx +32 -0
- package/src/components/InfiniteScrollLoader/InfiniteScrollLoaderBaseProps.ts +6 -0
- package/src/components/InfiniteScrollLoader/SkeletonInfiniteScrollLoader.tsx +33 -0
- package/src/components/InitialLoader/InitialLoader.tsx +28 -0
- package/src/components/InitialLoader/InitialSkeletonLoader.tsx +32 -0
- package/src/components/InitialLoader/index.ts +1 -0
- package/src/components/InitialLoadingConditional.tsx +35 -0
- package/src/components/InputOverflow/InputOverflow.st.css +7 -0
- package/src/components/InputOverflow/InputOverflow.st.css.ts +25 -0
- package/src/components/InputOverflow/InputOverflow.tsx +70 -0
- package/src/components/InputOverflow/index.ts +1 -0
- package/src/components/Kanban/Card.tsx +103 -0
- package/src/components/Kanban/CardActions.tsx +78 -0
- package/src/components/Kanban/CardsSkeleton.tsx +60 -0
- package/src/components/Kanban/Kanban.tsx +113 -0
- package/src/components/Kanban/Kanban.uni.driver.ts +237 -0
- package/src/components/Kanban/KanbanCardActionsHelper.ts +154 -0
- package/src/components/Kanban/KanbanProps.ts +45 -0
- package/src/components/Kanban/Stage.tsx +287 -0
- package/src/components/Kanban/StagesSkeleton.scss +10 -0
- package/src/components/Kanban/StagesSkeleton.tsx +44 -0
- package/src/components/Kanban/index.ts +2 -0
- package/src/components/Kanban/useCardActions.tsx +182 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.ts +229 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.tsx +102 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDragOverlay.tsx +56 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDragOverlayCardItem.tsx +73 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.tsx +122 -0
- package/src/components/ListDragAndDrop/DraggableListItem.tsx +115 -0
- package/src/components/ListDragAndDrop/ListDragAndDrop.ts +9 -0
- package/src/components/ListDragAndDrop/ListDragAndDropContext.tsx +112 -0
- package/src/components/LoadingRow/AILoadingLottiePoster.tsx +29 -0
- package/src/components/LoadingRow/LoadingRow.st.css +47 -0
- package/src/components/LoadingRow/LoadingRow.st.css.ts +25 -0
- package/src/components/LoadingRow/LoadingRowState.ts +63 -0
- package/src/components/LoadingRow/LoadingRowTD.tsx +56 -0
- package/src/components/LoadingRow/aiLoadingLottie.ts +2388 -0
- package/src/components/MagnifyingGlassArt/MagnifyingGlassArt.tsx +136 -0
- package/src/components/MagnifyingGlassArt/index.ts +1 -0
- package/src/components/MaxHeightText/MaxHeightText.st.css +9 -0
- package/src/components/MaxHeightText/MaxHeightText.st.css.ts +25 -0
- package/src/components/MaxHeightText/MaxHeightText.tsx +20 -0
- package/src/components/MaxHeightText/index.ts +1 -0
- package/src/components/MaxLines/MaxLines.st.css +10 -0
- package/src/components/MaxLines/MaxLines.st.css.ts +25 -0
- package/src/components/MaxLines/MaxLines.tsx +79 -0
- package/src/components/MaxLines/index.ts +1 -0
- package/src/components/MaxSelection.tsx +106 -0
- package/src/components/MaybeTooltip.tsx +16 -0
- package/src/components/ModalHeadingBox/ModalHeadingBox.tsx +29 -0
- package/src/components/ModalHeadingBox/index.ts +1 -0
- package/src/components/MoreActions/ExploreAppsModal.tsx +27 -0
- package/src/components/MoreActions/ExploreAppsState.tsx +69 -0
- package/src/components/MoreActions/MoreActions.uni.driver.ts +55 -0
- package/src/components/MoreActions/MoreActionsBase.tsx +170 -0
- package/src/components/MoreActions/MoreActionsElement.ts +8 -0
- package/src/components/MoreActions/MoreActionsIcon.tsx +36 -0
- package/src/components/MoreActions/MoreActionsItem.ts +54 -0
- package/src/components/MoreActions/MoreActionsProps.ts +28 -0
- package/src/components/MoreActions/MoreActionsText.tsx +31 -0
- package/src/components/MoreActions/index.ts +4 -0
- package/src/components/MoreActions/useExploreAppsState.ts +33 -0
- package/src/components/MoreFiltersCTA/MoreFiltersCTA.tsx +34 -0
- package/src/components/MoreFiltersCTA/index.ts +1 -0
- package/src/components/MultiAutoInlineCheckboxFilter/MultiAutoInlineCheckboxFilter.tsx +62 -0
- package/src/components/MultiAutoInlineCheckboxFilter/index.ts +1 -0
- package/src/components/MultiBulkActionToolbar/BulkActionContainer.tsx +12 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css +4 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +25 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.tsx +264 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.uni.driver.ts +73 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbarState.ts +94 -0
- package/src/components/MultiBulkActionToolbar/index.ts +2 -0
- package/src/components/MultiCollectionSupportProvider.ts +17 -0
- package/src/components/MultiInlineCheckbox/MultiInlineCheckbox.tsx +63 -0
- package/src/components/MultiInlineCheckbox/MultiInlineCheckbox.uni.driver.ts +26 -0
- package/src/components/MultiInlineCheckbox/index.ts +1 -0
- package/src/components/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.tsx +46 -0
- package/src/components/MultiInlineCheckboxFilter/index.ts +1 -0
- package/src/components/MultiLevelSorting/MultiLevelSorting.tsx +11 -0
- package/src/components/MultiLevelSorting/MultiLevelSortingCTAButton.tsx +72 -0
- package/src/components/MultiLevelSorting/MultiLevelSortingCTAButton.uni.driver.ts +14 -0
- package/src/components/MultiLevelSorting/index.ts +1 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingColumnSelect.tsx +62 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingList.tsx +74 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingOrderSelect.tsx +76 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanel.tsx +94 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanel.uni.driver.ts +105 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanelEntry.tsx +17 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingTableListItem.tsx +93 -0
- package/src/components/MultiLevelSortingPanel/index.ts +1 -0
- package/src/components/MultiSelectCheckboxFilter/MultiSelectCheckboxFilter.tsx +25 -0
- package/src/components/MultiSelectCheckboxFilter/index.ts +1 -0
- package/src/components/MultiSelectCheckboxFilterBase/MultiSelectCheckboxFilterBase.tsx +76 -0
- package/src/components/MultiSelectCheckboxFilterBase/index.ts +1 -0
- package/src/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.tsx +124 -0
- package/src/components/MultiSelectCollectionFilter/index.ts +1 -0
- package/src/components/MultiSelectFilterBase/MultiSelectFilterBase.tsx +111 -0
- package/src/components/MultiSelectFilterBase/index.ts +1 -0
- package/src/components/NavigationModal/NavigationModal.tsx +29 -0
- package/src/components/NavigationModal/index.ts +1 -0
- package/src/components/NestedTable/ExpandCollapseAllButton.uni.driver.ts +17 -0
- package/src/components/NestedTable/ExpandCollapseButton.uni.driver.ts +19 -0
- package/src/components/NestedTable/MainCellLayout.tsx +62 -0
- package/src/components/NestedTable/NestedTable.tsx +139 -0
- package/src/components/NestedTable/NestedTable.uni.driver.ts +265 -0
- package/src/components/NestedTable/NestedTableActionCell.tsx +44 -0
- package/src/components/NestedTable/NestedTableContent.tsx +41 -0
- package/src/components/NestedTable/NestedTableFlatModeMainCell.tsx +60 -0
- package/src/components/NestedTable/NestedTableFlatModeMainCell.uni.driver.ts +15 -0
- package/src/components/NestedTable/NestedTableMainColumnTitle.tsx +59 -0
- package/src/components/NestedTable/NestedTableParentCell.tsx +111 -0
- package/src/components/NestedTable/NestedTableParentCell.uni.driver.ts +35 -0
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css +4 -0
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +25 -0
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.tsx +58 -0
- package/src/components/NestedTable/NestedTableRow.st.css +33 -0
- package/src/components/NestedTable/NestedTableRow.st.css.ts +25 -0
- package/src/components/NestedTable/NestedTableRow.tsx +116 -0
- package/src/components/NestedTable/NestedTableRow.uni.driver.ts +31 -0
- package/src/components/NestedTable/NestedTableRowPlaceholderStates.tsx +63 -0
- package/src/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.ts +23 -0
- package/src/components/NestedTable/NestedTableWSRTable.tsx +198 -0
- package/src/components/NestedTable/index.ts +1 -0
- package/src/components/NestedTable/useFlatModeColumns.tsx +73 -0
- package/src/components/NestedTable/useModeTableProps.tsx +111 -0
- package/src/components/NestedTable/useNestedModeColumns.tsx +98 -0
- package/src/components/NestedTable/useNestedTableActionCell.tsx +55 -0
- package/src/components/NestedTableDragAndDrop/DepthLimitMessage.tsx +37 -0
- package/src/components/NestedTableDragAndDrop/DragAndDropDisabledMessage.tsx +25 -0
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css +12 -0
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +25 -0
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.tsx +26 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDrop.ts +35 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.tsx +178 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.tsx +61 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.tsx +44 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css +7 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +25 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.tsx +63 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropState.ts +556 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragHandle.tsx +32 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.ts +30 -0
- package/src/components/NestedTableDragAndDrop/NestedTableGhostIndentationCell.tsx +63 -0
- package/src/components/NestedTableDragAndDrop/NestedTableGhostRow.uni.driver.ts +30 -0
- package/src/components/NestedTableDragAndDrop/createUseIsDropDisabled.ts +128 -0
- package/src/components/NestedTableDragAndDrop/validateNestedTableDragAndDropProps.ts +29 -0
- package/src/components/NumberRangeFilter/NumberRangeFilter.tsx +78 -0
- package/src/components/NumberRangeFilter/index.ts +2 -0
- package/src/components/NumberRangeFilter/useNumberRangeFilter.ts +243 -0
- package/src/components/PageErrorState/PageErrorState.tsx +60 -0
- package/src/components/PageErrorState/PageErrorState.uni.driver.ts +16 -0
- package/src/components/PageErrorState/PageErrorStateIllustration.tsx +32 -0
- package/src/components/PageErrorState/index.ts +1 -0
- package/src/components/PageGridInfiniteScrollLoader.tsx +36 -0
- package/src/components/PageInfiniteScrollLoader.tsx +29 -0
- package/src/components/PageSubTitle/PageSubTitle.tsx +72 -0
- package/src/components/PageSubTitle/PageSubTitle.uni.driver.ts +22 -0
- package/src/components/PageSubTitle/index.ts +1 -0
- package/src/components/PageWrapper/InfiniteScrollPage.tsx +39 -0
- package/src/components/PageWrapper/PageWrapper.tsx +10 -0
- package/src/components/PageWrapper/PageWrapper.uni.driver.ts +13 -0
- package/src/components/PageWrapper/PageWrapperBase.tsx +79 -0
- package/src/components/PageWrapper/index.ts +1 -0
- package/src/components/PaginationTable/PaginationTable.tsx +49 -0
- package/src/components/PaginationTable/index.ts +1 -0
- package/src/components/PartialFunctionComponent.ts +6 -0
- package/src/components/Picker/Picker.tsx +124 -0
- package/src/components/Picker/Picker.uni.driver.ts +108 -0
- package/src/components/Picker/index.ts +1 -0
- package/src/components/PickerContent/PickerContent.st.css +3 -0
- package/src/components/PickerContent/PickerContent.st.css.ts +25 -0
- package/src/components/PickerContent/PickerContent.tsx +73 -0
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css +14 -0
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css.ts +25 -0
- package/src/components/PickerContent/PickerContentAdditionalStep.tsx +222 -0
- package/src/components/PickerContent/PickerContentBaseWrapped.tsx +29 -0
- package/src/components/PickerContent/PickerContentItemsSelection.tsx +330 -0
- package/src/components/PickerContent/PickerContentProvider.tsx +52 -0
- package/src/components/PickerContent/PickerContentV2.tsx +38 -0
- package/src/components/PickerContent/PickerContentWrapped.tsx +133 -0
- package/src/components/PickerContent/SelectAllCheckbox.tsx +57 -0
- package/src/components/PickerContent/index.ts +2 -0
- package/src/components/PickerEmptyState/PickerEmptyState.tsx +107 -0
- package/src/components/PickerEmptyState/PickerEmptyStateContainer.tsx +59 -0
- package/src/components/PickerEmptyState/index.ts +1 -0
- package/src/components/PickerListContent/PickerListContent.tsx +126 -0
- package/src/components/PickerListContent/index.ts +1 -0
- package/src/components/PickerListItemProps.ts +15 -0
- package/src/components/PickerModal/PickerModal.tsx +133 -0
- package/src/components/PickerModal/PickerModal.uni.driver.ts +216 -0
- package/src/components/PickerModal/PickerModalLayout.uni.driver.ts +118 -0
- package/src/components/PickerModal/index.ts +1 -0
- package/src/components/PickerModalOpenButton/PickerModalOpenButton.tsx +40 -0
- package/src/components/PickerModalOpenButton/index.ts +1 -0
- package/src/components/PickerModalSplash/PickerModalSplash.tsx +95 -0
- package/src/components/PickerModalSplash/index.ts +1 -0
- package/src/components/PickerSelectorListContent/PickerSelectorListContent.tsx +136 -0
- package/src/components/PickerSelectorListContent/index.ts +1 -0
- package/src/components/PickerStandalone/PickerStandalone.tsx +183 -0
- package/src/components/PickerStandalone/PickerStandalone.uni.driver.ts +216 -0
- package/src/components/PickerStandalone/PickerStandaloneTableListItem.tsx +95 -0
- package/src/components/PickerStandalone/index.ts +1 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayout.tsx +72 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayout.uni.driver.ts +40 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutFooter.tsx +55 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutHeader.tsx +177 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutTitles.tsx +95 -0
- package/src/components/PickerStandaloneLayout/index.ts +1 -0
- package/src/components/PickerSubheader/PickerSubheader.tsx +41 -0
- package/src/components/PickerSubheader/PickerSubheader.uni.driver.ts +10 -0
- package/src/components/PickerSubheader/index.ts +1 -0
- package/src/components/PickerTableListItem/PickerTableListItem.st.css +3 -0
- package/src/components/PickerTableListItem/PickerTableListItem.st.css.ts +25 -0
- package/src/components/PickerTableListItem/PickerTableListItem.tsx +103 -0
- package/src/components/PickerTableListItem/PickerTableListItem.uni.driver.ts +15 -0
- package/src/components/PickerTableListItem/index.ts +1 -0
- package/src/components/PlaceholderStates/PlaceholderStatesBase.tsx +105 -0
- package/src/components/PrimaryActions/PrimaryActions.tsx +78 -0
- package/src/components/PrimaryActions/index.ts +1 -0
- package/src/components/PrimaryPageButton/PrimaryPageButton.tsx +65 -0
- package/src/components/PrimaryPageButton/index.ts +1 -0
- package/src/components/QuerySearch.tsx +35 -0
- package/src/components/RadioGroupFilter/RadioGroupFilter.tsx +104 -0
- package/src/components/RadioGroupFilter/RadioGroupFilter.uni.driver.ts +27 -0
- package/src/components/RadioGroupFilter/index.ts +1 -0
- package/src/components/RequestId/RequestId.tsx +150 -0
- package/src/components/RequestId/RequestId.uni.driver.ts +31 -0
- package/src/components/RequestId/assets/locale/messages_cs.json +5 -0
- package/src/components/RequestId/assets/locale/messages_da.json +5 -0
- package/src/components/RequestId/assets/locale/messages_de.json +5 -0
- package/src/components/RequestId/assets/locale/messages_en.json +5 -0
- package/src/components/RequestId/assets/locale/messages_es.json +5 -0
- package/src/components/RequestId/assets/locale/messages_fr.json +5 -0
- package/src/components/RequestId/assets/locale/messages_hi.json +5 -0
- package/src/components/RequestId/assets/locale/messages_id.json +5 -0
- package/src/components/RequestId/assets/locale/messages_it.json +5 -0
- package/src/components/RequestId/assets/locale/messages_ja.json +5 -0
- package/src/components/RequestId/assets/locale/messages_ko.json +5 -0
- package/src/components/RequestId/assets/locale/messages_nl.json +5 -0
- package/src/components/RequestId/assets/locale/messages_no.json +5 -0
- package/src/components/RequestId/assets/locale/messages_pl.json +5 -0
- package/src/components/RequestId/assets/locale/messages_pt.json +5 -0
- package/src/components/RequestId/assets/locale/messages_ru.json +5 -0
- package/src/components/RequestId/assets/locale/messages_sv.json +5 -0
- package/src/components/RequestId/assets/locale/messages_th.json +5 -0
- package/src/components/RequestId/assets/locale/messages_tr.json +5 -0
- package/src/components/RequestId/assets/locale/messages_uk.json +5 -0
- package/src/components/RequestId/assets/locale/messages_vi.json +5 -0
- package/src/components/RequestId/assets/locale/messages_zh.json +5 -0
- package/src/components/RequestId/index.ts +1 -0
- package/src/components/Responsive/HorizontalAvailableSpaceBox.tsx +32 -0
- package/src/components/Responsive/HorizontalOverflowBox.tsx +26 -0
- package/src/components/ResponsiveButton/ResponsiveButton.tsx +72 -0
- package/src/components/ResponsiveButton/ResponsiveButton.uni.driver.ts +24 -0
- package/src/components/Rotate/Rotate.tsx +45 -0
- package/src/components/Rotate/index.ts +1 -0
- package/src/components/Router/PatternsReactRoute.tsx +9 -0
- package/src/components/Router/PatternsReactRouter.tsx +65 -0
- package/src/components/Router/createPlatformizedNavigator.tsx +27 -0
- package/src/components/Router/index.ts +3 -0
- package/src/components/Router/types.ts +21 -0
- package/src/components/Router/usePatternsNavigate.ts +20 -0
- package/src/components/ScrollableContent/ScrollableContent.st.css +15 -0
- package/src/components/ScrollableContent/ScrollableContent.st.css.ts +25 -0
- package/src/components/ScrollableContent/ScrollableContent.tsx +31 -0
- package/src/components/ScrollableContent/index.ts +1 -0
- package/src/components/SecondaryActions/SecondaryActions.tsx +77 -0
- package/src/components/SecondaryActions/index.ts +1 -0
- package/src/components/SettingsPage/SettingsPage.tsx +56 -0
- package/src/components/SettingsPage/SettingsPage.uni.driver.ts +16 -0
- package/src/components/SettingsPage/SettingsPageActionsBar.tsx +23 -0
- package/src/components/SettingsPage/SettingsPagePlain.tsx +26 -0
- package/src/components/SettingsPage/SettingsPageWrapper.tsx +35 -0
- package/src/components/SettingsPageAdditionalContent/SettingsPageAdditionalContent.tsx +16 -0
- package/src/components/SettingsPageAdditionalContent/index.ts +1 -0
- package/src/components/SettingsPageCard/SettingsPageCard.tsx +13 -0
- package/src/components/SettingsPageCard/index.ts +1 -0
- package/src/components/SettingsPageContent/SettingsPageContent.tsx +21 -0
- package/src/components/SettingsPageContent/index.ts +1 -0
- package/src/components/SettingsPageHeader/SettingsPageHeader.tsx +17 -0
- package/src/components/SettingsPageHeader/index.ts +1 -0
- package/src/components/SettingsPageMainContent/SettingsPageMainContent.tsx +14 -0
- package/src/components/SettingsPageMainContent/index.ts +1 -0
- package/src/components/SidePanelModal/SidePanelModal.tsx +109 -0
- package/src/components/SidePanelModal/SidePanelModalItem.tsx +34 -0
- package/src/components/SidePanelModal/index.ts +1 -0
- package/src/components/SingleSelectFilter/SingleSelectFilter.tsx +138 -0
- package/src/components/SingleSelectFilter/index.ts +1 -0
- package/src/components/SingleSelectFilterBase/SingleSelectFilterBase.tsx +83 -0
- package/src/components/SingleSelectFilterBase/index.ts +1 -0
- package/src/components/SkeletonCard/SkeletonCard.st.css +3 -0
- package/src/components/SkeletonCard/SkeletonCard.st.css.ts +25 -0
- package/src/components/SkeletonCard/SkeletonCard.tsx +42 -0
- package/src/components/SkeletonCard/SkeletonCard.uni.driver.ts +13 -0
- package/src/components/SkeletonCard/index.ts +1 -0
- package/src/components/SkeletonGrid/SkeletonCardByImagePlacement.tsx +22 -0
- package/src/components/SkeletonGrid/SkeletonGrid.tsx +51 -0
- package/src/components/SkeletonGrid/SkeletonSideImageCard.tsx +27 -0
- package/src/components/SkeletonGrid/SkeletonTopImageCard.tsx +48 -0
- package/src/components/SkeletonGrid/index.ts +1 -0
- package/src/components/SlidingModal/SlidingModal.st.css +11 -0
- package/src/components/SlidingModal/SlidingModal.st.css.ts +25 -0
- package/src/components/SlidingModal/SlidingModal.tsx +134 -0
- package/src/components/SlidingModal/SlidingModal.uni.driver.ts +11 -0
- package/src/components/SlidingModal/index.ts +1 -0
- package/src/components/Splash/Splash.tsx +44 -0
- package/src/components/Splash/Splash.uni.driver.ts +24 -0
- package/src/components/Splash/index.ts +1 -0
- package/src/components/SummaryBar/SummaryBar.tsx +151 -0
- package/src/components/SummaryBar/SummaryBar.uni.driver.ts +52 -0
- package/src/components/SummaryBar/index.ts +1 -0
- package/src/components/TabTotal/TabTotalComponentType.ts +4 -0
- package/src/components/TabTotal/TabTotalCounterBadge.tsx +33 -0
- package/src/components/TabTotal/TabTotalDropdownOption.tsx +35 -0
- package/src/components/TabTotal/TabTotalParens.tsx +38 -0
- package/src/components/TabTotal/index.ts +3 -0
- package/src/components/TabTotal/useFilterValueTotalState.ts +47 -0
- package/src/components/Table/Table.tsx +52 -0
- package/src/components/Table/Table.uni.driver.ts +582 -0
- package/src/components/Table/TableBase.tsx +88 -0
- package/src/components/Table/TableBaseRow.tsx +39 -0
- package/src/components/Table/TableCompat.tsx +37 -0
- package/src/components/Table/TableV2.tsx +16 -0
- package/src/components/Table/TableVirtual.tsx +76 -0
- package/src/components/Table/getVirtualTableProps.ts +29 -0
- package/src/components/Table/index.ts +3 -0
- package/src/components/Table/useTableBaseRow.tsx +31 -0
- package/src/components/Table/useTableSyncProps.ts +66 -0
- package/src/components/TableDragAndDrop.ts +40 -0
- package/src/components/TableDragAndDropContext/TableDragAndDropContext.tsx +132 -0
- package/src/components/TableDragAndDropContext/createUseIsDropDisabled.ts +15 -0
- package/src/components/TableDragAndDropContext/index.ts +4 -0
- package/src/components/TableFolders/TableFolders.tsx +89 -0
- package/src/components/TableFolders/TableFolders.types.tsx +6 -0
- package/src/components/TableFolders/TableFolders.uni.driver.ts +74 -0
- package/src/components/TableFolders/TableFoldersContent.tsx +328 -0
- package/src/components/TableFolders/TableFoldersInfiniteScroll.tsx +42 -0
- package/src/components/TableFolders/TableFoldersLayout.tsx +42 -0
- package/src/components/TableFolders/index.ts +1 -0
- package/src/components/TableFolders/useOrFolderActionCellColumn.ts +78 -0
- package/src/components/TableFolders/useTableFoldersSyncProps.ts +45 -0
- package/src/components/TableGridSwitch/TableGridSwitch.tsx +110 -0
- package/src/components/TableGridSwitch/TableGridSwitch.uni.driver.ts +45 -0
- package/src/components/TableGridSwitch/TableGridSwitchDragAndDrop.ts +7 -0
- package/src/components/TableGridSwitchButton/TableGridSwitchButton.tsx +49 -0
- package/src/components/TableGridSwitchButton/TableGridSwitchButton.uni.driver.ts +17 -0
- package/src/components/TableGridSwitchButton/index.ts +1 -0
- package/src/components/TableGridSwitchFolders/TableGridSwitchFolders.tsx +84 -0
- package/src/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.ts +50 -0
- package/src/components/TablePlaceholderStates/TablePlaceholderStates.tsx +45 -0
- package/src/components/TableSections/TableSectionRow.tsx +84 -0
- package/src/components/TableSections/TableSections.tsx +61 -0
- package/src/components/TableSections/TableSectionsState.ts +128 -0
- package/src/components/TableSections/index.ts +5 -0
- package/src/components/TableSections/useTableSectionRow.tsx +35 -0
- package/src/components/TableSkeleton/TableSkeleton.tsx +106 -0
- package/src/components/TableTopNotification/ScrollAwayPushStrategy.ts +50 -0
- package/src/components/TableTopNotification/ScrollAwayScheduleStrategy.ts +81 -0
- package/src/components/TableTopNotification/TableTopNotification.tsx +127 -0
- package/src/components/TableTopNotification/TableTopNotification.uni.driver.ts +18 -0
- package/src/components/TableTopNotification/TableTopNotificationState.ts +75 -0
- package/src/components/TableTopNotification/TopNotificationRenderProp.ts +9 -0
- package/src/components/TableTopNotification/index.ts +2 -0
- package/src/components/TabsFilter/TabTitle.tsx +64 -0
- package/src/components/TabsFilter/TabsDefault.tsx +58 -0
- package/src/components/TabsFilter/TabsDropdown.tsx +106 -0
- package/src/components/TabsFilter/TabsFilter.st.css +3 -0
- package/src/components/TabsFilter/TabsFilter.st.css.ts +25 -0
- package/src/components/TabsFilter/TabsFilter.tsx +225 -0
- package/src/components/TabsFilter/TabsFilter.uni.driver.ts +86 -0
- package/src/components/TabsFilter/TabsFilterState.ts +93 -0
- package/src/components/TabsFilter/TabsResponsiveState.ts +122 -0
- package/src/components/TabsFilter/index.ts +1 -0
- package/src/components/TabsFilter/types.ts +13 -0
- package/src/components/Tags/BulkAssignTagsPopover/AsyncJobProgressModal.tsx +52 -0
- package/src/components/Tags/BulkAssignTagsPopover/AsyncJobProgressModal.uni.driver.ts +31 -0
- package/src/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.tsx +133 -0
- package/src/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.uni.driver.ts +133 -0
- package/src/components/Tags/BulkAssignTagsPopover/CreateTagButton.tsx +40 -0
- package/src/components/Tags/BulkAssignTagsPopover/EmptyState.tsx +85 -0
- package/src/components/Tags/BulkAssignTagsPopover/Footer.tsx +67 -0
- package/src/components/Tags/BulkAssignTagsPopover/index.ts +1 -0
- package/src/components/Tags/ManageTags/CollectionManageTagsModal.tsx +13 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/List/TagListItemEditable.tsx +62 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/List/TagListItemView.tsx +94 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/List/TagsListItem.tsx +27 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css +3 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.ts +25 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.tsx +212 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.ts +118 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsNotification.tsx +80 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/NewTagItemEditable.tsx +31 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/TagItemEditable.tsx +81 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/index.ts +2 -0
- package/src/components/Tags/ManageTags/index.ts +1 -0
- package/src/components/Tags/Tags.tsx +66 -0
- package/src/components/Tags/TagsBulkAssignUtils.ts +59 -0
- package/src/components/Tags/TagsFolders.tsx +12 -0
- package/src/components/Tags/index.ts +3 -0
- package/src/components/Tags/manageTagsPageAction.tsx +23 -0
- package/src/components/Tags/types.ts +10 -0
- package/src/components/Tags/useTagsBulkAssignFoldersUtils.ts +45 -0
- package/src/components/Tags/useTagsBulkAssignUtils.ts +31 -0
- package/src/components/TagsAssignButton/TagsAssignButton.tsx +54 -0
- package/src/components/TagsAssignButton/TagsAssignButton.uni.driver.ts +14 -0
- package/src/components/TagsAssignButton/index.ts +1 -0
- package/src/components/TagsColumn/TagsColumn.tsx +32 -0
- package/src/components/TagsColumn/TagsColumnContent.tsx +36 -0
- package/src/components/TagsColumn/index.ts +1 -0
- package/src/components/TagsFilter/TagsFilter.tsx +61 -0
- package/src/components/TagsFilter/index.ts +2 -0
- package/src/components/TagsFilter/tagsFilterBuilder.tsx +53 -0
- package/src/components/TagsWidget/TagsWidget.tsx +212 -0
- package/src/components/TagsWidget/TagsWidget.uni.driver.ts +113 -0
- package/src/components/TagsWidget/TagsWidgetContent.tsx +232 -0
- package/src/components/TagsWidget/index.ts +1 -0
- package/src/components/TagsWidgetContext.ts +14 -0
- package/src/components/TextBreadcrumbs.tsx +35 -0
- package/src/components/TextWidthLoader.tsx +18 -0
- package/src/components/ToolbarCollection/ToolbarCollection.tsx +390 -0
- package/src/components/ToolbarCollection/checkConflictingToolbarProps.ts +53 -0
- package/src/components/ToolbarCollection/index.ts +1 -0
- package/src/components/ToolbarCollection/useToolbarCollectionSyncProps.ts +192 -0
- package/src/components/ToolbarCollectionContentAutoSizer/ContainerRectDebug.tsx +51 -0
- package/src/components/ToolbarCollectionContentAutoSizer/ToolbarCollectionContentAutoSizer.tsx +67 -0
- package/src/components/ToolbarCollectionContentAutoSizer/index.ts +1 -0
- package/src/components/ToolbarCollectionContext.ts +18 -0
- package/src/components/ToolbarItem/ToolbarItem.st.css +3 -0
- package/src/components/ToolbarItem/ToolbarItem.st.css.ts +25 -0
- package/src/components/ToolbarItem/ToolbarItem.tsx +11 -0
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css +13 -0
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css.ts +25 -0
- package/src/components/ToolbarItemBox/ToolbarItemBox.tsx +38 -0
- package/src/components/ToolbarItemBox/index.ts +1 -0
- package/src/components/ToolbarTitle/ToolbarTitle.tsx +102 -0
- package/src/components/ToolbarTitle/index.ts +1 -0
- package/src/components/Trans/Trans.tsx +11 -0
- package/src/components/Trans/index.tsx +1 -0
- package/src/components/VirtualGridRepeater/ForceRenderIndexes.tsx +76 -0
- package/src/components/VirtualGridRepeater/GridForceRenderIndexes.tsx +37 -0
- package/src/components/VirtualGridRepeater/GridState.ts +43 -0
- package/src/components/VirtualGridRepeater/RenderItem.ts +12 -0
- package/src/components/VirtualGridRepeater/TableForceRenderIndexes.tsx +54 -0
- package/src/components/VirtualGridRepeater/VirtualGridItem.tsx +56 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeater.tsx +22 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeaterBase.tsx +125 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeaterContext.ts +15 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeaterState.ts +164 -0
- package/src/components/VirtualGridRepeater/VirtualGridStateContext.ts +16 -0
- package/src/components/VirtualGridRepeater/VirtualInternalMemoItem.tsx +66 -0
- package/src/components/VirtualGridRepeater/VirtualItem.tsx +6 -0
- package/src/components/VirtualGridRepeater/VirtualTableRepeater.tsx +62 -0
- package/src/components/VirtualGridRepeater/VirtualTableRow.tsx +35 -0
- package/src/components/VirtualGridRepeater/VirtualTableRowMutated.tsx +75 -0
- package/src/components/VirtualGridRepeater/VirtualTableRowMutatedState.ts +120 -0
- package/src/components/VisuallyHidden.tsx +15 -0
- package/src/components/WixLogo.tsx +24 -0
- package/src/components/WixPatternsModalsContainer.tsx +91 -0
- package/src/components/WixPatternsTestProvider.tsx +36 -0
- package/src/components/assertComponentType.ts +77 -0
- package/src/components/collectionStateProps.ts +8 -0
- package/src/components/common.st.css +9 -0
- package/src/components/common.st.css.ts +25 -0
- package/src/components/createChildSlot.ts +29 -0
- package/src/components/deleteSecondaryAction/deleteSecondaryAction.tsx +48 -0
- package/src/components/deleteSecondaryAction/index.ts +1 -0
- package/src/components/index.ts +13 -0
- package/src/components/isValidElement.ts +15 -0
- package/src/components/uniDriverFactory.ts +3 -0
- package/src/components/unidriver.ts +5 -0
- package/src/components/useCollectionReachBottom.tsx +73 -0
- package/src/components/usePageButtonBiParams.ts +29 -0
- package/src/components/useWidgetPageStatus.tsx +17 -0
- package/src/container/index.ts +1 -0
- package/src/container/useCairoTranslations.ts +7 -0
- package/src/createContext.ts +33 -0
- package/src/dashboard/WixPatternsDashboardBaseProvider.tsx +124 -0
- package/src/dashboard/WixPatternsDashboardProvider.tsx +44 -0
- package/src/dashboard/WixPatternsDashboardProviderInternal.tsx +28 -0
- package/src/dashboard/WixPatternsDashboardTestProvider.tsx +74 -0
- package/src/dashboard/WixPatternsProvider.tsx +13 -0
- package/src/dashboard/WixPatternsProviderInternal.tsx +12 -0
- package/src/dashboard/getInstanceJwtData.ts +17 -0
- package/src/dashboard/useEnvironment.ts +15 -0
- package/src/docs-types.ts +35 -0
- package/src/essentials/WixPatternsEssentialsProvider.tsx +31 -0
- package/src/essentials/buildWixPatternsEssentials.ts +49 -0
- package/src/essentials/usePickerModal.ts +67 -0
- package/src/essentials/warmUpPickerStandalone.ts +11 -0
- package/src/essentials/withWixPatternsProvider.tsx +14 -0
- package/src/exports/alpha.ts +1 -0
- package/src/exports/bm.ts +5 -0
- package/src/exports/components.ts +1 -0
- package/src/exports/core.ts +1 -0
- package/src/exports/essentials.ts +10 -0
- package/src/exports/form.ts +8 -0
- package/src/exports/giza.ts +6 -0
- package/src/exports/history.ts +1 -0
- package/src/exports/mobx.ts +1 -0
- package/src/exports/nextjs.ts +1 -0
- package/src/exports/page.ts +3 -0
- package/src/exports/provider/index.ts +3 -0
- package/src/exports/provider/internal.ts +3 -0
- package/src/exports/router/index.ts +1 -0
- package/src/exports/testkit/backend.ts +1 -0
- package/src/exports/testkit/bm.ts +1 -0
- package/src/exports/testkit/enzyme.ts +1 -0
- package/src/exports/testkit/index.ts +12 -0
- package/src/exports/testkit/internal.ts +1 -0
- package/src/exports/testkit/jsdom.ts +1 -0
- package/src/exports/testkit/playwright.ts +1 -0
- package/src/exports/testkit/puppeteer.ts +1 -0
- package/src/exports/testkit/unidriver.ts +7 -0
- package/src/exports/utils/index.ts +3 -0
- package/src/exports/utils/react.ts +1 -0
- package/src/exports/version.ts +1 -0
- package/src/external-types.d.ts +8 -0
- package/src/external-types.tests.d.ts +8 -0
- package/src/fields/BaseInput/BaseInput.ts +16 -0
- package/src/fields/BaseInput/index.ts +1 -0
- package/src/fields/Checkbox/Checkbox.tsx +30 -0
- package/src/fields/Checkbox/index.ts +1 -0
- package/src/fields/DateInput/DateInput.tsx +74 -0
- package/src/fields/DateInput/index.ts +1 -0
- package/src/fields/DateTime/DateTime.tsx +170 -0
- package/src/fields/DateTime/index.ts +1 -0
- package/src/fields/Dropdown/Dropdown.tsx +36 -0
- package/src/fields/Dropdown/index.ts +1 -0
- package/src/fields/Field/Field.tsx +16 -0
- package/src/fields/Field/Field.uni.driver.ts +247 -0
- package/src/fields/Field/index.ts +1 -0
- package/src/fields/LongText/LongText.tsx +37 -0
- package/src/fields/LongText/index.ts +1 -0
- package/src/fields/Number/Number.tsx +26 -0
- package/src/fields/Number/index.ts +1 -0
- package/src/fields/ShortText/ShortText.tsx +37 -0
- package/src/fields/ShortText/index.ts +1 -0
- package/src/fields/Url/Url.tsx +72 -0
- package/src/fields/Url/index.ts +1 -0
- package/src/fields/dataHooks.ts +4 -0
- package/src/fields/index.ts +8 -0
- package/src/fields/useTextInput.ts +34 -0
- package/src/giza/WixPatternsGizaProvider.tsx +75 -0
- package/src/giza/buildWixPatternsEssentials.ts +61 -0
- package/src/giza/index.ts +2 -0
- package/src/giza/usePickerModal.ts +70 -0
- package/src/hooks/CollectionFoldersBaseConfig.ts +13 -0
- package/src/hooks/customModalContent.ts +8 -0
- package/src/hooks/index.ts +23 -0
- package/src/hooks/listItem.ts +18 -0
- package/src/hooks/useAmbassador/index.ts +2 -0
- package/src/hooks/useAmbassador/useAmbassadorGrid.ts +25 -0
- package/src/hooks/useAmbassador/useAmbassadorTable.ts +26 -0
- package/src/hooks/useAutoScrollOnLoad.tsx +35 -0
- package/src/hooks/useBuildAccordionItems.tsx +108 -0
- package/src/hooks/useBuildOption.ts +96 -0
- package/src/hooks/useCollectionComponentBaseParams.ts +11 -0
- package/src/hooks/useCollectionFilterInitialFetchTiming.ts +40 -0
- package/src/hooks/useCollectionOptions.tsx +81 -0
- package/src/hooks/useCollectionPageChild/index.ts +1 -0
- package/src/hooks/useCollectionPageChild/useCollectionPageChild.tsx +38 -0
- package/src/hooks/useColumnsSyncProps.ts +93 -0
- package/src/hooks/useCreateNestedOptimisticActions.ts +31 -0
- package/src/hooks/useCreateWSRColumnBase.ts +56 -0
- package/src/hooks/useCustomFieldsWidget.ts +53 -0
- package/src/hooks/useDateRangeFilterState.ts +31 -0
- package/src/hooks/useDropdownPlaceholder.ts +62 -0
- package/src/hooks/useDropdownSelectFilterState.ts +29 -0
- package/src/hooks/useEmptyStateTexts.ts +40 -0
- package/src/hooks/useEntity.ts +9 -0
- package/src/hooks/useEntityPage.ts +30 -0
- package/src/hooks/useEntityPageChild/index.ts +1 -0
- package/src/hooks/useEntityPageChild/useEntityPageChild.tsx +41 -0
- package/src/hooks/useExtensionMenuItems.tsx +30 -0
- package/src/hooks/useFilterCollection/index.ts +1 -0
- package/src/hooks/useFilterCollection/useFilterCollection.ts +87 -0
- package/src/hooks/useFilterCollectionStates.tsx +123 -0
- package/src/hooks/useFixMissingContactsViews.ts +95 -0
- package/src/hooks/useGridCollection.ts +32 -0
- package/src/hooks/useGridFolders.ts +49 -0
- package/src/hooks/useIsMobile.ts +10 -0
- package/src/hooks/useIsScrollTop.ts +20 -0
- package/src/hooks/useItemsSelectionFilter/index.ts +5 -0
- package/src/hooks/useItemsSelectionFilter/useItemsSelectionFilter.ts +160 -0
- package/src/hooks/useKanban.ts +83 -0
- package/src/hooks/useMigrateOrdersViews.ts +97 -0
- package/src/hooks/useNestedTable.ts +93 -0
- package/src/hooks/useOptionalCachedState.ts +93 -0
- package/src/hooks/usePageHeader.ts +27 -0
- package/src/hooks/usePageHeaderNew.ts +26 -0
- package/src/hooks/usePickerContent/index.ts +2 -0
- package/src/hooks/usePickerContent/usePickerContent.spec.tsx +84 -0
- package/src/hooks/usePickerContent/usePickerContent.ts +94 -0
- package/src/hooks/usePickerContent/usePickerContentState.ts +64 -0
- package/src/hooks/usePickerModal/PickerModalState.ts +491 -0
- package/src/hooks/usePickerModal/UsePickerModalParamsBase.ts +127 -0
- package/src/hooks/usePickerModal/index.ts +8 -0
- package/src/hooks/usePickerModal/usePickerModal.ts +32 -0
- package/src/hooks/usePickerModal/usePickerModalState.ts +93 -0
- package/src/hooks/usePickerStandalone/index.ts +1 -0
- package/src/hooks/usePickerStandalone/usePickerStandalone.spec.tsx +139 -0
- package/src/hooks/usePickerStandalone/usePickerStandalone.ts +117 -0
- package/src/hooks/usePromiseState.ts +70 -0
- package/src/hooks/useRafRender.ts +17 -0
- package/src/hooks/useSettings.ts +9 -0
- package/src/hooks/useSettingsPage.ts +26 -0
- package/src/hooks/useSettingsPageChild/index.ts +1 -0
- package/src/hooks/useSettingsPageChild/useSettingsPageChild.tsx +41 -0
- package/src/hooks/useStaticListFilterCollection.ts +59 -0
- package/src/hooks/useSyncCollectionOnEntityCreate.ts +45 -0
- package/src/hooks/useSyncCollectionOnEntityReturn.ts +154 -0
- package/src/hooks/useSyncCollectionOnEntityUpdate.ts +69 -0
- package/src/hooks/useSyncTotal.ts +28 -0
- package/src/hooks/useTableCollection.ts +43 -0
- package/src/hooks/useTableFolders.ts +49 -0
- package/src/hooks/useTableGridSwitchCollection.ts +40 -0
- package/src/hooks/useTableGridSwitchFolders.ts +51 -0
- package/src/hooks/useTableRoundedCornersEnabled.ts +6 -0
- package/src/hooks/useTagsWidget.ts +67 -0
- package/src/hooks/useViews.ts +49 -0
- package/src/hooks/useWidgetForm.ts +11 -0
- package/src/index.ts +241 -0
- package/src/minimalRequiredWdsRuntimeCheck.ts +16 -0
- package/src/model/filterProps.ts +85 -0
- package/src/model/index.ts +3 -0
- package/src/model/tableColumn.ts +150 -0
- package/src/model/view.ts +138 -0
- package/src/nextjs/styleableDecorator.ts +55 -0
- package/src/providers/CairoProvider.tsx +43 -0
- package/src/providers/CollectionPageContext.ts +6 -0
- package/src/providers/DropdownTranslationProvider.tsx +64 -0
- package/src/providers/EntityPageContext.ts +19 -0
- package/src/providers/FilterToolbarState.ts +21 -0
- package/src/providers/FilterTranslationProvider.tsx +36 -0
- package/src/providers/FormPageContext.ts +5 -0
- package/src/providers/PageContext.ts +5 -0
- package/src/providers/ScrollableContentContext.ts +20 -0
- package/src/providers/SettingsPageContext.ts +19 -0
- package/src/providers/TableContext.ts +15 -0
- package/src/providers/WidgetsFormContext.ts +5 -0
- package/src/providers/WixPatternsBaseProvider.tsx +44 -0
- package/src/providers/WixPatternsMinimalEssentials.ts +11 -0
- package/src/providers/WixPatternsRouterProvider.tsx +28 -0
- package/src/providers/index.ts +12 -0
- package/src/reach-bottom-listener/index.ts +3 -0
- package/src/reach-bottom-listener/reachBottomListener.ts +151 -0
- package/src/reach-bottom-listener/scrollPosition.ts +39 -0
- package/src/reach-bottom-listener/scrollableWindow.ts +35 -0
- package/src/services/index.ts +1 -0
- package/src/services/viewsService.ts +233 -0
- package/src/services/withCairoViewsTestFlag.ts +17 -0
- package/src/sledPage.ts +5 -0
- package/src/state/AdditionalStepState.ts +30 -0
- package/src/state/BulkActionToolbarState.ts +298 -0
- package/src/state/CollectionFilterState.ts +25 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css +15 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +25 -0
- package/src/state/CollectionPage/index.ts +2 -0
- package/src/state/CollectionPage/pushFactoryIfNotExistsOrAddToTopOfGroup.ts +52 -0
- package/src/state/CollectionPage/useCollectionPageContent.tsx +7 -0
- package/src/state/CollectionPage/useCollectionPageHeader.tsx +105 -0
- package/src/state/CollectionReachBottom.ts +61 -0
- package/src/state/CollectionViewsQueryCompareHelper.ts +224 -0
- package/src/state/CollectionViewsState.ts +445 -0
- package/src/state/CollectionViewsStateBIReporter.ts +291 -0
- package/src/state/CustomColumnsDragAndDropState.ts +145 -0
- package/src/state/CustomColumnsHistoryState.ts +92 -0
- package/src/state/CustomColumnsState.ts +500 -0
- package/src/state/CustomFields/CustomFieldsAllNamespacesFormState.ts +133 -0
- package/src/state/CustomFields/CustomFieldsFormState.ts +203 -0
- package/src/state/CustomFields/CustomFieldsPanelState.ts +80 -0
- package/src/state/CustomFields/CustomFieldsWidgetState.ts +324 -0
- package/src/state/CustomFields/index.ts +3 -0
- package/src/state/DateRangeFilterState.ts +44 -0
- package/src/state/DateRangePickerState.ts +378 -0
- package/src/state/DragAndDrop/createOptimisticActionsOrderByModeReaction.ts +21 -0
- package/src/state/DropdownCollectionFilterState.ts +103 -0
- package/src/state/DropdownSelectFilterState.ts +46 -0
- package/src/state/DropdownSelectState.ts +202 -0
- package/src/state/EntityPage/EntityPageState.ts +407 -0
- package/src/state/EntityPage/EntityPageStateBIReporter.ts +138 -0
- package/src/state/EntityPage/index.ts +3 -0
- package/src/state/EntityPage/useEntityPageContent.tsx +20 -0
- package/src/state/EntityPage/useEntityPageHeader.tsx +41 -0
- package/src/state/ExtensionMenuItemsState.ts +70 -0
- package/src/state/ExtensionsState.ts +54 -0
- package/src/state/FeaturesAvailabilityBIParams.ts +26 -0
- package/src/state/FilterValueTotalState.ts +150 -0
- package/src/state/FoldersAndItemsCollectionsState.ts +164 -0
- package/src/state/FormPage/FormFooter.tsx +30 -0
- package/src/state/FormPage/FormPageHeader.st.css +15 -0
- package/src/state/FormPage/FormPageHeader.st.css.ts +25 -0
- package/src/state/FormPage/index.ts +2 -0
- package/src/state/FormPage/useFormPageContent.tsx +121 -0
- package/src/state/FormPage/useFormPageHeader.tsx +84 -0
- package/src/state/GridBaseState.ts +333 -0
- package/src/state/GridFoldersBIReporter.ts +46 -0
- package/src/state/GridFoldersState.ts +222 -0
- package/src/state/GridParentState.ts +8 -0
- package/src/state/GridState.ts +86 -0
- package/src/state/ICollectionComponentState.ts +5 -0
- package/src/state/IndeterminateMapState.ts +84 -0
- package/src/state/IntersectionObserverState.ts +47 -0
- package/src/state/ItemActionsState.tsx +93 -0
- package/src/state/KanbanState/KanbanDragEndEvent.ts +5 -0
- package/src/state/KanbanState/KanbanStageState.ts +201 -0
- package/src/state/KanbanState/KanbanState.ts +674 -0
- package/src/state/KanbanState/KanbanStateBIReporter.ts +316 -0
- package/src/state/KanbanState/index.ts +2 -0
- package/src/state/MultiLevelSortingDragAndDrop.ts +146 -0
- package/src/state/MultiLevelSortingState.ts +345 -0
- package/src/state/NestedTableState/NestedCollectionFetchAllCollectionState.ts +235 -0
- package/src/state/NestedTableState/NestedCollectionFetchAllState.ts +138 -0
- package/src/state/NestedTableState/NestedCollectionLevelDescriptor.ts +38 -0
- package/src/state/NestedTableState/NestedCollectionNodeState.ts +181 -0
- package/src/state/NestedTableState/NestedCollectionState.ts +81 -0
- package/src/state/NestedTableState/NestedTableColumn.ts +8 -0
- package/src/state/NestedTableState/NestedTableFlatModeSectionState.ts +116 -0
- package/src/state/NestedTableState/NestedTableFlatModeState.ts +251 -0
- package/src/state/NestedTableState/NestedTableFlatModeStateBIReporter.ts +46 -0
- package/src/state/NestedTableState/NestedTableLeafNodeState.ts +54 -0
- package/src/state/NestedTableState/NestedTableLevelDescriptor.ts +54 -0
- package/src/state/NestedTableState/NestedTableNestedModeState.ts +284 -0
- package/src/state/NestedTableState/NestedTableNestedModeStateBIReporter.ts +26 -0
- package/src/state/NestedTableState/NestedTableNodeState.ts +569 -0
- package/src/state/NestedTableState/NestedTableNodeStateBIReporter.ts +59 -0
- package/src/state/NestedTableState/NestedTableNodeStateOptimisticActions.ts +88 -0
- package/src/state/NestedTableState/NestedTableNodeStatePublicAPI.ts +58 -0
- package/src/state/NestedTableState/NestedTableState.ts +370 -0
- package/src/state/NestedTableState/createNestedOptimisticActions.ts +56 -0
- package/src/state/NestedTableState/createNestedTableLevel.ts +24 -0
- package/src/state/NestedTableState/createParentIdPredicate.ts +30 -0
- package/src/state/NestedTableState/getNodeOrLeaf.ts +19 -0
- package/src/state/NestedTableState/index.ts +9 -0
- package/src/state/NestedTableState/types.ts +11 -0
- package/src/state/PickerContentState.ts +392 -0
- package/src/state/PickerContentStateBI.ts +70 -0
- package/src/state/PickerStandaloneState.ts +381 -0
- package/src/state/RectState.ts +140 -0
- package/src/state/ResizeObserverState.ts +33 -0
- package/src/state/Responsive/HorizontalOverflowState.ts +85 -0
- package/src/state/Responsive/HorizontalSpaceAvailableState.ts +86 -0
- package/src/state/ResponsiveColumnsState.ts +68 -0
- package/src/state/ScrollState.ts +68 -0
- package/src/state/SelectFieldState.ts +65 -0
- package/src/state/SettingsPage/SettingsPageState.ts +276 -0
- package/src/state/SettingsPage/SettingsPageStateBIReporter.ts +134 -0
- package/src/state/SettingsPage/useSettingsPageContent.tsx +20 -0
- package/src/state/SettingsPage/useSettingsPageHeader.tsx +31 -0
- package/src/state/SidePanelsState.ts +103 -0
- package/src/state/TableFoldersState.ts +239 -0
- package/src/state/TableGridSwitchFoldersState.ts +107 -0
- package/src/state/TableGridSwitchState.ts +94 -0
- package/src/state/TableState.ts +228 -0
- package/src/state/TableVirtualState.ts +181 -0
- package/src/state/TagsBulkAssignAsyncState.ts +409 -0
- package/src/state/TagsBulkAssignButtonState.ts +28 -0
- package/src/state/TagsBulkAssignPopoverState.ts +454 -0
- package/src/state/TagsBulkAssignSyncState.ts +196 -0
- package/src/state/TagsCollectionState.ts +143 -0
- package/src/state/TagsModalState.ts +475 -0
- package/src/state/Toolbar/ToolbarResponsivePriorityState.ts +110 -0
- package/src/state/Toolbar/ToolbarResponsiveState.ts +131 -0
- package/src/state/ToolbarBIReporter.ts +238 -0
- package/src/state/ToolbarCollectionState.ts +900 -0
- package/src/state/ViewTypeState.ts +70 -0
- package/src/state/ViewsHistoryState.ts +63 -0
- package/src/state/ViewsLocalSearchBIReporter.ts +132 -0
- package/src/state/ViewsLocalSearchState.ts +146 -0
- package/src/state/ViewsState.ts +699 -0
- package/src/state/WixPatternsRouterState.ts +51 -0
- package/src/state/getToolbarCollectionFeaturesInitializers.ts +48 -0
- package/src/state/gridSizePresets.ts +111 -0
- package/src/state/index.ts +34 -0
- package/src/state/indexOfCompareFn.ts +25 -0
- package/src/state/initCustomColumns.ts +22 -0
- package/src/state/initTabTotal.ts +32 -0
- package/src/state/presetsToCategories.ts +25 -0
- package/src/state/setViewsState.ts +37 -0
- package/src/state/simplifyColumns.ts +35 -0
- package/src/state/simplifyExtendedColumns.tsx +95 -0
- package/src/state/toolbarFeatureInitializer.ts +9 -0
- package/src/state/warmUpPickerStandalone.ts +22 -0
- package/src/stylable-esm-runtime.ts +90 -0
- package/src/styles.global.css +1 -0
- package/src/test-types.d.ts +1 -0
- package/src/test-utils/AppsMocks.ts +56 -0
- package/src/test-utils/AsyncJobMocks.ts +85 -0
- package/src/test-utils/CairoTestApp.tsx +139 -0
- package/src/test-utils/CairoTestAppRouter.tsx +21 -0
- package/src/test-utils/DataExtensionMocks.ts +84 -0
- package/src/test-utils/ExportMocks.ts +46 -0
- package/src/test-utils/ExtensionWidget.tsx +53 -0
- package/src/test-utils/HttpErrorMocks.tsx +29 -0
- package/src/test-utils/ItemsSelectionMocks.ts +51 -0
- package/src/test-utils/MultiSelectCheckboxStaticListFilter.tsx +27 -0
- package/src/test-utils/OrdersMocks.ts +98 -0
- package/src/test-utils/Router.tsx +58 -0
- package/src/test-utils/SettingsModalLayout.tsx +146 -0
- package/src/test-utils/SingleSelectFilter.tsx +23 -0
- package/src/test-utils/TagsMocks.ts +273 -0
- package/src/test-utils/ToastState.ts +29 -0
- package/src/test-utils/WixPatternsEssentialsTestProvider.tsx +124 -0
- package/src/test-utils/columns.ts +17 -0
- package/src/test-utils/createPromise.ts +22 -0
- package/src/test-utils/createSitesBackend.ts +36 -0
- package/src/test-utils/createStatusesBackend.ts +33 -0
- package/src/test-utils/dataExtensionServiceMocks.ts +82 -0
- package/src/test-utils/flush.ts +41 -0
- package/src/test-utils/getUniDriverStyle.ts +10 -0
- package/src/test-utils/index.ts +14 -0
- package/src/test-utils/site.ts +6 -0
- package/src/test-utils/status.ts +4 -0
- package/src/test-utils/statusFilters.ts +3 -0
- package/src/test-utils/tagsServiceMocks.ts +68 -0
- package/src/test-utils/toast.ts +13 -0
- package/src/test-utils/viewsServiceTestkit.ts +176 -0
- package/src/testkit/backend.ts +1 -0
- package/src/testkit/enzyme.ts +78 -0
- package/src/testkit/jsdom.ts +104 -0
- package/src/testkit/playwright.ts +92 -0
- package/src/testkit/puppeteer.ts +95 -0
- package/src/unidriver/baseUniDriverFactory.ts +11 -0
- package/src/unidriver/index.ts +1 -0
- package/src/useSelector.ts +9 -0
- package/src/utils/assertProp.ts +13 -0
- package/src/utils/datesUtil.ts +71 -0
- package/src/utils/getCollectionComponentUniqueId.ts +7 -0
- package/src/utils/isErrorResponse.ts +10 -0
- package/src/utils/matchMediaQuery.ts +30 -0
- package/src/utils/minimalRequiredRuntimeCheck.ts +22 -0
- package/src/utils/replaceUrlCurlySegments.ts +53 -0
- package/src/utils/useWindowFlipPopoverProps.ts +32 -0
- package/src/utils/validateEncodedUrl.ts +22 -0
- package/src/utils/wordStartsWithMatch.ts +7 -0
- package/src/version.ts +1 -0
- package/src/wix-design-system-version.ts +1 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import React, { memo, SVGAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export const MagnifyingGlassArt = memo(function MagnifyingGlassArt(
|
|
4
|
+
props: SVGAttributes<HTMLOrSVGElement>,
|
|
5
|
+
) {
|
|
6
|
+
return (
|
|
7
|
+
<svg width="120" height="120" viewBox="0 0 120 120" {...props}>
|
|
8
|
+
<g fill="none" fillRule="evenodd">
|
|
9
|
+
<g>
|
|
10
|
+
<path
|
|
11
|
+
fill="#F0F4F7"
|
|
12
|
+
d="M0 0H1188V900H0z"
|
|
13
|
+
transform="translate(-648 -441)"
|
|
14
|
+
/>
|
|
15
|
+
<path
|
|
16
|
+
fill="#F0F4F7"
|
|
17
|
+
d="M0 0H1188V900H0z"
|
|
18
|
+
transform="translate(-648 -441)"
|
|
19
|
+
/>
|
|
20
|
+
<g transform="translate(-648 -441) translate(276 156)">
|
|
21
|
+
<path d="M0 8c0-4.418 3.576-8 7.994-8h849.012C861.421 0 865 3.574 865 8v679c0 4.418-3.576 8-7.994 8H7.994C3.579 695 0 691.426 0 687V8z" />
|
|
22
|
+
</g>
|
|
23
|
+
<g>
|
|
24
|
+
<g>
|
|
25
|
+
<g fill="#FFF">
|
|
26
|
+
<path
|
|
27
|
+
d="M0 7.992C0 3.578 3.585 0 7.995 0h851.01C863.42 0 867 3.58 867 7.992v398.016c0 4.414-3.585 7.992-7.995 7.992H7.995C3.58 414 0 410.42 0 406.008V7.992z"
|
|
28
|
+
transform="translate(-648 -441) translate(274 319)"
|
|
29
|
+
/>
|
|
30
|
+
</g>
|
|
31
|
+
<g>
|
|
32
|
+
<path
|
|
33
|
+
fill="#FFF"
|
|
34
|
+
d="M0 0H867V336H0z"
|
|
35
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78)"
|
|
36
|
+
/>
|
|
37
|
+
<g>
|
|
38
|
+
<g>
|
|
39
|
+
<path
|
|
40
|
+
fill="#FFD527"
|
|
41
|
+
d="M113.867 62.832L28.793 62.773 29.846 0.561 114.92 0.62z"
|
|
42
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
43
|
+
/>
|
|
44
|
+
<path
|
|
45
|
+
fill="#FFF"
|
|
46
|
+
d="M37.914 16.15l39.265.027-1.337 38.882-39.265-.027 1.337-38.882zm69.853 26.618c1.438 0 2.604 1.167 2.604 2.605s-1.166 2.605-2.604 2.605h-10.42c-1.438 0-2.604-1.167-2.604-2.605s1.166-2.605 2.604-2.605h10.42z"
|
|
47
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
48
|
+
/>
|
|
49
|
+
<path
|
|
50
|
+
fill="#116DFF"
|
|
51
|
+
d="M61.85 27.142l-8.606-.003c-5.916-.002-10.794 4.77-10.895 10.656l-.13 7.53 30.03.01.129-7.529c.102-5.888-4.612-10.662-10.528-10.664"
|
|
52
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
53
|
+
/>
|
|
54
|
+
<path
|
|
55
|
+
fill="#FFB8AA"
|
|
56
|
+
d="M60.91 19.38c1.755 1.775 1.705 4.655-.11 6.43-1.815 1.775-4.708 1.774-6.462-.002"
|
|
57
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
fill="#192C55"
|
|
61
|
+
d="M56.006 18.37c.396-.976.498-2.116.194-3.312-.525-2.07-2.276-3.738-4.333-4.127-3.681-.698-6.592 2.496-5.652 6.2.525 2.07 2.275 3.739 4.333 4.129 1.028.194 1.992.077 2.834-.262-.637 1.618-.33 3.508.956 4.81l6.572-6.43c-1.307-1.323-3.248-1.658-4.904-1.008"
|
|
62
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
63
|
+
/>
|
|
64
|
+
<path
|
|
65
|
+
fill="#CCE1FF"
|
|
66
|
+
d="M85.288 98.245L1.042 98.304 0 35.481 84.246 35.422z"
|
|
67
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
68
|
+
/>
|
|
69
|
+
<path
|
|
70
|
+
fill="#FFF"
|
|
71
|
+
d="M46.494 51.132l1.226 35.993-38.883.027L7.612 51.16l38.882-.028zm28.06 26.802c1.438 0 2.605 1.167 2.605 2.605s-1.167 2.605-2.605 2.605h-10.42c-1.438 0-2.604-1.167-2.604-2.605s1.166-2.605 2.604-2.605h10.42z"
|
|
72
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
73
|
+
/>
|
|
74
|
+
<path
|
|
75
|
+
fill="#192C55"
|
|
76
|
+
d="M35.48 83.144c0 1.439 1.166 2.605 2.605 2.605h3.582c.899 0 1.628.729 1.628 1.628 0 .899-.729 1.628-1.628 1.628H30.271v-5.861h5.209zm-10.42 0v5.86H13.664c-.898 0-1.628-.728-1.628-1.627 0-.852.655-1.551 1.488-1.622l.14-.006h3.582c1.384 0 2.515-1.078 2.6-2.44l.005-.165h5.209z"
|
|
77
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
78
|
+
/>
|
|
79
|
+
<path
|
|
80
|
+
fill="#FAAD4D"
|
|
81
|
+
d="M43.53 83.178L12.347 83.189 11.801 51.201 42.984 51.19z"
|
|
82
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
83
|
+
/>
|
|
84
|
+
<path
|
|
85
|
+
fill="#FFB8AA"
|
|
86
|
+
d="M58.531 23.512c-.519.507-1.345.507-1.846 0-.502-.508-.487-1.33.032-1.838.518-.507 1.344-.507 1.846.001.501.507.487 1.33-.032 1.837"
|
|
87
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
88
|
+
/>
|
|
89
|
+
<path
|
|
90
|
+
fill="#192C55"
|
|
91
|
+
d="M27.892 51.186l.546 31.988-1 .017-.546-31.988 1-.017zM77.16 66.69v1H61.53v-1h15.63zm-4.56-3.907v1H61.53v-1H72.6zm4.56-3.907v1H61.53v-1h15.63zM5.136 38.73c.541 0 .978.437.978.977 0 .539-.437.977-.978.977-.539 0-.976-.438-.976-.977 0-.54.437-.977.976-.977zm3.908 0c.54 0 .977.437.977.977 0 .539-.437.977-.977.977s-.977-.438-.977-.977c0-.54.437-.977.977-.977zm3.908 0c.54 0 .977.437.977.977 0 .539-.437.977-.977.977s-.977-.438-.977-.977c0-.54.437-.977.977-.977zm97.42-7.208v1h-15.63v-1h15.63zm-4.56-3.907v1h-11.07v-1h11.07zm4.56-3.907v1h-15.63v-1h15.63zM2.246 1.1C7.48-1.15 13.91.131 17.88 4.222c1.184 1.223 2.261 3.083 2.05 4.851.336.193.664.398.987.616 1.4.952 2.134 1.951 2.24 3.056.117 1.257-.605 2.317-1.647 3.074.831.522 1.582 1.166 2.21 1.915.305.364.675.858.83 1.461.368 1.46-.692 2.873-1.873 3.462-1.008.504-2.125.591-3.162.613l-.557.008-.01-1 .548-.008c.928-.02 1.913-.098 2.733-.508.847-.42 1.581-1.404 1.351-2.32-.105-.407-.389-.783-.624-1.064-.674-.803-1.503-1.47-2.423-1.978-.323.157-.66.29-.999.393-1.648.51-3.42.671-5.134.466-.38-.045-.772-.129-1.065-.44-.208-.22-.32-.52-.31-.844.012-.377.183-.758.458-1.018.42-.397.974-.52 1.458-.589 1.892-.267 3.856.075 5.578.904.982-.58 1.736-1.44 1.641-2.432-.075-.79-.666-1.55-1.807-2.324-.225-.154-.458-.302-.692-.442-.05.112-.106.222-.167.332-.906 1.6-3.03 2.356-5.695 2.024-1.832-.228-3.596-.767-5.244-1.602-.506-.258-1.05-.605-1.25-1.22-.135-.42-.082-.845.156-1.227.462-.744 1.484-1.137 2.22-1.248 3.145-.472 6.42.045 9.28 1.428-.02-1.31-.878-2.692-1.8-3.643-3.55-3.662-9.48-4.908-14.22-3.022l-.302.124-.393-.919zm13.98 14.177c-.383 0-.765.026-1.145.08-.328.046-.696.121-.91.326-.084.08-.143.207-.147.32 0 .04.004.094.036.127.068.073.25.107.376.125l.081.01c1.446.173 2.936.063 4.341-.317l.415-.122c-.974-.358-2.012-.549-3.047-.549zm-4.24-7.316c-.722 0-1.442.053-2.156.161-.659.1-1.298.43-1.52.785-.082.133-.097.254-.053.393.086.266.427.471.753.635 1.541.783 3.195 1.288 4.912 1.502l.32.033c1.086.092 3.453.082 4.383-1.558.06-.107.111-.216.155-.326-2.096-1.064-4.444-1.625-6.794-1.625zm22.491-4.234c.54 0 .977.437.977.977s-.437.977-.977.977c-.539 0-.976-.437-.976-.977s.437-.977.976-.977zm3.907 0c.541 0 .978.437.978.977s-.437.977-.978.977c-.539 0-.976-.437-.976-.977s.437-.977.976-.977zm3.907 0c.542 0 .979.437.979.977s-.438.977-.979.977c-.538 0-.975-.437-.975-.977s.436-.977.975-.977z"
|
|
92
|
+
transform="translate(-648 -441) translate(274 319) translate(0 78) translate(373.5 42) translate(2.54 11.022)"
|
|
93
|
+
/>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</g>
|
|
97
|
+
</g>
|
|
98
|
+
<path
|
|
99
|
+
fill="#FFF"
|
|
100
|
+
d="M330 101H540V242H330z"
|
|
101
|
+
transform="translate(-648 -441) translate(274 319)"
|
|
102
|
+
/>
|
|
103
|
+
<g>
|
|
104
|
+
<path
|
|
105
|
+
d="M0 0H120V120H0z"
|
|
106
|
+
transform="translate(-648 -441) translate(274 319) translate(374 122)"
|
|
107
|
+
/>
|
|
108
|
+
<g
|
|
109
|
+
fillRule="nonzero"
|
|
110
|
+
transform="translate(-648 -441) translate(274 319) translate(374 122) translate(0 21)"
|
|
111
|
+
>
|
|
112
|
+
<circle cx="31.1" cy="54.8" r="7.9" fill="#28BF9A" />
|
|
113
|
+
<path
|
|
114
|
+
fill="#116DFF"
|
|
115
|
+
d="M106.1 59.5L118.6 72c1.2 1.2 1.2 3.1 0 4.2-1.2 1.2-3.1 1.2-4.2 0l-12.5-12.5c-1.2-1.2-1.2-3.1 0-4.2 1.1-1.1 3-1.1 4.2 0zM25.9.8c6.6 0 12 5.4 12 12s-5.4 12-12 12-12-5.4-12-12 5.4-12 12-12z"
|
|
116
|
+
/>
|
|
117
|
+
<path
|
|
118
|
+
fill="#C2E2FF"
|
|
119
|
+
d="M78.3 13.8c7.7 2.8 13.4 9.2 15.2 17 2.4.6 4.6 1.7 6.6 3.3.1.5.1 1 .2 1.4.4 4.4-.3 8.9-2 13C95.6 54.8 90.8 60 84.7 63c-.4.2-.9.4-1.3.6-2.6-1-4.8-2.5-6.6-4.4-9.7 2.8-20.2-.9-26-9.2-6-8.5-5.8-19.9.5-28.2s17.2-11.5 27-8zM16 38.3l2.8 2.8-2.8 2.7-2.7-2.8 2.7-2.7zM6.1 27.6L7.5 32l4.4 1.4-4.4 1.4-1.4 4.4-1.4-4.4-4.4-1.4L4.7 32l1.4-4.4zm100-25.3l1.7 5.2 5.2 1.7-5.2 1.7-1.7 5.2-1.7-5.2-5.2-1.7 5.2-1.7 1.7-5.2z"
|
|
120
|
+
/>
|
|
121
|
+
<path
|
|
122
|
+
fill="#FFF"
|
|
123
|
+
d="M73.1 33.5c1.7 0 3.2.6 4.3 1.6l-.2.2c.3-.4.7-.7 1.1-1 .5 0 .9.1 1.3.2.5.1 1 .3 1.4.5 2.3.9 4.1 2.7 5.1 5 .9 2.3.9 4.8 0 7.1-2 4.7-7.4 7-12.1 5h-.1l-1.2-.6v-.1l-.1-.4c-.1-.4-.2-.9-.2-1.3-.1-1.1-.2-2.2-.1-3.3-3.2-.4-5.7-3.1-5.7-6.4 0-3.6 2.9-6.5 6.5-6.5zm-16.3-8c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4zm21.5-11.7c0 4.4-3.6 8-8 8s-8-3.6-8-8c5.1-1.8 10.8-1.8 16 0z"
|
|
124
|
+
/>
|
|
125
|
+
<path
|
|
126
|
+
fill="#192C55"
|
|
127
|
+
d="M78.3 34.3c6.3-5.3 15.4-5.4 21.8-.3.4.3.7.6 1.1.9l.3.3c3.2 3.2 5 7.6 5 12.1s-1.8 8.9-5 12.2c-4.7 4.8-11.8 6.3-18.1 4-5.3-2-9.2-6.3-10.6-11.7l-.1-.4v-.1l-.1-.3c-.1-.4-.2-.9-.2-1.3-.3-2.6-.1-5.2.7-7.7l.2-.5v-.1c.3-.9.7-1.8 1.2-2.6.8-1.3 1.7-2.5 2.8-3.6.3-.2.6-.6 1-.9zm21.9 1.2c-5.8-5.2-14.4-5.6-20.6-.9-.6.4-1.1.9-1.7 1.4-1.5 1.5-2.8 3.4-3.6 5.4l-.2.4h-.5l.5.2c-.9 2.4-1.2 5-.8 7.6 0 .3.1.5.1.8l.1.4.1.3c.1.4.2.7.3 1 1.6 5.2 5.6 9.3 10.8 10.8 5.6 1.7 11.6.3 15.8-3.7l.3-.3c3-3 4.8-7.1 4.8-11.4 0-4.3-1.7-8.4-4.8-11.4-.2-.3-.4-.5-.6-.6zM47.5 9.6c.4 2.9-12.3 5.7-19.8 6.9l-.8.1c-4.8.7-9.7 1.2-14.5 1.2h-.6c-3.7 0-6.4-.5-6.6-1.9-.2-1.4 2.7-3 8.7-4.6l.3 1-.7.2c-6.1 1.7-7.4 3-7.3 3.3.1 1 7.3 1.8 20.6-.2l1-.2c12.4-2 18.7-4.7 18.7-5.7 0-.3-1.8-1.3-9.6-.9v-1h.8c6.2-.3 9.5.3 9.8 1.8z"
|
|
128
|
+
/>
|
|
129
|
+
</g>
|
|
130
|
+
</g>
|
|
131
|
+
</g>
|
|
132
|
+
</g>
|
|
133
|
+
</g>
|
|
134
|
+
</svg>
|
|
135
|
+
);
|
|
136
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MagnifyingGlassArt';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _namespace_ = "MaxHeightText1147702688";
|
|
9
|
+
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
|
+
|
|
11
|
+
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
12
|
+
export var style = _style_;
|
|
13
|
+
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
|
+
|
|
15
|
+
export var namespace = _namespace_;
|
|
16
|
+
export var classes = {"root":"MaxHeightText1147702688__root"};
|
|
17
|
+
export var keyframes = {};
|
|
18
|
+
export var layers = {};
|
|
19
|
+
export var containers = {};
|
|
20
|
+
export var stVars = {};
|
|
21
|
+
export var vars = {};
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Text, TextProps } from '@wix/design-system';
|
|
2
|
+
import { st, classes } from './MaxHeightText.st.css.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
export function MaxHeightText(props: TextProps & { lineHeight?: number }) {
|
|
6
|
+
const { lineHeight, className, ...rest } = props;
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<Text
|
|
10
|
+
{...rest}
|
|
11
|
+
className={st(
|
|
12
|
+
classes.root,
|
|
13
|
+
{
|
|
14
|
+
height24: lineHeight === 24,
|
|
15
|
+
},
|
|
16
|
+
className,
|
|
17
|
+
)}
|
|
18
|
+
/>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MaxHeightText';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _namespace_ = "MaxLines4115686776";
|
|
9
|
+
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
|
+
|
|
11
|
+
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
12
|
+
export var style = _style_;
|
|
13
|
+
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
|
+
|
|
15
|
+
export var namespace = _namespace_;
|
|
16
|
+
export var classes = {"root":"MaxLines4115686776__root"};
|
|
17
|
+
export var keyframes = {};
|
|
18
|
+
export var layers = {};
|
|
19
|
+
export var containers = {};
|
|
20
|
+
export var stVars = {};
|
|
21
|
+
export var vars = {};
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React, {
|
|
2
|
+
CSSProperties,
|
|
3
|
+
HTMLAttributes,
|
|
4
|
+
ReactElement,
|
|
5
|
+
useMemo,
|
|
6
|
+
} from 'react';
|
|
7
|
+
import classNames from 'classnames';
|
|
8
|
+
import { st, classes } from './MaxLines.st.css.js';
|
|
9
|
+
|
|
10
|
+
export type BaseComponentProps = Pick<
|
|
11
|
+
HTMLAttributes<Element>,
|
|
12
|
+
'className' | 'style'
|
|
13
|
+
>;
|
|
14
|
+
|
|
15
|
+
export interface MaxLinesProps<P extends BaseComponentProps>
|
|
16
|
+
extends BaseComponentProps {
|
|
17
|
+
maxLines?: number;
|
|
18
|
+
webkitLineClamp?: boolean;
|
|
19
|
+
lineHeight?: number;
|
|
20
|
+
wordBreak: CSSProperties['wordBreak'];
|
|
21
|
+
textOverflow?: CSSProperties['textOverflow'];
|
|
22
|
+
children:
|
|
23
|
+
| ReactElement<P>
|
|
24
|
+
| ((props: BaseComponentProps) => React.ReactElement<P>);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export function MaxLines<P extends BaseComponentProps>(
|
|
28
|
+
props: MaxLinesProps<P>,
|
|
29
|
+
) {
|
|
30
|
+
const {
|
|
31
|
+
children,
|
|
32
|
+
maxLines = 1,
|
|
33
|
+
lineHeight,
|
|
34
|
+
webkitLineClamp,
|
|
35
|
+
textOverflow,
|
|
36
|
+
wordBreak,
|
|
37
|
+
...rest
|
|
38
|
+
} = props;
|
|
39
|
+
|
|
40
|
+
const style = useMemo<CSSProperties>(
|
|
41
|
+
() => ({
|
|
42
|
+
...(webkitLineClamp && { WebkitLineClamp: maxLines }),
|
|
43
|
+
...(textOverflow && { textOverflow }),
|
|
44
|
+
...(lineHeight && {
|
|
45
|
+
lineHeight: `${lineHeight}px`,
|
|
46
|
+
maxHeight: `${lineHeight * maxLines}px`,
|
|
47
|
+
}),
|
|
48
|
+
wordBreak,
|
|
49
|
+
...rest.style,
|
|
50
|
+
}),
|
|
51
|
+
[rest.style, maxLines, webkitLineClamp, lineHeight],
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
const className = st(
|
|
55
|
+
classes.root,
|
|
56
|
+
{
|
|
57
|
+
clamp: webkitLineClamp,
|
|
58
|
+
},
|
|
59
|
+
rest.className,
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
let child;
|
|
63
|
+
if (typeof children === 'function') {
|
|
64
|
+
child = children({ className, style });
|
|
65
|
+
} else {
|
|
66
|
+
const { type: WrappedComponent, props: wrappedProps } = children;
|
|
67
|
+
|
|
68
|
+
child = (
|
|
69
|
+
<WrappedComponent
|
|
70
|
+
{...rest}
|
|
71
|
+
{...wrappedProps}
|
|
72
|
+
className={classNames(className, wrappedProps.className)}
|
|
73
|
+
style={{ ...style, ...wrappedProps.style }}
|
|
74
|
+
/>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return child;
|
|
79
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MaxLines';
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { CollectionState, Translate } from '@wix/bex-core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Text } from '@wix/design-system';
|
|
4
|
+
|
|
5
|
+
export type MultipleSelection = boolean | number;
|
|
6
|
+
|
|
7
|
+
export type ReplaceMultiple<T> = Omit<T, 'multiple'> & T extends {
|
|
8
|
+
multiple?: any;
|
|
9
|
+
}
|
|
10
|
+
? { multiple?: MultipleSelection }
|
|
11
|
+
: {
|
|
12
|
+
multiple: MultipleSelection;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export function fromMultipleSelectionToBoolean(
|
|
16
|
+
multipleSelection?: MultipleSelection,
|
|
17
|
+
): boolean {
|
|
18
|
+
if (multipleSelection === undefined) {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
if (typeof multipleSelection === 'boolean') {
|
|
22
|
+
return multipleSelection;
|
|
23
|
+
}
|
|
24
|
+
return multipleSelection > 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function maxSelectedItemsFromMultipleSelection(
|
|
28
|
+
multipleSelection?: MultipleSelection,
|
|
29
|
+
): number {
|
|
30
|
+
if (typeof multipleSelection === 'undefined') {
|
|
31
|
+
return 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (typeof multipleSelection === 'boolean') {
|
|
35
|
+
return multipleSelection ? Infinity : 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return multipleSelection;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function showMaxSelectionLabel(multipleSelection?: MultipleSelection) {
|
|
42
|
+
const maxSelectedItems =
|
|
43
|
+
maxSelectedItemsFromMultipleSelection(multipleSelection);
|
|
44
|
+
return !(maxSelectedItems === 1 || maxSelectedItems === Infinity);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type MaxSelectionLabelProps = {
|
|
48
|
+
dataHook?: string;
|
|
49
|
+
multiple?: MultipleSelection;
|
|
50
|
+
t: Translate;
|
|
51
|
+
customLabel?(_: { num: number; max: number }): string;
|
|
52
|
+
selectedCount: number;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export function BulkSelectionMaxSelectionLabel(props: MaxSelectionLabelProps) {
|
|
56
|
+
const { selectedCount, t, multiple, dataHook } = props;
|
|
57
|
+
|
|
58
|
+
const maxSelectedItems = maxSelectedItemsFromMultipleSelection(multiple);
|
|
59
|
+
|
|
60
|
+
let text;
|
|
61
|
+
|
|
62
|
+
if (props.customLabel) {
|
|
63
|
+
text = props.customLabel({
|
|
64
|
+
num: selectedCount,
|
|
65
|
+
max: maxSelectedItems,
|
|
66
|
+
});
|
|
67
|
+
} else if (selectedCount === 0) {
|
|
68
|
+
text = t('cairo.bulkSelected.selectUpTo', {
|
|
69
|
+
max: maxSelectedItems,
|
|
70
|
+
});
|
|
71
|
+
} else if (maxSelectedItems > selectedCount) {
|
|
72
|
+
text = t('cairo.picker.itemsSelected', {
|
|
73
|
+
total: selectedCount,
|
|
74
|
+
max: maxSelectedItems,
|
|
75
|
+
});
|
|
76
|
+
} else {
|
|
77
|
+
text = t('cairo.bulkSelected.withMaxNumber', {
|
|
78
|
+
num: selectedCount,
|
|
79
|
+
max: maxSelectedItems,
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return (
|
|
84
|
+
<Text dataHook={dataHook} secondary>
|
|
85
|
+
{text}
|
|
86
|
+
</Text>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function reachedMaxSelection({
|
|
91
|
+
collection,
|
|
92
|
+
multiple,
|
|
93
|
+
}: {
|
|
94
|
+
multiple?: MultipleSelection;
|
|
95
|
+
collection: Pick<CollectionState<any, any>, 'bulkSelect'>;
|
|
96
|
+
}) {
|
|
97
|
+
if (
|
|
98
|
+
typeof multiple === 'undefined' ||
|
|
99
|
+
typeof multiple === 'boolean' ||
|
|
100
|
+
multiple <= 1
|
|
101
|
+
) {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return collection.bulkSelect.selectedCount >= multiple;
|
|
106
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { Tooltip, TooltipProps } from '@wix/design-system';
|
|
3
|
+
|
|
4
|
+
export function MaybeTooltip(props: TooltipProps & { children?: ReactNode }) {
|
|
5
|
+
const { content, children, ...rest } = props;
|
|
6
|
+
|
|
7
|
+
if (!content) {
|
|
8
|
+
return <>{children}</>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<Tooltip content={content} {...rest}>
|
|
13
|
+
{children}
|
|
14
|
+
</Tooltip>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Box, BoxProps } from '@wix/design-system';
|
|
2
|
+
import { BaseComponentProps, MaxLines, MaxLinesProps } from '../MaxLines';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
export interface ModalHeadingBoxProps<P extends BaseComponentProps>
|
|
6
|
+
extends Partial<BoxProps> {
|
|
7
|
+
children: MaxLinesProps<P>['children'];
|
|
8
|
+
maxLines?: MaxLinesProps<P>['maxLines'];
|
|
9
|
+
lineHeight: MaxLinesProps<P>['lineHeight'];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export function ModalHeadingBox<P extends BaseComponentProps>(
|
|
13
|
+
props: ModalHeadingBoxProps<P>,
|
|
14
|
+
) {
|
|
15
|
+
const { children, maxLines, lineHeight, ...rest } = props;
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<Box minWidth={0} boxSizing="border-box" direction="vertical" {...rest}>
|
|
19
|
+
<MaxLines
|
|
20
|
+
webkitLineClamp={false}
|
|
21
|
+
lineHeight={lineHeight}
|
|
22
|
+
maxLines={maxLines}
|
|
23
|
+
wordBreak="break-word"
|
|
24
|
+
>
|
|
25
|
+
{children}
|
|
26
|
+
</MaxLines>
|
|
27
|
+
</Box>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ModalHeadingBox';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ModuleRegistry } from 'react-module-container';
|
|
3
|
+
import { observer } from 'mobx-react-lite';
|
|
4
|
+
import type { ExploreAppsState } from './ExploreAppsState';
|
|
5
|
+
|
|
6
|
+
function _ExploreAppsModal({ state }: { state: ExploreAppsState }) {
|
|
7
|
+
if (!state.isModalOpen) {
|
|
8
|
+
return null;
|
|
9
|
+
}
|
|
10
|
+
const InContextAppsModal = ModuleRegistry.component('in-context-apps-modal');
|
|
11
|
+
return (
|
|
12
|
+
<InContextAppsModal
|
|
13
|
+
title={state.modalProps.title}
|
|
14
|
+
subTitle={state.modalProps.subtitle}
|
|
15
|
+
tagIds={[state.modalProps.tag]}
|
|
16
|
+
origin="patterns-more-action"
|
|
17
|
+
dataHook="explore-apps-modal"
|
|
18
|
+
isOpen={state.isModalOpen}
|
|
19
|
+
onClose={() => state.closeExploreAppsModal()}
|
|
20
|
+
onInstallationSuccess={({ appId }: { appId: string }) =>
|
|
21
|
+
state.onInstallationSuccess({ appId })
|
|
22
|
+
}
|
|
23
|
+
/>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const ExploreAppsModal = observer(_ExploreAppsModal);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ReportProps } from '@wix/fe-essentials/bi';
|
|
3
|
+
import { action, makeObservable, observable } from 'mobx';
|
|
4
|
+
import { wixPatternsAppWasInstalledSrc144Evid200 } from '@wix/bex-core/bi';
|
|
5
|
+
import { ExploreAppsModal } from './ExploreAppsModal';
|
|
6
|
+
import { RelatedApps } from '@wix/wix-ui-icons-common';
|
|
7
|
+
|
|
8
|
+
export interface ExploreAppsModalProps {
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
tag: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface ExploreAppsActionItem {
|
|
15
|
+
biName: string;
|
|
16
|
+
text: string;
|
|
17
|
+
prefixIcon: JSX.Element;
|
|
18
|
+
onClick: () => void;
|
|
19
|
+
modalProps: ExploreAppsModalProps;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface ExploreAppsStateParams {
|
|
23
|
+
modalProps: ExploreAppsModalProps;
|
|
24
|
+
reportBi: (reportProps: ReportProps) => void;
|
|
25
|
+
translatedText: string;
|
|
26
|
+
}
|
|
27
|
+
export class ExploreAppsState {
|
|
28
|
+
modalProps: ExploreAppsModalProps;
|
|
29
|
+
moreActionsMenuItem: ExploreAppsActionItem;
|
|
30
|
+
isModalOpen = false;
|
|
31
|
+
reportBi = (_reportProps: ReportProps) => {};
|
|
32
|
+
Modal: ({ state }: { state: ExploreAppsState }) => JSX.Element | null;
|
|
33
|
+
|
|
34
|
+
constructor({
|
|
35
|
+
modalProps,
|
|
36
|
+
reportBi,
|
|
37
|
+
translatedText,
|
|
38
|
+
}: ExploreAppsStateParams) {
|
|
39
|
+
this.modalProps = modalProps;
|
|
40
|
+
this.moreActionsMenuItem = {
|
|
41
|
+
biName: 'Explore Apps',
|
|
42
|
+
text: translatedText,
|
|
43
|
+
prefixIcon: <RelatedApps />,
|
|
44
|
+
onClick: this.openExploreAppsModal.bind(this),
|
|
45
|
+
modalProps,
|
|
46
|
+
};
|
|
47
|
+
this.reportBi = reportBi;
|
|
48
|
+
this.Modal = ExploreAppsModal;
|
|
49
|
+
makeObservable(this, {
|
|
50
|
+
modalProps: observable.ref,
|
|
51
|
+
moreActionsMenuItem: observable.ref,
|
|
52
|
+
isModalOpen: observable,
|
|
53
|
+
openExploreAppsModal: action,
|
|
54
|
+
closeExploreAppsModal: action,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
openExploreAppsModal() {
|
|
59
|
+
this.isModalOpen = true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
closeExploreAppsModal() {
|
|
63
|
+
this.isModalOpen = false;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
onInstallationSuccess({ appId }: { appId: string }) {
|
|
67
|
+
this.reportBi(wixPatternsAppWasInstalledSrc144Evid200({ appId }));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';
|
|
2
|
+
import {
|
|
3
|
+
PopoverMenuUniDriver,
|
|
4
|
+
TooltipUniDriver,
|
|
5
|
+
} from '@wix/design-system/dist/testkit/unidriver';
|
|
6
|
+
|
|
7
|
+
export const MoreActionsUniDriver = (base: UniDriver, body: UniDriver) => {
|
|
8
|
+
const moreActionsPopoverDriver = (dataHook: string) =>
|
|
9
|
+
PopoverMenuUniDriver(base.$(`[data-hook="${dataHook}"]`), body);
|
|
10
|
+
|
|
11
|
+
const getMoreActions = (dataHook = 'more-actions') => ({
|
|
12
|
+
exists: () => moreActionsPopoverDriver(dataHook).exists(),
|
|
13
|
+
|
|
14
|
+
/** Gets trigger element of more Actions */
|
|
15
|
+
getTriggerElement: () =>
|
|
16
|
+
moreActionsPopoverDriver(dataHook).getTriggerElement(
|
|
17
|
+
'more-actions-popover-button',
|
|
18
|
+
),
|
|
19
|
+
|
|
20
|
+
/** Opens the more actions popover */
|
|
21
|
+
open: () =>
|
|
22
|
+
moreActionsPopoverDriver(dataHook)
|
|
23
|
+
.getTriggerElement('more-actions-popover-button')
|
|
24
|
+
.click(),
|
|
25
|
+
|
|
26
|
+
/** Indicates whether the more actions popover is open */
|
|
27
|
+
isOpen: () => moreActionsPopoverDriver(dataHook).isMenuOpen(),
|
|
28
|
+
|
|
29
|
+
/** Clicks at child by data-hook */
|
|
30
|
+
clickAtChildByDataHook: (childDataHook: string) =>
|
|
31
|
+
moreActionsPopoverDriver(dataHook).clickAtChildByDataHook(childDataHook),
|
|
32
|
+
|
|
33
|
+
/** Clicks at child by index */
|
|
34
|
+
clickAtChildByIndex: (index: number) =>
|
|
35
|
+
moreActionsPopoverDriver(dataHook).clickAtChild(index),
|
|
36
|
+
|
|
37
|
+
/** Gets content at index */
|
|
38
|
+
childContentAt: (index: number) =>
|
|
39
|
+
moreActionsPopoverDriver(dataHook).itemContentAt(index),
|
|
40
|
+
|
|
41
|
+
/** Gets children count */
|
|
42
|
+
childrenCount: () => moreActionsPopoverDriver(dataHook).childrenCount(),
|
|
43
|
+
|
|
44
|
+
getTooltip: () => {
|
|
45
|
+
return TooltipUniDriver(
|
|
46
|
+
base.$('[data-hook="more-actions-tooltip"]'),
|
|
47
|
+
body,
|
|
48
|
+
);
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
return {
|
|
53
|
+
getMoreActions,
|
|
54
|
+
};
|
|
55
|
+
};
|