linkmore-design 1.0.77 → 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/{CkFilter/demos/basic.d.ts → LmFilter/demos/custom.d.ts} +0 -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 -186749
- 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/CardTable/table/TableContainer.js +1 -2
- 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/LmFilter/LmFilter.js +2 -0
- package/es/LmFilter/customFilter/index.js +19 -7
- package/es/LmFilter/filterFns/index.js +1 -1
- package/es/LmFilter/wrapper/Filter.js +1 -1
- package/es/LmTable/Table.js +97 -92
- package/es/LmTable/components/inputDataEdit.js +4 -0
- package/es/LmTable/components/sheelTableCell.js +14 -3
- package/es/LmTable/components/tableChartsModal.js +1 -0
- 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/Modal/index.js +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/CardTable/table/TableContainer.js +1 -2
- 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/LmFilter/LmFilter.js +2 -0
- package/lib/LmFilter/customFilter/index.js +19 -7
- package/lib/LmFilter/filterFns/index.js +1 -1
- package/lib/LmFilter/wrapper/Filter.js +1 -1
- package/lib/LmTable/Table.js +97 -92
- package/lib/LmTable/components/inputDataEdit.js +4 -0
- package/lib/LmTable/components/sheelTableCell.js +14 -2
- package/lib/LmTable/components/tableChartsModal.js +1 -0
- 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/Modal/index.js +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/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/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/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
package/es/LmTable/Table.js
CHANGED
|
@@ -37,6 +37,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
37
37
|
|
|
38
38
|
var _reactResizable = require("react-resizable");
|
|
39
39
|
|
|
40
|
+
var _immer = require("immer");
|
|
41
|
+
|
|
40
42
|
var _reactSortableHoc = require("react-sortable-hoc");
|
|
41
43
|
|
|
42
44
|
var _hooks = require("../hooks");
|
|
@@ -53,7 +55,7 @@ var _tableChartsModal = _interopRequireDefault(require("./components/tableCharts
|
|
|
53
55
|
|
|
54
56
|
var _resetConfig = _interopRequireDefault(require("./resetConfig"));
|
|
55
57
|
|
|
56
|
-
var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "sortOpen", "colSortOpen", "resizeable", "customCheck", "components", "rowSelection", "columnsState", "onChange", "filterChange", "tableRowType", "size", "openSheet", "editSheet", "emptyProps"],
|
|
58
|
+
var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "sortOpen", "colSortOpen", "resizeable", "customCheck", "components", "rowSelection", "columnsState", "onChange", "filterChange", "tableRowType", "size", "openSheet", "editSheet", "dataChange", "emptyProps"],
|
|
57
59
|
_excluded2 = ["className", "style"],
|
|
58
60
|
_excluded3 = ["onResize", "width", "onResizeStop"];
|
|
59
61
|
var Summary = _proTable.default.Summary;
|
|
@@ -133,6 +135,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
133
135
|
openSheet = _props$openSheet === void 0 ? false : _props$openSheet,
|
|
134
136
|
_props$editSheet = props.editSheet,
|
|
135
137
|
editSheet = _props$editSheet === void 0 ? false : _props$editSheet,
|
|
138
|
+
dataChange = props.dataChange,
|
|
136
139
|
emptyProps = props.emptyProps,
|
|
137
140
|
resetProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
138
141
|
var _resetProps$rowKey = resetProps.rowKey,
|
|
@@ -158,6 +161,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
158
161
|
setColumns = _useState6[1];
|
|
159
162
|
|
|
160
163
|
var tableWarpRef = (0, _react.useRef)(null);
|
|
164
|
+
var dataSourceRef = (0, _react.useRef)(null);
|
|
161
165
|
/** 右键的ref */
|
|
162
166
|
|
|
163
167
|
var contentMenuRef = (0, _react.useRef)(null);
|
|
@@ -229,6 +233,12 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
229
233
|
var SortContainer = (0, _reactSortableHoc.SortableContainer)(function (props) {
|
|
230
234
|
return /*#__PURE__*/_react.default.createElement("tbody", props);
|
|
231
235
|
});
|
|
236
|
+
(0, _react.useEffect)(function () {
|
|
237
|
+
dataSourceRef.current = dataSource;
|
|
238
|
+
}, [dataSource]);
|
|
239
|
+
var dataEffect = (0, _react.useMemo)(function () {
|
|
240
|
+
return openSheet ? [dataSource] : [];
|
|
241
|
+
}, [openSheet]);
|
|
232
242
|
|
|
233
243
|
var onSortEnd = function onSortEnd(_ref) {
|
|
234
244
|
var oldIndex = _ref.oldIndex,
|
|
@@ -294,19 +304,40 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
294
304
|
filterChange === null || filterChange === void 0 ? void 0 : filterChange(useColumns);
|
|
295
305
|
});
|
|
296
306
|
};
|
|
307
|
+
|
|
308
|
+
var isSelected = function isSelected(i, j) {
|
|
309
|
+
var _shellStatusRef$curre = shellStatusRef.current,
|
|
310
|
+
start = _shellStatusRef$curre.start,
|
|
311
|
+
end = _shellStatusRef$curre.end,
|
|
312
|
+
editing = _shellStatusRef$curre.editing;
|
|
313
|
+
var maxi = Math.max(start === null || start === void 0 ? void 0 : start.i, end.i);
|
|
314
|
+
var mini = Math.min(start === null || start === void 0 ? void 0 : start.i, end.i);
|
|
315
|
+
var maxj = Math.max(start === null || start === void 0 ? void 0 : start.j, end.j);
|
|
316
|
+
var minj = Math.min(start === null || start === void 0 ? void 0 : start.j, end.j);
|
|
317
|
+
var posX = j >= start.j && j <= end.j;
|
|
318
|
+
var negX = j <= start.j && j >= end.j;
|
|
319
|
+
var posY = i >= start.i && i <= end.i;
|
|
320
|
+
var negY = i <= start.i && i >= end.i;
|
|
321
|
+
return {
|
|
322
|
+
isSelected: posX && posY || negX && posY || negX && negY || posX && negY,
|
|
323
|
+
isEnd: i === maxi && j >= minj && j <= maxj,
|
|
324
|
+
isRightEnd: j === maxj && i >= mini && i <= maxi,
|
|
325
|
+
isEditing: (editing === null || editing === void 0 ? void 0 : editing.i) === i && (editing === null || editing === void 0 ? void 0 : editing.j) === j
|
|
326
|
+
};
|
|
327
|
+
};
|
|
297
328
|
/** 复制功能 */
|
|
298
329
|
|
|
299
330
|
|
|
300
331
|
var handleCopy = function handleCopy(e) {
|
|
301
|
-
var _shellStatusRef$
|
|
332
|
+
var _shellStatusRef$curre2;
|
|
302
333
|
|
|
303
|
-
if (isEmpty((_shellStatusRef$
|
|
334
|
+
if (isEmpty((_shellStatusRef$curre2 = shellStatusRef.current) === null || _shellStatusRef$curre2 === void 0 ? void 0 : _shellStatusRef$curre2.editing)) {
|
|
304
335
|
var _e$clipboardData;
|
|
305
336
|
|
|
306
337
|
e.preventDefault();
|
|
307
|
-
var _shellStatusRef$
|
|
308
|
-
start = _shellStatusRef$
|
|
309
|
-
end = _shellStatusRef$
|
|
338
|
+
var _shellStatusRef$curre3 = shellStatusRef.current,
|
|
339
|
+
start = _shellStatusRef$curre3.start,
|
|
340
|
+
end = _shellStatusRef$curre3.end;
|
|
310
341
|
var text = range(start.i, end.i).map(function (i) {
|
|
311
342
|
return range(start.j, end.j).map(function (j) {
|
|
312
343
|
var _columns$j, _columns$j2;
|
|
@@ -342,9 +373,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
342
373
|
};
|
|
343
374
|
|
|
344
375
|
var onMouseOver = function onMouseOver(i, j) {
|
|
345
|
-
var _shellStatusRef$
|
|
376
|
+
var _shellStatusRef$curre4, _shellStatusRef$curre5;
|
|
346
377
|
|
|
347
|
-
if (((_shellStatusRef$
|
|
378
|
+
if (((_shellStatusRef$curre4 = shellStatusRef.current) === null || _shellStatusRef$curre4 === void 0 ? void 0 : _shellStatusRef$curre4.selecting) && isEmpty((_shellStatusRef$curre5 = shellStatusRef.current) === null || _shellStatusRef$curre5 === void 0 ? void 0 : _shellStatusRef$curre5.editing)) {
|
|
348
379
|
shellStatusRef.current = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, shellStatusRef.current), {}, {
|
|
349
380
|
end: {
|
|
350
381
|
i: i,
|
|
@@ -375,23 +406,26 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
375
406
|
|
|
376
407
|
|
|
377
408
|
var handleCut = function handleCut(e) {
|
|
378
|
-
var _shellStatusRef$
|
|
409
|
+
var _shellStatusRef$curre6;
|
|
379
410
|
|
|
380
|
-
if (isEmpty((_shellStatusRef$
|
|
411
|
+
if (isEmpty((_shellStatusRef$curre6 = shellStatusRef.current) === null || _shellStatusRef$curre6 === void 0 ? void 0 : _shellStatusRef$curre6.editing)) {
|
|
381
412
|
e.preventDefault();
|
|
382
413
|
handleCopy(e);
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
414
|
+
/** 暂时先不隐藏 */
|
|
415
|
+
// const { start, end } = shellStatusRef.current
|
|
416
|
+
// clearSelectedCells(start, end)
|
|
386
417
|
}
|
|
387
418
|
};
|
|
388
419
|
/** 内容粘贴 */
|
|
389
420
|
|
|
390
421
|
|
|
391
422
|
var handlePaste = function handlePaste(e) {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
423
|
+
var _shellStatusRef$curre7;
|
|
424
|
+
|
|
425
|
+
if (isEmpty((_shellStatusRef$curre7 = shellStatusRef.current) === null || _shellStatusRef$curre7 === void 0 ? void 0 : _shellStatusRef$curre7.editing)) {
|
|
426
|
+
var _shellStatusRef$curre8 = shellStatusRef.current,
|
|
427
|
+
start = _shellStatusRef$curre8.start,
|
|
428
|
+
end = _shellStatusRef$curre8.end;
|
|
395
429
|
start = {
|
|
396
430
|
i: Math.min(start.i, end.i),
|
|
397
431
|
j: Math.min(start.j, end.j)
|
|
@@ -400,7 +434,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
400
434
|
i: Math.max(start.i, end.i),
|
|
401
435
|
j: Math.max(start.j, end.j)
|
|
402
436
|
};
|
|
403
|
-
var parse =
|
|
437
|
+
var parse = defaultParsePaste;
|
|
404
438
|
var changes = [];
|
|
405
439
|
var pasteData = [];
|
|
406
440
|
|
|
@@ -409,50 +443,33 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
409
443
|
pasteData = parse(window.clipboardData.getData('Text'));
|
|
410
444
|
} else if (e.clipboardData && e.clipboardData.getData) {
|
|
411
445
|
pasteData = parse(e.clipboardData.getData('text/plain'));
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
//
|
|
415
|
-
// const additions = []
|
|
416
|
-
// pasteData.forEach((row, i) => {
|
|
417
|
-
// row.forEach((value, j) => {
|
|
418
|
-
// end = { i: start.i + i, j: start.j + j }
|
|
419
|
-
// const cell = data[end.i] && data[end.i][end.j]
|
|
420
|
-
// if (!cell) {
|
|
421
|
-
// additions.push({ row: end.i, col: end.j, value })
|
|
422
|
-
// } else if (!cell.readOnly) {
|
|
423
|
-
// changes.push({ cell, row: end.i, col: end.j, value })
|
|
424
|
-
// }
|
|
425
|
-
// })
|
|
426
|
-
// })
|
|
427
|
-
// if (additions.length) {
|
|
428
|
-
// onCellsChanged(changes, additions)
|
|
429
|
-
// } else {
|
|
430
|
-
// onCellsChanged(changes)
|
|
431
|
-
// }
|
|
432
|
-
// } else if (onPaste) {
|
|
433
|
-
// pasteData.forEach((row, i) => {
|
|
434
|
-
// const rowData = []
|
|
435
|
-
// row.forEach((pastedData, j) => {
|
|
436
|
-
// end = { i: start.i + i, j: start.j + j }
|
|
437
|
-
// const cell = data[end.i] && data[end.i][end.j]
|
|
438
|
-
// rowData.push({ cell: cell, data: pastedData })
|
|
439
|
-
// })
|
|
440
|
-
// changes.push(rowData)
|
|
441
|
-
// })
|
|
442
|
-
// onPaste(changes)
|
|
443
|
-
// } else if (onChange) {
|
|
444
|
-
// pasteData.forEach((row, i) => {
|
|
445
|
-
// row.forEach((value, j) => {
|
|
446
|
-
// end = { i: start.i + i, j: start.j + j }
|
|
447
|
-
// const cell = data[end.i] && data[end.i][end.j]
|
|
448
|
-
// if (cell && !cell.readOnly) {
|
|
449
|
-
// onChange(cell, end.i, end.j, value)
|
|
450
|
-
// }
|
|
451
|
-
// })
|
|
452
|
-
// })
|
|
453
|
-
// }
|
|
454
|
-
// this._setState({ end })
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
var data = dataSourceRef.current; // in order of preference
|
|
455
449
|
|
|
450
|
+
var resultEnd = [];
|
|
451
|
+
pasteData.forEach(function (row, i) {
|
|
452
|
+
row.forEach(function (value, j) {
|
|
453
|
+
resultEnd.push({
|
|
454
|
+
i: start.i + i,
|
|
455
|
+
j: start.j + j,
|
|
456
|
+
value: value
|
|
457
|
+
});
|
|
458
|
+
});
|
|
459
|
+
});
|
|
460
|
+
var columnsKeysList = columns.map(function (item) {
|
|
461
|
+
return item.dataIndex;
|
|
462
|
+
});
|
|
463
|
+
var res = (0, _immer.produce)(dataSourceRef.current, function (draft) {
|
|
464
|
+
resultEnd.forEach(function (item) {
|
|
465
|
+
var _isSelected;
|
|
466
|
+
|
|
467
|
+
if ((_isSelected = isSelected(item.i, item.j)) === null || _isSelected === void 0 ? void 0 : _isSelected.isSelected) {
|
|
468
|
+
draft[item.i][columnsKeysList[item.j]] = item.value;
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
});
|
|
472
|
+
dataChange === null || dataChange === void 0 ? void 0 : dataChange(res);
|
|
456
473
|
}
|
|
457
474
|
};
|
|
458
475
|
|
|
@@ -489,13 +506,13 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
489
506
|
|
|
490
507
|
|
|
491
508
|
var sheelMouseDown = function sheelMouseDown(i, j, e) {
|
|
492
|
-
var _shellStatusRef$
|
|
509
|
+
var _shellStatusRef$curre9, _shellStatusRef$curre10, _shellStatusRef$curre11, _shellStatusRef$curre12, _shellStatusRef$curre13, _shellStatusRef$curre14, _shellStatusRef$curre15, _shellStatusRef$curre16, _shellStatusRef$curre17;
|
|
493
510
|
|
|
494
|
-
var isNowEditingSameCell = !isEmpty((_shellStatusRef$
|
|
495
|
-
var editing = isEmpty((_shellStatusRef$
|
|
511
|
+
var isNowEditingSameCell = !isEmpty((_shellStatusRef$curre9 = shellStatusRef.current) === null || _shellStatusRef$curre9 === void 0 ? void 0 : _shellStatusRef$curre9.editing) && ((_shellStatusRef$curre10 = shellStatusRef.current) === null || _shellStatusRef$curre10 === void 0 ? void 0 : _shellStatusRef$curre10.editing.i) === i && ((_shellStatusRef$curre11 = shellStatusRef.current) === null || _shellStatusRef$curre11 === void 0 ? void 0 : _shellStatusRef$curre11.editing.j) === j;
|
|
512
|
+
var editing = isEmpty((_shellStatusRef$curre12 = shellStatusRef.current) === null || _shellStatusRef$curre12 === void 0 ? void 0 : _shellStatusRef$curre12.editing) || ((_shellStatusRef$curre13 = shellStatusRef.current) === null || _shellStatusRef$curre13 === void 0 ? void 0 : _shellStatusRef$curre13.editing.i) !== i || ((_shellStatusRef$curre14 = shellStatusRef.current) === null || _shellStatusRef$curre14 === void 0 ? void 0 : _shellStatusRef$curre14.editing.j) !== j ? {} : (_shellStatusRef$curre15 = shellStatusRef.current) === null || _shellStatusRef$curre15 === void 0 ? void 0 : _shellStatusRef$curre15.editing;
|
|
496
513
|
shellStatusRef.current = {
|
|
497
514
|
selecting: !isNowEditingSameCell,
|
|
498
|
-
start: (e === null || e === void 0 ? void 0 : e.shiftKey) ? (_shellStatusRef$
|
|
515
|
+
start: (e === null || e === void 0 ? void 0 : e.shiftKey) ? (_shellStatusRef$curre16 = shellStatusRef.current) === null || _shellStatusRef$curre16 === void 0 ? void 0 : _shellStatusRef$curre16.start : {
|
|
499
516
|
i: i,
|
|
500
517
|
j: j
|
|
501
518
|
},
|
|
@@ -508,7 +525,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
508
525
|
};
|
|
509
526
|
SetSelectIng(!isNowEditingSameCell);
|
|
510
527
|
|
|
511
|
-
if (isEmpty((_shellStatusRef$
|
|
528
|
+
if (isEmpty((_shellStatusRef$curre17 = shellStatusRef.current) === null || _shellStatusRef$curre17 === void 0 ? void 0 : _shellStatusRef$curre17.editing)) {
|
|
512
529
|
setEditIng(false);
|
|
513
530
|
}
|
|
514
531
|
|
|
@@ -521,9 +538,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
521
538
|
|
|
522
539
|
var onContextMenu = function onContextMenu(evt, i, j) {
|
|
523
540
|
evt.preventDefault();
|
|
524
|
-
var _shellStatusRef$
|
|
525
|
-
start = _shellStatusRef$
|
|
526
|
-
end = _shellStatusRef$
|
|
541
|
+
var _shellStatusRef$curre18 = shellStatusRef.current,
|
|
542
|
+
start = _shellStatusRef$curre18.start,
|
|
543
|
+
end = _shellStatusRef$curre18.end;
|
|
527
544
|
|
|
528
545
|
if (isEmpty(start) && isEmpty(end)) {
|
|
529
546
|
sheelMouseDown(i, j, evt);
|
|
@@ -568,7 +585,17 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
568
585
|
}
|
|
569
586
|
};
|
|
570
587
|
|
|
571
|
-
var dataSourceChange = function dataSourceChange(i, j, newRecord) {
|
|
588
|
+
var dataSourceChange = function dataSourceChange(i, j, newRecord) {
|
|
589
|
+
var res = (0, _immer.produce)(dataSourceRef.current, function (draft) {
|
|
590
|
+
draft[i] = newRecord;
|
|
591
|
+
});
|
|
592
|
+
dataChange === null || dataChange === void 0 ? void 0 : dataChange(res);
|
|
593
|
+
shellStatusRef.current = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, shellStatusRef.current), {}, {
|
|
594
|
+
editing: {},
|
|
595
|
+
forceEdit: false,
|
|
596
|
+
clear: {}
|
|
597
|
+
});
|
|
598
|
+
};
|
|
572
599
|
|
|
573
600
|
(0, _react.useEffect)(function () {
|
|
574
601
|
return function () {
|
|
@@ -579,28 +606,6 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
579
606
|
document.removeEventListener('paste', handlePaste);
|
|
580
607
|
};
|
|
581
608
|
}, []);
|
|
582
|
-
|
|
583
|
-
var isSelected = function isSelected(i, j) {
|
|
584
|
-
var _shellStatusRef$curre17 = shellStatusRef.current,
|
|
585
|
-
start = _shellStatusRef$curre17.start,
|
|
586
|
-
end = _shellStatusRef$curre17.end,
|
|
587
|
-
editing = _shellStatusRef$curre17.editing;
|
|
588
|
-
var maxi = Math.max(start === null || start === void 0 ? void 0 : start.i, end.i);
|
|
589
|
-
var mini = Math.min(start === null || start === void 0 ? void 0 : start.i, end.i);
|
|
590
|
-
var maxj = Math.max(start === null || start === void 0 ? void 0 : start.j, end.j);
|
|
591
|
-
var minj = Math.min(start === null || start === void 0 ? void 0 : start.j, end.j);
|
|
592
|
-
var posX = j >= start.j && j <= end.j;
|
|
593
|
-
var negX = j <= start.j && j >= end.j;
|
|
594
|
-
var posY = i >= start.i && i <= end.i;
|
|
595
|
-
var negY = i <= start.i && i >= end.i;
|
|
596
|
-
return {
|
|
597
|
-
isSelected: posX && posY || negX && posY || negX && negY || posX && negY,
|
|
598
|
-
isEnd: i === maxi && j >= minj && j <= maxj,
|
|
599
|
-
isRightEnd: j === maxj && i >= mini && i <= maxi,
|
|
600
|
-
isEditing: (editing === null || editing === void 0 ? void 0 : editing.i) === i && (editing === null || editing === void 0 ? void 0 : editing.j) === j
|
|
601
|
-
};
|
|
602
|
-
};
|
|
603
|
-
|
|
604
609
|
var resetColumns = (0, _react.useCallback)(function () {
|
|
605
610
|
var result = useColumns.filter(function (item) {
|
|
606
611
|
return item.show !== false;
|
|
@@ -640,7 +645,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
640
645
|
return obj;
|
|
641
646
|
});
|
|
642
647
|
return sortOpen ? [sortDefaultColumnItem].concat((0, _toConsumableArray2.default)(result)) : result;
|
|
643
|
-
}, [useColumns, sortOpen, selectIng]);
|
|
648
|
+
}, [useColumns, sortOpen, selectIng, dataSource]);
|
|
644
649
|
(0, _react.useEffect)(function () {
|
|
645
650
|
setColumns(columns);
|
|
646
651
|
}, [columns]); // 行点击事件
|
|
@@ -13,6 +13,10 @@ var InputDataEdit = function InputDataEdit(props) {
|
|
|
13
13
|
|
|
14
14
|
(_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
15
15
|
}, 150);
|
|
16
|
+
return function () {
|
|
17
|
+
console.log('unmounds');
|
|
18
|
+
handleSave === null || handleSave === void 0 ? void 0 : handleSave(inputRef.current);
|
|
19
|
+
};
|
|
16
20
|
}, []);
|
|
17
21
|
|
|
18
22
|
var handleChange = function handleChange(e) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
1
2
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
3
|
|
|
3
4
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -13,7 +14,7 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
13
14
|
return t;
|
|
14
15
|
};
|
|
15
16
|
|
|
16
|
-
import React, { useState } from 'react';
|
|
17
|
+
import React, { useRef, useState } from 'react';
|
|
17
18
|
import cls from 'classnames';
|
|
18
19
|
import { useUpdateEffect } from 'ahooks';
|
|
19
20
|
import InputDataEdit from './inputDataEdit';
|
|
@@ -31,7 +32,8 @@ var SheelTabelCell = function SheelTabelCell(props) {
|
|
|
31
32
|
selectIng = props.selectIng,
|
|
32
33
|
onContextMenu = props.onContextMenu,
|
|
33
34
|
onDoubleClick = props.onDoubleClick,
|
|
34
|
-
|
|
35
|
+
dataSourceChange = props.dataSourceChange,
|
|
36
|
+
restProps = __rest(props, ["record", "col", "rowKey", "children", "rowIndex", "colIndex", "onMouseDown", "onMouseOver", "isSelected", "selectIng", "onContextMenu", "onDoubleClick", "dataSourceChange"]);
|
|
35
37
|
|
|
36
38
|
var onMouseEnter = restProps.onMouseEnter,
|
|
37
39
|
onMouseLeave = restProps.onMouseLeave,
|
|
@@ -52,9 +54,16 @@ var SheelTabelCell = function SheelTabelCell(props) {
|
|
|
52
54
|
value = _useState2[0],
|
|
53
55
|
setValue = _useState2[1];
|
|
54
56
|
|
|
57
|
+
var valueRef = useRef((record === null || record === void 0 ? void 0 : record[col === null || col === void 0 ? void 0 : col.dataIndex]) || '');
|
|
55
58
|
useUpdateEffect(function () {
|
|
56
59
|
console.log(value, '----changeValue');
|
|
60
|
+
valueRef.current = value;
|
|
57
61
|
}, [value]);
|
|
62
|
+
useUpdateEffect(function () {
|
|
63
|
+
if (value !== (record === null || record === void 0 ? void 0 : record[col === null || col === void 0 ? void 0 : col.dataIndex])) {
|
|
64
|
+
setValue(record === null || record === void 0 ? void 0 : record[col === null || col === void 0 ? void 0 : col.dataIndex]);
|
|
65
|
+
}
|
|
66
|
+
}, [record]);
|
|
58
67
|
/** 鼠标点击 */
|
|
59
68
|
|
|
60
69
|
var handleMouseDown = function handleMouseDown(e) {
|
|
@@ -102,7 +111,9 @@ var SheelTabelCell = function SheelTabelCell(props) {
|
|
|
102
111
|
};
|
|
103
112
|
|
|
104
113
|
var saveRenderValue = function saveRenderValue() {
|
|
105
|
-
|
|
114
|
+
if (valueRef.current !== (record === null || record === void 0 ? void 0 : record[col === null || col === void 0 ? void 0 : col.dataIndex])) {
|
|
115
|
+
dataSourceChange === null || dataSourceChange === void 0 ? void 0 : dataSourceChange(rowIndex, colIndex, Object.assign(Object.assign({}, record), _defineProperty({}, col.dataIndex, valueRef.current)));
|
|
116
|
+
}
|
|
106
117
|
};
|
|
107
118
|
|
|
108
119
|
var renderEditor = function renderEditor() {
|
|
@@ -107,6 +107,7 @@ var TableChartsModal = function TableChartsModal(props) {
|
|
|
107
107
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
108
108
|
visible: !!type,
|
|
109
109
|
title: "\u667A\u80FD\u62A5\u8868",
|
|
110
|
+
onOk: onCancel,
|
|
110
111
|
onCancel: onCancel
|
|
111
112
|
}, type === 'column' && /*#__PURE__*/React.createElement(Column, Object.assign({}, config)), type === 'line' && /*#__PURE__*/React.createElement(Line, Object.assign({}, config)), type === 'pie' && /*#__PURE__*/React.createElement(Pie, Object.assign({}, config)));
|
|
112
113
|
};
|
package/es/LmTable/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
3
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
4
|
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11,9 +9,6 @@ exports.default = void 0;
|
|
|
11
9
|
|
|
12
10
|
var _Table = _interopRequireWildcard(require("./Table"));
|
|
13
11
|
|
|
14
|
-
var _ImgList = _interopRequireDefault(require("./ImgList"));
|
|
15
|
-
|
|
16
|
-
_Table.default.ImgTable = _ImgList.default;
|
|
17
12
|
_Table.default.Summary = _Table.Summary;
|
|
18
13
|
var _default = _Table.default;
|
|
19
14
|
exports.default = _default;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/* eslint-disable no-template-curly-in-string */
|
|
2
|
+
import Pagination from 'rc-pagination/lib/locale/ar_EG';
|
|
3
|
+
import Calendar from 'antd/es/calendar/locale/ar_EG';
|
|
4
|
+
import DatePicker from 'antd/es/date-picker/locale/ar_EG';
|
|
5
|
+
import TimePicker from 'antd/es/time-picker/locale/ar_EG';
|
|
6
|
+
var typeTemplate = 'ليس ${label} من نوع ${type} صالحًا';
|
|
7
|
+
var localeValues = {
|
|
8
|
+
locale: 'ar',
|
|
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
|
+
selectAll: 'اختيار الكل',
|
|
21
|
+
selectInvert: 'إلغاء الاختيار',
|
|
22
|
+
selectionAll: 'حدد جميع البيانات',
|
|
23
|
+
sortTitle: 'رتب',
|
|
24
|
+
expand: 'توسيع الصف',
|
|
25
|
+
collapse: 'طي الصف',
|
|
26
|
+
triggerDesc: 'ترتيب تنازلي',
|
|
27
|
+
triggerAsc: 'ترتيب تصاعدي',
|
|
28
|
+
cancelSort: 'إلغاء الترتيب'
|
|
29
|
+
},
|
|
30
|
+
Modal: {
|
|
31
|
+
okText: 'تأكيد',
|
|
32
|
+
cancelText: 'إلغاء',
|
|
33
|
+
justOkText: 'تأكيد'
|
|
34
|
+
},
|
|
35
|
+
Popconfirm: {
|
|
36
|
+
okText: 'تأكيد',
|
|
37
|
+
cancelText: 'إلغاء'
|
|
38
|
+
},
|
|
39
|
+
Transfer: {
|
|
40
|
+
searchPlaceholder: 'ابحث هنا',
|
|
41
|
+
itemUnit: 'عنصر',
|
|
42
|
+
itemsUnit: 'عناصر'
|
|
43
|
+
},
|
|
44
|
+
Upload: {
|
|
45
|
+
uploading: 'جاري الرفع...',
|
|
46
|
+
removeFile: 'احذف الملف',
|
|
47
|
+
uploadError: 'مشكلة فى الرفع',
|
|
48
|
+
previewFile: 'استعرض الملف',
|
|
49
|
+
downloadFile: 'تحميل الملف'
|
|
50
|
+
},
|
|
51
|
+
Empty: {
|
|
52
|
+
description: 'لا توجد بيانات'
|
|
53
|
+
},
|
|
54
|
+
Icon: {
|
|
55
|
+
icon: 'أيقونة'
|
|
56
|
+
},
|
|
57
|
+
Text: {
|
|
58
|
+
edit: 'تعديل',
|
|
59
|
+
copy: 'نسخ',
|
|
60
|
+
copied: 'نقل',
|
|
61
|
+
expand: 'وسع'
|
|
62
|
+
},
|
|
63
|
+
PageHeader: {
|
|
64
|
+
back: 'عودة'
|
|
65
|
+
},
|
|
66
|
+
Form: {
|
|
67
|
+
defaultValidateMessages: {
|
|
68
|
+
default: 'خطأ في حقل الإدخال ${label}',
|
|
69
|
+
required: 'يرجى إدخال ${label}',
|
|
70
|
+
enum: '${label} يجب أن يكون واحدا من [${enum}]',
|
|
71
|
+
whitespace: '${label} لا يمكن أن يكون حرفًا فارغًا',
|
|
72
|
+
date: {
|
|
73
|
+
format: '${label} تنسيق التاريخ غير صحيح',
|
|
74
|
+
parse: '${label} لا يمكن تحويلها إلى تاريخ',
|
|
75
|
+
invalid: 'تاريخ ${label} غير صحيح'
|
|
76
|
+
},
|
|
77
|
+
types: {
|
|
78
|
+
string: typeTemplate,
|
|
79
|
+
method: typeTemplate,
|
|
80
|
+
array: typeTemplate,
|
|
81
|
+
object: typeTemplate,
|
|
82
|
+
number: typeTemplate,
|
|
83
|
+
date: typeTemplate,
|
|
84
|
+
boolean: typeTemplate,
|
|
85
|
+
integer: typeTemplate,
|
|
86
|
+
float: typeTemplate,
|
|
87
|
+
regexp: typeTemplate,
|
|
88
|
+
email: typeTemplate,
|
|
89
|
+
url: typeTemplate,
|
|
90
|
+
hex: typeTemplate
|
|
91
|
+
},
|
|
92
|
+
string: {
|
|
93
|
+
len: 'يجب ${label} ان يكون ${len} أحرف',
|
|
94
|
+
min: '${label} على الأقل ${min} أحرف',
|
|
95
|
+
max: '${label} يصل إلى ${max} أحرف',
|
|
96
|
+
range: 'يجب ${label} ان يكون مابين ${min}-${max} أحرف'
|
|
97
|
+
},
|
|
98
|
+
number: {
|
|
99
|
+
len: '${len} ان يساوي ${label} يجب',
|
|
100
|
+
min: '${min} الأدنى هو ${label} حد',
|
|
101
|
+
max: '${max} الأقصى هو ${label} حد',
|
|
102
|
+
range: '${max}-${min} ان يكون مابين ${label} يجب'
|
|
103
|
+
},
|
|
104
|
+
array: {
|
|
105
|
+
len: 'يجب أن يكون ${label} طوله ${len}',
|
|
106
|
+
min: 'يجب أن يكون ${label} طوله الأدنى ${min}',
|
|
107
|
+
max: 'يجب أن يكون ${label} طوله الأقصى ${max}',
|
|
108
|
+
range: 'يجب أن يكون ${label} طوله مابين ${min}-${max}'
|
|
109
|
+
},
|
|
110
|
+
pattern: {
|
|
111
|
+
mismatch: 'لا يتطابق ${label} مع ${pattern}'
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
export default localeValues;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* eslint-disable no-template-curly-in-string */
|
|
2
|
+
import Pagination from 'rc-pagination/lib/locale/az_AZ';
|
|
3
|
+
import Calendar from 'antd/es/calendar/locale/az_AZ';
|
|
4
|
+
import DatePicker from 'antd/es/date-picker/locale/az_AZ';
|
|
5
|
+
import TimePicker from 'antd/es/time-picker/locale/az_AZ';
|
|
6
|
+
var typeTemplate = '${label}Hökmlü deyil${type}';
|
|
7
|
+
var localeValues = {
|
|
8
|
+
locale: 'az',
|
|
9
|
+
Pagination: Pagination,
|
|
10
|
+
DatePicker: DatePicker,
|
|
11
|
+
TimePicker: TimePicker,
|
|
12
|
+
Calendar: Calendar,
|
|
13
|
+
Table: {
|
|
14
|
+
filterTitle: 'Filter menyu',
|
|
15
|
+
filterConfirm: 'Axtar',
|
|
16
|
+
filterReset: 'Sıfırla',
|
|
17
|
+
emptyText: 'Məlumat yoxdur',
|
|
18
|
+
selectAll: 'Cari səhifəni seç',
|
|
19
|
+
selectInvert: 'Invert current page'
|
|
20
|
+
},
|
|
21
|
+
Modal: {
|
|
22
|
+
okText: 'Bəli',
|
|
23
|
+
cancelText: 'Ləğv et',
|
|
24
|
+
justOkText: 'Bəli'
|
|
25
|
+
},
|
|
26
|
+
Popconfirm: {
|
|
27
|
+
okText: 'Bəli',
|
|
28
|
+
cancelText: 'Ləğv et'
|
|
29
|
+
},
|
|
30
|
+
Transfer: {
|
|
31
|
+
titles: ['', ''],
|
|
32
|
+
notFoundContent: 'Tapılmadı',
|
|
33
|
+
searchPlaceholder: 'Burada axtar',
|
|
34
|
+
itemUnit: 'item',
|
|
35
|
+
itemsUnit: 'items'
|
|
36
|
+
},
|
|
37
|
+
Select: {
|
|
38
|
+
notFoundContent: 'Tapılmadı'
|
|
39
|
+
},
|
|
40
|
+
Upload: {
|
|
41
|
+
uploading: 'Yüklənir...',
|
|
42
|
+
removeFile: 'Faylı sil',
|
|
43
|
+
uploadError: 'Yükləmə xətası',
|
|
44
|
+
previewFile: 'Fayla önbaxış'
|
|
45
|
+
},
|
|
46
|
+
Form: {
|
|
47
|
+
optional: '(Seçimli)',
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: 'Sahə təsdiq xətası${label}',
|
|
50
|
+
required: 'Xahiş edirik daxil olun${label}',
|
|
51
|
+
enum: '${label}Onlardan biri olmalıdır[${enum}]',
|
|
52
|
+
whitespace: '${label}Null xarakter ola bilməz',
|
|
53
|
+
date: {
|
|
54
|
+
format: '${label}Tarix formatı hökmlü deyil',
|
|
55
|
+
parse: '${label}Tarixi döndərmək mümkün deyil',
|
|
56
|
+
invalid: '${label}səhv tarixdir'
|
|
57
|
+
},
|
|
58
|
+
types: {
|
|
59
|
+
string: typeTemplate,
|
|
60
|
+
method: typeTemplate,
|
|
61
|
+
array: typeTemplate,
|
|
62
|
+
object: typeTemplate,
|
|
63
|
+
number: typeTemplate,
|
|
64
|
+
date: typeTemplate,
|
|
65
|
+
boolean: typeTemplate,
|
|
66
|
+
integer: typeTemplate,
|
|
67
|
+
float: typeTemplate,
|
|
68
|
+
regexp: typeTemplate,
|
|
69
|
+
email: typeTemplate,
|
|
70
|
+
url: typeTemplate,
|
|
71
|
+
hex: typeTemplate
|
|
72
|
+
},
|
|
73
|
+
string: {
|
|
74
|
+
len: '${label}Olmalıdır${len}işarələr',
|
|
75
|
+
min: '${label}ən az${min}işarələr',
|
|
76
|
+
max: '${label}ən çox${max}işarələr',
|
|
77
|
+
range: '${label}Olmalıdır${min}-${max}hərflər arasında'
|
|
78
|
+
},
|
|
79
|
+
number: {
|
|
80
|
+
len: '${label}Bərabər olmalıdır${len}',
|
|
81
|
+
min: '${label}Minimal dəyəri${min}',
|
|
82
|
+
max: '${label}Maksimal qiymət:${max}',
|
|
83
|
+
range: '${label}Olmalıdır${min}-${max}aralarında'
|
|
84
|
+
},
|
|
85
|
+
array: {
|
|
86
|
+
len: 'Olmalıdır${len}parça${label}',
|
|
87
|
+
min: 'ən az${min}parça${label}',
|
|
88
|
+
max: 'ən çox${max}parça${label}',
|
|
89
|
+
range: '${label}miqdarıOlmalıdır${min}-${max}aralarında'
|
|
90
|
+
},
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: '${label}Şablona uyğun gəlmir${pattern}'
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
export default localeValues;
|