@chaoswise/ui 3.0.4 → 3.0.6
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/package.json +1 -1
- package/lib/AbreastLayout/CollapsedBtn.js +0 -45
- package/lib/AbreastLayout/CollapsedIcon.js +0 -14
- package/lib/AbreastLayout/NavTreeContainer.js +0 -26
- package/lib/AbreastLayout/assets/icon.png +0 -0
- package/lib/AbreastLayout/assets/icon.svg +0 -11
- package/lib/AbreastLayout/assets/icon1.svg +0 -20
- package/lib/AbreastLayout/index.js +0 -215
- package/lib/AbreastLayout/index.style.js +0 -91
- package/lib/Ace/ace.js +0 -600
- package/lib/Ace/diff.js +0 -291
- package/lib/Ace/editorOptions.js +0 -34
- package/lib/Ace/index.js +0 -6
- package/lib/Ace/split.js +0 -462
- package/lib/AdaptiveLayout/index.js +0 -251
- package/lib/Affix/index.js +0 -2
- package/lib/Alert/index.js +0 -2
- package/lib/Anchor/index.js +0 -2
- package/lib/Antd5/_util/ActionButton.js +0 -117
- package/lib/Antd5/_util/PurePanel.js +0 -103
- package/lib/Antd5/_util/aria-data-attrs.js +0 -1
- package/lib/Antd5/_util/capitalize.js +0 -7
- package/lib/Antd5/_util/colors.js +0 -26
- package/lib/Antd5/_util/easings.js +0 -10
- package/lib/Antd5/_util/extendsObject.js +0 -26
- package/lib/Antd5/_util/gapSize.js +0 -10
- package/lib/Antd5/_util/getAllowClear.js +0 -16
- package/lib/Antd5/_util/getRenderPropValue.js +0 -6
- package/lib/Antd5/_util/getScroll.js +0 -29
- package/lib/Antd5/_util/hooks/useClosable.js +0 -119
- package/lib/Antd5/_util/hooks/useForceUpdate.js +0 -15
- package/lib/Antd5/_util/hooks/useMultipleSelect.js +0 -47
- package/lib/Antd5/_util/hooks/usePatchElement.js +0 -33
- package/lib/Antd5/_util/hooks/useProxyImperativeHandle.js +0 -32
- package/lib/Antd5/_util/hooks/useSyncState.js +0 -13
- package/lib/Antd5/_util/hooks/useZIndex.js +0 -56
- package/lib/Antd5/_util/isNumeric.js +0 -4
- package/lib/Antd5/_util/motion.js +0 -47
- package/lib/Antd5/_util/placements.js +0 -182
- package/lib/Antd5/_util/reactNode.js +0 -13
- package/lib/Antd5/_util/responsiveObserver.js +0 -123
- package/lib/Antd5/_util/scrollTo.js +0 -34
- package/lib/Antd5/_util/statusUtils.js +0 -12
- package/lib/Antd5/_util/styleChecker.js +0 -6
- package/lib/Antd5/_util/throttleByAnimationFrame.js +0 -30
- package/lib/Antd5/_util/transButton.js +0 -63
- package/lib/Antd5/_util/transKeys.js +0 -18
- package/lib/Antd5/_util/type.js +0 -1
- package/lib/Antd5/_util/warning.js +0 -59
- package/lib/Antd5/_util/wave/WaveEffect.js +0 -160
- package/lib/Antd5/_util/wave/index.js +0 -63
- package/lib/Antd5/_util/wave/interface.js +0 -1
- package/lib/Antd5/_util/wave/style.js +0 -32
- package/lib/Antd5/_util/wave/useWave.js +0 -48
- package/lib/Antd5/_util/wave/util.js +0 -29
- package/lib/Antd5/_util/zindexContext.js +0 -6
- package/lib/Antd5/affix/index.js +0 -228
- package/lib/Antd5/affix/style/index.js +0 -20
- package/lib/Antd5/affix/utils.js +0 -19
- package/lib/Antd5/alert/Alert.js +0 -233
- package/lib/Antd5/alert/ErrorBoundary.js +0 -76
- package/lib/Antd5/alert/design/behavior-pattern.js +0 -31
- package/lib/Antd5/alert/index.js +0 -5
- package/lib/Antd5/alert/style/index.js +0 -153
- package/lib/Antd5/anchor/Anchor.js +0 -278
- package/lib/Antd5/anchor/AnchorLink.js +0 -67
- package/lib/Antd5/anchor/context.js +0 -3
- package/lib/Antd5/anchor/index.js +0 -5
- package/lib/Antd5/anchor/style/index.js +0 -124
- package/lib/Antd5/app/context.js +0 -8
- package/lib/Antd5/app/index.js +0 -93
- package/lib/Antd5/app/style/index.js +0 -24
- package/lib/Antd5/auto-complete/index.js +0 -112
- package/lib/Antd5/avatar/AvatarContext.js +0 -3
- package/lib/Antd5/avatar/avatar.js +0 -189
- package/lib/Antd5/avatar/group.js +0 -103
- package/lib/Antd5/avatar/index.js +0 -6
- package/lib/Antd5/avatar/style/index.js +0 -110
- package/lib/Antd5/back-top/index.js +0 -113
- package/lib/Antd5/back-top/style/index.js +0 -82
- package/lib/Antd5/badge/Ribbon.js +0 -65
- package/lib/Antd5/badge/ScrollNumber.js +0 -72
- package/lib/Antd5/badge/SingleNumber.js +0 -122
- package/lib/Antd5/badge/index.js +0 -189
- package/lib/Antd5/badge/style/index.js +0 -291
- package/lib/Antd5/badge/style/ribbon.js +0 -72
- package/lib/Antd5/breadcrumb/Breadcrumb.js +0 -157
- package/lib/Antd5/breadcrumb/BreadcrumbItem.js +0 -103
- package/lib/Antd5/breadcrumb/BreadcrumbSeparator.js +0 -16
- package/lib/Antd5/breadcrumb/design/behavior-pattern.js +0 -36
- package/lib/Antd5/breadcrumb/index.js +0 -2
- package/lib/Antd5/breadcrumb/style/index.js +0 -82
- package/lib/Antd5/breadcrumb/useItemRender.js +0 -57
- package/lib/Antd5/breadcrumb/useItems.js +0 -42
- package/lib/Antd5/button/IconWrapper.js +0 -17
- package/lib/Antd5/button/LoadingIcon.js +0 -87
- package/lib/Antd5/button/button-group.js +0 -59
- package/lib/Antd5/button/button.js +0 -230
- package/lib/Antd5/button/buttonHelpers.js +0 -68
- package/lib/Antd5/button/index.js +0 -3
- package/lib/Antd5/button/style/compactCmp.js +0 -46
- package/lib/Antd5/button/style/group.js +0 -52
- package/lib/Antd5/button/style/index.js +0 -322
- package/lib/Antd5/button/style/token.js +0 -61
- package/lib/Antd5/calendar/Header.js +0 -176
- package/lib/Antd5/calendar/generateCalendar.js +0 -225
- package/lib/Antd5/calendar/index.js +0 -5
- package/lib/Antd5/calendar/locale/ar_EG.js +0 -2
- package/lib/Antd5/calendar/locale/az_AZ.js +0 -2
- package/lib/Antd5/calendar/locale/bg_BG.js +0 -2
- package/lib/Antd5/calendar/locale/bn_BD.js +0 -2
- package/lib/Antd5/calendar/locale/by_BY.js +0 -2
- package/lib/Antd5/calendar/locale/ca_ES.js +0 -2
- package/lib/Antd5/calendar/locale/cs_CZ.js +0 -2
- package/lib/Antd5/calendar/locale/da_DK.js +0 -2
- package/lib/Antd5/calendar/locale/de_DE.js +0 -2
- package/lib/Antd5/calendar/locale/el_GR.js +0 -2
- package/lib/Antd5/calendar/locale/en_GB.js +0 -2
- package/lib/Antd5/calendar/locale/en_US.js +0 -2
- package/lib/Antd5/calendar/locale/es_ES.js +0 -2
- package/lib/Antd5/calendar/locale/et_EE.js +0 -2
- package/lib/Antd5/calendar/locale/eu_ES.js +0 -2
- package/lib/Antd5/calendar/locale/fa_IR.js +0 -2
- package/lib/Antd5/calendar/locale/fi_FI.js +0 -2
- package/lib/Antd5/calendar/locale/fr_BE.js +0 -2
- package/lib/Antd5/calendar/locale/fr_CA.js +0 -2
- package/lib/Antd5/calendar/locale/fr_FR.js +0 -2
- package/lib/Antd5/calendar/locale/ga_IE.js +0 -2
- package/lib/Antd5/calendar/locale/gl_ES.js +0 -2
- package/lib/Antd5/calendar/locale/he_IL.js +0 -2
- package/lib/Antd5/calendar/locale/hi_IN.js +0 -2
- package/lib/Antd5/calendar/locale/hr_HR.js +0 -2
- package/lib/Antd5/calendar/locale/hu_HU.js +0 -2
- package/lib/Antd5/calendar/locale/id_ID.js +0 -2
- package/lib/Antd5/calendar/locale/is_IS.js +0 -2
- package/lib/Antd5/calendar/locale/it_IT.js +0 -2
- package/lib/Antd5/calendar/locale/ja_JP.js +0 -2
- package/lib/Antd5/calendar/locale/ka_GE.js +0 -2
- package/lib/Antd5/calendar/locale/kk_KZ.js +0 -2
- package/lib/Antd5/calendar/locale/km_KH.js +0 -2
- package/lib/Antd5/calendar/locale/kmr_IQ.js +0 -2
- package/lib/Antd5/calendar/locale/kn_IN.js +0 -2
- package/lib/Antd5/calendar/locale/ko_KR.js +0 -2
- package/lib/Antd5/calendar/locale/lt_LT.js +0 -2
- package/lib/Antd5/calendar/locale/lv_LV.js +0 -2
- package/lib/Antd5/calendar/locale/mk_MK.js +0 -2
- package/lib/Antd5/calendar/locale/ml_IN.js +0 -2
- package/lib/Antd5/calendar/locale/mn_MN.js +0 -2
- package/lib/Antd5/calendar/locale/ms_MY.js +0 -2
- package/lib/Antd5/calendar/locale/my_MM.js +0 -2
- package/lib/Antd5/calendar/locale/nb_NO.js +0 -2
- package/lib/Antd5/calendar/locale/nl_BE.js +0 -2
- package/lib/Antd5/calendar/locale/nl_NL.js +0 -2
- package/lib/Antd5/calendar/locale/pl_PL.js +0 -2
- package/lib/Antd5/calendar/locale/pt_BR.js +0 -2
- package/lib/Antd5/calendar/locale/pt_PT.js +0 -2
- package/lib/Antd5/calendar/locale/ro_RO.js +0 -2
- package/lib/Antd5/calendar/locale/ru_RU.js +0 -2
- package/lib/Antd5/calendar/locale/si_LK.js +0 -2
- package/lib/Antd5/calendar/locale/sk_SK.js +0 -2
- package/lib/Antd5/calendar/locale/sl_SI.js +0 -2
- package/lib/Antd5/calendar/locale/sr_RS.js +0 -2
- package/lib/Antd5/calendar/locale/sv_SE.js +0 -2
- package/lib/Antd5/calendar/locale/ta_IN.js +0 -2
- package/lib/Antd5/calendar/locale/th_TH.js +0 -2
- package/lib/Antd5/calendar/locale/tk_TK.js +0 -2
- package/lib/Antd5/calendar/locale/tr_TR.js +0 -2
- package/lib/Antd5/calendar/locale/uk_UA.js +0 -2
- package/lib/Antd5/calendar/locale/ur_PK.js +0 -2
- package/lib/Antd5/calendar/locale/uz_UZ.js +0 -2
- package/lib/Antd5/calendar/locale/vi_VN.js +0 -2
- package/lib/Antd5/calendar/locale/zh_CN.js +0 -2
- package/lib/Antd5/calendar/locale/zh_TW.js +0 -2
- package/lib/Antd5/calendar/style/index.js +0 -153
- package/lib/Antd5/card/Card.js +0 -201
- package/lib/Antd5/card/Grid.js +0 -28
- package/lib/Antd5/card/Meta.js +0 -46
- package/lib/Antd5/card/index.js +0 -10
- package/lib/Antd5/card/style/index.js +0 -287
- package/lib/Antd5/carousel/index.js +0 -120
- package/lib/Antd5/carousel/style/index.js +0 -310
- package/lib/Antd5/cascader/Panel.js +0 -68
- package/lib/Antd5/cascader/hooks/useBase.js +0 -12
- package/lib/Antd5/cascader/hooks/useCheckable.js +0 -9
- package/lib/Antd5/cascader/hooks/useColumnIcons.js +0 -18
- package/lib/Antd5/cascader/index.js +0 -264
- package/lib/Antd5/cascader/style/columns.js +0 -87
- package/lib/Antd5/cascader/style/index.js +0 -48
- package/lib/Antd5/cascader/style/panel.js +0 -29
- package/lib/Antd5/checkbox/Checkbox.js +0 -125
- package/lib/Antd5/checkbox/Group.js +0 -148
- package/lib/Antd5/checkbox/GroupContext.js +0 -3
- package/lib/Antd5/checkbox/index.js +0 -9
- package/lib/Antd5/checkbox/style/index.js +0 -159
- package/lib/Antd5/col/index.js +0 -2
- package/lib/Antd5/col/style/index.js +0 -3
- package/lib/Antd5/collapse/Collapse.js +0 -121
- package/lib/Antd5/collapse/CollapsePanel.js +0 -33
- package/lib/Antd5/collapse/index.js +0 -2
- package/lib/Antd5/collapse/style/index.js +0 -183
- package/lib/Antd5/color-picker/ColorPicker.js +0 -233
- package/lib/Antd5/color-picker/ColorPickerPanel.js +0 -64
- package/lib/Antd5/color-picker/color.js +0 -67
- package/lib/Antd5/color-picker/components/ColorAlphaInput.js +0 -45
- package/lib/Antd5/color-picker/components/ColorClear.js +0 -22
- package/lib/Antd5/color-picker/components/ColorHexInput.js +0 -47
- package/lib/Antd5/color-picker/components/ColorHsbInput.js +0 -76
- package/lib/Antd5/color-picker/components/ColorInput.js +0 -86
- package/lib/Antd5/color-picker/components/ColorPresets.js +0 -109
- package/lib/Antd5/color-picker/components/ColorRgbInput.js +0 -67
- package/lib/Antd5/color-picker/components/ColorSteppers.js +0 -47
- package/lib/Antd5/color-picker/components/ColorTrigger.js +0 -65
- package/lib/Antd5/color-picker/components/PanelPicker.js +0 -53
- package/lib/Antd5/color-picker/components/PanelPresets.js +0 -18
- package/lib/Antd5/color-picker/context.js +0 -7
- package/lib/Antd5/color-picker/hooks/useColorState.js +0 -53
- package/lib/Antd5/color-picker/index.js +0 -2
- package/lib/Antd5/color-picker/interface.js +0 -6
- package/lib/Antd5/color-picker/style/color-block.js +0 -36
- package/lib/Antd5/color-picker/style/index.js +0 -203
- package/lib/Antd5/color-picker/style/input.js +0 -74
- package/lib/Antd5/color-picker/style/picker.js +0 -64
- package/lib/Antd5/color-picker/style/presets.js +0 -94
- package/lib/Antd5/color-picker/util.js +0 -18
- package/lib/Antd5/config-provider/DisabledContext.js +0 -13
- package/lib/Antd5/config-provider/MotionWrapper.js +0 -26
- package/lib/Antd5/config-provider/PropWarning.js +0 -18
- package/lib/Antd5/config-provider/SizeContext.js +0 -13
- package/lib/Antd5/config-provider/context.js +0 -16
- package/lib/Antd5/config-provider/cssVariables.js +0 -88
- package/lib/Antd5/config-provider/defaultRenderEmpty.js +0 -31
- package/lib/Antd5/config-provider/hooks/useCSSVarCls.js +0 -19
- package/lib/Antd5/config-provider/hooks/useConfig.js +0 -12
- package/lib/Antd5/config-provider/hooks/useSize.js +0 -19
- package/lib/Antd5/config-provider/hooks/useTheme.js +0 -55
- package/lib/Antd5/config-provider/hooks/useThemeKey.js +0 -14
- package/lib/Antd5/config-provider/index.js +0 -432
- package/lib/Antd5/config-provider/style/index.js +0 -2
- package/lib/Antd5/date-picker/PickerButton.js +0 -15
- package/lib/Antd5/date-picker/design/behavior-pattern.js +0 -89
- package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +0 -170
- package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +0 -200
- package/lib/Antd5/date-picker/generatePicker/index.js +0 -26
- package/lib/Antd5/date-picker/generatePicker/interface.js +0 -2
- package/lib/Antd5/date-picker/generatePicker/useComponents.js +0 -15
- package/lib/Antd5/date-picker/index.js +0 -27
- package/lib/Antd5/date-picker/locale/ar_EG.js +0 -23
- package/lib/Antd5/date-picker/locale/az_AZ.js +0 -16
- package/lib/Antd5/date-picker/locale/bg_BG.js +0 -19
- package/lib/Antd5/date-picker/locale/bn_BD.js +0 -26
- package/lib/Antd5/date-picker/locale/by_BY.js +0 -24
- package/lib/Antd5/date-picker/locale/ca_ES.js +0 -19
- package/lib/Antd5/date-picker/locale/cs_CZ.js +0 -19
- package/lib/Antd5/date-picker/locale/da_DK.js +0 -19
- package/lib/Antd5/date-picker/locale/de_DE.js +0 -21
- package/lib/Antd5/date-picker/locale/el_GR.js +0 -19
- package/lib/Antd5/date-picker/locale/en_GB.js +0 -27
- package/lib/Antd5/date-picker/locale/en_US.js +0 -27
- package/lib/Antd5/date-picker/locale/es_ES.js +0 -21
- package/lib/Antd5/date-picker/locale/et_EE.js +0 -19
- package/lib/Antd5/date-picker/locale/eu_ES.js +0 -19
- package/lib/Antd5/date-picker/locale/example.json +0 -55
- package/lib/Antd5/date-picker/locale/fa_IR.js +0 -27
- package/lib/Antd5/date-picker/locale/fi_FI.js +0 -19
- package/lib/Antd5/date-picker/locale/fr_BE.js +0 -26
- package/lib/Antd5/date-picker/locale/fr_CA.js +0 -26
- package/lib/Antd5/date-picker/locale/fr_FR.js +0 -26
- package/lib/Antd5/date-picker/locale/ga_IE.js +0 -26
- package/lib/Antd5/date-picker/locale/gl_ES.js +0 -19
- package/lib/Antd5/date-picker/locale/he_IL.js +0 -19
- package/lib/Antd5/date-picker/locale/hi_IN.js +0 -26
- package/lib/Antd5/date-picker/locale/hr_HR.js +0 -26
- package/lib/Antd5/date-picker/locale/hu_HU.js +0 -19
- package/lib/Antd5/date-picker/locale/id_ID.js +0 -27
- package/lib/Antd5/date-picker/locale/is_IS.js +0 -19
- package/lib/Antd5/date-picker/locale/it_IT.js +0 -19
- package/lib/Antd5/date-picker/locale/ja_JP.js +0 -19
- package/lib/Antd5/date-picker/locale/ka_GE.js +0 -23
- package/lib/Antd5/date-picker/locale/kk_KZ.js +0 -26
- package/lib/Antd5/date-picker/locale/km_KH.js +0 -26
- package/lib/Antd5/date-picker/locale/kmr_IQ.js +0 -19
- package/lib/Antd5/date-picker/locale/kn_IN.js +0 -19
- package/lib/Antd5/date-picker/locale/ko_KR.js +0 -19
- package/lib/Antd5/date-picker/locale/lt_LT.js +0 -27
- package/lib/Antd5/date-picker/locale/lv_LV.js +0 -19
- package/lib/Antd5/date-picker/locale/mk_MK.js +0 -19
- package/lib/Antd5/date-picker/locale/ml_IN.js +0 -26
- package/lib/Antd5/date-picker/locale/mn_MN.js +0 -19
- package/lib/Antd5/date-picker/locale/ms_MY.js +0 -19
- package/lib/Antd5/date-picker/locale/my_MM.js +0 -27
- package/lib/Antd5/date-picker/locale/nb_NO.js +0 -26
- package/lib/Antd5/date-picker/locale/nl_BE.js +0 -26
- package/lib/Antd5/date-picker/locale/nl_NL.js +0 -26
- package/lib/Antd5/date-picker/locale/pl_PL.js +0 -19
- package/lib/Antd5/date-picker/locale/pt_BR.js +0 -19
- package/lib/Antd5/date-picker/locale/pt_PT.js +0 -47
- package/lib/Antd5/date-picker/locale/ro_RO.js +0 -19
- package/lib/Antd5/date-picker/locale/ru_RU.js +0 -29
- package/lib/Antd5/date-picker/locale/si_LK.js +0 -27
- package/lib/Antd5/date-picker/locale/sk_SK.js +0 -19
- package/lib/Antd5/date-picker/locale/sl_SI.js +0 -45
- package/lib/Antd5/date-picker/locale/sr_RS.js +0 -26
- package/lib/Antd5/date-picker/locale/sv_SE.js +0 -26
- package/lib/Antd5/date-picker/locale/ta_IN.js +0 -27
- package/lib/Antd5/date-picker/locale/th_TH.js +0 -26
- package/lib/Antd5/date-picker/locale/tk_TK.js +0 -24
- package/lib/Antd5/date-picker/locale/tr_TR.js +0 -26
- package/lib/Antd5/date-picker/locale/uk_UA.js +0 -19
- package/lib/Antd5/date-picker/locale/ur_PK.js +0 -26
- package/lib/Antd5/date-picker/locale/uz_UZ.js +0 -26
- package/lib/Antd5/date-picker/locale/vi_VN.js +0 -27
- package/lib/Antd5/date-picker/locale/zh_CN.js +0 -29
- package/lib/Antd5/date-picker/locale/zh_TW.js +0 -28
- package/lib/Antd5/date-picker/style/index.js +0 -328
- package/lib/Antd5/date-picker/style/multiple.js +0 -81
- package/lib/Antd5/date-picker/style/panel.js +0 -448
- package/lib/Antd5/date-picker/style/token.js +0 -77
- package/lib/Antd5/date-picker/style/variants.js +0 -28
- package/lib/Antd5/date-picker/util.js +0 -118
- package/lib/Antd5/descriptions/Cell.js +0 -57
- package/lib/Antd5/descriptions/DescriptionsContext.js +0 -3
- package/lib/Antd5/descriptions/Item.js +0 -5
- package/lib/Antd5/descriptions/Row.js +0 -107
- package/lib/Antd5/descriptions/constant.js +0 -9
- package/lib/Antd5/descriptions/hooks/useItems.js +0 -38
- package/lib/Antd5/descriptions/hooks/useRow.js +0 -78
- package/lib/Antd5/descriptions/index.js +0 -119
- package/lib/Antd5/descriptions/style/index.js +0 -146
- package/lib/Antd5/divider/index.js +0 -85
- package/lib/Antd5/divider/style/index.js +0 -136
- package/lib/Antd5/drawer/DrawerPanel.js +0 -107
- package/lib/Antd5/drawer/index.js +0 -206
- package/lib/Antd5/drawer/style/index.js +0 -192
- package/lib/Antd5/drawer/style/motion.js +0 -56
- package/lib/Antd5/dropdown/dropdown-button.js +0 -129
- package/lib/Antd5/dropdown/dropdown.js +0 -255
- package/lib/Antd5/dropdown/index.js +0 -5
- package/lib/Antd5/dropdown/style/index.js +0 -220
- package/lib/Antd5/dropdown/style/status.js +0 -19
- package/lib/Antd5/empty/empty.js +0 -73
- package/lib/Antd5/empty/index.js +0 -83
- package/lib/Antd5/empty/simple.js +0 -61
- package/lib/Antd5/empty/style/index.js +0 -61
- package/lib/Antd5/flex/index.js +0 -67
- package/lib/Antd5/flex/interface.js +0 -1
- package/lib/Antd5/flex/style/index.js +0 -83
- package/lib/Antd5/flex/utils.js +0 -33
- package/lib/Antd5/float-button/BackTop.js +0 -109
- package/lib/Antd5/float-button/FloatButton.js +0 -105
- package/lib/Antd5/float-button/FloatButtonContent.js +0 -31
- package/lib/Antd5/float-button/FloatButtonGroup.js +0 -144
- package/lib/Antd5/float-button/PurePanel.js +0 -49
- package/lib/Antd5/float-button/context.js +0 -5
- package/lib/Antd5/float-button/index.js +0 -8
- package/lib/Antd5/float-button/interface.js +0 -1
- package/lib/Antd5/float-button/style/index.js +0 -294
- package/lib/Antd5/float-button/util.js +0 -9
- package/lib/Antd5/form/ErrorList.js +0 -110
- package/lib/Antd5/form/Form.js +0 -166
- package/lib/Antd5/form/FormItem/ItemHolder.js +0 -128
- package/lib/Antd5/form/FormItem/StatusProvider.js +0 -73
- package/lib/Antd5/form/FormItem/index.js +0 -310
- package/lib/Antd5/form/FormItemInput.js +0 -100
- package/lib/Antd5/form/FormItemLabel.js +0 -120
- package/lib/Antd5/form/FormList.js +0 -49
- package/lib/Antd5/form/context.js +0 -51
- package/lib/Antd5/form/hooks/useChildren.js +0 -8
- package/lib/Antd5/form/hooks/useDebounce.js +0 -22
- package/lib/Antd5/form/hooks/useForm.js +0 -69
- package/lib/Antd5/form/hooks/useFormInstance.js +0 -7
- package/lib/Antd5/form/hooks/useFormItemStatus.js +0 -23
- package/lib/Antd5/form/hooks/useFormWarning.js +0 -16
- package/lib/Antd5/form/hooks/useFrameState.js +0 -46
- package/lib/Antd5/form/hooks/useItemRef.js +0 -20
- package/lib/Antd5/form/hooks/useVariants.js +0 -21
- package/lib/Antd5/form/index.js +0 -19
- package/lib/Antd5/form/interface.js +0 -1
- package/lib/Antd5/form/style/explain.js +0 -37
- package/lib/Antd5/form/style/fallbackCmp.js +0 -26
- package/lib/Antd5/form/style/index.js +0 -318
- package/lib/Antd5/form/util.js +0 -39
- package/lib/Antd5/form/validateMessagesContext.js +0 -5
- package/lib/Antd5/grid/RowContext.js +0 -3
- package/lib/Antd5/grid/col.js +0 -103
- package/lib/Antd5/grid/hooks/useBreakpoint.js +0 -23
- package/lib/Antd5/grid/index.js +0 -11
- package/lib/Antd5/grid/row.js +0 -169
- package/lib/Antd5/grid/style/index.js +0 -153
- package/lib/Antd5/icon/index.js +0 -9
- package/lib/Antd5/image/PreviewGroup.js +0 -84
- package/lib/Antd5/image/index.js +0 -94
- package/lib/Antd5/image/style/index.js +0 -264
- package/lib/Antd5/index.js +0 -72
- package/lib/Antd5/input/Group.js +0 -57
- package/lib/Antd5/input/Input.js +0 -188
- package/lib/Antd5/input/OTP/OTPInput.js +0 -69
- package/lib/Antd5/input/OTP/index.js +0 -210
- package/lib/Antd5/input/Password.js +0 -116
- package/lib/Antd5/input/Search.js +0 -143
- package/lib/Antd5/input/TextArea.js +0 -118
- package/lib/Antd5/input/hooks/useRemovePasswordTimeout.js +0 -26
- package/lib/Antd5/input/index.js +0 -13
- package/lib/Antd5/input/style/index.js +0 -532
- package/lib/Antd5/input/style/otp.js +0 -32
- package/lib/Antd5/input/style/token.js +0 -46
- package/lib/Antd5/input/style/variants.js +0 -213
- package/lib/Antd5/input/utils.js +0 -4
- package/lib/Antd5/input-number/index.js +0 -163
- package/lib/Antd5/input-number/style/index.js +0 -299
- package/lib/Antd5/input-number/style/token.js +0 -24
- package/lib/Antd5/layout/Sider.js +0 -198
- package/lib/Antd5/layout/context.js +0 -11
- package/lib/Antd5/layout/hooks/useHasSider.js +0 -14
- package/lib/Antd5/layout/index.js +0 -9
- package/lib/Antd5/layout/layout.js +0 -143
- package/lib/Antd5/layout/style/index.js +0 -187
- package/lib/Antd5/layout/style/light.js +0 -24
- package/lib/Antd5/list/Item.js +0 -113
- package/lib/Antd5/list/context.js +0 -3
- package/lib/Antd5/list/index.js +0 -246
- package/lib/Antd5/list/style/index.js +0 -249
- package/lib/Antd5/locale/ar_EG.js +0 -114
- package/lib/Antd5/locale/az_AZ.js +0 -97
- package/lib/Antd5/locale/bg_BG.js +0 -95
- package/lib/Antd5/locale/bn_BD.js +0 -127
- package/lib/Antd5/locale/by_BY.js +0 -129
- package/lib/Antd5/locale/ca_ES.js +0 -122
- package/lib/Antd5/locale/context.js +0 -3
- package/lib/Antd5/locale/cs_CZ.js +0 -129
- package/lib/Antd5/locale/da_DK.js +0 -105
- package/lib/Antd5/locale/de_DE.js +0 -133
- package/lib/Antd5/locale/el_GR.js +0 -44
- package/lib/Antd5/locale/en_GB.js +0 -129
- package/lib/Antd5/locale/en_US.js +0 -144
- package/lib/Antd5/locale/es_ES.js +0 -129
- package/lib/Antd5/locale/et_EE.js +0 -129
- package/lib/Antd5/locale/eu_ES.js +0 -141
- package/lib/Antd5/locale/fa_IR.js +0 -138
- package/lib/Antd5/locale/fi_FI.js +0 -54
- package/lib/Antd5/locale/fr_BE.js +0 -126
- package/lib/Antd5/locale/fr_CA.js +0 -126
- package/lib/Antd5/locale/fr_FR.js +0 -131
- package/lib/Antd5/locale/ga_IE.js +0 -120
- package/lib/Antd5/locale/gl_ES.js +0 -108
- package/lib/Antd5/locale/he_IL.js +0 -114
- package/lib/Antd5/locale/hi_IN.js +0 -127
- package/lib/Antd5/locale/hr_HR.js +0 -126
- package/lib/Antd5/locale/hu_HU.js +0 -45
- package/lib/Antd5/locale/hy_AM.js +0 -106
- package/lib/Antd5/locale/id_ID.js +0 -144
- package/lib/Antd5/locale/index.js +0 -40
- package/lib/Antd5/locale/is_IS.js +0 -95
- package/lib/Antd5/locale/it_IT.js +0 -134
- package/lib/Antd5/locale/ja_JP.js +0 -144
- package/lib/Antd5/locale/ka_GE.js +0 -127
- package/lib/Antd5/locale/kk_KZ.js +0 -121
- package/lib/Antd5/locale/km_KH.js +0 -105
- package/lib/Antd5/locale/kmr_IQ.js +0 -44
- package/lib/Antd5/locale/kn_IN.js +0 -51
- package/lib/Antd5/locale/ko_KR.js +0 -141
- package/lib/Antd5/locale/ku_IQ.js +0 -47
- package/lib/Antd5/locale/lt_LT.js +0 -141
- package/lib/Antd5/locale/lv_LV.js +0 -44
- package/lib/Antd5/locale/mk_MK.js +0 -56
- package/lib/Antd5/locale/ml_IN.js +0 -127
- package/lib/Antd5/locale/mn_MN.js +0 -44
- package/lib/Antd5/locale/ms_MY.js +0 -61
- package/lib/Antd5/locale/my_MM.js +0 -136
- package/lib/Antd5/locale/nb_NO.js +0 -121
- package/lib/Antd5/locale/ne_NP.js +0 -44
- package/lib/Antd5/locale/nl_BE.js +0 -127
- package/lib/Antd5/locale/nl_NL.js +0 -127
- package/lib/Antd5/locale/pl_PL.js +0 -134
- package/lib/Antd5/locale/pt_BR.js +0 -134
- package/lib/Antd5/locale/pt_PT.js +0 -129
- package/lib/Antd5/locale/ro_RO.js +0 -127
- package/lib/Antd5/locale/ru_RU.js +0 -138
- package/lib/Antd5/locale/si_LK.js +0 -129
- package/lib/Antd5/locale/sk_SK.js +0 -129
- package/lib/Antd5/locale/sl_SI.js +0 -44
- package/lib/Antd5/locale/sr_RS.js +0 -127
- package/lib/Antd5/locale/sv_SE.js +0 -138
- package/lib/Antd5/locale/ta_IN.js +0 -126
- package/lib/Antd5/locale/th_TH.js +0 -138
- package/lib/Antd5/locale/tk_TK.js +0 -125
- package/lib/Antd5/locale/tr_TR.js +0 -125
- package/lib/Antd5/locale/uk_UA.js +0 -138
- package/lib/Antd5/locale/ur_PK.js +0 -127
- package/lib/Antd5/locale/useLocale.js +0 -28
- package/lib/Antd5/locale/uz_UZ.js +0 -143
- package/lib/Antd5/locale/vi_VN.js +0 -137
- package/lib/Antd5/locale/zh_CN.js +0 -145
- package/lib/Antd5/locale/zh_HK.js +0 -138
- package/lib/Antd5/locale/zh_TW.js +0 -139
- package/lib/Antd5/mentions/index.js +0 -198
- package/lib/Antd5/mentions/style/index.js +0 -205
- package/lib/Antd5/menu/MenuContext.js +0 -7
- package/lib/Antd5/menu/MenuDivider.js +0 -28
- package/lib/Antd5/menu/MenuItem.js +0 -82
- package/lib/Antd5/menu/OverrideContext.js +0 -39
- package/lib/Antd5/menu/SubMenu.js +0 -74
- package/lib/Antd5/menu/index.js +0 -39
- package/lib/Antd5/menu/interface.js +0 -1
- package/lib/Antd5/menu/menu.js +0 -174
- package/lib/Antd5/menu/style/horizontal.js +0 -38
- package/lib/Antd5/menu/style/index.js +0 -441
- package/lib/Antd5/menu/style/rtl.js +0 -23
- package/lib/Antd5/menu/style/theme.js +0 -158
- package/lib/Antd5/menu/style/vertical.js +0 -131
- package/lib/Antd5/message/PurePanel.js +0 -77
- package/lib/Antd5/message/index.js +0 -281
- package/lib/Antd5/message/interface.js +0 -1
- package/lib/Antd5/message/style/index.js +0 -128
- package/lib/Antd5/message/useMessage.js +0 -235
- package/lib/Antd5/message/util.js +0 -23
- package/lib/Antd5/modal/ConfirmDialog.js +0 -228
- package/lib/Antd5/modal/Modal.js +0 -162
- package/lib/Antd5/modal/PurePanel.js +0 -78
- package/lib/Antd5/modal/components/ConfirmCancelBtn.js +0 -32
- package/lib/Antd5/modal/components/ConfirmOkBtn.js +0 -33
- package/lib/Antd5/modal/components/NormalCancelBtn.js +0 -22
- package/lib/Antd5/modal/components/NormalOkBtn.js +0 -26
- package/lib/Antd5/modal/confirm.js +0 -169
- package/lib/Antd5/modal/context.js +0 -4
- package/lib/Antd5/modal/destroyFns.js +0 -2
- package/lib/Antd5/modal/index.js +0 -38
- package/lib/Antd5/modal/interface.js +0 -1
- package/lib/Antd5/modal/locale.js +0 -31
- package/lib/Antd5/modal/shared.js +0 -81
- package/lib/Antd5/modal/style/confirm.js +0 -83
- package/lib/Antd5/modal/style/index.js +0 -221
- package/lib/Antd5/modal/useModal/HookModal.js +0 -87
- package/lib/Antd5/modal/useModal/index.js +0 -128
- package/lib/Antd5/notification/PurePanel.js +0 -134
- package/lib/Antd5/notification/index.js +0 -215
- package/lib/Antd5/notification/interface.js +0 -1
- package/lib/Antd5/notification/style/index.js +0 -184
- package/lib/Antd5/notification/style/placement.js +0 -77
- package/lib/Antd5/notification/style/pure-panel.js +0 -18
- package/lib/Antd5/notification/style/stack.js +0 -81
- package/lib/Antd5/notification/useNotification.js +0 -201
- package/lib/Antd5/notification/util.js +0 -57
- package/lib/Antd5/pagination/Pagination.js +0 -135
- package/lib/Antd5/pagination/Select.js +0 -24
- package/lib/Antd5/pagination/design/behavior-pattern.js +0 -32
- package/lib/Antd5/pagination/index.js +0 -2
- package/lib/Antd5/pagination/style/bordered.js +0 -68
- package/lib/Antd5/pagination/style/index.js +0 -411
- package/lib/Antd5/popconfirm/PurePanel.js +0 -114
- package/lib/Antd5/popconfirm/index.js +0 -109
- package/lib/Antd5/popconfirm/style/index.js +0 -61
- package/lib/Antd5/popover/PurePanel.js +0 -77
- package/lib/Antd5/popover/index.js +0 -126
- package/lib/Antd5/popover/style/index.js +0 -137
- package/lib/Antd5/progress/Circle.js +0 -95
- package/lib/Antd5/progress/Line.js +0 -149
- package/lib/Antd5/progress/Steps.js +0 -55
- package/lib/Antd5/progress/design/behavior-pattern.js +0 -31
- package/lib/Antd5/progress/index.js +0 -2
- package/lib/Antd5/progress/progress.js +0 -144
- package/lib/Antd5/progress/style/index.js +0 -201
- package/lib/Antd5/progress/utils.js +0 -97
- package/lib/Antd5/qr-code/index.js +0 -125
- package/lib/Antd5/qr-code/interface.js +0 -1
- package/lib/Antd5/qr-code/style/index.js +0 -66
- package/lib/Antd5/qrcode/index.js +0 -4
- package/lib/Antd5/qrcode/interface.js +0 -3
- package/lib/Antd5/qrcode/style/index.js +0 -3
- package/lib/Antd5/radio/context.js +0 -6
- package/lib/Antd5/radio/group.js +0 -131
- package/lib/Antd5/radio/index.js +0 -9
- package/lib/Antd5/radio/interface.js +0 -1
- package/lib/Antd5/radio/radio.js +0 -137
- package/lib/Antd5/radio/radioButton.js +0 -31
- package/lib/Antd5/radio/style/index.js +0 -533
- package/lib/Antd5/rate/index.js +0 -69
- package/lib/Antd5/rate/style/index.js +0 -88
- package/lib/Antd5/result/index.js +0 -128
- package/lib/Antd5/result/noFound.js +0 -243
- package/lib/Antd5/result/serverError.js +0 -283
- package/lib/Antd5/result/style/index.js +0 -101
- package/lib/Antd5/result/unauthorized.js +0 -230
- package/lib/Antd5/row/index.js +0 -2
- package/lib/Antd5/row/style/index.js +0 -3
- package/lib/Antd5/segmented/index.js +0 -87
- package/lib/Antd5/segmented/style/index.js +0 -162
- package/lib/Antd5/select/index.js +0 -222
- package/lib/Antd5/select/mergedBuiltinPlacements.js +0 -40
- package/lib/Antd5/select/style/dropdown.js +0 -109
- package/lib/Antd5/select/style/index.js +0 -183
- package/lib/Antd5/select/style/multiple.js +0 -217
- package/lib/Antd5/select/style/single.js +0 -101
- package/lib/Antd5/select/style/token.js +0 -53
- package/lib/Antd5/select/style/variants.js +0 -126
- package/lib/Antd5/select/useIcons.js +0 -82
- package/lib/Antd5/select/useShowArrow.js +0 -9
- package/lib/Antd5/skeleton/Avatar.js +0 -48
- package/lib/Antd5/skeleton/Button.js +0 -47
- package/lib/Antd5/skeleton/Element.js +0 -30
- package/lib/Antd5/skeleton/Image.js +0 -49
- package/lib/Antd5/skeleton/Input.js +0 -46
- package/lib/Antd5/skeleton/Node.js +0 -43
- package/lib/Antd5/skeleton/Paragraph.js +0 -44
- package/lib/Antd5/skeleton/Skeleton.js +0 -153
- package/lib/Antd5/skeleton/Title.js +0 -23
- package/lib/Antd5/skeleton/index.js +0 -2
- package/lib/Antd5/skeleton/style/index.js +0 -247
- package/lib/Antd5/slider/SliderTooltip.js +0 -43
- package/lib/Antd5/slider/index.js +0 -236
- package/lib/Antd5/slider/style/index.js +0 -246
- package/lib/Antd5/slider/useRafLock.js +0 -32
- package/lib/Antd5/space/Compact.js +0 -103
- package/lib/Antd5/space/Item.js +0 -26
- package/lib/Antd5/space/context.js +0 -5
- package/lib/Antd5/space/index.js +0 -120
- package/lib/Antd5/space/style/compact.js +0 -18
- package/lib/Antd5/space/style/index.js +0 -79
- package/lib/Antd5/spin/index.js +0 -149
- package/lib/Antd5/spin/style/index.js +0 -206
- package/lib/Antd5/statistic/Countdown.js +0 -73
- package/lib/Antd5/statistic/Number.js +0 -47
- package/lib/Antd5/statistic/Statistic.js +0 -99
- package/lib/Antd5/statistic/index.js +0 -4
- package/lib/Antd5/statistic/interface.js +0 -1
- package/lib/Antd5/statistic/style/index.js +0 -51
- package/lib/Antd5/statistic/utils.js +0 -57
- package/lib/Antd5/steps/index.js +0 -120
- package/lib/Antd5/steps/style/custom-icon.js +0 -26
- package/lib/Antd5/steps/style/horizontal.js +0 -12
- package/lib/Antd5/steps/style/index.js +0 -249
- package/lib/Antd5/steps/style/inline.js +0 -95
- package/lib/Antd5/steps/style/label-placement.js +0 -46
- package/lib/Antd5/steps/style/nav.js +0 -109
- package/lib/Antd5/steps/style/progress-dot.js +0 -100
- package/lib/Antd5/steps/style/progress.js +0 -52
- package/lib/Antd5/steps/style/rtl.js +0 -25
- package/lib/Antd5/steps/style/small.js +0 -53
- package/lib/Antd5/steps/style/vertical.js +0 -55
- package/lib/Antd5/steps/useLegacyItems.js +0 -32
- package/lib/Antd5/style/compact-item-vertical.js +0 -33
- package/lib/Antd5/style/compact-item.js +0 -47
- package/lib/Antd5/style/index.js +0 -126
- package/lib/Antd5/style/motion/collapse.js +0 -16
- package/lib/Antd5/style/motion/fade.js +0 -34
- package/lib/Antd5/style/motion/index.js +0 -6
- package/lib/Antd5/style/motion/motion.js +0 -35
- package/lib/Antd5/style/motion/move.js +0 -133
- package/lib/Antd5/style/motion/slide.js +0 -137
- package/lib/Antd5/style/motion/zoom.js +0 -179
- package/lib/Antd5/style/operationUnit.js +0 -18
- package/lib/Antd5/style/placementArrow.js +0 -120
- package/lib/Antd5/style/reset.css +0 -253
- package/lib/Antd5/style/roundedArrow.js +0 -72
- package/lib/Antd5/switch/index.js +0 -97
- package/lib/Antd5/switch/style/index.js +0 -245
- package/lib/Antd5/table/Column.js +0 -7
- package/lib/Antd5/table/ColumnGroup.js +0 -7
- package/lib/Antd5/table/ExpandIcon.js +0 -28
- package/lib/Antd5/table/InternalTable.js +0 -451
- package/lib/Antd5/table/RcTable/VirtualTable.js +0 -9
- package/lib/Antd5/table/RcTable/index.js +0 -9
- package/lib/Antd5/table/Table.js +0 -34
- package/lib/Antd5/table/hooks/useContainerWidth.js +0 -14
- package/lib/Antd5/table/hooks/useFilter/FilterDropdown.js +0 -497
- package/lib/Antd5/table/hooks/useFilter/FilterSearch.js +0 -27
- package/lib/Antd5/table/hooks/useFilter/FilterWrapper.js +0 -24
- package/lib/Antd5/table/hooks/useFilter/index.js +0 -234
- package/lib/Antd5/table/hooks/useLazyKVMap.js +0 -30
- package/lib/Antd5/table/hooks/usePagination.js +0 -78
- package/lib/Antd5/table/hooks/useSelection.js +0 -578
- package/lib/Antd5/table/hooks/useSorter.js +0 -362
- package/lib/Antd5/table/hooks/useTitleColumns.js +0 -24
- package/lib/Antd5/table/index.js +0 -2
- package/lib/Antd5/table/interface.js +0 -3
- package/lib/Antd5/table/style/bordered.js +0 -68
- package/lib/Antd5/table/style/ellipsis.js +0 -24
- package/lib/Antd5/table/style/empty.js +0 -15
- package/lib/Antd5/table/style/expand.js +0 -106
- package/lib/Antd5/table/style/filter.js +0 -127
- package/lib/Antd5/table/style/fixed.js +0 -82
- package/lib/Antd5/table/style/index.js +0 -273
- package/lib/Antd5/table/style/pagination.js +0 -30
- package/lib/Antd5/table/style/radius.js +0 -35
- package/lib/Antd5/table/style/rtl.js +0 -40
- package/lib/Antd5/table/style/selection.js +0 -67
- package/lib/Antd5/table/style/size.js +0 -30
- package/lib/Antd5/table/style/sorter.js +0 -75
- package/lib/Antd5/table/style/sticky.js +0 -53
- package/lib/Antd5/table/style/summary.js +0 -25
- package/lib/Antd5/table/style/virtual.js +0 -49
- package/lib/Antd5/table/util.js +0 -31
- package/lib/Antd5/tabs/TabPane.js +0 -7
- package/lib/Antd5/tabs/hooks/useAnimateConfig.js +0 -40
- package/lib/Antd5/tabs/hooks/useLegacyItems.js +0 -43
- package/lib/Antd5/tabs/index.js +0 -115
- package/lib/Antd5/tabs/style/index.js +0 -633
- package/lib/Antd5/tabs/style/motion.js +0 -36
- package/lib/Antd5/tag/CheckableTag.js +0 -51
- package/lib/Antd5/tag/index.js +0 -133
- package/lib/Antd5/tag/style/index.js +0 -104
- package/lib/Antd5/tag/style/presetCmp.js +0 -34
- package/lib/Antd5/tag/style/statusCmp.js +0 -22
- package/lib/Antd5/theme/context.js +0 -15
- package/lib/Antd5/theme/getDesignToken.js +0 -18
- package/lib/Antd5/theme/index.js +0 -39
- package/lib/Antd5/theme/interface/alias.js +0 -1
- package/lib/Antd5/theme/interface/components.js +0 -1
- package/lib/Antd5/theme/interface/index.js +0 -1
- package/lib/Antd5/theme/interface/maps/colors.js +0 -1
- package/lib/Antd5/theme/interface/maps/font.js +0 -1
- package/lib/Antd5/theme/interface/maps/index.js +0 -4
- package/lib/Antd5/theme/interface/maps/size.js +0 -1
- package/lib/Antd5/theme/interface/maps/style.js +0 -1
- package/lib/Antd5/theme/interface/presetColors.js +0 -1
- package/lib/Antd5/theme/interface/seeds.js +0 -1
- package/lib/Antd5/theme/internal.js +0 -13
- package/lib/Antd5/theme/themes/ColorMap.js +0 -1
- package/lib/Antd5/theme/themes/compact/genCompactSizeMapToken.js +0 -16
- package/lib/Antd5/theme/themes/compact/index.js +0 -22
- package/lib/Antd5/theme/themes/dark/colorAlgorithm.js +0 -8
- package/lib/Antd5/theme/themes/dark/colors.js +0 -45
- package/lib/Antd5/theme/themes/dark/index.js +0 -32
- package/lib/Antd5/theme/themes/default/colorAlgorithm.js +0 -8
- package/lib/Antd5/theme/themes/default/colors.js +0 -43
- package/lib/Antd5/theme/themes/default/index.js +0 -31
- package/lib/Antd5/theme/themes/seed.js +0 -68
- package/lib/Antd5/theme/themes/shared/genColorMapToken.js +0 -85
- package/lib/Antd5/theme/themes/shared/genCommonMapToken.js +0 -21
- package/lib/Antd5/theme/themes/shared/genControlHeight.js +0 -9
- package/lib/Antd5/theme/themes/shared/genFontMapToken.js +0 -39
- package/lib/Antd5/theme/themes/shared/genFontSizes.js +0 -20
- package/lib/Antd5/theme/themes/shared/genRadius.js +0 -46
- package/lib/Antd5/theme/themes/shared/genSizeMapToken.js +0 -23
- package/lib/Antd5/theme/useToken.js +0 -129
- package/lib/Antd5/theme/util/alias.js +0 -143
- package/lib/Antd5/theme/util/calc/CSSCalculator.js +0 -119
- package/lib/Antd5/theme/util/calc/NumCalculator.js +0 -81
- package/lib/Antd5/theme/util/calc/calculator.js +0 -10
- package/lib/Antd5/theme/util/calc/index.js +0 -9
- package/lib/Antd5/theme/util/genComponentStyleHook.js +0 -243
- package/lib/Antd5/theme/util/genPresetColor.js +0 -21
- package/lib/Antd5/theme/util/getAlphaColor.js +0 -40
- package/lib/Antd5/theme/util/maxmin.js +0 -27
- package/lib/Antd5/theme/util/statistic.js +0 -74
- package/lib/Antd5/theme/util/useResetIconStyle.js +0 -39
- package/lib/Antd5/time-picker/index.js +0 -56
- package/lib/Antd5/time-picker/locale/ar_EG.js +0 -4
- package/lib/Antd5/time-picker/locale/az_AZ.js +0 -4
- package/lib/Antd5/time-picker/locale/bg_BG.js +0 -4
- package/lib/Antd5/time-picker/locale/bn_BD.js +0 -5
- package/lib/Antd5/time-picker/locale/by_BY.js +0 -5
- package/lib/Antd5/time-picker/locale/ca_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/cs_CZ.js +0 -4
- package/lib/Antd5/time-picker/locale/da_DK.js +0 -5
- package/lib/Antd5/time-picker/locale/de_DE.js +0 -5
- package/lib/Antd5/time-picker/locale/el_GR.js +0 -4
- package/lib/Antd5/time-picker/locale/en_GB.js +0 -4
- package/lib/Antd5/time-picker/locale/en_US.js +0 -5
- package/lib/Antd5/time-picker/locale/es_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/et_EE.js +0 -4
- package/lib/Antd5/time-picker/locale/eu_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/fa_IR.js +0 -5
- package/lib/Antd5/time-picker/locale/fi_FI.js +0 -4
- package/lib/Antd5/time-picker/locale/fr_BE.js +0 -5
- package/lib/Antd5/time-picker/locale/fr_CA.js +0 -5
- package/lib/Antd5/time-picker/locale/fr_FR.js +0 -5
- package/lib/Antd5/time-picker/locale/ga_IE.js +0 -5
- package/lib/Antd5/time-picker/locale/gl_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/he_IL.js +0 -4
- package/lib/Antd5/time-picker/locale/hi_IN.js +0 -5
- package/lib/Antd5/time-picker/locale/hr_HR.js +0 -5
- package/lib/Antd5/time-picker/locale/hu_HU.js +0 -4
- package/lib/Antd5/time-picker/locale/id_ID.js +0 -5
- package/lib/Antd5/time-picker/locale/is_IS.js +0 -4
- package/lib/Antd5/time-picker/locale/it_IT.js +0 -4
- package/lib/Antd5/time-picker/locale/ja_JP.js +0 -5
- package/lib/Antd5/time-picker/locale/ka_GE.js +0 -5
- package/lib/Antd5/time-picker/locale/kk_KZ.js +0 -5
- package/lib/Antd5/time-picker/locale/km_KH.js +0 -5
- package/lib/Antd5/time-picker/locale/kmr_IQ.js +0 -4
- package/lib/Antd5/time-picker/locale/kn_IN.js +0 -4
- package/lib/Antd5/time-picker/locale/ko_KR.js +0 -5
- package/lib/Antd5/time-picker/locale/lt_LT.js +0 -5
- package/lib/Antd5/time-picker/locale/lv_LV.js +0 -4
- package/lib/Antd5/time-picker/locale/mk_MK.js +0 -4
- package/lib/Antd5/time-picker/locale/ml_IN.js +0 -5
- package/lib/Antd5/time-picker/locale/mn_MN.js +0 -4
- package/lib/Antd5/time-picker/locale/ms_MY.js +0 -4
- package/lib/Antd5/time-picker/locale/my_MM.js +0 -5
- package/lib/Antd5/time-picker/locale/nb_NO.js +0 -5
- package/lib/Antd5/time-picker/locale/nl_BE.js +0 -5
- package/lib/Antd5/time-picker/locale/nl_NL.js +0 -5
- package/lib/Antd5/time-picker/locale/pl_PL.js +0 -4
- package/lib/Antd5/time-picker/locale/pt_BR.js +0 -4
- package/lib/Antd5/time-picker/locale/pt_PT.js +0 -4
- package/lib/Antd5/time-picker/locale/ro_RO.js +0 -4
- package/lib/Antd5/time-picker/locale/ru_RU.js +0 -5
- package/lib/Antd5/time-picker/locale/si_LK.js +0 -5
- package/lib/Antd5/time-picker/locale/sk_SK.js +0 -4
- package/lib/Antd5/time-picker/locale/sl_SI.js +0 -4
- package/lib/Antd5/time-picker/locale/sr_RS.js +0 -5
- package/lib/Antd5/time-picker/locale/sv_SE.js +0 -4
- package/lib/Antd5/time-picker/locale/ta_IN.js +0 -4
- package/lib/Antd5/time-picker/locale/th_TH.js +0 -4
- package/lib/Antd5/time-picker/locale/tk_TK.js +0 -5
- package/lib/Antd5/time-picker/locale/tr_TR.js +0 -5
- package/lib/Antd5/time-picker/locale/uk_UA.js +0 -4
- package/lib/Antd5/time-picker/locale/ur_PK.js +0 -5
- package/lib/Antd5/time-picker/locale/uz_UZ.js +0 -5
- package/lib/Antd5/time-picker/locale/vi_VN.js +0 -5
- package/lib/Antd5/time-picker/locale/zh_CN.js +0 -5
- package/lib/Antd5/time-picker/locale/zh_TW.js +0 -4
- package/lib/Antd5/timeline/Timeline.js +0 -65
- package/lib/Antd5/timeline/TimelineItem.js +0 -52
- package/lib/Antd5/timeline/TimelineItemList.js +0 -87
- package/lib/Antd5/timeline/index.js +0 -2
- package/lib/Antd5/timeline/style/index.js +0 -157
- package/lib/Antd5/timeline/useItems.js +0 -19
- package/lib/Antd5/tooltip/PurePanel.js +0 -55
- package/lib/Antd5/tooltip/index.js +0 -211
- package/lib/Antd5/tooltip/style/index.js +0 -104
- package/lib/Antd5/tooltip/util.js +0 -23
- package/lib/Antd5/tour/PurePanel.js +0 -78
- package/lib/Antd5/tour/index.js +0 -99
- package/lib/Antd5/tour/interface.js +0 -1
- package/lib/Antd5/tour/panelRender.js +0 -143
- package/lib/Antd5/tour/style/index.js +0 -187
- package/lib/Antd5/transfer/ListBody.js +0 -123
- package/lib/Antd5/transfer/ListItem.js +0 -72
- package/lib/Antd5/transfer/hooks/useData.js +0 -46
- package/lib/Antd5/transfer/hooks/useSelection.js +0 -59
- package/lib/Antd5/transfer/index.js +0 -361
- package/lib/Antd5/transfer/interface.js +0 -1
- package/lib/Antd5/transfer/list.js +0 -316
- package/lib/Antd5/transfer/operation.js +0 -43
- package/lib/Antd5/transfer/search.js +0 -32
- package/lib/Antd5/transfer/style/index.js +0 -264
- package/lib/Antd5/tree/DirectoryTree.js +0 -173
- package/lib/Antd5/tree/Tree.js +0 -123
- package/lib/Antd5/tree/index.js +0 -7
- package/lib/Antd5/tree/style/index.js +0 -348
- package/lib/Antd5/tree/utils/dictUtil.js +0 -74
- package/lib/Antd5/tree/utils/dropIndicator.js +0 -35
- package/lib/Antd5/tree/utils/iconUtil.js +0 -69
- package/lib/Antd5/tree-select/index.js +0 -228
- package/lib/Antd5/tree-select/style/index.js +0 -51
- package/lib/Antd5/typography/Base/CopyBtn.js +0 -43
- package/lib/Antd5/typography/Base/Ellipsis.js +0 -245
- package/lib/Antd5/typography/Base/EllipsisTooltip.js +0 -27
- package/lib/Antd5/typography/Base/index.js +0 -444
- package/lib/Antd5/typography/Base/util.js +0 -12
- package/lib/Antd5/typography/Editable.js +0 -119
- package/lib/Antd5/typography/Link.js +0 -33
- package/lib/Antd5/typography/Paragraph.js +0 -17
- package/lib/Antd5/typography/Text.js +0 -35
- package/lib/Antd5/typography/Title.js +0 -35
- package/lib/Antd5/typography/Typography.js +0 -70
- package/lib/Antd5/typography/hooks/useCopyClick.js +0 -95
- package/lib/Antd5/typography/hooks/useMergedConfig.js +0 -13
- package/lib/Antd5/typography/hooks/usePrevious.js +0 -9
- package/lib/Antd5/typography/hooks/useUpdatedEffect.js +0 -13
- package/lib/Antd5/typography/index.js +0 -11
- package/lib/Antd5/typography/style/index.js +0 -58
- package/lib/Antd5/typography/style/mixins.js +0 -216
- package/lib/Antd5/upload/Dragger.js +0 -32
- package/lib/Antd5/upload/Upload.js +0 -458
- package/lib/Antd5/upload/UploadList/ListItem.js +0 -197
- package/lib/Antd5/upload/UploadList/index.js +0 -250
- package/lib/Antd5/upload/index.js +0 -6
- package/lib/Antd5/upload/interface.js +0 -1
- package/lib/Antd5/upload/style/dragger.js +0 -51
- package/lib/Antd5/upload/style/index.js +0 -48
- package/lib/Antd5/upload/style/list.js +0 -86
- package/lib/Antd5/upload/style/motion.js +0 -39
- package/lib/Antd5/upload/style/picture.js +0 -175
- package/lib/Antd5/upload/style/rtl.js +0 -12
- package/lib/Antd5/upload/utils.js +0 -140
- package/lib/Antd5/version/index.js +0 -4
- package/lib/Antd5/version/token-meta.json +0 -1
- package/lib/Antd5/version/token.json +0 -1
- package/lib/Antd5/version/version.js +0 -1
- package/lib/Antd5/watermark/context.js +0 -22
- package/lib/Antd5/watermark/index.js +0 -253
- package/lib/Antd5/watermark/useClips.js +0 -118
- package/lib/Antd5/watermark/useRafDebounce.js +0 -21
- package/lib/Antd5/watermark/useWatermark.js +0 -61
- package/lib/Antd5/watermark/utils.js +0 -28
- package/lib/App/index.js +0 -2
- package/lib/AutoComplete/index.js +0 -2
- package/lib/Avatar/index.js +0 -2
- package/lib/BackTop/index.js +0 -2
- package/lib/Badge/index.js +0 -48
- package/lib/Badge/index.style.js +0 -65
- package/lib/BasicLayout/Breadcrumb.js +0 -78
- package/lib/BasicLayout/Nav.js +0 -37
- package/lib/BasicLayout/Sider.js +0 -159
- package/lib/BasicLayout/index.js +0 -396
- package/lib/BasicLayout/locale/en_US.js +0 -4
- package/lib/BasicLayout/locale/index.js +0 -11
- package/lib/BasicLayout/locale/zh_CN.js +0 -4
- package/lib/BasicLayout/locale/zh_TW.js +0 -4
- package/lib/BasicLayout/style/index.js +0 -101
- package/lib/BasicLayout/style/sider.js +0 -73
- package/lib/BasicLayout/utils.js +0 -7
- package/lib/Breadcrumb/index.js +0 -2
- package/lib/Button/index.js +0 -53
- package/lib/Button/index.style.js +0 -41
- package/lib/CWCascader/Cascader/index.js +0 -281
- package/lib/CWCascader/Cascader/utils/iconUtil.js +0 -81
- package/lib/CWCascader/Cascader/utils/motion.js +0 -13
- package/lib/CWCascader/index.js +0 -73
- package/lib/CWCascader/index.style.js +0 -42
- package/lib/CWCascader/rc-cascader/Cascader.js +0 -353
- package/lib/CWCascader/rc-cascader/OptionList/Checkbox.js +0 -21
- package/lib/CWCascader/rc-cascader/OptionList/Column.js +0 -274
- package/lib/CWCascader/rc-cascader/OptionList/index.js +0 -220
- package/lib/CWCascader/rc-cascader/OptionList/useActive.js +0 -33
- package/lib/CWCascader/rc-cascader/OptionList/useKeyboard.js +0 -172
- package/lib/CWCascader/rc-cascader/context.js +0 -3
- package/lib/CWCascader/rc-cascader/hooks/useDisplayValues.js +0 -85
- package/lib/CWCascader/rc-cascader/hooks/useEntities.js +0 -40
- package/lib/CWCascader/rc-cascader/hooks/useMissingValues.js +0 -19
- package/lib/CWCascader/rc-cascader/hooks/useRefFunc.js +0 -13
- package/lib/CWCascader/rc-cascader/hooks/useSearchConfig.js +0 -30
- package/lib/CWCascader/rc-cascader/hooks/useSearchOptions.js +0 -73
- package/lib/CWCascader/rc-cascader/index.js +0 -2
- package/lib/CWCascader/rc-cascader/utils/commonUtil.js +0 -54
- package/lib/CWCascader/rc-cascader/utils/treeUtil.js +0 -81
- package/lib/CWCascader/rc-cascader/utils/warningPropsUtil.js +0 -30
- package/lib/CWColorPicker/SketchPicker/components/common/Alpha.js +0 -132
- package/lib/CWColorPicker/SketchPicker/components/common/Checkboard.js +0 -40
- package/lib/CWColorPicker/SketchPicker/components/common/ColorWrap.js +0 -79
- package/lib/CWColorPicker/SketchPicker/components/common/EditableInput.js +0 -171
- package/lib/CWColorPicker/SketchPicker/components/common/Hue.js +0 -117
- package/lib/CWColorPicker/SketchPicker/components/common/Raised.js +0 -91
- package/lib/CWColorPicker/SketchPicker/components/common/Saturation.js +0 -138
- package/lib/CWColorPicker/SketchPicker/components/common/Swatch.js +0 -62
- package/lib/CWColorPicker/SketchPicker/components/common/index.js +0 -8
- package/lib/CWColorPicker/SketchPicker/components/sketch/SketchFields.js +0 -148
- package/lib/CWColorPicker/SketchPicker/components/sketch/SketchPresetColors.js +0 -72
- package/lib/CWColorPicker/SketchPicker/components/sketch/index.js +0 -160
- package/lib/CWColorPicker/SketchPicker/helpers/alpha.js +0 -46
- package/lib/CWColorPicker/SketchPicker/helpers/checkboard.js +0 -29
- package/lib/CWColorPicker/SketchPicker/helpers/color.js +0 -86
- package/lib/CWColorPicker/SketchPicker/helpers/hue.js +0 -48
- package/lib/CWColorPicker/SketchPicker/helpers/index.js +0 -2
- package/lib/CWColorPicker/SketchPicker/helpers/interaction.js +0 -54
- package/lib/CWColorPicker/SketchPicker/helpers/saturation.js +0 -28
- package/lib/CWColorPicker/index.js +0 -296
- package/lib/CWColorPicker/index.style.js +0 -81
- package/lib/CWColorPicker/utils.js +0 -15
- package/lib/CWMessage/CommonIcon.js +0 -20
- package/lib/CWMessage/MessageContent/TabList/index.js +0 -113
- package/lib/CWMessage/MessageContent/index.js +0 -268
- package/lib/CWMessage/index.js +0 -447
- package/lib/CWMessage/index.style.js +0 -132
- package/lib/CWMessage/message.svg +0 -14
- package/lib/CWMessage/service/index.js +0 -35
- package/lib/CWMessage/utils/index.js +0 -33
- package/lib/CWRadioTabs/index.js +0 -150
- package/lib/CWRadioTabs/index.style.js +0 -33
- package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.js +0 -37
- package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.js +0 -46
- package/lib/CWRangePicker/DropdownMenu/index.js +0 -240
- package/lib/CWRangePicker/DropdownMenu/index.style.js +0 -159
- package/lib/CWRangePicker/Refresh/index.js +0 -161
- package/lib/CWRangePicker/Refresh/index.style.js +0 -37
- package/lib/CWRangePicker/TimeSpan/index.js +0 -96
- package/lib/CWRangePicker/TimeSpan/index.style.js +0 -25
- package/lib/CWRangePicker/assets/Calendar.js +0 -15
- package/lib/CWRangePicker/assets/Calendar2.js +0 -15
- package/lib/CWRangePicker/assets/Recover.js +0 -18
- package/lib/CWRangePicker/assets/Refresh1.js +0 -14
- package/lib/CWRangePicker/assets/Refresh2.js +0 -14
- package/lib/CWRangePicker/assets/Refresh3.js +0 -14
- package/lib/CWRangePicker/assets/live.js +0 -19
- package/lib/CWRangePicker/assets/more.js +0 -23
- package/lib/CWRangePicker/index.js +0 -742
- package/lib/CWRangePicker/index.style.js +0 -78
- package/lib/CWRangePicker/locale/en_US.js +0 -29
- package/lib/CWRangePicker/locale/index.js +0 -11
- package/lib/CWRangePicker/locale/zh_CN.js +0 -29
- package/lib/CWRangePicker/locale/zh_TW.js +0 -29
- package/lib/CWRangePicker/utils/index.js +0 -706
- package/lib/CWSelect/index.js +0 -2
- package/lib/CWTable/CWTable.js +0 -605
- package/lib/CWTable/header.js +0 -55
- package/lib/CWTable/index.js +0 -217
- package/lib/CWTable/index.style.js +0 -96
- package/lib/CWTree/assets/Drag.js +0 -23
- package/lib/CWTree/index.js +0 -399
- package/lib/CWTree/index.style.js +0 -127
- package/lib/CWTree/locale/en_US.js +0 -3
- package/lib/CWTree/locale/index.js +0 -11
- package/lib/CWTree/locale/zh_CN.js +0 -3
- package/lib/CWTree/locale/zh_TW.js +0 -3
- package/lib/CWTree/utils/index.js +0 -99
- package/lib/Calendar/index.js +0 -2
- package/lib/Card/index.js +0 -2
- package/lib/CardSelect/index.js +0 -153
- package/lib/CardSelect/index.style.js +0 -76
- package/lib/Carousel/index.js +0 -2
- package/lib/Cascader/index.js +0 -2
- package/lib/ChangeIcon/index.js +0 -153
- package/lib/ChangeIcon/index.style.js +0 -89
- package/lib/Checkbox/index.js +0 -2
- package/lib/CitySelect/citys.js +0 -1457
- package/lib/CitySelect/index.js +0 -128
- package/lib/Col/index.js +0 -2
- package/lib/Collapse/index.js +0 -85
- package/lib/Collapse/index.style.js +0 -120
- package/lib/ColorPicker/index.js +0 -2
- package/lib/ConfigProvider/ConfigProvider.js +0 -92
- package/lib/ConfigProvider/Switch.js +0 -43
- package/lib/ConfigProvider/customTheme.js +0 -267
- package/lib/ConfigProvider/customTheme.json +0 -163
- package/lib/ConfigProvider/customToken.js +0 -41
- package/lib/ConfigProvider/index.js +0 -6
- package/lib/ConfigProvider/intlContext.js +0 -8
- package/lib/ConfigProvider/useLocale.js +0 -15
- package/lib/CustomScrollBar/index.js +0 -150
- package/lib/DataView/index.js +0 -72
- package/lib/DataView/index.style.js +0 -34
- package/lib/DatePicker/index.js +0 -2
- package/lib/DemoShow/index.js +0 -15
- package/lib/Descriptions/index.js +0 -2
- package/lib/Divider/index.js +0 -2
- package/lib/Documentation/Tocify.js +0 -114
- package/lib/Documentation/index.js +0 -147
- package/lib/Documentation/index.style.js +0 -180
- package/lib/Drawer/index.js +0 -107
- package/lib/Drawer/index.style.js +0 -93
- package/lib/Dropdown/DropdownButton.js +0 -20
- package/lib/Dropdown/index.js +0 -39
- package/lib/Dropdown/index.style.js +0 -22
- package/lib/EchartsArea/index.js +0 -113
- package/lib/EchartsBar/index.js +0 -212
- package/lib/EchartsBarRow/index.js +0 -86
- package/lib/EchartsBase/index.js +0 -217
- package/lib/EchartsLine/index.js +0 -173
- package/lib/EchartsPie/index.js +0 -121
- package/lib/EchartsRing/index.js +0 -102
- package/lib/Empty/index.js +0 -70
- package/lib/Empty/index.style.js +0 -36
- package/lib/ErrorBoundary/ErrorPage.js +0 -35
- package/lib/ErrorBoundary/assets/images/No-data.png +0 -0
- package/lib/ErrorBoundary/history.js +0 -81
- package/lib/ErrorBoundary/index.js +0 -93
- package/lib/ErrorBoundary/index.styles.js +0 -48
- package/lib/Exception/images/error.svg +0 -58
- package/lib/Exception/index.js +0 -99
- package/lib/Exception/index.style.js +0 -37
- package/lib/FilterDropDown/DragList.js +0 -106
- package/lib/FilterDropDown/assets/DragSvg.js +0 -33
- package/lib/FilterDropDown/assets/ShowSvgIcon.js +0 -14
- package/lib/FilterDropDown/index.js +0 -271
- package/lib/FilterDropDown/index.style.js +0 -83
- package/lib/Flex/index.js +0 -2
- package/lib/FloatButton/index.js +0 -2
- package/lib/Flow/BasicLayout/Chain.js +0 -112
- package/lib/Flow/BasicLayout/config.js +0 -21
- package/lib/Flow/BasicLayout/util.js +0 -106
- package/lib/Flow/Flow.js +0 -183
- package/lib/Flow/commons/initCommands.js +0 -150
- package/lib/Flow/components/PluginWrapper.js +0 -25
- package/lib/Flow/index.js +0 -7
- package/lib/Flow/layouts/callChain.js +0 -121
- package/lib/Flow/layouts/index.js +0 -4
- package/lib/Flow/plugins/CommandLifeCycle.js +0 -215
- package/lib/Flow/plugins/InitSideBarPlugin.js +0 -81
- package/lib/Flow/plugins/InitToolBarPlugin.js +0 -99
- package/lib/Flow/shape/index.js +0 -4
- package/lib/Flow/shape/nodes/baseNode.js +0 -99
- package/lib/Flow/shape/nodes/index.js +0 -4
- package/lib/Flow/tools/index.js +0 -22
- package/lib/Flow/types/index.js +0 -1
- package/lib/Form/FormItem.js +0 -79
- package/lib/Form/consts.js +0 -2
- package/lib/Form/context.js +0 -3
- package/lib/Form/hook/useForm3.js +0 -117
- package/lib/Form/index.js +0 -77
- package/lib/Form/index.style.js +0 -56
- package/lib/FormItemWrapper/index.js +0 -52
- package/lib/FormItemWrapper/index.style.js +0 -32
- package/lib/GlobalTabs/index.js +0 -49
- package/lib/GlobalTabs/index.style.js +0 -31
- package/lib/Grid/index.js +0 -2
- package/lib/Header/CommonDropMenu.js +0 -90
- package/lib/Header/CommonIcon.js +0 -26
- package/lib/Header/Document/icon.svg +0 -14
- package/lib/Header/Document/index.js +0 -29
- package/lib/Header/LocaleSwitcher.js +0 -41
- package/lib/Header/Message/index.js +0 -21
- package/lib/Header/TopNavigationMenu/index.js +0 -73
- package/lib/Header/TopNavigationMenu/index.style.js +0 -47
- package/lib/Header/UserSetting/TenantList.js +0 -26
- package/lib/Header/UserSetting/TenantTree.js +0 -33
- package/lib/Header/UserSetting/index.js +0 -202
- package/lib/Header/UserSetting/index.style.js +0 -60
- package/lib/Header/UserSetting/utils.js +0 -30
- package/lib/Header/assets/home.svg +0 -13
- package/lib/Header/assets/logo.svg +0 -20
- package/lib/Header/index.js +0 -338
- package/lib/Header/index.style.js +0 -153
- package/lib/Icon/index.js +0 -23
- package/lib/Icon/utils.js +0 -20
- package/lib/IconSelect/components/CustomImg/index.js +0 -84
- package/lib/IconSelect/components/SearchIcon/index.js +0 -98
- package/lib/IconSelect/constants/icon.js +0 -13291
- package/lib/IconSelect/index.js +0 -144
- package/lib/IconSelect/index.style.js +0 -75
- package/lib/Image/index.js +0 -2
- package/lib/Input/InputComponent.js +0 -71
- package/lib/Input/index.js +0 -93
- package/lib/Input/index.style.js +0 -23
- package/lib/InputNumber/index.js +0 -27
- package/lib/Joyride/List.js +0 -85
- package/lib/Joyride/img/finishImg.png +0 -0
- package/lib/Joyride/img/welcomeImg.png +0 -0
- package/lib/Joyride/index.js +0 -448
- package/lib/Joyride/style/index.style.js +0 -67
- package/lib/Joyride/style/list.style.js +0 -115
- package/lib/Layout/index.js +0 -2
- package/lib/LayoutWrapper/Footer.js +0 -31
- package/lib/LayoutWrapper/Header.js +0 -59
- package/lib/LayoutWrapper/LeftArrow.js +0 -17
- package/lib/LayoutWrapper/assets/left-arrow.svg +0 -21
- package/lib/LayoutWrapper/index.js +0 -196
- package/lib/LayoutWrapper/style/footer.js +0 -25
- package/lib/LayoutWrapper/style/header.js +0 -46
- package/lib/LayoutWrapper/style/index.js +0 -58
- package/lib/LeftNavigation/index.js +0 -80
- package/lib/LeftNavigation/index.style.js +0 -34
- package/lib/List/index.js +0 -2
- package/lib/Mentions/index.js +0 -2
- package/lib/Menu/index.js +0 -2
- package/lib/Modal/Modal.js +0 -176
- package/lib/Modal/assets/Close.js +0 -22
- package/lib/Modal/confirmGlobalStyle.js +0 -37
- package/lib/Modal/custom-backup/entiretyDrag.js +0 -142
- package/lib/Modal/custom-backup/index.less +0 -76
- package/lib/Modal/index.js +0 -274
- package/lib/Modal/index.style.js +0 -53
- package/lib/ModuleFederation/ErrorBoundary/index.js +0 -52
- package/lib/ModuleFederation/index.js +0 -10
- package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +0 -185
- package/lib/ModuleFederation/react-dynamic-remote-component/attach-script.js +0 -42
- package/lib/ModuleFederation/react-dynamic-remote-component/index.js +0 -1
- package/lib/ModuleFederation/react-dynamic-remote-component/load-module.js +0 -44
- package/lib/ModuleFederation/react-dynamic-remote-component/loading-script.js +0 -35
- package/lib/ModuleFederation/react-dynamic-remote-component/suspend.js +0 -28
- package/lib/ModuleFederation/react-dynamic-remote-component/utils.js +0 -7
- package/lib/ModuleTitle/index.js +0 -30
- package/lib/ModuleTitle/index.style.js +0 -34
- package/lib/Overview/index.js +0 -2
- package/lib/Pagination/index.js +0 -363
- package/lib/Pagination/index.style.js +0 -137
- package/lib/Popconfirm/index.js +0 -2
- package/lib/Popover/index.js +0 -2
- package/lib/Progress/index.js +0 -2
- package/lib/QrCode/index.js +0 -2
- package/lib/QuickRangePicker/index.js +0 -149
- package/lib/QuickRangePicker/index.style.js +0 -45
- package/lib/QuickTransfer/Drag.js +0 -56
- package/lib/QuickTransfer/DragList.js +0 -114
- package/lib/QuickTransfer/NoDrag.js +0 -33
- package/lib/QuickTransfer/NotDragList.js +0 -41
- package/lib/QuickTransfer/assets/DragSvg.js +0 -14
- package/lib/QuickTransfer/assets/LockSvg.js +0 -15
- package/lib/QuickTransfer/index.js +0 -938
- package/lib/QuickTransfer/index.style.js +0 -185
- package/lib/QuickTransfer/utils.js +0 -291
- package/lib/Radio/index.js +0 -2
- package/lib/RangePicker/index.js +0 -2
- package/lib/Rate/index.js +0 -2
- package/lib/Result/index.js +0 -2
- package/lib/Row/index.js +0 -2
- package/lib/ScrollLoad/index.js +0 -134
- package/lib/SearchBar/OutSearch.js +0 -107
- package/lib/SearchBar/index.js +0 -680
- package/lib/SearchBar/index.style.js +0 -91
- package/lib/SearchBar/locale/en_US.js +0 -6
- package/lib/SearchBar/locale/index.js +0 -11
- package/lib/SearchBar/locale/zh_CN.js +0 -6
- package/lib/SearchBar/locale/zh_TW.js +0 -6
- package/lib/Segmented/index.js +0 -2
- package/lib/Select/index.js +0 -2
- package/lib/SiderMenu/index.js +0 -215
- package/lib/SiderMenu/index.style.js +0 -23
- package/lib/SimpleCard/index.js +0 -121
- package/lib/SimpleCard/index.style.js +0 -76
- package/lib/SimplePagination/index.js +0 -188
- package/lib/SimplePagination/index.style.js +0 -105
- package/lib/SingleSpa/import-html/index.js +0 -51
- package/lib/SingleSpa/import-html/process-tpl.js +0 -189
- package/lib/SingleSpa/import-html/utils.js +0 -147
- package/lib/SingleSpa/index.js +0 -131
- package/lib/SingleSpa/singleSpa/single-spa.dev.js +0 -1505
- package/lib/SingleSpa/system/amd.js +0 -153
- package/lib/SingleSpa/system/index.js +0 -11
- package/lib/SingleSpa/system/system.js +0 -771
- package/lib/SingleSpa/system/systemjs-css.js +0 -96
- package/lib/SingleSpa/utils.js +0 -73
- package/lib/Skeleton/index.js +0 -2
- package/lib/Slider/assets/slider.png +0 -0
- package/lib/Slider/index.js +0 -32
- package/lib/Slider/index.style.js +0 -116
- package/lib/Space/index.js +0 -2
- package/lib/Spin/index.js +0 -2
- package/lib/Statistic/index.js +0 -2
- package/lib/Steps/index.js +0 -2
- package/lib/Switch/index.js +0 -2
- package/lib/Table/index.js +0 -2
- package/lib/Tabs/index.js +0 -52
- package/lib/Tabs/index.style.js +0 -58
- package/lib/Tag/CheckableTag.js +0 -53
- package/lib/Tag/assets/LeftBottomCorner.js +0 -22
- package/lib/Tag/assets/LeftTopCorner.js +0 -22
- package/lib/Tag/assets/RightBottomCorner.js +0 -22
- package/lib/Tag/assets/RightTopCorner.js +0 -14
- package/lib/Tag/index.js +0 -109
- package/lib/Tag/index.style.js +0 -156
- package/lib/Theme/index.js +0 -2
- package/lib/ThemeProvider/Switcher.js +0 -25
- package/lib/ThemeProvider/index.js +0 -5
- package/lib/ThemeProvider/main.js +0 -185
- package/lib/ThemeProvider/utils.js +0 -60
- package/lib/TimePicker/index.js +0 -2
- package/lib/Timeline/index.js +0 -2
- package/lib/Tooltip/index.js +0 -54
- package/lib/Tooltip/index.style.js +0 -23
- package/lib/TooltipText/ResizeObserverManager.js +0 -56
- package/lib/TooltipText/index.js +0 -138
- package/lib/TooltipText/index.style.js +0 -46
- package/lib/Tour/index.js +0 -2
- package/lib/Transfer/index.js +0 -2
- package/lib/Tree/index.js +0 -2
- package/lib/TreeSelect/index.js +0 -2
- package/lib/Typography/index.js +0 -2
- package/lib/Upload/index.js +0 -2
- package/lib/WangEditor/editor4.js +0 -652
- package/lib/WangEditor/index.js +0 -298
- package/lib/WangEditor/index.style.js +0 -203
- package/lib/WangEditor/locale/index.js +0 -62
- package/lib/WangEditor/release/wangEditor.js +0 -5390
- package/lib/WangEditor/resizeable.js +0 -112
- package/lib/WangEditor/usePreview.js +0 -39
- package/lib/WangEditor/wangEditor.js +0 -4627
- package/lib/Watermark/index.js +0 -2
- package/lib/antd-style/context/ThemeModeContext.js +0 -11
- package/lib/antd-style/context/index.js +0 -1
- package/lib/antd-style/core/CacheManager.js +0 -56
- package/lib/antd-style/core/createCSS.js +0 -42
- package/lib/antd-style/core/createEmotion.js +0 -1
- package/lib/antd-style/core/createSerializeStyles.js +0 -11
- package/lib/antd-style/core/index.js +0 -5
- package/lib/antd-style/core/insertStyles.js +0 -35
- package/lib/antd-style/factories/createEmotionContext.js +0 -4
- package/lib/antd-style/factories/createGlobalStyle.js +0 -28
- package/lib/antd-style/factories/createStyish.js +0 -14
- package/lib/antd-style/factories/createStyleProvider/index.js +0 -69
- package/lib/antd-style/factories/createStyledThemeProvider.js +0 -16
- package/lib/antd-style/factories/createStyles/index.js +0 -114
- package/lib/antd-style/factories/createStyles/response.js +0 -43
- package/lib/antd-style/factories/createStyles/types.js +0 -1
- package/lib/antd-style/factories/createThemeProvider/AntdProvider.js +0 -78
- package/lib/antd-style/factories/createThemeProvider/ThemeSwitcher.js +0 -130
- package/lib/antd-style/factories/createThemeProvider/TokenContainer.js +0 -75
- package/lib/antd-style/factories/createThemeProvider/index.js +0 -77
- package/lib/antd-style/factories/createThemeProvider/type.js +0 -1
- package/lib/antd-style/factories/createUseTheme.js +0 -33
- package/lib/antd-style/functions/createInstance.js +0 -95
- package/lib/antd-style/functions/extractStaticStyle.js +0 -63
- package/lib/antd-style/functions/index.js +0 -21
- package/lib/antd-style/functions/setupStyled.js +0 -11
- package/lib/antd-style/hooks/index.js +0 -5
- package/lib/antd-style/hooks/useAntdStylish.js +0 -20
- package/lib/antd-style/hooks/useAntdTheme.js +0 -18
- package/lib/antd-style/hooks/useAntdToken.js +0 -6
- package/lib/antd-style/hooks/useResponsive.js +0 -9
- package/lib/antd-style/hooks/useThemeMode.js +0 -5
- package/lib/antd-style/index.js +0 -5
- package/lib/antd-style/stylish/button.js +0 -19
- package/lib/antd-style/types/appearance.js +0 -1
- package/lib/antd-style/types/css.js +0 -1
- package/lib/antd-style/types/function.js +0 -1
- package/lib/antd-style/types/genericUtils.js +0 -1
- package/lib/antd-style/types/index.js +0 -8
- package/lib/antd-style/types/response.js +0 -1
- package/lib/antd-style/types/styleManager.js +0 -1
- package/lib/antd-style/types/styled.js +0 -1
- package/lib/antd-style/types/theme.js +0 -1
- package/lib/antd-style/utils/convertStylish.js +0 -18
- package/lib/antd-style/utils/css.js +0 -59
- package/lib/antd-style/utils/css.test.js +0 -20
- package/lib/antd-style/utils/index.js +0 -1
- package/lib/antd-style/utils/matchBrowserPrefers.js +0 -9
- package/lib/antd-style/utils/responsive.js +0 -14
- package/lib/antd-style/utils/safeStartTransition.js +0 -8
- package/lib/configHoc/index.js +0 -23
- package/lib/index.js +0 -5
- package/lib/locales/en_US.json +0 -78
- package/lib/locales/index.js +0 -57
- package/lib/locales/intl.js +0 -46
- package/lib/locales/zh_CN.json +0 -78
- package/lib/locales/zh_TW.json +0 -78
- package/lib/message/index.js +0 -2
- package/lib/noticeManager/event.js +0 -52
- package/lib/noticeManager/globalState.js +0 -26
- package/lib/noticeManager/index.js +0 -16
- package/lib/notification/index.js +0 -2
- package/lib/portalNoticeManager/event.js +0 -52
- package/lib/portalNoticeManager/index.js +0 -14
- package/lib/portalNoticeManager/usePortalDispatchNotice.js +0 -37
- package/lib/portalNoticeManager/withPortalDispatchNotice.js +0 -10
- package/lib/treeLoad/index.js +0 -43
- package/lib/useChartTheme/index.js +0 -36
- package/lib/useConfigContext/index.js +0 -6
- package/lib/utils/index.js +0 -90
|
@@ -1,771 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
export default function (self) {
|
|
3
|
-
/*
|
|
4
|
-
* SystemJS 6.2.5
|
|
5
|
-
*/
|
|
6
|
-
(function () {
|
|
7
|
-
var hasSelf = typeof self !== 'undefined';
|
|
8
|
-
var hasDocument = typeof document !== 'undefined';
|
|
9
|
-
var envGlobal = hasSelf ? self : global;
|
|
10
|
-
var baseUrl;
|
|
11
|
-
if (hasDocument) {
|
|
12
|
-
var baseEl = document.querySelector('base[href]');
|
|
13
|
-
if (baseEl) baseUrl = baseEl.href;
|
|
14
|
-
}
|
|
15
|
-
if (!baseUrl && typeof location !== 'undefined') {
|
|
16
|
-
baseUrl = location.href.split('#')[0].split('?')[0];
|
|
17
|
-
var lastSepIndex = baseUrl.lastIndexOf('/');
|
|
18
|
-
if (lastSepIndex !== -1) baseUrl = baseUrl.slice(0, lastSepIndex + 1);
|
|
19
|
-
}
|
|
20
|
-
var backslashRegEx = /\\/g;
|
|
21
|
-
function resolveIfNotPlainOrUrl(relUrl, parentUrl) {
|
|
22
|
-
if (relUrl.indexOf('\\') !== -1) relUrl = relUrl.replace(backslashRegEx, '/');
|
|
23
|
-
// protocol-relative
|
|
24
|
-
if (relUrl[0] === '/' && relUrl[1] === '/') {
|
|
25
|
-
return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl;
|
|
26
|
-
}
|
|
27
|
-
// relative-url
|
|
28
|
-
else if (relUrl[0] === '.' && (relUrl[1] === '/' || relUrl[1] === '.' && (relUrl[2] === '/' || relUrl.length === 2 && (relUrl += '/')) || relUrl.length === 1 && (relUrl += '/')) || relUrl[0] === '/') {
|
|
29
|
-
var parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1);
|
|
30
|
-
// Disabled, but these cases will give inconsistent results for deep backtracking
|
|
31
|
-
//if (parentUrl[parentProtocol.length] !== '/')
|
|
32
|
-
// throw Error('Cannot resolve');
|
|
33
|
-
// read pathname from parent URL
|
|
34
|
-
// pathname taken to be part after leading "/"
|
|
35
|
-
var pathname;
|
|
36
|
-
if (parentUrl[parentProtocol.length + 1] === '/') {
|
|
37
|
-
// resolving to a :// so we need to read out the auth and host
|
|
38
|
-
if (parentProtocol !== 'file:') {
|
|
39
|
-
pathname = parentUrl.slice(parentProtocol.length + 2);
|
|
40
|
-
pathname = pathname.slice(pathname.indexOf('/') + 1);
|
|
41
|
-
} else {
|
|
42
|
-
pathname = parentUrl.slice(8);
|
|
43
|
-
}
|
|
44
|
-
} else {
|
|
45
|
-
// resolving to :/ so pathname is the /... part
|
|
46
|
-
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/'));
|
|
47
|
-
}
|
|
48
|
-
if (relUrl[0] === '/') return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl;
|
|
49
|
-
|
|
50
|
-
// join together and split for removal of .. and . segments
|
|
51
|
-
// looping the string instead of anything fancy for perf reasons
|
|
52
|
-
// '../../../../../z' resolved to 'x/y' is just 'z'
|
|
53
|
-
var segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl;
|
|
54
|
-
var output = [];
|
|
55
|
-
var segmentIndex = -1;
|
|
56
|
-
for (var i = 0; i < segmented.length; i++) {
|
|
57
|
-
// busy reading a segment - only terminate on '/'
|
|
58
|
-
if (segmentIndex !== -1) {
|
|
59
|
-
if (segmented[i] === '/') {
|
|
60
|
-
output.push(segmented.slice(segmentIndex, i + 1));
|
|
61
|
-
segmentIndex = -1;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// new segment - check if it is relative
|
|
66
|
-
else if (segmented[i] === '.') {
|
|
67
|
-
// ../ segment
|
|
68
|
-
if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) {
|
|
69
|
-
output.pop();
|
|
70
|
-
i += 2;
|
|
71
|
-
}
|
|
72
|
-
// ./ segment
|
|
73
|
-
else if (segmented[i + 1] === '/' || i + 1 === segmented.length) {
|
|
74
|
-
i += 1;
|
|
75
|
-
} else {
|
|
76
|
-
// the start of a new segment as below
|
|
77
|
-
segmentIndex = i;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
// it is the start of a new segment
|
|
81
|
-
else {
|
|
82
|
-
segmentIndex = i;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
// finish reading out the last segment
|
|
86
|
-
if (segmentIndex !== -1) output.push(segmented.slice(segmentIndex));
|
|
87
|
-
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join('');
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/*
|
|
92
|
-
* Import maps implementation
|
|
93
|
-
*
|
|
94
|
-
* To make lookups fast we pre-resolve the entire import map
|
|
95
|
-
* and then match based on backtracked hash lookups
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
|
-
function resolveUrl(relUrl, parentUrl) {
|
|
100
|
-
return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(':') !== -1 ? relUrl : resolveIfNotPlainOrUrl('./' + relUrl, parentUrl));
|
|
101
|
-
}
|
|
102
|
-
function objectAssign(to, from) {
|
|
103
|
-
for (var p in from) to[p] = from[p];
|
|
104
|
-
return to;
|
|
105
|
-
}
|
|
106
|
-
function resolveAndComposePackages(packages, outPackages, baseUrl, parentMap, parentUrl) {
|
|
107
|
-
for (var p in packages) {
|
|
108
|
-
var resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;
|
|
109
|
-
var rhs = packages[p];
|
|
110
|
-
// package fallbacks not currently supported
|
|
111
|
-
if (typeof rhs !== 'string') continue;
|
|
112
|
-
var mapped = resolveImportMap(parentMap, resolveIfNotPlainOrUrl(rhs, baseUrl) || rhs, parentUrl);
|
|
113
|
-
if (!mapped) targetWarning(p, rhs, 'bare specifier did not resolve');else outPackages[resolvedLhs] = mapped;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
function resolveAndComposeImportMap(json, baseUrl, parentMap) {
|
|
117
|
-
var outMap = {
|
|
118
|
-
imports: objectAssign({}, parentMap.imports),
|
|
119
|
-
scopes: objectAssign({}, parentMap.scopes)
|
|
120
|
-
};
|
|
121
|
-
if (json.imports) resolveAndComposePackages(json.imports, outMap.imports, baseUrl, parentMap, null);
|
|
122
|
-
if (json.scopes) for (var s in json.scopes) {
|
|
123
|
-
var resolvedScope = resolveUrl(s, baseUrl);
|
|
124
|
-
resolveAndComposePackages(json.scopes[s], outMap.scopes[resolvedScope] || (outMap.scopes[resolvedScope] = {}), baseUrl, parentMap, resolvedScope);
|
|
125
|
-
}
|
|
126
|
-
return outMap;
|
|
127
|
-
}
|
|
128
|
-
function getMatch(path, matchObj) {
|
|
129
|
-
if (matchObj[path]) return path;
|
|
130
|
-
var sepIndex = path.length;
|
|
131
|
-
do {
|
|
132
|
-
var segment = path.slice(0, sepIndex + 1);
|
|
133
|
-
if (segment in matchObj) return segment;
|
|
134
|
-
} while ((sepIndex = path.lastIndexOf('/', sepIndex - 1)) !== -1);
|
|
135
|
-
}
|
|
136
|
-
function applyPackages(id, packages) {
|
|
137
|
-
var pkgName = getMatch(id, packages);
|
|
138
|
-
if (pkgName) {
|
|
139
|
-
var pkg = packages[pkgName];
|
|
140
|
-
if (pkg === null) return;
|
|
141
|
-
if (id.length > pkgName.length && pkg[pkg.length - 1] !== '/') targetWarning(pkgName, pkg, "should have a trailing '/'");else return pkg + id.slice(pkgName.length);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
function targetWarning(match, target, msg) {
|
|
145
|
-
console.warn("Package target " + msg + ", resolving target '" + target + "' for " + match);
|
|
146
|
-
}
|
|
147
|
-
function resolveImportMap(importMap, resolvedOrPlain, parentUrl) {
|
|
148
|
-
var scopeUrl = parentUrl && getMatch(parentUrl, importMap.scopes);
|
|
149
|
-
while (scopeUrl) {
|
|
150
|
-
var packageResolution = applyPackages(resolvedOrPlain, importMap.scopes[scopeUrl]);
|
|
151
|
-
if (packageResolution) return packageResolution;
|
|
152
|
-
scopeUrl = getMatch(scopeUrl.slice(0, scopeUrl.lastIndexOf('/')), importMap.scopes);
|
|
153
|
-
}
|
|
154
|
-
return applyPackages(resolvedOrPlain, importMap.imports) || resolvedOrPlain.indexOf(':') !== -1 && resolvedOrPlain;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/*
|
|
158
|
-
* SystemJS Core
|
|
159
|
-
*
|
|
160
|
-
* Provides
|
|
161
|
-
* - System.import
|
|
162
|
-
* - System.register support for
|
|
163
|
-
* live bindings, function hoisting through circular references,
|
|
164
|
-
* reexports, dynamic import, import.meta.url, top-level await
|
|
165
|
-
* - System.getRegister to get the registration
|
|
166
|
-
* - Symbol.toStringTag support in Module objects
|
|
167
|
-
* - Hookable System.createContext to customize import.meta
|
|
168
|
-
* - System.onload(err, id, deps) handler for tracing / hot-reloading
|
|
169
|
-
*
|
|
170
|
-
* Core comes with no System.prototype.resolve or
|
|
171
|
-
* System.prototype.instantiate implementations
|
|
172
|
-
*/
|
|
173
|
-
|
|
174
|
-
var hasSymbol = typeof Symbol !== 'undefined';
|
|
175
|
-
var toStringTag = hasSymbol && Symbol.toStringTag;
|
|
176
|
-
var REGISTRY = hasSymbol ? Symbol() : '@';
|
|
177
|
-
function SystemJS() {
|
|
178
|
-
this[REGISTRY] = {};
|
|
179
|
-
}
|
|
180
|
-
var systemJSPrototype = SystemJS.prototype;
|
|
181
|
-
systemJSPrototype.prepareImport = function () {};
|
|
182
|
-
systemJSPrototype["import"] = function (id, parentUrl) {
|
|
183
|
-
var loader = this;
|
|
184
|
-
return Promise.resolve(loader.prepareImport()).then(function () {
|
|
185
|
-
return loader.resolve(id, parentUrl);
|
|
186
|
-
}).then(function (id) {
|
|
187
|
-
var load = getOrCreateLoad(loader, id);
|
|
188
|
-
return load.C || topLevelLoad(loader, load);
|
|
189
|
-
});
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
// Hookable createContext function -> allowing eg custom import meta
|
|
193
|
-
systemJSPrototype.createContext = function (parentId) {
|
|
194
|
-
return {
|
|
195
|
-
url: parentId
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
// onLoad(err, id, deps) provided for tracing / hot-reloading
|
|
200
|
-
systemJSPrototype.onload = function () {};
|
|
201
|
-
function loadToId(load) {
|
|
202
|
-
return load.id;
|
|
203
|
-
}
|
|
204
|
-
function triggerOnload(loader, load, err) {
|
|
205
|
-
loader.onload(err, load.id, load.d && load.d.map(loadToId));
|
|
206
|
-
if (err) throw err;
|
|
207
|
-
}
|
|
208
|
-
var lastRegister;
|
|
209
|
-
systemJSPrototype.register = function (deps, declare) {
|
|
210
|
-
lastRegister = [deps, declare];
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
/*
|
|
214
|
-
* getRegister provides the last anonymous System.register call
|
|
215
|
-
*/
|
|
216
|
-
systemJSPrototype.getRegister = function () {
|
|
217
|
-
var _lastRegister = lastRegister;
|
|
218
|
-
lastRegister = undefined;
|
|
219
|
-
return _lastRegister;
|
|
220
|
-
};
|
|
221
|
-
function getOrCreateLoad(loader, id, firstParentUrl) {
|
|
222
|
-
var load = loader[REGISTRY][id];
|
|
223
|
-
if (load) return load;
|
|
224
|
-
var importerSetters = [];
|
|
225
|
-
var ns = Object.create(null);
|
|
226
|
-
if (toStringTag) Object.defineProperty(ns, toStringTag, {
|
|
227
|
-
value: 'Module'
|
|
228
|
-
});
|
|
229
|
-
var instantiatePromise = Promise.resolve().then(function () {
|
|
230
|
-
return loader.instantiate(id, firstParentUrl);
|
|
231
|
-
}).then(function (registration) {
|
|
232
|
-
if (!registration) throw Error('Module ' + id + ' did not instantiate');
|
|
233
|
-
function _export(name, value) {
|
|
234
|
-
// note if we have hoisted exports (including reexports)
|
|
235
|
-
load.h = true;
|
|
236
|
-
var changed = false;
|
|
237
|
-
if (_typeof(name) !== 'object') {
|
|
238
|
-
if (!(name in ns) || ns[name] !== value) {
|
|
239
|
-
ns[name] = value;
|
|
240
|
-
changed = true;
|
|
241
|
-
}
|
|
242
|
-
} else {
|
|
243
|
-
for (var p in name) {
|
|
244
|
-
var _value = name[p];
|
|
245
|
-
if (!(p in ns) || ns[p] !== _value) {
|
|
246
|
-
ns[p] = _value;
|
|
247
|
-
changed = true;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
if (name.__esModule) {
|
|
251
|
-
ns.__esModule = name.__esModule;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
if (changed) for (var i = 0; i < importerSetters.length; i++) importerSetters[i](ns);
|
|
255
|
-
return value;
|
|
256
|
-
}
|
|
257
|
-
var declared = registration[1](_export, registration[1].length === 2 ? {
|
|
258
|
-
"import": function _import(importId) {
|
|
259
|
-
return loader["import"](importId, id);
|
|
260
|
-
},
|
|
261
|
-
meta: loader.createContext(id)
|
|
262
|
-
} : undefined);
|
|
263
|
-
load.e = declared.execute || function () {};
|
|
264
|
-
return [registration[0], declared.setters || []];
|
|
265
|
-
});
|
|
266
|
-
instantiatePromise = instantiatePromise["catch"](function (err) {
|
|
267
|
-
triggerOnload(loader, load, err);
|
|
268
|
-
});
|
|
269
|
-
var linkPromise = instantiatePromise.then(function (instantiation) {
|
|
270
|
-
return Promise.all(instantiation[0].map(function (dep, i) {
|
|
271
|
-
var setter = instantiation[1][i];
|
|
272
|
-
return Promise.resolve(loader.resolve(dep, id)).then(function (depId) {
|
|
273
|
-
var depLoad = getOrCreateLoad(loader, depId, id);
|
|
274
|
-
// depLoad.I may be undefined for already-evaluated
|
|
275
|
-
return Promise.resolve(depLoad.I).then(function () {
|
|
276
|
-
if (setter) {
|
|
277
|
-
depLoad.i.push(setter);
|
|
278
|
-
// only run early setters when there are hoisted exports of that module
|
|
279
|
-
// the timing works here as pending hoisted export calls will trigger through importerSetters
|
|
280
|
-
if (depLoad.h || !depLoad.I) setter(depLoad.n);
|
|
281
|
-
}
|
|
282
|
-
return depLoad;
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
})).then(function (depLoads) {
|
|
286
|
-
load.d = depLoads;
|
|
287
|
-
});
|
|
288
|
-
});
|
|
289
|
-
linkPromise["catch"](function (err) {
|
|
290
|
-
load.e = null;
|
|
291
|
-
load.er = err;
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
// Capital letter = a promise function
|
|
295
|
-
return load = loader[REGISTRY][id] = {
|
|
296
|
-
id: id,
|
|
297
|
-
// importerSetters, the setters functions registered to this dependency
|
|
298
|
-
// we retain this to add more later
|
|
299
|
-
i: importerSetters,
|
|
300
|
-
// module namespace object
|
|
301
|
-
n: ns,
|
|
302
|
-
// instantiate
|
|
303
|
-
I: instantiatePromise,
|
|
304
|
-
// link
|
|
305
|
-
L: linkPromise,
|
|
306
|
-
// whether it has hoisted exports
|
|
307
|
-
h: false,
|
|
308
|
-
// On instantiate completion we have populated:
|
|
309
|
-
// dependency load records
|
|
310
|
-
d: undefined,
|
|
311
|
-
// execution function
|
|
312
|
-
// set to NULL immediately after execution (or on any failure) to indicate execution has happened
|
|
313
|
-
// in such a case, C should be used, and E, I, L will be emptied
|
|
314
|
-
e: undefined,
|
|
315
|
-
// On execution we have populated:
|
|
316
|
-
// the execution error if any
|
|
317
|
-
er: undefined,
|
|
318
|
-
// in the case of TLA, the execution promise
|
|
319
|
-
E: undefined,
|
|
320
|
-
// On execution, L, I, E cleared
|
|
321
|
-
|
|
322
|
-
// Promise for top-level completion
|
|
323
|
-
C: undefined
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
function instantiateAll(loader, load, loaded) {
|
|
327
|
-
if (!loaded[load.id]) {
|
|
328
|
-
loaded[load.id] = true;
|
|
329
|
-
// load.L may be undefined for already-instantiated
|
|
330
|
-
return Promise.resolve(load.L).then(function () {
|
|
331
|
-
return Promise.all(load.d.map(function (dep) {
|
|
332
|
-
return instantiateAll(loader, dep, loaded);
|
|
333
|
-
}));
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
function topLevelLoad(loader, load) {
|
|
338
|
-
return load.C = instantiateAll(loader, load, {}).then(function () {
|
|
339
|
-
return postOrderExec(loader, load, {});
|
|
340
|
-
}).then(function () {
|
|
341
|
-
return load.n;
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// the closest we can get to call(undefined)
|
|
346
|
-
var nullContext = Object.freeze(Object.create(null));
|
|
347
|
-
|
|
348
|
-
// returns a promise if and only if a top-level await subgraph
|
|
349
|
-
// throws on sync errors
|
|
350
|
-
function postOrderExec(loader, load, seen) {
|
|
351
|
-
if (seen[load.id]) return;
|
|
352
|
-
seen[load.id] = true;
|
|
353
|
-
if (!load.e) {
|
|
354
|
-
if (load.er) throw load.er;
|
|
355
|
-
if (load.E) return load.E;
|
|
356
|
-
return;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
// deps execute first, unless circular
|
|
360
|
-
var depLoadPromises;
|
|
361
|
-
load.d.forEach(function (depLoad) {
|
|
362
|
-
{
|
|
363
|
-
try {
|
|
364
|
-
var depLoadPromise = postOrderExec(loader, depLoad, seen);
|
|
365
|
-
if (depLoadPromise) {
|
|
366
|
-
depLoadPromise["catch"](function (err) {
|
|
367
|
-
triggerOnload(loader, load, err);
|
|
368
|
-
});
|
|
369
|
-
(depLoadPromises = depLoadPromises || []).push(depLoadPromise);
|
|
370
|
-
}
|
|
371
|
-
} catch (err) {
|
|
372
|
-
triggerOnload(loader, load, err);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
});
|
|
376
|
-
if (depLoadPromises) return Promise.all(depLoadPromises).then(doExec);
|
|
377
|
-
return doExec();
|
|
378
|
-
function doExec() {
|
|
379
|
-
try {
|
|
380
|
-
var execPromise = load.e.call(nullContext);
|
|
381
|
-
if (execPromise) {
|
|
382
|
-
execPromise = execPromise.then(function () {
|
|
383
|
-
load.C = load.n;
|
|
384
|
-
load.E = null; // indicates completion
|
|
385
|
-
triggerOnload(loader, load, null);
|
|
386
|
-
}, function (err) {
|
|
387
|
-
triggerOnload(loader, load, err);
|
|
388
|
-
});
|
|
389
|
-
return load.E = load.E || execPromise;
|
|
390
|
-
}
|
|
391
|
-
// (should be a promise, but a minify optimization to leave out Promise.resolve)
|
|
392
|
-
load.C = load.n;
|
|
393
|
-
triggerOnload(loader, load, null);
|
|
394
|
-
} catch (err) {
|
|
395
|
-
triggerOnload(loader, load, err);
|
|
396
|
-
load.er = err;
|
|
397
|
-
throw err;
|
|
398
|
-
} finally {
|
|
399
|
-
load.L = load.I = undefined;
|
|
400
|
-
load.e = null;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
envGlobal.System = new SystemJS();
|
|
405
|
-
|
|
406
|
-
/*
|
|
407
|
-
* Import map support for SystemJS
|
|
408
|
-
*
|
|
409
|
-
* <script type="systemjs-importmap">{}</script>
|
|
410
|
-
* OR
|
|
411
|
-
* <script type="systemjs-importmap" src=package.json></script>
|
|
412
|
-
*
|
|
413
|
-
* Only those import maps available at the time of SystemJS initialization will be loaded
|
|
414
|
-
* and they will be loaded in DOM order.
|
|
415
|
-
*
|
|
416
|
-
* There is no support for dynamic import maps injection currently.
|
|
417
|
-
*/
|
|
418
|
-
|
|
419
|
-
var importMap = {
|
|
420
|
-
imports: {},
|
|
421
|
-
scopes: {}
|
|
422
|
-
},
|
|
423
|
-
importMapPromise;
|
|
424
|
-
if (hasDocument) {
|
|
425
|
-
Array.prototype.forEach.call(document.querySelectorAll('script[type="systemjs-importmap"][src]'), function (script) {
|
|
426
|
-
script._j = fetch(script.src).then(function (resp) {
|
|
427
|
-
return resp.json();
|
|
428
|
-
});
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
systemJSPrototype.prepareImport = function () {
|
|
432
|
-
if (!importMapPromise) {
|
|
433
|
-
importMapPromise = Promise.resolve();
|
|
434
|
-
if (hasDocument) Array.prototype.forEach.call(document.querySelectorAll('script[type="systemjs-importmap"]'), function (script) {
|
|
435
|
-
importMapPromise = importMapPromise.then(function () {
|
|
436
|
-
return (script._j || script.src && fetch(script.src).then(function (resp) {
|
|
437
|
-
return resp.json();
|
|
438
|
-
}) || Promise.resolve(JSON.parse(script.innerHTML))).then(function (json) {
|
|
439
|
-
importMap = resolveAndComposeImportMap(json, script.src || baseUrl, importMap);
|
|
440
|
-
});
|
|
441
|
-
});
|
|
442
|
-
});
|
|
443
|
-
}
|
|
444
|
-
return importMapPromise;
|
|
445
|
-
};
|
|
446
|
-
systemJSPrototype.resolve = function (id, parentUrl) {
|
|
447
|
-
parentUrl = parentUrl || baseUrl;
|
|
448
|
-
return resolveImportMap(importMap, resolveIfNotPlainOrUrl(id, parentUrl) || id, parentUrl) || throwUnresolved(id, parentUrl);
|
|
449
|
-
};
|
|
450
|
-
function throwUnresolved(id, parentUrl) {
|
|
451
|
-
throw Error("Unable to resolve specifier '" + id + (parentUrl ? "' from " + parentUrl : "'"));
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
/*
|
|
455
|
-
* Supports loading System.register via script tag injection
|
|
456
|
-
*/
|
|
457
|
-
|
|
458
|
-
var systemRegister = systemJSPrototype.register;
|
|
459
|
-
systemJSPrototype.register = function (deps, declare) {
|
|
460
|
-
systemRegister.call(this, deps, declare);
|
|
461
|
-
};
|
|
462
|
-
systemJSPrototype.createScript = function (url) {
|
|
463
|
-
var script = document.createElement('script');
|
|
464
|
-
script.charset = 'utf-8';
|
|
465
|
-
script.async = true;
|
|
466
|
-
script.crossOrigin = 'anonymous';
|
|
467
|
-
script.src = url;
|
|
468
|
-
return script;
|
|
469
|
-
};
|
|
470
|
-
var lastWindowErrorUrl, lastWindowError;
|
|
471
|
-
if (hasDocument) window.addEventListener('error', function (evt) {
|
|
472
|
-
lastWindowErrorUrl = evt.filename;
|
|
473
|
-
lastWindowError = evt.error;
|
|
474
|
-
});
|
|
475
|
-
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
476
|
-
var loader = this;
|
|
477
|
-
return new Promise(function (resolve, reject) {
|
|
478
|
-
var script = systemJSPrototype.createScript(url);
|
|
479
|
-
script.addEventListener('error', function () {
|
|
480
|
-
reject(Error('Error loading ' + url + (firstParentUrl ? ' from ' + firstParentUrl : '')));
|
|
481
|
-
});
|
|
482
|
-
script.addEventListener('load', function () {
|
|
483
|
-
document.head.removeChild(script);
|
|
484
|
-
// Note that if an error occurs that isn't caught by this if statement,
|
|
485
|
-
// that getRegister will return null and a "did not instantiate" error will be thrown.
|
|
486
|
-
if (lastWindowErrorUrl === url) {
|
|
487
|
-
reject(lastWindowError);
|
|
488
|
-
} else {
|
|
489
|
-
resolve(loader.getRegister());
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
document.head.appendChild(script);
|
|
493
|
-
});
|
|
494
|
-
};
|
|
495
|
-
if (hasDocument) {
|
|
496
|
-
window.addEventListener('DOMContentLoaded', loadScriptModules);
|
|
497
|
-
loadScriptModules();
|
|
498
|
-
}
|
|
499
|
-
function loadScriptModules() {
|
|
500
|
-
Array.prototype.forEach.call(document.querySelectorAll('script[type=systemjs-module]'), function (script) {
|
|
501
|
-
if (script.src) {
|
|
502
|
-
import(script.src.slice(0, 7) === 'import:' ? script.src.slice(7) : resolveUrl(script.src, baseUrl));
|
|
503
|
-
}
|
|
504
|
-
});
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/*
|
|
508
|
-
* Supports loading System.register in workers
|
|
509
|
-
*/
|
|
510
|
-
|
|
511
|
-
if (hasSelf && typeof importScripts === 'function') systemJSPrototype.instantiate = function (url) {
|
|
512
|
-
var loader = this;
|
|
513
|
-
return new Promise(function (resolve, reject) {
|
|
514
|
-
try {
|
|
515
|
-
importScripts(url);
|
|
516
|
-
} catch (e) {
|
|
517
|
-
reject(e);
|
|
518
|
-
}
|
|
519
|
-
resolve(loader.getRegister());
|
|
520
|
-
});
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
/*
|
|
524
|
-
* SystemJS global script loading support
|
|
525
|
-
* Extra for the s.js build only
|
|
526
|
-
* (Included by default in system.js build)
|
|
527
|
-
*/
|
|
528
|
-
(function (global) {
|
|
529
|
-
var systemJSPrototype = global.System.constructor.prototype;
|
|
530
|
-
var isIE = navigator.userAgent.indexOf('Trident') !== -1;
|
|
531
|
-
|
|
532
|
-
// safari unpredictably lists some new globals first or second in object order
|
|
533
|
-
var firstGlobalProp, secondGlobalProp, lastGlobalProp;
|
|
534
|
-
function getGlobalProp() {
|
|
535
|
-
var cnt = 0;
|
|
536
|
-
var lastProp;
|
|
537
|
-
for (var p in global) {
|
|
538
|
-
// do not check frames cause it could be removed during import
|
|
539
|
-
if (!global.hasOwnProperty(p) || !isNaN(p) && p < global.length || isIE && global[p] && global[p].parent === window) continue;
|
|
540
|
-
if (cnt === 0 && p !== firstGlobalProp || cnt === 1 && p !== secondGlobalProp) return p;
|
|
541
|
-
cnt++;
|
|
542
|
-
lastProp = p;
|
|
543
|
-
}
|
|
544
|
-
if (lastProp !== lastGlobalProp) return lastProp;
|
|
545
|
-
}
|
|
546
|
-
function noteGlobalProps() {
|
|
547
|
-
// alternatively Object.keys(global).pop()
|
|
548
|
-
// but this may be faster (pending benchmarks)
|
|
549
|
-
firstGlobalProp = secondGlobalProp = undefined;
|
|
550
|
-
for (var p in global) {
|
|
551
|
-
// do not check frames cause it could be removed during import
|
|
552
|
-
if (!global.hasOwnProperty(p) || !isNaN(p) && p < global.length || isIE && global[p] && global[p].parent === window) continue;
|
|
553
|
-
if (!firstGlobalProp) firstGlobalProp = p;else if (!secondGlobalProp) secondGlobalProp = p;
|
|
554
|
-
lastGlobalProp = p;
|
|
555
|
-
}
|
|
556
|
-
return lastGlobalProp;
|
|
557
|
-
}
|
|
558
|
-
var impt = systemJSPrototype["import"];
|
|
559
|
-
systemJSPrototype["import"] = function (id, parentUrl) {
|
|
560
|
-
noteGlobalProps();
|
|
561
|
-
return impt.call(this, id, parentUrl);
|
|
562
|
-
};
|
|
563
|
-
var emptyInstantiation = [[], function () {
|
|
564
|
-
return {};
|
|
565
|
-
}];
|
|
566
|
-
var getRegister = systemJSPrototype.getRegister;
|
|
567
|
-
systemJSPrototype.getRegister = function () {
|
|
568
|
-
var lastRegister = getRegister.call(this);
|
|
569
|
-
if (lastRegister) return lastRegister;
|
|
570
|
-
|
|
571
|
-
// no registration -> attempt a global detection as difference from snapshot
|
|
572
|
-
// when multiple globals, we take the global value to be the last defined new global object property
|
|
573
|
-
// for performance, this will not support multi-version / global collisions as previous SystemJS versions did
|
|
574
|
-
// note in Edge, deleting and re-adding a global does not change its ordering
|
|
575
|
-
var globalProp = getGlobalProp();
|
|
576
|
-
if (!globalProp) return emptyInstantiation;
|
|
577
|
-
var globalExport;
|
|
578
|
-
try {
|
|
579
|
-
globalExport = global[globalProp];
|
|
580
|
-
} catch (e) {
|
|
581
|
-
return emptyInstantiation;
|
|
582
|
-
}
|
|
583
|
-
return [[], function (_export) {
|
|
584
|
-
return {
|
|
585
|
-
execute: function execute() {
|
|
586
|
-
_export({
|
|
587
|
-
"default": globalExport,
|
|
588
|
-
__useDefault: true
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
|
-
}];
|
|
593
|
-
};
|
|
594
|
-
})(typeof self !== 'undefined' ? self : global);
|
|
595
|
-
|
|
596
|
-
/*
|
|
597
|
-
* Loads JSON, CSS, Wasm module types based on file extensions
|
|
598
|
-
* Supports application/javascript falling back to JS eval
|
|
599
|
-
*/
|
|
600
|
-
(function (global) {
|
|
601
|
-
var systemJSPrototype = global.System.constructor.prototype;
|
|
602
|
-
var instantiate = systemJSPrototype.instantiate;
|
|
603
|
-
var moduleTypesRegEx = /\.(css|html|json|wasm)$/;
|
|
604
|
-
systemJSPrototype.shouldFetch = function (url) {
|
|
605
|
-
var path = url.split('?')[0].split('#')[0];
|
|
606
|
-
var ext = path.slice(path.lastIndexOf('.'));
|
|
607
|
-
return ext.match(moduleTypesRegEx);
|
|
608
|
-
};
|
|
609
|
-
systemJSPrototype.fetch = function (url) {
|
|
610
|
-
return fetch(url);
|
|
611
|
-
};
|
|
612
|
-
systemJSPrototype.instantiate = function (url, parent) {
|
|
613
|
-
var loader = this;
|
|
614
|
-
if (this.shouldFetch(url)) {
|
|
615
|
-
return this.fetch(url).then(function (res) {
|
|
616
|
-
if (!res.ok) throw Error(res.status + ' ' + res.statusText + ', loading ' + url + (parent ? ' from ' + parent : ''));
|
|
617
|
-
var contentType = res.headers.get('content-type');
|
|
618
|
-
if (contentType.match(/^(text|application)\/(x-)?javascript(;|$)/)) {
|
|
619
|
-
return res.text().then(function (source) {
|
|
620
|
-
(0, eval)(source);
|
|
621
|
-
return loader.getRegister();
|
|
622
|
-
});
|
|
623
|
-
} else if (contentType.match(/^application\/json(;|$)/)) {
|
|
624
|
-
return res.text().then(function (source) {
|
|
625
|
-
return [[], function (_export) {
|
|
626
|
-
return {
|
|
627
|
-
execute: function execute() {
|
|
628
|
-
_export('default', JSON.parse(source));
|
|
629
|
-
}
|
|
630
|
-
};
|
|
631
|
-
}];
|
|
632
|
-
});
|
|
633
|
-
} else if (contentType.match(/^text\/css(;|$)/)) {
|
|
634
|
-
return res.text().then(function (source) {
|
|
635
|
-
return [[], function (_export) {
|
|
636
|
-
return {
|
|
637
|
-
execute: function execute() {
|
|
638
|
-
// Relies on a Constructable Stylesheet polyfill
|
|
639
|
-
var stylesheet = new CSSStyleSheet();
|
|
640
|
-
stylesheet.replaceSync(source);
|
|
641
|
-
_export('default', stylesheet);
|
|
642
|
-
}
|
|
643
|
-
};
|
|
644
|
-
}];
|
|
645
|
-
});
|
|
646
|
-
} else if (contentType.match(/^application\/wasm(;|$)/)) {
|
|
647
|
-
return (WebAssembly.compileStreaming ? WebAssembly.compileStreaming(res) : res.arrayBuffer().then(WebAssembly.compile)).then(function (module) {
|
|
648
|
-
var deps = [];
|
|
649
|
-
var setters = [];
|
|
650
|
-
var importObj = {};
|
|
651
|
-
|
|
652
|
-
// we can only set imports if supported (eg early Safari doesnt support)
|
|
653
|
-
if (WebAssembly.Module.imports) WebAssembly.Module.imports(module).forEach(function (impt) {
|
|
654
|
-
var key = impt.module;
|
|
655
|
-
if (deps.indexOf(key) === -1) {
|
|
656
|
-
deps.push(key);
|
|
657
|
-
setters.push(function (m) {
|
|
658
|
-
importObj[key] = m;
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
});
|
|
662
|
-
return [deps, function (_export) {
|
|
663
|
-
return {
|
|
664
|
-
setters: setters,
|
|
665
|
-
execute: function execute() {
|
|
666
|
-
return WebAssembly.instantiate(module, importObj).then(function (instance) {
|
|
667
|
-
_export(instance.exports);
|
|
668
|
-
});
|
|
669
|
-
}
|
|
670
|
-
};
|
|
671
|
-
}];
|
|
672
|
-
});
|
|
673
|
-
} else {
|
|
674
|
-
throw new Error('Unknown module type "' + contentType + '"');
|
|
675
|
-
}
|
|
676
|
-
});
|
|
677
|
-
}
|
|
678
|
-
return instantiate.apply(this, arguments);
|
|
679
|
-
};
|
|
680
|
-
})(typeof self !== 'undefined' ? self : global);
|
|
681
|
-
var toStringTag$1 = typeof Symbol !== 'undefined' && Symbol.toStringTag;
|
|
682
|
-
systemJSPrototype.get = function (id) {
|
|
683
|
-
var load = this[REGISTRY][id];
|
|
684
|
-
if (load && load.e === null && !load.E) {
|
|
685
|
-
if (load.er) return null;
|
|
686
|
-
return load.n;
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
systemJSPrototype.set = function (id, module) {
|
|
690
|
-
var ns;
|
|
691
|
-
if (toStringTag$1 && module[toStringTag$1] === 'Module') {
|
|
692
|
-
ns = module;
|
|
693
|
-
} else {
|
|
694
|
-
ns = Object.assign(Object.create(null), module);
|
|
695
|
-
if (toStringTag$1) Object.defineProperty(ns, toStringTag$1, {
|
|
696
|
-
value: 'Module'
|
|
697
|
-
});
|
|
698
|
-
}
|
|
699
|
-
var done = Promise.resolve(ns);
|
|
700
|
-
var load = this[REGISTRY][id] || (this[REGISTRY][id] = {
|
|
701
|
-
id: id,
|
|
702
|
-
i: [],
|
|
703
|
-
h: false,
|
|
704
|
-
d: [],
|
|
705
|
-
e: null,
|
|
706
|
-
er: undefined,
|
|
707
|
-
E: undefined
|
|
708
|
-
});
|
|
709
|
-
if (load.e || load.E) return false;
|
|
710
|
-
Object.assign(load, {
|
|
711
|
-
n: ns,
|
|
712
|
-
I: undefined,
|
|
713
|
-
L: undefined,
|
|
714
|
-
C: done
|
|
715
|
-
});
|
|
716
|
-
return ns;
|
|
717
|
-
};
|
|
718
|
-
systemJSPrototype.has = function (id) {
|
|
719
|
-
var load = this[REGISTRY][id];
|
|
720
|
-
return !!load;
|
|
721
|
-
};
|
|
722
|
-
|
|
723
|
-
// Delete function provided for hot-reloading use cases
|
|
724
|
-
systemJSPrototype["delete"] = function (id) {
|
|
725
|
-
var registry = this[REGISTRY];
|
|
726
|
-
var load = registry[id];
|
|
727
|
-
// in future we can support load.E case by failing load first
|
|
728
|
-
// but that will require TLA callbacks to be implemented
|
|
729
|
-
if (!load || load.e !== null || load.E) return false;
|
|
730
|
-
var importerSetters = load.i;
|
|
731
|
-
// remove from importerSetters
|
|
732
|
-
// (release for gc)
|
|
733
|
-
if (load.d) load.d.forEach(function (depLoad) {
|
|
734
|
-
var importerIndex = depLoad.i.indexOf(load);
|
|
735
|
-
if (importerIndex !== -1) depLoad.i.splice(importerIndex, 1);
|
|
736
|
-
});
|
|
737
|
-
delete registry[id];
|
|
738
|
-
return function () {
|
|
739
|
-
var load = registry[id];
|
|
740
|
-
if (!load || !importerSetters || load.e !== null || load.E) return false;
|
|
741
|
-
// add back the old setters
|
|
742
|
-
importerSetters.forEach(function (setter) {
|
|
743
|
-
load.i.push(setter);
|
|
744
|
-
setter(load.n);
|
|
745
|
-
});
|
|
746
|
-
importerSetters = null;
|
|
747
|
-
};
|
|
748
|
-
};
|
|
749
|
-
var iterator = typeof Symbol !== 'undefined' && Symbol.iterator;
|
|
750
|
-
systemJSPrototype.entries = function () {
|
|
751
|
-
var loader = this,
|
|
752
|
-
keys = Object.keys(loader[REGISTRY]);
|
|
753
|
-
var index = 0,
|
|
754
|
-
ns,
|
|
755
|
-
key;
|
|
756
|
-
var result = {
|
|
757
|
-
next: function next() {
|
|
758
|
-
while ((key = keys[index++]) !== undefined && (ns = loader.get(key)) === undefined);
|
|
759
|
-
return {
|
|
760
|
-
done: key === undefined,
|
|
761
|
-
value: key !== undefined && [key, ns]
|
|
762
|
-
};
|
|
763
|
-
}
|
|
764
|
-
};
|
|
765
|
-
result[iterator] = function () {
|
|
766
|
-
return this;
|
|
767
|
-
};
|
|
768
|
-
return result;
|
|
769
|
-
};
|
|
770
|
-
})();
|
|
771
|
-
}
|