linkmore-design 1.0.79 → 1.0.80
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/Badge/Ribbon.d.ts +15 -0
- package/dist/Badge/ScrollNumber.d.ts +18 -0
- package/dist/Badge/SingleNumber.d.ts +12 -0
- package/dist/Badge/demos/basic.d.ts +2 -0
- package/dist/Badge/demos/basic1.d.ts +3 -0
- package/dist/Badge/demos/basic2.d.ts +3 -0
- package/dist/Badge/index.d.ts +30 -0
- package/dist/Badge/style/index.d.ts +1 -0
- package/dist/Badge/utils.d.ts +1 -0
- package/dist/Button/index.d.ts +6 -2
- package/dist/CardTable/utils.d.ts +1 -1
- package/dist/ConfigProvider/DisabledContext.d.ts +9 -0
- package/dist/ConfigProvider/SizeContext.d.ts +9 -0
- package/dist/ConfigProvider/context.d.ts +59 -0
- package/dist/ConfigProvider/cssVariables.d.ts +3 -0
- package/dist/ConfigProvider/defaultRenderEmpty.d.ts +4 -0
- package/dist/ConfigProvider/index.d.ts +60 -1
- package/dist/Divider/demos/basic.d.ts +3 -0
- package/dist/Divider/demos/plain.d.ts +3 -0
- package/dist/Divider/demos/vertical.d.ts +3 -0
- package/dist/Divider/index.d.ts +14 -0
- package/dist/Divider/style/index.d.ts +1 -0
- package/dist/Locale/ar_EG.d.ts +3 -0
- package/dist/Locale/az_AZ.d.ts +3 -0
- package/dist/Locale/bg_BG.d.ts +3 -0
- package/dist/Locale/bn_BD.d.ts +3 -0
- package/dist/Locale/by_BY.d.ts +3 -0
- package/dist/Locale/ca_ES.d.ts +3 -0
- package/dist/Locale/cs_CZ.d.ts +3 -0
- package/dist/Locale/da_DK.d.ts +3 -0
- package/dist/Locale/de_DE.d.ts +3 -0
- package/dist/Locale/default.d.ts +3 -0
- package/dist/Locale/el_GR.d.ts +3 -0
- package/dist/Locale/en_GB.d.ts +3 -0
- package/dist/Locale/en_US.d.ts +2 -0
- package/dist/Locale/es_ES.d.ts +3 -0
- package/dist/Locale/et_EE.d.ts +3 -0
- package/dist/Locale/fa_IR.d.ts +3 -0
- package/dist/Locale/fi_FI.d.ts +3 -0
- package/dist/Locale/fr_BE.d.ts +3 -0
- package/dist/Locale/fr_CA.d.ts +3 -0
- package/dist/Locale/fr_FR.d.ts +3 -0
- package/dist/Locale/ga_IE.d.ts +3 -0
- package/dist/Locale/gl_ES.d.ts +3 -0
- package/dist/Locale/he_IL.d.ts +3 -0
- package/dist/Locale/hi_IN.d.ts +3 -0
- package/dist/Locale/hr_HR.d.ts +3 -0
- package/dist/Locale/hu_HU.d.ts +3 -0
- package/dist/Locale/hy_AM.d.ts +3 -0
- package/dist/Locale/id_ID.d.ts +3 -0
- package/dist/Locale/is_IS.d.ts +3 -0
- package/dist/Locale/it_IT.d.ts +3 -0
- package/dist/Locale/ja_JP.d.ts +3 -0
- package/dist/Locale/ka_GE.d.ts +3 -0
- package/dist/Locale/kk_KZ.d.ts +3 -0
- package/dist/Locale/km_KH.d.ts +3 -0
- package/dist/Locale/kmr_IQ.d.ts +3 -0
- package/dist/Locale/kn_IN.d.ts +3 -0
- package/dist/Locale/ko_KR.d.ts +3 -0
- package/dist/Locale/ku_IQ.d.ts +3 -0
- package/dist/Locale/lt_LT.d.ts +3 -0
- package/dist/Locale/lv_LV.d.ts +3 -0
- package/dist/Locale/mk_MK.d.ts +3 -0
- package/dist/Locale/ml_IN.d.ts +3 -0
- package/dist/Locale/mn_MN.d.ts +3 -0
- package/dist/Locale/ms_MY.d.ts +3 -0
- package/dist/Locale/nb_NO.d.ts +3 -0
- package/dist/Locale/ne_NP.d.ts +3 -0
- package/dist/Locale/nl_BE.d.ts +3 -0
- package/dist/Locale/nl_NL.d.ts +3 -0
- package/dist/Locale/pl_PL.d.ts +3 -0
- package/dist/Locale/pt_BR.d.ts +3 -0
- package/dist/Locale/pt_PT.d.ts +3 -0
- package/dist/Locale/ro_RO.d.ts +3 -0
- package/dist/Locale/ru_RU.d.ts +3 -0
- package/dist/Locale/si_LK.d.ts +3 -0
- package/dist/Locale/sk_SK.d.ts +3 -0
- package/dist/Locale/sl_SI.d.ts +3 -0
- package/dist/Locale/sr_RS.d.ts +3 -0
- package/dist/Locale/sv_SE.d.ts +3 -0
- package/dist/Locale/ta_IN.d.ts +3 -0
- package/dist/Locale/th_TH.d.ts +3 -0
- package/dist/Locale/tk_TK.d.ts +3 -0
- package/dist/Locale/tr_TR.d.ts +3 -0
- package/dist/Locale/uk_UA.d.ts +3 -0
- package/dist/Locale/ur_PK.d.ts +3 -0
- package/dist/Locale/vi_VN.d.ts +3 -0
- package/dist/Locale/zh_CN.d.ts +3 -0
- package/dist/Locale/zh_HK.d.ts +3 -0
- package/dist/Locale/zh_TW.d.ts +3 -0
- package/dist/Menu/index.d.ts +2 -0
- package/dist/Result/demos/403.d.ts +2 -0
- package/dist/Result/demos/404.d.ts +2 -0
- package/dist/Result/demos/500.d.ts +2 -0
- package/dist/Result/demos/basic.d.ts +2 -0
- package/dist/Result/demos/customicon.d.ts +2 -0
- package/dist/Result/demos/error.d.ts +2 -0
- package/dist/Result/demos/info.d.ts +2 -0
- package/dist/Result/demos/success.d.ts +2 -0
- package/dist/Result/demos/warning.d.ts +2 -0
- package/dist/Result/index.d.ts +32 -0
- package/dist/Result/noFound.d.ts +2 -0
- package/dist/Result/serverError.d.ts +2 -0
- package/dist/Result/style/index.d.ts +1 -0
- package/dist/Result/unauthorized.d.ts +2 -0
- package/dist/index.d.ts +11 -7
- package/dist/index.umd.js +180239 -186778
- package/dist/index.umd.min.js +30 -22
- package/dist/locale-provider/LocaleReceiver.d.ts +20 -0
- package/dist/locale-provider/ar_EG.d.ts +2 -0
- package/dist/locale-provider/az_AZ.d.ts +2 -0
- package/dist/locale-provider/bg_BG.d.ts +2 -0
- package/dist/locale-provider/bn_BD.d.ts +2 -0
- package/dist/locale-provider/by_BY.d.ts +2 -0
- package/dist/locale-provider/ca_ES.d.ts +2 -0
- package/dist/locale-provider/context.d.ts +7 -0
- package/dist/locale-provider/cs_CZ.d.ts +2 -0
- package/dist/locale-provider/da_DK.d.ts +2 -0
- package/dist/locale-provider/de_DE.d.ts +2 -0
- package/dist/locale-provider/default.d.ts +2 -0
- package/dist/locale-provider/el_GR.d.ts +2 -0
- package/dist/locale-provider/en_GB.d.ts +2 -0
- package/dist/locale-provider/en_US.d.ts +2 -0
- package/dist/locale-provider/es_ES.d.ts +2 -0
- package/dist/locale-provider/et_EE.d.ts +2 -0
- package/dist/locale-provider/fa_IR.d.ts +2 -0
- package/dist/locale-provider/fi_FI.d.ts +2 -0
- package/dist/locale-provider/fr_BE.d.ts +2 -0
- package/dist/locale-provider/fr_CA.d.ts +2 -0
- package/dist/locale-provider/fr_FR.d.ts +2 -0
- package/dist/locale-provider/ga_IE.d.ts +2 -0
- package/dist/locale-provider/gl_ES.d.ts +2 -0
- package/dist/locale-provider/he_IL.d.ts +2 -0
- package/dist/locale-provider/hi_IN.d.ts +2 -0
- package/dist/locale-provider/hr_HR.d.ts +2 -0
- package/dist/locale-provider/hu_HU.d.ts +2 -0
- package/dist/locale-provider/hy_AM.d.ts +2 -0
- package/dist/locale-provider/id_ID.d.ts +2 -0
- package/dist/locale-provider/index.d.ts +61 -0
- package/dist/locale-provider/is_IS.d.ts +2 -0
- package/dist/locale-provider/it_IT.d.ts +2 -0
- package/dist/locale-provider/ja_JP.d.ts +2 -0
- package/dist/locale-provider/ka_GE.d.ts +2 -0
- package/dist/locale-provider/kk_KZ.d.ts +2 -0
- package/dist/locale-provider/km_KH.d.ts +2 -0
- package/dist/locale-provider/kmr_IQ.d.ts +2 -0
- package/dist/locale-provider/kn_IN.d.ts +2 -0
- package/dist/locale-provider/ko_KR.d.ts +2 -0
- package/dist/locale-provider/ku_IQ.d.ts +2 -0
- package/dist/locale-provider/lt_LT.d.ts +2 -0
- package/dist/locale-provider/lv_LV.d.ts +2 -0
- package/dist/locale-provider/mk_MK.d.ts +2 -0
- package/dist/locale-provider/ml_IN.d.ts +2 -0
- package/dist/locale-provider/mn_MN.d.ts +2 -0
- package/dist/locale-provider/ms_MY.d.ts +2 -0
- package/dist/locale-provider/nb_NO.d.ts +2 -0
- package/dist/locale-provider/ne_NP.d.ts +2 -0
- package/dist/locale-provider/nl_BE.d.ts +2 -0
- package/dist/locale-provider/nl_NL.d.ts +2 -0
- package/dist/locale-provider/pl_PL.d.ts +2 -0
- package/dist/locale-provider/pt_BR.d.ts +2 -0
- package/dist/locale-provider/pt_PT.d.ts +2 -0
- package/dist/locale-provider/ro_RO.d.ts +2 -0
- package/dist/locale-provider/ru_RU.d.ts +2 -0
- package/dist/locale-provider/si_LK.d.ts +2 -0
- package/dist/locale-provider/sk_SK.d.ts +2 -0
- package/dist/locale-provider/sl_SI.d.ts +2 -0
- package/dist/locale-provider/sr_RS.d.ts +2 -0
- package/dist/locale-provider/style/index.d.ts +1 -0
- package/dist/locale-provider/sv_SE.d.ts +2 -0
- package/dist/locale-provider/ta_IN.d.ts +2 -0
- package/dist/locale-provider/th_TH.d.ts +2 -0
- package/dist/locale-provider/tk_TK.d.ts +2 -0
- package/dist/locale-provider/tr_TR.d.ts +2 -0
- package/dist/locale-provider/uk_UA.d.ts +2 -0
- package/dist/locale-provider/ur_PK.d.ts +2 -0
- package/dist/locale-provider/vi_VN.d.ts +2 -0
- package/dist/locale-provider/zh_CN.d.ts +2 -0
- package/dist/locale-provider/zh_HK.d.ts +2 -0
- package/dist/locale-provider/zh_TW.d.ts +2 -0
- package/es/Badge/Ribbon.d.ts +15 -0
- package/es/Badge/Ribbon.js +47 -0
- package/es/Badge/ScrollNumber.d.ts +18 -0
- package/es/Badge/ScrollNumber.js +80 -0
- package/es/Badge/SingleNumber.d.ts +12 -0
- package/es/Badge/SingleNumber.js +122 -0
- package/es/Badge/index.d.ts +30 -0
- package/es/Badge/index.js +183 -0
- package/es/Badge/style/index.css +511 -0
- package/es/Badge/style/index.d.ts +1 -0
- package/es/Badge/style/index.js +1 -0
- package/es/Badge/utils.d.ts +1 -0
- package/es/Badge/utils.js +5 -0
- package/es/Button/index.d.ts +6 -2
- package/es/Button/index.js +1 -0
- package/es/CardTable/body/TableBodyCell.js +1 -3
- package/es/CardTable/card/PictureTextColumn.js +8 -4
- package/es/CardTable/card/PictureTextRow.js +19 -3
- package/es/CardTable/card/PictureTextRowOperate.js +19 -3
- package/es/CardTable/style/index.css +75 -63
- package/es/ConfigProvider/DisabledContext.d.ts +9 -0
- package/es/ConfigProvider/DisabledContext.js +11 -0
- package/es/ConfigProvider/SizeContext.d.ts +9 -0
- package/es/ConfigProvider/SizeContext.js +12 -0
- package/es/ConfigProvider/context.d.ts +59 -0
- package/es/ConfigProvider/context.js +41 -0
- package/es/ConfigProvider/cssVariables.d.ts +3 -0
- package/es/ConfigProvider/cssVariables.js +97 -0
- package/es/ConfigProvider/defaultRenderEmpty.d.ts +4 -0
- package/es/ConfigProvider/defaultRenderEmpty.js +37 -0
- package/es/ConfigProvider/index.d.ts +61 -0
- package/es/ConfigProvider/index.js +209 -10
- package/es/DatePicker/generatePicker/index.d.ts +1 -1
- package/es/DatePicker/index.d.ts +1 -1
- package/es/Divider/index.d.ts +14 -0
- package/es/Divider/index.js +63 -0
- package/es/Divider/style/index.css +511 -0
- package/es/Divider/style/index.d.ts +1 -0
- package/es/Divider/style/index.js +1 -0
- package/es/Drawer/style/index.css +1 -0
- package/es/LeftTable/index.js +2 -24
- package/es/LmEditTable/EditTable.js +1 -1
- package/es/LmTable/index.js +0 -5
- package/es/Locale/ar_EG.d.ts +3 -0
- package/es/Locale/ar_EG.js +116 -0
- package/es/Locale/az_AZ.d.ts +3 -0
- package/es/Locale/az_AZ.js +97 -0
- package/es/Locale/bg_BG.d.ts +3 -0
- package/es/Locale/bg_BG.js +43 -0
- package/es/Locale/bn_BD.d.ts +3 -0
- package/es/Locale/bn_BD.js +130 -0
- package/es/Locale/by_BY.d.ts +3 -0
- package/es/Locale/by_BY.js +132 -0
- package/es/Locale/ca_ES.d.ts +3 -0
- package/es/Locale/ca_ES.js +125 -0
- package/es/Locale/cs_CZ.d.ts +3 -0
- package/es/Locale/cs_CZ.js +132 -0
- package/es/Locale/da_DK.d.ts +3 -0
- package/es/Locale/da_DK.js +53 -0
- package/es/Locale/de_DE.d.ts +3 -0
- package/es/Locale/de_DE.js +126 -0
- package/es/Locale/default.d.ts +3 -0
- package/es/Locale/default.js +132 -0
- package/es/Locale/el_GR.d.ts +3 -0
- package/es/Locale/el_GR.js +43 -0
- package/es/Locale/en_GB.d.ts +3 -0
- package/es/Locale/en_GB.js +132 -0
- package/es/Locale/en_US.d.ts +2 -0
- package/es/Locale/en_US.js +2 -0
- package/es/Locale/es_ES.d.ts +3 -0
- package/es/Locale/es_ES.js +132 -0
- package/es/Locale/et_EE.d.ts +3 -0
- package/es/Locale/et_EE.js +132 -0
- package/es/Locale/fa_IR.d.ts +3 -0
- package/es/Locale/fa_IR.js +130 -0
- package/es/Locale/fi_FI.d.ts +3 -0
- package/es/Locale/fi_FI.js +53 -0
- package/es/Locale/fr_BE.d.ts +3 -0
- package/es/Locale/fr_BE.js +48 -0
- package/es/Locale/fr_CA.d.ts +3 -0
- package/es/Locale/fr_CA.js +60 -0
- package/es/Locale/fr_FR.d.ts +3 -0
- package/es/Locale/fr_FR.js +128 -0
- package/es/Locale/ga_IE.d.ts +3 -0
- package/es/Locale/ga_IE.js +123 -0
- package/es/Locale/gl_ES.d.ts +3 -0
- package/es/Locale/gl_ES.js +110 -0
- package/es/Locale/he_IL.d.ts +3 -0
- package/es/Locale/he_IL.js +116 -0
- package/es/Locale/hi_IN.d.ts +3 -0
- package/es/Locale/hi_IN.js +130 -0
- package/es/Locale/hr_HR.d.ts +3 -0
- package/es/Locale/hr_HR.js +129 -0
- package/es/Locale/hu_HU.d.ts +3 -0
- package/es/Locale/hu_HU.js +44 -0
- package/es/Locale/hy_AM.d.ts +3 -0
- package/es/Locale/hy_AM.js +109 -0
- package/es/Locale/id_ID.d.ts +3 -0
- package/es/Locale/id_ID.js +45 -0
- package/es/Locale/is_IS.d.ts +3 -0
- package/es/Locale/is_IS.js +43 -0
- package/es/Locale/it_IT.d.ts +3 -0
- package/es/Locale/it_IT.js +61 -0
- package/es/Locale/ja_JP.d.ts +3 -0
- package/es/Locale/ja_JP.js +102 -0
- package/es/Locale/ka_GE.d.ts +3 -0
- package/es/Locale/ka_GE.js +130 -0
- package/es/Locale/kk_KZ.d.ts +3 -0
- package/es/Locale/kk_KZ.js +124 -0
- package/es/Locale/km_KH.d.ts +3 -0
- package/es/Locale/km_KH.js +104 -0
- package/es/Locale/kmr_IQ.d.ts +3 -0
- package/es/Locale/kmr_IQ.js +43 -0
- package/es/Locale/kn_IN.d.ts +3 -0
- package/es/Locale/kn_IN.js +51 -0
- package/es/Locale/ko_KR.d.ts +3 -0
- package/es/Locale/ko_KR.js +96 -0
- package/es/Locale/ku_IQ.d.ts +3 -0
- package/es/Locale/ku_IQ.js +46 -0
- package/es/Locale/lt_LT.d.ts +3 -0
- package/es/Locale/lt_LT.js +121 -0
- package/es/Locale/lv_LV.d.ts +3 -0
- package/es/Locale/lv_LV.js +43 -0
- package/es/Locale/mk_MK.d.ts +3 -0
- package/es/Locale/mk_MK.js +58 -0
- package/es/Locale/ml_IN.d.ts +3 -0
- package/es/Locale/ml_IN.js +130 -0
- package/es/Locale/mn_MN.d.ts +3 -0
- package/es/Locale/mn_MN.js +43 -0
- package/es/Locale/ms_MY.d.ts +3 -0
- package/es/Locale/ms_MY.js +63 -0
- package/es/Locale/nb_NO.d.ts +3 -0
- package/es/Locale/nb_NO.js +124 -0
- package/es/Locale/ne_NP.d.ts +3 -0
- package/es/Locale/ne_NP.js +44 -0
- package/es/Locale/nl_BE.d.ts +3 -0
- package/es/Locale/nl_BE.js +130 -0
- package/es/Locale/nl_NL.d.ts +3 -0
- package/es/Locale/nl_NL.js +130 -0
- package/es/Locale/pl_PL.d.ts +3 -0
- package/es/Locale/pl_PL.js +132 -0
- package/es/Locale/pt_BR.d.ts +3 -0
- package/es/Locale/pt_BR.js +130 -0
- package/es/Locale/pt_PT.d.ts +3 -0
- package/es/Locale/pt_PT.js +44 -0
- package/es/Locale/ro_RO.d.ts +3 -0
- package/es/Locale/ro_RO.js +130 -0
- package/es/Locale/ru_RU.d.ts +3 -0
- package/es/Locale/ru_RU.js +129 -0
- package/es/Locale/si_LK.d.ts +3 -0
- package/es/Locale/si_LK.js +132 -0
- package/es/Locale/sk_SK.d.ts +3 -0
- package/es/Locale/sk_SK.js +132 -0
- package/es/Locale/sl_SI.d.ts +3 -0
- package/es/Locale/sl_SI.js +43 -0
- package/es/Locale/sr_RS.d.ts +3 -0
- package/es/Locale/sr_RS.js +130 -0
- package/es/Locale/sv_SE.d.ts +3 -0
- package/es/Locale/sv_SE.js +130 -0
- package/es/Locale/ta_IN.d.ts +3 -0
- package/es/Locale/ta_IN.js +63 -0
- package/es/Locale/th_TH.d.ts +3 -0
- package/es/Locale/th_TH.js +126 -0
- package/es/Locale/tk_TK.d.ts +3 -0
- package/es/Locale/tk_TK.js +128 -0
- package/es/Locale/tr_TR.d.ts +3 -0
- package/es/Locale/tr_TR.js +128 -0
- package/es/Locale/uk_UA.d.ts +3 -0
- package/es/Locale/uk_UA.js +132 -0
- package/es/Locale/ur_PK.d.ts +3 -0
- package/es/Locale/ur_PK.js +130 -0
- package/es/Locale/vi_VN.d.ts +3 -0
- package/es/Locale/vi_VN.js +43 -0
- package/es/Locale/zh_CN.d.ts +3 -0
- package/es/Locale/zh_CN.js +131 -0
- package/es/Locale/zh_HK.d.ts +3 -0
- package/es/Locale/zh_HK.js +127 -0
- package/es/Locale/zh_TW.d.ts +3 -0
- package/es/Locale/zh_TW.js +128 -0
- package/es/Menu/index.d.ts +2 -0
- package/es/QuickMenu/style/index.css +1 -0
- package/es/Result/index.d.ts +32 -0
- package/es/Result/index.js +100 -0
- package/es/Result/noFound.d.ts +2 -0
- package/es/Result/noFound.js +239 -0
- package/es/Result/serverError.d.ts +2 -0
- package/es/Result/serverError.js +279 -0
- package/es/Result/style/index.css +511 -0
- package/es/Result/style/index.d.ts +1 -0
- package/es/Result/style/index.js +1 -0
- package/es/Result/unauthorized.d.ts +2 -0
- package/es/Result/unauthorized.js +229 -0
- package/es/_util/statusUtils.d.ts +1 -1
- package/es/index.d.ts +11 -7
- package/es/index.js +5 -8
- package/es/locale-provider/LocaleReceiver.d.ts +20 -0
- package/es/locale-provider/LocaleReceiver.js +66 -0
- package/es/locale-provider/ar_EG.d.ts +2 -0
- package/es/locale-provider/ar_EG.js +2 -0
- package/es/locale-provider/az_AZ.d.ts +2 -0
- package/es/locale-provider/az_AZ.js +2 -0
- package/es/locale-provider/bg_BG.d.ts +2 -0
- package/es/locale-provider/bg_BG.js +2 -0
- package/es/locale-provider/bn_BD.d.ts +2 -0
- package/es/locale-provider/bn_BD.js +2 -0
- package/es/locale-provider/by_BY.d.ts +2 -0
- package/es/locale-provider/by_BY.js +2 -0
- package/es/locale-provider/ca_ES.d.ts +2 -0
- package/es/locale-provider/ca_ES.js +2 -0
- package/es/locale-provider/context.d.ts +7 -0
- package/es/locale-provider/context.js +3 -0
- package/es/locale-provider/cs_CZ.d.ts +2 -0
- package/es/locale-provider/cs_CZ.js +2 -0
- package/es/locale-provider/da_DK.d.ts +2 -0
- package/es/locale-provider/da_DK.js +2 -0
- package/es/locale-provider/de_DE.d.ts +2 -0
- package/es/locale-provider/de_DE.js +2 -0
- package/es/locale-provider/default.d.ts +2 -0
- package/es/locale-provider/default.js +2 -0
- package/es/locale-provider/el_GR.d.ts +2 -0
- package/es/locale-provider/el_GR.js +2 -0
- package/es/locale-provider/en_GB.d.ts +2 -0
- package/es/locale-provider/en_GB.js +2 -0
- package/es/locale-provider/en_US.d.ts +2 -0
- package/es/locale-provider/en_US.js +2 -0
- package/es/locale-provider/es_ES.d.ts +2 -0
- package/es/locale-provider/es_ES.js +2 -0
- package/es/locale-provider/et_EE.d.ts +2 -0
- package/es/locale-provider/et_EE.js +2 -0
- package/es/locale-provider/fa_IR.d.ts +2 -0
- package/es/locale-provider/fa_IR.js +2 -0
- package/es/locale-provider/fi_FI.d.ts +2 -0
- package/es/locale-provider/fi_FI.js +2 -0
- package/es/locale-provider/fr_BE.d.ts +2 -0
- package/es/locale-provider/fr_BE.js +2 -0
- package/es/locale-provider/fr_CA.d.ts +2 -0
- package/es/locale-provider/fr_CA.js +2 -0
- package/es/locale-provider/fr_FR.d.ts +2 -0
- package/es/locale-provider/fr_FR.js +2 -0
- package/es/locale-provider/ga_IE.d.ts +2 -0
- package/es/locale-provider/ga_IE.js +2 -0
- package/es/locale-provider/gl_ES.d.ts +2 -0
- package/es/locale-provider/gl_ES.js +2 -0
- package/es/locale-provider/he_IL.d.ts +2 -0
- package/es/locale-provider/he_IL.js +2 -0
- package/es/locale-provider/hi_IN.d.ts +2 -0
- package/es/locale-provider/hi_IN.js +2 -0
- package/es/locale-provider/hr_HR.d.ts +2 -0
- package/es/locale-provider/hr_HR.js +2 -0
- package/es/locale-provider/hu_HU.d.ts +2 -0
- package/es/locale-provider/hu_HU.js +2 -0
- package/es/locale-provider/hy_AM.d.ts +2 -0
- package/es/locale-provider/hy_AM.js +2 -0
- package/es/locale-provider/id_ID.d.ts +2 -0
- package/es/locale-provider/id_ID.js +2 -0
- package/es/locale-provider/index.d.ts +61 -0
- package/es/locale-provider/index.js +71 -0
- package/es/locale-provider/is_IS.d.ts +2 -0
- package/es/locale-provider/is_IS.js +2 -0
- package/es/locale-provider/it_IT.d.ts +2 -0
- package/es/locale-provider/it_IT.js +2 -0
- package/es/locale-provider/ja_JP.d.ts +2 -0
- package/es/locale-provider/ja_JP.js +2 -0
- package/es/locale-provider/ka_GE.d.ts +2 -0
- package/es/locale-provider/ka_GE.js +2 -0
- package/es/locale-provider/kk_KZ.d.ts +2 -0
- package/es/locale-provider/kk_KZ.js +2 -0
- package/es/locale-provider/km_KH.d.ts +2 -0
- package/es/locale-provider/km_KH.js +2 -0
- package/es/locale-provider/kmr_IQ.d.ts +2 -0
- package/es/locale-provider/kmr_IQ.js +2 -0
- package/es/locale-provider/kn_IN.d.ts +2 -0
- package/es/locale-provider/kn_IN.js +2 -0
- package/es/locale-provider/ko_KR.d.ts +2 -0
- package/es/locale-provider/ko_KR.js +2 -0
- package/es/locale-provider/ku_IQ.d.ts +2 -0
- package/es/locale-provider/ku_IQ.js +2 -0
- package/es/locale-provider/lt_LT.d.ts +2 -0
- package/es/locale-provider/lt_LT.js +2 -0
- package/es/locale-provider/lv_LV.d.ts +2 -0
- package/es/locale-provider/lv_LV.js +2 -0
- package/es/locale-provider/mk_MK.d.ts +2 -0
- package/es/locale-provider/mk_MK.js +2 -0
- package/es/locale-provider/ml_IN.d.ts +2 -0
- package/es/locale-provider/ml_IN.js +2 -0
- package/es/locale-provider/mn_MN.d.ts +2 -0
- package/es/locale-provider/mn_MN.js +2 -0
- package/es/locale-provider/ms_MY.d.ts +2 -0
- package/es/locale-provider/ms_MY.js +2 -0
- package/es/locale-provider/nb_NO.d.ts +2 -0
- package/es/locale-provider/nb_NO.js +2 -0
- package/es/locale-provider/ne_NP.d.ts +2 -0
- package/es/locale-provider/ne_NP.js +2 -0
- package/es/locale-provider/nl_BE.d.ts +2 -0
- package/es/locale-provider/nl_BE.js +2 -0
- package/es/locale-provider/nl_NL.d.ts +2 -0
- package/es/locale-provider/nl_NL.js +2 -0
- package/es/locale-provider/pl_PL.d.ts +2 -0
- package/es/locale-provider/pl_PL.js +2 -0
- package/es/locale-provider/pt_BR.d.ts +2 -0
- package/es/locale-provider/pt_BR.js +2 -0
- package/es/locale-provider/pt_PT.d.ts +2 -0
- package/es/locale-provider/pt_PT.js +2 -0
- package/es/locale-provider/ro_RO.d.ts +2 -0
- package/es/locale-provider/ro_RO.js +2 -0
- package/es/locale-provider/ru_RU.d.ts +2 -0
- package/es/locale-provider/ru_RU.js +2 -0
- package/es/locale-provider/si_LK.d.ts +2 -0
- package/es/locale-provider/si_LK.js +2 -0
- package/es/locale-provider/sk_SK.d.ts +2 -0
- package/es/locale-provider/sk_SK.js +2 -0
- package/es/locale-provider/sl_SI.d.ts +2 -0
- package/es/locale-provider/sl_SI.js +2 -0
- package/es/locale-provider/sr_RS.d.ts +2 -0
- package/es/locale-provider/sr_RS.js +2 -0
- package/es/locale-provider/style/index.css +511 -0
- package/es/locale-provider/style/index.d.ts +1 -0
- package/es/locale-provider/style/index.js +1 -0
- package/es/locale-provider/sv_SE.d.ts +2 -0
- package/es/locale-provider/sv_SE.js +2 -0
- package/es/locale-provider/ta_IN.d.ts +2 -0
- package/es/locale-provider/ta_IN.js +2 -0
- package/es/locale-provider/th_TH.d.ts +2 -0
- package/es/locale-provider/th_TH.js +2 -0
- package/es/locale-provider/tk_TK.d.ts +2 -0
- package/es/locale-provider/tk_TK.js +2 -0
- package/es/locale-provider/tr_TR.d.ts +2 -0
- package/es/locale-provider/tr_TR.js +2 -0
- package/es/locale-provider/uk_UA.d.ts +2 -0
- package/es/locale-provider/uk_UA.js +2 -0
- package/es/locale-provider/ur_PK.d.ts +2 -0
- package/es/locale-provider/ur_PK.js +2 -0
- package/es/locale-provider/vi_VN.d.ts +2 -0
- package/es/locale-provider/vi_VN.js +2 -0
- package/es/locale-provider/zh_CN.d.ts +2 -0
- package/es/locale-provider/zh_CN.js +2 -0
- package/es/locale-provider/zh_HK.d.ts +2 -0
- package/es/locale-provider/zh_HK.js +2 -0
- package/es/locale-provider/zh_TW.d.ts +2 -0
- package/es/locale-provider/zh_TW.js +2 -0
- package/es/message/index.d.ts +6 -6
- package/lib/Badge/Ribbon.d.ts +15 -0
- package/lib/Badge/Ribbon.js +63 -0
- package/lib/Badge/ScrollNumber.d.ts +18 -0
- package/lib/Badge/ScrollNumber.js +96 -0
- package/lib/Badge/SingleNumber.d.ts +12 -0
- package/lib/Badge/SingleNumber.js +135 -0
- package/lib/Badge/index.d.ts +30 -0
- package/lib/Badge/index.js +202 -0
- package/lib/Badge/style/index.css +511 -0
- package/lib/Badge/style/index.d.ts +1 -0
- package/{es/CkFilter → lib/Badge}/style/index.js +0 -0
- package/lib/Badge/utils.d.ts +1 -0
- package/lib/Badge/utils.js +13 -0
- package/lib/Button/index.d.ts +6 -2
- package/lib/Button/index.js +1 -0
- package/lib/CardTable/body/TableBodyCell.js +1 -3
- package/lib/CardTable/card/PictureTextColumn.js +8 -4
- package/lib/CardTable/card/PictureTextRow.js +19 -3
- package/lib/CardTable/card/PictureTextRowOperate.js +19 -3
- package/lib/CardTable/style/index.css +75 -63
- package/lib/ConfigProvider/DisabledContext.d.ts +9 -0
- package/lib/ConfigProvider/DisabledContext.js +25 -0
- package/lib/ConfigProvider/SizeContext.d.ts +9 -0
- package/lib/ConfigProvider/SizeContext.js +26 -0
- package/lib/ConfigProvider/context.d.ts +59 -0
- package/lib/ConfigProvider/context.js +54 -0
- package/lib/ConfigProvider/cssVariables.d.ts +3 -0
- package/lib/ConfigProvider/cssVariables.js +114 -0
- package/lib/ConfigProvider/defaultRenderEmpty.d.ts +4 -0
- package/lib/ConfigProvider/defaultRenderEmpty.js +52 -0
- package/lib/ConfigProvider/index.d.ts +61 -0
- package/lib/ConfigProvider/index.js +245 -4
- package/lib/DatePicker/generatePicker/index.d.ts +1 -1
- package/lib/DatePicker/index.d.ts +1 -1
- package/lib/Divider/index.d.ts +14 -0
- package/lib/Divider/index.js +79 -0
- package/lib/Divider/style/index.css +511 -0
- package/lib/Divider/style/index.d.ts +1 -0
- package/{es/Filter → lib/Divider}/style/index.js +0 -0
- package/lib/Drawer/style/index.css +1 -0
- package/lib/LeftTable/index.js +2 -24
- package/lib/LmEditTable/EditTable.js +1 -1
- package/lib/LmTable/index.js +0 -5
- package/lib/Locale/ar_EG.d.ts +3 -0
- package/lib/Locale/ar_EG.js +130 -0
- package/lib/Locale/az_AZ.d.ts +3 -0
- package/lib/Locale/az_AZ.js +111 -0
- package/lib/Locale/bg_BG.d.ts +3 -0
- package/lib/Locale/bg_BG.js +57 -0
- package/lib/Locale/bn_BD.d.ts +3 -0
- package/lib/Locale/bn_BD.js +144 -0
- package/lib/Locale/by_BY.d.ts +3 -0
- package/lib/Locale/by_BY.js +146 -0
- package/lib/Locale/ca_ES.d.ts +3 -0
- package/lib/Locale/ca_ES.js +139 -0
- package/lib/Locale/cs_CZ.d.ts +3 -0
- package/lib/Locale/cs_CZ.js +146 -0
- package/lib/Locale/da_DK.d.ts +3 -0
- package/lib/Locale/da_DK.js +67 -0
- package/lib/Locale/de_DE.d.ts +3 -0
- package/lib/Locale/de_DE.js +140 -0
- package/lib/Locale/default.d.ts +3 -0
- package/lib/Locale/default.js +146 -0
- package/lib/Locale/el_GR.d.ts +3 -0
- package/lib/Locale/el_GR.js +57 -0
- package/lib/Locale/en_GB.d.ts +3 -0
- package/lib/Locale/en_GB.js +146 -0
- package/lib/Locale/en_US.d.ts +2 -0
- package/lib/Locale/en_US.js +13 -0
- package/lib/Locale/es_ES.d.ts +3 -0
- package/lib/Locale/es_ES.js +146 -0
- package/lib/Locale/et_EE.d.ts +3 -0
- package/lib/Locale/et_EE.js +146 -0
- package/lib/Locale/fa_IR.d.ts +3 -0
- package/lib/Locale/fa_IR.js +144 -0
- package/lib/Locale/fi_FI.d.ts +3 -0
- package/lib/Locale/fi_FI.js +67 -0
- package/lib/Locale/fr_BE.d.ts +3 -0
- package/lib/Locale/fr_BE.js +62 -0
- package/lib/Locale/fr_CA.d.ts +3 -0
- package/lib/Locale/fr_CA.js +74 -0
- package/lib/Locale/fr_FR.d.ts +3 -0
- package/lib/Locale/fr_FR.js +142 -0
- package/lib/Locale/ga_IE.d.ts +3 -0
- package/lib/Locale/ga_IE.js +137 -0
- package/lib/Locale/gl_ES.d.ts +3 -0
- package/lib/Locale/gl_ES.js +124 -0
- package/lib/Locale/he_IL.d.ts +3 -0
- package/lib/Locale/he_IL.js +130 -0
- package/lib/Locale/hi_IN.d.ts +3 -0
- package/lib/Locale/hi_IN.js +144 -0
- package/lib/Locale/hr_HR.d.ts +3 -0
- package/lib/Locale/hr_HR.js +143 -0
- package/lib/Locale/hu_HU.d.ts +3 -0
- package/lib/Locale/hu_HU.js +58 -0
- package/lib/Locale/hy_AM.d.ts +3 -0
- package/lib/Locale/hy_AM.js +116 -0
- package/lib/Locale/id_ID.d.ts +3 -0
- package/lib/Locale/id_ID.js +59 -0
- package/lib/Locale/is_IS.d.ts +3 -0
- package/lib/Locale/is_IS.js +57 -0
- package/lib/Locale/it_IT.d.ts +3 -0
- package/lib/Locale/it_IT.js +75 -0
- package/lib/Locale/ja_JP.d.ts +3 -0
- package/lib/Locale/ja_JP.js +116 -0
- package/lib/Locale/ka_GE.d.ts +3 -0
- package/lib/Locale/ka_GE.js +144 -0
- package/lib/Locale/kk_KZ.d.ts +3 -0
- package/lib/Locale/kk_KZ.js +138 -0
- package/lib/Locale/km_KH.d.ts +3 -0
- package/lib/Locale/km_KH.js +118 -0
- package/lib/Locale/kmr_IQ.d.ts +3 -0
- package/lib/Locale/kmr_IQ.js +57 -0
- package/lib/Locale/kn_IN.d.ts +3 -0
- package/lib/Locale/kn_IN.js +65 -0
- package/lib/Locale/ko_KR.d.ts +3 -0
- package/lib/Locale/ko_KR.js +110 -0
- package/lib/Locale/ku_IQ.d.ts +3 -0
- package/lib/Locale/ku_IQ.js +60 -0
- package/lib/Locale/lt_LT.d.ts +3 -0
- package/lib/Locale/lt_LT.js +135 -0
- package/lib/Locale/lv_LV.d.ts +3 -0
- package/lib/Locale/lv_LV.js +57 -0
- package/lib/Locale/mk_MK.d.ts +3 -0
- package/lib/Locale/mk_MK.js +72 -0
- package/lib/Locale/ml_IN.d.ts +3 -0
- package/lib/Locale/ml_IN.js +144 -0
- package/lib/Locale/mn_MN.d.ts +3 -0
- package/lib/Locale/mn_MN.js +57 -0
- package/lib/Locale/ms_MY.d.ts +3 -0
- package/lib/Locale/ms_MY.js +77 -0
- package/lib/Locale/nb_NO.d.ts +3 -0
- package/lib/Locale/nb_NO.js +138 -0
- package/lib/Locale/ne_NP.d.ts +3 -0
- package/lib/Locale/ne_NP.js +58 -0
- package/lib/Locale/nl_BE.d.ts +3 -0
- package/lib/Locale/nl_BE.js +144 -0
- package/lib/Locale/nl_NL.d.ts +3 -0
- package/lib/Locale/nl_NL.js +144 -0
- package/lib/Locale/pl_PL.d.ts +3 -0
- package/lib/Locale/pl_PL.js +146 -0
- package/lib/Locale/pt_BR.d.ts +3 -0
- package/lib/Locale/pt_BR.js +144 -0
- package/lib/Locale/pt_PT.d.ts +3 -0
- package/lib/Locale/pt_PT.js +58 -0
- package/lib/Locale/ro_RO.d.ts +3 -0
- package/lib/Locale/ro_RO.js +144 -0
- package/lib/Locale/ru_RU.d.ts +3 -0
- package/lib/Locale/ru_RU.js +143 -0
- package/lib/Locale/si_LK.d.ts +3 -0
- package/lib/Locale/si_LK.js +146 -0
- package/lib/Locale/sk_SK.d.ts +3 -0
- package/lib/Locale/sk_SK.js +146 -0
- package/lib/Locale/sl_SI.d.ts +3 -0
- package/lib/Locale/sl_SI.js +57 -0
- package/lib/Locale/sr_RS.d.ts +3 -0
- package/lib/Locale/sr_RS.js +144 -0
- package/lib/Locale/sv_SE.d.ts +3 -0
- package/lib/Locale/sv_SE.js +144 -0
- package/lib/Locale/ta_IN.d.ts +3 -0
- package/lib/Locale/ta_IN.js +77 -0
- package/lib/Locale/th_TH.d.ts +3 -0
- package/lib/Locale/th_TH.js +140 -0
- package/lib/Locale/tk_TK.d.ts +3 -0
- package/lib/Locale/tk_TK.js +142 -0
- package/lib/Locale/tr_TR.d.ts +3 -0
- package/lib/Locale/tr_TR.js +142 -0
- package/lib/Locale/uk_UA.d.ts +3 -0
- package/lib/Locale/uk_UA.js +146 -0
- package/lib/Locale/ur_PK.d.ts +3 -0
- package/lib/Locale/ur_PK.js +144 -0
- package/lib/Locale/vi_VN.d.ts +3 -0
- package/lib/Locale/vi_VN.js +57 -0
- package/lib/Locale/zh_CN.d.ts +3 -0
- package/lib/Locale/zh_CN.js +145 -0
- package/lib/Locale/zh_HK.d.ts +3 -0
- package/lib/Locale/zh_HK.js +141 -0
- package/lib/Locale/zh_TW.d.ts +3 -0
- package/lib/Locale/zh_TW.js +142 -0
- package/lib/Menu/index.d.ts +2 -0
- package/lib/QuickMenu/style/index.css +1 -0
- package/lib/Result/index.d.ts +32 -0
- package/lib/Result/index.js +126 -0
- package/lib/Result/noFound.d.ts +2 -0
- package/lib/Result/noFound.js +249 -0
- package/lib/Result/serverError.d.ts +2 -0
- package/lib/Result/serverError.js +289 -0
- package/lib/Result/style/index.css +511 -0
- package/lib/Result/style/index.d.ts +1 -0
- package/{es/Locale → lib/Result}/style/index.js +0 -0
- package/lib/Result/unauthorized.d.ts +2 -0
- package/lib/Result/unauthorized.js +239 -0
- package/lib/_util/statusUtils.d.ts +1 -1
- package/lib/index.d.ts +11 -7
- package/lib/index.js +33 -57
- package/lib/locale-provider/LocaleReceiver.d.ts +20 -0
- package/lib/locale-provider/LocaleReceiver.js +83 -0
- package/lib/locale-provider/ar_EG.d.ts +2 -0
- package/lib/locale-provider/ar_EG.js +13 -0
- package/lib/locale-provider/az_AZ.d.ts +2 -0
- package/lib/locale-provider/az_AZ.js +13 -0
- package/lib/locale-provider/bg_BG.d.ts +2 -0
- package/lib/locale-provider/bg_BG.js +13 -0
- package/lib/locale-provider/bn_BD.d.ts +2 -0
- package/lib/locale-provider/bn_BD.js +13 -0
- package/lib/locale-provider/by_BY.d.ts +2 -0
- package/lib/locale-provider/by_BY.js +13 -0
- package/lib/locale-provider/ca_ES.d.ts +2 -0
- package/lib/locale-provider/ca_ES.js +13 -0
- package/lib/locale-provider/context.d.ts +7 -0
- package/lib/locale-provider/context.js +12 -0
- package/lib/locale-provider/cs_CZ.d.ts +2 -0
- package/lib/locale-provider/cs_CZ.js +13 -0
- package/lib/locale-provider/da_DK.d.ts +2 -0
- package/lib/locale-provider/da_DK.js +13 -0
- package/lib/locale-provider/de_DE.d.ts +2 -0
- package/lib/locale-provider/de_DE.js +13 -0
- package/lib/locale-provider/default.d.ts +2 -0
- package/lib/locale-provider/default.js +13 -0
- package/lib/locale-provider/el_GR.d.ts +2 -0
- package/lib/locale-provider/el_GR.js +13 -0
- package/lib/locale-provider/en_GB.d.ts +2 -0
- package/lib/locale-provider/en_GB.js +13 -0
- package/lib/locale-provider/en_US.d.ts +2 -0
- package/lib/locale-provider/en_US.js +13 -0
- package/lib/locale-provider/es_ES.d.ts +2 -0
- package/lib/locale-provider/es_ES.js +13 -0
- package/lib/locale-provider/et_EE.d.ts +2 -0
- package/lib/locale-provider/et_EE.js +13 -0
- package/lib/locale-provider/fa_IR.d.ts +2 -0
- package/lib/locale-provider/fa_IR.js +13 -0
- package/lib/locale-provider/fi_FI.d.ts +2 -0
- package/lib/locale-provider/fi_FI.js +13 -0
- package/lib/locale-provider/fr_BE.d.ts +2 -0
- package/lib/locale-provider/fr_BE.js +13 -0
- package/lib/locale-provider/fr_CA.d.ts +2 -0
- package/lib/locale-provider/fr_CA.js +13 -0
- package/lib/locale-provider/fr_FR.d.ts +2 -0
- package/lib/locale-provider/fr_FR.js +13 -0
- package/lib/locale-provider/ga_IE.d.ts +2 -0
- package/lib/locale-provider/ga_IE.js +13 -0
- package/lib/locale-provider/gl_ES.d.ts +2 -0
- package/lib/locale-provider/gl_ES.js +13 -0
- package/lib/locale-provider/he_IL.d.ts +2 -0
- package/lib/locale-provider/he_IL.js +13 -0
- package/lib/locale-provider/hi_IN.d.ts +2 -0
- package/lib/locale-provider/hi_IN.js +13 -0
- package/lib/locale-provider/hr_HR.d.ts +2 -0
- package/lib/locale-provider/hr_HR.js +13 -0
- package/lib/locale-provider/hu_HU.d.ts +2 -0
- package/lib/locale-provider/hu_HU.js +13 -0
- package/lib/locale-provider/hy_AM.d.ts +2 -0
- package/lib/locale-provider/hy_AM.js +13 -0
- package/lib/locale-provider/id_ID.d.ts +2 -0
- package/lib/locale-provider/id_ID.js +13 -0
- package/lib/locale-provider/index.d.ts +61 -0
- package/lib/locale-provider/index.js +90 -0
- package/lib/locale-provider/is_IS.d.ts +2 -0
- package/lib/locale-provider/is_IS.js +13 -0
- package/lib/locale-provider/it_IT.d.ts +2 -0
- package/lib/locale-provider/it_IT.js +13 -0
- package/lib/locale-provider/ja_JP.d.ts +2 -0
- package/lib/locale-provider/ja_JP.js +13 -0
- package/lib/locale-provider/ka_GE.d.ts +2 -0
- package/lib/locale-provider/ka_GE.js +13 -0
- package/lib/locale-provider/kk_KZ.d.ts +2 -0
- package/lib/locale-provider/kk_KZ.js +13 -0
- package/lib/locale-provider/km_KH.d.ts +2 -0
- package/lib/locale-provider/km_KH.js +13 -0
- package/lib/locale-provider/kmr_IQ.d.ts +2 -0
- package/lib/locale-provider/kmr_IQ.js +13 -0
- package/lib/locale-provider/kn_IN.d.ts +2 -0
- package/lib/locale-provider/kn_IN.js +13 -0
- package/lib/locale-provider/ko_KR.d.ts +2 -0
- package/lib/locale-provider/ko_KR.js +13 -0
- package/lib/locale-provider/ku_IQ.d.ts +2 -0
- package/lib/locale-provider/ku_IQ.js +13 -0
- package/lib/locale-provider/lt_LT.d.ts +2 -0
- package/lib/locale-provider/lt_LT.js +13 -0
- package/lib/locale-provider/lv_LV.d.ts +2 -0
- package/lib/locale-provider/lv_LV.js +13 -0
- package/lib/locale-provider/mk_MK.d.ts +2 -0
- package/lib/locale-provider/mk_MK.js +13 -0
- package/lib/locale-provider/ml_IN.d.ts +2 -0
- package/lib/locale-provider/ml_IN.js +13 -0
- package/lib/locale-provider/mn_MN.d.ts +2 -0
- package/lib/locale-provider/mn_MN.js +13 -0
- package/lib/locale-provider/ms_MY.d.ts +2 -0
- package/lib/locale-provider/ms_MY.js +13 -0
- package/lib/locale-provider/nb_NO.d.ts +2 -0
- package/lib/locale-provider/nb_NO.js +13 -0
- package/lib/locale-provider/ne_NP.d.ts +2 -0
- package/lib/locale-provider/ne_NP.js +13 -0
- package/lib/locale-provider/nl_BE.d.ts +2 -0
- package/lib/locale-provider/nl_BE.js +13 -0
- package/lib/locale-provider/nl_NL.d.ts +2 -0
- package/lib/locale-provider/nl_NL.js +13 -0
- package/lib/locale-provider/pl_PL.d.ts +2 -0
- package/lib/locale-provider/pl_PL.js +13 -0
- package/lib/locale-provider/pt_BR.d.ts +2 -0
- package/lib/locale-provider/pt_BR.js +13 -0
- package/lib/locale-provider/pt_PT.d.ts +2 -0
- package/lib/locale-provider/pt_PT.js +13 -0
- package/lib/locale-provider/ro_RO.d.ts +2 -0
- package/lib/locale-provider/ro_RO.js +13 -0
- package/lib/locale-provider/ru_RU.d.ts +2 -0
- package/lib/locale-provider/ru_RU.js +13 -0
- package/lib/locale-provider/si_LK.d.ts +2 -0
- package/lib/locale-provider/si_LK.js +13 -0
- package/lib/locale-provider/sk_SK.d.ts +2 -0
- package/lib/locale-provider/sk_SK.js +13 -0
- package/lib/locale-provider/sl_SI.d.ts +2 -0
- package/lib/locale-provider/sl_SI.js +13 -0
- package/lib/locale-provider/sr_RS.d.ts +2 -0
- package/lib/locale-provider/sr_RS.js +13 -0
- package/lib/locale-provider/style/index.css +511 -0
- package/lib/locale-provider/style/index.d.ts +1 -0
- package/{es/OldModal → lib/locale-provider}/style/index.js +0 -0
- package/lib/locale-provider/sv_SE.d.ts +2 -0
- package/lib/locale-provider/sv_SE.js +13 -0
- package/lib/locale-provider/ta_IN.d.ts +2 -0
- package/lib/locale-provider/ta_IN.js +13 -0
- package/lib/locale-provider/th_TH.d.ts +2 -0
- package/lib/locale-provider/th_TH.js +13 -0
- package/lib/locale-provider/tk_TK.d.ts +2 -0
- package/lib/locale-provider/tk_TK.js +13 -0
- package/lib/locale-provider/tr_TR.d.ts +2 -0
- package/lib/locale-provider/tr_TR.js +13 -0
- package/lib/locale-provider/uk_UA.d.ts +2 -0
- package/lib/locale-provider/uk_UA.js +13 -0
- package/lib/locale-provider/ur_PK.d.ts +2 -0
- package/lib/locale-provider/ur_PK.js +13 -0
- package/lib/locale-provider/vi_VN.d.ts +2 -0
- package/lib/locale-provider/vi_VN.js +13 -0
- package/lib/locale-provider/zh_CN.d.ts +2 -0
- package/lib/locale-provider/zh_CN.js +13 -0
- package/lib/locale-provider/zh_HK.d.ts +2 -0
- package/lib/locale-provider/zh_HK.js +13 -0
- package/lib/locale-provider/zh_TW.d.ts +2 -0
- package/lib/locale-provider/zh_TW.js +13 -0
- package/lib/message/index.d.ts +6 -6
- package/package.json +1 -1
- package/dist/CardTable/card/TextGray.d.ts +0 -2
- package/dist/CardTable/card/TextWhiteBorder.d.ts +0 -2
- package/dist/CkFilter/baseFilter/NestedFilter.d.ts +0 -2
- package/dist/CkFilter/baseFilter/filterMenu.d.ts +0 -2
- package/dist/CkFilter/baseFilter/index.d.ts +0 -2
- package/dist/CkFilter/baseFilter/moreFilters.d.ts +0 -2
- package/dist/CkFilter/complexFilter/drawer.d.ts +0 -2
- package/dist/CkFilter/complexFilter/index.d.ts +0 -2
- package/dist/CkFilter/complexFilter/saveModal.d.ts +0 -5
- package/dist/CkFilter/components/CascaderFilter.d.ts +0 -8
- package/dist/CkFilter/components/CheckboxTags.d.ts +0 -6
- package/dist/CkFilter/components/Controls.d.ts +0 -2
- package/dist/CkFilter/components/CustomModal.d.ts +0 -2
- package/dist/CkFilter/components/DragBox/DndContainer.d.ts +0 -5
- package/dist/CkFilter/components/DragBox/index.d.ts +0 -7
- package/dist/CkFilter/components/DragBox/sortableBox.d.ts +0 -5
- package/dist/CkFilter/components/DragBox/sortableItem.d.ts +0 -2
- package/dist/CkFilter/components/Nested.d.ts +0 -7
- package/dist/CkFilter/components/filterTypes.d.ts +0 -2
- package/dist/CkFilter/components/modal.d.ts +0 -2
- package/dist/CkFilter/components/modalBack.d.ts +0 -2
- package/dist/CkFilter/context.d.ts +0 -3
- package/dist/CkFilter/customFilter/drawer.d.ts +0 -2
- package/dist/CkFilter/customFilter/index.d.ts +0 -2
- package/dist/CkFilter/customFilter/radioGroup.d.ts +0 -2
- package/dist/CkFilter/demos/basic.d.ts +0 -2
- package/dist/CkFilter/demos/designSupplier.d.ts +0 -6
- package/dist/CkFilter/filter.d.ts +0 -3
- package/dist/CkFilter/index.d.ts +0 -2
- package/dist/CkFilter/style/index.d.ts +0 -1
- package/dist/CkFilter/utils.d.ts +0 -10
- package/dist/Filter/Popover.d.ts +0 -3
- package/dist/Filter/baseFilter/Popover.d.ts +0 -2
- package/dist/Filter/baseFilter/ToggleFilter.d.ts +0 -5
- package/dist/Filter/baseFilter/index.d.ts +0 -2
- package/dist/Filter/complex/ComplexFilter.d.ts +0 -2
- package/dist/Filter/complex/ComplexItem.d.ts +0 -2
- package/dist/Filter/components/Checkbox.d.ts +0 -3
- package/dist/Filter/components/Date.d.ts +0 -2
- package/dist/Filter/components/Input.d.ts +0 -2
- package/dist/Filter/components/Select.d.ts +0 -2
- package/dist/Filter/components/Tree.d.ts +0 -2
- package/dist/Filter/components/header.d.ts +0 -2
- package/dist/Filter/components/index.d.ts +0 -6
- package/dist/Filter/context.d.ts +0 -3
- package/dist/Filter/demos/basic.d.ts +0 -2
- package/dist/Filter/edit/editFilter.d.ts +0 -2
- package/dist/Filter/index.d.ts +0 -3
- package/dist/Filter/popContext.d.ts +0 -3
- package/dist/Filter/remember.d.ts +0 -2
- package/dist/Filter/style/index.d.ts +0 -1
- package/dist/LmTable/ImgList/body.d.ts +0 -2
- package/dist/LmTable/ImgList/cardCell.d.ts +0 -2
- package/dist/LmTable/ImgList/context.d.ts +0 -2
- package/dist/LmTable/ImgList/empty.d.ts +0 -2
- package/dist/LmTable/ImgList/footer.d.ts +0 -4
- package/dist/LmTable/ImgList/imgCell.d.ts +0 -2
- package/dist/LmTable/ImgList/imgTable.d.ts +0 -3
- package/dist/LmTable/ImgList/index.d.ts +0 -2
- package/dist/Locale/index.d.ts +0 -6
- package/dist/Locale/style/index.d.ts +0 -1
- package/dist/OldModal/add.d.ts +0 -2
- package/dist/OldModal/confirm.d.ts +0 -8
- package/dist/OldModal/demos/basic.d.ts +0 -2
- package/dist/OldModal/edit.d.ts +0 -2
- package/dist/OldModal/exportModal.d.ts +0 -20
- package/dist/OldModal/index.d.ts +0 -11
- package/dist/OldModal/style/index.d.ts +0 -1
- package/dist/PopTable/BseTable.d.ts +0 -3
- package/dist/PopTable/demos/basic.d.ts +0 -2
- package/dist/PopTable/index.d.ts +0 -2
- package/dist/PopTable/style/index.d.ts +0 -1
- package/dist/ProTable/ImgList/body.d.ts +0 -2
- package/dist/ProTable/ImgList/cardCell.d.ts +0 -2
- package/dist/ProTable/ImgList/context.d.ts +0 -2
- package/dist/ProTable/ImgList/empty.d.ts +0 -2
- package/dist/ProTable/ImgList/footer.d.ts +0 -2
- package/dist/ProTable/ImgList/imgCell.d.ts +0 -2
- package/dist/ProTable/ImgList/imgTable.d.ts +0 -3
- package/dist/ProTable/ImgList/index.d.ts +0 -2
- package/dist/ProTable/Table.d.ts +0 -4
- package/dist/ProTable/VList.d.ts +0 -13
- package/dist/ProTable/autosize.d.ts +0 -25
- package/dist/ProTable/context.d.ts +0 -2
- package/dist/ProTable/demos/basic.d.ts +0 -2
- package/dist/ProTable/demos/img-basic.d.ts +0 -2
- package/dist/ProTable/detectElementResize.d.ts +0 -16
- package/dist/ProTable/index.d.ts +0 -2
- package/dist/ProTable/resetConfig.d.ts +0 -30
- package/dist/ProTable/style/index.d.ts +0 -1
- package/dist/TableRender/demos/basic.d.ts +0 -2
- package/dist/TableRender/index.d.ts +0 -1
- package/dist/TableRender/state.d.ts +0 -2
- package/dist/TableRender/style/index.d.ts +0 -1
- package/es/CardTable/card/TextGray.js +0 -18
- package/es/CardTable/card/TextWhiteBorder.js +0 -18
- package/es/CkFilter/README.md.old +0 -137
- package/es/CkFilter/baseFilter/NestedFilter.js +0 -137
- package/es/CkFilter/baseFilter/filterMenu.js +0 -226
- package/es/CkFilter/baseFilter/index.js +0 -94
- package/es/CkFilter/baseFilter/moreFilters.js +0 -237
- package/es/CkFilter/complexFilter/drawer.js +0 -398
- package/es/CkFilter/complexFilter/index.js +0 -69
- package/es/CkFilter/complexFilter/saveModal.js +0 -148
- package/es/CkFilter/components/CascaderFilter.js +0 -139
- package/es/CkFilter/components/CheckboxTags.js +0 -53
- package/es/CkFilter/components/Controls.js +0 -53
- package/es/CkFilter/components/CustomModal.js +0 -229
- package/es/CkFilter/components/DragBox/DndContainer.js +0 -49
- package/es/CkFilter/components/DragBox/index.js +0 -63
- package/es/CkFilter/components/DragBox/sortableBox.js +0 -24
- package/es/CkFilter/components/DragBox/sortableItem.js +0 -111
- package/es/CkFilter/components/Nested.js +0 -90
- package/es/CkFilter/components/filterTypes.js +0 -848
- package/es/CkFilter/components/modal.js +0 -294
- package/es/CkFilter/components/modalBack.js +0 -260
- package/es/CkFilter/context.js +0 -174
- package/es/CkFilter/customFilter/drawer.js +0 -390
- package/es/CkFilter/customFilter/index.js +0 -129
- package/es/CkFilter/customFilter/radioGroup.js +0 -64
- package/es/CkFilter/filter.js +0 -189
- package/es/CkFilter/icon_placeholder.png +0 -0
- package/es/CkFilter/index.js +0 -13
- package/es/CkFilter/style/index.css +0 -1121
- package/es/CkFilter/utils.js +0 -65
- package/es/Filter/Popover.js +0 -199
- package/es/Filter/README.md.old +0 -144
- package/es/Filter/baseFilter/Popover.js +0 -213
- package/es/Filter/baseFilter/ToggleFilter.js +0 -111
- package/es/Filter/baseFilter/index.js +0 -100
- package/es/Filter/complex/ComplexFilter.js +0 -149
- package/es/Filter/complex/ComplexItem.js +0 -157
- package/es/Filter/components/Checkbox.js +0 -94
- package/es/Filter/components/Date.js +0 -87
- package/es/Filter/components/Input.js +0 -63
- package/es/Filter/components/Select.js +0 -89
- package/es/Filter/components/Tree.js +0 -64
- package/es/Filter/components/header.js +0 -60
- package/es/Filter/components/index.js +0 -47
- package/es/Filter/context.js +0 -15
- package/es/Filter/edit/editFilter.js +0 -273
- package/es/Filter/index.js +0 -174
- package/es/Filter/popContext.js +0 -15
- package/es/Filter/remember.js +0 -136
- package/es/Filter/style/index.css +0 -782
- package/es/LmTable/ImgList/body.js +0 -111
- package/es/LmTable/ImgList/cardCell.js +0 -192
- package/es/LmTable/ImgList/context.js +0 -12
- package/es/LmTable/ImgList/empty.js +0 -24
- package/es/LmTable/ImgList/footer.js +0 -61
- package/es/LmTable/ImgList/imgCell.js +0 -187
- package/es/LmTable/ImgList/imgTable.js +0 -133
- package/es/LmTable/ImgList/index.js +0 -13
- package/es/Locale/index.d.ts +0 -6
- package/es/Locale/index.js +0 -9
- package/es/Locale/style/index.css +0 -141
- package/es/OldModal/README.md.old +0 -27
- package/es/OldModal/add.js +0 -68
- package/es/OldModal/confirm.js +0 -88
- package/es/OldModal/edit.js +0 -44
- package/es/OldModal/exportModal.js +0 -300
- package/es/OldModal/index.js +0 -24
- package/es/OldModal/style/index.css +0 -119
- package/es/PopTable/BseTable.js +0 -113
- package/es/PopTable/README.md.old +0 -30
- package/es/PopTable/index.js +0 -151
- package/es/PopTable/style/index.css +0 -721
- package/es/PopTable/style/index.js +0 -3
- package/es/ProTable/ImgList/body.js +0 -111
- package/es/ProTable/ImgList/cardCell.js +0 -192
- package/es/ProTable/ImgList/context.js +0 -12
- package/es/ProTable/ImgList/empty.js +0 -24
- package/es/ProTable/ImgList/footer.js +0 -59
- package/es/ProTable/ImgList/imgCell.js +0 -181
- package/es/ProTable/ImgList/imgTable.js +0 -110
- package/es/ProTable/ImgList/index.js +0 -13
- package/es/ProTable/README.md.old +0 -141
- package/es/ProTable/Table.js +0 -334
- package/es/ProTable/VList.js +0 -594
- package/es/ProTable/autosize.js +0 -167
- package/es/ProTable/context.js +0 -12
- package/es/ProTable/detectElementResize.js +0 -225
- package/es/ProTable/index.js +0 -19
- package/es/ProTable/resetConfig.js +0 -39
- package/es/ProTable/style/index.css +0 -1082
- package/es/ProTable/style/index.js +0 -3
- package/es/TableRender/README.md.old +0 -20
- package/es/TableRender/index.js +0 -15
- package/es/TableRender/state.js +0 -72
- package/es/TableRender/style/index.css +0 -0
- package/es/TableRender/style/index.js +0 -3
- package/lib/CardTable/card/TextGray.js +0 -18
- package/lib/CardTable/card/TextWhiteBorder.js +0 -18
- package/lib/CkFilter/README.md.old +0 -137
- package/lib/CkFilter/baseFilter/NestedFilter.js +0 -137
- package/lib/CkFilter/baseFilter/filterMenu.js +0 -226
- package/lib/CkFilter/baseFilter/index.js +0 -94
- package/lib/CkFilter/baseFilter/moreFilters.js +0 -237
- package/lib/CkFilter/complexFilter/drawer.js +0 -398
- package/lib/CkFilter/complexFilter/index.js +0 -69
- package/lib/CkFilter/complexFilter/saveModal.js +0 -148
- package/lib/CkFilter/components/CascaderFilter.js +0 -139
- package/lib/CkFilter/components/CheckboxTags.js +0 -53
- package/lib/CkFilter/components/Controls.js +0 -53
- package/lib/CkFilter/components/CustomModal.js +0 -229
- package/lib/CkFilter/components/DragBox/DndContainer.js +0 -49
- package/lib/CkFilter/components/DragBox/index.js +0 -63
- package/lib/CkFilter/components/DragBox/sortableBox.js +0 -24
- package/lib/CkFilter/components/DragBox/sortableItem.js +0 -111
- package/lib/CkFilter/components/Nested.js +0 -90
- package/lib/CkFilter/components/filterTypes.js +0 -848
- package/lib/CkFilter/components/modal.js +0 -294
- package/lib/CkFilter/components/modalBack.js +0 -260
- package/lib/CkFilter/context.js +0 -174
- package/lib/CkFilter/customFilter/drawer.js +0 -390
- package/lib/CkFilter/customFilter/index.js +0 -129
- package/lib/CkFilter/customFilter/radioGroup.js +0 -64
- package/lib/CkFilter/filter.js +0 -189
- package/lib/CkFilter/icon_placeholder.png +0 -0
- package/lib/CkFilter/index.js +0 -13
- package/lib/CkFilter/style/index.css +0 -1121
- package/lib/CkFilter/style/index.js +0 -3
- package/lib/CkFilter/utils.js +0 -65
- package/lib/Filter/Popover.js +0 -199
- package/lib/Filter/README.md.old +0 -144
- package/lib/Filter/baseFilter/Popover.js +0 -213
- package/lib/Filter/baseFilter/ToggleFilter.js +0 -111
- package/lib/Filter/baseFilter/index.js +0 -100
- package/lib/Filter/complex/ComplexFilter.js +0 -149
- package/lib/Filter/complex/ComplexItem.js +0 -157
- package/lib/Filter/components/Checkbox.js +0 -94
- package/lib/Filter/components/Date.js +0 -87
- package/lib/Filter/components/Input.js +0 -63
- package/lib/Filter/components/Select.js +0 -89
- package/lib/Filter/components/Tree.js +0 -64
- package/lib/Filter/components/header.js +0 -60
- package/lib/Filter/components/index.js +0 -47
- package/lib/Filter/context.js +0 -15
- package/lib/Filter/edit/editFilter.js +0 -273
- package/lib/Filter/index.js +0 -174
- package/lib/Filter/popContext.js +0 -15
- package/lib/Filter/remember.js +0 -136
- package/lib/Filter/style/index.css +0 -782
- package/lib/Filter/style/index.js +0 -3
- package/lib/LmTable/ImgList/body.js +0 -111
- package/lib/LmTable/ImgList/cardCell.js +0 -192
- package/lib/LmTable/ImgList/context.js +0 -12
- package/lib/LmTable/ImgList/empty.js +0 -24
- package/lib/LmTable/ImgList/footer.js +0 -61
- package/lib/LmTable/ImgList/imgCell.js +0 -187
- package/lib/LmTable/ImgList/imgTable.js +0 -133
- package/lib/LmTable/ImgList/index.js +0 -13
- package/lib/Locale/index.d.ts +0 -6
- package/lib/Locale/index.js +0 -22
- package/lib/Locale/style/index.css +0 -141
- package/lib/Locale/style/index.js +0 -3
- package/lib/OldModal/README.md.old +0 -27
- package/lib/OldModal/add.js +0 -68
- package/lib/OldModal/confirm.js +0 -88
- package/lib/OldModal/edit.js +0 -44
- package/lib/OldModal/exportModal.js +0 -300
- package/lib/OldModal/index.js +0 -24
- package/lib/OldModal/style/index.css +0 -119
- package/lib/OldModal/style/index.js +0 -3
- package/lib/PopTable/BseTable.js +0 -113
- package/lib/PopTable/README.md.old +0 -30
- package/lib/PopTable/index.js +0 -151
- package/lib/PopTable/style/index.css +0 -721
- package/lib/PopTable/style/index.js +0 -3
- package/lib/ProTable/ImgList/body.js +0 -111
- package/lib/ProTable/ImgList/cardCell.js +0 -192
- package/lib/ProTable/ImgList/context.js +0 -12
- package/lib/ProTable/ImgList/empty.js +0 -24
- package/lib/ProTable/ImgList/footer.js +0 -59
- package/lib/ProTable/ImgList/imgCell.js +0 -181
- package/lib/ProTable/ImgList/imgTable.js +0 -110
- package/lib/ProTable/ImgList/index.js +0 -13
- package/lib/ProTable/README.md.old +0 -141
- package/lib/ProTable/Table.js +0 -334
- package/lib/ProTable/VList.js +0 -594
- package/lib/ProTable/autosize.js +0 -167
- package/lib/ProTable/context.js +0 -12
- package/lib/ProTable/detectElementResize.js +0 -225
- package/lib/ProTable/index.js +0 -19
- package/lib/ProTable/resetConfig.js +0 -39
- package/lib/ProTable/style/index.css +0 -1082
- package/lib/ProTable/style/index.js +0 -3
- package/lib/TableRender/README.md.old +0 -20
- package/lib/TableRender/index.js +0 -15
- package/lib/TableRender/state.js +0 -72
- package/lib/TableRender/style/index.css +0 -0
- package/lib/TableRender/style/index.js +0 -3
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* eslint-disable no-template-curly-in-string */
|
|
2
|
+
import Pagination from 'rc-pagination/lib/locale/zh_TW';
|
|
3
|
+
import Calendar from 'antd/es/calendar/locale/zh_TW';
|
|
4
|
+
import DatePicker from 'antd/es/date-picker/locale/zh_TW';
|
|
5
|
+
import TimePicker from 'antd/es/time-picker/locale/zh_TW';
|
|
6
|
+
var typeTemplate = '${label}不是一個有效的${type}';
|
|
7
|
+
var localeValues = {
|
|
8
|
+
locale: 'zh-hk',
|
|
9
|
+
Pagination: Pagination,
|
|
10
|
+
DatePicker: DatePicker,
|
|
11
|
+
TimePicker: TimePicker,
|
|
12
|
+
Calendar: Calendar,
|
|
13
|
+
global: {
|
|
14
|
+
placeholder: '請選擇'
|
|
15
|
+
},
|
|
16
|
+
Table: {
|
|
17
|
+
filterTitle: '篩選器',
|
|
18
|
+
filterConfirm: '確定',
|
|
19
|
+
filterReset: '重置',
|
|
20
|
+
filterEmptyText: '無篩選項',
|
|
21
|
+
selectAll: '全部選取',
|
|
22
|
+
selectInvert: '反向選取',
|
|
23
|
+
selectNone: '清空所有',
|
|
24
|
+
selectionAll: '全選所有',
|
|
25
|
+
sortTitle: '排序',
|
|
26
|
+
expand: '展開行',
|
|
27
|
+
collapse: '關閉行',
|
|
28
|
+
triggerDesc: '點擊降序',
|
|
29
|
+
triggerAsc: '點擊升序',
|
|
30
|
+
cancelSort: '取消排序'
|
|
31
|
+
},
|
|
32
|
+
Modal: {
|
|
33
|
+
okText: '確定',
|
|
34
|
+
cancelText: '取消',
|
|
35
|
+
justOkText: '知道了'
|
|
36
|
+
},
|
|
37
|
+
Popconfirm: {
|
|
38
|
+
okText: '確定',
|
|
39
|
+
cancelText: '取消'
|
|
40
|
+
},
|
|
41
|
+
Transfer: {
|
|
42
|
+
searchPlaceholder: '搜尋資料',
|
|
43
|
+
itemUnit: '項目',
|
|
44
|
+
itemsUnit: '項目',
|
|
45
|
+
remove: '刪除',
|
|
46
|
+
selectCurrent: '全選當頁',
|
|
47
|
+
removeCurrent: '刪除當頁',
|
|
48
|
+
selectAll: '全選所有',
|
|
49
|
+
removeAll: '刪除全部',
|
|
50
|
+
selectInvert: '反選當頁'
|
|
51
|
+
},
|
|
52
|
+
Upload: {
|
|
53
|
+
uploading: '正在上傳...',
|
|
54
|
+
removeFile: '刪除檔案',
|
|
55
|
+
uploadError: '上傳失敗',
|
|
56
|
+
previewFile: '檔案預覽',
|
|
57
|
+
downloadFile: '下载文件'
|
|
58
|
+
},
|
|
59
|
+
Empty: {
|
|
60
|
+
description: '無此資料'
|
|
61
|
+
},
|
|
62
|
+
Icon: {
|
|
63
|
+
icon: '圖標'
|
|
64
|
+
},
|
|
65
|
+
Text: {
|
|
66
|
+
edit: '編輯',
|
|
67
|
+
copy: '複製',
|
|
68
|
+
copied: '複製成功',
|
|
69
|
+
expand: '展開'
|
|
70
|
+
},
|
|
71
|
+
PageHeader: {
|
|
72
|
+
back: '返回'
|
|
73
|
+
},
|
|
74
|
+
Form: {
|
|
75
|
+
defaultValidateMessages: {
|
|
76
|
+
default: '字段驗證錯誤${label}',
|
|
77
|
+
required: '請輸入${label}',
|
|
78
|
+
enum: '${label}必須是其中一個[${enum}]',
|
|
79
|
+
whitespace: '${label}不能為空字符',
|
|
80
|
+
date: {
|
|
81
|
+
format: '${label}日期格式無效',
|
|
82
|
+
parse: '${label}不能轉換為日期',
|
|
83
|
+
invalid: '${label}是一個無效日期'
|
|
84
|
+
},
|
|
85
|
+
types: {
|
|
86
|
+
string: typeTemplate,
|
|
87
|
+
method: typeTemplate,
|
|
88
|
+
array: typeTemplate,
|
|
89
|
+
object: typeTemplate,
|
|
90
|
+
number: typeTemplate,
|
|
91
|
+
date: typeTemplate,
|
|
92
|
+
boolean: typeTemplate,
|
|
93
|
+
integer: typeTemplate,
|
|
94
|
+
float: typeTemplate,
|
|
95
|
+
regexp: typeTemplate,
|
|
96
|
+
email: typeTemplate,
|
|
97
|
+
url: typeTemplate,
|
|
98
|
+
hex: typeTemplate
|
|
99
|
+
},
|
|
100
|
+
string: {
|
|
101
|
+
len: '${label}須為${len}個字符',
|
|
102
|
+
min: '${label}最少${min}個字符',
|
|
103
|
+
max: '${label}最多${max}個字符',
|
|
104
|
+
range: '${label}須在${min}-${max}字符之間'
|
|
105
|
+
},
|
|
106
|
+
number: {
|
|
107
|
+
len: '${label}必須等於${len}',
|
|
108
|
+
min: '${label}最小值為${min}',
|
|
109
|
+
max: '${label}最大值為${max}',
|
|
110
|
+
range: '${label}須在${min}-${max}之間'
|
|
111
|
+
},
|
|
112
|
+
array: {
|
|
113
|
+
len: '須為${len}個${label}',
|
|
114
|
+
min: '最少${min}個${label}',
|
|
115
|
+
max: '最多${max}個${label}',
|
|
116
|
+
range: '${label}數量須在${min}-${max}之間'
|
|
117
|
+
},
|
|
118
|
+
pattern: {
|
|
119
|
+
mismatch: '${label}與模式不匹配${pattern}'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
Image: {
|
|
124
|
+
preview: '預覽'
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
export default localeValues;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/* eslint-disable no-template-curly-in-string */
|
|
2
|
+
import Pagination from 'rc-pagination/lib/locale/zh_TW';
|
|
3
|
+
import Calendar from 'antd/es/calendar/locale/zh_TW';
|
|
4
|
+
import DatePicker from 'antd/es/date-picker/locale/zh_TW';
|
|
5
|
+
import TimePicker from 'antd/es/time-picker/locale/zh_TW';
|
|
6
|
+
var typeTemplate = '${label}不是一個有效的${type}';
|
|
7
|
+
var localeValues = {
|
|
8
|
+
locale: 'zh-tw',
|
|
9
|
+
Pagination: Pagination,
|
|
10
|
+
DatePicker: DatePicker,
|
|
11
|
+
TimePicker: TimePicker,
|
|
12
|
+
Calendar: Calendar,
|
|
13
|
+
global: {
|
|
14
|
+
placeholder: '請選擇'
|
|
15
|
+
},
|
|
16
|
+
Table: {
|
|
17
|
+
filterTitle: '篩選器',
|
|
18
|
+
filterConfirm: '確定',
|
|
19
|
+
filterReset: '重置',
|
|
20
|
+
filterEmptyText: '無篩選項',
|
|
21
|
+
selectAll: '全部選取',
|
|
22
|
+
selectInvert: '反向選取',
|
|
23
|
+
selectNone: '清空所有',
|
|
24
|
+
selectionAll: '全選所有',
|
|
25
|
+
sortTitle: '排序',
|
|
26
|
+
expand: '展開行',
|
|
27
|
+
collapse: '關閉行',
|
|
28
|
+
triggerDesc: '點擊降序',
|
|
29
|
+
triggerAsc: '點擊升序',
|
|
30
|
+
cancelSort: '取消排序'
|
|
31
|
+
},
|
|
32
|
+
Modal: {
|
|
33
|
+
okText: '確定',
|
|
34
|
+
cancelText: '取消',
|
|
35
|
+
justOkText: '知道了'
|
|
36
|
+
},
|
|
37
|
+
Popconfirm: {
|
|
38
|
+
okText: '確定',
|
|
39
|
+
cancelText: '取消'
|
|
40
|
+
},
|
|
41
|
+
Transfer: {
|
|
42
|
+
searchPlaceholder: '搜尋資料',
|
|
43
|
+
itemUnit: '項目',
|
|
44
|
+
itemsUnit: '項目',
|
|
45
|
+
remove: '删除',
|
|
46
|
+
selectCurrent: '全選當頁',
|
|
47
|
+
removeCurrent: '删除當頁',
|
|
48
|
+
selectAll: '全選所有',
|
|
49
|
+
removeAll: '删除全部',
|
|
50
|
+
selectInvert: '反選當頁'
|
|
51
|
+
},
|
|
52
|
+
Upload: {
|
|
53
|
+
uploading: '正在上傳...',
|
|
54
|
+
removeFile: '刪除檔案',
|
|
55
|
+
uploadError: '上傳失敗',
|
|
56
|
+
previewFile: '檔案預覽',
|
|
57
|
+
downloadFile: '下载文件'
|
|
58
|
+
},
|
|
59
|
+
Empty: {
|
|
60
|
+
description: '無此資料'
|
|
61
|
+
},
|
|
62
|
+
Icon: {
|
|
63
|
+
icon: '圖標'
|
|
64
|
+
},
|
|
65
|
+
Text: {
|
|
66
|
+
edit: '編輯',
|
|
67
|
+
copy: '複製',
|
|
68
|
+
copied: '複製成功',
|
|
69
|
+
expand: '展開'
|
|
70
|
+
},
|
|
71
|
+
PageHeader: {
|
|
72
|
+
back: '返回'
|
|
73
|
+
},
|
|
74
|
+
Form: {
|
|
75
|
+
optional: '(可選)',
|
|
76
|
+
defaultValidateMessages: {
|
|
77
|
+
default: '字段驗證錯誤${label}',
|
|
78
|
+
required: '請輸入${label}',
|
|
79
|
+
enum: '${label}必須是其中一個[${enum}]',
|
|
80
|
+
whitespace: '${label}不能為空字符',
|
|
81
|
+
date: {
|
|
82
|
+
format: '${label}日期格式無效',
|
|
83
|
+
parse: '${label}不能轉換為日期',
|
|
84
|
+
invalid: '${label}是一個無效日期'
|
|
85
|
+
},
|
|
86
|
+
types: {
|
|
87
|
+
string: typeTemplate,
|
|
88
|
+
method: typeTemplate,
|
|
89
|
+
array: typeTemplate,
|
|
90
|
+
object: typeTemplate,
|
|
91
|
+
number: typeTemplate,
|
|
92
|
+
date: typeTemplate,
|
|
93
|
+
boolean: typeTemplate,
|
|
94
|
+
integer: typeTemplate,
|
|
95
|
+
float: typeTemplate,
|
|
96
|
+
regexp: typeTemplate,
|
|
97
|
+
email: typeTemplate,
|
|
98
|
+
url: typeTemplate,
|
|
99
|
+
hex: typeTemplate
|
|
100
|
+
},
|
|
101
|
+
string: {
|
|
102
|
+
len: '${label}須為${len}個字符',
|
|
103
|
+
min: '${label}最少${min}個字符',
|
|
104
|
+
max: '${label}最多${max}個字符',
|
|
105
|
+
range: '${label}須在${min}-${max}字符之間'
|
|
106
|
+
},
|
|
107
|
+
number: {
|
|
108
|
+
len: '${label}必須等於${len}',
|
|
109
|
+
min: '${label}最小值為${min}',
|
|
110
|
+
max: '${label}最大值為${max}',
|
|
111
|
+
range: '${label}須在${min}-${max}之間'
|
|
112
|
+
},
|
|
113
|
+
array: {
|
|
114
|
+
len: '須為${len}個${label}',
|
|
115
|
+
min: '最少${min}個${label}',
|
|
116
|
+
max: '最多${max}個${label}',
|
|
117
|
+
range: '${label}數量須在${min}-${max}之間'
|
|
118
|
+
},
|
|
119
|
+
pattern: {
|
|
120
|
+
mismatch: '${label}與模式不匹配${pattern}'
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
Image: {
|
|
125
|
+
preview: '預覽'
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
export default localeValues;
|
package/es/Menu/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Menu } from 'antd';
|
|
3
|
+
import type { MenuItemProps, MenuProps, MenuTheme, SubMenuProps } from 'antd';
|
|
3
4
|
export interface IMenuProps {
|
|
4
5
|
className?: string;
|
|
5
6
|
style?: React.CSSProperties;
|
|
6
7
|
}
|
|
8
|
+
export type { MenuItemProps, MenuProps, MenuTheme, SubMenuProps };
|
|
7
9
|
export default Menu;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const IconMap: {
|
|
3
|
+
success: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
error: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
info: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
warning: React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
};
|
|
8
|
+
export declare const ExceptionMap: {
|
|
9
|
+
'404': () => JSX.Element;
|
|
10
|
+
'500': () => JSX.Element;
|
|
11
|
+
'403': () => JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
export declare type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500';
|
|
14
|
+
export declare type ResultStatusType = ExceptionStatusType | keyof typeof IconMap;
|
|
15
|
+
export interface ResultProps {
|
|
16
|
+
icon?: React.ReactNode;
|
|
17
|
+
status?: ResultStatusType;
|
|
18
|
+
title?: React.ReactNode;
|
|
19
|
+
subTitle?: React.ReactNode;
|
|
20
|
+
extra?: React.ReactNode;
|
|
21
|
+
prefixCls?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export interface ResultType extends React.FC<ResultProps> {
|
|
27
|
+
PRESENTED_IMAGE_404: React.FC;
|
|
28
|
+
PRESENTED_IMAGE_403: React.FC;
|
|
29
|
+
PRESENTED_IMAGE_500: React.FC;
|
|
30
|
+
}
|
|
31
|
+
declare const Result: ResultType;
|
|
32
|
+
export default Result;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import CheckCircleFilled from '@ant-design/icons/CheckCircleFilled';
|
|
3
|
+
import CloseCircleFilled from '@ant-design/icons/CloseCircleFilled';
|
|
4
|
+
import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
|
|
5
|
+
import WarningFilled from '@ant-design/icons/WarningFilled';
|
|
6
|
+
import classNames from 'classnames';
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { ConfigContext } from '../ConfigProvider';
|
|
9
|
+
import warning from '../_util/warning';
|
|
10
|
+
import noFound from './noFound';
|
|
11
|
+
import serverError from './serverError';
|
|
12
|
+
import unauthorized from './unauthorized';
|
|
13
|
+
export var IconMap = {
|
|
14
|
+
success: CheckCircleFilled,
|
|
15
|
+
error: CloseCircleFilled,
|
|
16
|
+
info: ExclamationCircleFilled,
|
|
17
|
+
warning: WarningFilled
|
|
18
|
+
};
|
|
19
|
+
export var ExceptionMap = {
|
|
20
|
+
'404': noFound,
|
|
21
|
+
'500': serverError,
|
|
22
|
+
'403': unauthorized
|
|
23
|
+
}; // ExceptionImageMap keys
|
|
24
|
+
|
|
25
|
+
var ExceptionStatus = Object.keys(ExceptionMap);
|
|
26
|
+
|
|
27
|
+
var Icon = function Icon(_ref) {
|
|
28
|
+
var prefixCls = _ref.prefixCls,
|
|
29
|
+
icon = _ref.icon,
|
|
30
|
+
status = _ref.status;
|
|
31
|
+
var className = classNames("".concat(prefixCls, "-icon"));
|
|
32
|
+
warning(!(typeof icon === 'string' && icon.length > 2), 'Result', "`icon` is using ReactNode instead of string naming in v4. Please check `".concat(icon, "` at https://ant.design/components/icon"));
|
|
33
|
+
|
|
34
|
+
if (ExceptionStatus.includes("".concat(status))) {
|
|
35
|
+
var SVGComponent = ExceptionMap[status];
|
|
36
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
className: "".concat(className, " ").concat(prefixCls, "-image")
|
|
38
|
+
}, /*#__PURE__*/React.createElement(SVGComponent, null));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var iconNode = /*#__PURE__*/React.createElement(IconMap[status]);
|
|
42
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
className: className
|
|
44
|
+
}, icon || iconNode);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
var Extra = function Extra(_ref2) {
|
|
48
|
+
var prefixCls = _ref2.prefixCls,
|
|
49
|
+
extra = _ref2.extra;
|
|
50
|
+
|
|
51
|
+
if (!extra) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
56
|
+
className: "".concat(prefixCls, "-extra")
|
|
57
|
+
}, extra);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
var Result = function Result(_ref3) {
|
|
61
|
+
var customizePrefixCls = _ref3.prefixCls,
|
|
62
|
+
customizeClassName = _ref3.className,
|
|
63
|
+
subTitle = _ref3.subTitle,
|
|
64
|
+
title = _ref3.title,
|
|
65
|
+
style = _ref3.style,
|
|
66
|
+
children = _ref3.children,
|
|
67
|
+
_ref3$status = _ref3.status,
|
|
68
|
+
status = _ref3$status === void 0 ? 'info' : _ref3$status,
|
|
69
|
+
icon = _ref3.icon,
|
|
70
|
+
extra = _ref3.extra;
|
|
71
|
+
|
|
72
|
+
var _React$useContext = React.useContext(ConfigContext),
|
|
73
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
74
|
+
direction = _React$useContext.direction;
|
|
75
|
+
|
|
76
|
+
var prefixCls = getPrefixCls('result', customizePrefixCls);
|
|
77
|
+
var className = classNames(prefixCls, "".concat(prefixCls, "-").concat(status), customizeClassName, _defineProperty({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'));
|
|
78
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
79
|
+
className: className,
|
|
80
|
+
style: style
|
|
81
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
82
|
+
prefixCls: prefixCls,
|
|
83
|
+
status: status,
|
|
84
|
+
icon: icon
|
|
85
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
86
|
+
className: "".concat(prefixCls, "-title")
|
|
87
|
+
}, title), subTitle && /*#__PURE__*/React.createElement("div", {
|
|
88
|
+
className: "".concat(prefixCls, "-subtitle")
|
|
89
|
+
}, subTitle), /*#__PURE__*/React.createElement(Extra, {
|
|
90
|
+
prefixCls: prefixCls,
|
|
91
|
+
extra: extra
|
|
92
|
+
}), children && /*#__PURE__*/React.createElement("div", {
|
|
93
|
+
className: "".concat(prefixCls, "-content")
|
|
94
|
+
}, children));
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
Result.PRESENTED_IMAGE_403 = ExceptionMap['403'];
|
|
98
|
+
Result.PRESENTED_IMAGE_404 = ExceptionMap['404'];
|
|
99
|
+
Result.PRESENTED_IMAGE_500 = ExceptionMap['500'];
|
|
100
|
+
export default Result;
|