bitz-react-admin-ui 2.10.6 → 2.10.7-beta.2
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/_virtual/dayjs.min.mjs +2 -5
- package/dist/components/BitzAddTag/index.mjs +7 -7
- package/dist/components/BitzAddressBook/index.mjs +18 -19
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +1 -1
- package/dist/components/BitzCollapse/index.mjs +4 -5
- package/dist/components/BitzConfigProvider/index.mjs +5 -5
- package/dist/components/BitzConfirmModal/index.mjs +10 -10
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +28 -31
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +17 -21
- package/dist/components/BitzFullScreen/index.mjs +11 -12
- package/dist/components/BitzImage/previewImage.mjs +4 -4
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzModal/index.mjs +1 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +13 -14
- package/dist/components/BitzPageHeader/index.mjs +10 -11
- package/dist/components/BitzQueryFilter/index.mjs +6 -6
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +6 -6
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +21 -22
- package/dist/components/BitzTable/ActionBar/Button.mjs +6 -6
- package/dist/components/BitzTable/SelectionBar/Button.mjs +8 -8
- package/dist/components/BitzTable/Store/index.mjs +30 -28
- package/dist/components/BitzTable/SubTable/index.mjs +4 -4
- package/dist/components/BitzTable/Table/SortableRow.mjs +8 -8
- package/dist/components/BitzTable/Table/index.mjs +43 -43
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +54 -53
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +5 -5
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +80 -83
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +17 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +17 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +11 -11
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +11 -11
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +10 -10
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +14 -15
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +6 -6
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +27 -28
- package/dist/components/BitzTableSelect/TableCell/index.mjs +7 -7
- package/dist/components/BitzText/index.mjs +24 -25
- package/dist/components/BitzTimer/Timer.mjs +27 -31
- package/dist/components/BitzTimer/index.mjs +27 -30
- package/dist/components/BitzUpload/index.mjs +19 -20
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +4 -4
- package/dist/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/react-resizable/index.mjs +1 -1
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +4 -5
- package/dist/utils/time.mjs +1 -1
- package/package.json +5 -1
- package/dist/_virtual/dayjs.min2.mjs +0 -4
- package/dist/node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MenuFoldOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MenuOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MenuUnfoldOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PauseCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PlayCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SettingFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/UploadOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.mjs +0 -5
- package/dist/node_modules/lodash-es/_DataView.mjs +0 -7
- package/dist/node_modules/lodash-es/_Hash.mjs +0 -20
- package/dist/node_modules/lodash-es/_ListCache.mjs +0 -20
- package/dist/node_modules/lodash-es/_Map.mjs +0 -7
- package/dist/node_modules/lodash-es/_MapCache.mjs +0 -20
- package/dist/node_modules/lodash-es/_Promise.mjs +0 -7
- package/dist/node_modules/lodash-es/_Set.mjs +0 -7
- package/dist/node_modules/lodash-es/_SetCache.mjs +0 -13
- package/dist/node_modules/lodash-es/_Stack.mjs +0 -18
- package/dist/node_modules/lodash-es/_Symbol.mjs +0 -6
- package/dist/node_modules/lodash-es/_Uint8Array.mjs +0 -6
- package/dist/node_modules/lodash-es/_WeakMap.mjs +0 -7
- package/dist/node_modules/lodash-es/_apply.mjs +0 -16
- package/dist/node_modules/lodash-es/_arrayEach.mjs +0 -8
- package/dist/node_modules/lodash-es/_arrayFilter.mjs +0 -10
- package/dist/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
- package/dist/node_modules/lodash-es/_arrayIncludesWith.mjs +0 -9
- package/dist/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -20
- package/dist/node_modules/lodash-es/_arrayMap.mjs +0 -8
- package/dist/node_modules/lodash-es/_arrayPush.mjs +0 -8
- package/dist/node_modules/lodash-es/_arraySome.mjs +0 -9
- package/dist/node_modules/lodash-es/_assignMergeValue.mjs +0 -8
- package/dist/node_modules/lodash-es/_assignValue.mjs +0 -10
- package/dist/node_modules/lodash-es/_assocIndexOf.mjs +0 -10
- package/dist/node_modules/lodash-es/_baseAssign.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseAssignIn.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseAssignValue.mjs +0 -12
- package/dist/node_modules/lodash-es/_baseAt.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseClone.mjs +0 -65
- package/dist/node_modules/lodash-es/_baseCreate.mjs +0 -18
- package/dist/node_modules/lodash-es/_baseFindIndex.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseFlatten.mjs +0 -13
- package/dist/node_modules/lodash-es/_baseFor.mjs +0 -6
- package/dist/node_modules/lodash-es/_baseForOwn.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseGet.mjs +0 -11
- package/dist/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseGetTag.mjs +0 -10
- package/dist/node_modules/lodash-es/_baseHasIn.mjs +0 -6
- package/dist/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsEqual.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -32
- package/dist/node_modules/lodash-es/_baseIsMap.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsMatch.mjs +0 -31
- package/dist/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
- package/dist/node_modules/lodash-es/_baseIsNative.mjs +0 -16
- package/dist/node_modules/lodash-es/_baseIsSet.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -12
- package/dist/node_modules/lodash-es/_baseIteratee.mjs +0 -11
- package/dist/node_modules/lodash-es/_baseKeys.mjs +0 -14
- package/dist/node_modules/lodash-es/_baseKeysIn.mjs +0 -15
- package/dist/node_modules/lodash-es/_baseMatches.mjs +0 -12
- package/dist/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -17
- package/dist/node_modules/lodash-es/_baseMerge.mjs +0 -20
- package/dist/node_modules/lodash-es/_baseMergeDeep.mjs +0 -31
- package/dist/node_modules/lodash-es/_baseProperty.mjs +0 -8
- package/dist/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseRest.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseSetToString.mjs +0 -15
- package/dist/node_modules/lodash-es/_baseSlice.mjs +0 -10
- package/dist/node_modules/lodash-es/_baseTimes.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseToString.mjs +0 -18
- package/dist/node_modules/lodash-es/_baseUnary.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseUniq.mjs +0 -34
- package/dist/node_modules/lodash-es/_baseUnset.mjs +0 -10
- package/dist/node_modules/lodash-es/_cacheHas.mjs +0 -6
- package/dist/node_modules/lodash-es/_castPath.mjs +0 -10
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneBuffer.mjs +0 -11
- package/dist/node_modules/lodash-es/_cloneDataView.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneRegExp.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
- package/dist/node_modules/lodash-es/_copyArray.mjs +0 -9
- package/dist/node_modules/lodash-es/_copyObject.mjs +0 -14
- package/dist/node_modules/lodash-es/_copySymbols.mjs +0 -8
- package/dist/node_modules/lodash-es/_copySymbolsIn.mjs +0 -8
- package/dist/node_modules/lodash-es/_coreJsData.mjs +0 -6
- package/dist/node_modules/lodash-es/_createAssigner.mjs +0 -15
- package/dist/node_modules/lodash-es/_createBaseFor.mjs +0 -13
- package/dist/node_modules/lodash-es/_createSet.mjs +0 -10
- package/dist/node_modules/lodash-es/_customOmitClone.mjs +0 -7
- package/dist/node_modules/lodash-es/_defineProperty.mjs +0 -12
- package/dist/node_modules/lodash-es/_equalArrays.mjs +0 -40
- package/dist/node_modules/lodash-es/_equalByTag.mjs +0 -45
- package/dist/node_modules/lodash-es/_equalObjects.mjs +0 -36
- package/dist/node_modules/lodash-es/_flatRest.mjs +0 -9
- package/dist/node_modules/lodash-es/_freeGlobal.mjs +0 -5
- package/dist/node_modules/lodash-es/_getAllKeys.mjs +0 -9
- package/dist/node_modules/lodash-es/_getAllKeysIn.mjs +0 -9
- package/dist/node_modules/lodash-es/_getMapData.mjs +0 -8
- package/dist/node_modules/lodash-es/_getMatchData.mjs +0 -12
- package/dist/node_modules/lodash-es/_getNative.mjs +0 -9
- package/dist/node_modules/lodash-es/_getPrototype.mjs +0 -6
- package/dist/node_modules/lodash-es/_getRawTag.mjs +0 -15
- package/dist/node_modules/lodash-es/_getSymbols.mjs +0 -11
- package/dist/node_modules/lodash-es/_getSymbolsIn.mjs +0 -13
- package/dist/node_modules/lodash-es/_getTag.mjs +0 -29
- package/dist/node_modules/lodash-es/_getValue.mjs +0 -6
- package/dist/node_modules/lodash-es/_hasPath.mjs +0 -19
- package/dist/node_modules/lodash-es/_hashClear.mjs +0 -7
- package/dist/node_modules/lodash-es/_hashDelete.mjs +0 -7
- package/dist/node_modules/lodash-es/_hashGet.mjs +0 -13
- package/dist/node_modules/lodash-es/_hashHas.mjs +0 -9
- package/dist/node_modules/lodash-es/_hashSet.mjs +0 -9
- package/dist/node_modules/lodash-es/_initCloneArray.mjs +0 -8
- package/dist/node_modules/lodash-es/_initCloneByTag.mjs +0 -42
- package/dist/node_modules/lodash-es/_initCloneObject.mjs +0 -9
- package/dist/node_modules/lodash-es/_isFlattenable.mjs +0 -10
- package/dist/node_modules/lodash-es/_isIndex.mjs +0 -8
- package/dist/node_modules/lodash-es/_isIterateeCall.mjs +0 -13
- package/dist/node_modules/lodash-es/_isKey.mjs +0 -12
- package/dist/node_modules/lodash-es/_isKeyable.mjs +0 -7
- package/dist/node_modules/lodash-es/_isMasked.mjs +0 -11
- package/dist/node_modules/lodash-es/_isPrototype.mjs +0 -8
- package/dist/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
- package/dist/node_modules/lodash-es/_listCacheClear.mjs +0 -6
- package/dist/node_modules/lodash-es/_listCacheDelete.mjs +0 -12
- package/dist/node_modules/lodash-es/_listCacheGet.mjs +0 -8
- package/dist/node_modules/lodash-es/_listCacheHas.mjs +0 -7
- package/dist/node_modules/lodash-es/_listCacheSet.mjs +0 -8
- package/dist/node_modules/lodash-es/_mapCacheClear.mjs +0 -13
- package/dist/node_modules/lodash-es/_mapCacheDelete.mjs +0 -8
- package/dist/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
- package/dist/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
- package/dist/node_modules/lodash-es/_mapCacheSet.mjs +0 -8
- package/dist/node_modules/lodash-es/_mapToArray.mjs +0 -9
- package/dist/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -8
- package/dist/node_modules/lodash-es/_memoizeCapped.mjs +0 -11
- package/dist/node_modules/lodash-es/_nativeCreate.mjs +0 -6
- package/dist/node_modules/lodash-es/_nativeKeys.mjs +0 -6
- package/dist/node_modules/lodash-es/_nativeKeysIn.mjs +0 -10
- package/dist/node_modules/lodash-es/_nodeUtil.mjs +0 -12
- package/dist/node_modules/lodash-es/_objectToString.mjs +0 -7
- package/dist/node_modules/lodash-es/_overArg.mjs +0 -8
- package/dist/node_modules/lodash-es/_overRest.mjs +0 -15
- package/dist/node_modules/lodash-es/_parent.mjs +0 -8
- package/dist/node_modules/lodash-es/_root.mjs +0 -6
- package/dist/node_modules/lodash-es/_safeGet.mjs +0 -7
- package/dist/node_modules/lodash-es/_setCacheAdd.mjs +0 -7
- package/dist/node_modules/lodash-es/_setCacheHas.mjs +0 -6
- package/dist/node_modules/lodash-es/_setToArray.mjs +0 -9
- package/dist/node_modules/lodash-es/_setToString.mjs +0 -7
- package/dist/node_modules/lodash-es/_shortOut.mjs +0 -16
- package/dist/node_modules/lodash-es/_stackClear.mjs +0 -7
- package/dist/node_modules/lodash-es/_stackDelete.mjs +0 -7
- package/dist/node_modules/lodash-es/_stackGet.mjs +0 -6
- package/dist/node_modules/lodash-es/_stackHas.mjs +0 -6
- package/dist/node_modules/lodash-es/_stackSet.mjs +0 -17
- package/dist/node_modules/lodash-es/_strictIndexOf.mjs +0 -9
- package/dist/node_modules/lodash-es/_stringToPath.mjs +0 -11
- package/dist/node_modules/lodash-es/_toKey.mjs +0 -11
- package/dist/node_modules/lodash-es/_toSource.mjs +0 -17
- package/dist/node_modules/lodash-es/at.mjs +0 -7
- package/dist/node_modules/lodash-es/constant.mjs +0 -8
- package/dist/node_modules/lodash-es/eq.mjs +0 -6
- package/dist/node_modules/lodash-es/flatten.mjs +0 -8
- package/dist/node_modules/lodash-es/get.mjs +0 -8
- package/dist/node_modules/lodash-es/hasIn.mjs +0 -8
- package/dist/node_modules/lodash-es/identity.mjs +0 -6
- package/dist/node_modules/lodash-es/isArguments.mjs +0 -11
- package/dist/node_modules/lodash-es/isArray.mjs +0 -5
- package/dist/node_modules/lodash-es/isArrayLike.mjs +0 -8
- package/dist/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
- package/dist/node_modules/lodash-es/isBoolean.mjs +0 -9
- package/dist/node_modules/lodash-es/isBuffer.mjs +0 -7
- package/dist/node_modules/lodash-es/isFunction.mjs +0 -12
- package/dist/node_modules/lodash-es/isLength.mjs +0 -7
- package/dist/node_modules/lodash-es/isMap.mjs +0 -8
- package/dist/node_modules/lodash-es/isObject.mjs +0 -7
- package/dist/node_modules/lodash-es/isObjectLike.mjs +0 -6
- package/dist/node_modules/lodash-es/isPlainObject.mjs +0 -16
- package/dist/node_modules/lodash-es/isSet.mjs +0 -8
- package/dist/node_modules/lodash-es/isSymbol.mjs +0 -9
- package/dist/node_modules/lodash-es/isTypedArray.mjs +0 -8
- package/dist/node_modules/lodash-es/keys.mjs +0 -9
- package/dist/node_modules/lodash-es/keysIn.mjs +0 -9
- package/dist/node_modules/lodash-es/last.mjs +0 -7
- package/dist/node_modules/lodash-es/mapValues.mjs +0 -12
- package/dist/node_modules/lodash-es/memoize.mjs +0 -18
- package/dist/node_modules/lodash-es/merge.mjs +0 -9
- package/dist/node_modules/lodash-es/noop.mjs +0 -5
- package/dist/node_modules/lodash-es/omit.mjs +0 -24
- package/dist/node_modules/lodash-es/property.mjs +0 -10
- package/dist/node_modules/lodash-es/stubArray.mjs +0 -6
- package/dist/node_modules/lodash-es/stubFalse.mjs +0 -6
- package/dist/node_modules/lodash-es/toPlainObject.mjs +0 -8
- package/dist/node_modules/lodash-es/toString.mjs +0 -7
- package/dist/node_modules/lodash-es/uniq.mjs +0 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
3
|
import { Modal as m } from "antd";
|
|
4
|
+
import { CloseOutlined as p } from "@ant-design/icons";
|
|
4
5
|
import "./index.less.mjs";
|
|
5
|
-
import p from "../../node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
|
|
6
6
|
const j = ({ modalOpen: c = !1, modalEmit: o = () => {
|
|
7
7
|
}, modalText: l, deleteId: n, deleteUrl: r }) => {
|
|
8
8
|
const [i, s] = d(!1), a = (e) => {
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { CaretDownFilled as y, SettingFilled as C } from "@ant-design/icons";
|
|
3
|
+
import { theme as b, Input as N, Tree as S, Space as w, Button as z, Tag as T } from "antd";
|
|
4
|
+
import { useEffect as v } from "react";
|
|
5
|
+
import { useImmer as E } from "../../node_modules/use-immer/dist/use-immer.module.mjs";
|
|
5
6
|
import "./components/select.module.less.mjs";
|
|
6
7
|
import "../../node_modules/react-device-detect/dist/lib.mjs";
|
|
7
8
|
import "../BitzDrawer/index.less.mjs";
|
|
8
9
|
import s from "./index.module.less.mjs";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const { CheckableTag: I } = w, G = (p) => {
|
|
12
|
-
const { headerRender: o, tags: t, onTagChange: a, onSearch: c, treeTitle: h, defaultCheckedKeys: u, defaultExpandedKeys: d, treeData: f, onCheck: x } = p, { token: g } = y.useToken(), [l, i] = T({
|
|
10
|
+
const { CheckableTag: I } = T, q = (p) => {
|
|
11
|
+
const { headerRender: o, tags: t, onTagChange: a, onSearch: c, treeTitle: h, defaultCheckedKeys: u, defaultExpandedKeys: d, treeData: f, onCheck: x } = p, { token: g } = b.useToken(), [l, i] = E({
|
|
13
12
|
tags: []
|
|
14
13
|
});
|
|
15
|
-
|
|
14
|
+
v(() => {
|
|
16
15
|
t && i((r) => {
|
|
17
16
|
r.tags = t;
|
|
18
17
|
});
|
|
19
18
|
}, [t == null ? void 0 : t.length]);
|
|
20
19
|
function j() {
|
|
21
20
|
return l.tags.length ? /* @__PURE__ */ e.jsxs("div", { className: s.header, children: [
|
|
22
|
-
/* @__PURE__ */ e.jsx(
|
|
21
|
+
/* @__PURE__ */ e.jsx(w, { size: [0, 8], wrap: !0, children: l.tags.map((r, m) => /* @__PURE__ */ e.jsx(
|
|
23
22
|
I,
|
|
24
23
|
{
|
|
25
24
|
checked: !!r.checked,
|
|
@@ -32,21 +31,21 @@ const { CheckableTag: I } = w, G = (p) => {
|
|
|
32
31
|
},
|
|
33
32
|
m
|
|
34
33
|
)) }),
|
|
35
|
-
/* @__PURE__ */ e.jsx(
|
|
34
|
+
/* @__PURE__ */ e.jsx(z, { icon: /* @__PURE__ */ e.jsx(C, { style: { color: g.colorPrimary } }), type: "text", className: s["setting-btn"] })
|
|
36
35
|
] }) : o == null ? void 0 : o();
|
|
37
36
|
}
|
|
38
37
|
return /* @__PURE__ */ e.jsxs("div", { className: s.container, children: [
|
|
39
38
|
j(),
|
|
40
|
-
c && /* @__PURE__ */ e.jsx(
|
|
39
|
+
c && /* @__PURE__ */ e.jsx(N, { className: s.search, placeholder: "组织名称查询", onChange: c }),
|
|
41
40
|
h,
|
|
42
41
|
/* @__PURE__ */ e.jsx(
|
|
43
|
-
|
|
42
|
+
S,
|
|
44
43
|
{
|
|
45
44
|
checkable: !0,
|
|
46
45
|
showLine: !0,
|
|
47
46
|
blockNode: !0,
|
|
48
47
|
selectable: !1,
|
|
49
|
-
switcherIcon: /* @__PURE__ */ e.jsx(
|
|
48
|
+
switcherIcon: /* @__PURE__ */ e.jsx(y, { style: { verticalAlign: "top", fontSize: 24, color: "#86909C" } }),
|
|
50
49
|
defaultCheckedKeys: u,
|
|
51
50
|
defaultExpandedKeys: d,
|
|
52
51
|
treeData: f,
|
|
@@ -56,5 +55,5 @@ const { CheckableTag: I } = w, G = (p) => {
|
|
|
56
55
|
] });
|
|
57
56
|
};
|
|
58
57
|
export {
|
|
59
|
-
|
|
58
|
+
q as default
|
|
60
59
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useState as B } from "react";
|
|
3
|
-
import
|
|
3
|
+
import N from "../../node_modules/classnames/index.mjs";
|
|
4
4
|
import { createNamespace as C } from "../../utils/create.mjs";
|
|
5
5
|
import { Avatar as R, Space as w, Breadcrumb as y } from "antd";
|
|
6
|
-
import A from "
|
|
6
|
+
import { ArrowRightOutlined as A, ArrowLeftOutlined as F } from "@ant-design/icons";
|
|
7
|
+
import O from "../../node_modules/rc-resize-observer/es/index.mjs";
|
|
7
8
|
import "./index.less.mjs";
|
|
8
|
-
import F from "../../node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs";
|
|
9
|
-
import O from "../../node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs";
|
|
10
9
|
const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { className: `${e}-back ${t}`.trim(), children: /* @__PURE__ */ s.jsx(
|
|
11
10
|
"div",
|
|
12
11
|
{
|
|
@@ -24,10 +23,10 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
24
23
|
y,
|
|
25
24
|
{
|
|
26
25
|
...e,
|
|
27
|
-
className:
|
|
26
|
+
className: N(`${t}-breadcrumb`, e.className)
|
|
28
27
|
}
|
|
29
28
|
) : null;
|
|
30
|
-
}, H = (e, t = "ltr") => e.backIcon !== void 0 ? e.backIcon : t === "rtl" ? /* @__PURE__ */ s.jsx(
|
|
29
|
+
}, H = (e, t = "ltr") => e.backIcon !== void 0 ? e.backIcon : t === "rtl" ? /* @__PURE__ */ s.jsx(A, {}) : /* @__PURE__ */ s.jsx(F, {}), S = (e, t, i = "ltr", n) => {
|
|
31
30
|
const {
|
|
32
31
|
title: o,
|
|
33
32
|
avatar: l,
|
|
@@ -45,7 +44,7 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
45
44
|
l && /* @__PURE__ */ s.jsx(
|
|
46
45
|
R,
|
|
47
46
|
{
|
|
48
|
-
className:
|
|
47
|
+
className: N(
|
|
49
48
|
`${c}-avatar`,
|
|
50
49
|
n,
|
|
51
50
|
l.className
|
|
@@ -73,7 +72,7 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
73
72
|
] }),
|
|
74
73
|
d && /* @__PURE__ */ s.jsx("span", { className: `${c}-extra ${n}`.trim(), children: /* @__PURE__ */ s.jsx(w, { children: d }) })
|
|
75
74
|
] });
|
|
76
|
-
}, E = (e, t, i) => /* @__PURE__ */ s.jsx("div", { className: `${e}-content ${i}`.trim(), children: t }), L = (e, t, i) => t ? /* @__PURE__ */ s.jsx("div", { className: `${e}-footer ${i}`.trim(), children: t }) : null,
|
|
75
|
+
}, E = (e, t, i) => /* @__PURE__ */ s.jsx("div", { className: `${e}-content ${i}`.trim(), children: t }), L = (e, t, i) => t ? /* @__PURE__ */ s.jsx("div", { className: `${e}-footer ${i}`.trim(), children: t }) : null, V = (e) => {
|
|
77
76
|
const [t, i] = C("bitz-page-header"), n = "ltr", o = "id_123123", [l, a] = B(!1), m = ({ width: z }) => a(z < 768), {
|
|
78
77
|
style: d,
|
|
79
78
|
footer: f,
|
|
@@ -82,7 +81,7 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
82
81
|
breadcrumbRender: u,
|
|
83
82
|
className: $,
|
|
84
83
|
contentWidth: x
|
|
85
|
-
} = e,
|
|
84
|
+
} = e, p = (() => (r && !(r != null && r.items) && (r != null && r.routes) && (r.items = r.routes), r != null && r.items ? T(r, t) : null))(), h = r && "props" in r, D = (u == null ? void 0 : u({ ...e, prefixCls: t }, p)) ?? p, j = h ? r : D, k = N(t, o, $, {
|
|
86
85
|
[`${t}-has-breadcrumb`]: !!j,
|
|
87
86
|
[`${t}-has-footer`]: !!f,
|
|
88
87
|
// [`${prefixCls}-rtl`]: direction === 'rtl',
|
|
@@ -90,7 +89,7 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
90
89
|
[`${t}-wide`]: x === "Fixed",
|
|
91
90
|
[`${t}-ghost`]: !0
|
|
92
91
|
}), g = S(t, e, n, o), v = c && E(t, c, o), b = L(t, f, o);
|
|
93
|
-
return !j && !g && !b && !v ? null : /* @__PURE__ */ s.jsx(
|
|
92
|
+
return !j && !g && !b && !v ? null : /* @__PURE__ */ s.jsx(O, { onResize: m, children: /* @__PURE__ */ s.jsxs("div", { className: k, style: d, children: [
|
|
94
93
|
j,
|
|
95
94
|
g,
|
|
96
95
|
v,
|
|
@@ -98,5 +97,5 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
98
97
|
] }) });
|
|
99
98
|
};
|
|
100
99
|
export {
|
|
101
|
-
|
|
100
|
+
V as default
|
|
102
101
|
};
|
|
@@ -3,9 +3,9 @@ import { useMemo as d } from "react";
|
|
|
3
3
|
import A from "../../node_modules/rc-resize-observer/es/index.mjs";
|
|
4
4
|
import { Form as x, Row as M, Col as j } from "antd";
|
|
5
5
|
import O from "./QueryFilterContent.mjs";
|
|
6
|
-
import P from "
|
|
7
|
-
import B from "
|
|
8
|
-
import E from "
|
|
6
|
+
import { isArray as P } from "lodash-es";
|
|
7
|
+
import B from "../../hooks/useMergedState.mjs";
|
|
8
|
+
import E from "./QueryFilterMobile.mjs";
|
|
9
9
|
const Q = {
|
|
10
10
|
xs: 513,
|
|
11
11
|
sm: 513,
|
|
@@ -62,7 +62,7 @@ const K = (g = document == null ? void 0 : document.body) == null ? void 0 : g.c
|
|
|
62
62
|
preserve: c = !0,
|
|
63
63
|
onReset: f,
|
|
64
64
|
onFinish: b
|
|
65
|
-
} = n, [a] = x.useForm(), [p, N] =
|
|
65
|
+
} = n, [a] = x.useForm(), [p, N] = B(() => typeof (o == null ? void 0 : o.width) == "number" ? o == null ? void 0 : o.width : K), i = d(() => G(v, p + 16, C), [v, p, C]), S = d(() => u !== void 0 ? u - 1 : Math.max(1, 24 / i.span - 1), [u, i.span]), W = d(() => {
|
|
66
66
|
if (l && i.layout !== "vertical" && l !== "auto")
|
|
67
67
|
return {
|
|
68
68
|
labelCol: {
|
|
@@ -77,7 +77,7 @@ const K = (g = document == null ? void 0 : document.body) == null ? void 0 : g.c
|
|
|
77
77
|
flexWrap: "nowrap"
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
-
}, [i.layout, l]), w = d(() =>
|
|
80
|
+
}, [i.layout, l]), w = d(() => P(t) ? t : [t], [t]);
|
|
81
81
|
return /* @__PURE__ */ e.jsx(
|
|
82
82
|
A,
|
|
83
83
|
{
|
|
@@ -105,7 +105,7 @@ const K = (g = document == null ? void 0 : document.body) == null ? void 0 : g.c
|
|
|
105
105
|
onReset: f
|
|
106
106
|
}
|
|
107
107
|
) }) }),
|
|
108
|
-
/* @__PURE__ */ e.jsx(j, { md: 0, sm: 24, xs: 24, children: /* @__PURE__ */ e.jsx(x, { onReset: f, preserve: c, form: a, layout: "vertical", children: /* @__PURE__ */ e.jsx(
|
|
108
|
+
/* @__PURE__ */ e.jsx(j, { md: 0, sm: 24, xs: 24, children: /* @__PURE__ */ e.jsx(x, { onReset: f, preserve: c, form: a, layout: "vertical", children: /* @__PURE__ */ e.jsx(E, { onFinish: b, form: a, items: w, onReset: f }) }) })
|
|
109
109
|
] })
|
|
110
110
|
},
|
|
111
111
|
"resize-observer"
|
|
@@ -2,11 +2,11 @@ import { j as a } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
|
2
2
|
import { useState as w, useRef as P, useEffect as D } from "react";
|
|
3
3
|
import { BitzPickDrawer as U } from "../../BitzDrawer/index.mjs";
|
|
4
4
|
import { Tag as z, Input as W, Space as q } from "antd";
|
|
5
|
+
import { DownOutlined as T } from "@ant-design/icons";
|
|
5
6
|
import $ from "../../../node_modules/@better-scroll/core/dist/core.esm.mjs";
|
|
6
7
|
import A from "../../../node_modules/@better-scroll/wheel/dist/wheel.esm.mjs";
|
|
7
8
|
import n from "./index.module.less.mjs";
|
|
8
|
-
import { useImmer as
|
|
9
|
-
import y from "../../../node_modules/@ant-design/icons/es/icons/DownOutlined.mjs";
|
|
9
|
+
import { useImmer as y } from "../../../node_modules/use-immer/dist/use-immer.module.mjs";
|
|
10
10
|
$.use(A);
|
|
11
11
|
const { Search: G } = W, te = ({ ...e }) => {
|
|
12
12
|
var C, g, k;
|
|
@@ -23,10 +23,10 @@ const { Search: G } = W, te = ({ ...e }) => {
|
|
|
23
23
|
const i = b, B = (l, t) => ((t == null ? void 0 : t.label) ?? "").toLowerCase().includes(l.toLowerCase()), m = e.value ?? e.defaultValue, S = e.filterOption || B, [N, E] = w(() => {
|
|
24
24
|
const l = i == null ? void 0 : i.findIndex((t) => t.value === m);
|
|
25
25
|
return l === -1 ? 0 : l;
|
|
26
|
-
}), [d, h] =
|
|
26
|
+
}), [d, h] = y(() => {
|
|
27
27
|
var l;
|
|
28
28
|
return u ? m : ((l = i == null ? void 0 : i.find((t) => t.value === m)) == null ? void 0 : l.value) || "";
|
|
29
|
-
}), I = P(null), [j, x] = w(!1), [L, O] = w(""), [f, v] =
|
|
29
|
+
}), I = P(null), [j, x] = w(!1), [L, O] = w(""), [f, v] = y([]), V = () => {
|
|
30
30
|
x(!1);
|
|
31
31
|
}, M = () => {
|
|
32
32
|
const l = e.onChange;
|
|
@@ -89,14 +89,14 @@ const { Search: G } = W, te = ({ ...e }) => {
|
|
|
89
89
|
t
|
|
90
90
|
);
|
|
91
91
|
}) }),
|
|
92
|
-
/* @__PURE__ */ a.jsx(
|
|
92
|
+
/* @__PURE__ */ a.jsx(T, { style: { color: "#d9d9d9" } })
|
|
93
93
|
] }) : /* @__PURE__ */ a.jsx(
|
|
94
94
|
W,
|
|
95
95
|
{
|
|
96
96
|
placeholder: e.placeholder,
|
|
97
97
|
onClick: () => x(!0),
|
|
98
98
|
value: d,
|
|
99
|
-
suffix: /* @__PURE__ */ a.jsx(
|
|
99
|
+
suffix: /* @__PURE__ */ a.jsx(T, { style: { color: "#d9d9d9" } })
|
|
100
100
|
}
|
|
101
101
|
);
|
|
102
102
|
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { j as s } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useMemo as
|
|
2
|
+
import { useMemo as N } from "react";
|
|
3
|
+
import { PlusCircleFilled as c, CaretDownOutlined as f } from "@ant-design/icons";
|
|
3
4
|
import { Space as l } from "antd";
|
|
4
5
|
import i from "../../BitzButton/index.mjs";
|
|
5
6
|
import k from "./style.mjs";
|
|
6
|
-
import
|
|
7
|
+
import g from "../Dropdown/index.mjs";
|
|
8
|
+
import { omit as a } from "lodash-es";
|
|
7
9
|
import h from "../../../node_modules/classnames/index.mjs";
|
|
8
|
-
|
|
9
|
-
import o from "../../../node_modules/lodash-es/omit.mjs";
|
|
10
|
-
import g from "../../../node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs";
|
|
11
|
-
const O = ({
|
|
10
|
+
const G = ({
|
|
12
11
|
size: C,
|
|
13
12
|
add: n,
|
|
14
13
|
excel: r,
|
|
15
14
|
actions: m,
|
|
16
15
|
children: E
|
|
17
16
|
}) => {
|
|
18
|
-
const { blockCls: x, addBtnClassName: y, btnClassName: p } = k(C), w =
|
|
17
|
+
const { blockCls: x, addBtnClassName: y, btnClassName: p } = k(C), w = N(() => [
|
|
19
18
|
{
|
|
20
19
|
key: "download",
|
|
21
20
|
label: "Excel模板下载"
|
|
@@ -31,13 +30,13 @@ const O = ({
|
|
|
31
30
|
// ),
|
|
32
31
|
},
|
|
33
32
|
...(r == null ? void 0 : r.otherMenu) ?? []
|
|
34
|
-
], [r]), d =
|
|
33
|
+
], [r]), d = N(() => m == null ? void 0 : m.map((t, e) => t.type === "primary" ? /* @__PURE__ */ s.jsx(
|
|
35
34
|
i,
|
|
36
35
|
{
|
|
37
36
|
type: "primary",
|
|
38
37
|
icon: /* @__PURE__ */ s.jsx(c, {}),
|
|
39
38
|
className: h(y, t.className),
|
|
40
|
-
...
|
|
39
|
+
...a(t, "text", "type", "className", "children"),
|
|
41
40
|
children: t == null ? void 0 : t.text
|
|
42
41
|
},
|
|
43
42
|
e
|
|
@@ -46,18 +45,18 @@ const O = ({
|
|
|
46
45
|
{
|
|
47
46
|
type: "text",
|
|
48
47
|
className: h(p, t.className),
|
|
49
|
-
...
|
|
48
|
+
...a(t, "text", "type", "className", "children"),
|
|
50
49
|
children: t == null ? void 0 : t.text
|
|
51
50
|
},
|
|
52
51
|
e
|
|
53
52
|
) : /* @__PURE__ */ s.jsx(
|
|
54
|
-
|
|
53
|
+
g,
|
|
55
54
|
{
|
|
56
|
-
getPopupContainer: (
|
|
55
|
+
getPopupContainer: (o) => {
|
|
57
56
|
var j, u;
|
|
58
|
-
return (u = (j =
|
|
57
|
+
return (u = (j = o.parentElement) == null ? void 0 : j.parentElement) == null ? void 0 : u.parentElement;
|
|
59
58
|
},
|
|
60
|
-
...
|
|
59
|
+
...a(t, "text", "className", "children"),
|
|
61
60
|
children: /* @__PURE__ */ s.jsx(
|
|
62
61
|
i,
|
|
63
62
|
{
|
|
@@ -65,7 +64,7 @@ const O = ({
|
|
|
65
64
|
type: "text",
|
|
66
65
|
children: /* @__PURE__ */ s.jsxs(l, { size: 6, children: [
|
|
67
66
|
!t.text || typeof t.text == "string" ? /* @__PURE__ */ s.jsx("span", { children: t.text }) : t.text,
|
|
68
|
-
/* @__PURE__ */ s.jsx(
|
|
67
|
+
/* @__PURE__ */ s.jsx(f, {})
|
|
69
68
|
] })
|
|
70
69
|
}
|
|
71
70
|
)
|
|
@@ -79,13 +78,13 @@ const O = ({
|
|
|
79
78
|
type: "primary",
|
|
80
79
|
icon: /* @__PURE__ */ s.jsx(c, {}),
|
|
81
80
|
className: y,
|
|
82
|
-
...
|
|
81
|
+
...a(n, "text", "show", "type", "className", "children"),
|
|
83
82
|
children: n == null ? void 0 : n.text
|
|
84
83
|
}
|
|
85
84
|
),
|
|
86
85
|
m ? d : E,
|
|
87
86
|
(r == null ? void 0 : r.show) !== !1 && /* @__PURE__ */ s.jsx(
|
|
88
|
-
|
|
87
|
+
g,
|
|
89
88
|
{
|
|
90
89
|
menu: { items: w, onClick: ({ key: t }) => {
|
|
91
90
|
var e;
|
|
@@ -93,18 +92,18 @@ const O = ({
|
|
|
93
92
|
} },
|
|
94
93
|
trigger: (r == null ? void 0 : r.trigger) || ["click"],
|
|
95
94
|
getPopupContainer: (t) => {
|
|
96
|
-
var e,
|
|
97
|
-
return (
|
|
95
|
+
var e, o;
|
|
96
|
+
return (o = (e = t.parentElement) == null ? void 0 : e.parentElement) == null ? void 0 : o.parentElement;
|
|
98
97
|
},
|
|
99
|
-
...
|
|
98
|
+
...a(r, "text", "show", "menu", "trigger", "children"),
|
|
100
99
|
children: /* @__PURE__ */ s.jsx(i, { className: p, type: "text", children: /* @__PURE__ */ s.jsxs(l, { size: 6, children: [
|
|
101
100
|
/* @__PURE__ */ s.jsx("span", { children: (r == null ? void 0 : r.text) ?? "Excel文档导入" }),
|
|
102
|
-
/* @__PURE__ */ s.jsx(
|
|
101
|
+
/* @__PURE__ */ s.jsx(f, {})
|
|
103
102
|
] }) })
|
|
104
103
|
}
|
|
105
104
|
)
|
|
106
105
|
] });
|
|
107
106
|
};
|
|
108
107
|
export {
|
|
109
|
-
|
|
108
|
+
G as default
|
|
110
109
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { j as e } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import p from "../../BitzButton/index.mjs";
|
|
3
|
-
import c from "
|
|
3
|
+
import { PlusCircleFilled as c } from "@ant-design/icons";
|
|
4
|
+
import x from "../../../node_modules/classnames/index.mjs";
|
|
4
5
|
import { useMemo as s } from "react";
|
|
5
|
-
import
|
|
6
|
-
import B from "../../../node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs";
|
|
6
|
+
import B from "./style.mjs";
|
|
7
7
|
const z = ({
|
|
8
8
|
className: o,
|
|
9
9
|
icon: n,
|
|
10
10
|
type: r,
|
|
11
11
|
...i
|
|
12
12
|
}) => {
|
|
13
|
-
const { addBtnClassName: m, btnClassName: a } =
|
|
13
|
+
const { addBtnClassName: m, btnClassName: a } = B(), u = s(() => {
|
|
14
14
|
if (n)
|
|
15
15
|
return n;
|
|
16
16
|
if (r === "primary")
|
|
17
|
-
return /* @__PURE__ */ e.jsx(
|
|
17
|
+
return /* @__PURE__ */ e.jsx(c, {});
|
|
18
18
|
}, [n, r]), l = s(() => {
|
|
19
19
|
let t = a;
|
|
20
|
-
return r === "primary" && (t = m),
|
|
20
|
+
return r === "primary" && (t = m), x(t, o);
|
|
21
21
|
}, [r, o]), f = s(() => {
|
|
22
22
|
let t = "text";
|
|
23
23
|
return r === "primary" && (t = "primary"), t;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as s } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import n from "../../BitzButton/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { CaretDownOutlined as p } from "@ant-design/icons";
|
|
4
|
+
import { Dropdown as l, Space as m } from "antd";
|
|
5
|
+
import { useMemo as d } from "react";
|
|
5
6
|
import c from "./style.mjs";
|
|
6
|
-
import
|
|
7
|
-
import x from "../../../node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs";
|
|
7
|
+
import x from "../Dropdown/style.mjs";
|
|
8
8
|
const a = (t, o) => t == null ? void 0 : t.map((e) => {
|
|
9
9
|
const r = { ...e };
|
|
10
10
|
return r != null && r.children && (r.children = a(r == null ? void 0 : r.children, o), r.popupClassName = o), r;
|
|
@@ -14,16 +14,16 @@ const a = (t, o) => t == null ? void 0 : t.map((e) => {
|
|
|
14
14
|
const { btnClassName: o } = c();
|
|
15
15
|
return /* @__PURE__ */ s.jsx(n, { className: o, type: "text", ...t });
|
|
16
16
|
}, S = ({ menu: t, children: o }) => {
|
|
17
|
-
const { btnClassName: e } = c(), { popupClassName: r } =
|
|
17
|
+
const { btnClassName: e } = c(), { popupClassName: r } = x(), i = d(() => a(t == null ? void 0 : t.items, r), [t == null ? void 0 : t.items]);
|
|
18
18
|
return /* @__PURE__ */ s.jsx(
|
|
19
|
-
|
|
19
|
+
l,
|
|
20
20
|
{
|
|
21
21
|
menu: { ...t, items: i },
|
|
22
22
|
overlayClassName: r,
|
|
23
23
|
trigger: ["click"],
|
|
24
|
-
children: /* @__PURE__ */ s.jsx(n, { className: e, type: "text", children: /* @__PURE__ */ s.jsxs(
|
|
24
|
+
children: /* @__PURE__ */ s.jsx(n, { className: e, type: "text", children: /* @__PURE__ */ s.jsxs(m, { size: 2, children: [
|
|
25
25
|
/* @__PURE__ */ s.jsx("span", { children: o }),
|
|
26
|
-
/* @__PURE__ */ s.jsx(
|
|
26
|
+
/* @__PURE__ */ s.jsx(p, {})
|
|
27
27
|
] }) })
|
|
28
28
|
}
|
|
29
29
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as je } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Table as fe } from "antd";
|
|
3
3
|
import v from "../../../hooks/useMergedState.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { merge as y } from "lodash-es";
|
|
5
|
+
import { createContext as ke, useRef as Re, useState as w, useContext as Le, useMemo as S, useEffect as g, useCallback as N } from "react";
|
|
5
6
|
import { flattenColumns as Ue, genColumnKey as B } from "./utils/index.mjs";
|
|
6
7
|
import { getUuid as Ae } from "../../../utils/uuid.mjs";
|
|
7
8
|
import { BitzConfigContext as De } from "../../BitzConfigProvider/context.mjs";
|
|
8
|
-
import g from "../../../node_modules/lodash-es/merge.mjs";
|
|
9
9
|
const Ze = {
|
|
10
10
|
fixed: "left",
|
|
11
11
|
className: "sorterCol",
|
|
@@ -23,9 +23,9 @@ const Ze = {
|
|
|
23
23
|
], ue = 5;
|
|
24
24
|
function Fe(e) {
|
|
25
25
|
var j, k, R, L, U, A, D, Z, _, F, W, X, q, Q, Y, $, G, p, ee, te, ne, ie, ae, oe, ce, le, re;
|
|
26
|
-
const T = Re(Ae()), [de, ye] = w(!1), [Se, ge] = w(!1), [Ce, me] = w(0), r = Le(De).Table, E = e.defaultSize ?? (r == null ? void 0 : r.defaultSize) ?? "lg", we = e.defaultZebra ?? (r == null ? void 0 : r.zebra) ?? !0, he = e.defaultBordered ?? (r == null ? void 0 : r.bordered) ?? "row-column", xe = e.defaultPageSize ?? (r == null ? void 0 : r.pageSize) ?? 10, Te = e.defaultOrderBy ?? (r == null ? void 0 : r.orderBy) ?? "desc", V =
|
|
26
|
+
const T = Re(Ae()), [de, ye] = w(!1), [Se, ge] = w(!1), [Ce, me] = w(0), r = Le(De).Table, E = e.defaultSize ?? (r == null ? void 0 : r.defaultSize) ?? "lg", we = e.defaultZebra ?? (r == null ? void 0 : r.zebra) ?? !0, he = e.defaultBordered ?? (r == null ? void 0 : r.bordered) ?? "row-column", xe = e.defaultPageSize ?? (r == null ? void 0 : r.pageSize) ?? 10, Te = e.defaultOrderBy ?? (r == null ? void 0 : r.orderBy) ?? "desc", V = S(() => {
|
|
27
27
|
var t;
|
|
28
|
-
return
|
|
28
|
+
return y(
|
|
29
29
|
{
|
|
30
30
|
size: E,
|
|
31
31
|
zebra: we,
|
|
@@ -56,7 +56,7 @@ function Fe(e) {
|
|
|
56
56
|
try {
|
|
57
57
|
const l = i == null ? void 0 : i.getItem(c);
|
|
58
58
|
if (l)
|
|
59
|
-
return (n = e == null ? void 0 : e.stylesConfigState) != null && n.defaultValue ?
|
|
59
|
+
return (n = e == null ? void 0 : e.stylesConfigState) != null && n.defaultValue ? y(
|
|
60
60
|
JSON.parse(l),
|
|
61
61
|
(o = e == null ? void 0 : e.stylesConfigState) == null ? void 0 : o.defaultValue
|
|
62
62
|
) : JSON.parse(l);
|
|
@@ -71,7 +71,7 @@ function Fe(e) {
|
|
|
71
71
|
onChange: ((R = e.stylesConfigState) == null ? void 0 : R.onChange) || e.onStylesConfigChange
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
g(() => {
|
|
75
75
|
var n, o;
|
|
76
76
|
if (!((n = e.stylesConfigState) != null && n.persistenceKey) || !((o = e.stylesConfigState) != null && o.persistenceType) || typeof window > "u")
|
|
77
77
|
return;
|
|
@@ -92,25 +92,27 @@ function Fe(e) {
|
|
|
92
92
|
(L = e.stylesConfigState) == null ? void 0 : L.persistenceKey,
|
|
93
93
|
C,
|
|
94
94
|
(U = e.stylesConfigState) == null ? void 0 : U.persistenceType
|
|
95
|
-
]),
|
|
95
|
+
]), g(() => {
|
|
96
96
|
var t, c, n;
|
|
97
97
|
if ((t = e.stylesConfigState) != null && t.persistenceKey && ((c = e.stylesConfigState) == null ? void 0 : c.persistenceType) === "online") {
|
|
98
98
|
const { onlineGet: o, persistenceKey: a } = e.stylesConfigState;
|
|
99
99
|
try {
|
|
100
100
|
(n = o == null ? void 0 : o(a)) == null || n.then((i) => {
|
|
101
101
|
const { config: l, global: s } = i ?? {};
|
|
102
|
-
I(
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
I({
|
|
103
|
+
...V,
|
|
104
|
+
...s,
|
|
105
|
+
...l
|
|
106
|
+
});
|
|
105
107
|
});
|
|
106
108
|
} catch (i) {
|
|
107
109
|
console.warn(i);
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
}, []);
|
|
111
|
-
const f =
|
|
113
|
+
const f = S(() => (e.columns ?? []).filter(
|
|
112
114
|
(t) => !_e.includes(t) && t.title
|
|
113
|
-
), [e.columns]), h =
|
|
115
|
+
), [e.columns]), h = S(() => {
|
|
114
116
|
var o;
|
|
115
117
|
const t = {
|
|
116
118
|
fields: [],
|
|
@@ -135,7 +137,7 @@ function Fe(e) {
|
|
|
135
137
|
});
|
|
136
138
|
}), t.fields = a;
|
|
137
139
|
}
|
|
138
|
-
return (o = e == null ? void 0 : e.exportConfigState) != null && o.defaultValue ?
|
|
140
|
+
return (o = e == null ? void 0 : e.exportConfigState) != null && o.defaultValue ? y(t, e.exportConfigState.defaultValue) : t;
|
|
139
141
|
}, [f]), [z, x] = v(
|
|
140
142
|
() => {
|
|
141
143
|
var n, o, a;
|
|
@@ -145,7 +147,7 @@ function Fe(e) {
|
|
|
145
147
|
try {
|
|
146
148
|
const l = i == null ? void 0 : i.getItem(c);
|
|
147
149
|
if (l)
|
|
148
|
-
return (n = e == null ? void 0 : e.exportConfigState) != null && n.defaultValue ?
|
|
150
|
+
return (n = e == null ? void 0 : e.exportConfigState) != null && n.defaultValue ? y(
|
|
149
151
|
JSON.parse(l),
|
|
150
152
|
(o = e == null ? void 0 : e.exportConfigState) == null ? void 0 : o.defaultValue
|
|
151
153
|
) : JSON.parse(l);
|
|
@@ -160,7 +162,7 @@ function Fe(e) {
|
|
|
160
162
|
onChange: ((D = e.exportConfigState) == null ? void 0 : D.onChange) || e.onExportConfigChange
|
|
161
163
|
}
|
|
162
164
|
);
|
|
163
|
-
|
|
165
|
+
g(() => {
|
|
164
166
|
var n, o;
|
|
165
167
|
const { persistenceType: t, persistenceKey: c } = e.exportConfigState || {};
|
|
166
168
|
if (c && t && typeof window < "u" && t !== "online") {
|
|
@@ -168,7 +170,7 @@ function Fe(e) {
|
|
|
168
170
|
try {
|
|
169
171
|
const i = a == null ? void 0 : a.getItem(c);
|
|
170
172
|
i ? (n = e == null ? void 0 : e.exportConfigState) != null && n.defaultValue ? x(
|
|
171
|
-
|
|
173
|
+
y(
|
|
172
174
|
JSON.parse(i),
|
|
173
175
|
(o = e == null ? void 0 : e.exportConfigState) == null ? void 0 : o.defaultValue
|
|
174
176
|
)
|
|
@@ -181,7 +183,7 @@ function Fe(e) {
|
|
|
181
183
|
(Z = e.exportConfigState) == null ? void 0 : Z.persistenceKey,
|
|
182
184
|
(_ = e.exportConfigState) == null ? void 0 : _.persistenceType,
|
|
183
185
|
h
|
|
184
|
-
]),
|
|
186
|
+
]), g(() => {
|
|
185
187
|
var n, o;
|
|
186
188
|
if (!((n = e.exportConfigState) != null && n.persistenceKey) || !((o = e.exportConfigState) != null && o.persistenceType) || typeof window > "u")
|
|
187
189
|
return;
|
|
@@ -202,14 +204,14 @@ function Fe(e) {
|
|
|
202
204
|
(F = e.exportConfigState) == null ? void 0 : F.persistenceKey,
|
|
203
205
|
z,
|
|
204
206
|
(W = e.exportConfigState) == null ? void 0 : W.persistenceType
|
|
205
|
-
]),
|
|
207
|
+
]), g(() => {
|
|
206
208
|
var t, c, n;
|
|
207
209
|
if ((t = e.exportConfigState) != null && t.persistenceKey && ((c = e.exportConfigState) == null ? void 0 : c.persistenceType) === "online") {
|
|
208
210
|
const { onlineGet: o, persistenceKey: a } = e.exportConfigState;
|
|
209
211
|
try {
|
|
210
212
|
(n = o == null ? void 0 : o(a)) == null || n.then((i) => {
|
|
211
213
|
var s;
|
|
212
|
-
const l =
|
|
214
|
+
const l = y(i ?? {}, (s = e == null ? void 0 : e.exportConfigState) == null ? void 0 : s.value);
|
|
213
215
|
x(
|
|
214
216
|
Object.keys(l).length ? l : h
|
|
215
217
|
);
|
|
@@ -219,7 +221,7 @@ function Fe(e) {
|
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
223
|
}, []);
|
|
222
|
-
const u =
|
|
224
|
+
const u = S(() => {
|
|
223
225
|
var i;
|
|
224
226
|
if ((i = e == null ? void 0 : e.columnsState) != null && i.defaultValue)
|
|
225
227
|
return e.columnsState.defaultValue;
|
|
@@ -242,7 +244,7 @@ function Fe(e) {
|
|
|
242
244
|
try {
|
|
243
245
|
const s = l == null ? void 0 : l.getItem(c);
|
|
244
246
|
if (s)
|
|
245
|
-
return (n = e == null ? void 0 : e.columnsState) != null && n.defaultValue ?
|
|
247
|
+
return (n = e == null ? void 0 : e.columnsState) != null && n.defaultValue ? y(
|
|
246
248
|
JSON.parse(s),
|
|
247
249
|
(o = e == null ? void 0 : e.columnsState) == null ? void 0 : o.defaultValue
|
|
248
250
|
) : JSON.parse(s);
|
|
@@ -257,7 +259,7 @@ function Fe(e) {
|
|
|
257
259
|
onChange: ((q = e.columnsState) == null ? void 0 : q.onChange) || e.onColumnsStateChange
|
|
258
260
|
}
|
|
259
261
|
);
|
|
260
|
-
|
|
262
|
+
g(() => {
|
|
261
263
|
var n, o;
|
|
262
264
|
const { persistenceType: t, persistenceKey: c } = e.columnsState || {};
|
|
263
265
|
if (c && t && typeof window < "u" && t !== "online") {
|
|
@@ -265,7 +267,7 @@ function Fe(e) {
|
|
|
265
267
|
try {
|
|
266
268
|
const i = a == null ? void 0 : a.getItem(c);
|
|
267
269
|
i ? (n = e == null ? void 0 : e.columnsState) != null && n.defaultValue ? m(
|
|
268
|
-
|
|
270
|
+
y(
|
|
269
271
|
JSON.parse(i),
|
|
270
272
|
(o = e == null ? void 0 : e.columnsState) == null ? void 0 : o.defaultValue
|
|
271
273
|
)
|
|
@@ -310,7 +312,7 @@ function Fe(e) {
|
|
|
310
312
|
console.warn(o);
|
|
311
313
|
}
|
|
312
314
|
}, [e.exportConfigState]);
|
|
313
|
-
|
|
315
|
+
g(() => {
|
|
314
316
|
var n, o;
|
|
315
317
|
if (!((n = e.columnsState) != null && n.persistenceKey) || !((o = e.columnsState) != null && o.persistenceType) || typeof window > "u")
|
|
316
318
|
return;
|
|
@@ -331,21 +333,21 @@ function Fe(e) {
|
|
|
331
333
|
($ = e.columnsState) == null ? void 0 : $.persistenceKey,
|
|
332
334
|
d,
|
|
333
335
|
(G = e.columnsState) == null ? void 0 : G.persistenceType
|
|
334
|
-
]),
|
|
336
|
+
]), g(() => {
|
|
335
337
|
var t, c, n;
|
|
336
338
|
if ((t = e.columnsState) != null && t.persistenceKey && ((c = e.columnsState) == null ? void 0 : c.persistenceType) === "online") {
|
|
337
339
|
const { onlineGet: o, persistenceKey: a } = e.columnsState;
|
|
338
340
|
try {
|
|
339
341
|
(n = o == null ? void 0 : o(a)) == null || n.then((i) => {
|
|
340
342
|
var s;
|
|
341
|
-
const l =
|
|
343
|
+
const l = y(i ?? {}, (s = e == null ? void 0 : e.columnsState) == null ? void 0 : s.value);
|
|
342
344
|
m(l), Oe(!0);
|
|
343
345
|
});
|
|
344
346
|
} catch (i) {
|
|
345
347
|
console.warn(i);
|
|
346
348
|
}
|
|
347
349
|
}
|
|
348
|
-
}, []),
|
|
350
|
+
}, []), g(() => {
|
|
349
351
|
var n, o;
|
|
350
352
|
const t = f.findIndex((a) => a == null ? void 0 : a.isOperationCol), c = Object.keys(d ?? {}).length === 0;
|
|
351
353
|
if (t >= 0) {
|
|
@@ -354,7 +356,7 @@ function Fe(e) {
|
|
|
354
356
|
} else
|
|
355
357
|
c && m(u);
|
|
356
358
|
}, [u, d]);
|
|
357
|
-
const Ve =
|
|
359
|
+
const Ve = S(() => (e == null ? void 0 : e.rowHoverable) ?? (r == null ? void 0 : r.rowHoverable) ?? !0, [e == null ? void 0 : e.rowHoverable, r == null ? void 0 : r.rowHoverable]), ze = S(() => e.zebra ?? C.zebra, [e.zebra, C.zebra]), K = S(() => e.bordered ?? C.bordered, [e.bordered, C.bordered]), be = S(() => ["column", "row-column"].includes(K), [K]), ve = S(() => {
|
|
358
360
|
let t = !1;
|
|
359
361
|
return ["hide", "column"].includes(K) && (t = !0), t;
|
|
360
362
|
}, [K]), [Ne, b] = w(!1), [Be, O] = w(ue), Ee = () => {
|