amis 1.5.7 → 1.6.1
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/.husky/pre-commit +1 -1
- package/README.md +1 -0
- package/lib/RootRenderer.d.ts +2 -0
- package/lib/RootRenderer.js +19 -1
- package/lib/RootRenderer.js.map +2 -2
- package/lib/Schema.d.ts +3 -2
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.js +52 -1
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/Scoped.d.ts +2 -0
- package/lib/Scoped.js +27 -1
- package/lib/Scoped.js.map +2 -2
- package/lib/actions/Action.d.ts +33 -0
- package/lib/actions/Action.js +100 -0
- package/lib/actions/Action.js.map +13 -0
- package/lib/actions/AjaxAction.d.ts +14 -0
- package/lib/actions/AjaxAction.js +68 -0
- package/lib/actions/AjaxAction.js.map +13 -0
- package/lib/actions/BreakAction.d.ts +12 -0
- package/lib/actions/BreakAction.js +28 -0
- package/lib/actions/BreakAction.js.map +13 -0
- package/lib/actions/BroadcastAction.d.ts +12 -0
- package/lib/actions/BroadcastAction.js +40 -0
- package/lib/actions/BroadcastAction.js.map +13 -0
- package/lib/actions/CmptAction.d.ts +12 -0
- package/lib/actions/CmptAction.js +40 -0
- package/lib/actions/CmptAction.js.map +13 -0
- package/lib/actions/ContinueAction.d.ts +12 -0
- package/lib/actions/ContinueAction.js +28 -0
- package/lib/actions/ContinueAction.js.map +13 -0
- package/lib/actions/CopyAction.d.ts +12 -0
- package/lib/actions/CopyAction.js +35 -0
- package/lib/actions/CopyAction.js.map +13 -0
- package/lib/actions/CustomAction.d.ts +12 -0
- package/lib/actions/CustomAction.js +43 -0
- package/lib/actions/CustomAction.js.map +13 -0
- package/lib/actions/DialogAction.d.ts +12 -0
- package/lib/actions/DialogAction.js +31 -0
- package/lib/actions/DialogAction.js.map +13 -0
- package/lib/actions/DrawerAction.d.ts +12 -0
- package/lib/actions/DrawerAction.js +31 -0
- package/lib/actions/DrawerAction.js.map +13 -0
- package/lib/actions/EmailAction.d.ts +12 -0
- package/lib/actions/EmailAction.js +37 -0
- package/lib/actions/EmailAction.js.map +13 -0
- package/lib/actions/LoopAction.d.ts +12 -0
- package/lib/actions/LoopAction.js +93 -0
- package/lib/actions/LoopAction.js.map +13 -0
- package/lib/actions/OpenPageAction.d.ts +12 -0
- package/lib/actions/OpenPageAction.js +33 -0
- package/lib/actions/OpenPageAction.js.map +13 -0
- package/lib/actions/ParallelAction.d.ts +5 -0
- package/lib/actions/ParallelAction.js +33 -0
- package/lib/actions/ParallelAction.js.map +13 -0
- package/lib/actions/SwitchAction.d.ts +8 -0
- package/lib/actions/SwitchAction.js +45 -0
- package/lib/actions/SwitchAction.js.map +13 -0
- package/lib/actions/index.d.ts +18 -0
- package/lib/actions/index.js +22 -0
- package/lib/actions/index.js.map +13 -0
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AssociatedSelection.d.ts +84 -84
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/AssociatedSelection.js.map +2 -2
- package/lib/components/Avatar.d.ts +135 -0
- package/lib/components/Avatar.js +120 -0
- package/lib/components/Avatar.js.map +13 -0
- package/lib/components/BaiduMapPicker.js.map +2 -2
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/CalendarMobile.d.ts +573 -0
- package/lib/components/CalendarMobile.js +486 -0
- package/lib/components/CalendarMobile.js.map +13 -0
- package/lib/components/Cascader.d.ts +123 -0
- package/lib/components/Cascader.js +487 -0
- package/lib/components/Cascader.js.map +13 -0
- package/lib/components/ChainedSelection.d.ts +84 -84
- package/lib/components/ChainedSelection.js +15 -3
- package/lib/components/ChainedSelection.js.map +2 -2
- package/lib/components/CityArea.d.ts +527 -0
- package/lib/components/CityArea.js +177 -0
- package/lib/components/CityArea.js.map +13 -0
- package/lib/components/Collapse.d.ts +20 -20
- package/lib/components/ColorPicker.d.ts +84 -84
- package/lib/components/ColorPicker.js +4 -3
- package/lib/components/ColorPicker.js.map +2 -2
- package/lib/components/DatePicker.d.ts +85 -84
- package/lib/components/DatePicker.js +21 -8
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +85 -84
- package/lib/components/DateRangePicker.js +19 -6
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/GroupedSelection.d.ts +84 -84
- package/lib/components/GroupedSelection.js +14 -2
- package/lib/components/GroupedSelection.js.map +2 -2
- package/lib/components/InputBox.d.ts +21 -21
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/ListMenu.d.ts +84 -84
- package/lib/components/MonthRangePicker.d.ts +85 -84
- package/lib/components/MonthRangePicker.js +18 -7
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/Overlay.d.ts +1 -1
- package/lib/components/Overlay.js.map +1 -1
- package/lib/components/Picker.d.ts +1 -0
- package/lib/components/Picker.js +16 -7
- package/lib/components/Picker.js.map +2 -2
- package/lib/components/PickerColumn.d.ts +1 -0
- package/lib/components/PickerColumn.js +21 -18
- package/lib/components/PickerColumn.js.map +2 -2
- package/lib/components/PickerContainer.d.ts +3 -0
- package/lib/components/PickerContainer.js +12 -5
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/PopOverContainer.d.ts +1 -0
- package/lib/components/PopOverContainer.js +5 -3
- package/lib/components/PopOverContainer.js.map +2 -2
- package/lib/components/PopUp.d.ts +1041 -28
- package/lib/components/PopUp.js +32 -8
- package/lib/components/PopUp.js.map +2 -2
- package/lib/components/Radios.d.ts +21 -21
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +85 -84
- package/lib/components/ResultBox.js +9 -4
- package/lib/components/ResultBox.js.map +2 -2
- package/lib/components/ResultList.d.ts +9 -2
- package/lib/components/ResultList.js +22 -2
- package/lib/components/ResultList.js.map +2 -2
- package/lib/components/Select.d.ts +238 -238
- package/lib/components/Select.js +13 -9
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Selection.d.ts +94 -86
- package/lib/components/Selection.js +11 -2
- package/lib/components/Selection.js.map +2 -2
- package/lib/components/Steps.js.map +2 -2
- package/lib/components/TableSelection.d.ts +85 -85
- package/lib/components/TableSelection.js +1 -9
- package/lib/components/TableSelection.js.map +2 -2
- package/lib/components/Tabs.js +31 -33
- package/lib/components/Tabs.js.map +2 -2
- package/lib/components/TabsTransfer.d.ts +87 -256
- package/lib/components/TabsTransfer.js +52 -9
- package/lib/components/TabsTransfer.js.map +2 -2
- package/lib/components/TabsTransferPicker.d.ts +1 -1
- package/lib/components/TabsTransferPicker.js +20 -18
- package/lib/components/TabsTransferPicker.js.map +2 -2
- package/lib/components/Timeline.d.ts +69 -0
- package/lib/components/Timeline.js +16 -0
- package/lib/components/Timeline.js.map +13 -0
- package/lib/components/TimelineItem.d.ts +517 -0
- package/lib/components/TimelineItem.js +40 -0
- package/lib/components/TimelineItem.js.map +13 -0
- package/lib/components/Transfer.d.ts +100 -98
- package/lib/components/Transfer.js +2 -3
- package/lib/components/Transfer.js.map +2 -2
- package/lib/components/TransferDropDown.d.ts +85 -84
- package/lib/components/TransferDropDown.js +9 -10
- package/lib/components/TransferDropDown.js.map +2 -2
- package/lib/components/TransferPicker.d.ts +1 -0
- package/lib/components/TransferPicker.js +19 -4
- package/lib/components/TransferPicker.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/TreeSelection.d.ts +85 -85
- package/lib/components/TreeSelection.js +7 -1
- package/lib/components/TreeSelection.js.map +2 -2
- package/lib/components/calendar/Calendar.d.ts +19 -0
- package/lib/components/calendar/Calendar.js +71 -1
- package/lib/components/calendar/Calendar.js.map +2 -2
- package/lib/components/calendar/DaysView.d.ts +21 -0
- package/lib/components/calendar/DaysView.js +76 -17
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/components/calendar/MonthsView.d.ts +34 -0
- package/lib/components/calendar/MonthsView.js +68 -3
- package/lib/components/calendar/MonthsView.js.map +2 -2
- package/lib/components/calendar/QuartersView.d.ts +1 -0
- package/lib/components/calendar/QuartersView.js +2 -2
- package/lib/components/calendar/QuartersView.js.map +2 -2
- package/lib/components/calendar/TimeView.d.ts +30 -18
- package/lib/components/calendar/TimeView.js +47 -8
- package/lib/components/calendar/TimeView.js.map +2 -2
- package/lib/components/calendar/YearsView.d.ts +6 -0
- package/lib/components/calendar/YearsView.js +21 -10
- package/lib/components/calendar/YearsView.js.map +2 -2
- package/lib/components/condition-builder/Field.js +1 -4
- package/lib/components/condition-builder/Field.js.map +2 -2
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Func.js.map +2 -2
- package/lib/components/formula/Editor.d.ts +3 -0
- package/lib/components/formula/Editor.js +3 -2
- package/lib/components/formula/Editor.js.map +2 -2
- package/lib/components/formula/FuncList.js +2 -1
- package/lib/components/formula/FuncList.js.map +2 -2
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/Picker.js.map +2 -2
- package/lib/components/formula/plugin.js +0 -1
- package/lib/components/formula/plugin.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +2 -2
- package/lib/components/virtual-list/SizeAndPositionManager.js.map +2 -2
- package/lib/components/virtual-list/index.js +1 -2
- package/lib/components/virtual-list/index.js.map +2 -2
- package/lib/env.d.ts +4 -0
- package/lib/env.js.map +2 -2
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +83 -0
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/icons/tree-down.js +7 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +4 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +17 -2
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +17 -2
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +16 -1
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.d.ts +1 -1
- package/lib/renderers/Action.js +26 -10
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Avatar.d.ts +35 -26
- package/lib/renderers/Avatar.js +14 -19
- package/lib/renderers/Avatar.js.map +2 -2
- package/lib/renderers/Card.js +6 -5
- package/lib/renderers/Card.js.map +2 -2
- package/lib/renderers/Custom.d.ts +1 -1
- package/lib/renderers/Custom.js +1 -1
- package/lib/renderers/Custom.js.map +2 -2
- package/lib/renderers/DropDownButton.d.ts +11 -2
- package/lib/renderers/DropDownButton.js +30 -12
- package/lib/renderers/DropDownButton.js.map +2 -2
- package/lib/renderers/Each.js +5 -2
- package/lib/renderers/Each.js.map +2 -2
- package/lib/renderers/Flex.js +1 -5
- package/lib/renderers/Flex.js.map +2 -2
- package/lib/renderers/Form/ChartRadios.js.map +2 -2
- package/lib/renderers/Form/Checkboxes.js.map +2 -2
- package/lib/renderers/Form/CityDB.js +526 -2
- package/lib/renderers/Form/CityDB.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +6 -0
- package/lib/renderers/Form/DiffEditor.js +2 -1
- package/lib/renderers/Form/DiffEditor.js.map +2 -2
- package/lib/renderers/Form/Editor.d.ts +6 -0
- package/lib/renderers/Form/InputCity.d.ts +85 -84
- package/lib/renderers/Form/InputCity.js +4 -2
- package/lib/renderers/Form/InputCity.js.map +2 -2
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputColor.js +6 -2
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputDate.js +10 -5
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/InputDateRange.js +6 -2
- package/lib/renderers/Form/InputDateRange.js.map +2 -2
- package/lib/renderers/Form/InputFormula.d.ts +4 -1
- package/lib/renderers/Form/InputFormula.js +2 -2
- package/lib/renderers/Form/InputFormula.js.map +2 -2
- package/lib/renderers/Form/InputImage.d.ts +1 -0
- package/lib/renderers/Form/InputImage.js +8 -4
- package/lib/renderers/Form/InputImage.js.map +2 -2
- package/lib/renderers/Form/InputMonthRange.js +1 -1
- package/lib/renderers/Form/InputMonthRange.js.map +2 -2
- package/lib/renderers/Form/InputQuarterRange.js +1 -1
- package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
- package/lib/renderers/Form/InputRichText.d.ts +4 -0
- package/lib/renderers/Form/InputRichText.js +2 -1
- package/lib/renderers/Form/InputRichText.js.map +2 -2
- package/lib/renderers/Form/InputYearRange.js +1 -1
- package/lib/renderers/Form/InputYearRange.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +10 -14
- package/lib/renderers/Form/Item.js +18 -9
- package/lib/renderers/Form/Item.js.map +2 -2
- package/lib/renderers/Form/NestedSelect.d.ts +1 -0
- package/lib/renderers/Form/NestedSelect.js +8 -4
- package/lib/renderers/Form/NestedSelect.js.map +2 -2
- package/lib/renderers/Form/Options.js +9 -7
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.d.ts +2 -0
- package/lib/renderers/Form/Select.js +9 -6
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TabsTransfer.d.ts +5 -32
- package/lib/renderers/Form/TabsTransfer.js +20 -1
- package/lib/renderers/Form/TabsTransfer.js.map +2 -2
- package/lib/renderers/Form/TabsTransferPicker.d.ts +5 -35
- package/lib/renderers/Form/TabsTransferPicker.js +21 -2
- package/lib/renderers/Form/TabsTransferPicker.js.map +2 -2
- package/lib/renderers/Form/Transfer.d.ts +15 -4
- package/lib/renderers/Form/Transfer.js +55 -18
- package/lib/renderers/Form/Transfer.js.map +2 -2
- package/lib/renderers/Form/TransferPicker.d.ts +3 -32
- package/lib/renderers/Form/TransferPicker.js +1 -1
- package/lib/renderers/Form/TransferPicker.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.js +4 -4
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/index.js +8 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/IFrame.js +0 -2
- package/lib/renderers/IFrame.js.map +2 -2
- package/lib/renderers/Link.d.ts +1 -1
- package/lib/renderers/Link.js +27 -6
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/Log.js +15 -10
- package/lib/renderers/Log.js.map +2 -2
- package/lib/renderers/Nav.d.ts +21 -21
- package/lib/renderers/Remark.d.ts +5 -1
- package/lib/renderers/Remark.js +39 -7
- package/lib/renderers/Remark.js.map +2 -2
- package/lib/renderers/Steps.js +5 -5
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/renderers/Table/index.js +4 -1
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/renderers/Tabs.js +1 -1
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/renderers/Timeline.d.ts +65 -0
- package/lib/renderers/Timeline.js +54 -0
- package/lib/renderers/Timeline.js.map +13 -0
- package/lib/renderers/Video.js.map +2 -2
- package/lib/schemaExtend.js +23 -9
- package/lib/schemaExtend.js.map +2 -2
- package/lib/store/combo.js.map +2 -2
- package/lib/store/formItem.js +1 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +1149 -53
- package/lib/themes/ang.css +1149 -53
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +1187 -53
- package/lib/themes/antd.css +1187 -53
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +1189 -70
- package/lib/themes/cxd.css +1189 -70
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +1152 -53
- package/lib/themes/dark.css +1152 -53
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +1189 -70
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/RootClose.js +3 -1
- package/lib/utils/RootClose.js.map +2 -2
- package/lib/utils/api.js +14 -3
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/debug.d.ts +26 -0
- package/lib/utils/debug.js +351 -0
- package/lib/utils/debug.js.map +13 -0
- package/lib/utils/helper.d.ts +1 -6
- package/lib/utils/helper.js +6 -17
- package/lib/utils/helper.js.map +2 -2
- package/lib/utils/renderer-event.d.ts +38 -0
- package/lib/utils/renderer-event.js +28 -0
- package/lib/utils/renderer-event.js.map +13 -0
- package/package.json +12 -6
- package/schema.json +3516 -839
- package/scss/_properties.scss +20 -6
- package/scss/_variables.scss +1 -0
- package/scss/components/_avatar.scss +27 -9
- package/scss/components/_calendar.scss +291 -0
- package/scss/components/_card.scss +1 -1
- package/scss/components/_cascader.scss +102 -0
- package/scss/components/_city-area.scss +27 -0
- package/scss/components/_collapse-group.scss +1 -3
- package/scss/components/_debug.scss +167 -0
- package/scss/components/_dropdown.scss +39 -9
- package/scss/components/_formula.scss +30 -6
- package/scss/components/_modal.scss +18 -0
- package/scss/components/_panel.scss +45 -0
- package/scss/components/_picker-columns.scss +15 -5
- package/scss/components/_popup.scss +43 -16
- package/scss/components/_result-box.scss +31 -0
- package/scss/components/_timeline.scss +198 -0
- package/scss/components/form/_checks.scss +2 -0
- package/scss/components/form/_color.scss +2 -2
- package/scss/components/form/_date-range.scss +34 -1
- package/scss/components/form/_date.scss +46 -1
- package/scss/components/form/_form.scss +170 -0
- package/scss/components/form/_nested-select.scss +3 -0
- package/scss/components/form/_result-list.scss +2 -0
- package/scss/components/form/_select.scss +32 -3
- package/scss/components/form/_selection.scss +5 -4
- package/scss/components/form/_transfer.scss +3 -0
- package/scss/components/form/_tree-select.scss +1 -1
- package/scss/themes/_antd-variables.scss +45 -0
- package/scss/themes/_common.scss +5 -0
- package/scss/themes/_cxd-variables.scss +50 -1
- package/scss/themes/_dark-variables.scss +4 -0
- package/scss/themes/cxd.scss +0 -19
- package/sdk/ang-ie11.css +1450 -142
- package/sdk/ang.css +1473 -159
- package/sdk/antd-ie11.css +1451 -142
- package/sdk/antd.css +1511 -159
- package/sdk/charts.js +15 -15
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1448 -158
- package/sdk/cxd.css +1513 -178
- package/sdk/dark-ie11.css +1450 -142
- package/sdk/dark.css +1476 -159
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/locale/de-DE.js +17 -2
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1448 -158
- package/sdk/sdk.css +1513 -178
- package/sdk/sdk.js +1309 -1251
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/RootRenderer.tsx +27 -1
- package/src/Schema.ts +3 -0
- package/src/SchemaRenderer.tsx +70 -4
- package/src/Scoped.tsx +46 -4
- package/src/actions/Action.ts +138 -0
- package/src/actions/AjaxAction.ts +58 -0
- package/src/actions/BreakAction.ts +27 -0
- package/src/actions/BroadcastAction.ts +41 -0
- package/src/actions/CmptAction.ts +36 -0
- package/src/actions/ContinueAction.ts +27 -0
- package/src/actions/CopyAction.ts +41 -0
- package/src/actions/CustomAction.ts +46 -0
- package/src/actions/DialogAction.ts +28 -0
- package/src/actions/DrawerAction.ts +28 -0
- package/src/actions/EmailAction.ts +38 -0
- package/src/actions/LoopAction.ts +77 -0
- package/src/actions/OpenPageAction.ts +39 -0
- package/src/actions/ParallelAction.ts +26 -0
- package/src/actions/SwitchAction.ts +35 -0
- package/src/actions/index.ts +20 -0
- package/src/components/AssociatedSelection.tsx +5 -1
- package/src/components/Avatar.tsx +253 -0
- package/src/components/BaiduMapPicker.tsx +19 -14
- package/src/components/CalendarMobile.tsx +658 -0
- package/src/components/Cascader.tsx +564 -0
- package/src/components/ChainedSelection.tsx +16 -3
- package/src/components/CityArea.tsx +315 -0
- package/src/components/ColorPicker.tsx +41 -40
- package/src/components/DatePicker.tsx +80 -34
- package/src/components/DateRangePicker.tsx +85 -30
- package/src/components/GroupedSelection.tsx +14 -2
- package/src/components/MonthRangePicker.tsx +78 -31
- package/src/components/Overlay.tsx +1 -1
- package/src/components/Picker.tsx +55 -35
- package/src/components/PickerColumn.tsx +43 -36
- package/src/components/PickerContainer.tsx +13 -1
- package/src/components/PopOverContainer.tsx +31 -17
- package/src/components/PopUp.tsx +84 -57
- package/src/components/ResultBox.tsx +14 -2
- package/src/components/ResultList.tsx +36 -6
- package/src/components/Select.tsx +24 -26
- package/src/components/Selection.tsx +21 -3
- package/src/components/Steps.tsx +23 -10
- package/src/components/TableSelection.tsx +1 -44
- package/src/components/Tabs.tsx +65 -54
- package/src/components/TabsTransfer.tsx +78 -9
- package/src/components/TabsTransferPicker.tsx +25 -13
- package/src/components/Timeline.tsx +36 -0
- package/src/components/TimelineItem.tsx +140 -0
- package/src/components/Transfer.tsx +11 -8
- package/src/components/TransferDropDown.tsx +20 -12
- package/src/components/TransferPicker.tsx +25 -4
- package/src/components/TreeSelection.tsx +7 -1
- package/src/components/calendar/Calendar.tsx +101 -4
- package/src/components/calendar/DaysView.tsx +165 -33
- package/src/components/calendar/MonthsView.tsx +108 -1
- package/src/components/calendar/QuartersView.tsx +3 -2
- package/src/components/calendar/TimeView.tsx +104 -41
- package/src/components/calendar/YearsView.tsx +34 -17
- package/src/components/condition-builder/Field.tsx +1 -3
- package/src/components/condition-builder/Func.tsx +1 -1
- package/src/components/formula/Editor.tsx +16 -11
- package/src/components/formula/FuncList.tsx +3 -1
- package/src/components/formula/Picker.tsx +2 -1
- package/src/components/formula/plugin.ts +0 -2
- package/src/components/icons.tsx +2 -0
- package/src/components/index.tsx +2 -0
- package/src/components/virtual-list/SizeAndPositionManager.ts +6 -3
- package/src/components/virtual-list/index.tsx +4 -6
- package/src/env.tsx +22 -0
- package/src/factory.tsx +93 -1
- package/src/icons/tree-down.svg +5 -0
- package/src/index.tsx +5 -0
- package/src/locale/de-DE.ts +17 -2
- package/src/locale/en-US.ts +17 -2
- package/src/locale/zh-CN.ts +16 -1
- package/src/renderers/Action.tsx +11 -2
- package/src/renderers/Avatar.tsx +83 -74
- package/src/renderers/Card.tsx +10 -6
- package/src/renderers/Custom.tsx +7 -4
- package/src/renderers/DropDownButton.tsx +69 -35
- package/src/renderers/Each.tsx +4 -4
- package/src/renderers/Flex.tsx +3 -7
- package/src/renderers/Form/ChartRadios.tsx +2 -7
- package/src/renderers/Form/Checkboxes.tsx +1 -1
- package/src/renderers/Form/CityDB.ts +526 -2
- package/src/renderers/Form/DiffEditor.tsx +2 -3
- package/src/renderers/Form/InputCity.tsx +23 -3
- package/src/renderers/Form/InputColor.tsx +21 -2
- package/src/renderers/Form/InputDate.tsx +48 -20
- package/src/renderers/Form/InputDateRange.tsx +9 -2
- package/src/renderers/Form/InputFormula.tsx +9 -4
- package/src/renderers/Form/InputImage.tsx +9 -4
- package/src/renderers/Form/InputMonthRange.tsx +0 -1
- package/src/renderers/Form/InputQuarterRange.tsx +0 -1
- package/src/renderers/Form/InputRichText.tsx +11 -1
- package/src/renderers/Form/InputYearRange.tsx +0 -1
- package/src/renderers/Form/Item.tsx +29 -8
- package/src/renderers/Form/NestedSelect.tsx +32 -4
- package/src/renderers/Form/Options.tsx +15 -7
- package/src/renderers/Form/Select.tsx +21 -5
- package/src/renderers/Form/TabsTransfer.tsx +28 -38
- package/src/renderers/Form/TabsTransferPicker.tsx +28 -46
- package/src/renderers/Form/Transfer.tsx +75 -24
- package/src/renderers/Form/TransferPicker.tsx +6 -38
- package/src/renderers/Form/TreeSelect.tsx +18 -16
- package/src/renderers/Form/index.tsx +7 -1
- package/src/renderers/IFrame.tsx +0 -2
- package/src/renderers/Link.tsx +18 -3
- package/src/renderers/Log.tsx +5 -1
- package/src/renderers/Remark.tsx +68 -18
- package/src/renderers/Steps.tsx +11 -13
- package/src/renderers/Table/index.tsx +7 -1
- package/src/renderers/Tabs.tsx +6 -2
- package/src/renderers/Timeline.tsx +141 -0
- package/src/renderers/Video.tsx +4 -20
- package/src/schemaExtend.ts +22 -10
- package/src/store/combo.ts +1 -3
- package/src/store/formItem.ts +1 -1
- package/src/utils/RootClose.ts +5 -1
- package/src/utils/api.ts +15 -2
- package/src/utils/debug.tsx +438 -0
- package/src/utils/helper.ts +6 -16
- package/src/utils/renderer-event.ts +75 -0
@@ -0,0 +1,167 @@
|
|
1
|
+
/**
|
2
|
+
* Debug 模块的 UI,由于没法使用任何主题,所以这里使用独立配色风格
|
3
|
+
*/
|
4
|
+
|
5
|
+
.AMISDebug {
|
6
|
+
position: fixed;
|
7
|
+
z-index: $zindex-debug;
|
8
|
+
top: 0;
|
9
|
+
right: 0;
|
10
|
+
height: 100vh;
|
11
|
+
width: 24px;
|
12
|
+
|
13
|
+
h3 {
|
14
|
+
color: inherit;
|
15
|
+
}
|
16
|
+
|
17
|
+
.primary {
|
18
|
+
color: #009fff;
|
19
|
+
}
|
20
|
+
|
21
|
+
&-header {
|
22
|
+
padding: var(--Drawer-header-padding);
|
23
|
+
background: var(--Drawer-header-bg);
|
24
|
+
border-bottom: var(--Drawer-content-borderWidth) solid
|
25
|
+
var(--Drawer-header-borderColor);
|
26
|
+
}
|
27
|
+
|
28
|
+
&-hoverBox {
|
29
|
+
pointer-events: none;
|
30
|
+
position: absolute;
|
31
|
+
outline: 1px dashed #1c76c4;
|
32
|
+
}
|
33
|
+
|
34
|
+
&-activeBox {
|
35
|
+
pointer-events: none;
|
36
|
+
position: absolute;
|
37
|
+
outline: 1px #1c76c4;
|
38
|
+
}
|
39
|
+
|
40
|
+
&-tab {
|
41
|
+
overflow: hidden;
|
42
|
+
}
|
43
|
+
|
44
|
+
&-tab > button {
|
45
|
+
color: inherit;
|
46
|
+
background: inherit;
|
47
|
+
float: left;
|
48
|
+
border: none;
|
49
|
+
outline: none;
|
50
|
+
cursor: pointer;
|
51
|
+
padding: var(--gap-sm) var(--gap-md);
|
52
|
+
transition: 0.3s;
|
53
|
+
border-bottom: 1px solid transparent;
|
54
|
+
}
|
55
|
+
|
56
|
+
&-tab > button:hover {
|
57
|
+
color: #e7e7e7;
|
58
|
+
}
|
59
|
+
|
60
|
+
&-tab > button.active {
|
61
|
+
color: #e7e7e7;
|
62
|
+
border-bottom-color: #e7e7e7;
|
63
|
+
}
|
64
|
+
|
65
|
+
&-toggle {
|
66
|
+
background: var(--body-bg);
|
67
|
+
position: fixed;
|
68
|
+
top: 50%;
|
69
|
+
right: 0;
|
70
|
+
width: 24px;
|
71
|
+
height: 48px;
|
72
|
+
box-shadow: rgba(0, 0, 0, 0.24) -2px 0px 4px 0px;
|
73
|
+
border-top-left-radius: 12px;
|
74
|
+
border-bottom-left-radius: 12px;
|
75
|
+
padding-top: 14px;
|
76
|
+
padding-left: 6px;
|
77
|
+
cursor: pointer;
|
78
|
+
i {
|
79
|
+
color: var(--text-color);
|
80
|
+
}
|
81
|
+
&:hover {
|
82
|
+
i {
|
83
|
+
color: var(--primary);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
&-content {
|
89
|
+
display: none;
|
90
|
+
}
|
91
|
+
|
92
|
+
&-resize {
|
93
|
+
position: absolute;
|
94
|
+
width: 4px;
|
95
|
+
top: 0;
|
96
|
+
left: 0;
|
97
|
+
bottom: 0;
|
98
|
+
cursor: col-resize;
|
99
|
+
&:hover {
|
100
|
+
background: #75715e;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
&-changePosition {
|
105
|
+
position: absolute;
|
106
|
+
font-size: 18px;
|
107
|
+
right: 40px;
|
108
|
+
top: var(--gap-sm);
|
109
|
+
cursor: pointer;
|
110
|
+
}
|
111
|
+
|
112
|
+
&-close {
|
113
|
+
position: absolute;
|
114
|
+
font-size: 18px;
|
115
|
+
right: var(--gap-sm);
|
116
|
+
top: var(--gap-sm);
|
117
|
+
cursor: pointer;
|
118
|
+
}
|
119
|
+
|
120
|
+
&.is-expanded {
|
121
|
+
width: 420px;
|
122
|
+
overflow: auto;
|
123
|
+
background: #272821;
|
124
|
+
color: #cccccc;
|
125
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
126
|
+
.AMISDebug-toggle {
|
127
|
+
display: none;
|
128
|
+
}
|
129
|
+
.AMISDebug-content {
|
130
|
+
display: block;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
&.is-left {
|
135
|
+
left: 0;
|
136
|
+
.AMISDebug-resize {
|
137
|
+
left: unset;
|
138
|
+
right: 0;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&-log {
|
143
|
+
padding: var(--gap-sm);
|
144
|
+
button {
|
145
|
+
cursor: pointer;
|
146
|
+
background: #0e639c;
|
147
|
+
flex-grow: 1;
|
148
|
+
box-sizing: border-box;
|
149
|
+
display: inline-flex;
|
150
|
+
justify-content: center;
|
151
|
+
align-items: center;
|
152
|
+
padding: 6px 11px;
|
153
|
+
outline: none;
|
154
|
+
text-decoration: none;
|
155
|
+
color: inherit;
|
156
|
+
max-width: 300px;
|
157
|
+
border: none;
|
158
|
+
}
|
159
|
+
button:hover {
|
160
|
+
background: #1177bb;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
&-inspect {
|
165
|
+
padding: var(--gap-sm);
|
166
|
+
}
|
167
|
+
}
|
@@ -34,20 +34,28 @@
|
|
34
34
|
}
|
35
35
|
|
36
36
|
&-menu {
|
37
|
-
position: absolute;
|
38
|
-
z-index: $zindex-dropdown;
|
39
|
-
top: 100%;
|
40
|
-
left: 0;
|
41
|
-
margin: px2rem(1px) 0 0;
|
42
37
|
background: var(--DropDown-menu-bg);
|
43
38
|
list-style: none;
|
44
39
|
padding: var(--DropDown-menu-paddingY) var(--DropDown-menu-paddingX);
|
45
|
-
border: var(--DropDown-menu-borderWidth) solid
|
46
|
-
var(--DropDown-menu-borderColor);
|
47
|
-
border-radius: var(--DropDown-menu-borderRadius);
|
48
|
-
box-shadow: var(--DropDown-menu-boxShadow);
|
49
40
|
min-width: var(--DropDown-menu-minWidth);
|
50
41
|
text-align: left;
|
42
|
+
border: none;
|
43
|
+
user-select: none;
|
44
|
+
|
45
|
+
&-root {
|
46
|
+
position: absolute;
|
47
|
+
z-index: $zindex-dropdown;
|
48
|
+
top: 100%;
|
49
|
+
left: 0;
|
50
|
+
margin: px2rem(1px) 0 0;
|
51
|
+
border: none;
|
52
|
+
border-radius: var(--DropDown-menu-borderRadius);
|
53
|
+
box-shadow: var(--DropDown-menu-boxShadow);
|
54
|
+
min-width: var(--DropDown-menu-minWidth);
|
55
|
+
overflow-y: auto;
|
56
|
+
overflow-x: hidden;
|
57
|
+
max-height: px2rem(300px);
|
58
|
+
}
|
51
59
|
}
|
52
60
|
|
53
61
|
&--alignRight &-menu {
|
@@ -95,6 +103,28 @@
|
|
95
103
|
background: var(--DropDown-menu-borderColor);
|
96
104
|
padding: 0;
|
97
105
|
}
|
106
|
+
|
107
|
+
&.#{$ns}DropDown-groupTitle {
|
108
|
+
height: inherit;
|
109
|
+
font-size: var(--fontSizeSm);
|
110
|
+
padding: var(--gap-xs) var(--gap-xs);
|
111
|
+
padding-left: var(--gap-sm);
|
112
|
+
color: var(--DropDown-group-color);
|
113
|
+
flex-grow: 1;
|
114
|
+
cursor: default;
|
115
|
+
|
116
|
+
&:hover {
|
117
|
+
background: none;
|
118
|
+
}
|
119
|
+
|
120
|
+
span {
|
121
|
+
white-space: nowrap;
|
122
|
+
}
|
123
|
+
|
124
|
+
& ~ .#{$ns}DropDown-button {
|
125
|
+
padding-left: var(--gap-lg);
|
126
|
+
}
|
127
|
+
}
|
98
128
|
}
|
99
129
|
|
100
130
|
&-menu > li a {
|
@@ -3,20 +3,30 @@
|
|
3
3
|
max-width: 100%;
|
4
4
|
box-sizing: content-box;
|
5
5
|
|
6
|
+
&-content {
|
7
|
+
border-radius: var(--borderRadius);
|
8
|
+
border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
|
9
|
+
}
|
10
|
+
|
6
11
|
&-header {
|
7
12
|
width: 100%;
|
8
|
-
height: px2rem(
|
9
|
-
line-height: px2rem(
|
10
|
-
padding
|
13
|
+
height: px2rem(30px);
|
14
|
+
line-height: px2rem(30px);
|
15
|
+
padding: 0 #{px2rem(10px)};
|
11
16
|
box-sizing: border-box;
|
12
|
-
background:
|
17
|
+
background: var(--Formula-header-bgColor);
|
18
|
+
border-radius: var(--borderRadius) var(--borderRadius) 0 0;
|
19
|
+
border-bottom: var(--Form-input-borderWidth) solid
|
20
|
+
var(--Form-input-borderColor);
|
21
|
+
font-weight: 500;
|
13
22
|
}
|
14
23
|
|
15
24
|
&-editor {
|
16
25
|
min-height: px2rem(238px);
|
17
26
|
max-height: px2rem(320px);
|
18
27
|
height: auto;
|
19
|
-
|
28
|
+
padding: #{px2rem(10px)};
|
29
|
+
padding-right: 0;
|
20
30
|
}
|
21
31
|
|
22
32
|
&.is-error &-editor {
|
@@ -98,7 +108,7 @@
|
|
98
108
|
cursor: pointer;
|
99
109
|
|
100
110
|
&.is-active {
|
101
|
-
|
111
|
+
background: var(--Formula-funcItem-bgColor-onActive);
|
102
112
|
}
|
103
113
|
}
|
104
114
|
&-groupTitle {
|
@@ -112,11 +122,25 @@
|
|
112
122
|
}
|
113
123
|
&-funcDetail {
|
114
124
|
padding: 10px 20px;
|
125
|
+
|
126
|
+
pre {
|
127
|
+
white-space: pre-wrap;
|
128
|
+
word-wrap: break-word;
|
129
|
+
background: var(--Formula-header-bgColor);
|
130
|
+
padding: #{px2rem(10px)};
|
131
|
+
border-radius: var(--borderRadius);
|
132
|
+
margin-top: 0;
|
133
|
+
}
|
134
|
+
|
135
|
+
div {
|
136
|
+
color: var(--text--loud-color);
|
137
|
+
}
|
115
138
|
}
|
116
139
|
}
|
117
140
|
|
118
141
|
.#{$ns}FormulaPicker {
|
119
142
|
&-icon {
|
120
143
|
margin-left: auto;
|
144
|
+
margin-right: #{px2rem(5px)};
|
121
145
|
}
|
122
146
|
}
|
@@ -231,3 +231,21 @@
|
|
231
231
|
}
|
232
232
|
}
|
233
233
|
}
|
234
|
+
|
235
|
+
/* 移动端样式调整 */
|
236
|
+
@include media-breakpoint-down(sm) {
|
237
|
+
.#{$ns}Modal {
|
238
|
+
.#{$ns}Modal-footer {
|
239
|
+
display: flex;
|
240
|
+
|
241
|
+
> .#{$ns}Button {
|
242
|
+
flex: 1;
|
243
|
+
height: px2rem(44px);
|
244
|
+
|
245
|
+
&:first-child {
|
246
|
+
margin-left: 0;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
@@ -182,3 +182,48 @@
|
|
182
182
|
}
|
183
183
|
}
|
184
184
|
}
|
185
|
+
|
186
|
+
/* 移动端样式调整 */
|
187
|
+
@include media-breakpoint-down(sm) {
|
188
|
+
.#{$ns}Panel--form {
|
189
|
+
border: none;
|
190
|
+
box-shadow: none;
|
191
|
+
|
192
|
+
margin: 0 calc(var(--Panel-bodyPadding) * -1)
|
193
|
+
calc(var(--Panel-marginBottom) / 2);
|
194
|
+
|
195
|
+
.#{$ns}Panel-body {
|
196
|
+
padding: 0 var(--gap-md) var(--gap-md);
|
197
|
+
}
|
198
|
+
|
199
|
+
> .#{$ns}Panel-heading {
|
200
|
+
background: none;
|
201
|
+
border: none;
|
202
|
+
border-radius: 0;
|
203
|
+
|
204
|
+
.#{$ns}Panel-title {
|
205
|
+
padding-left: var(--Panel-bodyPadding);
|
206
|
+
border-left: px2rem(3px) solid var(--primary);
|
207
|
+
font-size: var(--fontSizeLg);
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
.#{$ns}Panel-footerWrap {
|
212
|
+
padding-bottom: var(--Panel-bodyPadding);
|
213
|
+
}
|
214
|
+
|
215
|
+
.#{$ns}Panel-footer {
|
216
|
+
border-top: none;
|
217
|
+
display: flex;
|
218
|
+
padding: 0 var(--Panel-bodyPadding);
|
219
|
+
|
220
|
+
> .#{$ns}Button {
|
221
|
+
flex: 1;
|
222
|
+
|
223
|
+
&:first-child {
|
224
|
+
margin-left: 0;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
@@ -6,7 +6,11 @@
|
|
6
6
|
overflow: hidden;
|
7
7
|
font-size: var(--PickerColumns-option-fontSize);
|
8
8
|
|
9
|
-
|
9
|
+
li:focus {
|
10
|
+
outline: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
&-header {
|
10
14
|
display: flex;
|
11
15
|
align-items: center;
|
12
16
|
justify-content: space-between;
|
@@ -18,12 +22,12 @@
|
|
18
22
|
height: 100%;
|
19
23
|
padding: var(--PickerColumns-action-padding);
|
20
24
|
font-size: var(--PickerColumns-action-fontSize);
|
21
|
-
background-color: transparent;
|
25
|
+
background-color: transparent !important;
|
22
26
|
border: none;
|
23
27
|
cursor: pointer;
|
24
28
|
|
25
29
|
&:active {
|
26
|
-
|
30
|
+
background-color: none !important;
|
27
31
|
}
|
28
32
|
&:hover {
|
29
33
|
background-color: none !important;
|
@@ -31,11 +35,11 @@
|
|
31
35
|
}
|
32
36
|
|
33
37
|
&-confirm {
|
34
|
-
color: var(--PickerColumns-confirmAction-color);
|
38
|
+
color: var(--PickerColumns-confirmAction-color) !important;
|
35
39
|
}
|
36
40
|
|
37
41
|
&-cancel {
|
38
|
-
color: var(--PickerColumns-cancelAction-color);
|
42
|
+
color: var(--PickerColumns-cancelAction-color) !important;
|
39
43
|
}
|
40
44
|
|
41
45
|
&-title {
|
@@ -44,6 +48,7 @@
|
|
44
48
|
font-size: var(--PickerColumns-title-fontSize);
|
45
49
|
line-height: var(--PickerColumns-title-lineHeight);
|
46
50
|
text-align: center;
|
51
|
+
color: var(--PickerColumns-title-color);
|
47
52
|
}
|
48
53
|
|
49
54
|
&-columns {
|
@@ -127,4 +132,9 @@
|
|
127
132
|
cursor: not-allowed;
|
128
133
|
opacity: var(--PickerColumns-optionDisabled-opacity);
|
129
134
|
}
|
135
|
+
|
136
|
+
&-columnItemis-selected {
|
137
|
+
font-size: 18px;
|
138
|
+
color: --PickerColumns-title-color;
|
139
|
+
}
|
130
140
|
}
|
@@ -23,11 +23,12 @@
|
|
23
23
|
}
|
24
24
|
.#{$ns}PopUp {
|
25
25
|
width: 100%;
|
26
|
+
height: px2rem(400px);
|
26
27
|
position: fixed;
|
27
28
|
background: var(--PopOver-bg);
|
28
29
|
left: 0;
|
29
30
|
bottom: 0;
|
30
|
-
z-index: $zindex-
|
31
|
+
z-index: $zindex-top;
|
31
32
|
padding: 0;
|
32
33
|
margin: 0;
|
33
34
|
font-weight: var(--fontWeightNormal);
|
@@ -55,45 +56,68 @@
|
|
55
56
|
|
56
57
|
&.in {
|
57
58
|
animation-name: PopUpIn;
|
58
|
-
.#{$ns}PopUp-overlay{
|
59
|
+
.#{$ns}PopUp-overlay {
|
59
60
|
animation-name: PopUpOpacityIn;
|
60
61
|
}
|
61
62
|
}
|
62
63
|
|
63
64
|
&.out {
|
64
65
|
animation-name: PopUpOut;
|
65
|
-
.#{$ns}PopUp-overlay{
|
66
|
+
.#{$ns}PopUp-overlay {
|
66
67
|
animation-name: PopUpOpacityOut;
|
67
68
|
}
|
68
69
|
}
|
69
70
|
|
70
|
-
&-inner{
|
71
|
+
&-inner {
|
71
72
|
position: relative;
|
72
73
|
overflow: hidden;
|
73
74
|
height: 100%;
|
74
75
|
box-sizing: border-box;
|
75
76
|
background: $white;
|
76
|
-
|
77
|
+
display: flex;
|
78
|
+
flex-direction: column;
|
77
79
|
}
|
78
80
|
|
79
|
-
&-closeWrap{
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
81
|
+
&-closeWrap {
|
82
|
+
position: relative;
|
83
|
+
text-align: center;
|
84
|
+
height: px2rem(48px);
|
85
|
+
line-height: px2rem(48px);
|
84
86
|
}
|
85
87
|
|
86
|
-
&-close{
|
87
|
-
|
88
|
-
|
89
|
-
|
88
|
+
&-closeWrap &-close {
|
89
|
+
position: absolute;
|
90
|
+
z-index: 1;
|
91
|
+
color: var(--icon-color);
|
90
92
|
cursor: pointer;
|
93
|
+
top: px2rem(15px);
|
94
|
+
right: px2rem(15px);
|
95
|
+
}
|
96
|
+
|
97
|
+
&-toolbar {
|
98
|
+
display: flex;
|
99
|
+
align-items: center;
|
100
|
+
justify-content: space-between;
|
101
|
+
height: px2rem(60px);
|
102
|
+
}
|
103
|
+
&-title {
|
104
|
+
font-size: var(--fontSizeMd);
|
105
|
+
}
|
106
|
+
|
107
|
+
&-cancel {
|
108
|
+
color: var(--PopUp-cancelAction-color);
|
109
|
+
margin-left: var(--gap-sm);
|
91
110
|
}
|
92
111
|
|
93
|
-
&-
|
112
|
+
&-confirm {
|
113
|
+
margin-right: var(--gap-sm);
|
114
|
+
}
|
115
|
+
|
116
|
+
&-content {
|
94
117
|
overflow-y: auto;
|
95
118
|
height: 100%;
|
96
119
|
display: flex;
|
120
|
+
flex: 1;
|
97
121
|
}
|
98
122
|
|
99
123
|
& > * {
|
@@ -108,7 +132,7 @@
|
|
108
132
|
right: 0;
|
109
133
|
z-index: 1;
|
110
134
|
bottom: 0;
|
111
|
-
background: rgba(0, 0, 0, 0.3)
|
135
|
+
background: rgba(0, 0, 0, 0.3);
|
112
136
|
opacity: 1;
|
113
137
|
animation-duration: var(--animation-duration);
|
114
138
|
animation-fill-mode: both;
|
@@ -120,4 +144,7 @@
|
|
120
144
|
&--leftTopLeftBottom {
|
121
145
|
margin-top: px2rem(-4px);
|
122
146
|
}
|
147
|
+
&-safearea {
|
148
|
+
height: px2rem(16px);
|
149
|
+
}
|
123
150
|
}
|
@@ -126,4 +126,35 @@
|
|
126
126
|
padding-left: 8px;
|
127
127
|
min-height: 24px;
|
128
128
|
}
|
129
|
+
|
130
|
+
&.is-mobile {
|
131
|
+
min-height: calc(var(--Form-input-lineHeight) * var(--fontSizeLg));
|
132
|
+
border: none;
|
133
|
+
padding: 0;
|
134
|
+
font-size: var(--fontSizeLg);
|
135
|
+
border: none;
|
136
|
+
justify-content: flex-end;
|
137
|
+
|
138
|
+
.#{$ns}ResultBox-arrow {
|
139
|
+
margin-right: var(--gap-xs);
|
140
|
+
// margin-left: var(--gap-xs);
|
141
|
+
width: var(--gap-md);
|
142
|
+
text-align: center;
|
143
|
+
display: flex;
|
144
|
+
align-items: center;
|
145
|
+
justify-content: center;
|
146
|
+
line-height: 1;
|
147
|
+
margin-left: 4px;
|
148
|
+
|
149
|
+
> svg {
|
150
|
+
transition: transform var(--animation-duration);
|
151
|
+
display: inline-block;
|
152
|
+
color: var(--Form-select-caret-iconColor);
|
153
|
+
width: 10px;
|
154
|
+
height: 10px;
|
155
|
+
top: 0;
|
156
|
+
transform: rotate(-90deg);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
129
160
|
}
|