@ant-design/pro-components 3.0.0-beta.1 → 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pro-components.min.js +1 -1
- package/es/card/ProCard.d.ts +0 -1
- package/es/card/ProCard.js +11 -23
- package/es/card/components/Actions/index.js +33 -28
- package/es/card/components/Actions/style.js +72 -100
- package/es/card/components/Card/index.js +212 -258
- package/es/card/components/Card/style.js +192 -266
- package/es/card/components/CheckCard/Group.js +198 -208
- package/es/card/components/CheckCard/index.js +151 -160
- package/es/card/components/CheckCard/style.js +186 -212
- package/es/card/components/Divider/index.js +23 -18
- package/es/card/components/Divider/style.js +30 -54
- package/es/card/components/Loading/index.js +80 -13
- package/es/card/components/Loading/style.js +42 -63
- package/es/card/components/Operation/index.js +22 -17
- package/es/card/components/Operation/style.js +19 -43
- package/es/card/components/Statistic/index.js +79 -96
- package/es/card/components/Statistic/style.js +76 -115
- package/es/card/components/StatisticCard/index.d.ts +0 -2
- package/es/card/components/StatisticCard/index.js +59 -70
- package/es/card/components/StatisticCard/style.js +36 -55
- package/es/card/index.d.ts +2 -2
- package/es/card/index.js +2 -9
- package/es/card/typing.js +1 -0
- package/es/descriptions/index.js +363 -414
- package/es/descriptions/useFetchData.js +94 -73
- package/es/field/AllProField.js +438 -361
- package/es/field/FieldHOC/index.js +32 -28
- package/es/field/PureProField.js +129 -160
- package/es/field/ValueTypeToComponent.js +686 -396
- package/es/field/components/Cascader/index.d.ts +2 -2
- package/es/field/components/Cascader/index.js +124 -149
- package/es/field/components/Checkbox/index.d.ts +1 -1
- package/es/field/components/Checkbox/index.js +106 -128
- package/es/field/components/Code/index.js +67 -60
- package/es/field/components/ColorPicker/index.d.ts +1 -1
- package/es/field/components/ColorPicker/index.js +55 -78
- package/es/field/components/DatePicker/index.d.ts +2 -2
- package/es/field/components/DatePicker/index.js +100 -116
- package/es/field/components/Digit/index.js +84 -83
- package/es/field/components/DigitRange/index.js +102 -96
- package/es/field/components/FromNow/index.js +50 -62
- package/es/field/components/Image/index.js +46 -50
- package/es/field/components/IndexColumn/index.js +45 -43
- package/es/field/components/Money/index.js +244 -253
- package/es/field/components/Options/index.js +61 -71
- package/es/field/components/Password/index.js +62 -59
- package/es/field/components/Percent/index.js +74 -80
- package/es/field/components/Percent/util.js +23 -18
- package/es/field/components/Progress/index.js +53 -54
- package/es/field/components/Radio/index.d.ts +1 -1
- package/es/field/components/Radio/index.js +85 -107
- package/es/field/components/RangePicker/index.d.ts +2 -2
- package/es/field/components/RangePicker/index.js +122 -137
- package/es/field/components/Rate/index.js +39 -35
- package/es/field/components/Second/index.js +61 -59
- package/es/field/components/Segmented/index.d.ts +1 -1
- package/es/field/components/Segmented/index.js +68 -90
- package/es/field/components/Select/LightSelect/index.d.ts +1 -1
- package/es/field/components/Select/LightSelect/index.js +210 -256
- package/es/field/components/Select/SearchSelect/index.js +192 -225
- package/es/field/components/Select/index.d.ts +2 -2
- package/es/field/components/Select/index.js +299 -368
- package/es/field/components/Slider/index.js +39 -45
- package/es/field/components/Status/index.js +83 -23
- package/es/field/components/Switch/index.d.ts +1 -1
- package/es/field/components/Switch/index.js +60 -71
- package/es/field/components/Text/index.js +53 -48
- package/es/field/components/TextArea/index.js +39 -53
- package/es/field/components/TextArea/readonly.js +36 -50
- package/es/field/components/TimePicker/index.js +182 -190
- package/es/field/components/TreeSelect/index.d.ts +2 -2
- package/es/field/components/TreeSelect/index.js +178 -184
- package/es/field/index.js +3 -43
- package/es/form/BaseForm/BaseForm.js +581 -621
- package/es/form/BaseForm/EditOrReadOnlyContext.js +4 -8
- package/es/form/BaseForm/LightWrapper/index.js +104 -161
- package/es/form/BaseForm/LightWrapper/style.js +14 -41
- package/es/form/BaseForm/Submitter/index.js +69 -100
- package/es/form/BaseForm/index.js +1 -2
- package/es/form/FieldContext.js +4 -8
- package/es/form/components/Captcha/index.js +162 -169
- package/es/form/components/Cascader/index.js +46 -75
- package/es/form/components/Checkbox/index.js +73 -98
- package/es/form/components/ColorPicker/index.js +43 -64
- package/es/form/components/DatePicker/BaseDatePicker.js +45 -69
- package/es/form/components/DatePicker/DatePicker.js +26 -51
- package/es/form/components/DatePicker/DateTimePicker.js +26 -50
- package/es/form/components/DatePicker/MonthPicker.js +26 -51
- package/es/form/components/DatePicker/QuarterPicker.js +26 -51
- package/es/form/components/DatePicker/TimePicker.js +43 -72
- package/es/form/components/DatePicker/WeekPicker.js +26 -51
- package/es/form/components/DatePicker/YearPicker.js +26 -51
- package/es/form/components/DatePicker/index.js +4 -6
- package/es/form/components/DateRangePicker/BaseDateRanger.js +42 -70
- package/es/form/components/DateRangePicker/DateMonthRangePicker.js +29 -51
- package/es/form/components/DateRangePicker/DateQuarterRangePicker.js +29 -51
- package/es/form/components/DateRangePicker/DateTimeRangePicker.js +29 -51
- package/es/form/components/DateRangePicker/DateWeekRangePicker.js +29 -51
- package/es/form/components/DateRangePicker/DateYearRangePicker.js +29 -51
- package/es/form/components/DateRangePicker/TimeRangePicker.js +42 -67
- package/es/form/components/DateRangePicker/index.js +29 -51
- package/es/form/components/Dependency/index.js +56 -96
- package/es/form/components/Digit/DigitRange.d.ts +1 -1
- package/es/form/components/Digit/DigitRange.js +42 -75
- package/es/form/components/Digit/index.js +47 -78
- package/es/form/components/Field/index.js +80 -124
- package/es/form/components/FieldSet/index.js +95 -123
- package/es/form/components/FormItem/FormItemRender/index.js +135 -92
- package/es/form/components/FormItem/Group/index.js +134 -169
- package/es/form/components/FormItem/Group/style.js +41 -62
- package/es/form/components/FormItem/index.js +252 -293
- package/es/form/components/FormItem/warpField.js +218 -285
- package/es/form/components/List/ListContainer.js +221 -181
- package/es/form/components/List/ListItem.js +258 -350
- package/es/form/components/List/index.js +195 -252
- package/es/form/components/List/style.js +48 -95
- package/es/form/components/Money/index.js +50 -80
- package/es/form/components/Radio/index.js +52 -86
- package/es/form/components/Rate/index.js +37 -60
- package/es/form/components/SchemaForm/index.js +121 -167
- package/es/form/components/SchemaForm/layoutType/Embed.js +8 -5
- package/es/form/components/SchemaForm/layoutType/StepsForm.js +35 -68
- package/es/form/components/SchemaForm/layoutType/index.js +2 -7
- package/es/form/components/SchemaForm/typing.js +1 -0
- package/es/form/components/SchemaForm/valueType/dependency.js +19 -43
- package/es/form/components/SchemaForm/valueType/divider.js +11 -30
- package/es/form/components/SchemaForm/valueType/field.js +59 -100
- package/es/form/components/SchemaForm/valueType/formList.js +16 -42
- package/es/form/components/SchemaForm/valueType/formSet.js +16 -42
- package/es/form/components/SchemaForm/valueType/group.js +15 -37
- package/es/form/components/SchemaForm/valueType/ignore.js +4 -7
- package/es/form/components/SchemaForm/valueType/index.js +16 -17
- package/es/form/components/Segmented/index.js +43 -61
- package/es/form/components/Select/index.js +114 -151
- package/es/form/components/Slider/index.js +54 -91
- package/es/form/components/Switch/index.js +47 -71
- package/es/form/components/Text/index.js +132 -161
- package/es/form/components/TextArea/index.js +34 -57
- package/es/form/components/TreeSelect/index.js +42 -61
- package/es/form/components/UploadButton/index.js +125 -145
- package/es/form/components/UploadDragger/index.js +77 -92
- package/es/form/components/index.js +36 -88
- package/es/form/helpers/grid.js +77 -82
- package/es/form/helpers/index.js +1 -2
- package/es/form/index.js +6 -15
- package/es/form/layouts/DrawerForm/index.js +308 -315
- package/es/form/layouts/DrawerForm/style.js +26 -50
- package/es/form/layouts/LightFilter/index.js +208 -270
- package/es/form/layouts/LightFilter/style.js +49 -74
- package/es/form/layouts/LoginForm/index.js +85 -104
- package/es/form/layouts/LoginForm/style.js +68 -95
- package/es/form/layouts/LoginFormPage/index.js +141 -147
- package/es/form/layouts/LoginFormPage/style.js +129 -154
- package/es/form/layouts/ModalForm/index.js +247 -253
- package/es/form/layouts/ProForm/index.js +15 -32
- package/es/form/layouts/QueryFilter/Actions.js +52 -47
- package/es/form/layouts/QueryFilter/index.js +297 -359
- package/es/form/layouts/QueryFilter/style.js +38 -69
- package/es/form/layouts/StepsForm/StepForm.js +87 -119
- package/es/form/layouts/StepsForm/index.js +339 -353
- package/es/form/layouts/StepsForm/style.js +29 -50
- package/es/form/layouts/index.js +9 -20
- package/es/form/typing.js +1 -0
- package/es/index.js +1 -5
- package/es/layout/ProLayout.js +426 -497
- package/es/layout/WrapContent.js +26 -15
- package/es/layout/assert/Logo.js +107 -79
- package/es/layout/components/AppsLogoComponents/AppsLogo.js +13 -11
- package/es/layout/components/AppsLogoComponents/DefaultContent.js +50 -56
- package/es/layout/components/AppsLogoComponents/SimpleContent.js +73 -66
- package/es/layout/components/AppsLogoComponents/index.js +90 -73
- package/es/layout/components/AppsLogoComponents/style/default.js +31 -35
- package/es/layout/components/AppsLogoComponents/style/index.js +51 -77
- package/es/layout/components/AppsLogoComponents/style/simple.js +37 -40
- package/es/layout/components/CollapsedIcon/index.js +19 -55
- package/es/layout/components/CollapsedIcon/style.js +42 -66
- package/es/layout/components/Footer.js +27 -38
- package/es/layout/components/FooterToolbar/index.js +78 -102
- package/es/layout/components/FooterToolbar/style/index.js +38 -62
- package/es/layout/components/FooterToolbar/style/stylish.js +10 -38
- package/es/layout/components/GlobalFooter/index.js +37 -31
- package/es/layout/components/GlobalFooter/style.js +32 -53
- package/es/layout/components/GlobalHeader/ActionsContent.js +132 -181
- package/es/layout/components/GlobalHeader/index.d.ts +0 -5
- package/es/layout/components/GlobalHeader/index.js +76 -84
- package/es/layout/components/GlobalHeader/rightContentStyle.js +52 -76
- package/es/layout/components/GlobalHeader/style.js +57 -83
- package/es/layout/components/GridContent/index.js +35 -33
- package/es/layout/components/GridContent/style.js +14 -38
- package/es/layout/components/Header/index.js +95 -124
- package/es/layout/components/Header/style/header.js +48 -72
- package/es/layout/components/Header/style/stylish.js +12 -42
- package/es/layout/components/Help/AsyncContentPanel.js +53 -42
- package/es/layout/components/Help/HelpProvide.js +55 -6
- package/es/layout/components/Help/ProHelpContentPanel.js +128 -127
- package/es/layout/components/Help/ProHelpDrawer.js +48 -76
- package/es/layout/components/Help/ProHelpModal.js +47 -76
- package/es/layout/components/Help/ProHelpPanel.js +183 -224
- package/es/layout/components/Help/ProHelpPopover.js +37 -64
- package/es/layout/components/Help/RenderContentPanel.js +90 -103
- package/es/layout/components/Help/Search.js +124 -163
- package/es/layout/components/Help/index.js +19 -40
- package/es/layout/components/Help/style.js +90 -115
- package/es/layout/components/PageContainer/index.js +233 -280
- package/es/layout/components/PageContainer/style/index.js +78 -118
- package/es/layout/components/PageContainer/style/stylish.js +10 -38
- package/es/layout/components/PageHeader/index.js +144 -129
- package/es/layout/components/PageHeader/style/index.js +125 -172
- package/es/layout/components/PageLoading/index.js +23 -50
- package/es/layout/components/SettingDrawer/BlockCheckbox.js +42 -42
- package/es/layout/components/SettingDrawer/LayoutChange.js +108 -98
- package/es/layout/components/SettingDrawer/RegionalChange.js +31 -34
- package/es/layout/components/SettingDrawer/ThemeColor.js +50 -69
- package/es/layout/components/SettingDrawer/icon/group.js +109 -88
- package/es/layout/components/SettingDrawer/icon/sub.js +70 -116
- package/es/layout/components/SettingDrawer/index.js +405 -420
- package/es/layout/components/SettingDrawer/style/index.js +142 -146
- package/es/layout/components/SiderMenu/Arrow.js +12 -15
- package/es/layout/components/SiderMenu/BaseMenu.js +402 -451
- package/es/layout/components/SiderMenu/SiderMenu.js +246 -336
- package/es/layout/components/SiderMenu/index.js +72 -101
- package/es/layout/components/SiderMenu/style/index.js +171 -210
- package/es/layout/components/SiderMenu/style/menu.js +110 -173
- package/es/layout/components/SiderMenu/style/stylish.js +12 -42
- package/es/layout/components/TopNavHeader/index.js +106 -179
- package/es/layout/components/TopNavHeader/style.js +67 -95
- package/es/layout/context/RouteContext.js +2 -6
- package/es/layout/defaultSettings.js +6 -9
- package/es/layout/getPageTitle.js +46 -40
- package/es/layout/index.js +4 -27
- package/es/layout/locales/en-US/settingDrawer.js +43 -47
- package/es/layout/locales/en-US.js +2 -22
- package/es/layout/locales/index.js +13 -18
- package/es/layout/locales/it-IT/settingDrawer.js +34 -38
- package/es/layout/locales/it-IT.js +2 -22
- package/es/layout/locales/ko-KR/settingDrawer.js +39 -43
- package/es/layout/locales/ko-KR.js +2 -22
- package/es/layout/locales/zh-CN/settingDrawer.js +43 -47
- package/es/layout/locales/zh-CN.js +2 -22
- package/es/layout/locales/zh-TW/settingDrawer.js +35 -39
- package/es/layout/locales/zh-TW.js +2 -22
- package/es/layout/style/index.js +43 -73
- package/es/layout/typing.js +1 -0
- package/es/layout/utils/getBreadcrumbProps.js +111 -91
- package/es/layout/utils/getMenuData.js +18 -21
- package/es/layout/utils/pathTools.js +11 -12
- package/es/layout/utils/useCurrentMenuLayoutProps.js +21 -29
- package/es/layout/utils/utils.js +35 -51
- package/es/list/Item.js +222 -294
- package/es/list/ListView.js +188 -232
- package/es/list/constants.js +4 -17
- package/es/list/index.js +121 -178
- package/es/list/style/index.js +224 -287
- package/es/provider/index.js +228 -179
- package/es/provider/intl.js +100 -124
- package/es/provider/locale/ar_EG.js +47 -51
- package/es/provider/locale/ca_ES.js +45 -49
- package/es/provider/locale/cs_CZ.js +50 -54
- package/es/provider/locale/de_DE.js +47 -51
- package/es/provider/locale/en_GB.js +49 -53
- package/es/provider/locale/en_US.js +51 -55
- package/es/provider/locale/es_ES.js +47 -51
- package/es/provider/locale/fa_IR.js +47 -51
- package/es/provider/locale/fr_FR.js +47 -51
- package/es/provider/locale/he_IL.js +50 -54
- package/es/provider/locale/hr_HR.js +47 -51
- package/es/provider/locale/id_ID.js +47 -51
- package/es/provider/locale/it_IT.js +47 -51
- package/es/provider/locale/ja_JP.js +47 -51
- package/es/provider/locale/ko_KR.js +47 -51
- package/es/provider/locale/mn_MN.js +47 -51
- package/es/provider/locale/ms_MY.js +47 -51
- package/es/provider/locale/nl_NL.js +50 -54
- package/es/provider/locale/pl_PL.js +47 -51
- package/es/provider/locale/pt_BR.js +47 -51
- package/es/provider/locale/ro_RO.js +50 -54
- package/es/provider/locale/ru_RU.js +47 -51
- package/es/provider/locale/sk_SK.js +50 -54
- package/es/provider/locale/sr_RS.js +47 -51
- package/es/provider/locale/sv_SE.js +50 -54
- package/es/provider/locale/th_TH.js +50 -54
- package/es/provider/locale/tr_TR.js +47 -51
- package/es/provider/locale/uk_UA.js +50 -54
- package/es/provider/locale/uz_UZ.js +47 -51
- package/es/provider/locale/vi_VN.js +47 -51
- package/es/provider/locale/zh_CN.js +50 -54
- package/es/provider/locale/zh_HK.js +50 -54
- package/es/provider/locale/zh_TW.js +50 -54
- package/es/provider/typing/layoutToken.d.ts +0 -10
- package/es/provider/typing/layoutToken.js +19 -42
- package/es/provider/useStyle/index.d.ts +1 -1
- package/es/provider/useStyle/index.js +91 -78
- package/es/provider/utils/merge.js +13 -29
- package/es/skeleton/components/Descriptions/index.js +240 -252
- package/es/skeleton/components/List/index.js +217 -207
- package/es/skeleton/components/Result/index.js +57 -54
- package/es/skeleton/index.js +18 -62
- package/es/table/Store/Provide.d.ts +0 -1
- package/es/table/Store/Provide.js +141 -128
- package/es/table/Table.js +645 -698
- package/es/table/components/Alert/index.js +60 -37
- package/es/table/components/Alert/style.js +28 -52
- package/es/table/components/ColumnSetting/index.js +382 -387
- package/es/table/components/ColumnSetting/style.js +72 -108
- package/es/table/components/DragSortTable/index.js +101 -137
- package/es/table/components/DragSortTable/style.js +20 -44
- package/es/table/components/Dropdown/index.js +70 -83
- package/es/table/components/EditableTable/CellEditorTable.js +50 -65
- package/es/table/components/EditableTable/RowEditorTable.js +44 -62
- package/es/table/components/EditableTable/index.js +343 -347
- package/es/table/components/Form/FormRender.js +167 -173
- package/es/table/components/Form/index.js +123 -132
- package/es/table/components/ListToolBar/HeaderMenu.js +68 -102
- package/es/table/components/ListToolBar/index.js +254 -273
- package/es/table/components/ListToolBar/style.js +119 -134
- package/es/table/components/ToolBar/DensityIcon.js +36 -41
- package/es/table/components/ToolBar/FullscreenIcon.js +21 -14
- package/es/table/components/ToolBar/index.js +235 -267
- package/es/table/index.js +3 -50
- package/es/table/style/index.js +129 -175
- package/es/table/typing.d.ts +2 -2
- package/es/table/typing.js +1 -0
- package/es/table/useFetchData.js +432 -232
- package/es/table/utils/cellRenderToFromItem.js +186 -261
- package/es/table/utils/columnRender.js +116 -115
- package/es/table/utils/columnSort.js +23 -21
- package/es/table/utils/genProColumnToColumn.js +101 -129
- package/es/table/utils/index.js +197 -115
- package/es/table/utils/useDragSort.js +135 -174
- package/es/utils/components/DropdownFooter/index.js +48 -58
- package/es/utils/components/DropdownFooter/style.js +16 -40
- package/es/utils/components/ErrorBoundary/index.js +51 -25
- package/es/utils/components/FieldLabel/index.js +119 -146
- package/es/utils/components/FieldLabel/style.js +82 -128
- package/es/utils/components/FilterDropdown/index.js +54 -81
- package/es/utils/components/FilterDropdown/style.js +17 -38
- package/es/utils/components/InlineErrorFormItem/index.js +132 -167
- package/es/utils/components/InlineErrorFormItem/style.js +51 -79
- package/es/utils/components/LabelIconTip/index.js +58 -56
- package/es/utils/components/LabelIconTip/style.js +36 -57
- package/es/utils/components/ProFormContext/index.js +2 -6
- package/es/utils/conversionMomentValue/index.js +102 -83
- package/es/utils/dateArrayFormatter/index.js +31 -16
- package/es/utils/genCopyable/index.js +44 -38
- package/es/utils/getFieldPropsOrFormItemProps/index.js +10 -7
- package/es/utils/hooks/useDebounceFn/index.js +58 -48
- package/es/utils/hooks/useDebounceValue/index.js +29 -19
- package/es/utils/hooks/useDeepCompareEffect/index.js +29 -44
- package/es/utils/hooks/useDeepCompareMemo/index.js +12 -10
- package/es/utils/hooks/useDocumentTitle/index.js +5 -9
- package/es/utils/hooks/useFetchData/index.js +70 -63
- package/es/utils/hooks/useForceRender/index.js +12 -9
- package/es/utils/hooks/useLatest/index.js +8 -8
- package/es/utils/hooks/usePrevious/index.js +5 -9
- package/es/utils/hooks/useReactiveRef/index.js +4 -8
- package/es/utils/hooks/useRefCallback/index.js +6 -10
- package/es/utils/hooks/useRefFunction/index.js +11 -10
- package/es/utils/index.d.ts +1 -3
- package/es/utils/index.js +9 -84
- package/es/utils/isBrowser/index.js +14 -9
- package/es/utils/isDeepEqualReact/index.js +79 -53
- package/es/utils/isDropdownValueType/index.js +4 -8
- package/es/utils/isImg/index.js +3 -6
- package/es/utils/isNil/index.js +3 -5
- package/es/utils/isUrl/index.js +10 -10
- package/es/utils/merge/index.js +20 -27
- package/es/utils/nanoid/index.js +24 -18
- package/es/utils/omitBoolean/index.js +8 -7
- package/es/utils/omitUndefined/index.js +6 -10
- package/es/utils/omitUndefinedAndEmptyArr/index.js +7 -11
- package/es/utils/parseValueToMoment/index.js +16 -14
- package/es/utils/pickProFormItemProps/index.js +9 -42
- package/es/utils/pickProProps/index.js +9 -11
- package/es/utils/proFieldParsingText/index.js +141 -49
- package/es/utils/runFunction/index.js +8 -8
- package/es/utils/stringify/index.js +4 -9
- package/es/utils/transformKeySubmitValue/index.js +254 -130
- package/es/utils/typing.js +1 -0
- package/es/utils/useEditableArray/index.js +776 -611
- package/es/utils/useEditableMap/index.js +179 -161
- package/es/utils/useMediaQuery/index.js +47 -43
- package/es/utils/useMediaQuery/query.js +19 -15
- package/es/utils/useMountMergeState/index.d.ts +1 -1
- package/es/utils/useMountMergeState/index.js +2 -5
- package/es/version.js +3 -7
- package/lib/card/ProCard.d.ts +0 -1
- package/lib/card/ProCard.js +20 -52
- package/lib/card/components/Actions/index.js +39 -57
- package/lib/card/components/Actions/style.js +77 -115
- package/lib/card/components/Card/index.js +221 -287
- package/lib/card/components/Card/style.js +197 -281
- package/lib/card/components/CheckCard/Group.js +205 -230
- package/lib/card/components/CheckCard/index.js +160 -190
- package/lib/card/components/CheckCard/style.js +192 -227
- package/lib/card/components/Divider/index.js +30 -47
- package/lib/card/components/Divider/style.js +35 -69
- package/lib/card/components/Loading/index.js +85 -42
- package/lib/card/components/Loading/style.js +48 -78
- package/lib/card/components/Operation/index.js +29 -46
- package/lib/card/components/Operation/style.js +24 -58
- package/lib/card/components/Statistic/index.js +84 -117
- package/lib/card/components/Statistic/style.js +81 -130
- package/lib/card/components/StatisticCard/index.d.ts +0 -2
- package/lib/card/components/StatisticCard/index.js +72 -103
- package/lib/card/components/StatisticCard/style.js +41 -70
- package/lib/card/index.d.ts +2 -2
- package/lib/card/index.js +34 -41
- package/lib/card/typing.js +4 -16
- package/lib/descriptions/index.js +368 -436
- package/lib/descriptions/useFetchData.js +99 -100
- package/lib/field/AllProField.js +477 -415
- package/lib/field/FieldHOC/index.js +37 -56
- package/lib/field/PureProField.js +141 -187
- package/lib/field/ValueTypeToComponent.js +725 -454
- package/lib/field/components/Cascader/index.d.ts +2 -2
- package/lib/field/components/Cascader/index.js +132 -171
- package/lib/field/components/Checkbox/index.d.ts +1 -1
- package/lib/field/components/Checkbox/index.js +113 -155
- package/lib/field/components/Code/index.js +73 -86
- package/lib/field/components/ColorPicker/index.d.ts +1 -1
- package/lib/field/components/ColorPicker/index.js +61 -103
- package/lib/field/components/DatePicker/index.d.ts +2 -2
- package/lib/field/components/DatePicker/index.js +109 -145
- package/lib/field/components/Digit/index.js +92 -110
- package/lib/field/components/DigitRange/index.js +108 -122
- package/lib/field/components/FromNow/index.js +57 -90
- package/lib/field/components/Image/index.js +52 -76
- package/lib/field/components/IndexColumn/index.js +50 -72
- package/lib/field/components/Money/index.js +253 -281
- package/lib/field/components/Options/index.js +68 -98
- package/lib/field/components/Password/index.js +66 -85
- package/lib/field/components/Percent/index.js +80 -101
- package/lib/field/components/Percent/util.js +28 -33
- package/lib/field/components/Progress/index.js +61 -80
- package/lib/field/components/Radio/index.d.ts +1 -1
- package/lib/field/components/Radio/index.js +92 -134
- package/lib/field/components/RangePicker/index.d.ts +2 -2
- package/lib/field/components/RangePicker/index.js +129 -164
- package/lib/field/components/Rate/index.js +43 -60
- package/lib/field/components/Second/index.js +67 -84
- package/lib/field/components/Segmented/index.d.ts +1 -1
- package/lib/field/components/Segmented/index.js +74 -117
- package/lib/field/components/Select/LightSelect/index.d.ts +1 -1
- package/lib/field/components/Select/LightSelect/index.js +216 -282
- package/lib/field/components/Select/SearchSelect/index.js +195 -245
- package/lib/field/components/Select/index.d.ts +2 -2
- package/lib/field/components/Select/index.js +307 -379
- package/lib/field/components/Slider/index.js +43 -70
- package/lib/field/components/Status/index.js +89 -52
- package/lib/field/components/Switch/index.d.ts +1 -1
- package/lib/field/components/Switch/index.js +67 -98
- package/lib/field/components/Text/index.js +58 -74
- package/lib/field/components/TextArea/index.js +44 -80
- package/lib/field/components/TextArea/readonly.js +43 -76
- package/lib/field/components/TimePicker/index.js +188 -217
- package/lib/field/components/TreeSelect/index.d.ts +2 -2
- package/lib/field/components/TreeSelect/index.js +185 -206
- package/lib/field/index.js +240 -96
- package/lib/form/BaseForm/BaseForm.js +594 -634
- package/lib/form/BaseForm/EditOrReadOnlyContext.js +9 -36
- package/lib/form/BaseForm/LightWrapper/index.js +111 -182
- package/lib/form/BaseForm/LightWrapper/style.js +19 -56
- package/lib/form/BaseForm/Submitter/index.js +75 -126
- package/lib/form/BaseForm/index.js +37 -20
- package/lib/form/FieldContext.js +8 -36
- package/lib/form/components/Captcha/index.js +169 -196
- package/lib/form/components/Cascader/index.js +56 -104
- package/lib/form/components/Checkbox/index.js +83 -128
- package/lib/form/components/ColorPicker/index.js +51 -92
- package/lib/form/components/DatePicker/BaseDatePicker.js +54 -98
- package/lib/form/components/DatePicker/DatePicker.js +32 -77
- package/lib/form/components/DatePicker/DateTimePicker.js +32 -76
- package/lib/form/components/DatePicker/MonthPicker.js +32 -77
- package/lib/form/components/DatePicker/QuarterPicker.js +32 -77
- package/lib/form/components/DatePicker/TimePicker.js +55 -103
- package/lib/form/components/DatePicker/WeekPicker.js +32 -77
- package/lib/form/components/DatePicker/YearPicker.js +32 -77
- package/lib/form/components/DatePicker/index.js +19 -44
- package/lib/form/components/DateRangePicker/BaseDateRanger.js +53 -100
- package/lib/form/components/DateRangePicker/DateMonthRangePicker.js +36 -78
- package/lib/form/components/DateRangePicker/DateQuarterRangePicker.js +36 -78
- package/lib/form/components/DateRangePicker/DateTimeRangePicker.js +36 -78
- package/lib/form/components/DateRangePicker/DateWeekRangePicker.js +36 -78
- package/lib/form/components/DateRangePicker/DateYearRangePicker.js +36 -78
- package/lib/form/components/DateRangePicker/TimeRangePicker.js +53 -97
- package/lib/form/components/DateRangePicker/index.js +36 -78
- package/lib/form/components/Dependency/index.js +68 -127
- package/lib/form/components/Digit/DigitRange.d.ts +1 -1
- package/lib/form/components/Digit/DigitRange.js +50 -103
- package/lib/form/components/Digit/index.js +55 -106
- package/lib/form/components/Field/index.js +89 -153
- package/lib/form/components/FieldSet/index.js +107 -153
- package/lib/form/components/FormItem/FormItemRender/index.js +142 -114
- package/lib/form/components/FormItem/Group/index.js +143 -198
- package/lib/form/components/FormItem/Group/style.js +46 -77
- package/lib/form/components/FormItem/index.js +257 -316
- package/lib/form/components/FormItem/warpField.js +229 -308
- package/lib/form/components/List/ListContainer.js +227 -211
- package/lib/form/components/List/ListItem.js +267 -374
- package/lib/form/components/List/index.js +211 -277
- package/lib/form/components/List/style.js +53 -110
- package/lib/form/components/Money/index.js +58 -108
- package/lib/form/components/Radio/index.js +60 -114
- package/lib/form/components/Rate/index.js +45 -88
- package/lib/form/components/SchemaForm/index.js +154 -193
- package/lib/form/components/SchemaForm/layoutType/Embed.js +12 -24
- package/lib/form/components/SchemaForm/layoutType/StepsForm.js +43 -96
- package/lib/form/components/SchemaForm/layoutType/index.js +18 -35
- package/lib/form/components/SchemaForm/typing.js +4 -16
- package/lib/form/components/SchemaForm/valueType/dependency.js +25 -69
- package/lib/form/components/SchemaForm/valueType/divider.js +16 -45
- package/lib/form/components/SchemaForm/valueType/field.js +67 -128
- package/lib/form/components/SchemaForm/valueType/formList.js +22 -58
- package/lib/form/components/SchemaForm/valueType/formSet.js +22 -68
- package/lib/form/components/SchemaForm/valueType/group.js +21 -53
- package/lib/form/components/SchemaForm/valueType/ignore.js +8 -25
- package/lib/form/components/SchemaForm/valueType/index.js +27 -43
- package/lib/form/components/Segmented/index.js +50 -89
- package/lib/form/components/Select/index.js +125 -181
- package/lib/form/components/Slider/index.js +62 -119
- package/lib/form/components/Switch/index.js +55 -99
- package/lib/form/components/Text/index.js +141 -190
- package/lib/form/components/TextArea/index.js +42 -85
- package/lib/form/components/TreeSelect/index.js +50 -89
- package/lib/form/components/UploadButton/index.js +131 -172
- package/lib/form/components/UploadDragger/index.js +84 -119
- package/lib/form/components/index.js +294 -110
- package/lib/form/helpers/grid.js +82 -97
- package/lib/form/helpers/index.js +15 -18
- package/lib/form/index.js +78 -38
- package/lib/form/layouts/DrawerForm/index.js +317 -338
- package/lib/form/layouts/DrawerForm/style.js +31 -65
- package/lib/form/layouts/LightFilter/index.js +217 -293
- package/lib/form/layouts/LightFilter/style.js +54 -89
- package/lib/form/layouts/LoginForm/index.js +93 -133
- package/lib/form/layouts/LoginForm/style.js +73 -110
- package/lib/form/layouts/LoginFormPage/index.js +148 -174
- package/lib/form/layouts/LoginFormPage/style.js +133 -165
- package/lib/form/layouts/ModalForm/index.js +253 -273
- package/lib/form/layouts/ProForm/index.js +28 -68
- package/lib/form/layouts/QueryFilter/Actions.js +57 -77
- package/lib/form/layouts/QueryFilter/index.js +308 -390
- package/lib/form/layouts/QueryFilter/style.js +43 -84
- package/lib/form/layouts/StepsForm/StepForm.js +94 -146
- package/lib/form/layouts/StepsForm/index.js +351 -378
- package/lib/form/layouts/StepsForm/style.js +34 -65
- package/lib/form/layouts/index.js +62 -40
- package/lib/form/typing.js +4 -16
- package/lib/index.js +133 -34
- package/lib/layout/ProLayout.js +447 -528
- package/lib/layout/WrapContent.js +34 -46
- package/lib/layout/assert/Logo.js +110 -97
- package/lib/layout/components/AppsLogoComponents/AppsLogo.js +17 -29
- package/lib/layout/components/AppsLogoComponents/DefaultContent.js +55 -85
- package/lib/layout/components/AppsLogoComponents/SimpleContent.js +78 -95
- package/lib/layout/components/AppsLogoComponents/index.js +98 -105
- package/lib/layout/components/AppsLogoComponents/style/default.js +36 -55
- package/lib/layout/components/AppsLogoComponents/style/index.js +58 -94
- package/lib/layout/components/AppsLogoComponents/style/simple.js +41 -59
- package/lib/layout/components/CollapsedIcon/index.js +26 -82
- package/lib/layout/components/CollapsedIcon/style.js +47 -81
- package/lib/layout/components/Footer.js +33 -65
- package/lib/layout/components/FooterToolbar/index.js +87 -132
- package/lib/layout/components/FooterToolbar/style/index.js +43 -77
- package/lib/layout/components/FooterToolbar/style/stylish.js +16 -54
- package/lib/layout/components/GlobalFooter/index.js +43 -61
- package/lib/layout/components/GlobalFooter/style.js +37 -68
- package/lib/layout/components/GlobalHeader/ActionsContent.js +138 -208
- package/lib/layout/components/GlobalHeader/index.d.ts +0 -5
- package/lib/layout/components/GlobalHeader/index.js +86 -116
- package/lib/layout/components/GlobalHeader/rightContentStyle.js +57 -91
- package/lib/layout/components/GlobalHeader/style.js +62 -98
- package/lib/layout/components/GridContent/index.js +43 -64
- package/lib/layout/components/GridContent/style.js +19 -53
- package/lib/layout/components/Header/index.js +105 -156
- package/lib/layout/components/Header/style/header.js +53 -87
- package/lib/layout/components/Header/style/stylish.js +18 -58
- package/lib/layout/components/Help/AsyncContentPanel.js +59 -62
- package/lib/layout/components/Help/HelpProvide.js +59 -34
- package/lib/layout/components/Help/ProHelpContentPanel.js +139 -157
- package/lib/layout/components/Help/ProHelpDrawer.js +54 -102
- package/lib/layout/components/Help/ProHelpModal.js +53 -102
- package/lib/layout/components/Help/ProHelpPanel.js +192 -254
- package/lib/layout/components/Help/ProHelpPopover.js +46 -92
- package/lib/layout/components/Help/RenderContentPanel.js +97 -130
- package/lib/layout/components/Help/Search.js +130 -191
- package/lib/layout/components/Help/index.js +113 -74
- package/lib/layout/components/Help/style.js +96 -130
- package/lib/layout/components/PageContainer/index.js +245 -308
- package/lib/layout/components/PageContainer/style/index.js +83 -133
- package/lib/layout/components/PageContainer/style/stylish.js +16 -54
- package/lib/layout/components/PageHeader/index.js +149 -156
- package/lib/layout/components/PageHeader/style/index.js +129 -182
- package/lib/layout/components/PageLoading/index.js +28 -76
- package/lib/layout/components/SettingDrawer/BlockCheckbox.js +46 -71
- package/lib/layout/components/SettingDrawer/LayoutChange.js +114 -129
- package/lib/layout/components/SettingDrawer/RegionalChange.js +38 -65
- package/lib/layout/components/SettingDrawer/ThemeColor.js +55 -95
- package/lib/layout/components/SettingDrawer/icon/group.js +111 -105
- package/lib/layout/components/SettingDrawer/icon/sub.js +72 -133
- package/lib/layout/components/SettingDrawer/index.js +424 -447
- package/lib/layout/components/SettingDrawer/style/index.js +147 -161
- package/lib/layout/components/SiderMenu/Arrow.js +16 -34
- package/lib/layout/components/SiderMenu/BaseMenu.js +416 -487
- package/lib/layout/components/SiderMenu/SiderMenu.js +254 -367
- package/lib/layout/components/SiderMenu/index.js +81 -130
- package/lib/layout/components/SiderMenu/style/index.js +178 -226
- package/lib/layout/components/SiderMenu/style/menu.js +115 -188
- package/lib/layout/components/SiderMenu/style/stylish.js +18 -58
- package/lib/layout/components/TopNavHeader/index.js +117 -211
- package/lib/layout/components/TopNavHeader/style.js +72 -110
- package/lib/layout/context/RouteContext.js +6 -24
- package/lib/layout/defaultSettings.js +11 -29
- package/lib/layout/getPageTitle.js +53 -60
- package/lib/layout/index.js +145 -55
- package/lib/layout/locales/en-US/settingDrawer.js +47 -65
- package/lib/layout/locales/en-US.js +8 -48
- package/lib/layout/locales/index.js +24 -52
- package/lib/layout/locales/it-IT/settingDrawer.js +38 -56
- package/lib/layout/locales/it-IT.js +8 -48
- package/lib/layout/locales/ko-KR/settingDrawer.js +43 -61
- package/lib/layout/locales/ko-KR.js +8 -48
- package/lib/layout/locales/zh-CN/settingDrawer.js +47 -65
- package/lib/layout/locales/zh-CN.js +8 -48
- package/lib/layout/locales/zh-TW/settingDrawer.js +39 -57
- package/lib/layout/locales/zh-TW.js +8 -48
- package/lib/layout/style/index.js +48 -88
- package/lib/layout/typing.js +4 -16
- package/lib/layout/utils/getBreadcrumbProps.js +117 -107
- package/lib/layout/utils/getMenuData.js +23 -40
- package/lib/layout/utils/pathTools.js +14 -29
- package/lib/layout/utils/useCurrentMenuLayoutProps.js +27 -49
- package/lib/layout/utils/utils.js +40 -64
- package/lib/list/Item.js +229 -321
- package/lib/list/ListView.js +197 -260
- package/lib/list/constants.js +7 -35
- package/lib/list/index.js +132 -207
- package/lib/list/style/index.js +230 -302
- package/lib/provider/index.js +270 -215
- package/lib/provider/intl.js +140 -188
- package/lib/provider/locale/ar_EG.js +51 -69
- package/lib/provider/locale/ca_ES.js +49 -67
- package/lib/provider/locale/cs_CZ.js +54 -72
- package/lib/provider/locale/de_DE.js +51 -69
- package/lib/provider/locale/en_GB.js +53 -71
- package/lib/provider/locale/en_US.js +55 -73
- package/lib/provider/locale/es_ES.js +51 -69
- package/lib/provider/locale/fa_IR.js +51 -69
- package/lib/provider/locale/fr_FR.js +51 -69
- package/lib/provider/locale/he_IL.js +54 -72
- package/lib/provider/locale/hr_HR.js +51 -69
- package/lib/provider/locale/id_ID.js +51 -69
- package/lib/provider/locale/it_IT.js +51 -69
- package/lib/provider/locale/ja_JP.js +51 -69
- package/lib/provider/locale/ko_KR.js +51 -69
- package/lib/provider/locale/mn_MN.js +51 -69
- package/lib/provider/locale/ms_MY.js +51 -69
- package/lib/provider/locale/nl_NL.js +54 -72
- package/lib/provider/locale/pl_PL.js +51 -69
- package/lib/provider/locale/pt_BR.js +51 -69
- package/lib/provider/locale/ro_RO.js +54 -72
- package/lib/provider/locale/ru_RU.js +51 -69
- package/lib/provider/locale/sk_SK.js +54 -72
- package/lib/provider/locale/sr_RS.js +51 -69
- package/lib/provider/locale/sv_SE.js +54 -72
- package/lib/provider/locale/th_TH.js +54 -72
- package/lib/provider/locale/tr_TR.js +51 -69
- package/lib/provider/locale/uk_UA.js +54 -72
- package/lib/provider/locale/uz_UZ.js +51 -69
- package/lib/provider/locale/vi_VN.js +51 -69
- package/lib/provider/locale/zh_CN.js +54 -72
- package/lib/provider/locale/zh_HK.js +54 -72
- package/lib/provider/locale/zh_TW.js +54 -72
- package/lib/provider/typing/layoutToken.d.ts +0 -10
- package/lib/provider/typing/layoutToken.js +36 -69
- package/lib/provider/useStyle/index.d.ts +1 -1
- package/lib/provider/useStyle/index.js +98 -94
- package/lib/provider/utils/merge.js +18 -44
- package/lib/skeleton/components/Descriptions/index.js +246 -282
- package/lib/skeleton/components/List/index.js +221 -236
- package/lib/skeleton/components/Result/index.js +63 -84
- package/lib/skeleton/index.js +73 -79
- package/lib/table/Store/Provide.d.ts +0 -1
- package/lib/table/Store/Provide.js +147 -151
- package/lib/table/Table.js +664 -712
- package/lib/table/components/Alert/index.js +66 -67
- package/lib/table/components/Alert/style.js +33 -67
- package/lib/table/components/ColumnSetting/index.js +391 -404
- package/lib/table/components/ColumnSetting/style.js +77 -123
- package/lib/table/components/DragSortTable/index.js +110 -165
- package/lib/table/components/DragSortTable/style.js +25 -59
- package/lib/table/components/Dropdown/index.js +75 -108
- package/lib/table/components/EditableTable/CellEditorTable.js +55 -90
- package/lib/table/components/EditableTable/RowEditorTable.js +49 -87
- package/lib/table/components/EditableTable/index.js +351 -365
- package/lib/table/components/Form/FormRender.js +176 -201
- package/lib/table/components/Form/index.js +132 -161
- package/lib/table/components/ListToolBar/HeaderMenu.js +74 -128
- package/lib/table/components/ListToolBar/index.js +263 -302
- package/lib/table/components/ListToolBar/style.js +124 -149
- package/lib/table/components/ToolBar/DensityIcon.js +43 -71
- package/lib/table/components/ToolBar/FullscreenIcon.js +30 -45
- package/lib/table/components/ToolBar/index.js +247 -299
- package/lib/table/index.js +179 -71
- package/lib/table/style/index.js +135 -190
- package/lib/table/typing.d.ts +2 -2
- package/lib/table/typing.js +4 -16
- package/lib/table/useFetchData.js +437 -241
- package/lib/table/utils/cellRenderToFromItem.js +192 -277
- package/lib/table/utils/columnRender.js +126 -144
- package/lib/table/utils/columnSort.js +27 -39
- package/lib/table/utils/genProColumnToColumn.js +111 -141
- package/lib/table/utils/index.js +204 -128
- package/lib/table/utils/useDragSort.js +141 -188
- package/lib/utils/components/DropdownFooter/index.js +56 -89
- package/lib/utils/components/DropdownFooter/style.js +21 -55
- package/lib/utils/components/ErrorBoundary/index.js +55 -53
- package/lib/utils/components/FieldLabel/index.js +126 -176
- package/lib/utils/components/FieldLabel/style.js +87 -143
- package/lib/utils/components/FilterDropdown/index.js +61 -109
- package/lib/utils/components/FilterDropdown/style.js +22 -53
- package/lib/utils/components/InlineErrorFormItem/index.js +137 -193
- package/lib/utils/components/InlineErrorFormItem/style.js +56 -94
- package/lib/utils/components/LabelIconTip/index.js +62 -82
- package/lib/utils/components/LabelIconTip/style.js +41 -72
- package/lib/utils/components/ProFormContext/index.js +7 -34
- package/lib/utils/conversionMomentValue/index.js +112 -115
- package/lib/utils/dateArrayFormatter/index.js +38 -46
- package/lib/utils/genCopyable/index.js +49 -66
- package/lib/utils/getFieldPropsOrFormItemProps/index.js +15 -27
- package/lib/utils/hooks/useDebounceFn/index.js +63 -65
- package/lib/utils/hooks/useDebounceValue/index.js +35 -38
- package/lib/utils/hooks/useDeepCompareEffect/index.js +37 -61
- package/lib/utils/hooks/useDeepCompareMemo/index.js +17 -39
- package/lib/utils/hooks/useDocumentTitle/index.js +10 -28
- package/lib/utils/hooks/useFetchData/index.js +74 -89
- package/lib/utils/hooks/useForceRender/index.js +16 -26
- package/lib/utils/hooks/useLatest/index.js +11 -26
- package/lib/utils/hooks/usePrevious/index.js +9 -27
- package/lib/utils/hooks/useReactiveRef/index.js +10 -37
- package/lib/utils/hooks/useRefCallback/index.js +9 -27
- package/lib/utils/hooks/useRefFunction/index.js +16 -29
- package/lib/utils/index.d.ts +1 -3
- package/lib/utils/index.js +455 -138
- package/lib/utils/isBrowser/index.js +18 -27
- package/lib/utils/isDeepEqualReact/index.js +83 -70
- package/lib/utils/isDropdownValueType/index.js +8 -26
- package/lib/utils/isImg/index.js +6 -23
- package/lib/utils/isNil/index.js +7 -23
- package/lib/utils/isUrl/index.js +14 -28
- package/lib/utils/merge/index.js +26 -44
- package/lib/utils/nanoid/index.js +28 -36
- package/lib/utils/omitBoolean/index.js +12 -25
- package/lib/utils/omitUndefined/index.js +10 -28
- package/lib/utils/omitUndefinedAndEmptyArr/index.js +11 -29
- package/lib/utils/parseValueToMoment/index.js +26 -47
- package/lib/utils/pickProFormItemProps/index.js +12 -59
- package/lib/utils/pickProProps/index.js +13 -29
- package/lib/utils/proFieldParsingText/index.js +146 -77
- package/lib/utils/runFunction/index.js +12 -26
- package/lib/utils/stringify/index.js +14 -28
- package/lib/utils/transformKeySubmitValue/index.js +262 -160
- package/lib/utils/typing.js +4 -16
- package/lib/utils/useEditableArray/index.js +790 -630
- package/lib/utils/useEditableMap/index.js +188 -179
- package/lib/utils/useMediaQuery/index.js +53 -73
- package/lib/utils/useMediaQuery/query.js +23 -32
- package/lib/utils/useMountMergeState/index.d.ts +1 -1
- package/lib/utils/useMountMergeState/index.js +10 -33
- package/lib/version.js +7 -25
- package/package.json +4 -3
- package/es/card/components/TabPane/index.d.ts +0 -26
- package/es/card/components/TabPane/index.js +0 -84
- package/es/utils/compareVersions/coverToNewToken.d.ts +0 -2
- package/es/utils/compareVersions/coverToNewToken.js +0 -56
- package/es/utils/compareVersions/index.d.ts +0 -8
- package/es/utils/compareVersions/index.js +0 -48
- package/lib/card/components/TabPane/index.d.ts +0 -26
- package/lib/card/components/TabPane/index.js +0 -111
- package/lib/utils/compareVersions/coverToNewToken.d.ts +0 -2
- package/lib/utils/compareVersions/coverToNewToken.js +0 -73
- package/lib/utils/compareVersions/index.d.ts +0 -8
- package/lib/utils/compareVersions/index.js +0 -68
package/lib/provider/intl.js
CHANGED
|
@@ -1,193 +1,145 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
28
2
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
arEGIntl: () => arEGIntl,
|
|
33
|
-
caESIntl: () => caESIntl,
|
|
34
|
-
createIntl: () => createIntl,
|
|
35
|
-
csCZIntl: () => csCZIntl,
|
|
36
|
-
deDEIntl: () => deDEIntl,
|
|
37
|
-
enGBIntl: () => enGBIntl,
|
|
38
|
-
enUSIntl: () => enUSIntl,
|
|
39
|
-
esESIntl: () => esESIntl,
|
|
40
|
-
faIRIntl: () => faIRIntl,
|
|
41
|
-
findIntlKeyByAntdLocaleKey: () => findIntlKeyByAntdLocaleKey,
|
|
42
|
-
frFRIntl: () => frFRIntl,
|
|
43
|
-
heILIntl: () => heILIntl,
|
|
44
|
-
hrHRIntl: () => hrHRIntl,
|
|
45
|
-
idIDIntl: () => idIDIntl,
|
|
46
|
-
intlMap: () => intlMap,
|
|
47
|
-
intlMapKeys: () => intlMapKeys,
|
|
48
|
-
itITIntl: () => itITIntl,
|
|
49
|
-
jaJPIntl: () => jaJPIntl,
|
|
50
|
-
koKRIntl: () => koKRIntl,
|
|
51
|
-
mnMNIntl: () => mnMNIntl,
|
|
52
|
-
msMYIntl: () => msMYIntl,
|
|
53
|
-
nlNLIntl: () => nlNLIntl,
|
|
54
|
-
plPLIntl: () => plPLIntl,
|
|
55
|
-
ptBRIntl: () => ptBRIntl,
|
|
56
|
-
roROIntl: () => roROIntl,
|
|
57
|
-
ruRUIntl: () => ruRUIntl,
|
|
58
|
-
skSKIntl: () => skSKIntl,
|
|
59
|
-
srRSIntl: () => srRSIntl,
|
|
60
|
-
svSEIntl: () => svSEIntl,
|
|
61
|
-
thTHIntl: () => thTHIntl,
|
|
62
|
-
trTRIntl: () => trTRIntl,
|
|
63
|
-
ukUAIntl: () => ukUAIntl,
|
|
64
|
-
uzUZIntl: () => uzUZIntl,
|
|
65
|
-
viVNIntl: () => viVNIntl,
|
|
66
|
-
zhCNIntl: () => zhCNIntl,
|
|
67
|
-
zhTWIntl: () => zhTWIntl
|
|
68
|
-
});
|
|
69
|
-
module.exports = __toCommonJS(intl_exports);
|
|
70
|
-
var import_rc_util = require("rc-util");
|
|
71
|
-
var import_ar_EG = __toESM(require("./locale/ar_EG"));
|
|
72
|
-
var import_ca_ES = __toESM(require("./locale/ca_ES"));
|
|
73
|
-
var import_cs_CZ = __toESM(require("./locale/cs_CZ"));
|
|
74
|
-
var import_de_DE = __toESM(require("./locale/de_DE"));
|
|
75
|
-
var import_en_GB = __toESM(require("./locale/en_GB"));
|
|
76
|
-
var import_en_US = __toESM(require("./locale/en_US"));
|
|
77
|
-
var import_es_ES = __toESM(require("./locale/es_ES"));
|
|
78
|
-
var import_fa_IR = __toESM(require("./locale/fa_IR"));
|
|
79
|
-
var import_fr_FR = __toESM(require("./locale/fr_FR"));
|
|
80
|
-
var import_he_IL = __toESM(require("./locale/he_IL"));
|
|
81
|
-
var import_hr_HR = __toESM(require("./locale/hr_HR"));
|
|
82
|
-
var import_id_ID = __toESM(require("./locale/id_ID"));
|
|
83
|
-
var import_it_IT = __toESM(require("./locale/it_IT"));
|
|
84
|
-
var import_ja_JP = __toESM(require("./locale/ja_JP"));
|
|
85
|
-
var import_ko_KR = __toESM(require("./locale/ko_KR"));
|
|
86
|
-
var import_mn_MN = __toESM(require("./locale/mn_MN"));
|
|
87
|
-
var import_ms_MY = __toESM(require("./locale/ms_MY"));
|
|
88
|
-
var import_nl_NL = __toESM(require("./locale/nl_NL"));
|
|
89
|
-
var import_pl_PL = __toESM(require("./locale/pl_PL"));
|
|
90
|
-
var import_pt_BR = __toESM(require("./locale/pt_BR"));
|
|
91
|
-
var import_ro_RO = __toESM(require("./locale/ro_RO"));
|
|
92
|
-
var import_ru_RU = __toESM(require("./locale/ru_RU"));
|
|
93
|
-
var import_sk_SK = __toESM(require("./locale/sk_SK"));
|
|
94
|
-
var import_sr_RS = __toESM(require("./locale/sr_RS"));
|
|
95
|
-
var import_sv_SE = __toESM(require("./locale/sv_SE"));
|
|
96
|
-
var import_th_TH = __toESM(require("./locale/th_TH"));
|
|
97
|
-
var import_tr_TR = __toESM(require("./locale/tr_TR"));
|
|
98
|
-
var import_uk_UA = __toESM(require("./locale/uk_UA"));
|
|
99
|
-
var import_uz_UZ = __toESM(require("./locale/uz_UZ"));
|
|
100
|
-
var import_vi_VN = __toESM(require("./locale/vi_VN"));
|
|
101
|
-
var import_zh_CN = __toESM(require("./locale/zh_CN"));
|
|
102
|
-
var import_zh_HK = __toESM(require("./locale/zh_HK"));
|
|
103
|
-
var import_zh_TW = __toESM(require("./locale/zh_TW"));
|
|
104
|
-
var createIntl = (locale, localeMap) => ({
|
|
105
|
-
getMessage: (id, defaultMessage) => {
|
|
106
|
-
const msg = (0, import_rc_util.get)(localeMap, id.replace(/\[(\d+)\]/g, ".$1").split(".")) || "";
|
|
107
|
-
if (msg)
|
|
108
|
-
return msg;
|
|
109
|
-
const localKey = locale.replace("_", "-");
|
|
110
|
-
if (localKey === "zh-CN") {
|
|
111
|
-
return defaultMessage;
|
|
112
|
-
}
|
|
113
|
-
const intl = intlMap["zh-CN"];
|
|
114
|
-
return intl ? intl.getMessage(id, defaultMessage) : defaultMessage;
|
|
115
|
-
},
|
|
116
|
-
locale
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
117
6
|
});
|
|
118
|
-
|
|
119
|
-
var
|
|
120
|
-
var
|
|
121
|
-
var
|
|
122
|
-
var
|
|
123
|
-
var
|
|
124
|
-
var
|
|
125
|
-
var
|
|
126
|
-
var
|
|
127
|
-
var
|
|
128
|
-
var
|
|
129
|
-
var
|
|
130
|
-
var
|
|
131
|
-
var
|
|
132
|
-
var
|
|
133
|
-
var
|
|
134
|
-
var
|
|
135
|
-
var
|
|
136
|
-
var
|
|
137
|
-
var
|
|
138
|
-
var
|
|
139
|
-
var
|
|
140
|
-
var
|
|
141
|
-
var
|
|
142
|
-
var
|
|
143
|
-
var
|
|
144
|
-
var
|
|
145
|
-
var
|
|
146
|
-
var
|
|
147
|
-
var
|
|
148
|
-
var
|
|
149
|
-
var
|
|
150
|
-
var
|
|
151
|
-
var
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"pl-PL": plPLIntl,
|
|
175
|
-
"hr-HR": hrHRIntl,
|
|
176
|
-
"th-TH": thTHIntl,
|
|
177
|
-
"cs-CZ": csCZIntl,
|
|
178
|
-
"sk-SK": skSKIntl,
|
|
179
|
-
"he-IL": heILIntl,
|
|
180
|
-
"uk-UA": ukUAIntl,
|
|
181
|
-
"uz-UZ": uzUZIntl,
|
|
182
|
-
"nl-NL": nlNLIntl,
|
|
183
|
-
"ro-RO": roROIntl,
|
|
184
|
-
"sv-SE": svSEIntl
|
|
7
|
+
exports.zhTWIntl = exports.zhCNIntl = exports.viVNIntl = exports.uzUZIntl = exports.ukUAIntl = exports.trTRIntl = exports.thTHIntl = exports.svSEIntl = exports.srRSIntl = exports.skSKIntl = exports.ruRUIntl = exports.roROIntl = exports.ptBRIntl = exports.plPLIntl = exports.nlNLIntl = exports.msMYIntl = exports.mnMNIntl = exports.koKRIntl = exports.jaJPIntl = exports.itITIntl = exports.intlMapKeys = exports.intlMap = exports.idIDIntl = exports.hrHRIntl = exports.heILIntl = exports.frFRIntl = exports.findIntlKeyByAntdLocaleKey = exports.faIRIntl = exports.esESIntl = exports.enUSIntl = exports.enGBIntl = exports.deDEIntl = exports.csCZIntl = exports.createIntl = exports.caESIntl = exports.arEGIntl = void 0;
|
|
8
|
+
var _util = require("@rc-component/util");
|
|
9
|
+
var _ar_EG = _interopRequireDefault(require("./locale/ar_EG"));
|
|
10
|
+
var _ca_ES = _interopRequireDefault(require("./locale/ca_ES"));
|
|
11
|
+
var _cs_CZ = _interopRequireDefault(require("./locale/cs_CZ"));
|
|
12
|
+
var _de_DE = _interopRequireDefault(require("./locale/de_DE"));
|
|
13
|
+
var _en_GB = _interopRequireDefault(require("./locale/en_GB"));
|
|
14
|
+
var _en_US = _interopRequireDefault(require("./locale/en_US"));
|
|
15
|
+
var _es_ES = _interopRequireDefault(require("./locale/es_ES"));
|
|
16
|
+
var _fa_IR = _interopRequireDefault(require("./locale/fa_IR"));
|
|
17
|
+
var _fr_FR = _interopRequireDefault(require("./locale/fr_FR"));
|
|
18
|
+
var _he_IL = _interopRequireDefault(require("./locale/he_IL"));
|
|
19
|
+
var _hr_HR = _interopRequireDefault(require("./locale/hr_HR"));
|
|
20
|
+
var _id_ID = _interopRequireDefault(require("./locale/id_ID"));
|
|
21
|
+
var _it_IT = _interopRequireDefault(require("./locale/it_IT"));
|
|
22
|
+
var _ja_JP = _interopRequireDefault(require("./locale/ja_JP"));
|
|
23
|
+
var _ko_KR = _interopRequireDefault(require("./locale/ko_KR"));
|
|
24
|
+
var _mn_MN = _interopRequireDefault(require("./locale/mn_MN"));
|
|
25
|
+
var _ms_MY = _interopRequireDefault(require("./locale/ms_MY"));
|
|
26
|
+
var _nl_NL = _interopRequireDefault(require("./locale/nl_NL"));
|
|
27
|
+
var _pl_PL = _interopRequireDefault(require("./locale/pl_PL"));
|
|
28
|
+
var _pt_BR = _interopRequireDefault(require("./locale/pt_BR"));
|
|
29
|
+
var _ro_RO = _interopRequireDefault(require("./locale/ro_RO"));
|
|
30
|
+
var _ru_RU = _interopRequireDefault(require("./locale/ru_RU"));
|
|
31
|
+
var _sk_SK = _interopRequireDefault(require("./locale/sk_SK"));
|
|
32
|
+
var _sr_RS = _interopRequireDefault(require("./locale/sr_RS"));
|
|
33
|
+
var _sv_SE = _interopRequireDefault(require("./locale/sv_SE"));
|
|
34
|
+
var _th_TH = _interopRequireDefault(require("./locale/th_TH"));
|
|
35
|
+
var _tr_TR = _interopRequireDefault(require("./locale/tr_TR"));
|
|
36
|
+
var _uk_UA = _interopRequireDefault(require("./locale/uk_UA"));
|
|
37
|
+
var _uz_UZ = _interopRequireDefault(require("./locale/uz_UZ"));
|
|
38
|
+
var _vi_VN = _interopRequireDefault(require("./locale/vi_VN"));
|
|
39
|
+
var _zh_CN = _interopRequireDefault(require("./locale/zh_CN"));
|
|
40
|
+
var _zh_HK = _interopRequireDefault(require("./locale/zh_HK"));
|
|
41
|
+
var _zh_TW = _interopRequireDefault(require("./locale/zh_TW"));
|
|
42
|
+
/**
|
|
43
|
+
* 创建一个国际化的操作函数
|
|
44
|
+
*
|
|
45
|
+
* @param locale
|
|
46
|
+
* @param localeMap
|
|
47
|
+
*/
|
|
48
|
+
var createIntl = exports.createIntl = function createIntl(locale, localeMap) {
|
|
49
|
+
return {
|
|
50
|
+
getMessage: function getMessage(id, defaultMessage) {
|
|
51
|
+
var msg = (0, _util.get)(localeMap, id.replace(/\[(\d+)\]/g, '.$1').split('.')) || '';
|
|
52
|
+
if (msg) return msg;
|
|
53
|
+
var localKey = locale.replace('_', '-');
|
|
54
|
+
if (localKey === 'zh-CN') {
|
|
55
|
+
return defaultMessage;
|
|
56
|
+
}
|
|
57
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
58
|
+
var intl = intlMap['zh-CN'];
|
|
59
|
+
return intl ? intl.getMessage(id, defaultMessage) : defaultMessage;
|
|
60
|
+
},
|
|
61
|
+
locale: locale
|
|
62
|
+
};
|
|
185
63
|
};
|
|
186
|
-
var
|
|
187
|
-
var
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
64
|
+
var mnMNIntl = exports.mnMNIntl = createIntl('mn_MN', _mn_MN.default);
|
|
65
|
+
var arEGIntl = exports.arEGIntl = createIntl('ar_EG', _ar_EG.default);
|
|
66
|
+
var zhCNIntl = exports.zhCNIntl = createIntl('zh_CN', _zh_CN.default);
|
|
67
|
+
var enUSIntl = exports.enUSIntl = createIntl('en_US', _en_US.default);
|
|
68
|
+
var enGBIntl = exports.enGBIntl = createIntl('en_GB', _en_GB.default);
|
|
69
|
+
var viVNIntl = exports.viVNIntl = createIntl('vi_VN', _vi_VN.default);
|
|
70
|
+
var itITIntl = exports.itITIntl = createIntl('it_IT', _it_IT.default);
|
|
71
|
+
var jaJPIntl = exports.jaJPIntl = createIntl('ja_JP', _ja_JP.default);
|
|
72
|
+
var esESIntl = exports.esESIntl = createIntl('es_ES', _es_ES.default);
|
|
73
|
+
var caESIntl = exports.caESIntl = createIntl('ca_ES', _ca_ES.default);
|
|
74
|
+
var ruRUIntl = exports.ruRUIntl = createIntl('ru_RU', _ru_RU.default);
|
|
75
|
+
var srRSIntl = exports.srRSIntl = createIntl('sr_RS', _sr_RS.default);
|
|
76
|
+
var msMYIntl = exports.msMYIntl = createIntl('ms_MY', _ms_MY.default);
|
|
77
|
+
var zhTWIntl = exports.zhTWIntl = createIntl('zh_TW', _zh_TW.default);
|
|
78
|
+
var zhHKIntl = createIntl('zh_HK', _zh_HK.default);
|
|
79
|
+
var frFRIntl = exports.frFRIntl = createIntl('fr_FR', _fr_FR.default);
|
|
80
|
+
var ptBRIntl = exports.ptBRIntl = createIntl('pt_BR', _pt_BR.default);
|
|
81
|
+
var koKRIntl = exports.koKRIntl = createIntl('ko_KR', _ko_KR.default);
|
|
82
|
+
var idIDIntl = exports.idIDIntl = createIntl('id_ID', _id_ID.default);
|
|
83
|
+
var deDEIntl = exports.deDEIntl = createIntl('de_DE', _de_DE.default);
|
|
84
|
+
var faIRIntl = exports.faIRIntl = createIntl('fa_IR', _fa_IR.default);
|
|
85
|
+
var trTRIntl = exports.trTRIntl = createIntl('tr_TR', _tr_TR.default);
|
|
86
|
+
var plPLIntl = exports.plPLIntl = createIntl('pl_PL', _pl_PL.default);
|
|
87
|
+
var hrHRIntl = exports.hrHRIntl = createIntl('hr_', _hr_HR.default);
|
|
88
|
+
var thTHIntl = exports.thTHIntl = createIntl('th_TH', _th_TH.default);
|
|
89
|
+
var csCZIntl = exports.csCZIntl = createIntl('cs_cz', _cs_CZ.default);
|
|
90
|
+
var skSKIntl = exports.skSKIntl = createIntl('sk_SK', _sk_SK.default);
|
|
91
|
+
var heILIntl = exports.heILIntl = createIntl('he_IL', _he_IL.default);
|
|
92
|
+
var ukUAIntl = exports.ukUAIntl = createIntl('uk_UA', _uk_UA.default);
|
|
93
|
+
var uzUZIntl = exports.uzUZIntl = createIntl('uz_UZ', _uz_UZ.default);
|
|
94
|
+
var nlNLIntl = exports.nlNLIntl = createIntl('nl_NL', _nl_NL.default);
|
|
95
|
+
var roROIntl = exports.roROIntl = createIntl('ro_RO', _ro_RO.default);
|
|
96
|
+
var svSEIntl = exports.svSEIntl = createIntl('sv_SE', _sv_SE.default);
|
|
97
|
+
var intlMap = exports.intlMap = {
|
|
98
|
+
'mn-MN': mnMNIntl,
|
|
99
|
+
'ar-EG': arEGIntl,
|
|
100
|
+
'zh-CN': zhCNIntl,
|
|
101
|
+
'en-US': enUSIntl,
|
|
102
|
+
'en-GB': enGBIntl,
|
|
103
|
+
'vi-VN': viVNIntl,
|
|
104
|
+
'it-IT': itITIntl,
|
|
105
|
+
'ja-JP': jaJPIntl,
|
|
106
|
+
'es-ES': esESIntl,
|
|
107
|
+
'ca-ES': caESIntl,
|
|
108
|
+
'ru-RU': ruRUIntl,
|
|
109
|
+
'sr-RS': srRSIntl,
|
|
110
|
+
'ms-MY': msMYIntl,
|
|
111
|
+
'zh-TW': zhTWIntl,
|
|
112
|
+
'zh-HK': zhHKIntl,
|
|
113
|
+
'fr-FR': frFRIntl,
|
|
114
|
+
'pt-BR': ptBRIntl,
|
|
115
|
+
'ko-KR': koKRIntl,
|
|
116
|
+
'id-ID': idIDIntl,
|
|
117
|
+
'de-DE': deDEIntl,
|
|
118
|
+
'fa-IR': faIRIntl,
|
|
119
|
+
'tr-TR': trTRIntl,
|
|
120
|
+
'pl-PL': plPLIntl,
|
|
121
|
+
'hr-HR': hrHRIntl,
|
|
122
|
+
'th-TH': thTHIntl,
|
|
123
|
+
'cs-CZ': csCZIntl,
|
|
124
|
+
'sk-SK': skSKIntl,
|
|
125
|
+
'he-IL': heILIntl,
|
|
126
|
+
'uk-UA': ukUAIntl,
|
|
127
|
+
'uz-UZ': uzUZIntl,
|
|
128
|
+
'nl-NL': nlNLIntl,
|
|
129
|
+
'ro-RO': roROIntl,
|
|
130
|
+
'sv-SE': svSEIntl
|
|
131
|
+
};
|
|
132
|
+
var intlMapKeys = exports.intlMapKeys = Object.keys(intlMap);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* 根据 antd 的 key 来找到的 locale 插件的 key
|
|
136
|
+
*
|
|
137
|
+
* @param localeKey
|
|
138
|
+
*/
|
|
139
|
+
var findIntlKeyByAntdLocaleKey = exports.findIntlKeyByAntdLocaleKey = function findIntlKeyByAntdLocaleKey(localeKey) {
|
|
140
|
+
var localeName = (localeKey || 'zh-CN').toLocaleLowerCase();
|
|
141
|
+
return intlMapKeys.find(function (intlKey) {
|
|
142
|
+
var LowerCaseKey = intlKey.toLocaleLowerCase();
|
|
191
143
|
return LowerCaseKey.includes(localeName);
|
|
192
144
|
});
|
|
193
|
-
};
|
|
145
|
+
};
|
|
@@ -1,95 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
18
2
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
__export(ar_EG_exports, {
|
|
22
|
-
default: () => ar_EG_default
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
23
5
|
});
|
|
24
|
-
|
|
25
|
-
var
|
|
26
|
-
moneySymbol:
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = exports.default = {
|
|
8
|
+
moneySymbol: '$',
|
|
27
9
|
form: {
|
|
28
10
|
lightFilter: {
|
|
29
|
-
more:
|
|
30
|
-
clear:
|
|
31
|
-
confirm:
|
|
32
|
-
itemUnit:
|
|
11
|
+
more: 'المزيد',
|
|
12
|
+
clear: 'نظف',
|
|
13
|
+
confirm: 'تأكيد',
|
|
14
|
+
itemUnit: 'عناصر'
|
|
33
15
|
}
|
|
34
16
|
},
|
|
35
17
|
tableForm: {
|
|
36
|
-
search:
|
|
37
|
-
reset:
|
|
38
|
-
submit:
|
|
39
|
-
collapsed:
|
|
40
|
-
expand:
|
|
41
|
-
inputPlaceholder:
|
|
42
|
-
selectPlaceholder:
|
|
18
|
+
search: 'ابحث',
|
|
19
|
+
reset: 'إعادة تعيين',
|
|
20
|
+
submit: 'ارسال',
|
|
21
|
+
collapsed: 'مُقلص',
|
|
22
|
+
expand: 'مُوسع',
|
|
23
|
+
inputPlaceholder: 'الرجاء الإدخال',
|
|
24
|
+
selectPlaceholder: 'الرجاء الإختيار'
|
|
43
25
|
},
|
|
44
26
|
alert: {
|
|
45
|
-
clear:
|
|
46
|
-
selected:
|
|
47
|
-
item:
|
|
27
|
+
clear: 'نظف',
|
|
28
|
+
selected: 'محدد',
|
|
29
|
+
item: 'عنصر'
|
|
48
30
|
},
|
|
49
31
|
pagination: {
|
|
50
32
|
total: {
|
|
51
|
-
range:
|
|
52
|
-
total:
|
|
53
|
-
item:
|
|
33
|
+
range: ' ',
|
|
34
|
+
total: 'من',
|
|
35
|
+
item: 'عناصر'
|
|
54
36
|
}
|
|
55
37
|
},
|
|
56
38
|
tableToolBar: {
|
|
57
|
-
leftPin:
|
|
58
|
-
rightPin:
|
|
59
|
-
noPin:
|
|
60
|
-
leftFixedTitle:
|
|
61
|
-
rightFixedTitle:
|
|
62
|
-
noFixedTitle:
|
|
63
|
-
reset:
|
|
64
|
-
columnDisplay:
|
|
65
|
-
columnSetting:
|
|
66
|
-
fullScreen:
|
|
67
|
-
exitFullScreen:
|
|
68
|
-
reload:
|
|
69
|
-
density:
|
|
70
|
-
densityDefault:
|
|
71
|
-
densityLarger:
|
|
72
|
-
densityMiddle:
|
|
73
|
-
densitySmall:
|
|
39
|
+
leftPin: 'ثبت على اليسار',
|
|
40
|
+
rightPin: 'ثبت على اليمين',
|
|
41
|
+
noPin: 'الغاء التثبيت',
|
|
42
|
+
leftFixedTitle: 'لصق على اليسار',
|
|
43
|
+
rightFixedTitle: 'لصق على اليمين',
|
|
44
|
+
noFixedTitle: 'إلغاء الإلصاق',
|
|
45
|
+
reset: 'إعادة تعيين',
|
|
46
|
+
columnDisplay: 'الأعمدة المعروضة',
|
|
47
|
+
columnSetting: 'الإعدادات',
|
|
48
|
+
fullScreen: 'وضع كامل الشاشة',
|
|
49
|
+
exitFullScreen: 'الخروج من وضع كامل الشاشة',
|
|
50
|
+
reload: 'تحديث',
|
|
51
|
+
density: 'الكثافة',
|
|
52
|
+
densityDefault: 'افتراضي',
|
|
53
|
+
densityLarger: 'أكبر',
|
|
54
|
+
densityMiddle: 'وسط',
|
|
55
|
+
densitySmall: 'مدمج'
|
|
74
56
|
},
|
|
75
57
|
stepsForm: {
|
|
76
|
-
next:
|
|
77
|
-
prev:
|
|
78
|
-
submit:
|
|
58
|
+
next: 'التالي',
|
|
59
|
+
prev: 'السابق',
|
|
60
|
+
submit: 'أنهى'
|
|
79
61
|
},
|
|
80
62
|
loginForm: {
|
|
81
|
-
submitText:
|
|
63
|
+
submitText: 'تسجيل الدخول'
|
|
82
64
|
},
|
|
83
65
|
editableTable: {
|
|
84
66
|
action: {
|
|
85
|
-
save:
|
|
86
|
-
cancel:
|
|
87
|
-
delete:
|
|
88
|
-
add:
|
|
67
|
+
save: 'أنقذ',
|
|
68
|
+
cancel: 'إلغاء الأمر',
|
|
69
|
+
delete: 'حذف',
|
|
70
|
+
add: 'إضافة صف من البيانات'
|
|
89
71
|
}
|
|
90
72
|
},
|
|
91
73
|
switch: {
|
|
92
|
-
open:
|
|
93
|
-
close:
|
|
74
|
+
open: 'مفتوح',
|
|
75
|
+
close: 'غلق'
|
|
94
76
|
}
|
|
95
|
-
};
|
|
77
|
+
};
|
|
@@ -1,95 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
18
2
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
__export(ca_ES_exports, {
|
|
22
|
-
default: () => ca_ES_default
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
23
5
|
});
|
|
24
|
-
|
|
25
|
-
var
|
|
26
|
-
moneySymbol:
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = exports.default = {
|
|
8
|
+
moneySymbol: '€',
|
|
27
9
|
form: {
|
|
28
10
|
lightFilter: {
|
|
29
|
-
more:
|
|
30
|
-
clear:
|
|
31
|
-
confirm:
|
|
32
|
-
itemUnit:
|
|
11
|
+
more: 'Més',
|
|
12
|
+
clear: 'Netejar',
|
|
13
|
+
confirm: 'Confirmar',
|
|
14
|
+
itemUnit: 'Elements'
|
|
33
15
|
}
|
|
34
16
|
},
|
|
35
17
|
tableForm: {
|
|
36
|
-
search:
|
|
37
|
-
reset:
|
|
38
|
-
submit:
|
|
39
|
-
collapsed:
|
|
40
|
-
expand:
|
|
41
|
-
inputPlaceholder:
|
|
42
|
-
selectPlaceholder:
|
|
18
|
+
search: 'Cercar',
|
|
19
|
+
reset: 'Netejar',
|
|
20
|
+
submit: 'Enviar',
|
|
21
|
+
collapsed: 'Expandir',
|
|
22
|
+
expand: 'Col·lapsar',
|
|
23
|
+
inputPlaceholder: 'Introduïu valor',
|
|
24
|
+
selectPlaceholder: 'Seleccioneu valor'
|
|
43
25
|
},
|
|
44
26
|
alert: {
|
|
45
|
-
clear:
|
|
46
|
-
selected:
|
|
47
|
-
item:
|
|
27
|
+
clear: 'Netejar',
|
|
28
|
+
selected: 'Seleccionat',
|
|
29
|
+
item: 'Article'
|
|
48
30
|
},
|
|
49
31
|
pagination: {
|
|
50
32
|
total: {
|
|
51
|
-
range:
|
|
52
|
-
total:
|
|
53
|
-
item:
|
|
33
|
+
range: ' ',
|
|
34
|
+
total: 'de',
|
|
35
|
+
item: 'articles'
|
|
54
36
|
}
|
|
55
37
|
},
|
|
56
38
|
tableToolBar: {
|
|
57
39
|
leftPin: "Pin a l'esquerra",
|
|
58
|
-
rightPin:
|
|
59
|
-
noPin:
|
|
40
|
+
rightPin: 'Pin a la dreta',
|
|
41
|
+
noPin: 'Sense Pin',
|
|
60
42
|
leftFixedTitle: "Fixat a l'esquerra",
|
|
61
|
-
rightFixedTitle:
|
|
62
|
-
noFixedTitle:
|
|
63
|
-
reset:
|
|
64
|
-
columnDisplay:
|
|
65
|
-
columnSetting:
|
|
66
|
-
fullScreen:
|
|
67
|
-
exitFullScreen:
|
|
68
|
-
reload:
|
|
69
|
-
density:
|
|
70
|
-
densityDefault:
|
|
71
|
-
densityLarger:
|
|
72
|
-
densityMiddle:
|
|
73
|
-
densitySmall:
|
|
43
|
+
rightFixedTitle: 'Fixat a la dreta',
|
|
44
|
+
noFixedTitle: 'Sense fixar',
|
|
45
|
+
reset: 'Reiniciar',
|
|
46
|
+
columnDisplay: 'Mostrar Columna',
|
|
47
|
+
columnSetting: 'Configuració',
|
|
48
|
+
fullScreen: 'Pantalla Completa',
|
|
49
|
+
exitFullScreen: 'Sortir Pantalla Completa',
|
|
50
|
+
reload: 'Refrescar',
|
|
51
|
+
density: 'Densitat',
|
|
52
|
+
densityDefault: 'Per Defecte',
|
|
53
|
+
densityLarger: 'Llarg',
|
|
54
|
+
densityMiddle: 'Mitjà',
|
|
55
|
+
densitySmall: 'Compacte'
|
|
74
56
|
},
|
|
75
57
|
stepsForm: {
|
|
76
|
-
next:
|
|
77
|
-
prev:
|
|
78
|
-
submit:
|
|
58
|
+
next: 'Següent',
|
|
59
|
+
prev: 'Anterior',
|
|
60
|
+
submit: 'Finalizar'
|
|
79
61
|
},
|
|
80
62
|
loginForm: {
|
|
81
|
-
submitText:
|
|
63
|
+
submitText: 'Entrar'
|
|
82
64
|
},
|
|
83
65
|
editableTable: {
|
|
84
66
|
action: {
|
|
85
|
-
save:
|
|
86
|
-
cancel:
|
|
87
|
-
delete:
|
|
88
|
-
add:
|
|
67
|
+
save: 'Guardar',
|
|
68
|
+
cancel: 'Cancel·lar',
|
|
69
|
+
delete: 'Eliminar',
|
|
70
|
+
add: 'afegir una fila de dades'
|
|
89
71
|
}
|
|
90
72
|
},
|
|
91
73
|
switch: {
|
|
92
|
-
open:
|
|
93
|
-
close:
|
|
74
|
+
open: 'obert',
|
|
75
|
+
close: 'tancat'
|
|
94
76
|
}
|
|
95
|
-
};
|
|
77
|
+
};
|