@pisell/materials 6.9.3 → 6.9.5
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/README.md +283 -1
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +145 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +20 -20
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +7 -0
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/es/components/PisellCards/components/TextCard/types.d.ts +270 -0
- package/es/components/PisellCards/index.d.ts +0 -1
- package/es/components/PisellFields/index.d.ts +36 -0
- package/es/components/PisellFields/index.js +41 -0
- package/es/components/PisellLayouts/index.d.ts +32 -0
- package/es/components/PisellLayouts/index.js +43 -0
- package/es/components/PisellMetrics/index.d.ts +23 -0
- package/es/components/PisellMetrics/index.js +29 -0
- package/es/components/cardMetricItem/index.d.ts +4 -1
- package/es/components/cardMetricItem/index.js +5 -0
- package/es/components/cardPro/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +179 -0
- package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +24 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +16 -0
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +12 -12
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/es/components/date-picker/datePickerCpt.d.ts +0 -1
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/es/components/drag-sort-tree/index.d.ts +4 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/lowCodePage/index.d.ts +0 -1
- package/es/components/page/index.js +4 -121
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisell-config-provider/index.d.ts +13 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/es/components/pisellAdjustPrice/index.d.ts +4 -0
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
- package/es/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/es/components/pisellCurrency/PisellCurrency.js +67 -0
- package/es/components/pisellCurrency/PisellCurrency.less +43 -0
- package/es/components/pisellCurrency/PisellCurrency.stories.d.ts +56 -0
- package/es/components/pisellCurrency/PisellCurrency.stories.js +426 -0
- package/es/components/pisellCurrency/components/DisabledView.d.ts +11 -0
- package/es/components/pisellCurrency/components/DisabledView.js +51 -0
- package/es/components/pisellCurrency/components/EditView.d.ts +18 -0
- package/es/components/pisellCurrency/components/EditView.js +127 -0
- package/es/components/pisellCurrency/components/ReadOnlyView.d.ts +17 -0
- package/es/components/pisellCurrency/components/ReadOnlyView.js +70 -0
- package/es/components/pisellCurrency/components/index.d.ts +6 -0
- package/es/components/pisellCurrency/components/index.js +7 -0
- package/es/components/pisellCurrency/index.d.ts +6 -0
- package/es/components/pisellCurrency/index.js +7 -0
- package/es/components/pisellCurrency/types.d.ts +56 -0
- package/es/components/pisellCurrency/types.js +1 -0
- package/es/components/pisellCurrency/utils/currencyFormatter.d.ts +31 -0
- package/es/components/pisellCurrency/utils/currencyFormatter.js +50 -0
- package/es/components/pisellCurrency/utils/index.d.ts +5 -0
- package/es/components/pisellCurrency/utils/index.js +5 -0
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +7 -1
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +30 -3
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +22 -0
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +117 -0
- package/es/components/pisellDataSourceContainer/components/Pagination/index.js +16 -7
- package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
- package/es/components/pisellDataSourceContainer/components/Table/index.js +5 -3
- package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
- package/es/components/pisellDataSourceContainer/components/Table/useColumns.js +37 -15
- package/es/components/pisellDatePicker/index.d.ts +0 -1
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +35 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +188 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +75 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +176 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.js +1085 -0
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +43 -0
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.js +50 -0
- package/es/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +42 -0
- package/es/components/pisellDateTimeDisplay/components/TimeDisplay.js +44 -0
- package/es/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +57 -0
- package/es/components/pisellDateTimeDisplay/components/WeekdayDisplay.js +59 -0
- package/es/components/pisellDateTimeDisplay/components/index.d.ts +6 -0
- package/es/components/pisellDateTimeDisplay/components/index.js +3 -0
- package/es/components/pisellDateTimeDisplay/hooks/index.d.ts +2 -0
- package/es/components/pisellDateTimeDisplay/hooks/index.js +1 -0
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +45 -0
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +79 -0
- package/es/components/pisellDateTimeDisplay/index.d.ts +2 -0
- package/es/components/pisellDateTimeDisplay/index.js +1 -0
- package/es/components/pisellDateTimeDisplay/types.d.ts +298 -0
- package/es/components/pisellDateTimeDisplay/types.js +1 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDate.d.ts +21 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDate.js +127 -0
- package/es/components/pisellDateTimeDisplay/utils/formatTime.d.ts +19 -0
- package/es/components/pisellDateTimeDisplay/utils/formatTime.js +44 -0
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -0
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.js +61 -0
- package/es/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +18 -0
- package/es/components/pisellDateTimeDisplay/utils/getRefreshInterval.js +28 -0
- package/es/components/pisellDateTimeDisplay/utils/index.d.ts +4 -0
- package/es/components/pisellDateTimeDisplay/utils/index.js +4 -0
- package/es/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/es/components/pisellEmail/PisellEmail.js +64 -0
- package/es/components/pisellEmail/PisellEmail.less +50 -0
- package/es/components/pisellEmail/PisellEmail.stories.d.ts +116 -0
- package/es/components/pisellEmail/PisellEmail.stories.js +699 -0
- package/es/components/pisellEmail/components/DisabledView.d.ts +14 -0
- package/es/components/pisellEmail/components/DisabledView.js +21 -0
- package/es/components/pisellEmail/components/EditView.d.ts +15 -0
- package/es/components/pisellEmail/components/EditView.js +146 -0
- package/es/components/pisellEmail/components/ReadOnlyView.d.ts +15 -0
- package/es/components/pisellEmail/components/ReadOnlyView.js +81 -0
- package/es/components/pisellEmail/constants/emailDomains.d.ts +5 -0
- package/es/components/pisellEmail/constants/emailDomains.js +11 -0
- package/es/components/pisellEmail/constants/emailRegex.d.ts +13 -0
- package/es/components/pisellEmail/constants/emailRegex.js +15 -0
- package/es/components/pisellEmail/index.d.ts +5 -0
- package/es/components/pisellEmail/index.js +5 -0
- package/es/components/pisellEmail/types.d.ts +176 -0
- package/es/components/pisellEmail/types.js +1 -0
- package/es/components/pisellEmail/utils/domainSuggestions.d.ts +15 -0
- package/es/components/pisellEmail/utils/domainSuggestions.js +46 -0
- package/es/components/pisellEmail/utils/emailHelper.d.ts +66 -0
- package/es/components/pisellEmail/utils/emailHelper.js +135 -0
- package/es/components/pisellEmail/utils/emailValidator.d.ts +45 -0
- package/es/components/pisellEmail/utils/emailValidator.js +130 -0
- package/es/components/pisellEmail/utils/index.d.ts +6 -0
- package/es/components/pisellEmail/utils/index.js +12 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/pisellLayout/index.d.ts +1 -1
- package/es/components/pisellLoading/index.d.ts +0 -1
- package/es/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/es/components/pisellLongText/PisellLongText.js +66 -0
- package/es/components/pisellLongText/PisellLongText.less +60 -0
- package/es/components/pisellLongText/PisellLongText.stories.d.ts +123 -0
- package/es/components/pisellLongText/PisellLongText.stories.js +589 -0
- package/es/components/pisellLongText/components/DisabledView.d.ts +16 -0
- package/es/components/pisellLongText/components/DisabledView.js +51 -0
- package/es/components/pisellLongText/components/EditView.d.ts +19 -0
- package/es/components/pisellLongText/components/EditView.js +62 -0
- package/es/components/pisellLongText/components/ReadOnlyView.d.ts +18 -0
- package/es/components/pisellLongText/components/ReadOnlyView.js +97 -0
- package/es/components/pisellLongText/index.d.ts +6 -0
- package/es/components/pisellLongText/index.js +7 -0
- package/es/components/pisellLongText/types.d.ts +147 -0
- package/es/components/pisellLongText/types.js +1 -0
- package/es/components/pisellMetricCard/PisellMetricCard.d.ts +35 -0
- package/es/components/pisellMetricCard/PisellMetricCard.js +169 -0
- package/es/components/pisellMetricCard/PisellMetricCard.less +74 -0
- package/es/components/pisellMetricCard/PisellMetricCard.stories.d.ts +17 -0
- package/es/components/pisellMetricCard/PisellMetricCard.stories.js +208 -0
- package/es/components/pisellMetricCard/components/MetricComparison.d.ts +14 -0
- package/es/components/pisellMetricCard/components/MetricComparison.js +72 -0
- package/es/components/pisellMetricCard/components/MetricTitle.d.ts +12 -0
- package/es/components/pisellMetricCard/components/MetricTitle.js +52 -0
- package/es/components/pisellMetricCard/components/MetricValue.d.ts +12 -0
- package/es/components/pisellMetricCard/components/MetricValue.js +29 -0
- package/es/components/pisellMetricCard/components/TrendIcon.d.ts +14 -0
- package/es/components/pisellMetricCard/components/TrendIcon.js +30 -0
- package/es/components/pisellMetricCard/components/index.d.ts +7 -0
- package/es/components/pisellMetricCard/components/index.js +8 -0
- package/es/components/pisellMetricCard/index.d.ts +6 -0
- package/es/components/pisellMetricCard/index.js +7 -0
- package/es/components/pisellMetricCard/types.d.ts +201 -0
- package/es/components/pisellMetricCard/types.js +1 -0
- package/es/components/pisellMetricCard/utils/calculateTrend.d.ts +14 -0
- package/es/components/pisellMetricCard/utils/calculateTrend.js +29 -0
- package/es/components/pisellMetricCard/utils/formatMetricValue.d.ts +34 -0
- package/es/components/pisellMetricCard/utils/formatMetricValue.js +63 -0
- package/es/components/pisellMetricCard/utils/index.d.ts +5 -0
- package/es/components/pisellMetricCard/utils/index.js +6 -0
- package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/index.d.ts +0 -1
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.js +99 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +231 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +70 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +576 -0
- package/es/components/pisellMultipleSelect/components/DisabledView.d.ts +8 -0
- package/es/components/pisellMultipleSelect/components/DisabledView.js +56 -0
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/es/components/pisellMultipleSelect/components/EditView.js +176 -0
- package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +8 -0
- package/es/components/pisellMultipleSelect/components/ReadOnlyView.js +57 -0
- package/es/components/pisellMultipleSelect/index.d.ts +6 -0
- package/es/components/pisellMultipleSelect/index.js +7 -0
- package/es/components/pisellMultipleSelect/types.d.ts +160 -0
- package/es/components/pisellMultipleSelect/types.js +1 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
- package/es/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/es/components/pisellNumber/PisellNumber.js +70 -0
- package/es/components/pisellNumber/PisellNumber.less +30 -0
- package/es/components/pisellNumber/PisellNumber.stories.d.ts +66 -0
- package/es/components/pisellNumber/PisellNumber.stories.js +427 -0
- package/es/components/pisellNumber/components/DisabledView.d.ts +11 -0
- package/es/components/pisellNumber/components/DisabledView.js +50 -0
- package/es/components/pisellNumber/components/EditView.d.ts +18 -0
- package/es/components/pisellNumber/components/EditView.js +87 -0
- package/es/components/pisellNumber/components/ReadOnlyView.d.ts +16 -0
- package/es/components/pisellNumber/components/ReadOnlyView.js +60 -0
- package/es/components/pisellNumber/components/index.d.ts +6 -0
- package/es/components/pisellNumber/components/index.js +7 -0
- package/es/components/pisellNumber/index.d.ts +6 -0
- package/es/components/pisellNumber/index.js +7 -0
- package/es/components/pisellNumber/types.d.ts +168 -0
- package/es/components/pisellNumber/types.js +1 -0
- package/es/components/pisellPercent/PisellPercent.d.ts +38 -0
- package/es/components/pisellPercent/PisellPercent.js +66 -0
- package/es/components/pisellPercent/PisellPercent.less +54 -0
- package/es/components/pisellPercent/PisellPercent.stories.d.ts +52 -0
- package/es/components/pisellPercent/PisellPercent.stories.js +332 -0
- package/es/components/pisellPercent/components/DisabledView.d.ts +11 -0
- package/es/components/pisellPercent/components/DisabledView.js +49 -0
- package/es/components/pisellPercent/components/EditView.d.ts +17 -0
- package/es/components/pisellPercent/components/EditView.js +120 -0
- package/es/components/pisellPercent/components/ReadOnlyView.d.ts +14 -0
- package/es/components/pisellPercent/components/ReadOnlyView.js +94 -0
- package/es/components/pisellPercent/components/index.d.ts +6 -0
- package/es/components/pisellPercent/components/index.js +7 -0
- package/es/components/pisellPercent/index.d.ts +6 -0
- package/es/components/pisellPercent/index.js +7 -0
- package/es/components/pisellPercent/types.d.ts +68 -0
- package/es/components/pisellPercent/types.js +1 -0
- package/es/components/pisellPercent/utils/index.d.ts +6 -0
- package/es/components/pisellPercent/utils/index.js +6 -0
- package/es/components/pisellPercent/utils/percentFormatter.d.ts +27 -0
- package/es/components/pisellPercent/utils/percentFormatter.js +50 -0
- package/es/components/pisellPercent/utils/rangeConverter.d.ts +36 -0
- package/es/components/pisellPercent/utils/rangeConverter.js +87 -0
- package/es/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/es/components/pisellPhone/PisellPhone.js +63 -0
- package/es/components/pisellPhone/PisellPhone.less +85 -0
- package/es/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
- package/es/components/pisellPhone/PisellPhone.stories.js +363 -0
- package/es/components/pisellPhone/components/DisabledView.d.ts +16 -0
- package/es/components/pisellPhone/components/DisabledView.js +53 -0
- package/es/components/pisellPhone/components/EditView.d.ts +19 -0
- package/es/components/pisellPhone/components/EditView.js +116 -0
- package/es/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
- package/es/components/pisellPhone/components/ReadOnlyView.js +76 -0
- package/es/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/es/components/pisellPhone/constants/countryCodes.js +199 -0
- package/es/components/pisellPhone/index.d.ts +7 -0
- package/es/components/pisellPhone/index.js +9 -0
- package/es/components/pisellPhone/types.d.ts +209 -0
- package/es/components/pisellPhone/types.js +1 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.js +87 -0
- package/es/components/pisellPhone/utils/index.d.ts +6 -0
- package/es/components/pisellPhone/utils/index.js +7 -0
- package/es/components/pisellPhone/utils/phoneFormatter.d.ts +39 -0
- package/es/components/pisellPhone/utils/phoneFormatter.js +112 -0
- package/es/components/pisellPhone/utils/phoneValidator.d.ts +11 -0
- package/es/components/pisellPhone/utils/phoneValidator.js +59 -0
- package/es/components/pisellRating/PisellRating.d.ts +31 -0
- package/es/components/pisellRating/PisellRating.js +120 -0
- package/es/components/pisellRating/PisellRating.less +41 -0
- package/es/components/pisellRating/PisellRating.stories.d.ts +53 -0
- package/es/components/pisellRating/PisellRating.stories.js +243 -0
- package/es/components/pisellRating/index.d.ts +6 -0
- package/es/components/pisellRating/index.js +7 -0
- package/es/components/pisellRating/types.d.ts +124 -0
- package/es/components/pisellRating/types.js +1 -0
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.js +67 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.less +62 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +102 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.stories.js +507 -0
- package/es/components/pisellSingleLineText/components/DisabledView.d.ts +16 -0
- package/es/components/pisellSingleLineText/components/DisabledView.js +51 -0
- package/es/components/pisellSingleLineText/components/EditView.d.ts +19 -0
- package/es/components/pisellSingleLineText/components/EditView.js +59 -0
- package/es/components/pisellSingleLineText/components/ReadOnlyView.d.ts +20 -0
- package/es/components/pisellSingleLineText/components/ReadOnlyView.js +153 -0
- package/es/components/pisellSingleLineText/index.d.ts +6 -0
- package/es/components/pisellSingleLineText/index.js +7 -0
- package/es/components/pisellSingleLineText/types.d.ts +139 -0
- package/es/components/pisellSingleLineText/types.js +1 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.js +70 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.less +159 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +66 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.stories.js +517 -0
- package/es/components/pisellSingleSelect/components/DisabledView.d.ts +8 -0
- package/es/components/pisellSingleSelect/components/DisabledView.js +54 -0
- package/es/components/pisellSingleSelect/components/EditView.d.ts +8 -0
- package/es/components/pisellSingleSelect/components/EditView.js +156 -0
- package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +8 -0
- package/es/components/pisellSingleSelect/components/ReadOnlyView.js +37 -0
- package/es/components/pisellSingleSelect/index.d.ts +6 -0
- package/es/components/pisellSingleSelect/index.js +7 -0
- package/es/components/pisellSingleSelect/types.d.ts +92 -0
- package/es/components/pisellSingleSelect/types.js +1 -0
- package/es/components/pisellText/components/Amount/index.d.ts +20 -0
- package/es/components/pisellToast/index.d.ts +17 -0
- package/es/components/pisellToast/squareToast/index.d.ts +15 -0
- package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/es/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/es/components/pisellUrl/PisellUrl.js +64 -0
- package/es/components/pisellUrl/PisellUrl.less +46 -0
- package/es/components/pisellUrl/PisellUrl.stories.d.ts +108 -0
- package/es/components/pisellUrl/PisellUrl.stories.js +713 -0
- package/es/components/pisellUrl/components/DisabledView.d.ts +14 -0
- package/es/components/pisellUrl/components/DisabledView.js +21 -0
- package/es/components/pisellUrl/components/EditView.d.ts +15 -0
- package/es/components/pisellUrl/components/EditView.js +119 -0
- package/es/components/pisellUrl/components/ReadOnlyView.d.ts +15 -0
- package/es/components/pisellUrl/components/ReadOnlyView.js +90 -0
- package/es/components/pisellUrl/index.d.ts +5 -0
- package/es/components/pisellUrl/index.js +5 -0
- package/es/components/pisellUrl/types.d.ts +160 -0
- package/es/components/pisellUrl/types.js +1 -0
- package/es/components/pisellUrl/utils/index.d.ts +6 -0
- package/es/components/pisellUrl/utils/index.js +12 -0
- package/es/components/pisellUrl/utils/urlFormatter.d.ts +38 -0
- package/es/components/pisellUrl/utils/urlFormatter.js +80 -0
- package/es/components/pisellUrl/utils/urlHelper.d.ts +63 -0
- package/es/components/pisellUrl/utils/urlHelper.js +141 -0
- package/es/components/pisellUrl/utils/urlValidator.d.ts +46 -0
- package/es/components/pisellUrl/utils/urlValidator.js +83 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +32 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +21 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +99 -0
- package/es/components/productCard/components/Action/index.d.ts +3 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/es/components/productCard/components/Header/index.d.ts +3 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/index.d.ts +0 -1
- package/es/components/productCard/components/Sales/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
- package/es/components/productCard/components/Time/index.d.ts +3 -0
- package/es/components/productCard/locales.d.ts +84 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +85 -0
- package/es/components/productCard/utils.d.ts +31 -0
- package/es/components/qrcode/index.d.ts +0 -1
- package/es/components/select-time/index.d.ts +0 -1
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/types.d.ts +268 -0
- package/es/components/translation/index.d.ts +14 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/es/components/virtual-keyboard/index.d.ts +25 -0
- package/es/index.d.ts +173 -135
- package/es/index.js +214 -118
- package/es/theme/tokens.d.ts +22 -0
- package/es/theme/tokens.js +277 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +7 -0
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/lib/components/PisellCards/components/TextCard/types.d.ts +270 -0
- package/lib/components/PisellCards/index.d.ts +0 -1
- package/lib/components/PisellFields/index.d.ts +36 -0
- package/lib/components/PisellFields/index.js +49 -0
- package/lib/components/PisellLayouts/index.d.ts +32 -0
- package/lib/components/PisellLayouts/index.js +57 -0
- package/lib/components/PisellMetrics/index.d.ts +23 -0
- package/lib/components/PisellMetrics/index.js +43 -0
- package/lib/components/cardMetricItem/index.d.ts +4 -1
- package/lib/components/cardPro/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +179 -0
- package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +24 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +16 -0
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +12 -12
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/lib/components/drag-sort-tree/index.d.ts +4 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/lowCodePage/index.d.ts +0 -1
- package/lib/components/page/index.js +3 -121
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisell-config-provider/index.d.ts +13 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/lib/components/pisellCurrency/PisellCurrency.js +63 -0
- package/lib/components/pisellCurrency/PisellCurrency.less +43 -0
- package/lib/components/pisellCurrency/PisellCurrency.stories.d.ts +56 -0
- package/lib/components/pisellCurrency/PisellCurrency.stories.js +251 -0
- package/lib/components/pisellCurrency/components/DisabledView.d.ts +11 -0
- package/lib/components/pisellCurrency/components/DisabledView.js +77 -0
- package/lib/components/pisellCurrency/components/EditView.d.ts +18 -0
- package/lib/components/pisellCurrency/components/EditView.js +117 -0
- package/lib/components/pisellCurrency/components/ReadOnlyView.d.ts +17 -0
- package/lib/components/pisellCurrency/components/ReadOnlyView.js +79 -0
- package/lib/components/pisellCurrency/components/index.d.ts +6 -0
- package/lib/components/pisellCurrency/components/index.js +45 -0
- package/lib/components/pisellCurrency/index.d.ts +6 -0
- package/lib/components/pisellCurrency/index.js +39 -0
- package/lib/components/pisellCurrency/types.d.ts +56 -0
- package/lib/components/pisellCurrency/types.js +17 -0
- package/lib/components/pisellCurrency/utils/currencyFormatter.d.ts +31 -0
- package/lib/components/pisellCurrency/utils/currencyFormatter.js +56 -0
- package/lib/components/pisellCurrency/utils/index.d.ts +5 -0
- package/lib/components/pisellCurrency/utils/index.js +29 -0
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +7 -1
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +18 -2
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +22 -0
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +121 -0
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.js +21 -10
- package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
- package/lib/components/pisellDataSourceContainer/components/Table/index.js +3 -1
- package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
- package/lib/components/pisellDataSourceContainer/components/Table/useColumns.js +25 -14
- package/lib/components/pisellDatePicker/index.d.ts +0 -1
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +35 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +178 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +75 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +176 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.js +783 -0
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +43 -0
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.js +67 -0
- package/lib/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +42 -0
- package/lib/components/pisellDateTimeDisplay/components/TimeDisplay.js +64 -0
- package/lib/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +57 -0
- package/lib/components/pisellDateTimeDisplay/components/WeekdayDisplay.js +64 -0
- package/lib/components/pisellDateTimeDisplay/components/index.d.ts +6 -0
- package/lib/components/pisellDateTimeDisplay/components/index.js +35 -0
- package/lib/components/pisellDateTimeDisplay/hooks/index.d.ts +2 -0
- package/lib/components/pisellDateTimeDisplay/hooks/index.js +29 -0
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +45 -0
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +72 -0
- package/lib/components/pisellDateTimeDisplay/index.d.ts +2 -0
- package/lib/components/pisellDateTimeDisplay/index.js +39 -0
- package/lib/components/pisellDateTimeDisplay/types.d.ts +298 -0
- package/lib/components/pisellDateTimeDisplay/types.js +17 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDate.d.ts +21 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDate.js +91 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatTime.d.ts +19 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatTime.js +47 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.js +45 -0
- package/lib/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +18 -0
- package/lib/components/pisellDateTimeDisplay/utils/getRefreshInterval.js +35 -0
- package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +4 -0
- package/lib/components/pisellDateTimeDisplay/utils/index.js +38 -0
- package/lib/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/lib/components/pisellEmail/PisellEmail.js +62 -0
- package/lib/components/pisellEmail/PisellEmail.less +50 -0
- package/lib/components/pisellEmail/PisellEmail.stories.d.ts +116 -0
- package/lib/components/pisellEmail/PisellEmail.stories.js +532 -0
- package/lib/components/pisellEmail/components/DisabledView.d.ts +14 -0
- package/lib/components/pisellEmail/components/DisabledView.js +42 -0
- package/lib/components/pisellEmail/components/EditView.d.ts +15 -0
- package/lib/components/pisellEmail/components/EditView.js +123 -0
- package/lib/components/pisellEmail/components/ReadOnlyView.d.ts +15 -0
- package/lib/components/pisellEmail/components/ReadOnlyView.js +99 -0
- package/lib/components/pisellEmail/constants/emailDomains.d.ts +5 -0
- package/lib/components/pisellEmail/constants/emailDomains.js +49 -0
- package/lib/components/pisellEmail/constants/emailRegex.d.ts +13 -0
- package/lib/components/pisellEmail/constants/emailRegex.js +32 -0
- package/lib/components/pisellEmail/index.d.ts +5 -0
- package/lib/components/pisellEmail/index.js +40 -0
- package/lib/components/pisellEmail/types.d.ts +176 -0
- package/lib/components/pisellEmail/types.js +17 -0
- package/lib/components/pisellEmail/utils/domainSuggestions.d.ts +15 -0
- package/lib/components/pisellEmail/utils/domainSuggestions.js +42 -0
- package/lib/components/pisellEmail/utils/emailHelper.d.ts +66 -0
- package/lib/components/pisellEmail/utils/emailHelper.js +89 -0
- package/lib/components/pisellEmail/utils/emailValidator.d.ts +45 -0
- package/lib/components/pisellEmail/utils/emailValidator.js +97 -0
- package/lib/components/pisellEmail/utils/index.d.ts +6 -0
- package/lib/components/pisellEmail/utils/index.js +27 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/pisellLayout/index.d.ts +1 -1
- package/lib/components/pisellLoading/index.d.ts +0 -1
- package/lib/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/lib/components/pisellLongText/PisellLongText.js +62 -0
- package/lib/components/pisellLongText/PisellLongText.less +60 -0
- package/lib/components/pisellLongText/PisellLongText.stories.d.ts +123 -0
- package/lib/components/pisellLongText/PisellLongText.stories.js +492 -0
- package/lib/components/pisellLongText/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellLongText/components/DisabledView.js +51 -0
- package/lib/components/pisellLongText/components/EditView.d.ts +19 -0
- package/lib/components/pisellLongText/components/EditView.js +69 -0
- package/lib/components/pisellLongText/components/ReadOnlyView.d.ts +18 -0
- package/lib/components/pisellLongText/components/ReadOnlyView.js +86 -0
- package/lib/components/pisellLongText/index.d.ts +6 -0
- package/lib/components/pisellLongText/index.js +39 -0
- package/lib/components/pisellLongText/types.d.ts +147 -0
- package/lib/components/pisellLongText/types.js +17 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.d.ts +35 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.js +166 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.less +74 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.stories.d.ts +17 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.stories.js +238 -0
- package/lib/components/pisellMetricCard/components/MetricComparison.d.ts +14 -0
- package/lib/components/pisellMetricCard/components/MetricComparison.js +86 -0
- package/lib/components/pisellMetricCard/components/MetricTitle.d.ts +12 -0
- package/lib/components/pisellMetricCard/components/MetricTitle.js +84 -0
- package/lib/components/pisellMetricCard/components/MetricValue.d.ts +12 -0
- package/lib/components/pisellMetricCard/components/MetricValue.js +56 -0
- package/lib/components/pisellMetricCard/components/TrendIcon.d.ts +14 -0
- package/lib/components/pisellMetricCard/components/TrendIcon.js +50 -0
- package/lib/components/pisellMetricCard/components/index.d.ts +7 -0
- package/lib/components/pisellMetricCard/components/index.js +48 -0
- package/lib/components/pisellMetricCard/index.d.ts +6 -0
- package/lib/components/pisellMetricCard/index.js +41 -0
- package/lib/components/pisellMetricCard/types.d.ts +201 -0
- package/lib/components/pisellMetricCard/types.js +17 -0
- package/lib/components/pisellMetricCard/utils/calculateTrend.d.ts +14 -0
- package/lib/components/pisellMetricCard/utils/calculateTrend.js +38 -0
- package/lib/components/pisellMetricCard/utils/formatMetricValue.d.ts +34 -0
- package/lib/components/pisellMetricCard/utils/formatMetricValue.js +52 -0
- package/lib/components/pisellMetricCard/utils/index.d.ts +5 -0
- package/lib/components/pisellMetricCard/utils/index.js +32 -0
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/index.d.ts +0 -1
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.js +97 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +231 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +70 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +491 -0
- package/lib/components/pisellMultipleSelect/components/DisabledView.d.ts +8 -0
- package/lib/components/pisellMultipleSelect/components/DisabledView.js +82 -0
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/lib/components/pisellMultipleSelect/components/EditView.js +155 -0
- package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +8 -0
- package/lib/components/pisellMultipleSelect/components/ReadOnlyView.js +80 -0
- package/lib/components/pisellMultipleSelect/index.d.ts +6 -0
- package/lib/components/pisellMultipleSelect/index.js +39 -0
- package/lib/components/pisellMultipleSelect/types.d.ts +160 -0
- package/lib/components/pisellMultipleSelect/types.js +17 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
- package/lib/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/lib/components/pisellNumber/PisellNumber.js +63 -0
- package/lib/components/pisellNumber/PisellNumber.less +30 -0
- package/lib/components/pisellNumber/PisellNumber.stories.d.ts +66 -0
- package/lib/components/pisellNumber/PisellNumber.stories.js +341 -0
- package/lib/components/pisellNumber/components/DisabledView.d.ts +11 -0
- package/lib/components/pisellNumber/components/DisabledView.js +80 -0
- package/lib/components/pisellNumber/components/EditView.d.ts +18 -0
- package/lib/components/pisellNumber/components/EditView.js +97 -0
- package/lib/components/pisellNumber/components/ReadOnlyView.d.ts +16 -0
- package/lib/components/pisellNumber/components/ReadOnlyView.js +75 -0
- package/lib/components/pisellNumber/components/index.d.ts +6 -0
- package/lib/components/pisellNumber/components/index.js +45 -0
- package/lib/components/pisellNumber/index.d.ts +6 -0
- package/lib/components/pisellNumber/index.js +39 -0
- package/lib/components/pisellNumber/types.d.ts +168 -0
- package/lib/components/pisellNumber/types.js +17 -0
- package/lib/components/pisellPercent/PisellPercent.d.ts +38 -0
- package/lib/components/pisellPercent/PisellPercent.js +63 -0
- package/lib/components/pisellPercent/PisellPercent.less +54 -0
- package/lib/components/pisellPercent/PisellPercent.stories.d.ts +52 -0
- package/lib/components/pisellPercent/PisellPercent.stories.js +217 -0
- package/lib/components/pisellPercent/components/DisabledView.d.ts +11 -0
- package/lib/components/pisellPercent/components/DisabledView.js +74 -0
- package/lib/components/pisellPercent/components/EditView.d.ts +17 -0
- package/lib/components/pisellPercent/components/EditView.js +112 -0
- package/lib/components/pisellPercent/components/ReadOnlyView.d.ts +14 -0
- package/lib/components/pisellPercent/components/ReadOnlyView.js +109 -0
- package/lib/components/pisellPercent/components/index.d.ts +6 -0
- package/lib/components/pisellPercent/components/index.js +45 -0
- package/lib/components/pisellPercent/index.d.ts +6 -0
- package/lib/components/pisellPercent/index.js +39 -0
- package/lib/components/pisellPercent/types.d.ts +68 -0
- package/lib/components/pisellPercent/types.js +17 -0
- package/lib/components/pisellPercent/utils/index.d.ts +6 -0
- package/lib/components/pisellPercent/utils/index.js +34 -0
- package/lib/components/pisellPercent/utils/percentFormatter.d.ts +27 -0
- package/lib/components/pisellPercent/utils/percentFormatter.js +48 -0
- package/lib/components/pisellPercent/utils/rangeConverter.d.ts +36 -0
- package/lib/components/pisellPercent/utils/rangeConverter.js +59 -0
- package/lib/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/lib/components/pisellPhone/PisellPhone.js +62 -0
- package/lib/components/pisellPhone/PisellPhone.less +85 -0
- package/lib/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
- package/lib/components/pisellPhone/PisellPhone.stories.js +290 -0
- package/lib/components/pisellPhone/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellPhone/components/DisabledView.js +51 -0
- package/lib/components/pisellPhone/components/EditView.d.ts +19 -0
- package/lib/components/pisellPhone/components/EditView.js +101 -0
- package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
- package/lib/components/pisellPhone/components/ReadOnlyView.js +79 -0
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/lib/components/pisellPhone/constants/countryCodes.js +233 -0
- package/lib/components/pisellPhone/index.d.ts +7 -0
- package/lib/components/pisellPhone/index.js +46 -0
- package/lib/components/pisellPhone/types.d.ts +209 -0
- package/lib/components/pisellPhone/types.js +17 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.js +64 -0
- package/lib/components/pisellPhone/utils/index.d.ts +6 -0
- package/lib/components/pisellPhone/utils/index.js +49 -0
- package/lib/components/pisellPhone/utils/phoneFormatter.d.ts +39 -0
- package/lib/components/pisellPhone/utils/phoneFormatter.js +103 -0
- package/lib/components/pisellPhone/utils/phoneValidator.d.ts +11 -0
- package/lib/components/pisellPhone/utils/phoneValidator.js +61 -0
- package/lib/components/pisellRating/PisellRating.d.ts +31 -0
- package/lib/components/pisellRating/PisellRating.js +110 -0
- package/lib/components/pisellRating/PisellRating.less +41 -0
- package/lib/components/pisellRating/PisellRating.stories.d.ts +53 -0
- package/lib/components/pisellRating/PisellRating.stories.js +199 -0
- package/lib/components/pisellRating/index.d.ts +6 -0
- package/lib/components/pisellRating/index.js +39 -0
- package/lib/components/pisellRating/types.d.ts +124 -0
- package/lib/components/pisellRating/types.js +17 -0
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.js +62 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.less +62 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +102 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.js +379 -0
- package/lib/components/pisellSingleLineText/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellSingleLineText/components/DisabledView.js +51 -0
- package/lib/components/pisellSingleLineText/components/EditView.d.ts +19 -0
- package/lib/components/pisellSingleLineText/components/EditView.js +69 -0
- package/lib/components/pisellSingleLineText/components/ReadOnlyView.d.ts +20 -0
- package/lib/components/pisellSingleLineText/components/ReadOnlyView.js +164 -0
- package/lib/components/pisellSingleLineText/index.d.ts +6 -0
- package/lib/components/pisellSingleLineText/index.js +39 -0
- package/lib/components/pisellSingleLineText/types.d.ts +139 -0
- package/lib/components/pisellSingleLineText/types.js +17 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.js +78 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.less +159 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +66 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.js +444 -0
- package/lib/components/pisellSingleSelect/components/DisabledView.d.ts +8 -0
- package/lib/components/pisellSingleSelect/components/DisabledView.js +81 -0
- package/lib/components/pisellSingleSelect/components/EditView.d.ts +8 -0
- package/lib/components/pisellSingleSelect/components/EditView.js +141 -0
- package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +8 -0
- package/lib/components/pisellSingleSelect/components/ReadOnlyView.js +74 -0
- package/lib/components/pisellSingleSelect/index.d.ts +6 -0
- package/lib/components/pisellSingleSelect/index.js +39 -0
- package/lib/components/pisellSingleSelect/types.d.ts +92 -0
- package/lib/components/pisellSingleSelect/types.js +17 -0
- package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
- package/lib/components/pisellToast/index.d.ts +17 -0
- package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
- package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/lib/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/lib/components/pisellUrl/PisellUrl.js +62 -0
- package/lib/components/pisellUrl/PisellUrl.less +46 -0
- package/lib/components/pisellUrl/PisellUrl.stories.d.ts +108 -0
- package/lib/components/pisellUrl/PisellUrl.stories.js +506 -0
- package/lib/components/pisellUrl/components/DisabledView.d.ts +14 -0
- package/lib/components/pisellUrl/components/DisabledView.js +42 -0
- package/lib/components/pisellUrl/components/EditView.d.ts +15 -0
- package/lib/components/pisellUrl/components/EditView.js +109 -0
- package/lib/components/pisellUrl/components/ReadOnlyView.d.ts +15 -0
- package/lib/components/pisellUrl/components/ReadOnlyView.js +98 -0
- package/lib/components/pisellUrl/index.d.ts +5 -0
- package/lib/components/pisellUrl/index.js +40 -0
- package/lib/components/pisellUrl/types.d.ts +160 -0
- package/lib/components/pisellUrl/types.js +17 -0
- package/lib/components/pisellUrl/utils/index.d.ts +6 -0
- package/lib/components/pisellUrl/utils/index.js +27 -0
- package/lib/components/pisellUrl/utils/urlFormatter.d.ts +38 -0
- package/lib/components/pisellUrl/utils/urlFormatter.js +66 -0
- package/lib/components/pisellUrl/utils/urlHelper.d.ts +63 -0
- package/lib/components/pisellUrl/utils/urlHelper.js +97 -0
- package/lib/components/pisellUrl/utils/urlValidator.d.ts +46 -0
- package/lib/components/pisellUrl/utils/urlValidator.js +77 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +32 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +21 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +99 -0
- package/lib/components/productCard/components/Action/index.d.ts +3 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/index.d.ts +3 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/index.d.ts +0 -1
- package/lib/components/productCard/components/Sales/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
- package/lib/components/productCard/components/Time/index.d.ts +3 -0
- package/lib/components/productCard/locales.d.ts +84 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +85 -0
- package/lib/components/productCard/utils.d.ts +31 -0
- package/lib/components/qrcode/index.d.ts +0 -1
- package/lib/components/select-time/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/types.d.ts +268 -0
- package/lib/components/translation/index.d.ts +14 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/lib/components/virtual-keyboard/index.d.ts +25 -0
- package/lib/index.d.ts +173 -135
- package/lib/index.js +163 -117
- package/lib/theme/tokens.d.ts +22 -0
- package/lib/theme/tokens.js +277 -0
- package/lowcode/pisell-currency/index.ts +3 -0
- package/lowcode/pisell-currency/meta.ts +350 -0
- package/lowcode/pisell-currency/snippets.ts +52 -0
- package/lowcode/pisell-datetime-display/index.ts +3 -0
- package/lowcode/pisell-datetime-display/meta.ts +509 -0
- package/lowcode/pisell-datetime-display/snippets.ts +1 -0
- package/lowcode/pisell-email/index.ts +1 -0
- package/lowcode/pisell-email/meta.ts +484 -0
- package/lowcode/pisell-email/snippets.ts +63 -0
- package/lowcode/pisell-long-text/meta.ts +436 -0
- package/lowcode/pisell-long-text/snippets.ts +55 -0
- package/lowcode/pisell-metric-card/meta.ts +493 -0
- package/lowcode/pisell-metric-card/snippets.ts +54 -0
- package/lowcode/pisell-multiple-select/index.ts +3 -0
- package/lowcode/pisell-multiple-select/meta.ts +422 -0
- package/lowcode/pisell-multiple-select/snippets.ts +111 -0
- package/lowcode/pisell-number/index.ts +3 -0
- package/lowcode/pisell-number/meta.ts +497 -0
- package/lowcode/pisell-number/snippets.ts +68 -0
- package/lowcode/pisell-percent/index.ts +3 -0
- package/lowcode/pisell-percent/meta.ts +201 -0
- package/lowcode/pisell-percent/snippets.ts +61 -0
- package/lowcode/pisell-phone/meta.ts +389 -0
- package/lowcode/pisell-phone/snippets.ts +52 -0
- package/lowcode/pisell-rating/index.ts +3 -0
- package/lowcode/pisell-rating/meta.ts +130 -0
- package/lowcode/pisell-rating/snippets.ts +38 -0
- package/lowcode/pisell-single-line-text/meta.ts +525 -0
- package/lowcode/pisell-single-line-text/snippets.ts +41 -0
- package/lowcode/pisell-single-select/index.ts +3 -0
- package/lowcode/pisell-single-select/meta.ts +370 -0
- package/lowcode/pisell-single-select/snippets.ts +70 -0
- package/lowcode/pisell-url/index.ts +1 -0
- package/lowcode/pisell-url/meta.ts +512 -0
- package/lowcode/pisell-url/snippets.ts +75 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,3 +1,285 @@
|
|
|
1
1
|
# @pisell/materials
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Pisell 2.0 基础物料库 - 包含原子组件和 Pro 组件
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@pisell/materials)
|
|
6
|
+
[](https://github.com/your-org/pisell2)
|
|
7
|
+
|
|
8
|
+
## 📦 安装
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @pisell/materials
|
|
12
|
+
# or
|
|
13
|
+
pnpm add @pisell/materials
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## 🚀 快速开始
|
|
17
|
+
|
|
18
|
+
### ✨ 方式一:命名空间导入(推荐)
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
import { PisellFields, PisellMetrics, PisellLayouts, PisellCards } from '@pisell/materials';
|
|
22
|
+
|
|
23
|
+
// 字段组件 - 支持编辑/只读/禁用三态
|
|
24
|
+
<PisellFields.SingleLineText value="Hello" viewMode="edit" />
|
|
25
|
+
<PisellFields.Currency value={1000} currencySymbol="$" />
|
|
26
|
+
<PisellFields.Percent value={0.85} />
|
|
27
|
+
|
|
28
|
+
// 数据展示 - 指标卡片
|
|
29
|
+
<PisellMetrics.MetricCard
|
|
30
|
+
title="Total Sales"
|
|
31
|
+
value={1580}
|
|
32
|
+
comparison={120}
|
|
33
|
+
showTrendIcon
|
|
34
|
+
/>
|
|
35
|
+
|
|
36
|
+
// 布局组件 - 网格布局
|
|
37
|
+
<PisellLayouts.BasicGrid columns={3} gap={16}>
|
|
38
|
+
{items.map(item => <Card key={item.id} {...item} />)}
|
|
39
|
+
</PisellLayouts.BasicGrid>
|
|
40
|
+
|
|
41
|
+
// 卡片组件
|
|
42
|
+
<PisellCards.TextCard title="标题" content="内容" />
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### ✅ 方式二:单独导入(兼容历史)
|
|
46
|
+
|
|
47
|
+
```tsx
|
|
48
|
+
import {
|
|
49
|
+
PisellSingleLineText,
|
|
50
|
+
PisellMetricCard,
|
|
51
|
+
PisellBasicGrid
|
|
52
|
+
} from '@pisell/materials';
|
|
53
|
+
|
|
54
|
+
// 使用方式完全一致
|
|
55
|
+
<PisellSingleLineText value="Hello" viewMode="edit" />
|
|
56
|
+
<PisellMetricCard title="Total Sales" value={1580} />
|
|
57
|
+
<PisellBasicGrid columns={3}>{children}</PisellBasicGrid>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
> 💡 **两种方式完全等价**,选择你喜欢的方式!详见 [命名空间使用指南](./NAMESPACE_GUIDE.md)
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## 📚 组件分类
|
|
65
|
+
|
|
66
|
+
### 🌟 命名空间(推荐使用)
|
|
67
|
+
|
|
68
|
+
| 命名空间 | 说明 | 组件数量 | 使用方式 |
|
|
69
|
+
|---------|------|---------|----------|
|
|
70
|
+
| **`PisellFields`** | 字段组件(三态视图) | 11 个 | `<PisellFields.SingleLineText />` |
|
|
71
|
+
| **`PisellMetrics`** | 指标展示组件 | 3 个 | `<PisellMetrics.MetricCard />` |
|
|
72
|
+
| **`PisellLayouts`** | 布局组件 | 10 个 | `<PisellLayouts.BasicGrid />` |
|
|
73
|
+
| **`PisellCards`** | 卡片组件 | 5 个 | `<PisellCards.TextCard />` |
|
|
74
|
+
|
|
75
|
+
### 📦 完整组件列表
|
|
76
|
+
|
|
77
|
+
| 分类 | 组件数量 | 说明 |
|
|
78
|
+
|------|---------|------|
|
|
79
|
+
| 字段组件 | 11 个 | 支持编辑/只读/禁用三态的表单字段 |
|
|
80
|
+
| 卡片组件 | 12+ 个 | 各类内容展示卡片 |
|
|
81
|
+
| 数据展示 | 10+ 个 | 指标、统计、KPI 展示 |
|
|
82
|
+
| 布局组件 | 10+ 个 | 页面布局和容器 |
|
|
83
|
+
| 表格组件 | 5 个 | 数据表格及增强功能 |
|
|
84
|
+
| 表单组件 | 15+ 个 | 表单输入和编辑 |
|
|
85
|
+
| 导航组件 | 10+ 个 | 菜单、步骤条、标签页 |
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## ⭐ 核心特性
|
|
90
|
+
|
|
91
|
+
### 命名空间组件示例
|
|
92
|
+
|
|
93
|
+
#### 1. PisellFields - 字段组件(最新开发)
|
|
94
|
+
|
|
95
|
+
```tsx
|
|
96
|
+
import { PisellFields } from '@pisell/materials';
|
|
97
|
+
|
|
98
|
+
// 支持三态视图:编辑态、只读态、禁用态
|
|
99
|
+
<PisellFields.SingleLineText
|
|
100
|
+
value="Hello"
|
|
101
|
+
viewMode="edit" // edit | readonly | disabled
|
|
102
|
+
onChange={setValue}
|
|
103
|
+
/>
|
|
104
|
+
|
|
105
|
+
<PisellFields.Currency
|
|
106
|
+
value={1000}
|
|
107
|
+
currencySymbol="$"
|
|
108
|
+
precision={2}
|
|
109
|
+
useGrouping
|
|
110
|
+
/>
|
|
111
|
+
|
|
112
|
+
<PisellFields.Percent
|
|
113
|
+
value={0.85}
|
|
114
|
+
showAsDecimal={false} // 显示为 85%
|
|
115
|
+
/>
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**完整字段列表:**
|
|
119
|
+
- SingleLineText, LongText
|
|
120
|
+
- Number, Currency, Percent
|
|
121
|
+
- Phone, Email, Url
|
|
122
|
+
- Rating, SingleSelect, MultipleSelect
|
|
123
|
+
|
|
124
|
+
#### 2. PisellMetrics - 指标展示
|
|
125
|
+
|
|
126
|
+
```tsx
|
|
127
|
+
import { PisellMetrics } from '@pisell/materials';
|
|
128
|
+
|
|
129
|
+
// 完整功能的指标卡片
|
|
130
|
+
<PisellMetrics.MetricCard
|
|
131
|
+
title="Total Sales"
|
|
132
|
+
value={1580}
|
|
133
|
+
showCurrencySymbol
|
|
134
|
+
currencySymbol="$"
|
|
135
|
+
comparison={120} // 环比数据
|
|
136
|
+
showComparison
|
|
137
|
+
showTrendIcon // 自动显示上升/下降箭头
|
|
138
|
+
/>
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
#### 3. PisellLayouts - 布局组合
|
|
142
|
+
|
|
143
|
+
```tsx
|
|
144
|
+
import { PisellLayouts, PisellCards } from '@pisell/materials';
|
|
145
|
+
|
|
146
|
+
// 推荐组合:快速搭建列表/网格场景
|
|
147
|
+
<PisellLayouts.ScrollView direction="horizontal">
|
|
148
|
+
<PisellLayouts.BasicGrid columns={3} gap={16}>
|
|
149
|
+
{items.map(item => (
|
|
150
|
+
<PisellCards.TextCard key={item.id} {...item} />
|
|
151
|
+
))}
|
|
152
|
+
</PisellLayouts.BasicGrid>
|
|
153
|
+
</PisellLayouts.ScrollView>
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 📖 完整文档
|
|
159
|
+
|
|
160
|
+
- **命名空间指南**:[NAMESPACE_GUIDE.md](./NAMESPACE_GUIDE.md) - ✨ 新的命名空间使用方式
|
|
161
|
+
- **组件索引**:[COMPONENTS.md](./COMPONENTS.md) - 162 个组件的完整分类索引
|
|
162
|
+
- **开发规范**:[.cursor/rules/create-component-rule.mdc](../../.cursor/rules/create-component-rule.mdc)
|
|
163
|
+
- **LowCode 配置**:[.cursor/rules/lowcode-meta-rule.mdc](../../.cursor/rules/lowcode-meta-rule.mdc)
|
|
164
|
+
- **在线文档**:查看 application/docs
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 🛠️ 开发
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
# 安装依赖
|
|
172
|
+
pnpm install
|
|
173
|
+
|
|
174
|
+
# 开发模式(低代码)
|
|
175
|
+
pnpm run lowcode:dev
|
|
176
|
+
|
|
177
|
+
# 开发模式(ES 模块)
|
|
178
|
+
pnpm run dev
|
|
179
|
+
|
|
180
|
+
# 构建
|
|
181
|
+
pnpm run build
|
|
182
|
+
|
|
183
|
+
# 测试
|
|
184
|
+
pnpm run test
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## 📦 构建产物
|
|
190
|
+
|
|
191
|
+
### ESM/CJS 模块
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
lib/ # CommonJS 格式
|
|
195
|
+
es/ # ES Module 格式
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### LowCode 物料
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
build/lowcode/
|
|
202
|
+
├── assets-prod.json # 物料描述文件
|
|
203
|
+
├── view.js # UMD 格式组件包
|
|
204
|
+
└── view.css # 样式文件
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## 🔧 配置
|
|
210
|
+
|
|
211
|
+
### TypeScript
|
|
212
|
+
|
|
213
|
+
```tsx
|
|
214
|
+
import type {
|
|
215
|
+
PisellMetricCardProps,
|
|
216
|
+
PisellSingleLineTextProps,
|
|
217
|
+
PisellBasicGridProps
|
|
218
|
+
} from '@pisell/materials';
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### 低代码集成
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
// 在低代码引擎中使用
|
|
225
|
+
import assets from '@pisell/materials/build/lowcode/assets-prod.json';
|
|
226
|
+
|
|
227
|
+
// 加载物料
|
|
228
|
+
await loadAssets(assets);
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### 主题定制
|
|
232
|
+
|
|
233
|
+
```tsx
|
|
234
|
+
import { PisellConfigProvider } from '@pisell/materials';
|
|
235
|
+
|
|
236
|
+
<PisellConfigProvider theme={{...}}>
|
|
237
|
+
<App />
|
|
238
|
+
</PisellConfigProvider>
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## 📋 组件命名规范
|
|
244
|
+
|
|
245
|
+
| 前缀 | 说明 | 示例 |
|
|
246
|
+
|------|------|------|
|
|
247
|
+
| `Pisell*` | Pisell 系列组件 | PisellButton, PisellMetricCard |
|
|
248
|
+
| `DataSource*` | 数据源组件 | DataSourceForm, DataSourceTable |
|
|
249
|
+
| `FormItem*` | 表单项组件 | FormItemInput, FormItemSelect |
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## 🎯 使用建议
|
|
254
|
+
|
|
255
|
+
### 新项目
|
|
256
|
+
- ✅ 使用命名空间导入:`PisellFields`, `PisellMetrics` 等
|
|
257
|
+
- ✅ 更清晰的代码组织
|
|
258
|
+
- ✅ 更好的 IDE 提示
|
|
259
|
+
|
|
260
|
+
### 历史项目
|
|
261
|
+
- ✅ 保持现有导入方式
|
|
262
|
+
- ✅ 无需修改任何代码
|
|
263
|
+
- ✅ 100% 向后兼容
|
|
264
|
+
|
|
265
|
+
### 混合使用
|
|
266
|
+
- ✅ 两种方式可以同时使用
|
|
267
|
+
- ✅ 根据场景灵活选择
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
## 🤝 贡献
|
|
272
|
+
|
|
273
|
+
请参考 [组件开发规范](../../.cursor/rules/create-component-rule.mdc)
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## 📄 许可
|
|
278
|
+
|
|
279
|
+
MIT
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
**💡 提示**:
|
|
284
|
+
- 查看 [NAMESPACE_GUIDE.md](./NAMESPACE_GUIDE.md) 了解命名空间详细用法
|
|
285
|
+
- 查看 [COMPONENTS.md](./COMPONENTS.md) 获取完整组件列表
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"package": "@pisell/materials",
|
|
27
|
-
"version": "6.9.
|
|
27
|
+
"version": "6.9.4",
|
|
28
28
|
"library": "BaseMaterials",
|
|
29
29
|
"urls": [
|
|
30
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
31
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
30
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.js",
|
|
31
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.css"
|
|
32
32
|
],
|
|
33
33
|
"editUrls": [
|
|
34
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
35
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
34
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/view.js",
|
|
35
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/view.css"
|
|
36
36
|
],
|
|
37
37
|
"advancedUrls": {
|
|
38
38
|
"default": [
|
|
39
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
40
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
39
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.js",
|
|
40
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.css"
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"advancedEditUrls": {}
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"exportName": "PisellMaterialsMeta",
|
|
49
49
|
"npm": {
|
|
50
50
|
"package": "@pisell/materials",
|
|
51
|
-
"version": "6.9.
|
|
51
|
+
"version": "6.9.4"
|
|
52
52
|
},
|
|
53
|
-
"url": "https://unpkg.com/@pisell/materials@6.9.
|
|
53
|
+
"url": "https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/meta.js",
|
|
54
54
|
"urls": {
|
|
55
|
-
"default": "https://unpkg.com/@pisell/materials@6.9.
|
|
55
|
+
"default": "https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/meta.js"
|
|
56
56
|
},
|
|
57
57
|
"advancedUrls": {
|
|
58
58
|
"default": [
|
|
59
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
59
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/meta.js"
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"package": "@pisell/materials",
|
|
27
|
-
"version": "6.9.
|
|
27
|
+
"version": "6.9.4",
|
|
28
28
|
"library": "BaseMaterials",
|
|
29
29
|
"urls": [
|
|
30
30
|
"./render/default/view.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"exportName": "PisellMaterialsMeta",
|
|
49
49
|
"npm": {
|
|
50
50
|
"package": "@pisell/materials",
|
|
51
|
-
"version": "6.9.
|
|
51
|
+
"version": "6.9.4"
|
|
52
52
|
},
|
|
53
53
|
"url": "./meta.js",
|
|
54
54
|
"urls": {
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"package": "@pisell/materials",
|
|
27
|
-
"version": "6.9.
|
|
27
|
+
"version": "6.9.4",
|
|
28
28
|
"library": "BaseMaterials",
|
|
29
29
|
"urls": [
|
|
30
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
31
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
30
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.js",
|
|
31
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.css"
|
|
32
32
|
],
|
|
33
33
|
"editUrls": [
|
|
34
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
35
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
34
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/view.js",
|
|
35
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/view.css"
|
|
36
36
|
],
|
|
37
37
|
"advancedUrls": {
|
|
38
38
|
"default": [
|
|
39
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
40
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
39
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.js",
|
|
40
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/render/default/view.css"
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"advancedEditUrls": {}
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"exportName": "PisellMaterialsMeta",
|
|
49
49
|
"npm": {
|
|
50
50
|
"package": "@pisell/materials",
|
|
51
|
-
"version": "6.9.
|
|
51
|
+
"version": "6.9.4"
|
|
52
52
|
},
|
|
53
|
-
"url": "https://unpkg.com/@pisell/materials@6.9.
|
|
53
|
+
"url": "https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/meta.js",
|
|
54
54
|
"urls": {
|
|
55
|
-
"default": "https://unpkg.com/@pisell/materials@6.9.
|
|
55
|
+
"default": "https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/meta.js"
|
|
56
56
|
},
|
|
57
57
|
"advancedUrls": {
|
|
58
58
|
"default": [
|
|
59
|
-
"https://unpkg.com/@pisell/materials@6.9.
|
|
59
|
+
"https://unpkg.com/@pisell/materials@6.9.4/build/lowcode/meta.js"
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
}
|
package/build/lowcode/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function t(n,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.BaseMaterials=r():n.BaseMaterials=r()}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function n(){return t.default}:function n(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=1750)}({103:function(t,n){t.exports=window.LowcodePresetPlugin},105:function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},108:function(t,n){function r(t,n){return t===n||t!=t&&n!=n}t.exports=r},119:function(t,n,r){var e=r(88),o=r(79),i="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",a="[object Proxy]";function s(t){if(!o(t))return!1;var n=e(t);return n==c||n==u||n==i||n==a}t.exports=s},130:function(t,n,r){var e,o=r(71).Symbol;t.exports=o},131:function(t,n,r){var e,o,i=r(96)(r(71),"Map");t.exports=i},132:function(t,n){var r=Array.isArray;t.exports=r},133:function(t,n,r){var e=r(119),o=r(146);function i(t){return null!=t&&o(t.length)&&!e(t)}t.exports=i},143:function(t,n,r){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(this,r(93))},144:function(t,n,r){(function(t){var e=r(71),o=r(263),i=n&&!n.nodeType&&n,c=i&&"object"==typeof t&&t&&!t.nodeType&&t,u,a=c&&c.exports===i?e.Buffer:void 0,s,f=(a?a.isBuffer:void 0)||o;t.exports=f}).call(this,r(105)(t))},145:function(t,n,r){var e=r(264),o=r(265),i=r(266),c=i&&i.isTypedArray,u=c?o(c):e;t.exports=u},146:function(t,n){var r=9007199254740991;function e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}t.exports=e},163:function(t,n,r){var e=r(262),o=r(84),i=Object.prototype,c=i.hasOwnProperty,u=i.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&c.call(t,"callee")&&!u.call(t,"callee")};t.exports=a},164:function(t,n){var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function o(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}t.exports=o},165:function(t,n){var r=Object.prototype;function e(t){var n=t&&t.constructor,e;return t===("function"==typeof n&&n.prototype||r)}t.exports=e},167:function(t,n,r){var e=r(288);function o(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}t.exports=o},1750:function(t,n,r){t.exports=r(1751)},1751:function(t,n,r){"use strict";r.r(n);var e=r(103),o=r.n(e),i=r(875),c=r.n(i);function u(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function a(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?u(Object(r),!0).forEach((function(n){s(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}function s(t,n,r){return(n=f(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function f(t){var n=p(t,"string");return"symbol"==x(n)?n:n+""}function p(t,n){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,n||"default");if("object"!=x(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,r="function"==typeof Symbol?Symbol:{},e=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,e,o,i){var a=e&&e.prototype instanceof u?e:u,s=Object.create(a.prototype);return v(s,"_invoke",function(r,e,o){var i,u,a,s=0,f=o||[],p=!1,l={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function n(r,e){return i=r,u=0,a=t,l.n=e,c}};function v(r,e){for(u=r,a=e,n=0;!p&&s&&!o&&n<f.length;n++){var o,i=f[n],v=l.p,y=i[2];r>3?(o=y===e)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=r<2&&v<i[1])?(u=0,l.v=e,l.n=i[1]):v<y&&(o=r<3||i[0]>e||e>y)&&(i[4]=r,i[5]=e,l.n=y,u=0))}if(o||r>1)return c;throw p=!0,e}return function(o,f,y){if(s>1)throw TypeError("Generator is already running");for(p&&1===f&&v(f,y),u=f,a=y;(n=u<2?t:a)||!p;){i||(u?u<3?(u>1&&(l.n=-1),v(u,a)):l.n=a:l.v=a);try{if(s=2,i){if(u||(o="next"),n=i[o]){if(!(n=n.call(i,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,u<2&&(u=0)}else 1===u&&(n=i.return)&&n.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((n=(p=l.n<0)?a:r.call(e,l))!==c)break}catch(n){i=t,u=1,a=n}finally{s=1}}return{value:n,done:p}}}(r,o,i),!0),s}var c={};function u(){}function a(){}function s(){}n=Object.getPrototypeOf;var f=[][e]?n(n([][e]())):(v(n={},e,(function(){return this})),n),p=s.prototype=u.prototype=Object.create(f);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,v(t,o,"GeneratorFunction")),t.prototype=Object.create(p),t}return a.prototype=s,v(p,"constructor",s),v(s,"constructor",a),a.displayName="GeneratorFunction",v(s,o,"GeneratorFunction"),v(p),v(p,o,"Generator"),v(p,e,(function(){return this})),v(p,"toString",(function(){return"[object Generator]"})),(l=function t(){return{w:i,m:y}})()}function v(t,n,r,e){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(v=function t(n,r,e,i){function c(t,r){v(n,t,(function(n){return this._invoke(t,r,n)}))}r?o?o(n,r,{value:e,enumerable:!i,configurable:!i,writable:!i}):n[r]=e:(c("next",0),c("throw",1),c("return",2))})(t,n,r,e)}function y(t){return g(t)||h(t)||b(t)||d()}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(t,n){if(t){if("string"==typeof t)return m(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,n):void 0}}function h(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function g(t){if(Array.isArray(t))return m(t)}function m(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,n,r,e,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void r(t)}u.done?n(a):Promise.resolve(a).then(e,o)}function j(t){return function(){var n=this,r=arguments;return new Promise((function(e,o){var i=t.apply(n,r);function c(t){_(i,e,o,c,u,"next",t)}function u(t){_(i,e,o,c,u,"throw",t)}c(void 0)}))}}var w=new URLSearchParams(window.location.search),O="default",S=w.get("platform")||"",P=w.get("metaType")||S||"",k={meta:"/Users/zuoshengjie/Desktop/project/pisell/packages/materials/.tmp/meta.js"},A=P?"meta.".concat(P):"meta";k[A]||(console.warn("[@alifd/build-plugin-lowcode] metaType can only in [".concat(Object.keys(k),"], current metaType is ").concat(A,", fullback to ").concat("default",".")),P="");var T=!!e.material,z=!1,F="react",U=[{package:"moment",version:"2.24.0",urls:["https://g.alicdn.com/mylib/moment/2.24.0/min/moment.min.js"],library:"moment"},{package:"dayjs",version:"1.11.7",urls:["https://g.alicdn.com/code/lib/dayjs/1.11.7/dayjs.min.js"],library:"dayjs"},{package:"lodash",library:"_",urls:["https://g.alicdn.com/platform/c/lodash/4.6.1/lodash.min.js"]},{title:"fusion\u7ec4\u4ef6\u5e93",package:"@alifd/next",version:"1.25.23",urls:["https://g.alicdn.com/code/lib/alifd__next/1.25.23/next.min.css","https://g.alicdn.com/code/lib/alifd__next/1.25.23/next-with-locales.min.js"],library:"Next"},{package:"antd",version:"5.6.2",urls:["https://g.alicdn.com/code/lib/antd/5.6.2/antd.min.js"],library:"antd"}];var D={packages:[]},E="./assets-dev.json",M={},I={},B=[],G="component";var L=$()||{componentName:"Page",id:"node_dockcviv8fo1",props:{ref:"outterView",style:{height:"100%"}},fileName:"lowcode",dataSource:{list:[]},state:{text:"outter",isShowDialog:!1},css:"body {font-size: 12px;} .botton{width:100px;color:#ff00ff}",lifeCycles:{componentDidMount:{type:"JSFunction",value:"function() {\n console.log('did mount');\n }"},componentWillUnmount:{type:"JSFunction",value:"function() {\n console.log('will umount');\n }"}},methods:{testFunc:{type:"JSFunction",value:"function() {\n console.log('test func');\n }"},onClick:{type:"JSFunction",value:"function() {\n this.setState({\n isShowDialog: true\n })\n }"},closeDialog:{type:"JSFunction",value:"function() {\n this.setState({\n isShowDialog: false\n })\n }"}},children:[]},N=document.getElementById("lce-container");function $(){var t,n=JSON.parse(window.localStorage.getItem("projectSchema")||"{}"),r;return null==n||null===(t=n.componentsTree)||void 0===t?void 0:t[0]}function C(t,n){return J.apply(this,arguments)}function J(){return(J=j(l().m((function t(n,r){var e;return l().w((function(t){for(;;)switch(t.n){case 0:if(!(r&&Array.isArray(r)&&r.length)){t.n=2;break}return t.n=1,Promise.all(r.map(function(){var t=j(l().m((function t(n){var r;return l().w((function(t){for(;;)switch(t.p=t.n){case 0:if("object"!==x(n)){t.n=1;break}return t.a(2,n);case 1:return t.p=1,t.n=2,fetch(n);case 2:return t.a(2,t.v.json());case 3:return t.p=3,r=t.v,console.error("get assets data from builtin assets ".concat(n," failed: "),r),t.a(2,{});case 4:return t.a(2)}}),t,null,[[1,3]])})));return function(n){return t.apply(this,arguments)}}()));case 1:(e=t.v).forEach((function(t){var r=a(a({},t),{},{packages:t.packages||[t.package],components:t.components,componentList:(t.componentList||[]).map((function(t){return t.children&&(t.children=t.children.map((function(n){return n.sort||(n.sort={category:t.title,group:"\u539f\u5b50\u7ec4\u4ef6"}),n}))),t}))});c()(n,r,(function(t,n){if(Array.isArray(t)&&Array.isArray(n))return n.concat(t)}))}));case 2:return t.a(2)}}),t)})))).apply(this,arguments)}o()((function(){return{name:"editor-init",init:function t(){return j(l().m((function t(){var n,r,o,i,c,u,a,s;return l().w((function(t){for(;;)switch(t.n){case 0:return"object"===x(M)&&Object.keys(M).length&&e.setters.registerSetter(M),t.n=1,fetch(E);case 1:return t.n=2,t.v.json();case 2:n=t.v,r=n.packages,D.packages=D.packages.concat(r),D.components=n.components.map((function(t){return t.advancedUrls&&P&&t.advancedUrls[P]&&t.advancedUrls[P].length?t.url=t.advancedUrls[P][0]:t.urls&&P&&t.urls[P]&&(t.url=t.urls[P]),t})),D.groupList=n.groupList,t.n=5;break;case 3:o=!1,i=!1,a=!1,t.n=4;break;case 4:if(!(s=i)){t.n=5;break}return t.n=5,C(D,i);case 5:c=new Map,u=y(new Set([].concat(U,y(D.packages)).map((function(t){var n=t.library;return c.set(n,t),n})))),D.packages=u.map((function(t){return c.get(t)})),D.packages=D.packages.map((function(t){return t.editUrls&&t.editUrls.length&&(t.renderUrls=t.urls,t.urls=t.editUrls),t})),T?(e.material.setAssets(D),e.project.openDocument(L)):(e.editor.setAssets(D),e.project.open(L));case 6:return t.a(2)}}),t)})))()}}}),B||[],N,{supportVariableGlobally:!0,presetConfig:I})},188:function(t,n){var r,e=Function.prototype.toString;function o(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}t.exports=o},189:function(t,n,r){var e=r(247),o=r(254),i=r(256),c=r(257),u=r(258);function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}a.prototype.clear=e,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=u,t.exports=a},230:function(t,n,r){var e=r(130),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,u=e?e.toStringTag:void 0;function a(t){var n=i.call(t,u),r=t[u];try{t[u]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(n?t[u]=r:delete t[u]),o}t.exports=a},231:function(t,n){var r,e=Object.prototype.toString;function o(t){return e.call(t)}t.exports=o},232:function(t,n,r){var e=r(94),o=r(238),i=r(239),c=r(240),u=r(241),a=r(242);function s(t){var n=this.__data__=new e(t);this.size=n.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=c,s.prototype.has=u,s.prototype.set=a,t.exports=s},233:function(t,n){function r(){this.__data__=[],this.size=0}t.exports=r},234:function(t,n,r){var e=r(95),o,i=Array.prototype.splice;function c(t){var n=this.__data__,r=e(n,t),o;return!(r<0)&&(r==n.length-1?n.pop():i.call(n,r,1),--this.size,!0)}t.exports=c},235:function(t,n,r){var e=r(95);function o(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}t.exports=o},236:function(t,n,r){var e=r(95);function o(t){return e(this.__data__,t)>-1}t.exports=o},237:function(t,n,r){var e=r(95);function o(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}t.exports=o},238:function(t,n,r){var e=r(94);function o(){this.__data__=new e,this.size=0}t.exports=o},239:function(t,n){function r(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}t.exports=r},240:function(t,n){function r(t){return this.__data__.get(t)}t.exports=r},241:function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},242:function(t,n,r){var e=r(94),o=r(131),i=r(189),c=200;function u(t,n){var r=this.__data__;if(r instanceof e){var c=r.__data__;if(!o||c.length<199)return c.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(c)}return r.set(t,n),this.size=r.size,this}t.exports=u},243:function(t,n,r){var e=r(119),o=r(244),i=r(79),c=r(188),u=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,s=Function.prototype,f=Object.prototype,p=s.toString,l=f.hasOwnProperty,v=RegExp("^"+p.call(l).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(t){return!(!i(t)||o(t))&&(e(t)?v:a).test(c(t));var n}t.exports=y},244:function(t,n,r){var e=r(245),o=(i=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",i;function c(t){return!!o&&o in t}t.exports=c},245:function(t,n,r){var e,o=r(71)["__core-js_shared__"];t.exports=o},246:function(t,n){function r(t,n){return null==t?void 0:t[n]}t.exports=r},247:function(t,n,r){var e=r(248),o=r(94),i=r(131);function c(){this.size=0,this.__data__={hash:new e,map:new(i||o),string:new e}}t.exports=c},248:function(t,n,r){var e=r(249),o=r(250),i=r(251),c=r(252),u=r(253);function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}a.prototype.clear=e,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=u,t.exports=a},249:function(t,n,r){var e=r(97);function o(){this.__data__=e?e(null):{},this.size=0}t.exports=o},250:function(t,n){function r(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=r},251:function(t,n,r){var e=r(97),o="__lodash_hash_undefined__",i,c=Object.prototype.hasOwnProperty;function u(t){var n=this.__data__;if(e){var r=n[t];return r===o?void 0:r}return c.call(n,t)?n[t]:void 0}t.exports=u},252:function(t,n,r){var e=r(97),o,i=Object.prototype.hasOwnProperty;function c(t){var n=this.__data__;return e?void 0!==n[t]:i.call(n,t)}t.exports=c},253:function(t,n,r){var e=r(97),o="__lodash_hash_undefined__";function i(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?o:n,this}t.exports=i},254:function(t,n,r){var e=r(98);function o(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}t.exports=o},255:function(t,n){function r(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=r},256:function(t,n,r){var e=r(98);function o(t){return e(this,t).get(t)}t.exports=o},257:function(t,n,r){var e=r(98);function o(t){return e(this,t).has(t)}t.exports=o},258:function(t,n,r){var e=r(98);function o(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this}t.exports=o},259:function(t,n,r){var e,o=r(71).Uint8Array;t.exports=o},260:function(t,n,r){var e=r(261),o=r(163),i=r(132),c=r(144),u=r(164),a=r(145),s,f=Object.prototype.hasOwnProperty;function p(t,n){var r=i(t),s=!r&&o(t),p=!r&&!s&&c(t),l=!r&&!s&&!p&&a(t),v=r||s||p||l,y=v?e(t.length,String):[],d=y.length;for(var b in t)!n&&!f.call(t,b)||v&&("length"==b||p&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||u(b,d))||y.push(b);return y}t.exports=p},261:function(t,n){function r(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}t.exports=r},262:function(t,n,r){var e=r(88),o=r(84),i="[object Arguments]";function c(t){return o(t)&&e(t)==i}t.exports=c},263:function(t,n){function r(){return!1}t.exports=r},264:function(t,n,r){var e=r(88),o=r(146),i=r(84),c="[object Arguments]",u="[object Array]",a="[object Boolean]",s="[object Date]",f="[object Error]",p="[object Function]",l="[object Map]",v="[object Number]",y="[object Object]",d="[object RegExp]",b="[object Set]",h="[object String]",g="[object WeakMap]",m="[object ArrayBuffer]",x="[object DataView]",_,j="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",S="[object Int32Array]",P="[object Uint8Array]",k="[object Uint8ClampedArray]",A="[object Uint16Array]",T="[object Uint32Array]",z={};function F(t){return i(t)&&o(t.length)&&!!z[e(t)]}z["[object Float32Array]"]=z[j]=z[w]=z[O]=z[S]=z[P]=z[k]=z[A]=z[T]=!0,z[c]=z[u]=z[m]=z[a]=z[x]=z[s]=z[f]=z[p]=z[l]=z[v]=z[y]=z[d]=z[b]=z[h]=z[g]=!1,t.exports=F},265:function(t,n){function r(t){return function(n){return t(n)}}t.exports=r},266:function(t,n,r){(function(t){var e=r(143),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,c,u=i&&i.exports===o&&e.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=a}).call(this,r(105)(t))},267:function(t,n){function r(t,n){return function(r){return t(n(r))}}t.exports=r},287:function(t,n,r){var e=r(167),o=r(108);function i(t,n,r){(void 0!==r&&!o(t[n],r)||void 0===r&&!(n in t))&&e(t,n,r)}t.exports=i},288:function(t,n,r){var e=r(96),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},289:function(t,n,r){var e,o=r(267)(Object.getPrototypeOf,Object);t.exports=o},290:function(t,n){function r(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}t.exports=r},291:function(t,n,r){var e=r(260),o=r(464),i=r(133);function c(t){return i(t)?e(t,!0):o(t)}t.exports=c},292:function(t,n){function r(t){return t}t.exports=r},449:function(t,n,r){var e=r(232),o=r(287),i=r(450),c=r(452),u=r(79),a=r(291),s=r(290);function f(t,n,r,p,l){t!==n&&i(n,(function(i,a){if(l||(l=new e),u(i))c(t,n,a,r,f,p,l);else{var v=p?p(s(t,a),i,a+"",t,n,l):void 0;void 0===v&&(v=i),o(t,a,v)}}),a)}t.exports=f},450:function(t,n,r){var e,o=r(451)();t.exports=o},451:function(t,n){function r(t){return function(n,r,e){for(var o=-1,i=Object(n),c=e(n),u=c.length;u--;){var a=c[t?u:++o];if(!1===r(i[a],a,i))break}return n}}t.exports=r},452:function(t,n,r){var e=r(287),o=r(453),i=r(454),c=r(456),u=r(457),a=r(163),s=r(132),f=r(459),p=r(144),l=r(119),v=r(79),y=r(460),d=r(145),b=r(290),h=r(461);function g(t,n,r,g,m,x,_){var j=b(t,r),w=b(n,r),O=_.get(w);if(O)e(t,r,O);else{var S=x?x(j,w,r+"",t,n,_):void 0,P=void 0===S;if(P){var k=s(w),A=!k&&p(w),T=!k&&!A&&d(w);S=w,k||A||T?s(j)?S=j:f(j)?S=c(j):A?(P=!1,S=o(w,!0)):T?(P=!1,S=i(w,!0)):S=[]:y(w)||a(w)?(S=j,a(j)?S=h(j):v(j)&&!l(j)||(S=u(w))):P=!1}P&&(_.set(w,S),m(S,w,g,x,_),_.delete(w)),e(t,r,S)}}t.exports=g},453:function(t,n,r){(function(t){var e=r(71),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,c,u=i&&i.exports===o?e.Buffer:void 0,a=u?u.allocUnsafe:void 0;function s(t,n){if(n)return t.slice();var r=t.length,e=a?a(r):new t.constructor(r);return t.copy(e),e}t.exports=s}).call(this,r(105)(t))},454:function(t,n,r){var e=r(455);function o(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}t.exports=o},455:function(t,n,r){var e=r(259);function o(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}t.exports=o},456:function(t,n){function r(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}t.exports=r},457:function(t,n,r){var e=r(458),o=r(289),i=r(165);function c(t){return"function"!=typeof t.constructor||i(t)?{}:e(o(t))}t.exports=c},458:function(t,n,r){var e=r(79),o=Object.create,i=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=i},459:function(t,n,r){var e=r(133),o=r(84);function i(t){return o(t)&&e(t)}t.exports=i},460:function(t,n,r){var e=r(88),o=r(289),i=r(84),c="[object Object]",u=Function.prototype,a=Object.prototype,s=u.toString,f=a.hasOwnProperty,p=s.call(Object);function l(t){if(!i(t)||e(t)!=c)return!1;var n=o(t);if(null===n)return!0;var r=f.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==p}t.exports=l},461:function(t,n,r){var e=r(462),o=r(291);function i(t){return e(t,o(t))}t.exports=i},462:function(t,n,r){var e=r(463),o=r(167);function i(t,n,r,i){var c=!r;r||(r={});for(var u=-1,a=n.length;++u<a;){var s=n[u],f=i?i(r[s],t[s],s,r,t):void 0;void 0===f&&(f=t[s]),c?o(r,s,f):e(r,s,f)}return r}t.exports=i},463:function(t,n,r){var e=r(167),o=r(108),i,c=Object.prototype.hasOwnProperty;function u(t,n,r){var i=t[n];c.call(t,n)&&o(i,r)&&(void 0!==r||n in t)||e(t,n,r)}t.exports=u},464:function(t,n,r){var e=r(79),o=r(165),i=r(465),c,u=Object.prototype.hasOwnProperty;function a(t){if(!e(t))return i(t);var n=o(t),r=[];for(var c in t)("constructor"!=c||!n&&u.call(t,c))&&r.push(c);return r}t.exports=a},465:function(t,n){function r(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}t.exports=r},466:function(t,n,r){var e=r(467),o=r(474);function i(t){return e((function(n,r){var e=-1,i=r.length,c=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(c=t.length>3&&"function"==typeof c?(i--,c):void 0,u&&o(r[0],r[1],u)&&(c=i<3?void 0:c,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,c)}return n}))}t.exports=i},467:function(t,n,r){var e=r(292),o=r(468),i=r(470);function c(t,n){return i(o(t,n,e),t+"")}t.exports=c},468:function(t,n,r){var e=r(469),o=Math.max;function i(t,n,r){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,c=-1,u=o(i.length-n,0),a=Array(u);++c<u;)a[c]=i[n+c];c=-1;for(var s=Array(n+1);++c<n;)s[c]=i[c];return s[n]=r(a),e(t,this,s)}}t.exports=i},469:function(t,n){function r(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}t.exports=r},470:function(t,n,r){var e=r(471),o,i=r(473)(e);t.exports=i},471:function(t,n,r){var e=r(472),o=r(288),i=r(292),c=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:i;t.exports=c},472:function(t,n){function r(t){return function(){return t}}t.exports=r},473:function(t,n){var r=800,e=16,o=Date.now;function i(t){var n=0,r=0;return function(){var e=o(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}t.exports=i},474:function(t,n,r){var e=r(108),o=r(133),i=r(164),c=r(79);function u(t,n,r){if(!c(r))return!1;var u=typeof n;return!!("number"==u?o(r)&&i(n,r.length):"string"==u&&n in r)&&e(r[n],t)}t.exports=u},71:function(t,n,r){var e=r(143),o="object"==typeof self&&self&&self.Object===Object&&self,i=e||o||Function("return this")();t.exports=i},79:function(t,n){function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=r},84:function(t,n){function r(t){return null!=t&&"object"==typeof t}t.exports=r},875:function(t,n,r){var e=r(449),o,i=r(466)((function(t,n,r,o){e(t,n,r,o)}));t.exports=i},88:function(t,n,r){var e=r(130),o=r(230),i=r(231),c="[object Null]",u="[object Undefined]",a=e?e.toStringTag:void 0;function s(t){return null==t?void 0===t?u:c:a&&a in Object(t)?o(t):i(t)}t.exports=s},93:function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},94:function(t,n,r){var e=r(233),o=r(234),i=r(235),c=r(236),u=r(237);function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}a.prototype.clear=e,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=u,t.exports=a},95:function(t,n,r){var e=r(108);function o(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}t.exports=o},96:function(t,n,r){var e=r(243),o=r(246);function i(t,n){var r=o(t,n);return e(r)?r:void 0}t.exports=i},97:function(t,n,r){var e,o=r(96)(Object,"create");t.exports=o},98:function(t,n,r){var e=r(255);function o(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}t.exports=o}})}));
|
|
1
|
+
!function t(n,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.BaseMaterials=r():n.BaseMaterials=r()}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function n(){return t.default}:function n(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=1865)}({103:function(t,n){t.exports=window.LowcodePresetPlugin},105:function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},108:function(t,n){function r(t,n){return t===n||t!=t&&n!=n}t.exports=r},119:function(t,n,r){var e=r(90),o=r(79),i="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",a="[object Proxy]";function s(t){if(!o(t))return!1;var n=e(t);return n==c||n==u||n==i||n==a}t.exports=s},130:function(t,n,r){var e,o=r(71).Symbol;t.exports=o},131:function(t,n,r){var e,o,i=r(95)(r(71),"Map");t.exports=i},132:function(t,n){var r=Array.isArray;t.exports=r},133:function(t,n,r){var e=r(119),o=r(147);function i(t){return null!=t&&o(t.length)&&!e(t)}t.exports=i},144:function(t,n,r){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(this,r(92))},145:function(t,n,r){(function(t){var e=r(71),o=r(266),i=n&&!n.nodeType&&n,c=i&&"object"==typeof t&&t&&!t.nodeType&&t,u,a=c&&c.exports===i?e.Buffer:void 0,s,f=(a?a.isBuffer:void 0)||o;t.exports=f}).call(this,r(105)(t))},146:function(t,n,r){var e=r(267),o=r(268),i=r(269),c=i&&i.isTypedArray,u=c?o(c):e;t.exports=u},147:function(t,n){var r=9007199254740991;function e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}t.exports=e},162:function(t,n,r){var e=r(265),o=r(83),i=Object.prototype,c=i.hasOwnProperty,u=i.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&c.call(t,"callee")&&!u.call(t,"callee")};t.exports=a},163:function(t,n){var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function o(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}t.exports=o},164:function(t,n){var r=Object.prototype;function e(t){var n=t&&t.constructor,e;return t===("function"==typeof n&&n.prototype||r)}t.exports=e},166:function(t,n,r){var e=r(289);function o(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}t.exports=o},1865:function(t,n,r){t.exports=r(1866)},1866:function(t,n,r){"use strict";r.r(n);var e=r(103),o=r.n(e),i=r(913),c=r.n(i);function u(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function a(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?u(Object(r),!0).forEach((function(n){s(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}function s(t,n,r){return(n=f(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function f(t){var n=p(t,"string");return"symbol"==x(n)?n:n+""}function p(t,n){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,n||"default");if("object"!=x(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,r="function"==typeof Symbol?Symbol:{},e=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,e,o,i){var a=e&&e.prototype instanceof u?e:u,s=Object.create(a.prototype);return v(s,"_invoke",function(r,e,o){var i,u,a,s=0,f=o||[],p=!1,l={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function n(r,e){return i=r,u=0,a=t,l.n=e,c}};function v(r,e){for(u=r,a=e,n=0;!p&&s&&!o&&n<f.length;n++){var o,i=f[n],v=l.p,y=i[2];r>3?(o=y===e)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=r<2&&v<i[1])?(u=0,l.v=e,l.n=i[1]):v<y&&(o=r<3||i[0]>e||e>y)&&(i[4]=r,i[5]=e,l.n=y,u=0))}if(o||r>1)return c;throw p=!0,e}return function(o,f,y){if(s>1)throw TypeError("Generator is already running");for(p&&1===f&&v(f,y),u=f,a=y;(n=u<2?t:a)||!p;){i||(u?u<3?(u>1&&(l.n=-1),v(u,a)):l.n=a:l.v=a);try{if(s=2,i){if(u||(o="next"),n=i[o]){if(!(n=n.call(i,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,u<2&&(u=0)}else 1===u&&(n=i.return)&&n.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((n=(p=l.n<0)?a:r.call(e,l))!==c)break}catch(n){i=t,u=1,a=n}finally{s=1}}return{value:n,done:p}}}(r,o,i),!0),s}var c={};function u(){}function a(){}function s(){}n=Object.getPrototypeOf;var f=[][e]?n(n([][e]())):(v(n={},e,(function(){return this})),n),p=s.prototype=u.prototype=Object.create(f);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,v(t,o,"GeneratorFunction")),t.prototype=Object.create(p),t}return a.prototype=s,v(p,"constructor",s),v(s,"constructor",a),a.displayName="GeneratorFunction",v(s,o,"GeneratorFunction"),v(p),v(p,o,"Generator"),v(p,e,(function(){return this})),v(p,"toString",(function(){return"[object Generator]"})),(l=function t(){return{w:i,m:y}})()}function v(t,n,r,e){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(v=function t(n,r,e,i){function c(t,r){v(n,t,(function(n){return this._invoke(t,r,n)}))}r?o?o(n,r,{value:e,enumerable:!i,configurable:!i,writable:!i}):n[r]=e:(c("next",0),c("throw",1),c("return",2))})(t,n,r,e)}function y(t){return g(t)||h(t)||b(t)||d()}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(t,n){if(t){if("string"==typeof t)return m(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,n):void 0}}function h(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function g(t){if(Array.isArray(t))return m(t)}function m(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,n,r,e,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void r(t)}u.done?n(a):Promise.resolve(a).then(e,o)}function j(t){return function(){var n=this,r=arguments;return new Promise((function(e,o){var i=t.apply(n,r);function c(t){_(i,e,o,c,u,"next",t)}function u(t){_(i,e,o,c,u,"throw",t)}c(void 0)}))}}var w=new URLSearchParams(window.location.search),O="default",S=w.get("platform")||"",P=w.get("metaType")||S||"",k={meta:"/Users/wzw/Desktop/yc/pisell2/packages/materials/.tmp/meta.js"},A=P?"meta.".concat(P):"meta";k[A]||(console.warn("[@alifd/build-plugin-lowcode] metaType can only in [".concat(Object.keys(k),"], current metaType is ").concat(A,", fullback to ").concat("default",".")),P="");var T=!!e.material,z=!1,F="react",U=[{package:"moment",version:"2.24.0",urls:["https://g.alicdn.com/mylib/moment/2.24.0/min/moment.min.js"],library:"moment"},{package:"dayjs",version:"1.11.7",urls:["https://g.alicdn.com/code/lib/dayjs/1.11.7/dayjs.min.js"],library:"dayjs"},{package:"lodash",library:"_",urls:["https://g.alicdn.com/platform/c/lodash/4.6.1/lodash.min.js"]},{title:"fusion\u7ec4\u4ef6\u5e93",package:"@alifd/next",version:"1.25.23",urls:["https://g.alicdn.com/code/lib/alifd__next/1.25.23/next.min.css","https://g.alicdn.com/code/lib/alifd__next/1.25.23/next-with-locales.min.js"],library:"Next"},{package:"antd",version:"5.6.2",urls:["https://g.alicdn.com/code/lib/antd/5.6.2/antd.min.js"],library:"antd"}];var D={packages:[]},E="./assets-dev.json",M={},I={},B=[],G="component";var L=$()||{componentName:"Page",id:"node_dockcviv8fo1",props:{ref:"outterView",style:{height:"100%"}},fileName:"lowcode",dataSource:{list:[]},state:{text:"outter",isShowDialog:!1},css:"body {font-size: 12px;} .botton{width:100px;color:#ff00ff}",lifeCycles:{componentDidMount:{type:"JSFunction",value:"function() {\n console.log('did mount');\n }"},componentWillUnmount:{type:"JSFunction",value:"function() {\n console.log('will umount');\n }"}},methods:{testFunc:{type:"JSFunction",value:"function() {\n console.log('test func');\n }"},onClick:{type:"JSFunction",value:"function() {\n this.setState({\n isShowDialog: true\n })\n }"},closeDialog:{type:"JSFunction",value:"function() {\n this.setState({\n isShowDialog: false\n })\n }"}},children:[]},N=document.getElementById("lce-container");function $(){var t,n=JSON.parse(window.localStorage.getItem("projectSchema")||"{}"),r;return null==n||null===(t=n.componentsTree)||void 0===t?void 0:t[0]}function C(t,n){return J.apply(this,arguments)}function J(){return(J=j(l().m((function t(n,r){var e;return l().w((function(t){for(;;)switch(t.n){case 0:if(!(r&&Array.isArray(r)&&r.length)){t.n=2;break}return t.n=1,Promise.all(r.map(function(){var t=j(l().m((function t(n){var r;return l().w((function(t){for(;;)switch(t.p=t.n){case 0:if("object"!==x(n)){t.n=1;break}return t.a(2,n);case 1:return t.p=1,t.n=2,fetch(n);case 2:return t.a(2,t.v.json());case 3:return t.p=3,r=t.v,console.error("get assets data from builtin assets ".concat(n," failed: "),r),t.a(2,{});case 4:return t.a(2)}}),t,null,[[1,3]])})));return function(n){return t.apply(this,arguments)}}()));case 1:(e=t.v).forEach((function(t){var r=a(a({},t),{},{packages:t.packages||[t.package],components:t.components,componentList:(t.componentList||[]).map((function(t){return t.children&&(t.children=t.children.map((function(n){return n.sort||(n.sort={category:t.title,group:"\u539f\u5b50\u7ec4\u4ef6"}),n}))),t}))});c()(n,r,(function(t,n){if(Array.isArray(t)&&Array.isArray(n))return n.concat(t)}))}));case 2:return t.a(2)}}),t)})))).apply(this,arguments)}o()((function(){return{name:"editor-init",init:function t(){return j(l().m((function t(){var n,r,o,i,c,u,a,s;return l().w((function(t){for(;;)switch(t.n){case 0:return"object"===x(M)&&Object.keys(M).length&&e.setters.registerSetter(M),t.n=1,fetch(E);case 1:return t.n=2,t.v.json();case 2:n=t.v,r=n.packages,D.packages=D.packages.concat(r),D.components=n.components.map((function(t){return t.advancedUrls&&P&&t.advancedUrls[P]&&t.advancedUrls[P].length?t.url=t.advancedUrls[P][0]:t.urls&&P&&t.urls[P]&&(t.url=t.urls[P]),t})),D.groupList=n.groupList,t.n=5;break;case 3:o=!1,i=!1,a=!1,t.n=4;break;case 4:if(!(s=i)){t.n=5;break}return t.n=5,C(D,i);case 5:c=new Map,u=y(new Set([].concat(U,y(D.packages)).map((function(t){var n=t.library;return c.set(n,t),n})))),D.packages=u.map((function(t){return c.get(t)})),D.packages=D.packages.map((function(t){return t.editUrls&&t.editUrls.length&&(t.renderUrls=t.urls,t.urls=t.editUrls),t})),T?(e.material.setAssets(D),e.project.openDocument(L)):(e.editor.setAssets(D),e.project.open(L));case 6:return t.a(2)}}),t)})))()}}}),B||[],N,{supportVariableGlobally:!0,presetConfig:I})},188:function(t,n){var r,e=Function.prototype.toString;function o(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}t.exports=o},189:function(t,n,r){var e=r(250),o=r(257),i=r(259),c=r(260),u=r(261);function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}a.prototype.clear=e,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=u,t.exports=a},233:function(t,n,r){var e=r(130),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,u=e?e.toStringTag:void 0;function a(t){var n=i.call(t,u),r=t[u];try{t[u]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(n?t[u]=r:delete t[u]),o}t.exports=a},234:function(t,n){var r,e=Object.prototype.toString;function o(t){return e.call(t)}t.exports=o},235:function(t,n,r){var e=r(93),o=r(241),i=r(242),c=r(243),u=r(244),a=r(245);function s(t){var n=this.__data__=new e(t);this.size=n.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=c,s.prototype.has=u,s.prototype.set=a,t.exports=s},236:function(t,n){function r(){this.__data__=[],this.size=0}t.exports=r},237:function(t,n,r){var e=r(94),o,i=Array.prototype.splice;function c(t){var n=this.__data__,r=e(n,t),o;return!(r<0)&&(r==n.length-1?n.pop():i.call(n,r,1),--this.size,!0)}t.exports=c},238:function(t,n,r){var e=r(94);function o(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}t.exports=o},239:function(t,n,r){var e=r(94);function o(t){return e(this.__data__,t)>-1}t.exports=o},240:function(t,n,r){var e=r(94);function o(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}t.exports=o},241:function(t,n,r){var e=r(93);function o(){this.__data__=new e,this.size=0}t.exports=o},242:function(t,n){function r(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}t.exports=r},243:function(t,n){function r(t){return this.__data__.get(t)}t.exports=r},244:function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},245:function(t,n,r){var e=r(93),o=r(131),i=r(189),c=200;function u(t,n){var r=this.__data__;if(r instanceof e){var c=r.__data__;if(!o||c.length<199)return c.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(c)}return r.set(t,n),this.size=r.size,this}t.exports=u},246:function(t,n,r){var e=r(119),o=r(247),i=r(79),c=r(188),u=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,s=Function.prototype,f=Object.prototype,p=s.toString,l=f.hasOwnProperty,v=RegExp("^"+p.call(l).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(t){return!(!i(t)||o(t))&&(e(t)?v:a).test(c(t));var n}t.exports=y},247:function(t,n,r){var e=r(248),o=(i=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",i;function c(t){return!!o&&o in t}t.exports=c},248:function(t,n,r){var e,o=r(71)["__core-js_shared__"];t.exports=o},249:function(t,n){function r(t,n){return null==t?void 0:t[n]}t.exports=r},250:function(t,n,r){var e=r(251),o=r(93),i=r(131);function c(){this.size=0,this.__data__={hash:new e,map:new(i||o),string:new e}}t.exports=c},251:function(t,n,r){var e=r(252),o=r(253),i=r(254),c=r(255),u=r(256);function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}a.prototype.clear=e,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=u,t.exports=a},252:function(t,n,r){var e=r(96);function o(){this.__data__=e?e(null):{},this.size=0}t.exports=o},253:function(t,n){function r(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=r},254:function(t,n,r){var e=r(96),o="__lodash_hash_undefined__",i,c=Object.prototype.hasOwnProperty;function u(t){var n=this.__data__;if(e){var r=n[t];return r===o?void 0:r}return c.call(n,t)?n[t]:void 0}t.exports=u},255:function(t,n,r){var e=r(96),o,i=Object.prototype.hasOwnProperty;function c(t){var n=this.__data__;return e?void 0!==n[t]:i.call(n,t)}t.exports=c},256:function(t,n,r){var e=r(96),o="__lodash_hash_undefined__";function i(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?o:n,this}t.exports=i},257:function(t,n,r){var e=r(97);function o(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}t.exports=o},258:function(t,n){function r(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=r},259:function(t,n,r){var e=r(97);function o(t){return e(this,t).get(t)}t.exports=o},260:function(t,n,r){var e=r(97);function o(t){return e(this,t).has(t)}t.exports=o},261:function(t,n,r){var e=r(97);function o(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this}t.exports=o},262:function(t,n,r){var e,o=r(71).Uint8Array;t.exports=o},263:function(t,n,r){var e=r(264),o=r(162),i=r(132),c=r(145),u=r(163),a=r(146),s,f=Object.prototype.hasOwnProperty;function p(t,n){var r=i(t),s=!r&&o(t),p=!r&&!s&&c(t),l=!r&&!s&&!p&&a(t),v=r||s||p||l,y=v?e(t.length,String):[],d=y.length;for(var b in t)!n&&!f.call(t,b)||v&&("length"==b||p&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||u(b,d))||y.push(b);return y}t.exports=p},264:function(t,n){function r(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}t.exports=r},265:function(t,n,r){var e=r(90),o=r(83),i="[object Arguments]";function c(t){return o(t)&&e(t)==i}t.exports=c},266:function(t,n){function r(){return!1}t.exports=r},267:function(t,n,r){var e=r(90),o=r(147),i=r(83),c="[object Arguments]",u="[object Array]",a="[object Boolean]",s="[object Date]",f="[object Error]",p="[object Function]",l="[object Map]",v="[object Number]",y="[object Object]",d="[object RegExp]",b="[object Set]",h="[object String]",g="[object WeakMap]",m="[object ArrayBuffer]",x="[object DataView]",_,j="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",S="[object Int32Array]",P="[object Uint8Array]",k="[object Uint8ClampedArray]",A="[object Uint16Array]",T="[object Uint32Array]",z={};function F(t){return i(t)&&o(t.length)&&!!z[e(t)]}z["[object Float32Array]"]=z[j]=z[w]=z[O]=z[S]=z[P]=z[k]=z[A]=z[T]=!0,z[c]=z[u]=z[m]=z[a]=z[x]=z[s]=z[f]=z[p]=z[l]=z[v]=z[y]=z[d]=z[b]=z[h]=z[g]=!1,t.exports=F},268:function(t,n){function r(t){return function(n){return t(n)}}t.exports=r},269:function(t,n,r){(function(t){var e=r(144),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,c,u=i&&i.exports===o&&e.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=a}).call(this,r(105)(t))},270:function(t,n){function r(t,n){return function(r){return t(n(r))}}t.exports=r},288:function(t,n,r){var e=r(166),o=r(108);function i(t,n,r){(void 0!==r&&!o(t[n],r)||void 0===r&&!(n in t))&&e(t,n,r)}t.exports=i},289:function(t,n,r){var e=r(95),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},290:function(t,n,r){var e,o=r(270)(Object.getPrototypeOf,Object);t.exports=o},291:function(t,n){function r(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}t.exports=r},292:function(t,n,r){var e=r(263),o=r(468),i=r(133);function c(t){return i(t)?e(t,!0):o(t)}t.exports=c},293:function(t,n){function r(t){return t}t.exports=r},453:function(t,n,r){var e=r(235),o=r(288),i=r(454),c=r(456),u=r(79),a=r(292),s=r(291);function f(t,n,r,p,l){t!==n&&i(n,(function(i,a){if(l||(l=new e),u(i))c(t,n,a,r,f,p,l);else{var v=p?p(s(t,a),i,a+"",t,n,l):void 0;void 0===v&&(v=i),o(t,a,v)}}),a)}t.exports=f},454:function(t,n,r){var e,o=r(455)();t.exports=o},455:function(t,n){function r(t){return function(n,r,e){for(var o=-1,i=Object(n),c=e(n),u=c.length;u--;){var a=c[t?u:++o];if(!1===r(i[a],a,i))break}return n}}t.exports=r},456:function(t,n,r){var e=r(288),o=r(457),i=r(458),c=r(460),u=r(461),a=r(162),s=r(132),f=r(463),p=r(145),l=r(119),v=r(79),y=r(464),d=r(146),b=r(291),h=r(465);function g(t,n,r,g,m,x,_){var j=b(t,r),w=b(n,r),O=_.get(w);if(O)e(t,r,O);else{var S=x?x(j,w,r+"",t,n,_):void 0,P=void 0===S;if(P){var k=s(w),A=!k&&p(w),T=!k&&!A&&d(w);S=w,k||A||T?s(j)?S=j:f(j)?S=c(j):A?(P=!1,S=o(w,!0)):T?(P=!1,S=i(w,!0)):S=[]:y(w)||a(w)?(S=j,a(j)?S=h(j):v(j)&&!l(j)||(S=u(w))):P=!1}P&&(_.set(w,S),m(S,w,g,x,_),_.delete(w)),e(t,r,S)}}t.exports=g},457:function(t,n,r){(function(t){var e=r(71),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,c,u=i&&i.exports===o?e.Buffer:void 0,a=u?u.allocUnsafe:void 0;function s(t,n){if(n)return t.slice();var r=t.length,e=a?a(r):new t.constructor(r);return t.copy(e),e}t.exports=s}).call(this,r(105)(t))},458:function(t,n,r){var e=r(459);function o(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}t.exports=o},459:function(t,n,r){var e=r(262);function o(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}t.exports=o},460:function(t,n){function r(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}t.exports=r},461:function(t,n,r){var e=r(462),o=r(290),i=r(164);function c(t){return"function"!=typeof t.constructor||i(t)?{}:e(o(t))}t.exports=c},462:function(t,n,r){var e=r(79),o=Object.create,i=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=i},463:function(t,n,r){var e=r(133),o=r(83);function i(t){return o(t)&&e(t)}t.exports=i},464:function(t,n,r){var e=r(90),o=r(290),i=r(83),c="[object Object]",u=Function.prototype,a=Object.prototype,s=u.toString,f=a.hasOwnProperty,p=s.call(Object);function l(t){if(!i(t)||e(t)!=c)return!1;var n=o(t);if(null===n)return!0;var r=f.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==p}t.exports=l},465:function(t,n,r){var e=r(466),o=r(292);function i(t){return e(t,o(t))}t.exports=i},466:function(t,n,r){var e=r(467),o=r(166);function i(t,n,r,i){var c=!r;r||(r={});for(var u=-1,a=n.length;++u<a;){var s=n[u],f=i?i(r[s],t[s],s,r,t):void 0;void 0===f&&(f=t[s]),c?o(r,s,f):e(r,s,f)}return r}t.exports=i},467:function(t,n,r){var e=r(166),o=r(108),i,c=Object.prototype.hasOwnProperty;function u(t,n,r){var i=t[n];c.call(t,n)&&o(i,r)&&(void 0!==r||n in t)||e(t,n,r)}t.exports=u},468:function(t,n,r){var e=r(79),o=r(164),i=r(469),c,u=Object.prototype.hasOwnProperty;function a(t){if(!e(t))return i(t);var n=o(t),r=[];for(var c in t)("constructor"!=c||!n&&u.call(t,c))&&r.push(c);return r}t.exports=a},469:function(t,n){function r(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}t.exports=r},470:function(t,n,r){var e=r(471),o=r(478);function i(t){return e((function(n,r){var e=-1,i=r.length,c=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(c=t.length>3&&"function"==typeof c?(i--,c):void 0,u&&o(r[0],r[1],u)&&(c=i<3?void 0:c,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,c)}return n}))}t.exports=i},471:function(t,n,r){var e=r(293),o=r(472),i=r(474);function c(t,n){return i(o(t,n,e),t+"")}t.exports=c},472:function(t,n,r){var e=r(473),o=Math.max;function i(t,n,r){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,c=-1,u=o(i.length-n,0),a=Array(u);++c<u;)a[c]=i[n+c];c=-1;for(var s=Array(n+1);++c<n;)s[c]=i[c];return s[n]=r(a),e(t,this,s)}}t.exports=i},473:function(t,n){function r(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}t.exports=r},474:function(t,n,r){var e=r(475),o,i=r(477)(e);t.exports=i},475:function(t,n,r){var e=r(476),o=r(289),i=r(293),c=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:i;t.exports=c},476:function(t,n){function r(t){return function(){return t}}t.exports=r},477:function(t,n){var r=800,e=16,o=Date.now;function i(t){var n=0,r=0;return function(){var e=o(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}t.exports=i},478:function(t,n,r){var e=r(108),o=r(133),i=r(163),c=r(79);function u(t,n,r){if(!c(r))return!1;var u=typeof n;return!!("number"==u?o(r)&&i(n,r.length):"string"==u&&n in r)&&e(r[n],t)}t.exports=u},71:function(t,n,r){var e=r(144),o="object"==typeof self&&self&&self.Object===Object&&self,i=e||o||Function("return this")();t.exports=i},79:function(t,n){function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=r},83:function(t,n){function r(t){return null!=t&&"object"==typeof t}t.exports=r},90:function(t,n,r){var e=r(130),o=r(233),i=r(234),c="[object Null]",u="[object Undefined]",a=e?e.toStringTag:void 0;function s(t){return null==t?void 0===t?u:c:a&&a in Object(t)?o(t):i(t)}t.exports=s},913:function(t,n,r){var e=r(453),o,i=r(470)((function(t,n,r,o){e(t,n,r,o)}));t.exports=i},92:function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},93:function(t,n,r){var e=r(236),o=r(237),i=r(238),c=r(239),u=r(240);function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}a.prototype.clear=e,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=c,a.prototype.set=u,t.exports=a},94:function(t,n,r){var e=r(108);function o(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}t.exports=o},95:function(t,n,r){var e=r(246),o=r(249);function i(t,n){var r=o(t,n);return e(r)?r:void 0}t.exports=i},96:function(t,n,r){var e,o=r(95)(Object,"create");t.exports=o},97:function(t,n,r){var e=r(258);function o(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}t.exports=o}})}));
|