@cloudtower/eagle 0.27.46 → 0.27.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.css +1629 -1624
- package/dist/esm/index.js +1088 -1088
- package/dist/esm/stats1.html +1 -1
- package/dist/src/UIKitProvider/index.d.ts +1 -1
- package/dist/src/{components → core}/BaseIcon/index.d.ts +1 -1
- package/dist/src/core/Breadcrumb/index.d.ts +1 -1
- package/dist/src/{components → core}/Cascader/cascader.type.d.ts +2 -2
- package/dist/src/{components → core}/Cascader/index.d.ts +1 -1
- package/dist/src/{components → core}/Icon/index.d.ts +1 -1
- package/dist/src/{components → core}/Metric/MetricLegend.d.ts +1 -1
- package/dist/src/{components → core}/Metric/RenderChart.d.ts +1 -1
- package/dist/src/{components → core}/Metric/TooltipFormatter.d.ts +1 -1
- package/dist/src/{components → core}/Metric/index.d.ts +2 -2
- package/dist/src/{components → core}/Metric/metric.d.ts +2 -2
- package/dist/src/{components → core}/Metric/mockMetric.d.ts +1 -1
- package/dist/src/{components → core}/Metric/mockMetric2.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/AddRowButton.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/TableFormBodyCell.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/TableFormBodyRows.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/TableFormHeaderCell.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/index.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/types.d.ts +1 -1
- package/dist/src/{components → core}/TableForm/utils.d.ts +1 -1
- package/dist/src/{components → core}/message-group/index.d.ts +1 -1
- package/dist/src/coreX/BatchOperation/index.d.ts +1 -1
- package/dist/src/coreX/ChartWithTooltip/index.d.ts +1 -1
- package/dist/src/coreX/Counting/index.d.ts +1 -1
- package/dist/src/coreX/CronCalendar/index.d.ts +1 -1
- package/dist/src/coreX/CronPlan/index.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/AbsoluteDate.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/Calendar.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/InputTime.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/RelativeTime.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/common.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/index.d.ts +1 -1
- package/dist/src/coreX/GoBackButton/index.d.ts +1 -1
- package/dist/src/coreX/I18nNameTag/index.d.ts +1 -1
- package/dist/src/coreX/NamesTooltip/index.d.ts +1 -1
- package/dist/src/coreX/SummaryTable/index.d.ts +1 -1
- package/dist/src/coreX/SwitchWithText/index.d.ts +1 -1
- package/dist/src/coreX/TruncatedTextWithTooltip/index.d.ts +1 -1
- package/dist/src/index.d.ts +5 -5
- package/dist/src/spec/base.d.ts +5 -5
- package/dist/stories/docs/cascader/cascader.stories.d.ts +2 -2
- package/dist/{src/core/AccordionCard → stories/docs/core}/AccordionCard.stories.d.ts +1 -1
- package/dist/{src/components/Alert → stories/docs/core}/Alert.stories.d.ts +1 -1
- package/dist/{src/components/Arch → stories/docs/core}/Arch.stories.d.ts +1 -1
- package/dist/{src/components/BaseIcon → stories/docs/core}/BaseIcon.stories.d.ts +2 -2
- package/dist/{src/components/Bit → stories/docs/core}/Bit.stories.d.ts +6 -6
- package/dist/{src/components/BitPerSecond → stories/docs/core}/BitPerSecond.stories.d.ts +6 -6
- package/dist/{src/components/Bps → stories/docs/core}/Bps.stories.d.ts +6 -6
- package/dist/{src/core/Breadcrumb → stories/docs/core}/Breadcrumb.stories.d.ts +1 -1
- package/dist/{src/components/Byte → stories/docs/core}/Byte.stories.d.ts +6 -6
- package/dist/{src/components/Card → stories/docs/core}/Card.stories.d.ts +1 -1
- package/dist/{src/core/DetailCard → stories/docs/core}/DetailCard.stories.d.ts +1 -1
- package/dist/{src/components → stories/docs/core}/ExpandableList/ExpandableItem.stories.d.ts +1 -1
- package/dist/{src/components → stories/docs/core}/ExpandableList/ExpandableList.stories.d.ts +1 -1
- package/dist/{src/components/Fields/FieldsBoolean → stories/docs/core}/FieldsBoolean.stories.d.ts +2 -2
- package/dist/{src/components/Fields/FieldsDateTimeRange → stories/docs/core}/FieldsDateTimeRange.stories.d.ts +1 -1
- package/dist/{src/components/Fields/FieldsEnum → stories/docs/core}/FieldsEnum.stories.d.ts +1 -1
- package/dist/{src/components/Fields/FieldsInteger → stories/docs/core}/FieldsInteger.stories.d.ts +1 -1
- package/dist/{src/components/Fields/FieldsString → stories/docs/core}/FieldsString.stories.d.ts +8 -8
- package/dist/{src/components/Fields/FieldsTimePicker → stories/docs/core}/FieldsTimePicker.stories.d.ts +2 -2
- package/dist/{src/components/Frequency → stories/docs/core}/Frequency.stories.d.ts +6 -6
- package/dist/{src/components/Button → stories/docs/core}/HoverableElement.stories.d.ts +2 -2
- package/dist/{src/components/Icon → stories/docs/core}/Icon.stories.d.ts +6 -6
- package/dist/{src/components/Link → stories/docs/core}/Link.stories.d.ts +1 -1
- package/dist/{src/components/Metric → stories/docs/core}/Metric.stories.d.ts +3 -3
- package/dist/{src/components/Modal → stories/docs/core}/Modal.stories.d.ts +2 -2
- package/dist/{src/components/Percent → stories/docs/core}/Percent.stories.d.ts +10 -10
- package/dist/{src/components/Radio → stories/docs/core}/RadioButton.stories.d.ts +1 -1
- package/dist/{src/components/Second → stories/docs/core}/Second.stories.d.ts +8 -8
- package/dist/{src/core/SegmentControl → stories/docs/core}/SegmentControl.stories.d.ts +1 -1
- package/dist/{src/components/Select → stories/docs/core}/Select.Simple.stories.d.ts +1 -1
- package/dist/{src/components/SimplePagination → stories/docs/core}/SimplePagination.stories.d.ts +1 -1
- package/dist/{src/components/Speed → stories/docs/core}/Speed.stories.d.ts +6 -6
- package/dist/{src/components/StatusCapsule → stories/docs/core}/StatusCapsule.stories.d.ts +1 -1
- package/dist/{src/core/StepProgress → stories/docs/core}/StepProgress.stories.d.ts +1 -1
- package/dist/{src/components/Steps → stories/docs/core}/Steps.stories.d.ts +1 -1
- package/dist/{src/components/Table → stories/docs/core}/Table.stories.d.ts +5 -5
- package/dist/{src/components/Tag → stories/docs/core}/Tag.stories.d.ts +1 -1
- package/dist/{src/components/Token → stories/docs/core}/Token.stories.d.ts +1 -1
- package/dist/{src/components/Tooltip → stories/docs/core}/Tooltip.stories.d.ts +3 -3
- package/dist/{src/components/Truncate → stories/docs/core}/Truncate.stories.d.ts +2 -2
- package/dist/{src/components/message-group → stories/docs/core}/message-group.stories.d.ts +5 -5
- package/dist/{src/coreX/BarChart → stories/docs/coreX}/BarChart.stories.d.ts +1 -1
- package/dist/{src/coreX/BatchOperation → stories/docs/coreX}/BatchOperation.stories.d.ts +1 -1
- package/dist/{src/coreX/ChartWithTooltip → stories/docs/coreX}/ChartWithTooltip.stories.d.ts +1 -1
- package/dist/{src/coreX/Counting → stories/docs/coreX}/Counting.stories.d.ts +1 -1
- package/dist/{src/coreX/CronCalendar → stories/docs/coreX}/CronCalendar.stories.d.ts +1 -1
- package/dist/{src/coreX/CronPlan → stories/docs/coreX}/CronPlan.stories.d.ts +1 -1
- package/dist/{src/coreX/DateRangePicker → stories/docs/coreX}/DateRangePicker.stories.d.ts +1 -1
- package/dist/{src/coreX/DonutChart → stories/docs/coreX}/DonutChart.stories.d.ts +1 -1
- package/dist/{src/coreX/GoBackButton → stories/docs/coreX}/GoBackButton.stories.d.ts +1 -1
- package/dist/stories/docs/{I18nNameTag.stories.d.ts → coreX/I18nNameTag.stories.d.ts} +1 -1
- package/dist/{src/coreX/NamesTooltip → stories/docs/coreX}/NamesTooltip.stories.d.ts +1 -1
- package/dist/stories/docs/{OverflowTooltip.stories.d.ts → coreX/OverflowTooltip.stories.d.ts} +1 -1
- package/dist/{src/coreX/SidebarSubtitle → stories/docs/coreX}/SidebarSubtitle.stories.d.ts +1 -1
- package/dist/{src/coreX/SortableList → stories/docs/coreX}/SortableList.stories.d.ts +1 -1
- package/dist/{src/coreX/SummaryTable → stories/docs/coreX}/SummaryTable.stories.d.ts +1 -1
- package/dist/{src/coreX/SwitchWithText → stories/docs/coreX}/SwitchWithText.stories.d.ts +1 -1
- package/dist/{src/coreX/TruncatedTextWithTooltip → stories/docs/coreX}/TruncatedTextWithTooltip.stories.d.ts +1 -1
- package/dist/{src/coreX/UnitWithChart → stories/docs/coreX}/UnitWithChart.stories.d.ts +1 -1
- package/dist/style.css +3302 -3297
- package/dist/umd/index.js +1089 -1089
- package/dist/umd/stats1.html +1 -1
- package/package.json +7 -6
- package/dist/src/{components → core}/Alert/index.d.ts +0 -0
- package/dist/src/{components → core}/Arch/index.d.ts +0 -0
- package/dist/src/{components → core}/Badge/index.d.ts +0 -0
- package/dist/src/{components → core}/Bit/index.d.ts +0 -0
- package/dist/src/{components → core}/BitPerSecond/index.d.ts +0 -0
- package/dist/src/{components → core}/Bps/index.d.ts +0 -0
- package/dist/src/{components → core}/Button/HoverableElement.d.ts +0 -0
- package/dist/src/{components → core}/Button/index.d.ts +0 -0
- package/dist/src/{components → core}/ButtonGroup/index.d.ts +1 -1
- package/dist/src/{components → core}/Byte/index.d.ts +0 -0
- package/dist/src/{components → core}/Calendar/index.d.ts +0 -0
- package/dist/src/{components → core}/Card/CardBody.d.ts +0 -0
- package/dist/src/{components → core}/Card/CardTitle.d.ts +0 -0
- package/dist/src/{components → core}/Card/CardWrapper.d.ts +0 -0
- package/dist/src/{components → core}/Card/__test__/Card.test.d.ts +0 -0
- package/dist/src/{components → core}/Card/index.d.ts +0 -0
- package/dist/src/{components → core}/Cascader/cascader.style.d.ts +0 -0
- package/dist/src/{components → core}/Cascader/cascader.widget.d.ts +0 -0
- package/dist/src/{components → core}/Checkbox/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Checkbox/checkbox.style.d.ts +0 -0
- package/dist/src/{components → core}/Checkbox/index.d.ts +0 -0
- package/dist/src/{components → core}/Empty/index.d.ts +0 -0
- package/dist/src/{components → core}/ErrorBoundary/index.d.ts +0 -0
- package/dist/src/{components → core}/ExpandableList/ExpandIcon.d.ts +0 -0
- package/dist/src/{components → core}/ExpandableList/ExpandableContainer.d.ts +0 -0
- package/dist/src/{components → core}/ExpandableList/ExpandableItem.d.ts +0 -0
- package/dist/src/{components → core}/ExpandableList/RoundOrder.d.ts +0 -0
- package/dist/src/{components → core}/ExpandableList/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/FailedLoad/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsBoolean/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsBoolean/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsDateTime/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsDateTimeRange/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsDateTimeRange/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsEnum/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsEnum/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsFloat/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsFloat/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsInt/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsInt/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsInteger/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsInteger/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsString/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsString/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsTextArea/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsTimePicker/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Fields/FieldsTimePicker/index.d.ts +0 -0
- package/dist/src/{components → core}/Fields/index.d.ts +0 -0
- package/dist/src/{components → core}/Form/index.d.ts +0 -0
- package/dist/src/{components → core}/FormItem/index.d.ts +0 -0
- package/dist/src/{components → core}/Frequency/index.d.ts +0 -0
- package/dist/src/{components → core}/Input/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Input/index.d.ts +0 -0
- package/dist/src/{components → core}/InputGroup/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/InputGroup/index.d.ts +0 -0
- package/dist/src/{components → core}/InputInteger/__test__/unit.test.d.ts +0 -0
- package/dist/src/{components → core}/InputInteger/formatterInteger.d.ts +0 -0
- package/dist/src/{components → core}/InputInteger/index.d.ts +1 -1
- package/dist/src/{components → core}/InputNumber/index.d.ts +1 -1
- package/dist/src/{components → core}/InputTagItem/index.d.ts +0 -0
- package/dist/src/{components → core}/KitStoreProvider/index.d.ts +1 -1
- package/dist/src/{components → core}/Link/index.d.ts +0 -0
- package/dist/src/{components → core}/Loading/index.d.ts +0 -0
- package/dist/src/{components → core}/Loading/style.d.ts +0 -0
- package/dist/src/{components → core}/Metric/MetricActions.d.ts +0 -0
- package/dist/src/{components → core}/Metric/Pointer.d.ts +0 -0
- package/dist/src/{components → core}/Metric/styled.d.ts +0 -0
- package/dist/src/{components → core}/Metric/type.d.ts +0 -0
- package/dist/src/{components → core}/Modal/index.d.ts +1 -1
- package/dist/src/{components → core}/ModalStack/index.d.ts +0 -0
- package/dist/src/{components → core}/Overflow/index.d.ts +0 -0
- package/dist/src/{components → core}/Pagination/index.d.ts +1 -1
- package/dist/src/{components → core}/Percent/index.d.ts +0 -0
- package/dist/src/{components → core}/Progress/index.d.ts +0 -0
- package/dist/src/{components → core}/Radio/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Radio/index.d.ts +1 -1
- package/dist/src/{components → core}/SearchInput/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/SearchInput/index.d.ts +0 -0
- package/dist/src/{components → core}/Second/index.d.ts +0 -0
- package/dist/src/{components → core}/Select/index.d.ts +0 -0
- package/dist/src/{components → core}/SimplePagination/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/SimplePagination/index.d.ts +0 -0
- package/dist/src/{components → core}/Space/index.d.ts +0 -0
- package/dist/src/{components → core}/Speed/index.d.ts +0 -0
- package/dist/src/{components → core}/StatusCapsule/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/StatusCapsule/index.d.ts +1 -1
- package/dist/src/{components → core}/Steps/index.d.ts +1 -1
- package/dist/src/{components → core}/Steps/style.d.ts +0 -0
- package/dist/src/{components → core}/Styled/index.d.ts +0 -0
- package/dist/src/{components → core}/Switch/index.d.ts +1 -1
- package/dist/src/{components → core}/Table/TableWidget.d.ts +0 -0
- package/dist/src/{components → core}/Table/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Table/common.d.ts +0 -0
- package/dist/src/{components → core}/Table/index.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/Columns/AffixColumn.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/Columns/CheckboxColumn.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/Columns/FormItem.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/Columns/InputColumn.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/Columns/TextColumn.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/Columns/index.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/__test__/tableForm.test.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/__test__/utils.test.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/const.d.ts +0 -0
- package/dist/src/{components → core}/TableForm/style.d.ts +0 -0
- package/dist/src/{components → core}/Tag/SplitTag.d.ts +0 -0
- package/dist/src/{components → core}/Tag/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Tag/const.d.ts +0 -0
- package/dist/src/{components → core}/Tag/index.d.ts +0 -0
- package/dist/src/{components → core}/Tag/style.d.ts +0 -0
- package/dist/src/{components → core}/TextArea/index.d.ts +1 -1
- package/dist/src/{components → core}/Time/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Time/index.d.ts +0 -0
- package/dist/src/{components → core}/TimePicker/index.d.ts +0 -0
- package/dist/src/{components → core}/TimeZoneSelect/index.d.ts +1 -1
- package/dist/src/{components → core}/Token/__test__/h5_css.test.d.ts +0 -0
- package/dist/src/{components → core}/Token/index.d.ts +1 -1
- package/dist/src/{components → core}/Token/style.d.ts +0 -0
- package/dist/src/{components → core}/Tooltip/index.d.ts +1 -1
- package/dist/src/{components → core}/Truncate/index.d.ts +0 -0
- package/dist/src/{components → core}/Typo/index.d.ts +0 -0
- package/dist/src/{components → core}/antd.d.ts +0 -0
- package/dist/src/{components → core}/index.d.ts +0 -0
- package/dist/src/{components → core}/message/__tests__/index.test.d.ts +0 -0
- package/dist/src/{components → core}/message/index.d.ts +0 -0
- package/dist/src/{components → core}/message/style/index.d.ts +0 -0
- package/dist/src/{components → core}/message-group/__test__/message-group.test.d.ts +0 -0
- package/dist/src/{components → coreX}/OverflowTooltip/index.d.ts +1 -1
- /package/dist/src/{coreX/DateRangePicker/hooks → hooks}/useElementIntersectionRatio.d.ts +0 -0
- /package/dist/src/{coreX/DateRangePicker/hooks → hooks}/useMemoCompare.d.ts +0 -0
- /package/dist/{src/components/Button → stories/docs/core}/Button.stories.d.ts +0 -0
- /package/dist/{src/core/DropdownMenu → stories/docs/core}/DropdownMenu.stories.d.ts +0 -0
- /package/dist/{src/components → stories/docs/core}/ExpandableList/CustomHeader.stories.d.ts +0 -0
- /package/dist/{src/components/FormItem → stories/docs/core}/Form.stories.d.ts +0 -0
- /package/dist/{src/components/Input → stories/docs/core}/Input.simple.stories.d.ts +0 -0
- /package/dist/{src/components/Input → stories/docs/core}/Input.stories.d.ts +0 -0
- /package/dist/{src/components/Loading → stories/docs/core}/Loading.stories.d.ts +0 -0
- /package/dist/{src/components/Pagination → stories/docs/core}/Pagination.stories.d.ts +0 -0
- /package/dist/{src/components/Radio → stories/docs/core}/Radio.stories.d.ts +0 -0
- /package/dist/{src/components/Radio → stories/docs/core}/RadioGroup.stories.d.ts +0 -0
- /package/dist/{src/components/SearchInput → stories/docs/core}/SearchInput.stories.d.ts +0 -0
- /package/dist/{src/components/Select → stories/docs/core}/Select.stories.d.ts +0 -0
- /package/dist/{src/components/Space → stories/docs/core}/Space.stories.d.ts +0 -0
- /package/dist/{src/components/Styled → stories/docs/core}/Styled.stories.d.ts +0 -0
- /package/dist/{src/components/Switch → stories/docs/core}/Switch.stories.d.ts +0 -0
- /package/dist/{src/components/TableForm → stories/docs/core}/TableForm.stories.d.ts +0 -0
- /package/dist/{src/components/TimeZoneSelect → stories/docs/core}/TimeZoneSelect.stories.d.ts +0 -0
- /package/dist/{src/components/InputGroup → stories/docs/core}/inputGroup.stories.d.ts +0 -0
- /package/dist/stories/{menu.stories.d.ts → docs/core/menu.stories.d.ts} +0 -0
- /package/dist/{src/components/Time → stories/docs/core}/time.stories.d.ts +0 -0
package/dist/umd/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.
|
|
5
|
-
})(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@linaria/core'), require('react'), require('@cloudtower/parrot'), require('react-i18next'), require('antd'), require('@cloudtower/icons-react'), require('@linaria/react'), require('lodash'), require('react-svg-unique-id'), require('classnames'), require('react-transition-group'), require('antd5'), require('dayjs'), require('dayjs/plugin/utc'), require('dayjs/plugin/customParseFormat'), require('moment'), require('react-dom'), require('react-is'), require('@ant-design/icons'), require('react-highlight-words'), require('recharts'), require('react-beautiful-dnd'), require('@ant-design/icons/CheckCircleFilled'), require('@ant-design/icons/CloseCircleFilled'), require('@ant-design/icons/ExclamationCircleFilled'), require('@ant-design/icons/InfoCircleFilled'), require('@ant-design/icons/LoadingOutlined'), require('@cloudtower/rc-notification'), require('redux'), require('react-redux'), require('timezones.json'), require('antd/lib/locale/en_US'), require('antd/lib/locale/zh_CN')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@linaria/core', 'react', '@cloudtower/parrot', 'react-i18next', 'antd', '@cloudtower/icons-react', '@linaria/react', 'lodash', 'react-svg-unique-id', 'classnames', 'react-transition-group', 'antd5', 'dayjs', 'dayjs/plugin/utc', 'dayjs/plugin/customParseFormat', 'moment', 'react-dom', 'react-is', '@ant-design/icons', 'react-highlight-words', 'recharts', 'react-beautiful-dnd', '@ant-design/icons/CheckCircleFilled', '@ant-design/icons/CloseCircleFilled', '@ant-design/icons/ExclamationCircleFilled', '@ant-design/icons/InfoCircleFilled', '@ant-design/icons/LoadingOutlined', '@cloudtower/rc-notification', 'redux', 'react-redux', 'timezones.json', 'antd/lib/locale/en_US', 'antd/lib/locale/zh_CN'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.core, global.React, global.parrot, global.reactI18next, global.antd, global.iconsReact, global.react, global._, global.reactSvgUniqueId, global.cs, global.reactTransitionGroup, global.antd5, global.dayjs, global.UTC, global.customParseFormat, global.moment, global.reactDom, global.reactIs, global.icons, global.Highlighter, global.recharts, global.reactBeautifulDnd, global.CheckCircleFilled, global.CloseCircleFilled, global.ExclamationCircleFilled, global.InfoCircleFilled, global.LoadingOutlined, global.RCNotification, global.redux, global.reactRedux, global.TimeZones, global.enUS, global.zhCN));
|
|
5
|
+
})(this, (function (exports, core, React, parrot, reactI18next, antd, iconsReact, react, _, reactSvgUniqueId, cs, reactTransitionGroup, antd5, dayjs, UTC, customParseFormat, moment, reactDom, reactIs, icons, Highlighter, recharts, reactBeautifulDnd, CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined, RCNotification, redux, reactRedux, TimeZones, enUS, zhCN) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
8
|
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
28
|
-
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
29
28
|
var ___default = /*#__PURE__*/_interopDefault(_);
|
|
29
|
+
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
30
30
|
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
31
31
|
var UTC__default = /*#__PURE__*/_interopDefault(UTC);
|
|
32
32
|
var customParseFormat__default = /*#__PURE__*/_interopDefault(customParseFormat);
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
var enUS__default = /*#__PURE__*/_interopDefault(enUS);
|
|
43
43
|
var zhCN__default = /*#__PURE__*/_interopDefault(zhCN);
|
|
44
44
|
|
|
45
|
+
const Empty = (props) => {
|
|
46
|
+
const { className, style } = props;
|
|
47
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
48
|
+
};
|
|
49
|
+
|
|
45
50
|
const MAGIC_METRIC_NULL = -2;
|
|
46
51
|
function formatBits(bits, decimals = 2) {
|
|
47
52
|
if (bits <= 0 || bits === MAGIC_METRIC_NULL) {
|
|
@@ -221,11 +226,6 @@
|
|
|
221
226
|
return false;
|
|
222
227
|
}
|
|
223
228
|
|
|
224
|
-
const Empty = (props) => {
|
|
225
|
-
const { className, style } = props;
|
|
226
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
227
|
-
};
|
|
228
|
-
|
|
229
229
|
var __defProp$18 = Object.defineProperty;
|
|
230
230
|
var __getOwnPropSymbols$19 = Object.getOwnPropertySymbols;
|
|
231
231
|
var __hasOwnProp$19 = Object.prototype.hasOwnProperty;
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
}
|
|
580
580
|
return target;
|
|
581
581
|
};
|
|
582
|
-
const IconWrapper = "
|
|
582
|
+
const IconWrapper = "iouxfgt";
|
|
583
583
|
const Icon = React__namespace.default.forwardRef((props, ref) => {
|
|
584
584
|
const _a = props,
|
|
585
585
|
{
|
|
@@ -773,62 +773,62 @@
|
|
|
773
773
|
};
|
|
774
774
|
AccordionCard.CloseButton = CloseButton;
|
|
775
775
|
|
|
776
|
-
const d1_bold_title = "
|
|
777
|
-
const d1s_bold_title = "
|
|
778
|
-
const d1_regular_title = "
|
|
779
|
-
const d2_bold_title = "
|
|
780
|
-
const d2_regular_title = "
|
|
781
|
-
const d3_bold_title = "
|
|
782
|
-
const d3_regular_title = "
|
|
783
|
-
const h1_bold_title = "
|
|
784
|
-
const h1_regular_title = "
|
|
785
|
-
const h2_bold_title = "
|
|
786
|
-
const h2_regular_title = "
|
|
787
|
-
const h3_bold_title = "
|
|
788
|
-
const h3_regular_title = "
|
|
789
|
-
const h3_bold_upper = "
|
|
790
|
-
const h3_regular_upper = "
|
|
791
|
-
const l1_regular = "
|
|
792
|
-
const l1_bold = "
|
|
793
|
-
const l1_regular_title = "
|
|
794
|
-
const l1_bold_title = "
|
|
795
|
-
const l1_regular_upper = "
|
|
796
|
-
const l1_bold_upper = "
|
|
797
|
-
const l2_regular = "
|
|
798
|
-
const l2_medium = "
|
|
799
|
-
const l2_bold = "
|
|
800
|
-
const l2_regular_title = "
|
|
801
|
-
const l2_bold_title = "
|
|
802
|
-
const l2_regular_upper = "
|
|
803
|
-
const l2_bold_upper = "
|
|
804
|
-
const l3_regular = "
|
|
805
|
-
const l3_semibold = "
|
|
806
|
-
const l3_bold = "
|
|
807
|
-
const l3_regular_title = "
|
|
808
|
-
const l3_semibold_title = "
|
|
809
|
-
const l3_bold_title = "
|
|
810
|
-
const l3_regular_upper = "
|
|
811
|
-
const l3_bold_upper = "
|
|
812
|
-
const l4_regular = "
|
|
813
|
-
const l4_medium = "
|
|
814
|
-
const l4_bold = "
|
|
815
|
-
const l4_regular_title = "
|
|
816
|
-
const l4_medium_title = "
|
|
817
|
-
const l4_bold_title = "
|
|
818
|
-
const l4_regular_upper = "
|
|
819
|
-
const l4_bold_upper = "
|
|
820
|
-
const f1_regular = "
|
|
821
|
-
const f1_regular_title = "
|
|
822
|
-
const f2_regular = "
|
|
823
|
-
const f2_regular_title = "
|
|
824
|
-
const t1_regular_mono = "
|
|
825
|
-
const t1_regular_slash = "
|
|
826
|
-
const t2_regular_mono = "
|
|
827
|
-
const t2_medium_mono = "
|
|
828
|
-
const t2_regular_slash = "
|
|
829
|
-
const t2_medium_slash = "
|
|
830
|
-
const t16_bold_slash = "
|
|
831
|
-
const u1 = "
|
|
776
|
+
const d1_bold_title = "dsnbhzf";
|
|
777
|
+
const d1s_bold_title = "d1mvo22k";
|
|
778
|
+
const d1_regular_title = "d1b444tr";
|
|
779
|
+
const d2_bold_title = "dvs0kue";
|
|
780
|
+
const d2_regular_title = "d1hcbfcq";
|
|
781
|
+
const d3_bold_title = "d1cz922v";
|
|
782
|
+
const d3_regular_title = "d3nzbrm";
|
|
783
|
+
const h1_bold_title = "h1g0p5ob";
|
|
784
|
+
const h1_regular_title = "hydo2ej";
|
|
785
|
+
const h2_bold_title = "h1hbuq0r";
|
|
786
|
+
const h2_regular_title = "h13bondg";
|
|
787
|
+
const h3_bold_title = "h1mhvdlx";
|
|
788
|
+
const h3_regular_title = "h1inmfq6";
|
|
789
|
+
const h3_bold_upper = "h1kfc0la";
|
|
790
|
+
const h3_regular_upper = "h10xnyuu";
|
|
791
|
+
const l1_regular = "lrcmi0v";
|
|
792
|
+
const l1_bold = "lzt43lp";
|
|
793
|
+
const l1_regular_title = "l5yc9nt";
|
|
794
|
+
const l1_bold_title = "l1fbkbzo";
|
|
795
|
+
const l1_regular_upper = "lahvcax";
|
|
796
|
+
const l1_bold_upper = "l11q3pxd";
|
|
797
|
+
const l2_regular = "lfuc2qu";
|
|
798
|
+
const l2_medium = "l1jmp8r0";
|
|
799
|
+
const l2_bold = "lcnm221";
|
|
800
|
+
const l2_regular_title = "lu1z2n5";
|
|
801
|
+
const l2_bold_title = "l1r59djn";
|
|
802
|
+
const l2_regular_upper = "ljm2911";
|
|
803
|
+
const l2_bold_upper = "l124mzmr";
|
|
804
|
+
const l3_regular = "lb3chel";
|
|
805
|
+
const l3_semibold = "lv9jstu";
|
|
806
|
+
const l3_bold = "lwqlh3x";
|
|
807
|
+
const l3_regular_title = "lalum9y";
|
|
808
|
+
const l3_semibold_title = "l1t6dj5o";
|
|
809
|
+
const l3_bold_title = "l12f6ic";
|
|
810
|
+
const l3_regular_upper = "l7gmukq";
|
|
811
|
+
const l3_bold_upper = "lkwl0yp";
|
|
812
|
+
const l4_regular = "l10knv48";
|
|
813
|
+
const l4_medium = "l6526ld";
|
|
814
|
+
const l4_bold = "l1j81vli";
|
|
815
|
+
const l4_regular_title = "l1x7n1mk";
|
|
816
|
+
const l4_medium_title = "l9fqufz";
|
|
817
|
+
const l4_bold_title = "l1iwnybd";
|
|
818
|
+
const l4_regular_upper = "lprtm1e";
|
|
819
|
+
const l4_bold_upper = "l1lln87h";
|
|
820
|
+
const f1_regular = "f2pb48l";
|
|
821
|
+
const f1_regular_title = "fi9emkw";
|
|
822
|
+
const f2_regular = "f1nrg7da";
|
|
823
|
+
const f2_regular_title = "f17k1i3n";
|
|
824
|
+
const t1_regular_mono = "t1tvuj2e";
|
|
825
|
+
const t1_regular_slash = "t17uajlu";
|
|
826
|
+
const t2_regular_mono = "t114zbyz";
|
|
827
|
+
const t2_medium_mono = "t1il0kvi";
|
|
828
|
+
const t2_regular_slash = "t10dv8p1";
|
|
829
|
+
const t2_medium_slash = "tc2oqpq";
|
|
830
|
+
const t16_bold_slash = "tzvddmc";
|
|
831
|
+
const u1 = "u18llj45";
|
|
832
832
|
const Typo = {
|
|
833
833
|
Display: {
|
|
834
834
|
d1_bold_title,
|
|
@@ -1214,8 +1214,8 @@
|
|
|
1214
1214
|
}
|
|
1215
1215
|
return target;
|
|
1216
1216
|
};
|
|
1217
|
-
const ButtonStyle$1 = "
|
|
1218
|
-
const NoPadding = "
|
|
1217
|
+
const ButtonStyle$1 = "b1wx3t3t";
|
|
1218
|
+
const NoPadding = "n7k2c6r";
|
|
1219
1219
|
const isAntdButtonTypes = type => {
|
|
1220
1220
|
return Boolean(type && ["default", "primary", "ghost", "dashed", "link", "text"].includes(type));
|
|
1221
1221
|
};
|
|
@@ -1929,8 +1929,8 @@
|
|
|
1929
1929
|
return sizes;
|
|
1930
1930
|
}
|
|
1931
1931
|
|
|
1932
|
-
const OverflowWrapper = "
|
|
1933
|
-
const HiddenStyle = "
|
|
1932
|
+
const OverflowWrapper = "owd0kml";
|
|
1933
|
+
const HiddenStyle = "h1jsgezc";
|
|
1934
1934
|
const Overflow = props => {
|
|
1935
1935
|
const {
|
|
1936
1936
|
children,
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
}));
|
|
2168
2168
|
};
|
|
2169
2169
|
|
|
2170
|
-
const CheckboxStyle = "
|
|
2170
|
+
const CheckboxStyle = "ckui4s7";
|
|
2171
2171
|
|
|
2172
2172
|
var __defProp$U = Object.defineProperty;
|
|
2173
2173
|
var __defProps$H = Object.defineProperties;
|
|
@@ -2311,52 +2311,52 @@
|
|
|
2311
2311
|
));
|
|
2312
2312
|
};
|
|
2313
2313
|
|
|
2314
|
+
const LoadingWrapper = "lht19u8";
|
|
2315
|
+
const LoadingLine1 = "lk3gkp4";
|
|
2316
|
+
const LoadingLine2 = "ll4n94n";
|
|
2317
|
+
const LoadingLine3 = "l17lbdo6";
|
|
2318
|
+
|
|
2314
2319
|
const WizardBody = /*#__PURE__*/react.styled('div')({
|
|
2315
2320
|
name: "WizardBody",
|
|
2316
|
-
class: "
|
|
2321
|
+
class: "wt5zbg6",
|
|
2317
2322
|
propsAsIs: false
|
|
2318
2323
|
});
|
|
2319
2324
|
const FullView = /*#__PURE__*/react.styled('div')({
|
|
2320
2325
|
name: "FullView",
|
|
2321
|
-
class: "
|
|
2326
|
+
class: "f17jvtfk",
|
|
2322
2327
|
propsAsIs: false
|
|
2323
2328
|
});
|
|
2324
2329
|
const TertiaryText = /*#__PURE__*/react.styled('div')({
|
|
2325
2330
|
name: "TertiaryText",
|
|
2326
|
-
class: "
|
|
2331
|
+
class: "t1auuzri",
|
|
2327
2332
|
propsAsIs: false
|
|
2328
2333
|
});
|
|
2329
|
-
const InputStyle = "
|
|
2330
|
-
const KitInputStyle = "
|
|
2334
|
+
const InputStyle = "i74cfyt";
|
|
2335
|
+
const KitInputStyle = "k1ci6977";
|
|
2331
2336
|
const ContentWrapper = /*#__PURE__*/react.styled('div')({
|
|
2332
2337
|
name: "ContentWrapper",
|
|
2333
|
-
class: "
|
|
2338
|
+
class: "c3ni091",
|
|
2334
2339
|
propsAsIs: false
|
|
2335
2340
|
});
|
|
2336
2341
|
const Desc = /*#__PURE__*/react.styled('div')({
|
|
2337
2342
|
name: "Desc",
|
|
2338
|
-
class: "
|
|
2343
|
+
class: "d105ju2d",
|
|
2339
2344
|
propsAsIs: false
|
|
2340
2345
|
});
|
|
2341
2346
|
const _exp2$3 = () => Desc;
|
|
2342
2347
|
const LightDesc = /*#__PURE__*/react.styled(_exp2$3())({
|
|
2343
2348
|
name: "LightDesc",
|
|
2344
|
-
class: "
|
|
2349
|
+
class: "lh0l62z",
|
|
2345
2350
|
propsAsIs: true
|
|
2346
2351
|
});
|
|
2347
2352
|
const _exp3$2 = () => LightDesc;
|
|
2348
2353
|
const RadioDesc = /*#__PURE__*/react.styled(_exp3$2())({
|
|
2349
2354
|
name: "RadioDesc",
|
|
2350
|
-
class: "
|
|
2355
|
+
class: "r1o4v2oc",
|
|
2351
2356
|
propsAsIs: true
|
|
2352
2357
|
});
|
|
2353
|
-
const radioStyle = "
|
|
2354
|
-
const CannotOperationInfo = "
|
|
2355
|
-
|
|
2356
|
-
const LoadingWrapper = "l4bld33";
|
|
2357
|
-
const LoadingLine1 = "lgitjoj";
|
|
2358
|
-
const LoadingLine2 = "l13g0exg";
|
|
2359
|
-
const LoadingLine3 = "l1exo3h6";
|
|
2358
|
+
const radioStyle = "r1skkc3l";
|
|
2359
|
+
const CannotOperationInfo = "c3cobmo";
|
|
2360
2360
|
|
|
2361
2361
|
var __defProp$S = Object.defineProperty;
|
|
2362
2362
|
var __defProps$G = Object.defineProperties;
|
|
@@ -2411,7 +2411,7 @@
|
|
|
2411
2411
|
}
|
|
2412
2412
|
return target;
|
|
2413
2413
|
};
|
|
2414
|
-
const SelectStyle$1 = "
|
|
2414
|
+
const SelectStyle$1 = "s177mls5";
|
|
2415
2415
|
const Select = _a => {
|
|
2416
2416
|
var _b = _a,
|
|
2417
2417
|
{
|
|
@@ -2602,14 +2602,14 @@
|
|
|
2602
2602
|
}) => prefix ? "flex" : "none";
|
|
2603
2603
|
const AntdInputNumberStyled = /*#__PURE__*/react.styled(_exp$6())({
|
|
2604
2604
|
name: "AntdInputNumberStyled",
|
|
2605
|
-
class: "
|
|
2605
|
+
class: "a1wfy30z",
|
|
2606
2606
|
propsAsIs: true,
|
|
2607
2607
|
vars: {
|
|
2608
|
-
"
|
|
2609
|
-
"
|
|
2610
|
-
"
|
|
2611
|
-
"
|
|
2612
|
-
"
|
|
2608
|
+
"a1wfy30z-0": [_exp2$2()],
|
|
2609
|
+
"a1wfy30z-1": [_exp3$1()],
|
|
2610
|
+
"a1wfy30z-2": [_exp4$1()],
|
|
2611
|
+
"a1wfy30z-3": [_exp5$1()],
|
|
2612
|
+
"a1wfy30z-4": [_exp6$1()]
|
|
2613
2613
|
}
|
|
2614
2614
|
});
|
|
2615
2615
|
const InputNumber = _a => {
|
|
@@ -2869,14 +2869,14 @@
|
|
|
2869
2869
|
}) => prefix ? "flex" : "none";
|
|
2870
2870
|
const AntdIntStyled = /*#__PURE__*/react.styled(_exp$5())({
|
|
2871
2871
|
name: "AntdIntStyled",
|
|
2872
|
-
class: "
|
|
2872
|
+
class: "ai7qkf2",
|
|
2873
2873
|
propsAsIs: true,
|
|
2874
2874
|
vars: {
|
|
2875
|
-
"
|
|
2876
|
-
"
|
|
2877
|
-
"
|
|
2878
|
-
"
|
|
2879
|
-
"
|
|
2875
|
+
"ai7qkf2-0": [_exp2$1()],
|
|
2876
|
+
"ai7qkf2-1": [_exp3()],
|
|
2877
|
+
"ai7qkf2-2": [_exp4()],
|
|
2878
|
+
"ai7qkf2-3": [_exp5()],
|
|
2879
|
+
"ai7qkf2-4": [_exp6()]
|
|
2880
2880
|
}
|
|
2881
2881
|
});
|
|
2882
2882
|
const InputInteger = _a => {
|
|
@@ -2963,7 +2963,7 @@
|
|
|
2963
2963
|
|
|
2964
2964
|
const InputTagItem = /*#__PURE__*/react.styled('span')({
|
|
2965
2965
|
name: "InputTagItem",
|
|
2966
|
-
class: "
|
|
2966
|
+
class: "i1inqkme",
|
|
2967
2967
|
propsAsIs: false
|
|
2968
2968
|
});
|
|
2969
2969
|
|
|
@@ -3332,7 +3332,7 @@
|
|
|
3332
3332
|
}
|
|
3333
3333
|
return target;
|
|
3334
3334
|
};
|
|
3335
|
-
const SwitchStyle = "
|
|
3335
|
+
const SwitchStyle = "s1dizucg";
|
|
3336
3336
|
const Switch = _a => {
|
|
3337
3337
|
var _b = _a,
|
|
3338
3338
|
{
|
|
@@ -3343,7 +3343,7 @@
|
|
|
3343
3343
|
props = __objRest$j(_b, ["children", "className", "checked"]);
|
|
3344
3344
|
const Content = /*#__PURE__*/react.styled('span')({
|
|
3345
3345
|
name: "Content",
|
|
3346
|
-
class: "
|
|
3346
|
+
class: "c1up6e3y",
|
|
3347
3347
|
propsAsIs: false
|
|
3348
3348
|
});
|
|
3349
3349
|
const classNames = [className, SwitchStyle, "switch"];
|
|
@@ -3794,148 +3794,6 @@
|
|
|
3794
3794
|
});
|
|
3795
3795
|
};
|
|
3796
3796
|
|
|
3797
|
-
const TabMenuStyle = "t160l1cm";
|
|
3798
|
-
const TabMenuSubMenu = "t14npdqr";
|
|
3799
|
-
const renderExpandArrow = (size, isBold) => {
|
|
3800
|
-
if (size === "medium" && !isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDown16BlueIcon, {
|
|
3801
|
-
className: "expand-arrow"
|
|
3802
|
-
});
|
|
3803
|
-
if (size === "medium" && isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDown16BoldBlueIcon, {
|
|
3804
|
-
className: "expand-arrow"
|
|
3805
|
-
});
|
|
3806
|
-
if (size === "small" && !isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDownSmall16BlueIcon, {
|
|
3807
|
-
className: "expand-arrow"
|
|
3808
|
-
});
|
|
3809
|
-
if (size === "small" && isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDownSmall16BoldBlueIcon, {
|
|
3810
|
-
className: "expand-arrow"
|
|
3811
|
-
});
|
|
3812
|
-
};
|
|
3813
|
-
const TabMenu = props => {
|
|
3814
|
-
const {
|
|
3815
|
-
tabs,
|
|
3816
|
-
onChange,
|
|
3817
|
-
selectedKey,
|
|
3818
|
-
size = "medium",
|
|
3819
|
-
theme = "default"
|
|
3820
|
-
} = props;
|
|
3821
|
-
const onChangeRef = React.useRef(onChange);
|
|
3822
|
-
const view = React.useMemo(() => {
|
|
3823
|
-
if (tabs.length === 0) return void 0;
|
|
3824
|
-
let result;
|
|
3825
|
-
tabs.some(tab => {
|
|
3826
|
-
var _a;
|
|
3827
|
-
if ("items" in tab) {
|
|
3828
|
-
const select = (_a = tab.items) == null ? void 0 : _a.find(item => item.key === selectedKey);
|
|
3829
|
-
result = select ? {
|
|
3830
|
-
key: tab.key,
|
|
3831
|
-
children: select.children,
|
|
3832
|
-
title: select.title,
|
|
3833
|
-
isAsync: tab.isAsync,
|
|
3834
|
-
skeleton: tab.skeleton,
|
|
3835
|
-
isOverview: select.isOverview
|
|
3836
|
-
} : void 0;
|
|
3837
|
-
} else if (tab.key === selectedKey) {
|
|
3838
|
-
result = {
|
|
3839
|
-
key: tab.key,
|
|
3840
|
-
children: tab.children,
|
|
3841
|
-
title: tab.title,
|
|
3842
|
-
isAsync: tab.isAsync,
|
|
3843
|
-
skeleton: tab.skeleton,
|
|
3844
|
-
isOverview: tab.isOverview
|
|
3845
|
-
};
|
|
3846
|
-
}
|
|
3847
|
-
return result;
|
|
3848
|
-
});
|
|
3849
|
-
if (!result) {
|
|
3850
|
-
setTimeout(() => {
|
|
3851
|
-
var _a;
|
|
3852
|
-
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, tabs[0].key);
|
|
3853
|
-
}, 0);
|
|
3854
|
-
return tabs[0];
|
|
3855
|
-
}
|
|
3856
|
-
return result;
|
|
3857
|
-
}, [tabs, selectedKey]);
|
|
3858
|
-
const isMedium = size === "medium";
|
|
3859
|
-
const viewKey = view == null ? void 0 : view.key;
|
|
3860
|
-
const isAsync = view == null ? void 0 : view.isAsync;
|
|
3861
|
-
const [transitioned, setTransitioned] = React.useState(false);
|
|
3862
|
-
const viewKeyRef = React.useRef(view == null ? void 0 : view.key);
|
|
3863
|
-
React.useEffect(() => {
|
|
3864
|
-
setTransitioned(false);
|
|
3865
|
-
viewKeyRef.current = viewKey;
|
|
3866
|
-
const timeout = setTimeout(() => {
|
|
3867
|
-
setTransitioned(true);
|
|
3868
|
-
}, 320);
|
|
3869
|
-
return () => {
|
|
3870
|
-
clearTimeout(timeout);
|
|
3871
|
-
};
|
|
3872
|
-
}, [viewKey]);
|
|
3873
|
-
const renderTabContent = () => {
|
|
3874
|
-
if (!isAsync && (view == null ? void 0 : view.children)) return view.children;
|
|
3875
|
-
if (isAsync && transitioned && viewKey === viewKeyRef.current && (view == null ? void 0 : view.children)) return view.children;
|
|
3876
|
-
if (view == null ? void 0 : view.skeleton) return view.skeleton;
|
|
3877
|
-
return null;
|
|
3878
|
-
};
|
|
3879
|
-
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
3880
|
-
className: cs__default.default(TabMenuStyle, "tab-menu", (view == null ? void 0 : view.isOverview) && "is-overview")
|
|
3881
|
-
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
3882
|
-
className: "tab-bar"
|
|
3883
|
-
}, tabs.map(tab => {
|
|
3884
|
-
var _a;
|
|
3885
|
-
const isSelected = (view == null ? void 0 : view.key) === tab.key;
|
|
3886
|
-
let typo = Typo.Label.l2_regular_title;
|
|
3887
|
-
if (isMedium && isSelected) {
|
|
3888
|
-
typo = Typo.Label.l1_bold_title;
|
|
3889
|
-
} else if (isMedium && !isSelected) {
|
|
3890
|
-
typo = Typo.Label.l1_regular_title;
|
|
3891
|
-
} else if (!isMedium && isSelected) {
|
|
3892
|
-
typo = Typo.Label.l2_bold_title;
|
|
3893
|
-
}
|
|
3894
|
-
if ("items" in tab) {
|
|
3895
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Dropdown, {
|
|
3896
|
-
key: tab.key,
|
|
3897
|
-
overlayClassName: TabMenuSubMenu,
|
|
3898
|
-
transitionName: "no-animation",
|
|
3899
|
-
overlay: /* @__PURE__ */React__namespace.default.createElement(antd.Menu, {
|
|
3900
|
-
selectedKeys: [selectedKey],
|
|
3901
|
-
onClick: params => onChange == null ? void 0 : onChange(params.key)
|
|
3902
|
-
}, (_a = tab.items) == null ? void 0 : _a.map(item => /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Item, {
|
|
3903
|
-
"data-test": item.key,
|
|
3904
|
-
key: item.key
|
|
3905
|
-
}, item.title))),
|
|
3906
|
-
trigger: ["click"]
|
|
3907
|
-
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3908
|
-
className: cs__default.default(["tab-menu-item", "tab-menu-item-group", isSelected && "tab-menu-item-selected", isMedium && "tab-menu-item-medium", theme === "light" && "tab-menu-item-light"])
|
|
3909
|
-
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3910
|
-
className: cs__default.default(["main-title", isMedium ? Typo.Label.l1_regular_title : Typo.Label.l2_regular_title])
|
|
3911
|
-
}, tab.title), /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3912
|
-
className: cs__default.default(["sub-title", typo]),
|
|
3913
|
-
"data-test": isSelected ? view == null ? void 0 : view.title : tab.title
|
|
3914
|
-
}, /* @__PURE__ */React__namespace.default.createElement("svg", {
|
|
3915
|
-
className: "slash-arrow",
|
|
3916
|
-
width: "8",
|
|
3917
|
-
height: "8",
|
|
3918
|
-
viewBox: "0 0 8 8",
|
|
3919
|
-
fill: "none",
|
|
3920
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3921
|
-
}, /* @__PURE__ */React__namespace.default.createElement("path", {
|
|
3922
|
-
d: "M4.81662 3.33203C5.15455 3.555 5.32351 3.66649 5.38224 3.80736C5.43358 3.93049 5.43358 4.06904 5.38224 4.19218C5.32351 4.33305 5.15455 4.44454 4.81662 4.66751L1.81921 6.64529C1.4159 6.91141 1.21424 7.04446 1.04715 7.03393C0.901576 7.02475 0.767265 6.95246 0.679429 6.836C0.578613 6.70234 0.578613 6.46074 0.578613 5.97755L0.578613 2.02199C0.578613 1.53879 0.578613 1.2972 0.679429 1.16353C0.767265 1.04708 0.901576 0.974785 1.04715 0.965607C1.21424 0.955073 1.4159 1.08813 1.81921 1.35425L4.81662 3.33203Z"
|
|
3923
|
-
})), /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3924
|
-
className: "sub-title-text"
|
|
3925
|
-
}, isSelected ? view == null ? void 0 : view.title : tab.title), renderExpandArrow(size, isSelected))));
|
|
3926
|
-
}
|
|
3927
|
-
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3928
|
-
className: cs__default.default(["tab-menu-item", isSelected && "tab-menu-item-selected", isMedium && "tab-menu-item-medium", theme === "light" && "tab-menu-item-light", typo]),
|
|
3929
|
-
key: tab.key,
|
|
3930
|
-
"data-test": tab.title,
|
|
3931
|
-
onClick: () => onChange == null ? void 0 : onChange(tab.key)
|
|
3932
|
-
}, tab.title);
|
|
3933
|
-
})), /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
3934
|
-
key: selectedKey,
|
|
3935
|
-
className: "tab-content"
|
|
3936
|
-
}, renderTabContent()));
|
|
3937
|
-
};
|
|
3938
|
-
|
|
3939
3797
|
const BASIC_RELATIVE_TIME_CONFIG = [
|
|
3940
3798
|
{
|
|
3941
3799
|
unit: "m",
|
|
@@ -4482,18 +4340,6 @@
|
|
|
4482
4340
|
));
|
|
4483
4341
|
};
|
|
4484
4342
|
|
|
4485
|
-
function useMemoCompare(next, compare) {
|
|
4486
|
-
const previousRef = React.useRef();
|
|
4487
|
-
const previous = previousRef.current;
|
|
4488
|
-
const isEqual = compare(previous, next);
|
|
4489
|
-
React.useEffect(() => {
|
|
4490
|
-
if (!isEqual) {
|
|
4491
|
-
previousRef.current = next;
|
|
4492
|
-
}
|
|
4493
|
-
});
|
|
4494
|
-
return isEqual ? previous : next;
|
|
4495
|
-
}
|
|
4496
|
-
|
|
4497
4343
|
const InputTime = (props) => {
|
|
4498
4344
|
const { className, value, danger, error, onChange, onBlur } = props;
|
|
4499
4345
|
const [focus, setFocus] = React.useState(false);
|
|
@@ -4635,6 +4481,18 @@
|
|
|
4635
4481
|
), error ? /* @__PURE__ */ React__namespace.default.createElement("p", { className: core.cx("error-message", Typo.Label.l4_regular) }, error) : null);
|
|
4636
4482
|
};
|
|
4637
4483
|
|
|
4484
|
+
function useMemoCompare(next, compare) {
|
|
4485
|
+
const previousRef = React.useRef();
|
|
4486
|
+
const previous = previousRef.current;
|
|
4487
|
+
const isEqual = compare(previous, next);
|
|
4488
|
+
React.useEffect(() => {
|
|
4489
|
+
if (!isEqual) {
|
|
4490
|
+
previousRef.current = next;
|
|
4491
|
+
}
|
|
4492
|
+
});
|
|
4493
|
+
return isEqual ? previous : next;
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4638
4496
|
function transformTime(type, day, boundaryDate) {
|
|
4639
4497
|
if (day) {
|
|
4640
4498
|
const _boundaryDate = dayjs__default.default(boundaryDate);
|
|
@@ -4837,64 +4695,206 @@
|
|
|
4837
4695
|
})));
|
|
4838
4696
|
};
|
|
4839
4697
|
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
}
|
|
4856
|
-
return a;
|
|
4698
|
+
const TabMenuStyle = "t160l1cm";
|
|
4699
|
+
const TabMenuSubMenu = "t14npdqr";
|
|
4700
|
+
const renderExpandArrow = (size, isBold) => {
|
|
4701
|
+
if (size === "medium" && !isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDown16BlueIcon, {
|
|
4702
|
+
className: "expand-arrow"
|
|
4703
|
+
});
|
|
4704
|
+
if (size === "medium" && isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDown16BoldBlueIcon, {
|
|
4705
|
+
className: "expand-arrow"
|
|
4706
|
+
});
|
|
4707
|
+
if (size === "small" && !isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDownSmall16BlueIcon, {
|
|
4708
|
+
className: "expand-arrow"
|
|
4709
|
+
});
|
|
4710
|
+
if (size === "small" && isBold) return /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDownSmall16BoldBlueIcon, {
|
|
4711
|
+
className: "expand-arrow"
|
|
4712
|
+
});
|
|
4857
4713
|
};
|
|
4858
|
-
|
|
4859
|
-
const TimeRange = (props) => {
|
|
4714
|
+
const TabMenu = props => {
|
|
4860
4715
|
const {
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
minDate,
|
|
4867
|
-
maxDate,
|
|
4868
|
-
onTypeChange,
|
|
4869
|
-
onRelativeTimeChange,
|
|
4870
|
-
onAbsoluteTimeOk,
|
|
4871
|
-
onAbsoluteTimeChange
|
|
4716
|
+
tabs,
|
|
4717
|
+
onChange,
|
|
4718
|
+
selectedKey,
|
|
4719
|
+
size = "medium",
|
|
4720
|
+
theme = "default"
|
|
4872
4721
|
} = props;
|
|
4873
|
-
const
|
|
4874
|
-
const
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4722
|
+
const onChangeRef = React.useRef(onChange);
|
|
4723
|
+
const view = React.useMemo(() => {
|
|
4724
|
+
if (tabs.length === 0) return void 0;
|
|
4725
|
+
let result;
|
|
4726
|
+
tabs.some(tab => {
|
|
4727
|
+
var _a;
|
|
4728
|
+
if ("items" in tab) {
|
|
4729
|
+
const select = (_a = tab.items) == null ? void 0 : _a.find(item => item.key === selectedKey);
|
|
4730
|
+
result = select ? {
|
|
4731
|
+
key: tab.key,
|
|
4732
|
+
children: select.children,
|
|
4733
|
+
title: select.title,
|
|
4734
|
+
isAsync: tab.isAsync,
|
|
4735
|
+
skeleton: tab.skeleton,
|
|
4736
|
+
isOverview: select.isOverview
|
|
4737
|
+
} : void 0;
|
|
4738
|
+
} else if (tab.key === selectedKey) {
|
|
4739
|
+
result = {
|
|
4740
|
+
key: tab.key,
|
|
4741
|
+
children: tab.children,
|
|
4742
|
+
title: tab.title,
|
|
4743
|
+
isAsync: tab.isAsync,
|
|
4744
|
+
skeleton: tab.skeleton,
|
|
4745
|
+
isOverview: tab.isOverview
|
|
4746
|
+
};
|
|
4747
|
+
}
|
|
4748
|
+
return result;
|
|
4749
|
+
});
|
|
4750
|
+
if (!result) {
|
|
4751
|
+
setTimeout(() => {
|
|
4752
|
+
var _a;
|
|
4753
|
+
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, tabs[0].key);
|
|
4754
|
+
}, 0);
|
|
4755
|
+
return tabs[0];
|
|
4756
|
+
}
|
|
4757
|
+
return result;
|
|
4758
|
+
}, [tabs, selectedKey]);
|
|
4759
|
+
const isMedium = size === "medium";
|
|
4760
|
+
const viewKey = view == null ? void 0 : view.key;
|
|
4761
|
+
const isAsync = view == null ? void 0 : view.isAsync;
|
|
4762
|
+
const [transitioned, setTransitioned] = React.useState(false);
|
|
4763
|
+
const viewKeyRef = React.useRef(view == null ? void 0 : view.key);
|
|
4764
|
+
React.useEffect(() => {
|
|
4765
|
+
setTransitioned(false);
|
|
4766
|
+
viewKeyRef.current = viewKey;
|
|
4767
|
+
const timeout = setTimeout(() => {
|
|
4768
|
+
setTransitioned(true);
|
|
4769
|
+
}, 320);
|
|
4770
|
+
return () => {
|
|
4771
|
+
clearTimeout(timeout);
|
|
4772
|
+
};
|
|
4773
|
+
}, [viewKey]);
|
|
4774
|
+
const renderTabContent = () => {
|
|
4775
|
+
if (!isAsync && (view == null ? void 0 : view.children)) return view.children;
|
|
4776
|
+
if (isAsync && transitioned && viewKey === viewKeyRef.current && (view == null ? void 0 : view.children)) return view.children;
|
|
4777
|
+
if (view == null ? void 0 : view.skeleton) return view.skeleton;
|
|
4778
|
+
return null;
|
|
4779
|
+
};
|
|
4780
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
4781
|
+
className: cs__default.default(TabMenuStyle, "tab-menu", (view == null ? void 0 : view.isOverview) && "is-overview")
|
|
4782
|
+
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
4783
|
+
className: "tab-bar"
|
|
4784
|
+
}, tabs.map(tab => {
|
|
4785
|
+
var _a;
|
|
4786
|
+
const isSelected = (view == null ? void 0 : view.key) === tab.key;
|
|
4787
|
+
let typo = Typo.Label.l2_regular_title;
|
|
4788
|
+
if (isMedium && isSelected) {
|
|
4789
|
+
typo = Typo.Label.l1_bold_title;
|
|
4790
|
+
} else if (isMedium && !isSelected) {
|
|
4791
|
+
typo = Typo.Label.l1_regular_title;
|
|
4792
|
+
} else if (!isMedium && isSelected) {
|
|
4793
|
+
typo = Typo.Label.l2_bold_title;
|
|
4794
|
+
}
|
|
4795
|
+
if ("items" in tab) {
|
|
4796
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Dropdown, {
|
|
4797
|
+
key: tab.key,
|
|
4798
|
+
overlayClassName: TabMenuSubMenu,
|
|
4799
|
+
transitionName: "no-animation",
|
|
4800
|
+
overlay: /* @__PURE__ */React__namespace.default.createElement(antd.Menu, {
|
|
4801
|
+
selectedKeys: [selectedKey],
|
|
4802
|
+
onClick: params => onChange == null ? void 0 : onChange(params.key)
|
|
4803
|
+
}, (_a = tab.items) == null ? void 0 : _a.map(item => /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Item, {
|
|
4804
|
+
"data-test": item.key,
|
|
4805
|
+
key: item.key
|
|
4806
|
+
}, item.title))),
|
|
4807
|
+
trigger: ["click"]
|
|
4808
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4809
|
+
className: cs__default.default(["tab-menu-item", "tab-menu-item-group", isSelected && "tab-menu-item-selected", isMedium && "tab-menu-item-medium", theme === "light" && "tab-menu-item-light"])
|
|
4810
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4811
|
+
className: cs__default.default(["main-title", isMedium ? Typo.Label.l1_regular_title : Typo.Label.l2_regular_title])
|
|
4812
|
+
}, tab.title), /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4813
|
+
className: cs__default.default(["sub-title", typo]),
|
|
4814
|
+
"data-test": isSelected ? view == null ? void 0 : view.title : tab.title
|
|
4815
|
+
}, /* @__PURE__ */React__namespace.default.createElement("svg", {
|
|
4816
|
+
className: "slash-arrow",
|
|
4817
|
+
width: "8",
|
|
4818
|
+
height: "8",
|
|
4819
|
+
viewBox: "0 0 8 8",
|
|
4820
|
+
fill: "none",
|
|
4821
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4822
|
+
}, /* @__PURE__ */React__namespace.default.createElement("path", {
|
|
4823
|
+
d: "M4.81662 3.33203C5.15455 3.555 5.32351 3.66649 5.38224 3.80736C5.43358 3.93049 5.43358 4.06904 5.38224 4.19218C5.32351 4.33305 5.15455 4.44454 4.81662 4.66751L1.81921 6.64529C1.4159 6.91141 1.21424 7.04446 1.04715 7.03393C0.901576 7.02475 0.767265 6.95246 0.679429 6.836C0.578613 6.70234 0.578613 6.46074 0.578613 5.97755L0.578613 2.02199C0.578613 1.53879 0.578613 1.2972 0.679429 1.16353C0.767265 1.04708 0.901576 0.974785 1.04715 0.965607C1.21424 0.955073 1.4159 1.08813 1.81921 1.35425L4.81662 3.33203Z"
|
|
4824
|
+
})), /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4825
|
+
className: "sub-title-text"
|
|
4826
|
+
}, isSelected ? view == null ? void 0 : view.title : tab.title), renderExpandArrow(size, isSelected))));
|
|
4827
|
+
}
|
|
4828
|
+
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4829
|
+
className: cs__default.default(["tab-menu-item", isSelected && "tab-menu-item-selected", isMedium && "tab-menu-item-medium", theme === "light" && "tab-menu-item-light", typo]),
|
|
4830
|
+
key: tab.key,
|
|
4831
|
+
"data-test": tab.title,
|
|
4832
|
+
onClick: () => onChange == null ? void 0 : onChange(tab.key)
|
|
4833
|
+
}, tab.title);
|
|
4834
|
+
})), /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
4835
|
+
key: selectedKey,
|
|
4836
|
+
className: "tab-content"
|
|
4837
|
+
}, renderTabContent()));
|
|
4838
|
+
};
|
|
4839
|
+
|
|
4840
|
+
var __defProp$C = Object.defineProperty;
|
|
4841
|
+
var __defProps$r = Object.defineProperties;
|
|
4842
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
4843
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
4844
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
4845
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
4846
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4847
|
+
var __spreadValues$C = (a, b) => {
|
|
4848
|
+
for (var prop in b || (b = {}))
|
|
4849
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
4850
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
4851
|
+
if (__getOwnPropSymbols$D)
|
|
4852
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
4853
|
+
if (__propIsEnum$D.call(b, prop))
|
|
4854
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
4855
|
+
}
|
|
4856
|
+
return a;
|
|
4857
|
+
};
|
|
4858
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
4859
|
+
const TimeRange = (props) => {
|
|
4860
|
+
const {
|
|
4861
|
+
visible,
|
|
4862
|
+
type,
|
|
4863
|
+
relativeTime,
|
|
4864
|
+
range,
|
|
4865
|
+
mode = ["relative", "absolute"],
|
|
4866
|
+
minDate,
|
|
4867
|
+
maxDate,
|
|
4868
|
+
onTypeChange,
|
|
4869
|
+
onRelativeTimeChange,
|
|
4870
|
+
onAbsoluteTimeOk,
|
|
4871
|
+
onAbsoluteTimeChange
|
|
4872
|
+
} = props;
|
|
4873
|
+
const { t } = useParrotTranslation();
|
|
4874
|
+
const absoluteDateRef = React.useRef(null);
|
|
4875
|
+
React.useEffect(() => {
|
|
4876
|
+
var _a, _b;
|
|
4877
|
+
if (!visible) {
|
|
4878
|
+
(_b = (_a = absoluteDateRef.current) == null ? void 0 : _a.reset) == null ? void 0 : _b.call(_a);
|
|
4879
|
+
}
|
|
4880
|
+
}, [visible]);
|
|
4881
|
+
if (mode === "relative") {
|
|
4882
|
+
return /* @__PURE__ */ React__namespace.default.createElement("div", { className: "relative-time-container" }, /* @__PURE__ */ React__namespace.default.createElement(
|
|
4883
|
+
RelativeTime,
|
|
4884
|
+
{
|
|
4885
|
+
value: relativeTime,
|
|
4886
|
+
onChange: (time) => onRelativeTimeChange == null ? void 0 : onRelativeTimeChange(time)
|
|
4887
|
+
}
|
|
4888
|
+
));
|
|
4889
|
+
} else if (mode === "absolute") {
|
|
4890
|
+
return /* @__PURE__ */ React__namespace.default.createElement("div", { className: "absolute-time-container" }, /* @__PURE__ */ React__namespace.default.createElement(
|
|
4891
|
+
AbsoluteDate,
|
|
4892
|
+
{
|
|
4893
|
+
ref: absoluteDateRef,
|
|
4894
|
+
range: range || [null, null],
|
|
4895
|
+
minDate,
|
|
4896
|
+
maxDate,
|
|
4897
|
+
onChange: (range2) => onAbsoluteTimeChange == null ? void 0 : onAbsoluteTimeChange(range2),
|
|
4898
4898
|
onOk: (range2) => onAbsoluteTimeOk == null ? void 0 : onAbsoluteTimeOk(range2)
|
|
4899
4899
|
}
|
|
4900
4900
|
));
|
|
@@ -5168,7 +5168,7 @@
|
|
|
5168
5168
|
style: {
|
|
5169
5169
|
width,
|
|
5170
5170
|
background: color,
|
|
5171
|
-
display:
|
|
5171
|
+
display: value === 0 || total === 0 ? "none" : "inline-block"
|
|
5172
5172
|
}
|
|
5173
5173
|
});
|
|
5174
5174
|
}));
|
|
@@ -5612,66 +5612,349 @@
|
|
|
5612
5612
|
}, title)));
|
|
5613
5613
|
};
|
|
5614
5614
|
|
|
5615
|
-
const
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
propsAsIs: false
|
|
5624
|
-
});
|
|
5625
|
-
const ToolTipStyle = "tcckoz1";
|
|
5626
|
-
const NamesTooltip = props => {
|
|
5627
|
-
const {
|
|
5628
|
-
names,
|
|
5629
|
-
children
|
|
5630
|
-
} = props;
|
|
5631
|
-
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
5632
|
-
title: /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, names.map(name => /* @__PURE__ */React__namespace.default.createElement(NameItem, {
|
|
5633
|
-
key: name.id
|
|
5634
|
-
}, name.name))),
|
|
5635
|
-
overlayClassName: ToolTipStyle
|
|
5636
|
-
}, /* @__PURE__ */React__namespace.default.createElement(TooltipText, {
|
|
5637
|
-
className: "dashed-border-bottom"
|
|
5638
|
-
}, children));
|
|
5639
|
-
};
|
|
5615
|
+
const PresetColors$3 = [
|
|
5616
|
+
"blue",
|
|
5617
|
+
"red",
|
|
5618
|
+
"yellow",
|
|
5619
|
+
"green",
|
|
5620
|
+
"gray",
|
|
5621
|
+
"purple"
|
|
5622
|
+
];
|
|
5640
5623
|
|
|
5641
|
-
const
|
|
5642
|
-
|
|
5643
|
-
|
|
5624
|
+
const Size$1 = {
|
|
5625
|
+
small: "slr2ynn",
|
|
5626
|
+
medium: "m140wbb6"
|
|
5644
5627
|
};
|
|
5628
|
+
const TagStyle$1 = "t1fozc1i";
|
|
5629
|
+
const IconStyle$1 = "i1vxv4ln";
|
|
5630
|
+
const NameTagStyle = "n1afl31m";
|
|
5645
5631
|
|
|
5646
5632
|
var __defProp$z = Object.defineProperty;
|
|
5633
|
+
var __defProps$q = Object.defineProperties;
|
|
5634
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
5647
5635
|
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
5648
5636
|
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
5649
5637
|
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
5650
|
-
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
5638
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
5639
|
+
enumerable: true,
|
|
5640
|
+
configurable: true,
|
|
5641
|
+
writable: true,
|
|
5642
|
+
value
|
|
5643
|
+
}) : obj[key] = value;
|
|
5651
5644
|
var __spreadValues$z = (a, b) => {
|
|
5652
|
-
for (var prop in b || (b = {}))
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
5657
|
-
if (__propIsEnum$A.call(b, prop))
|
|
5658
|
-
__defNormalProp$z(a, prop, b[prop]);
|
|
5659
|
-
}
|
|
5645
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
5646
|
+
if (__getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(b)) {
|
|
5647
|
+
if (__propIsEnum$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
5648
|
+
}
|
|
5660
5649
|
return a;
|
|
5661
5650
|
};
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5651
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
5652
|
+
var __objRest$i = (source, exclude) => {
|
|
5653
|
+
var target = {};
|
|
5654
|
+
for (var prop in source) if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5655
|
+
if (source != null && __getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(source)) {
|
|
5656
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop)) target[prop] = source[prop];
|
|
5657
|
+
}
|
|
5658
|
+
return target;
|
|
5659
|
+
};
|
|
5660
|
+
const WrapperStyle = "w7ob4th";
|
|
5661
|
+
const SplitTag = _a => {
|
|
5662
|
+
var _b = _a,
|
|
5663
|
+
{
|
|
5664
|
+
size = "small",
|
|
5665
|
+
color = "gray",
|
|
5666
|
+
className,
|
|
5667
|
+
primaryContent,
|
|
5668
|
+
secondaryContent,
|
|
5669
|
+
icon
|
|
5670
|
+
} = _b,
|
|
5671
|
+
props = __objRest$i(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
5672
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$q(__spreadValues$z({}, props), {
|
|
5673
|
+
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
5674
|
+
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
5675
|
+
}, "outside-tag")
|
|
5676
|
+
}), /* @__PURE__ */React__namespace.default.createElement(antd.Tag, {
|
|
5677
|
+
className: cs__default.default(Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5678
|
+
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
5679
|
+
}, "inside-tag")
|
|
5680
|
+
}, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
5681
|
+
className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
|
|
5682
|
+
}, icon), primaryContent), secondaryContent);
|
|
5669
5683
|
};
|
|
5670
|
-
SortableList.Item = reactBeautifulDnd.Draggable;
|
|
5671
5684
|
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5685
|
+
var __defProp$y = Object.defineProperty;
|
|
5686
|
+
var __defProps$p = Object.defineProperties;
|
|
5687
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
5688
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
5689
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
5690
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
5691
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5692
|
+
var __spreadValues$y = (a, b) => {
|
|
5693
|
+
for (var prop in b || (b = {}))
|
|
5694
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
5695
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
5696
|
+
if (__getOwnPropSymbols$z)
|
|
5697
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
5698
|
+
if (__propIsEnum$z.call(b, prop))
|
|
5699
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
5700
|
+
}
|
|
5701
|
+
return a;
|
|
5702
|
+
};
|
|
5703
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
5704
|
+
var __objRest$h = (source, exclude) => {
|
|
5705
|
+
var target = {};
|
|
5706
|
+
for (var prop in source)
|
|
5707
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5708
|
+
target[prop] = source[prop];
|
|
5709
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
5710
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
5711
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
5712
|
+
target[prop] = source[prop];
|
|
5713
|
+
}
|
|
5714
|
+
return target;
|
|
5715
|
+
};
|
|
5716
|
+
const PresetColors$2 = [
|
|
5717
|
+
...PresetColors$3,
|
|
5718
|
+
"red-ontint",
|
|
5719
|
+
"green-ontint"
|
|
5720
|
+
];
|
|
5721
|
+
const AntdColorMap = {
|
|
5722
|
+
processing: "blue",
|
|
5723
|
+
success: "green",
|
|
5724
|
+
error: "red",
|
|
5725
|
+
warn: "yellow",
|
|
5726
|
+
default: "gray"
|
|
5727
|
+
};
|
|
5728
|
+
const Tag = (_a) => {
|
|
5729
|
+
var _b = _a, {
|
|
5730
|
+
size = "small",
|
|
5731
|
+
color = "gray",
|
|
5732
|
+
className,
|
|
5733
|
+
hoverable = false,
|
|
5734
|
+
icon,
|
|
5735
|
+
children
|
|
5736
|
+
} = _b, props = __objRest$h(_b, [
|
|
5737
|
+
"size",
|
|
5738
|
+
"color",
|
|
5739
|
+
"className",
|
|
5740
|
+
"hoverable",
|
|
5741
|
+
"icon",
|
|
5742
|
+
"children"
|
|
5743
|
+
]);
|
|
5744
|
+
const computedColor = AntdColorMap[color] || color;
|
|
5745
|
+
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5746
|
+
antd.Tag,
|
|
5747
|
+
__spreadProps$p(__spreadValues$y({}, props), {
|
|
5748
|
+
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5749
|
+
[`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
|
|
5750
|
+
"tag-hover": hoverable
|
|
5751
|
+
}),
|
|
5752
|
+
closable: false,
|
|
5753
|
+
color: computedColor === "gray" ? void 0 : computedColor
|
|
5754
|
+
}),
|
|
5755
|
+
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle$1 }, icon),
|
|
5756
|
+
children
|
|
5757
|
+
);
|
|
5758
|
+
};
|
|
5759
|
+
const NameTag = (_c) => {
|
|
5760
|
+
var _d = _c, { className } = _d, props = __objRest$h(_d, ["className"]);
|
|
5761
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$y({ className: cs__default.default(NameTagStyle, className) }, props));
|
|
5762
|
+
};
|
|
5763
|
+
Tag.SplitTag = SplitTag;
|
|
5764
|
+
Tag.NameTag = NameTag;
|
|
5765
|
+
|
|
5766
|
+
var __defProp$x = Object.defineProperty;
|
|
5767
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
5768
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
5769
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
5770
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5771
|
+
var __spreadValues$x = (a, b) => {
|
|
5772
|
+
for (var prop in b || (b = {}))
|
|
5773
|
+
if (__hasOwnProp$y.call(b, prop))
|
|
5774
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
5775
|
+
if (__getOwnPropSymbols$y)
|
|
5776
|
+
for (var prop of __getOwnPropSymbols$y(b)) {
|
|
5777
|
+
if (__propIsEnum$y.call(b, prop))
|
|
5778
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
5779
|
+
}
|
|
5780
|
+
return a;
|
|
5781
|
+
};
|
|
5782
|
+
const ParrotTrans = (props) => {
|
|
5783
|
+
const { i18n } = useParrotTranslation();
|
|
5784
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$x({ i18n }, props));
|
|
5785
|
+
};
|
|
5786
|
+
|
|
5787
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
5788
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
5789
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
5790
|
+
var __objRest$g = (source, exclude) => {
|
|
5791
|
+
var target = {};
|
|
5792
|
+
for (var prop in source) if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5793
|
+
if (source != null && __getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(source)) {
|
|
5794
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop)) target[prop] = source[prop];
|
|
5795
|
+
}
|
|
5796
|
+
return target;
|
|
5797
|
+
};
|
|
5798
|
+
const tagStyle = "tqjc4ui";
|
|
5799
|
+
const I18nNameTag = props => {
|
|
5800
|
+
const _a = props,
|
|
5801
|
+
{
|
|
5802
|
+
name,
|
|
5803
|
+
i18nKey
|
|
5804
|
+
} = _a,
|
|
5805
|
+
otherOption = __objRest$g(_a, ["name", "i18nKey"]);
|
|
5806
|
+
return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
|
|
5807
|
+
i18nKey,
|
|
5808
|
+
tOptions: otherOption
|
|
5809
|
+
}, "h", /* @__PURE__ */React__namespace.default.createElement(Tag.NameTag, {
|
|
5810
|
+
className: tagStyle
|
|
5811
|
+
}, {
|
|
5812
|
+
name
|
|
5813
|
+
}));
|
|
5814
|
+
};
|
|
5815
|
+
|
|
5816
|
+
const NameItem = /*#__PURE__*/react.styled('div')({
|
|
5817
|
+
name: "NameItem",
|
|
5818
|
+
class: "n12mqh7z",
|
|
5819
|
+
propsAsIs: false
|
|
5820
|
+
});
|
|
5821
|
+
const TooltipText = /*#__PURE__*/react.styled('span')({
|
|
5822
|
+
name: "TooltipText",
|
|
5823
|
+
class: "tf5bynu",
|
|
5824
|
+
propsAsIs: false
|
|
5825
|
+
});
|
|
5826
|
+
const ToolTipStyle = "tcckoz1";
|
|
5827
|
+
const NamesTooltip = props => {
|
|
5828
|
+
const {
|
|
5829
|
+
names,
|
|
5830
|
+
children
|
|
5831
|
+
} = props;
|
|
5832
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
5833
|
+
title: /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, names.map(name => /* @__PURE__ */React__namespace.default.createElement(NameItem, {
|
|
5834
|
+
key: name.id
|
|
5835
|
+
}, name.name))),
|
|
5836
|
+
overlayClassName: ToolTipStyle
|
|
5837
|
+
}, /* @__PURE__ */React__namespace.default.createElement(TooltipText, {
|
|
5838
|
+
className: "dashed-border-bottom"
|
|
5839
|
+
}, children));
|
|
5840
|
+
};
|
|
5841
|
+
|
|
5842
|
+
var __defProp$w = Object.defineProperty;
|
|
5843
|
+
var __defProps$o = Object.defineProperties;
|
|
5844
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
5845
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
5846
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
5847
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
5848
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, {
|
|
5849
|
+
enumerable: true,
|
|
5850
|
+
configurable: true,
|
|
5851
|
+
writable: true,
|
|
5852
|
+
value
|
|
5853
|
+
}) : obj[key] = value;
|
|
5854
|
+
var __spreadValues$w = (a, b) => {
|
|
5855
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$w.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
5856
|
+
if (__getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(b)) {
|
|
5857
|
+
if (__propIsEnum$w.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
5858
|
+
}
|
|
5859
|
+
return a;
|
|
5860
|
+
};
|
|
5861
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
5862
|
+
const OverflowText = "ou7iq30";
|
|
5863
|
+
const SingleLineStyle = "s1tui002";
|
|
5864
|
+
const _exp$3 = () => ({
|
|
5865
|
+
lineClamp = 2
|
|
5866
|
+
}) => lineClamp;
|
|
5867
|
+
const MultipleLine = /*#__PURE__*/react.styled('div')({
|
|
5868
|
+
name: "MultipleLine",
|
|
5869
|
+
class: "mxrc2zg",
|
|
5870
|
+
propsAsIs: false,
|
|
5871
|
+
vars: {
|
|
5872
|
+
"mxrc2zg-0": [_exp$3()]
|
|
5873
|
+
}
|
|
5874
|
+
});
|
|
5875
|
+
const OverflowTooltip = props => {
|
|
5876
|
+
const {
|
|
5877
|
+
content,
|
|
5878
|
+
className,
|
|
5879
|
+
onClick,
|
|
5880
|
+
multiLines
|
|
5881
|
+
} = props;
|
|
5882
|
+
const tooltip = props.tooltip || content;
|
|
5883
|
+
const [ellipsis, setEllipsis] = React.useState(false);
|
|
5884
|
+
const textRef = React.useRef(null);
|
|
5885
|
+
const isMultiLine = multiLines && multiLines > 1;
|
|
5886
|
+
React.useEffect(() => {
|
|
5887
|
+
const ele = textRef.current;
|
|
5888
|
+
let observer;
|
|
5889
|
+
if (ele) {
|
|
5890
|
+
const handleResize = _.debounce(() => {
|
|
5891
|
+
if (isMultiLine) {
|
|
5892
|
+
setEllipsis(ele.scrollHeight > ele.offsetHeight);
|
|
5893
|
+
} else {
|
|
5894
|
+
setEllipsis(ele.scrollWidth > ele.offsetWidth);
|
|
5895
|
+
}
|
|
5896
|
+
}, 200);
|
|
5897
|
+
observer = new ResizeObserver(handleResize);
|
|
5898
|
+
observer.observe(ele);
|
|
5899
|
+
}
|
|
5900
|
+
return () => {
|
|
5901
|
+
observer == null ? void 0 : observer.disconnect();
|
|
5902
|
+
};
|
|
5903
|
+
});
|
|
5904
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$o(__spreadValues$w({}, !ellipsis && {
|
|
5905
|
+
visible: false
|
|
5906
|
+
}), {
|
|
5907
|
+
title: tooltip
|
|
5908
|
+
}), isMultiLine ? /* @__PURE__ */React__namespace.default.createElement(MultipleLine, {
|
|
5909
|
+
ref: textRef,
|
|
5910
|
+
className: core.cx(OverflowText, className),
|
|
5911
|
+
lineClamp: multiLines,
|
|
5912
|
+
onClick: () => {
|
|
5913
|
+
onClick && onClick();
|
|
5914
|
+
}
|
|
5915
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", null, content)) : /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
5916
|
+
ref: textRef,
|
|
5917
|
+
className: core.cx(OverflowText, SingleLineStyle, className),
|
|
5918
|
+
onClick: () => {
|
|
5919
|
+
onClick && onClick();
|
|
5920
|
+
}
|
|
5921
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", null, content)));
|
|
5922
|
+
};
|
|
5923
|
+
|
|
5924
|
+
const SidebarSubtitle = (props) => {
|
|
5925
|
+
const { title, className } = props;
|
|
5926
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx(Typo.Heading.h3_regular_upper, className) }, title);
|
|
5927
|
+
};
|
|
5928
|
+
|
|
5929
|
+
var __defProp$v = Object.defineProperty;
|
|
5930
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
5931
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
5932
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
5933
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5934
|
+
var __spreadValues$v = (a, b) => {
|
|
5935
|
+
for (var prop in b || (b = {}))
|
|
5936
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
5937
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
5938
|
+
if (__getOwnPropSymbols$v)
|
|
5939
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
5940
|
+
if (__propIsEnum$v.call(b, prop))
|
|
5941
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
5942
|
+
}
|
|
5943
|
+
return a;
|
|
5944
|
+
};
|
|
5945
|
+
const SortableList = ({ moveItem, children }) => {
|
|
5946
|
+
const onDragEnd = (result) => {
|
|
5947
|
+
if (!result.destination)
|
|
5948
|
+
return;
|
|
5949
|
+
moveItem(result.source.index, result.destination.index);
|
|
5950
|
+
};
|
|
5951
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$v({ ref: provided.innerRef }, provided.droppableProps), children, provided.placeholder)));
|
|
5952
|
+
};
|
|
5953
|
+
SortableList.Item = reactBeautifulDnd.Draggable;
|
|
5954
|
+
|
|
5955
|
+
const Table$1 = /*#__PURE__*/react.styled('div')({
|
|
5956
|
+
name: "Table",
|
|
5957
|
+
class: "t1sqg15u",
|
|
5675
5958
|
propsAsIs: false
|
|
5676
5959
|
});
|
|
5677
5960
|
const TableHeader = /*#__PURE__*/react.styled('header')({
|
|
@@ -5689,13 +5972,13 @@
|
|
|
5689
5972
|
class: "t93e4cf",
|
|
5690
5973
|
propsAsIs: false
|
|
5691
5974
|
});
|
|
5692
|
-
const _exp$
|
|
5975
|
+
const _exp$2 = () => props => props.width;
|
|
5693
5976
|
const RowLabel = /*#__PURE__*/react.styled('label')({
|
|
5694
5977
|
name: "RowLabel",
|
|
5695
5978
|
class: "rhz2uv5",
|
|
5696
5979
|
propsAsIs: false,
|
|
5697
5980
|
vars: {
|
|
5698
|
-
"rhz2uv5-0": [_exp$
|
|
5981
|
+
"rhz2uv5-0": [_exp$2()]
|
|
5699
5982
|
}
|
|
5700
5983
|
});
|
|
5701
5984
|
const SummaryTableRow = props => {
|
|
@@ -5768,28 +6051,28 @@
|
|
|
5768
6051
|
})));
|
|
5769
6052
|
};
|
|
5770
6053
|
|
|
5771
|
-
var __defProp$
|
|
5772
|
-
var __getOwnPropSymbols$
|
|
5773
|
-
var __hasOwnProp$
|
|
5774
|
-
var __propIsEnum$
|
|
5775
|
-
var __defNormalProp$
|
|
6054
|
+
var __defProp$u = Object.defineProperty;
|
|
6055
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
6056
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
6057
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
6058
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
5776
6059
|
enumerable: true,
|
|
5777
6060
|
configurable: true,
|
|
5778
6061
|
writable: true,
|
|
5779
6062
|
value
|
|
5780
6063
|
}) : obj[key] = value;
|
|
5781
|
-
var __spreadValues$
|
|
5782
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5783
|
-
if (__getOwnPropSymbols$
|
|
5784
|
-
if (__propIsEnum$
|
|
6064
|
+
var __spreadValues$u = (a, b) => {
|
|
6065
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
6066
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
6067
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
5785
6068
|
}
|
|
5786
6069
|
return a;
|
|
5787
6070
|
};
|
|
5788
|
-
var __objRest$
|
|
6071
|
+
var __objRest$f = (source, exclude) => {
|
|
5789
6072
|
var target = {};
|
|
5790
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5791
|
-
if (source != null && __getOwnPropSymbols$
|
|
5792
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6073
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6074
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
6075
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
5793
6076
|
}
|
|
5794
6077
|
return target;
|
|
5795
6078
|
};
|
|
@@ -5809,40 +6092,40 @@
|
|
|
5809
6092
|
unchecked: t("common.disable")
|
|
5810
6093
|
}
|
|
5811
6094
|
} = _a,
|
|
5812
|
-
_props = __objRest$
|
|
6095
|
+
_props = __objRest$f(_a, ["text"]);
|
|
5813
6096
|
return /* @__PURE__ */React__namespace.default.createElement(SwitchWrapper, {
|
|
5814
6097
|
className: "enabled-switch",
|
|
5815
6098
|
onClick: e => e.stopPropagation()
|
|
5816
6099
|
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
5817
6100
|
className: "enabled-text"
|
|
5818
|
-
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__namespace.default.createElement(Switch, __spreadValues$
|
|
6101
|
+
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__namespace.default.createElement(Switch, __spreadValues$u({}, _props)));
|
|
5819
6102
|
};
|
|
5820
6103
|
|
|
5821
|
-
var __defProp$
|
|
5822
|
-
var __defProps$
|
|
5823
|
-
var __getOwnPropDescs$
|
|
5824
|
-
var __getOwnPropSymbols$
|
|
5825
|
-
var __hasOwnProp$
|
|
5826
|
-
var __propIsEnum$
|
|
5827
|
-
var __defNormalProp$
|
|
6104
|
+
var __defProp$t = Object.defineProperty;
|
|
6105
|
+
var __defProps$n = Object.defineProperties;
|
|
6106
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
6107
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
6108
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
6109
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
6110
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
5828
6111
|
enumerable: true,
|
|
5829
6112
|
configurable: true,
|
|
5830
6113
|
writable: true,
|
|
5831
6114
|
value
|
|
5832
6115
|
}) : obj[key] = value;
|
|
5833
|
-
var __spreadValues$
|
|
5834
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5835
|
-
if (__getOwnPropSymbols$
|
|
5836
|
-
if (__propIsEnum$
|
|
6116
|
+
var __spreadValues$t = (a, b) => {
|
|
6117
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
6118
|
+
if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
|
|
6119
|
+
if (__propIsEnum$t.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
5837
6120
|
}
|
|
5838
6121
|
return a;
|
|
5839
6122
|
};
|
|
5840
|
-
var __spreadProps$
|
|
5841
|
-
var __objRest$
|
|
6123
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
6124
|
+
var __objRest$e = (source, exclude) => {
|
|
5842
6125
|
var target = {};
|
|
5843
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5844
|
-
if (source != null && __getOwnPropSymbols$
|
|
5845
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6126
|
+
for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6127
|
+
if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
|
|
6128
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
|
|
5846
6129
|
}
|
|
5847
6130
|
return target;
|
|
5848
6131
|
};
|
|
@@ -5857,7 +6140,7 @@
|
|
|
5857
6140
|
text,
|
|
5858
6141
|
textWrapperCls
|
|
5859
6142
|
} = _a,
|
|
5860
|
-
restProps = __objRest$
|
|
6143
|
+
restProps = __objRest$e(_a, ["text", "textWrapperCls"]);
|
|
5861
6144
|
const [isTextTruncated, setTextTruncated] = React.useState(false);
|
|
5862
6145
|
const textWrapper = React.useRef(null);
|
|
5863
6146
|
React.useLayoutEffect(() => {
|
|
@@ -5873,42 +6156,42 @@
|
|
|
5873
6156
|
ref: textWrapper,
|
|
5874
6157
|
className: textWrapperCls
|
|
5875
6158
|
}, text);
|
|
5876
|
-
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
6159
|
+
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$n(__spreadValues$t({}, restProps), {
|
|
5877
6160
|
title: text,
|
|
5878
6161
|
"data-testid": "text-tooltip"
|
|
5879
6162
|
}), /* @__PURE__ */React__namespace.default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
5880
6163
|
};
|
|
5881
6164
|
|
|
5882
|
-
var __defProp$
|
|
5883
|
-
var __defProps$
|
|
5884
|
-
var __getOwnPropDescs$
|
|
5885
|
-
var __getOwnPropSymbols$
|
|
5886
|
-
var __hasOwnProp$
|
|
5887
|
-
var __propIsEnum$
|
|
5888
|
-
var __defNormalProp$
|
|
6165
|
+
var __defProp$s = Object.defineProperty;
|
|
6166
|
+
var __defProps$m = Object.defineProperties;
|
|
6167
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
6168
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
6169
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
6170
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
6171
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
|
|
5889
6172
|
enumerable: true,
|
|
5890
6173
|
configurable: true,
|
|
5891
6174
|
writable: true,
|
|
5892
6175
|
value
|
|
5893
6176
|
}) : obj[key] = value;
|
|
5894
|
-
var __spreadValues$
|
|
5895
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5896
|
-
if (__getOwnPropSymbols$
|
|
5897
|
-
if (__propIsEnum$
|
|
6177
|
+
var __spreadValues$s = (a, b) => {
|
|
6178
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
6179
|
+
if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
|
|
6180
|
+
if (__propIsEnum$s.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
5898
6181
|
}
|
|
5899
6182
|
return a;
|
|
5900
6183
|
};
|
|
5901
|
-
var __spreadProps$
|
|
5902
|
-
var __objRest$
|
|
6184
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
6185
|
+
var __objRest$d = (source, exclude) => {
|
|
5903
6186
|
var target = {};
|
|
5904
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5905
|
-
if (source != null && __getOwnPropSymbols$
|
|
5906
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6187
|
+
for (var prop in source) if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6188
|
+
if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
|
|
6189
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
|
|
5907
6190
|
}
|
|
5908
6191
|
return target;
|
|
5909
6192
|
};
|
|
5910
|
-
const MessageWrapperStyle = "
|
|
5911
|
-
const AlertStyle = "
|
|
6193
|
+
const MessageWrapperStyle = "m74vjol";
|
|
6194
|
+
const AlertStyle = "a1o35uvh";
|
|
5912
6195
|
const Alert = _a => {
|
|
5913
6196
|
var _b = _a,
|
|
5914
6197
|
{
|
|
@@ -5921,13 +6204,13 @@
|
|
|
5921
6204
|
action,
|
|
5922
6205
|
message
|
|
5923
6206
|
} = _b,
|
|
5924
|
-
props = __objRest$
|
|
6207
|
+
props = __objRest$d(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
5925
6208
|
const _icon = /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
5926
6209
|
alt: type,
|
|
5927
6210
|
src: getAlertIcon(type)
|
|
5928
6211
|
});
|
|
5929
6212
|
const _type = type === "normal" ? "info" : type;
|
|
5930
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$
|
|
6213
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$m(__spreadValues$s({}, props), {
|
|
5931
6214
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
5932
6215
|
action
|
|
5933
6216
|
}),
|
|
@@ -5959,42 +6242,42 @@
|
|
|
5959
6242
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
5960
6243
|
};
|
|
5961
6244
|
|
|
5962
|
-
var __defProp$
|
|
5963
|
-
var __defProps$
|
|
5964
|
-
var __getOwnPropDescs$
|
|
5965
|
-
var __getOwnPropSymbols$
|
|
5966
|
-
var __hasOwnProp$
|
|
5967
|
-
var __propIsEnum$
|
|
5968
|
-
var __defNormalProp$
|
|
5969
|
-
var __spreadValues$
|
|
6245
|
+
var __defProp$r = Object.defineProperty;
|
|
6246
|
+
var __defProps$l = Object.defineProperties;
|
|
6247
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
6248
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
6249
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
6250
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
6251
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6252
|
+
var __spreadValues$r = (a, b) => {
|
|
5970
6253
|
for (var prop in b || (b = {}))
|
|
5971
|
-
if (__hasOwnProp$
|
|
5972
|
-
__defNormalProp$
|
|
5973
|
-
if (__getOwnPropSymbols$
|
|
5974
|
-
for (var prop of __getOwnPropSymbols$
|
|
5975
|
-
if (__propIsEnum$
|
|
5976
|
-
__defNormalProp$
|
|
6254
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
6255
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
6256
|
+
if (__getOwnPropSymbols$r)
|
|
6257
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
6258
|
+
if (__propIsEnum$r.call(b, prop))
|
|
6259
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
5977
6260
|
}
|
|
5978
6261
|
return a;
|
|
5979
6262
|
};
|
|
5980
|
-
var __spreadProps$
|
|
5981
|
-
var __objRest$
|
|
6263
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
6264
|
+
var __objRest$c = (source, exclude) => {
|
|
5982
6265
|
var target = {};
|
|
5983
6266
|
for (var prop in source)
|
|
5984
|
-
if (__hasOwnProp$
|
|
6267
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5985
6268
|
target[prop] = source[prop];
|
|
5986
|
-
if (source != null && __getOwnPropSymbols$
|
|
5987
|
-
for (var prop of __getOwnPropSymbols$
|
|
5988
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6269
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
6270
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
6271
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
5989
6272
|
target[prop] = source[prop];
|
|
5990
6273
|
}
|
|
5991
6274
|
return target;
|
|
5992
6275
|
};
|
|
5993
6276
|
const Badge = (_a) => {
|
|
5994
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
6277
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$c(_b, ["type", "className"]);
|
|
5995
6278
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5996
6279
|
antd.Badge,
|
|
5997
|
-
__spreadProps$
|
|
6280
|
+
__spreadProps$l(__spreadValues$r({
|
|
5998
6281
|
className: core.cx(`badge-${type}`, className)
|
|
5999
6282
|
}, props), {
|
|
6000
6283
|
showZero: false
|
|
@@ -6002,35 +6285,35 @@
|
|
|
6002
6285
|
);
|
|
6003
6286
|
};
|
|
6004
6287
|
|
|
6005
|
-
var __defProp$
|
|
6006
|
-
var __getOwnPropSymbols$
|
|
6007
|
-
var __hasOwnProp$
|
|
6008
|
-
var __propIsEnum$
|
|
6009
|
-
var __defNormalProp$
|
|
6288
|
+
var __defProp$q = Object.defineProperty;
|
|
6289
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
6290
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
6291
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
6292
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
|
|
6010
6293
|
enumerable: true,
|
|
6011
6294
|
configurable: true,
|
|
6012
6295
|
writable: true,
|
|
6013
6296
|
value
|
|
6014
6297
|
}) : obj[key] = value;
|
|
6015
|
-
var __spreadValues$
|
|
6016
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6017
|
-
if (__getOwnPropSymbols$
|
|
6018
|
-
if (__propIsEnum$
|
|
6298
|
+
var __spreadValues$q = (a, b) => {
|
|
6299
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$q.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
6300
|
+
if (__getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(b)) {
|
|
6301
|
+
if (__propIsEnum$q.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
6019
6302
|
}
|
|
6020
6303
|
return a;
|
|
6021
6304
|
};
|
|
6022
|
-
var __objRest$
|
|
6305
|
+
var __objRest$b = (source, exclude) => {
|
|
6023
6306
|
var target = {};
|
|
6024
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6025
|
-
if (source != null && __getOwnPropSymbols$
|
|
6026
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6307
|
+
for (var prop in source) if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6308
|
+
if (source != null && __getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(source)) {
|
|
6309
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop)) target[prop] = source[prop];
|
|
6027
6310
|
}
|
|
6028
6311
|
return target;
|
|
6029
6312
|
};
|
|
6030
|
-
const ButtonStyle = "
|
|
6313
|
+
const ButtonStyle = "b1nip9bk";
|
|
6031
6314
|
const ButtonGroupContainer = /*#__PURE__*/react.styled('div')({
|
|
6032
6315
|
name: "ButtonGroupContainer",
|
|
6033
|
-
class: "
|
|
6316
|
+
class: "bqamoqe",
|
|
6034
6317
|
propsAsIs: false
|
|
6035
6318
|
});
|
|
6036
6319
|
const ButtonGroup = React__namespace.default.forwardRef((props, ref) => {
|
|
@@ -6058,7 +6341,7 @@
|
|
|
6058
6341
|
hideTitle,
|
|
6059
6342
|
title
|
|
6060
6343
|
} = _a,
|
|
6061
|
-
buttonPropArgs = __objRest$
|
|
6344
|
+
buttonPropArgs = __objRest$b(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
6062
6345
|
if (hideTitle) {
|
|
6063
6346
|
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
6064
6347
|
key: key || index,
|
|
@@ -6067,7 +6350,7 @@
|
|
|
6067
6350
|
style: {
|
|
6068
6351
|
cursor: "not-allowed"
|
|
6069
6352
|
}
|
|
6070
|
-
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
6353
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$q({
|
|
6071
6354
|
style: {
|
|
6072
6355
|
pointerEvents: "none"
|
|
6073
6356
|
},
|
|
@@ -6077,7 +6360,7 @@
|
|
|
6077
6360
|
ghost,
|
|
6078
6361
|
className: core.cx(ButtonStyle, className2),
|
|
6079
6362
|
prefixIcon: icon
|
|
6080
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
6363
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$q({
|
|
6081
6364
|
type,
|
|
6082
6365
|
size,
|
|
6083
6366
|
danger,
|
|
@@ -6086,7 +6369,7 @@
|
|
|
6086
6369
|
prefixIcon: icon
|
|
6087
6370
|
}, buttonPropArgs)));
|
|
6088
6371
|
}
|
|
6089
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
6372
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$q({
|
|
6090
6373
|
key: key || index,
|
|
6091
6374
|
type,
|
|
6092
6375
|
size,
|
|
@@ -6102,42 +6385,42 @@
|
|
|
6102
6385
|
|
|
6103
6386
|
const CardBody = /*#__PURE__*/react.styled('div')({
|
|
6104
6387
|
name: "CardBody",
|
|
6105
|
-
class: "
|
|
6388
|
+
class: "c1yd35n",
|
|
6106
6389
|
propsAsIs: false
|
|
6107
6390
|
});
|
|
6108
6391
|
|
|
6109
6392
|
const CardTitle = /*#__PURE__*/react.styled('div')({
|
|
6110
6393
|
name: "CardTitle",
|
|
6111
|
-
class: "
|
|
6394
|
+
class: "c1kghdax",
|
|
6112
6395
|
propsAsIs: false
|
|
6113
6396
|
});
|
|
6114
6397
|
|
|
6115
|
-
var __defProp$
|
|
6116
|
-
var __getOwnPropSymbols$
|
|
6117
|
-
var __hasOwnProp$
|
|
6118
|
-
var __propIsEnum$
|
|
6119
|
-
var __defNormalProp$
|
|
6398
|
+
var __defProp$p = Object.defineProperty;
|
|
6399
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
6400
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
6401
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
6402
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, {
|
|
6120
6403
|
enumerable: true,
|
|
6121
6404
|
configurable: true,
|
|
6122
6405
|
writable: true,
|
|
6123
6406
|
value
|
|
6124
6407
|
}) : obj[key] = value;
|
|
6125
|
-
var __spreadValues$
|
|
6126
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6127
|
-
if (__getOwnPropSymbols$
|
|
6128
|
-
if (__propIsEnum$
|
|
6408
|
+
var __spreadValues$p = (a, b) => {
|
|
6409
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
6410
|
+
if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
|
|
6411
|
+
if (__propIsEnum$p.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
6129
6412
|
}
|
|
6130
6413
|
return a;
|
|
6131
6414
|
};
|
|
6132
|
-
var __objRest$
|
|
6415
|
+
var __objRest$a = (source, exclude) => {
|
|
6133
6416
|
var target = {};
|
|
6134
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6135
|
-
if (source != null && __getOwnPropSymbols$
|
|
6136
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6417
|
+
for (var prop in source) if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6418
|
+
if (source != null && __getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(source)) {
|
|
6419
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop)) target[prop] = source[prop];
|
|
6137
6420
|
}
|
|
6138
6421
|
return target;
|
|
6139
6422
|
};
|
|
6140
|
-
const boxShadow = "
|
|
6423
|
+
const boxShadow = "b14q2gmw";
|
|
6141
6424
|
const Wrapper = React.forwardRef(props => {
|
|
6142
6425
|
const _a = props,
|
|
6143
6426
|
{
|
|
@@ -6145,47 +6428,47 @@
|
|
|
6145
6428
|
className,
|
|
6146
6429
|
shadow
|
|
6147
6430
|
} = _a,
|
|
6148
|
-
otherProps = __objRest$
|
|
6149
|
-
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$
|
|
6431
|
+
otherProps = __objRest$a(_a, ["children", "className", "shadow"]);
|
|
6432
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$p({
|
|
6150
6433
|
className: cs__default.default({
|
|
6151
6434
|
[boxShadow]: shadow
|
|
6152
6435
|
}, className)
|
|
6153
6436
|
}, otherProps), children);
|
|
6154
6437
|
});
|
|
6155
|
-
const _exp$
|
|
6156
|
-
const CardWrapper = /*#__PURE__*/react.styled(_exp$
|
|
6438
|
+
const _exp$1 = () => Wrapper;
|
|
6439
|
+
const CardWrapper = /*#__PURE__*/react.styled(_exp$1())({
|
|
6157
6440
|
name: "CardWrapper",
|
|
6158
|
-
class: "
|
|
6441
|
+
class: "c1eym6el",
|
|
6159
6442
|
propsAsIs: true
|
|
6160
6443
|
});
|
|
6161
6444
|
|
|
6162
|
-
var __defProp$
|
|
6163
|
-
var __defProps$
|
|
6164
|
-
var __getOwnPropDescs$
|
|
6165
|
-
var __getOwnPropSymbols$
|
|
6166
|
-
var __hasOwnProp$
|
|
6167
|
-
var __propIsEnum$
|
|
6168
|
-
var __defNormalProp$
|
|
6169
|
-
var __spreadValues$
|
|
6445
|
+
var __defProp$o = Object.defineProperty;
|
|
6446
|
+
var __defProps$k = Object.defineProperties;
|
|
6447
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
6448
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
6449
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
6450
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
6451
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6452
|
+
var __spreadValues$o = (a, b) => {
|
|
6170
6453
|
for (var prop in b || (b = {}))
|
|
6171
|
-
if (__hasOwnProp$
|
|
6172
|
-
__defNormalProp$
|
|
6173
|
-
if (__getOwnPropSymbols$
|
|
6174
|
-
for (var prop of __getOwnPropSymbols$
|
|
6175
|
-
if (__propIsEnum$
|
|
6176
|
-
__defNormalProp$
|
|
6454
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
6455
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
6456
|
+
if (__getOwnPropSymbols$o)
|
|
6457
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
6458
|
+
if (__propIsEnum$o.call(b, prop))
|
|
6459
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
6177
6460
|
}
|
|
6178
6461
|
return a;
|
|
6179
6462
|
};
|
|
6180
|
-
var __spreadProps$
|
|
6181
|
-
var __objRest$
|
|
6463
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
6464
|
+
var __objRest$9 = (source, exclude) => {
|
|
6182
6465
|
var target = {};
|
|
6183
6466
|
for (var prop in source)
|
|
6184
|
-
if (__hasOwnProp$
|
|
6467
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6185
6468
|
target[prop] = source[prop];
|
|
6186
|
-
if (source != null && __getOwnPropSymbols$
|
|
6187
|
-
for (var prop of __getOwnPropSymbols$
|
|
6188
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6469
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
6470
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
6471
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
6189
6472
|
target[prop] = source[prop];
|
|
6190
6473
|
}
|
|
6191
6474
|
return target;
|
|
@@ -6200,7 +6483,7 @@
|
|
|
6200
6483
|
defaultOpen = false,
|
|
6201
6484
|
hoverable,
|
|
6202
6485
|
shadow = true
|
|
6203
|
-
} = _a, domProps = __objRest$
|
|
6486
|
+
} = _a, domProps = __objRest$9(_a, [
|
|
6204
6487
|
"collapsible",
|
|
6205
6488
|
"title",
|
|
6206
6489
|
"subInfo",
|
|
@@ -6212,7 +6495,7 @@
|
|
|
6212
6495
|
const [open, setOpen] = React.useState(defaultOpen);
|
|
6213
6496
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
6214
6497
|
CardWrapper,
|
|
6215
|
-
__spreadProps$
|
|
6498
|
+
__spreadProps$k(__spreadValues$o({
|
|
6216
6499
|
ref,
|
|
6217
6500
|
className: cs__default.default(["card-wrapper", className, hoverable && "hoverable"])
|
|
6218
6501
|
}, domProps), {
|
|
@@ -6241,46 +6524,46 @@
|
|
|
6241
6524
|
}
|
|
6242
6525
|
);
|
|
6243
6526
|
|
|
6244
|
-
const DoubleRowOptionStyleWrapper = "
|
|
6245
|
-
const CascaderDefaultOptionLabel = "
|
|
6246
|
-
const CascaderNotData = "
|
|
6247
|
-
const CascaderDefaultHeaderSearch = "
|
|
6248
|
-
const CascaderInputStyle = "
|
|
6249
|
-
const CascaderDefaultHeaderContainer = "
|
|
6250
|
-
const CascaderDefaultHeader = "
|
|
6251
|
-
const CascaderDropdown = "
|
|
6252
|
-
const CascaderSmallDropdown = "
|
|
6253
|
-
const CascaderLargeDropdown = "
|
|
6527
|
+
const DoubleRowOptionStyleWrapper = "drhfj7c";
|
|
6528
|
+
const CascaderDefaultOptionLabel = "ct9qoak";
|
|
6529
|
+
const CascaderNotData = "crhnxq5";
|
|
6530
|
+
const CascaderDefaultHeaderSearch = "c1iq43vd";
|
|
6531
|
+
const CascaderInputStyle = "c1h2v0a8";
|
|
6532
|
+
const CascaderDefaultHeaderContainer = "cgzzd7y";
|
|
6533
|
+
const CascaderDefaultHeader = "c1ec3mnt";
|
|
6534
|
+
const CascaderDropdown = "c1iye0zj";
|
|
6535
|
+
const CascaderSmallDropdown = "ckhyuyx";
|
|
6536
|
+
const CascaderLargeDropdown = "c1fmq9lv";
|
|
6254
6537
|
|
|
6255
|
-
var __defProp$
|
|
6256
|
-
var __defProps$
|
|
6257
|
-
var __getOwnPropDescs$
|
|
6258
|
-
var __getOwnPropSymbols$
|
|
6259
|
-
var __hasOwnProp$
|
|
6260
|
-
var __propIsEnum$
|
|
6261
|
-
var __defNormalProp$
|
|
6538
|
+
var __defProp$n = Object.defineProperty;
|
|
6539
|
+
var __defProps$j = Object.defineProperties;
|
|
6540
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
6541
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
6542
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
6543
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
6544
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, {
|
|
6262
6545
|
enumerable: true,
|
|
6263
6546
|
configurable: true,
|
|
6264
6547
|
writable: true,
|
|
6265
6548
|
value
|
|
6266
6549
|
}) : obj[key] = value;
|
|
6267
|
-
var __spreadValues$
|
|
6268
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6269
|
-
if (__getOwnPropSymbols$
|
|
6270
|
-
if (__propIsEnum$
|
|
6550
|
+
var __spreadValues$n = (a, b) => {
|
|
6551
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
6552
|
+
if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
|
|
6553
|
+
if (__propIsEnum$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
6271
6554
|
}
|
|
6272
6555
|
return a;
|
|
6273
6556
|
};
|
|
6274
|
-
var __spreadProps$
|
|
6275
|
-
var __objRest$
|
|
6557
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
6558
|
+
var __objRest$8 = (source, exclude) => {
|
|
6276
6559
|
var target = {};
|
|
6277
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6278
|
-
if (source != null && __getOwnPropSymbols$
|
|
6279
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6560
|
+
for (var prop in source) if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6561
|
+
if (source != null && __getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(source)) {
|
|
6562
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop)) target[prop] = source[prop];
|
|
6280
6563
|
}
|
|
6281
6564
|
return target;
|
|
6282
6565
|
};
|
|
6283
|
-
const LinkStyle = "
|
|
6566
|
+
const LinkStyle = "l48ei06";
|
|
6284
6567
|
const Link = React__namespace.default.forwardRef((_a, ref) => {
|
|
6285
6568
|
var _b = _a,
|
|
6286
6569
|
{
|
|
@@ -6288,8 +6571,8 @@
|
|
|
6288
6571
|
disabled,
|
|
6289
6572
|
type
|
|
6290
6573
|
} = _b,
|
|
6291
|
-
props = __objRest$
|
|
6292
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$
|
|
6574
|
+
props = __objRest$8(_b, ["className", "disabled", "type"]);
|
|
6575
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$j(__spreadValues$n({}, props), {
|
|
6293
6576
|
ref,
|
|
6294
6577
|
disabled,
|
|
6295
6578
|
className: cs__default.default(LinkStyle, className, {
|
|
@@ -6300,43 +6583,43 @@
|
|
|
6300
6583
|
}));
|
|
6301
6584
|
});
|
|
6302
6585
|
|
|
6303
|
-
const IconStyle
|
|
6586
|
+
const IconStyle = "i1g85yz3";
|
|
6304
6587
|
|
|
6305
|
-
var __defProp$
|
|
6306
|
-
var __defProps$
|
|
6307
|
-
var __getOwnPropDescs$
|
|
6308
|
-
var __getOwnPropSymbols$
|
|
6309
|
-
var __hasOwnProp$
|
|
6310
|
-
var __propIsEnum$
|
|
6311
|
-
var __defNormalProp$
|
|
6588
|
+
var __defProp$m = Object.defineProperty;
|
|
6589
|
+
var __defProps$i = Object.defineProperties;
|
|
6590
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
6591
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
6592
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
6593
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
6594
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
6312
6595
|
enumerable: true,
|
|
6313
6596
|
configurable: true,
|
|
6314
6597
|
writable: true,
|
|
6315
6598
|
value
|
|
6316
6599
|
}) : obj[key] = value;
|
|
6317
|
-
var __spreadValues$
|
|
6318
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6319
|
-
if (__getOwnPropSymbols$
|
|
6320
|
-
if (__propIsEnum$
|
|
6600
|
+
var __spreadValues$m = (a, b) => {
|
|
6601
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
6602
|
+
if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
|
|
6603
|
+
if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
6321
6604
|
}
|
|
6322
6605
|
return a;
|
|
6323
6606
|
};
|
|
6324
|
-
var __spreadProps$
|
|
6325
|
-
var __objRest$
|
|
6607
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
6608
|
+
var __objRest$7 = (source, exclude) => {
|
|
6326
6609
|
var target = {};
|
|
6327
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6328
|
-
if (source != null && __getOwnPropSymbols$
|
|
6329
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6610
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6611
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
6612
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
6330
6613
|
}
|
|
6331
6614
|
return target;
|
|
6332
6615
|
};
|
|
6333
|
-
const PresetColors$
|
|
6334
|
-
const Size
|
|
6335
|
-
small: "
|
|
6336
|
-
medium: "
|
|
6337
|
-
large: "
|
|
6616
|
+
const PresetColors$1 = ["blue", "red", "yellow", "green", "gray", "purple"];
|
|
6617
|
+
const Size = {
|
|
6618
|
+
small: "s1sck0th",
|
|
6619
|
+
medium: "m855nr1",
|
|
6620
|
+
large: "l1270xpg"
|
|
6338
6621
|
};
|
|
6339
|
-
const TokenStyle = "
|
|
6622
|
+
const TokenStyle = "t14rextb";
|
|
6340
6623
|
const Token = React__namespace.default.forwardRef((_a, ref) => {
|
|
6341
6624
|
var _b = _a,
|
|
6342
6625
|
{
|
|
@@ -6348,15 +6631,15 @@
|
|
|
6348
6631
|
children,
|
|
6349
6632
|
tooltipConfig
|
|
6350
6633
|
} = _b,
|
|
6351
|
-
props = __objRest$
|
|
6352
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
6634
|
+
props = __objRest$7(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
6635
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$i(__spreadValues$m({}, props), {
|
|
6353
6636
|
ref,
|
|
6354
|
-
className: cs__default.default(className, Size
|
|
6637
|
+
className: cs__default.default(className, Size[size], TokenStyle, {
|
|
6355
6638
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
6356
6639
|
[Typo.Label.l3_regular]: size === "large",
|
|
6357
|
-
[`ant-tag-${color}`]: PresetColors$
|
|
6640
|
+
[`ant-tag-${color}`]: PresetColors$1.includes(color)
|
|
6358
6641
|
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
6359
|
-
closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$
|
|
6642
|
+
closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$m({
|
|
6360
6643
|
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
6361
6644
|
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
6362
6645
|
visible: false
|
|
@@ -6368,44 +6651,44 @@
|
|
|
6368
6651
|
})),
|
|
6369
6652
|
color: color === "gray" ? void 0 : color
|
|
6370
6653
|
}), icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
6371
|
-
className: cs__default.default("ui-kit-tag-icon", IconStyle
|
|
6654
|
+
className: cs__default.default("ui-kit-tag-icon", IconStyle)
|
|
6372
6655
|
}, icon), children);
|
|
6373
6656
|
});
|
|
6374
6657
|
|
|
6375
|
-
var __defProp$
|
|
6376
|
-
var __getOwnPropSymbols$
|
|
6377
|
-
var __hasOwnProp$
|
|
6378
|
-
var __propIsEnum$
|
|
6379
|
-
var __defNormalProp$
|
|
6380
|
-
var __spreadValues$
|
|
6658
|
+
var __defProp$l = Object.defineProperty;
|
|
6659
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
6660
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
6661
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
6662
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6663
|
+
var __spreadValues$l = (a, b) => {
|
|
6381
6664
|
for (var prop in b || (b = {}))
|
|
6382
|
-
if (__hasOwnProp$
|
|
6383
|
-
__defNormalProp$
|
|
6384
|
-
if (__getOwnPropSymbols$
|
|
6385
|
-
for (var prop of __getOwnPropSymbols$
|
|
6386
|
-
if (__propIsEnum$
|
|
6387
|
-
__defNormalProp$
|
|
6665
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
6666
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
6667
|
+
if (__getOwnPropSymbols$l)
|
|
6668
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
6669
|
+
if (__propIsEnum$l.call(b, prop))
|
|
6670
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
6388
6671
|
}
|
|
6389
6672
|
return a;
|
|
6390
6673
|
};
|
|
6391
|
-
var __objRest$
|
|
6674
|
+
var __objRest$6 = (source, exclude) => {
|
|
6392
6675
|
var target = {};
|
|
6393
6676
|
for (var prop in source)
|
|
6394
|
-
if (__hasOwnProp$
|
|
6677
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6395
6678
|
target[prop] = source[prop];
|
|
6396
|
-
if (source != null && __getOwnPropSymbols$
|
|
6397
|
-
for (var prop of __getOwnPropSymbols$
|
|
6398
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6679
|
+
if (source != null && __getOwnPropSymbols$l)
|
|
6680
|
+
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
6681
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
6399
6682
|
target[prop] = source[prop];
|
|
6400
6683
|
}
|
|
6401
6684
|
return target;
|
|
6402
6685
|
};
|
|
6403
6686
|
const SearchInput = (props) => {
|
|
6404
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
6687
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$6(_a, ["onChange", "debounceWait"]);
|
|
6405
6688
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
6406
6689
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
6407
6690
|
Input,
|
|
6408
|
-
__spreadValues$
|
|
6691
|
+
__spreadValues$l({
|
|
6409
6692
|
style: { width: 276 },
|
|
6410
6693
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
6411
6694
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -6413,25 +6696,25 @@
|
|
|
6413
6696
|
);
|
|
6414
6697
|
};
|
|
6415
6698
|
|
|
6416
|
-
var __defProp$
|
|
6417
|
-
var __defProps$
|
|
6418
|
-
var __getOwnPropDescs$
|
|
6419
|
-
var __getOwnPropSymbols$
|
|
6420
|
-
var __hasOwnProp$
|
|
6421
|
-
var __propIsEnum$
|
|
6422
|
-
var __defNormalProp$
|
|
6423
|
-
var __spreadValues$
|
|
6699
|
+
var __defProp$k = Object.defineProperty;
|
|
6700
|
+
var __defProps$h = Object.defineProperties;
|
|
6701
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
6702
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
6703
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
6704
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
6705
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6706
|
+
var __spreadValues$k = (a, b) => {
|
|
6424
6707
|
for (var prop in b || (b = {}))
|
|
6425
|
-
if (__hasOwnProp$
|
|
6426
|
-
__defNormalProp$
|
|
6427
|
-
if (__getOwnPropSymbols$
|
|
6428
|
-
for (var prop of __getOwnPropSymbols$
|
|
6429
|
-
if (__propIsEnum$
|
|
6430
|
-
__defNormalProp$
|
|
6708
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
6709
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
6710
|
+
if (__getOwnPropSymbols$k)
|
|
6711
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
6712
|
+
if (__propIsEnum$k.call(b, prop))
|
|
6713
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
6431
6714
|
}
|
|
6432
6715
|
return a;
|
|
6433
6716
|
};
|
|
6434
|
-
var __spreadProps$
|
|
6717
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
6435
6718
|
const NotDataContent = ({ content }) => {
|
|
6436
6719
|
return /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(CascaderNotData) }, content);
|
|
6437
6720
|
};
|
|
@@ -6445,7 +6728,7 @@
|
|
|
6445
6728
|
};
|
|
6446
6729
|
return /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { vertical: true, className: CascaderDefaultHeaderContainer }, searchProps ? /* @__PURE__ */ React__namespace.default.createElement(
|
|
6447
6730
|
SearchInput,
|
|
6448
|
-
__spreadProps$
|
|
6731
|
+
__spreadProps$h(__spreadValues$k({}, searchProps), {
|
|
6449
6732
|
className: cs__default.default(searchProps.className, CascaderDefaultHeaderSearch),
|
|
6450
6733
|
style: {
|
|
6451
6734
|
width: "unset"
|
|
@@ -6459,7 +6742,7 @@
|
|
|
6459
6742
|
footer,
|
|
6460
6743
|
presetHeaderProps
|
|
6461
6744
|
}) => {
|
|
6462
|
-
return /* @__PURE__ */ React__namespace.default.createElement("div", null, header ? header : /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderHeader, __spreadValues$
|
|
6745
|
+
return /* @__PURE__ */ React__namespace.default.createElement("div", null, header ? header : /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderHeader, __spreadValues$k({}, presetHeaderProps)), menus, footer);
|
|
6463
6746
|
};
|
|
6464
6747
|
const CascaderDoubleRowOption = ({ leftTop, leftBottom, rightTop, rightBottom }) => {
|
|
6465
6748
|
return /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { vertical: true, className: DoubleRowOptionStyleWrapper, gap: 6 }, /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { justify: "space-between" }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: Typo.Label.l2_medium }, leftTop), /* @__PURE__ */ React__namespace.default.createElement("div", null, rightTop)), /* @__PURE__ */ React__namespace.default.createElement(antd5.Flex, { justify: "space-between", className: Typo.Label.l4_regular }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(Typo.Label.l4_regular, "bottom") }, leftBottom), /* @__PURE__ */ React__namespace.default.createElement("div", { className: cs__default.default(Typo.Label.l4_regular, "bottom") }, rightBottom)));
|
|
@@ -6468,33 +6751,33 @@
|
|
|
6468
6751
|
return /* @__PURE__ */ React__namespace.default.createElement("div", { className: CascaderDefaultOptionLabel }, label, count ? /* @__PURE__ */ React__namespace.default.createElement("span", { className: "label" }, count.selected, "/", count.total) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null));
|
|
6469
6752
|
};
|
|
6470
6753
|
const defaultTagRender = (props) => {
|
|
6471
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Token, __spreadValues$
|
|
6754
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Token, __spreadValues$k({ size: "medium", color: "blue", key: props.value }, props), props.label);
|
|
6472
6755
|
};
|
|
6473
6756
|
|
|
6474
|
-
var __defProp$
|
|
6475
|
-
var __getOwnPropSymbols$
|
|
6476
|
-
var __hasOwnProp$
|
|
6477
|
-
var __propIsEnum$
|
|
6478
|
-
var __defNormalProp$
|
|
6479
|
-
var __spreadValues$
|
|
6757
|
+
var __defProp$j = Object.defineProperty;
|
|
6758
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
6759
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
6760
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
6761
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6762
|
+
var __spreadValues$j = (a, b) => {
|
|
6480
6763
|
for (var prop in b || (b = {}))
|
|
6481
|
-
if (__hasOwnProp$
|
|
6482
|
-
__defNormalProp$
|
|
6483
|
-
if (__getOwnPropSymbols$
|
|
6484
|
-
for (var prop of __getOwnPropSymbols$
|
|
6485
|
-
if (__propIsEnum$
|
|
6486
|
-
__defNormalProp$
|
|
6764
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
6765
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
6766
|
+
if (__getOwnPropSymbols$j)
|
|
6767
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
6768
|
+
if (__propIsEnum$j.call(b, prop))
|
|
6769
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
6487
6770
|
}
|
|
6488
6771
|
return a;
|
|
6489
6772
|
};
|
|
6490
|
-
var __objRest$
|
|
6773
|
+
var __objRest$5 = (source, exclude) => {
|
|
6491
6774
|
var target = {};
|
|
6492
6775
|
for (var prop in source)
|
|
6493
|
-
if (__hasOwnProp$
|
|
6776
|
+
if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6494
6777
|
target[prop] = source[prop];
|
|
6495
|
-
if (source != null && __getOwnPropSymbols$
|
|
6496
|
-
for (var prop of __getOwnPropSymbols$
|
|
6497
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6778
|
+
if (source != null && __getOwnPropSymbols$j)
|
|
6779
|
+
for (var prop of __getOwnPropSymbols$j(source)) {
|
|
6780
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
|
|
6498
6781
|
target[prop] = source[prop];
|
|
6499
6782
|
}
|
|
6500
6783
|
return target;
|
|
@@ -6505,7 +6788,7 @@
|
|
|
6505
6788
|
NotData = "No Data",
|
|
6506
6789
|
dropdownClassName,
|
|
6507
6790
|
presetCascaderRenderProps
|
|
6508
|
-
} = _a, restProps = __objRest$
|
|
6791
|
+
} = _a, restProps = __objRest$5(_a, [
|
|
6509
6792
|
"size",
|
|
6510
6793
|
"NotData",
|
|
6511
6794
|
"dropdownClassName",
|
|
@@ -6513,7 +6796,7 @@
|
|
|
6513
6796
|
]);
|
|
6514
6797
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
6515
6798
|
antd5.Cascader,
|
|
6516
|
-
__spreadValues$
|
|
6799
|
+
__spreadValues$j({
|
|
6517
6800
|
size,
|
|
6518
6801
|
prefixCls: Antd5PrefixCls,
|
|
6519
6802
|
expandIcon: /* @__PURE__ */ React__namespace.default.createElement(Icon, { src: iconsReact.HierarchyTriangleRight16PrimaryIcon }),
|
|
@@ -6525,7 +6808,7 @@
|
|
|
6525
6808
|
dropdownClassName,
|
|
6526
6809
|
CascaderDropdown
|
|
6527
6810
|
),
|
|
6528
|
-
dropdownRender: (menus) => /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderRender, __spreadValues$
|
|
6811
|
+
dropdownRender: (menus) => /* @__PURE__ */ React__namespace.default.createElement(PresetCascaderRender, __spreadValues$j({ menus }, presetCascaderRenderProps)),
|
|
6529
6812
|
notFoundContent: /* @__PURE__ */ React__namespace.default.createElement(NotDataContent, { content: NotData }),
|
|
6530
6813
|
tagRender: defaultTagRender,
|
|
6531
6814
|
rootClassName: CascaderInputStyle
|
|
@@ -6533,7 +6816,7 @@
|
|
|
6533
6816
|
);
|
|
6534
6817
|
};
|
|
6535
6818
|
|
|
6536
|
-
const card = "
|
|
6819
|
+
const card = "c1yyuluq";
|
|
6537
6820
|
const ExpandableContainer = props => {
|
|
6538
6821
|
const {
|
|
6539
6822
|
children
|
|
@@ -6543,7 +6826,7 @@
|
|
|
6543
6826
|
}, children);
|
|
6544
6827
|
};
|
|
6545
6828
|
|
|
6546
|
-
const Style = "
|
|
6829
|
+
const Style = "suhck3k";
|
|
6547
6830
|
const ExpandIcon = props => {
|
|
6548
6831
|
const {
|
|
6549
6832
|
isActive
|
|
@@ -6553,7 +6836,7 @@
|
|
|
6553
6836
|
}, isActive ? /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronUp16SecondaryIcon, null) : /* @__PURE__ */React__namespace.default.createElement(iconsReact.ArrowChevronDown16SecondaryIcon, null));
|
|
6554
6837
|
};
|
|
6555
6838
|
|
|
6556
|
-
const RoundedOrderStyle = "
|
|
6839
|
+
const RoundedOrderStyle = "ryby9ds";
|
|
6557
6840
|
const RoundedOrder = props => {
|
|
6558
6841
|
const {
|
|
6559
6842
|
children,
|
|
@@ -6568,8 +6851,8 @@
|
|
|
6568
6851
|
}, order)) : null, children);
|
|
6569
6852
|
};
|
|
6570
6853
|
|
|
6571
|
-
const CollapseStyle = "
|
|
6572
|
-
const CollapseDisabled = "
|
|
6854
|
+
const CollapseStyle = "ccrbeuz";
|
|
6855
|
+
const CollapseDisabled = "c1fljvag";
|
|
6573
6856
|
const ExpandableItem = props => {
|
|
6574
6857
|
const {
|
|
6575
6858
|
children,
|
|
@@ -6590,282 +6873,81 @@
|
|
|
6590
6873
|
expandIconPosition: "right",
|
|
6591
6874
|
defaultActiveKey: showExpandOnDisable ? ["expandPanelKey"] : [],
|
|
6592
6875
|
bordered: false,
|
|
6593
|
-
activeKey,
|
|
6594
|
-
onChange: v => {
|
|
6595
|
-
if (disableExpand) {
|
|
6596
|
-
return;
|
|
6597
|
-
}
|
|
6598
|
-
setActiveKey(v);
|
|
6599
|
-
}
|
|
6600
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Collapse.Panel, {
|
|
6601
|
-
key: "expandPanelKey",
|
|
6602
|
-
header: /* @__PURE__ */React__namespace.default.createElement(RoundedOrder, {
|
|
6603
|
-
order
|
|
6604
|
-
}, header),
|
|
6605
|
-
showArrow: !disableExpand
|
|
6606
|
-
}, children));
|
|
6607
|
-
};
|
|
6608
|
-
|
|
6609
|
-
var __defProp$m = Object.defineProperty;
|
|
6610
|
-
var __defProps$j = Object.defineProperties;
|
|
6611
|
-
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
6612
|
-
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
6613
|
-
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
6614
|
-
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
6615
|
-
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
6616
|
-
enumerable: true,
|
|
6617
|
-
configurable: true,
|
|
6618
|
-
writable: true,
|
|
6619
|
-
value
|
|
6620
|
-
}) : obj[key] = value;
|
|
6621
|
-
var __spreadValues$m = (a, b) => {
|
|
6622
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
6623
|
-
if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
|
|
6624
|
-
if (__propIsEnum$n.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
6625
|
-
}
|
|
6626
|
-
return a;
|
|
6627
|
-
};
|
|
6628
|
-
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
6629
|
-
const {
|
|
6630
|
-
Item: AntdFormItem
|
|
6631
|
-
} = antd.Form;
|
|
6632
|
-
const FormItemStyle$1 = "f1p9ti6d";
|
|
6633
|
-
const FormItem$1 = props => {
|
|
6634
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$j(__spreadValues$m({}, props), {
|
|
6635
|
-
className: cs__default.default(FormItemStyle$1, props.className)
|
|
6636
|
-
}));
|
|
6637
|
-
};
|
|
6638
|
-
|
|
6639
|
-
const Form = antd.Form;
|
|
6640
|
-
Form.Item = FormItem$1;
|
|
6641
|
-
|
|
6642
|
-
const PresetColors$2 = [
|
|
6643
|
-
"blue",
|
|
6644
|
-
"red",
|
|
6645
|
-
"yellow",
|
|
6646
|
-
"green",
|
|
6647
|
-
"gray",
|
|
6648
|
-
"purple"
|
|
6649
|
-
];
|
|
6650
|
-
|
|
6651
|
-
const Size = {
|
|
6652
|
-
small: "sut42l0",
|
|
6653
|
-
medium: "mfsz1jz"
|
|
6654
|
-
};
|
|
6655
|
-
const TagStyle$1 = "tnd6h4m";
|
|
6656
|
-
const IconStyle = "i1qw4clm";
|
|
6657
|
-
const NameTagStyle = "n1r5ku5l";
|
|
6658
|
-
|
|
6659
|
-
var __defProp$l = Object.defineProperty;
|
|
6660
|
-
var __defProps$i = Object.defineProperties;
|
|
6661
|
-
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
6662
|
-
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
6663
|
-
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
6664
|
-
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
6665
|
-
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, {
|
|
6666
|
-
enumerable: true,
|
|
6667
|
-
configurable: true,
|
|
6668
|
-
writable: true,
|
|
6669
|
-
value
|
|
6670
|
-
}) : obj[key] = value;
|
|
6671
|
-
var __spreadValues$l = (a, b) => {
|
|
6672
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
6673
|
-
if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
|
|
6674
|
-
if (__propIsEnum$m.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
6675
|
-
}
|
|
6676
|
-
return a;
|
|
6677
|
-
};
|
|
6678
|
-
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
6679
|
-
var __objRest$7 = (source, exclude) => {
|
|
6680
|
-
var target = {};
|
|
6681
|
-
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6682
|
-
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
6683
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
6684
|
-
}
|
|
6685
|
-
return target;
|
|
6686
|
-
};
|
|
6687
|
-
const WrapperStyle = "w1xcixj5";
|
|
6688
|
-
const SplitTag = _a => {
|
|
6689
|
-
var _b = _a,
|
|
6690
|
-
{
|
|
6691
|
-
size = "small",
|
|
6692
|
-
color = "gray",
|
|
6693
|
-
className,
|
|
6694
|
-
primaryContent,
|
|
6695
|
-
secondaryContent,
|
|
6696
|
-
icon
|
|
6697
|
-
} = _b,
|
|
6698
|
-
props = __objRest$7(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
6699
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$i(__spreadValues$l({}, props), {
|
|
6700
|
-
className: cs__default.default(className, TagStyle$1, Size[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
6701
|
-
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
6702
|
-
}, "outside-tag")
|
|
6703
|
-
}), /* @__PURE__ */React__namespace.default.createElement(antd.Tag, {
|
|
6704
|
-
className: cs__default.default(Size[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
6705
|
-
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
6706
|
-
}, "inside-tag")
|
|
6707
|
-
}, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
6708
|
-
className: cs__default.default("ui-kit-tag-icon", IconStyle)
|
|
6709
|
-
}, icon), primaryContent), secondaryContent);
|
|
6710
|
-
};
|
|
6711
|
-
|
|
6712
|
-
var __defProp$k = Object.defineProperty;
|
|
6713
|
-
var __defProps$h = Object.defineProperties;
|
|
6714
|
-
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
6715
|
-
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
6716
|
-
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
6717
|
-
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
6718
|
-
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6719
|
-
var __spreadValues$k = (a, b) => {
|
|
6720
|
-
for (var prop in b || (b = {}))
|
|
6721
|
-
if (__hasOwnProp$l.call(b, prop))
|
|
6722
|
-
__defNormalProp$k(a, prop, b[prop]);
|
|
6723
|
-
if (__getOwnPropSymbols$l)
|
|
6724
|
-
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
6725
|
-
if (__propIsEnum$l.call(b, prop))
|
|
6726
|
-
__defNormalProp$k(a, prop, b[prop]);
|
|
6727
|
-
}
|
|
6728
|
-
return a;
|
|
6729
|
-
};
|
|
6730
|
-
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
6731
|
-
var __objRest$6 = (source, exclude) => {
|
|
6732
|
-
var target = {};
|
|
6733
|
-
for (var prop in source)
|
|
6734
|
-
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6735
|
-
target[prop] = source[prop];
|
|
6736
|
-
if (source != null && __getOwnPropSymbols$l)
|
|
6737
|
-
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
6738
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
6739
|
-
target[prop] = source[prop];
|
|
6740
|
-
}
|
|
6741
|
-
return target;
|
|
6742
|
-
};
|
|
6743
|
-
const PresetColors$1 = [
|
|
6744
|
-
...PresetColors$2,
|
|
6745
|
-
"red-ontint",
|
|
6746
|
-
"green-ontint"
|
|
6747
|
-
];
|
|
6748
|
-
const AntdColorMap = {
|
|
6749
|
-
processing: "blue",
|
|
6750
|
-
success: "green",
|
|
6751
|
-
error: "red",
|
|
6752
|
-
warn: "yellow",
|
|
6753
|
-
default: "gray"
|
|
6754
|
-
};
|
|
6755
|
-
const Tag = (_a) => {
|
|
6756
|
-
var _b = _a, {
|
|
6757
|
-
size = "small",
|
|
6758
|
-
color = "gray",
|
|
6759
|
-
className,
|
|
6760
|
-
hoverable = false,
|
|
6761
|
-
icon,
|
|
6762
|
-
children
|
|
6763
|
-
} = _b, props = __objRest$6(_b, [
|
|
6764
|
-
"size",
|
|
6765
|
-
"color",
|
|
6766
|
-
"className",
|
|
6767
|
-
"hoverable",
|
|
6768
|
-
"icon",
|
|
6769
|
-
"children"
|
|
6770
|
-
]);
|
|
6771
|
-
const computedColor = AntdColorMap[color] || color;
|
|
6772
|
-
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
6773
|
-
antd.Tag,
|
|
6774
|
-
__spreadProps$h(__spreadValues$k({}, props), {
|
|
6775
|
-
className: cs__default.default(className, Size[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
6776
|
-
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
6777
|
-
"tag-hover": hoverable
|
|
6778
|
-
}),
|
|
6779
|
-
closable: false,
|
|
6780
|
-
color: computedColor === "gray" ? void 0 : computedColor
|
|
6781
|
-
}),
|
|
6782
|
-
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle }, icon),
|
|
6783
|
-
children
|
|
6784
|
-
);
|
|
6785
|
-
};
|
|
6786
|
-
const NameTag = (_c) => {
|
|
6787
|
-
var _d = _c, { className } = _d, props = __objRest$6(_d, ["className"]);
|
|
6788
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$k({ className: cs__default.default(NameTagStyle, className) }, props));
|
|
6789
|
-
};
|
|
6790
|
-
Tag.SplitTag = SplitTag;
|
|
6791
|
-
Tag.NameTag = NameTag;
|
|
6792
|
-
|
|
6793
|
-
var __defProp$j = Object.defineProperty;
|
|
6794
|
-
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
6795
|
-
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
6796
|
-
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
6797
|
-
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6798
|
-
var __spreadValues$j = (a, b) => {
|
|
6799
|
-
for (var prop in b || (b = {}))
|
|
6800
|
-
if (__hasOwnProp$k.call(b, prop))
|
|
6801
|
-
__defNormalProp$j(a, prop, b[prop]);
|
|
6802
|
-
if (__getOwnPropSymbols$k)
|
|
6803
|
-
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
6804
|
-
if (__propIsEnum$k.call(b, prop))
|
|
6805
|
-
__defNormalProp$j(a, prop, b[prop]);
|
|
6806
|
-
}
|
|
6807
|
-
return a;
|
|
6808
|
-
};
|
|
6809
|
-
const ParrotTrans = (props) => {
|
|
6810
|
-
const { i18n } = useParrotTranslation();
|
|
6811
|
-
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$j({ i18n }, props));
|
|
6812
|
-
};
|
|
6813
|
-
|
|
6814
|
-
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
6815
|
-
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
6816
|
-
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
6817
|
-
var __objRest$5 = (source, exclude) => {
|
|
6818
|
-
var target = {};
|
|
6819
|
-
for (var prop in source) if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6820
|
-
if (source != null && __getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(source)) {
|
|
6821
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop)) target[prop] = source[prop];
|
|
6822
|
-
}
|
|
6823
|
-
return target;
|
|
6824
|
-
};
|
|
6825
|
-
const tagStyle = "tqjc4ui";
|
|
6826
|
-
const I18nNameTag = props => {
|
|
6827
|
-
const _a = props,
|
|
6828
|
-
{
|
|
6829
|
-
name,
|
|
6830
|
-
i18nKey
|
|
6831
|
-
} = _a,
|
|
6832
|
-
otherOption = __objRest$5(_a, ["name", "i18nKey"]);
|
|
6833
|
-
return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
|
|
6834
|
-
i18nKey,
|
|
6835
|
-
tOptions: otherOption
|
|
6836
|
-
}, "h", /* @__PURE__ */React__namespace.default.createElement(Tag.NameTag, {
|
|
6837
|
-
className: tagStyle
|
|
6838
|
-
}, {
|
|
6839
|
-
name
|
|
6840
|
-
}));
|
|
6876
|
+
activeKey,
|
|
6877
|
+
onChange: v => {
|
|
6878
|
+
if (disableExpand) {
|
|
6879
|
+
return;
|
|
6880
|
+
}
|
|
6881
|
+
setActiveKey(v);
|
|
6882
|
+
}
|
|
6883
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Collapse.Panel, {
|
|
6884
|
+
key: "expandPanelKey",
|
|
6885
|
+
header: /* @__PURE__ */React__namespace.default.createElement(RoundedOrder, {
|
|
6886
|
+
order
|
|
6887
|
+
}, header),
|
|
6888
|
+
showArrow: !disableExpand
|
|
6889
|
+
}, children));
|
|
6841
6890
|
};
|
|
6842
6891
|
|
|
6843
|
-
const _exp$1 = () => antd.Input.Group;
|
|
6844
|
-
const InputGroup = /*#__PURE__*/react.styled(_exp$1())({
|
|
6845
|
-
name: "InputGroup",
|
|
6846
|
-
class: "iiqau4c",
|
|
6847
|
-
propsAsIs: true
|
|
6848
|
-
});
|
|
6849
|
-
|
|
6850
6892
|
var __defProp$i = Object.defineProperty;
|
|
6851
6893
|
var __defProps$g = Object.defineProperties;
|
|
6852
6894
|
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
6853
6895
|
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
6854
6896
|
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
6855
6897
|
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
6856
|
-
var __defNormalProp$i = (obj,
|
|
6898
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, {
|
|
6899
|
+
enumerable: true,
|
|
6900
|
+
configurable: true,
|
|
6901
|
+
writable: true,
|
|
6902
|
+
value
|
|
6903
|
+
}) : obj[key] = value;
|
|
6857
6904
|
var __spreadValues$i = (a, b) => {
|
|
6905
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
|
|
6906
|
+
if (__getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(b)) {
|
|
6907
|
+
if (__propIsEnum$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
|
|
6908
|
+
}
|
|
6909
|
+
return a;
|
|
6910
|
+
};
|
|
6911
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
6912
|
+
const {
|
|
6913
|
+
Item: AntdFormItem
|
|
6914
|
+
} = antd.Form;
|
|
6915
|
+
const FormItemStyle$1 = "f7pxqmh";
|
|
6916
|
+
const FormItem$1 = props => {
|
|
6917
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$g(__spreadValues$i({}, props), {
|
|
6918
|
+
className: cs__default.default(FormItemStyle$1, props.className)
|
|
6919
|
+
}));
|
|
6920
|
+
};
|
|
6921
|
+
|
|
6922
|
+
const Form = antd.Form;
|
|
6923
|
+
Form.Item = FormItem$1;
|
|
6924
|
+
|
|
6925
|
+
const _exp = () => antd.Input.Group;
|
|
6926
|
+
const InputGroup = /*#__PURE__*/react.styled(_exp())({
|
|
6927
|
+
name: "InputGroup",
|
|
6928
|
+
class: "itxley7",
|
|
6929
|
+
propsAsIs: true
|
|
6930
|
+
});
|
|
6931
|
+
|
|
6932
|
+
var __defProp$h = Object.defineProperty;
|
|
6933
|
+
var __defProps$f = Object.defineProperties;
|
|
6934
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
6935
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
6936
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
6937
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
6938
|
+
var __defNormalProp$h = (obj, key2, value) => key2 in obj ? __defProp$h(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
6939
|
+
var __spreadValues$h = (a, b) => {
|
|
6858
6940
|
for (var prop in b || (b = {}))
|
|
6859
|
-
if (__hasOwnProp$
|
|
6860
|
-
__defNormalProp$
|
|
6861
|
-
if (__getOwnPropSymbols$
|
|
6862
|
-
for (var prop of __getOwnPropSymbols$
|
|
6863
|
-
if (__propIsEnum$
|
|
6864
|
-
__defNormalProp$
|
|
6941
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
6942
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
6943
|
+
if (__getOwnPropSymbols$h)
|
|
6944
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
6945
|
+
if (__propIsEnum$h.call(b, prop))
|
|
6946
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
6865
6947
|
}
|
|
6866
6948
|
return a;
|
|
6867
6949
|
};
|
|
6868
|
-
var __spreadProps$
|
|
6950
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
6869
6951
|
let messageInstance;
|
|
6870
6952
|
let defaultDuration = 3;
|
|
6871
6953
|
let defaultTop;
|
|
@@ -6972,7 +7054,7 @@
|
|
|
6972
7054
|
}
|
|
6973
7055
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
6974
7056
|
instance.notice(
|
|
6975
|
-
getRCNoticeProps(__spreadProps$
|
|
7057
|
+
getRCNoticeProps(__spreadProps$f(__spreadValues$h({}, args), { key: target, onClose: callback }), prefixCls)
|
|
6976
7058
|
);
|
|
6977
7059
|
});
|
|
6978
7060
|
});
|
|
@@ -7001,7 +7083,7 @@
|
|
|
7001
7083
|
function attachTypeApi(originalApi, type) {
|
|
7002
7084
|
originalApi[type] = (content, duration, onClose) => {
|
|
7003
7085
|
if (isArgsProps(content)) {
|
|
7004
|
-
return originalApi.open(__spreadProps$
|
|
7086
|
+
return originalApi.open(__spreadProps$f(__spreadValues$h({}, content), { type }));
|
|
7005
7087
|
}
|
|
7006
7088
|
if (typeof duration === "function") {
|
|
7007
7089
|
onClose = duration;
|
|
@@ -7015,25 +7097,25 @@
|
|
|
7015
7097
|
);
|
|
7016
7098
|
api.warn = api.warning;
|
|
7017
7099
|
|
|
7018
|
-
var __defProp$
|
|
7019
|
-
var __defProps$
|
|
7020
|
-
var __getOwnPropDescs$
|
|
7021
|
-
var __getOwnPropSymbols$
|
|
7022
|
-
var __hasOwnProp$
|
|
7023
|
-
var __propIsEnum$
|
|
7024
|
-
var __defNormalProp$
|
|
7025
|
-
var __spreadValues$
|
|
7100
|
+
var __defProp$g = Object.defineProperty;
|
|
7101
|
+
var __defProps$e = Object.defineProperties;
|
|
7102
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
7103
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
7104
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
7105
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
7106
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7107
|
+
var __spreadValues$g = (a, b) => {
|
|
7026
7108
|
for (var prop in b || (b = {}))
|
|
7027
|
-
if (__hasOwnProp$
|
|
7028
|
-
__defNormalProp$
|
|
7029
|
-
if (__getOwnPropSymbols$
|
|
7030
|
-
for (var prop of __getOwnPropSymbols$
|
|
7031
|
-
if (__propIsEnum$
|
|
7032
|
-
__defNormalProp$
|
|
7109
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
7110
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
7111
|
+
if (__getOwnPropSymbols$g)
|
|
7112
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
7113
|
+
if (__propIsEnum$g.call(b, prop))
|
|
7114
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
7033
7115
|
}
|
|
7034
7116
|
return a;
|
|
7035
7117
|
};
|
|
7036
|
-
var __spreadProps$
|
|
7118
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
7037
7119
|
const initialChartState = {
|
|
7038
7120
|
pointers: {},
|
|
7039
7121
|
resourceData: {},
|
|
@@ -7043,8 +7125,8 @@
|
|
|
7043
7125
|
switch (action.type) {
|
|
7044
7126
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
7045
7127
|
const { uuid, left, text, visible, value } = action.payload;
|
|
7046
|
-
return __spreadProps$
|
|
7047
|
-
pointers: __spreadProps$
|
|
7128
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7129
|
+
pointers: __spreadProps$e(__spreadValues$g({}, state.pointers), {
|
|
7048
7130
|
[uuid]: {
|
|
7049
7131
|
left,
|
|
7050
7132
|
text,
|
|
@@ -7056,16 +7138,16 @@
|
|
|
7056
7138
|
}
|
|
7057
7139
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
7058
7140
|
const { uuid, data } = action.payload;
|
|
7059
|
-
return __spreadProps$
|
|
7060
|
-
resourceData: __spreadProps$
|
|
7141
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7142
|
+
resourceData: __spreadProps$e(__spreadValues$g({}, state.resourceData), {
|
|
7061
7143
|
[uuid]: data
|
|
7062
7144
|
})
|
|
7063
7145
|
});
|
|
7064
7146
|
}
|
|
7065
7147
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
7066
7148
|
const { uuid, average } = action.payload;
|
|
7067
|
-
return __spreadProps$
|
|
7068
|
-
averageData: __spreadProps$
|
|
7149
|
+
return __spreadProps$e(__spreadValues$g({}, state), {
|
|
7150
|
+
averageData: __spreadProps$e(__spreadValues$g({}, state.averageData), {
|
|
7069
7151
|
[uuid]: average
|
|
7070
7152
|
})
|
|
7071
7153
|
});
|
|
@@ -7076,25 +7158,25 @@
|
|
|
7076
7158
|
}
|
|
7077
7159
|
};
|
|
7078
7160
|
|
|
7079
|
-
var __defProp$
|
|
7080
|
-
var __defProps$
|
|
7081
|
-
var __getOwnPropDescs$
|
|
7082
|
-
var __getOwnPropSymbols$
|
|
7083
|
-
var __hasOwnProp$
|
|
7084
|
-
var __propIsEnum$
|
|
7085
|
-
var __defNormalProp$
|
|
7086
|
-
var __spreadValues$
|
|
7161
|
+
var __defProp$f = Object.defineProperty;
|
|
7162
|
+
var __defProps$d = Object.defineProperties;
|
|
7163
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
7164
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
7165
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
7166
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
7167
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7168
|
+
var __spreadValues$f = (a, b) => {
|
|
7087
7169
|
for (var prop in b || (b = {}))
|
|
7088
|
-
if (__hasOwnProp$
|
|
7089
|
-
__defNormalProp$
|
|
7090
|
-
if (__getOwnPropSymbols$
|
|
7091
|
-
for (var prop of __getOwnPropSymbols$
|
|
7092
|
-
if (__propIsEnum$
|
|
7093
|
-
__defNormalProp$
|
|
7170
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
7171
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
7172
|
+
if (__getOwnPropSymbols$f)
|
|
7173
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
7174
|
+
if (__propIsEnum$f.call(b, prop))
|
|
7175
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
7094
7176
|
}
|
|
7095
7177
|
return a;
|
|
7096
7178
|
};
|
|
7097
|
-
var __spreadProps$
|
|
7179
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
7098
7180
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
7099
7181
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
7100
7182
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -7115,22 +7197,22 @@
|
|
|
7115
7197
|
)) {
|
|
7116
7198
|
return state;
|
|
7117
7199
|
}
|
|
7118
|
-
return __spreadProps$
|
|
7119
|
-
stack: state.stack.concat(__spreadProps$
|
|
7200
|
+
return __spreadProps$d(__spreadValues$f({}, state), {
|
|
7201
|
+
stack: state.stack.concat(__spreadProps$d(__spreadValues$f({}, action.payload), {
|
|
7120
7202
|
id: MODAL_ID++
|
|
7121
7203
|
}))
|
|
7122
7204
|
});
|
|
7123
7205
|
case "POP_MODAL" /* POP_MODAL */:
|
|
7124
|
-
return __spreadProps$
|
|
7206
|
+
return __spreadProps$d(__spreadValues$f({}, state), {
|
|
7125
7207
|
stack: state.stack.slice(0, -1)
|
|
7126
7208
|
});
|
|
7127
7209
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
7128
|
-
return __spreadProps$
|
|
7210
|
+
return __spreadProps$d(__spreadValues$f({}, state), {
|
|
7129
7211
|
closeId: 0,
|
|
7130
7212
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
7131
7213
|
});
|
|
7132
7214
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
7133
|
-
return __spreadProps$
|
|
7215
|
+
return __spreadProps$d(__spreadValues$f({}, state), {
|
|
7134
7216
|
closeId: action.id
|
|
7135
7217
|
});
|
|
7136
7218
|
default:
|
|
@@ -7181,39 +7263,39 @@
|
|
|
7181
7263
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
7182
7264
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
7183
7265
|
|
|
7184
|
-
const StepsStyle = "
|
|
7185
|
-
const HorizontalStyle = "
|
|
7186
|
-
const VerticalStyle = "
|
|
7187
|
-
const HorizontalStepContentStyle = "
|
|
7188
|
-
const VerticalStepContentStyle = "
|
|
7266
|
+
const StepsStyle = "sjob3jg";
|
|
7267
|
+
const HorizontalStyle = "hjvj6s6";
|
|
7268
|
+
const VerticalStyle = "v4tv3mf";
|
|
7269
|
+
const HorizontalStepContentStyle = "h6l1tj4";
|
|
7270
|
+
const VerticalStepContentStyle = "v18frne8";
|
|
7189
7271
|
|
|
7190
|
-
var __defProp$
|
|
7191
|
-
var __defProps$
|
|
7192
|
-
var __getOwnPropDescs$
|
|
7193
|
-
var __getOwnPropSymbols$
|
|
7194
|
-
var __hasOwnProp$
|
|
7195
|
-
var __propIsEnum$
|
|
7196
|
-
var __defNormalProp$
|
|
7197
|
-
var __spreadValues$
|
|
7272
|
+
var __defProp$e = Object.defineProperty;
|
|
7273
|
+
var __defProps$c = Object.defineProperties;
|
|
7274
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
7275
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
7276
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
7277
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
7278
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7279
|
+
var __spreadValues$e = (a, b) => {
|
|
7198
7280
|
for (var prop in b || (b = {}))
|
|
7199
|
-
if (__hasOwnProp$
|
|
7200
|
-
__defNormalProp$
|
|
7201
|
-
if (__getOwnPropSymbols$
|
|
7202
|
-
for (var prop of __getOwnPropSymbols$
|
|
7203
|
-
if (__propIsEnum$
|
|
7204
|
-
__defNormalProp$
|
|
7281
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
7282
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
7283
|
+
if (__getOwnPropSymbols$e)
|
|
7284
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
7285
|
+
if (__propIsEnum$e.call(b, prop))
|
|
7286
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
7205
7287
|
}
|
|
7206
7288
|
return a;
|
|
7207
7289
|
};
|
|
7208
|
-
var __spreadProps$
|
|
7290
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
7209
7291
|
var __objRest$4 = (source, exclude) => {
|
|
7210
7292
|
var target = {};
|
|
7211
7293
|
for (var prop in source)
|
|
7212
|
-
if (__hasOwnProp$
|
|
7294
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
7213
7295
|
target[prop] = source[prop];
|
|
7214
|
-
if (source != null && __getOwnPropSymbols$
|
|
7215
|
-
for (var prop of __getOwnPropSymbols$
|
|
7216
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7296
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
7297
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
7298
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
7217
7299
|
target[prop] = source[prop];
|
|
7218
7300
|
}
|
|
7219
7301
|
return target;
|
|
@@ -7230,7 +7312,7 @@
|
|
|
7230
7312
|
setTooltipEnable({});
|
|
7231
7313
|
}
|
|
7232
7314
|
}, [textRef]);
|
|
7233
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
7315
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$c(__spreadValues$e({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
|
|
7234
7316
|
"div",
|
|
7235
7317
|
{
|
|
7236
7318
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -7268,7 +7350,7 @@
|
|
|
7268
7350
|
},
|
|
7269
7351
|
/* @__PURE__ */ React__namespace.default.createElement(
|
|
7270
7352
|
antd.Steps,
|
|
7271
|
-
__spreadProps$
|
|
7353
|
+
__spreadProps$c(__spreadValues$e({}, stepsProps), {
|
|
7272
7354
|
direction,
|
|
7273
7355
|
current,
|
|
7274
7356
|
type: "default"
|
|
@@ -7277,7 +7359,7 @@
|
|
|
7277
7359
|
var _a2;
|
|
7278
7360
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
7279
7361
|
antd.Steps.Step,
|
|
7280
|
-
__spreadProps$
|
|
7362
|
+
__spreadProps$c(__spreadValues$e({
|
|
7281
7363
|
key: index
|
|
7282
7364
|
}, step), {
|
|
7283
7365
|
disabled: isPreviewMode ? false : (_a2 = disabled != null ? disabled : step == null ? void 0 : step.disabled) != null ? _a2 : index > current,
|
|
@@ -7302,33 +7384,33 @@
|
|
|
7302
7384
|
);
|
|
7303
7385
|
};
|
|
7304
7386
|
|
|
7305
|
-
var __defProp$
|
|
7306
|
-
var __defProps$
|
|
7307
|
-
var __getOwnPropDescs$
|
|
7308
|
-
var __getOwnPropSymbols$
|
|
7309
|
-
var __hasOwnProp$
|
|
7310
|
-
var __propIsEnum$
|
|
7311
|
-
var __defNormalProp$
|
|
7312
|
-
var __spreadValues$
|
|
7387
|
+
var __defProp$d = Object.defineProperty;
|
|
7388
|
+
var __defProps$b = Object.defineProperties;
|
|
7389
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
7390
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
7391
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
7392
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
7393
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7394
|
+
var __spreadValues$d = (a, b) => {
|
|
7313
7395
|
for (var prop in b || (b = {}))
|
|
7314
|
-
if (__hasOwnProp$
|
|
7315
|
-
__defNormalProp$
|
|
7316
|
-
if (__getOwnPropSymbols$
|
|
7317
|
-
for (var prop of __getOwnPropSymbols$
|
|
7318
|
-
if (__propIsEnum$
|
|
7319
|
-
__defNormalProp$
|
|
7396
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
7397
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
7398
|
+
if (__getOwnPropSymbols$d)
|
|
7399
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
7400
|
+
if (__propIsEnum$d.call(b, prop))
|
|
7401
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
7320
7402
|
}
|
|
7321
7403
|
return a;
|
|
7322
7404
|
};
|
|
7323
|
-
var __spreadProps$
|
|
7405
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
7324
7406
|
var __objRest$3 = (source, exclude) => {
|
|
7325
7407
|
var target = {};
|
|
7326
7408
|
for (var prop in source)
|
|
7327
|
-
if (__hasOwnProp$
|
|
7409
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
7328
7410
|
target[prop] = source[prop];
|
|
7329
|
-
if (source != null && __getOwnPropSymbols$
|
|
7330
|
-
for (var prop of __getOwnPropSymbols$
|
|
7331
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7411
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
7412
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
7413
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
7332
7414
|
target[prop] = source[prop];
|
|
7333
7415
|
}
|
|
7334
7416
|
return target;
|
|
@@ -7410,7 +7492,7 @@
|
|
|
7410
7492
|
}
|
|
7411
7493
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
7412
7494
|
antd.Modal,
|
|
7413
|
-
__spreadProps$
|
|
7495
|
+
__spreadProps$b(__spreadValues$d({
|
|
7414
7496
|
maskClosable,
|
|
7415
7497
|
className: cs__default.default(
|
|
7416
7498
|
className,
|
|
@@ -7445,7 +7527,7 @@
|
|
|
7445
7527
|
prevText
|
|
7446
7528
|
), error && /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__namespace.default.createElement(
|
|
7447
7529
|
Button,
|
|
7448
|
-
__spreadValues$
|
|
7530
|
+
__spreadValues$d({
|
|
7449
7531
|
type: "quiet",
|
|
7450
7532
|
onMouseDown: (e) => {
|
|
7451
7533
|
e.preventDefault();
|
|
@@ -7459,7 +7541,7 @@
|
|
|
7459
7541
|
cancelText
|
|
7460
7542
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
7461
7543
|
Button,
|
|
7462
|
-
__spreadValues$
|
|
7544
|
+
__spreadValues$d({
|
|
7463
7545
|
onClick: (e) => {
|
|
7464
7546
|
var _a2, _b2;
|
|
7465
7547
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -7501,90 +7583,8 @@
|
|
|
7501
7583
|
);
|
|
7502
7584
|
};
|
|
7503
7585
|
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
7507
|
-
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
7508
|
-
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
7509
|
-
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
7510
|
-
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, {
|
|
7511
|
-
enumerable: true,
|
|
7512
|
-
configurable: true,
|
|
7513
|
-
writable: true,
|
|
7514
|
-
value
|
|
7515
|
-
}) : obj[key] = value;
|
|
7516
|
-
var __spreadValues$d = (a, b) => {
|
|
7517
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
7518
|
-
if (__getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(b)) {
|
|
7519
|
-
if (__propIsEnum$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
7520
|
-
}
|
|
7521
|
-
return a;
|
|
7522
|
-
};
|
|
7523
|
-
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
7524
|
-
const OverflowText = "o8ocss1";
|
|
7525
|
-
const SingleLineStyle = "s17syc35";
|
|
7526
|
-
const _exp = () => ({
|
|
7527
|
-
lineClamp = 2
|
|
7528
|
-
}) => lineClamp;
|
|
7529
|
-
const MultipleLine = /*#__PURE__*/react.styled('div')({
|
|
7530
|
-
name: "MultipleLine",
|
|
7531
|
-
class: "m1rk4s1l",
|
|
7532
|
-
propsAsIs: false,
|
|
7533
|
-
vars: {
|
|
7534
|
-
"m1rk4s1l-0": [_exp()]
|
|
7535
|
-
}
|
|
7536
|
-
});
|
|
7537
|
-
const OverflowTooltip = props => {
|
|
7538
|
-
const {
|
|
7539
|
-
content,
|
|
7540
|
-
className,
|
|
7541
|
-
onClick,
|
|
7542
|
-
multiLines
|
|
7543
|
-
} = props;
|
|
7544
|
-
const tooltip = props.tooltip || content;
|
|
7545
|
-
const [ellipsis, setEllipsis] = React.useState(false);
|
|
7546
|
-
const textRef = React.useRef(null);
|
|
7547
|
-
const isMultiLine = multiLines && multiLines > 1;
|
|
7548
|
-
React.useEffect(() => {
|
|
7549
|
-
const ele = textRef.current;
|
|
7550
|
-
let observer;
|
|
7551
|
-
if (ele) {
|
|
7552
|
-
const handleResize = _.debounce(() => {
|
|
7553
|
-
if (isMultiLine) {
|
|
7554
|
-
setEllipsis(ele.scrollHeight > ele.offsetHeight);
|
|
7555
|
-
} else {
|
|
7556
|
-
setEllipsis(ele.scrollWidth > ele.offsetWidth);
|
|
7557
|
-
}
|
|
7558
|
-
}, 200);
|
|
7559
|
-
observer = new ResizeObserver(handleResize);
|
|
7560
|
-
observer.observe(ele);
|
|
7561
|
-
}
|
|
7562
|
-
return () => {
|
|
7563
|
-
observer == null ? void 0 : observer.disconnect();
|
|
7564
|
-
};
|
|
7565
|
-
});
|
|
7566
|
-
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$b(__spreadValues$d({}, !ellipsis && {
|
|
7567
|
-
visible: false
|
|
7568
|
-
}), {
|
|
7569
|
-
title: tooltip
|
|
7570
|
-
}), isMultiLine ? /* @__PURE__ */React__namespace.default.createElement(MultipleLine, {
|
|
7571
|
-
ref: textRef,
|
|
7572
|
-
className: core.cx(OverflowText, className),
|
|
7573
|
-
lineClamp: multiLines,
|
|
7574
|
-
onClick: () => {
|
|
7575
|
-
onClick && onClick();
|
|
7576
|
-
}
|
|
7577
|
-
}, /* @__PURE__ */React__namespace.default.createElement("span", null, content)) : /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
7578
|
-
ref: textRef,
|
|
7579
|
-
className: core.cx(OverflowText, SingleLineStyle, className),
|
|
7580
|
-
onClick: () => {
|
|
7581
|
-
onClick && onClick();
|
|
7582
|
-
}
|
|
7583
|
-
}, /* @__PURE__ */React__namespace.default.createElement("span", null, content)));
|
|
7584
|
-
};
|
|
7585
|
-
|
|
7586
|
-
const PaginationStyle = "p12gwtiw";
|
|
7587
|
-
const DropdownOverlayStyle = "d1bnu0in";
|
|
7586
|
+
const PaginationStyle = "phljevk";
|
|
7587
|
+
const DropdownOverlayStyle = "d12rtyeg";
|
|
7588
7588
|
const Pagination = props => {
|
|
7589
7589
|
const {
|
|
7590
7590
|
current,
|
|
@@ -7731,9 +7731,9 @@
|
|
|
7731
7731
|
}
|
|
7732
7732
|
return target;
|
|
7733
7733
|
};
|
|
7734
|
-
const RadioStyle = "
|
|
7735
|
-
const RadioGroupStyle = "
|
|
7736
|
-
const RadioButtonStyle = "
|
|
7734
|
+
const RadioStyle = "rapgekc";
|
|
7735
|
+
const RadioGroupStyle = "rp906go";
|
|
7736
|
+
const RadioButtonStyle = "rcc63c8";
|
|
7737
7737
|
const KitRadioGroupContext = React__namespace.default.createContext({});
|
|
7738
7738
|
const Radio = _a => {
|
|
7739
7739
|
var _b = _a,
|
|
@@ -7833,7 +7833,7 @@
|
|
|
7833
7833
|
}, props), renderChildren());
|
|
7834
7834
|
};
|
|
7835
7835
|
|
|
7836
|
-
const inputStyle = "
|
|
7836
|
+
const inputStyle = "ivqqkzv";
|
|
7837
7837
|
const SimplePagination = props => {
|
|
7838
7838
|
const {
|
|
7839
7839
|
className,
|
|
@@ -7891,7 +7891,7 @@
|
|
|
7891
7891
|
changeValue(event.target.value);
|
|
7892
7892
|
}
|
|
7893
7893
|
}), /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
7894
|
-
className: cs__default.default("
|
|
7894
|
+
className: cs__default.default("c1wk4q29", Typo.Label.l3_regular_upper)
|
|
7895
7895
|
}, `/ ${pageLength}`), showNext && /* @__PURE__ */React__namespace.default.createElement(Button, {
|
|
7896
7896
|
className: "next-btn",
|
|
7897
7897
|
type: "quiet",
|
|
@@ -7938,10 +7938,10 @@
|
|
|
7938
7938
|
return target;
|
|
7939
7939
|
};
|
|
7940
7940
|
const PresetColors = ["blue", "red", "yellow", "green", "gray"];
|
|
7941
|
-
const StatusCapsuleStyle = "
|
|
7941
|
+
const StatusCapsuleStyle = "sddwhm6";
|
|
7942
7942
|
const StatusCode = /*#__PURE__*/react.styled('i')({
|
|
7943
7943
|
name: "StatusCode",
|
|
7944
|
-
class: "
|
|
7944
|
+
class: "satwmqm",
|
|
7945
7945
|
propsAsIs: false
|
|
7946
7946
|
});
|
|
7947
7947
|
const StatusIcon = ({
|
|
@@ -8034,7 +8034,7 @@
|
|
|
8034
8034
|
return hasScrollBar;
|
|
8035
8035
|
};
|
|
8036
8036
|
|
|
8037
|
-
const TableLoadingStyle = "
|
|
8037
|
+
const TableLoadingStyle = "t13ef470";
|
|
8038
8038
|
const TableLoading = () => {
|
|
8039
8039
|
const sizes = useElementsSize({
|
|
8040
8040
|
loading: ".ant-table-wrapper .ant-spin"
|
|
@@ -8091,8 +8091,8 @@
|
|
|
8091
8091
|
return a;
|
|
8092
8092
|
};
|
|
8093
8093
|
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
8094
|
-
const TableContainerStyle = "
|
|
8095
|
-
const tableStyleCover = "
|
|
8094
|
+
const TableContainerStyle = "tc97u5y";
|
|
8095
|
+
const tableStyleCover = "tfzf37v";
|
|
8096
8096
|
const Table = props => {
|
|
8097
8097
|
const {
|
|
8098
8098
|
loading,
|
|
@@ -8166,27 +8166,27 @@
|
|
|
8166
8166
|
}));
|
|
8167
8167
|
};
|
|
8168
8168
|
|
|
8169
|
-
const TitleStyle = "
|
|
8170
|
-
const SubtitleStyle = "
|
|
8171
|
-
const BodyCellTextStyle = "
|
|
8169
|
+
const TitleStyle = "t1dtlqs1";
|
|
8170
|
+
const SubtitleStyle = "s1ese5oy";
|
|
8171
|
+
const BodyCellTextStyle = "b1ibis43";
|
|
8172
8172
|
const BodyCellTextWrapper = /*#__PURE__*/react.styled('div')({
|
|
8173
8173
|
name: "BodyCellTextWrapper",
|
|
8174
|
-
class: "
|
|
8174
|
+
class: "bsub5bw",
|
|
8175
8175
|
propsAsIs: false
|
|
8176
8176
|
});
|
|
8177
8177
|
const TableFormWrapper = /*#__PURE__*/react.styled('div')({
|
|
8178
8178
|
name: "TableFormWrapper",
|
|
8179
|
-
class: "
|
|
8179
|
+
class: "tmoyoag",
|
|
8180
8180
|
propsAsIs: false
|
|
8181
8181
|
});
|
|
8182
8182
|
const AddRowButtonWrapper = /*#__PURE__*/react.styled('div')({
|
|
8183
8183
|
name: "AddRowButtonWrapper",
|
|
8184
|
-
class: "
|
|
8184
|
+
class: "a138syjm",
|
|
8185
8185
|
propsAsIs: false
|
|
8186
8186
|
});
|
|
8187
8187
|
const DraggableHandleWrapper = /*#__PURE__*/react.styled('div')({
|
|
8188
8188
|
name: "DraggableHandleWrapper",
|
|
8189
|
-
class: "
|
|
8189
|
+
class: "d77i8u0",
|
|
8190
8190
|
propsAsIs: false
|
|
8191
8191
|
});
|
|
8192
8192
|
|
|
@@ -8544,7 +8544,7 @@
|
|
|
8544
8544
|
checkbox: CheckboxColumnBodyCell
|
|
8545
8545
|
};
|
|
8546
8546
|
|
|
8547
|
-
const FormItemStyle = "
|
|
8547
|
+
const FormItemStyle = "f16blduf";
|
|
8548
8548
|
const FormItem = props => {
|
|
8549
8549
|
const {
|
|
8550
8550
|
validateStatus,
|
|
@@ -9174,7 +9174,7 @@
|
|
|
9174
9174
|
}
|
|
9175
9175
|
);
|
|
9176
9176
|
|
|
9177
|
-
const timeWrapper = "
|
|
9177
|
+
const timeWrapper = "tju3gfj";
|
|
9178
9178
|
const Time = props => {
|
|
9179
9179
|
const {
|
|
9180
9180
|
className,
|
|
@@ -9189,7 +9189,7 @@
|
|
|
9189
9189
|
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, dateTemplate !== null && time.format(dateTemplate), " ", timeTemplate !== null && time.format(timeTemplate));
|
|
9190
9190
|
}
|
|
9191
9191
|
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
9192
|
-
className: cs__default.default(
|
|
9192
|
+
className: cs__default.default("time-wrapper", timeWrapper, className)
|
|
9193
9193
|
}, dateTemplate !== null && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
9194
9194
|
className: "date"
|
|
9195
9195
|
}, time.format(dateTemplate)), timeTemplate !== null && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
@@ -9218,13 +9218,13 @@
|
|
|
9218
9218
|
return [key, _.sortBy(tzs, "value")];
|
|
9219
9219
|
}), "0");
|
|
9220
9220
|
})();
|
|
9221
|
-
const SelectStyle = "
|
|
9222
|
-
const DropdownStyle = "
|
|
9223
|
-
const OptionWrapperStyle = core.cx("
|
|
9224
|
-
const OptionFirstLineStyle = core.cx("
|
|
9225
|
-
const OptionSecondLineStyle = core.cx("
|
|
9226
|
-
const TagStyle = "
|
|
9227
|
-
const OptionPlaceholder = "
|
|
9221
|
+
const SelectStyle = "s1dni7lo";
|
|
9222
|
+
const DropdownStyle = "d1wwmmm5";
|
|
9223
|
+
const OptionWrapperStyle = core.cx("o1ugr09p", Typo.Label.l3_regular);
|
|
9224
|
+
const OptionFirstLineStyle = core.cx("o1ifxsq4", Typo.Label.l3_regular);
|
|
9225
|
+
const OptionSecondLineStyle = core.cx("o1zue7", Typo.Label.l4_regular);
|
|
9226
|
+
const TagStyle = "tyfmlxg";
|
|
9227
|
+
const OptionPlaceholder = "o18uybox";
|
|
9228
9228
|
const BrowserTimeValue = "browser_time_zone";
|
|
9229
9229
|
const browserTzName = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
9230
9230
|
const browserTz = allTimeZones.find(tz => tz.value === browserTzName) || allTimeZones[0];
|
|
@@ -9347,7 +9347,7 @@
|
|
|
9347
9347
|
})));
|
|
9348
9348
|
};
|
|
9349
9349
|
|
|
9350
|
-
const Inline = "
|
|
9350
|
+
const Inline = "iq1gosr";
|
|
9351
9351
|
const Truncate = props => {
|
|
9352
9352
|
const {
|
|
9353
9353
|
text,
|
|
@@ -9536,7 +9536,7 @@
|
|
|
9536
9536
|
}
|
|
9537
9537
|
reactI18next.withTranslation()(ErrorBoundary);
|
|
9538
9538
|
|
|
9539
|
-
const FailedLoadStyle = "
|
|
9539
|
+
const FailedLoadStyle = "fzh9mnb";
|
|
9540
9540
|
const FailedLoad = props => {
|
|
9541
9541
|
const {
|
|
9542
9542
|
error,
|