@tmagic/editor 1.8.4-beta.1 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/Editor.js +1 -2
- package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +5 -6
- package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/es/components/CodeBlockEditor.js +1 -2
- package/dist/es/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/es/components/CodeParams.js +1 -2
- package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/CompareForm.js +1 -2
- package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/ContentMenu.js +1 -2
- package/dist/es/components/ContentMenu.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/FloatingBox.js +1 -2
- package/dist/es/components/FloatingBox.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/Icon.js +1 -2
- package/dist/es/components/Icon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/Resizer.js +1 -2
- package/dist/es/components/Resizer.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/ScrollBar.js +1 -2
- package/dist/es/components/ScrollBar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/ScrollViewer.js +1 -2
- package/dist/es/components/ScrollViewer.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/SearchInput.js +1 -2
- package/dist/es/components/SearchInput.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/SplitView.js +1 -2
- package/dist/es/components/SplitView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/ToolButton.js +1 -2
- package/dist/es/components/ToolButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/Tree.js +1 -2
- package/dist/es/components/Tree.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/components/TreeNode.js +1 -2
- package/dist/es/components/TreeNode.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/components/ViewForm.js +1 -2
- package/dist/es/components/ViewForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/editorProps.js +1 -2
- package/dist/es/fields/Code.js +1 -2
- package/dist/es/fields/Code.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/CodeLink.js +1 -2
- package/dist/es/fields/CodeLink.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/CodeSelect.js +1 -2
- package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/CodeSelectCol.js +1 -2
- package/dist/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +14 -12
- package/dist/es/fields/CondOpSelect.js +1 -2
- package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/fields/DataSourceFieldSelect/FieldSelect.js +1 -2
- package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/fields/DataSourceFieldSelect/Index.js +1 -2
- package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/fields/DataSourceFields.js +1 -2
- package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/es/fields/DataSourceInput.js +1 -2
- package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/fields/DataSourceMethodSelect.js +1 -2
- package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +17 -10
- package/dist/es/fields/DataSourceMethods.js +1 -2
- package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/DataSourceMocks.js +1 -2
- package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/es/fields/DataSourceSelect.js +1 -2
- package/dist/es/fields/DataSourceSelect.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/fields/DisplayConds.js +1 -2
- package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/EventSelect.js +1 -2
- package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/KeyValue.js +1 -2
- package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/fields/PageFragmentSelect.js +1 -2
- package/dist/es/fields/PageFragmentSelect.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/fields/StyleSetter/Index.js +1 -2
- package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/fields/StyleSetter/components/BackgroundPosition.js +1 -2
- package/dist/es/fields/StyleSetter/components/BackgroundPosition.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/StyleSetter/components/Border.js +1 -2
- package/dist/es/fields/StyleSetter/components/Border.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/StyleSetter/components/Box.js +1 -2
- package/dist/es/fields/StyleSetter/components/Box.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/StyleSetter/configs.js +113 -15
- package/dist/es/fields/StyleSetter/icons/align-items/Baseline.js +45 -0
- package/dist/es/fields/StyleSetter/icons/align-items/Center.js +1 -2
- package/dist/es/fields/StyleSetter/icons/align-items/End.js +42 -0
- package/dist/es/fields/StyleSetter/icons/align-items/FlexEnd.js +1 -2
- package/dist/es/fields/StyleSetter/icons/align-items/FlexStart.js +1 -2
- package/dist/es/fields/StyleSetter/icons/align-items/Normal.js +33 -0
- package/dist/es/fields/StyleSetter/icons/align-items/SpaceAround.js +1 -2
- package/dist/es/fields/StyleSetter/icons/align-items/SpaceBetween.js +1 -2
- package/dist/es/fields/StyleSetter/icons/align-items/Start.js +42 -0
- package/dist/es/fields/StyleSetter/icons/align-items/Stretch.js +37 -0
- package/dist/es/fields/StyleSetter/icons/background-repeat/NoRepeat.js +1 -2
- package/dist/es/fields/StyleSetter/icons/background-repeat/Repeat.js +1 -2
- package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatX.js +1 -2
- package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatY.js +1 -2
- package/dist/es/fields/StyleSetter/icons/background-repeat/Round.js +45 -0
- package/dist/es/fields/StyleSetter/icons/background-repeat/Space.js +16 -0
- package/dist/es/fields/StyleSetter/icons/display/Block.js +1 -2
- package/dist/es/fields/StyleSetter/icons/display/Flex.js +1 -2
- package/dist/es/fields/StyleSetter/icons/display/Grid.js +13 -0
- package/dist/es/fields/StyleSetter/icons/display/Inline.js +1 -2
- package/dist/es/fields/StyleSetter/icons/display/InlineBlock.js +1 -2
- package/dist/es/fields/StyleSetter/icons/display/InlineFlex.js +13 -0
- package/dist/es/fields/StyleSetter/icons/display/InlineGrid.js +13 -0
- package/dist/es/fields/StyleSetter/icons/display/None.js +1 -2
- package/dist/es/fields/StyleSetter/icons/flex-direction/Column.js +1 -2
- package/dist/es/fields/StyleSetter/icons/flex-direction/ColumnReverse.js +1 -2
- package/dist/es/fields/StyleSetter/icons/flex-direction/Row.js +1 -2
- package/dist/es/fields/StyleSetter/icons/flex-direction/RowReverse.js +1 -2
- package/dist/es/fields/StyleSetter/icons/justify-content/Center.js +1 -2
- package/dist/es/fields/StyleSetter/icons/justify-content/FlexEnd.js +1 -2
- package/dist/es/fields/StyleSetter/icons/justify-content/FlexStart.js +1 -2
- package/dist/es/fields/StyleSetter/icons/justify-content/SpaceAround.js +1 -2
- package/dist/es/fields/StyleSetter/icons/justify-content/SpaceBetween.js +1 -2
- package/dist/es/fields/StyleSetter/icons/justify-content/SpaceEvenly.js +16 -0
- package/dist/es/fields/StyleSetter/icons/text-align/Center.js +1 -2
- package/dist/es/fields/StyleSetter/icons/text-align/End.js +13 -0
- package/dist/es/fields/StyleSetter/icons/text-align/Justify.js +13 -0
- package/dist/es/fields/StyleSetter/icons/text-align/Left.js +1 -2
- package/dist/es/fields/StyleSetter/icons/text-align/MatchParent.js +13 -0
- package/dist/es/fields/StyleSetter/icons/text-align/Right.js +1 -2
- package/dist/es/fields/StyleSetter/icons/text-align/Start.js +13 -0
- package/dist/es/fields/StyleSetter/pro/Background.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Border.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/fields/StyleSetter/pro/Font.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Layout.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/fields/StyleSetter/pro/Position.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Transform.js +1 -2
- package/dist/es/fields/StyleSetter/pro/Transform.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/fields/UISelect.js +1 -2
- package/dist/es/fields/UISelect.vue_vue_type_script_setup_true_lang.js +7 -5
- package/dist/es/fields/configs/codeSelect.js +1 -2
- package/dist/es/fields/configs/displayConds.js +1 -2
- package/dist/es/fields/configs/eventSelect.js +2 -3
- package/dist/es/fields/configs/stickyAddButton.js +1 -2
- package/dist/es/fields/headless-validation.js +2 -3
- package/dist/es/hooks/use-code-block-edit.js +1 -2
- package/dist/es/hooks/use-compare-form.js +1 -2
- package/dist/es/hooks/use-data-source-edit.js +1 -2
- package/dist/es/hooks/use-editor-content-height.js +1 -2
- package/dist/es/hooks/use-filter.js +1 -2
- package/dist/es/hooks/use-float-box.js +1 -2
- package/dist/es/hooks/use-form-context.js +1 -2
- package/dist/es/hooks/use-getso.js +1 -2
- package/dist/es/hooks/use-next-float-box-position.js +1 -2
- package/dist/es/hooks/use-node-status.js +1 -2
- package/dist/es/hooks/use-services.js +1 -2
- package/dist/es/hooks/use-stage.js +3 -4
- package/dist/es/hooks/use-window-rect.js +1 -2
- package/dist/es/icons/CenterIcon.js +1 -2
- package/dist/es/icons/CenterIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/icons/CodeIcon.js +1 -2
- package/dist/es/icons/CodeIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/icons/DatasourceIcon.js +1 -2
- package/dist/es/icons/FolderMinusIcon.js +1 -2
- package/dist/es/icons/FolderMinusIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/index.js +27 -27
- package/dist/es/initService.js +2 -3
- package/dist/es/layouts/AddPageBox.js +1 -2
- package/dist/es/layouts/AddPageBox.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/CodeEditor.js +1 -2
- package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/Framework.js +1 -2
- package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/es/layouts/NavMenu.js +1 -2
- package/dist/es/layouts/NavMenu.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/NavMenuColumn.js +1 -2
- package/dist/es/layouts/NavMenuColumn.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/history-list/Bucket.js +1 -2
- package/dist/es/layouts/history-list/Bucket.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/history-list/BucketTab.js +1 -2
- package/dist/es/layouts/history-list/BucketTab.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/history-list/GroupRow.js +1 -2
- package/dist/es/layouts/history-list/GroupRow.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/history-list/HistoryDiffDialog.js +1 -2
- package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/history-list/HistoryListPanel.js +1 -2
- package/dist/es/layouts/history-list/HistoryListPanel.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/history-list/InitialRow.js +1 -2
- package/dist/es/layouts/history-list/InitialRow.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/history-list/PageTab.js +1 -2
- package/dist/es/layouts/history-list/PageTab.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/history-list/composables.js +1 -2
- package/dist/es/layouts/history-list/useHistoryList.js +1 -2
- package/dist/es/layouts/history-list/useHistoryRevert.js +1 -2
- package/dist/es/layouts/page-bar/AddButton.js +1 -2
- package/dist/es/layouts/page-bar/AddButton.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/page-bar/PageBar.js +1 -2
- package/dist/es/layouts/page-bar/PageBar.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/page-bar/PageBarScrollContainer.js +1 -2
- package/dist/es/layouts/page-bar/PageBarScrollContainer.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/page-bar/PageList.js +1 -2
- package/dist/es/layouts/page-bar/PageList.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/page-bar/Search.js +1 -2
- package/dist/es/layouts/page-bar/Search.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/props-panel/FormPanel.js +1 -2
- package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +7 -5
- package/dist/es/layouts/props-panel/PropsPanel.js +1 -2
- package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +14 -7
- package/dist/es/layouts/props-panel/use-style-panel.js +1 -2
- package/dist/es/layouts/sidebar/ComponentListPanel.js +1 -2
- package/dist/es/layouts/sidebar/ComponentListPanel.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/sidebar/Sidebar.js +1 -2
- package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/es/layouts/sidebar/code-block/CodeBlockList.js +1 -2
- package/dist/es/layouts/sidebar/code-block/CodeBlockList.vue_vue_type_script_setup_true_lang.js +49 -33
- package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.js +1 -2
- package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/sidebar/code-block/useContentMenu.js +1 -2
- package/dist/es/layouts/sidebar/data-source/DataSourceAddButton.js +1 -2
- package/dist/es/layouts/sidebar/data-source/DataSourceAddButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.js +1 -2
- package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/sidebar/data-source/DataSourceList.js +1 -2
- package/dist/es/layouts/sidebar/data-source/DataSourceList.vue_vue_type_script_setup_true_lang.js +30 -20
- package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.js +1 -2
- package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +5 -10
- package/dist/es/layouts/sidebar/data-source/useContentMenu.js +1 -2
- package/dist/es/layouts/sidebar/layer/LayerMenu.js +1 -2
- package/dist/es/layouts/sidebar/layer/LayerMenu.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/sidebar/layer/LayerNodeContent.js +1 -2
- package/dist/es/layouts/sidebar/layer/LayerNodeContent.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/sidebar/layer/LayerNodeTool.js +1 -2
- package/dist/es/layouts/sidebar/layer/LayerNodeTool.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/sidebar/layer/LayerPanel.js +1 -2
- package/dist/es/layouts/sidebar/layer/LayerPanel.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/sidebar/layer/use-click.js +1 -2
- package/dist/es/layouts/sidebar/layer/use-drag.js +1 -2
- package/dist/es/layouts/sidebar/layer/use-keybinding.js +1 -2
- package/dist/es/layouts/sidebar/layer/use-node-status.js +1 -2
- package/dist/es/layouts/workspace/Breadcrumb.js +1 -2
- package/dist/es/layouts/workspace/Breadcrumb.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/workspace/Workspace.js +1 -2
- package/dist/es/layouts/workspace/Workspace.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/es/layouts/workspace/viewer/NodeListMenu.js +1 -2
- package/dist/es/layouts/workspace/viewer/NodeListMenu.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/es/layouts/workspace/viewer/Stage.js +1 -2
- package/dist/es/layouts/workspace/viewer/Stage.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/es/layouts/workspace/viewer/StageOverlay.js +1 -2
- package/dist/es/layouts/workspace/viewer/StageOverlay.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/es/layouts/workspace/viewer/ViewerMenu.js +1 -2
- package/dist/es/layouts/workspace/viewer/ViewerMenu.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/es/plugin.js +13 -14
- package/dist/es/sdk/index.js +2 -3
- package/dist/es/sdk/services/BaseService.js +1 -2
- package/dist/es/sdk/services/CodeBlock.js +1 -2
- package/dist/es/sdk/services/ComponentList.js +1 -2
- package/dist/es/sdk/services/DataSource.js +2 -3
- package/dist/es/sdk/services/Dep.js +2 -3
- package/dist/es/sdk/services/Editor.js +32 -13
- package/dist/es/sdk/services/Events.js +1 -2
- package/dist/es/sdk/services/History.js +2 -3
- package/dist/es/sdk/services/Props.js +2 -3
- package/dist/es/sdk/services/WebStorage.js +1 -2
- package/dist/es/sdk/utils/dep.js +1 -2
- package/dist/es/sdk/utils/operator.js +1 -2
- package/dist/es/sdk/utils/position.js +1 -2
- package/dist/es/sdk/utils/props.js +4 -5
- package/dist/es/sdk/validate/index.js +1 -2
- package/dist/es/sdk/wiring.js +1 -2
- package/dist/es/services/keybinding.js +2 -3
- package/dist/es/services/sdk-instance.js +3 -4
- package/dist/es/services/stageOverlay.js +2 -3
- package/dist/es/services/ui.js +1 -2
- package/dist/es/style.css +36 -0
- package/dist/es/type.js +1 -2
- package/dist/es/utils/code-block.js +1 -2
- package/dist/es/utils/config.js +1 -2
- package/dist/es/utils/const.js +1 -2
- package/dist/es/utils/content-menu.js +1 -2
- package/dist/es/utils/data-source/formConfigs/base.js +1 -2
- package/dist/es/utils/data-source/formConfigs/http.js +1 -2
- package/dist/es/utils/data-source/index.js +1 -2
- package/dist/es/utils/dep/collect-worker-client.js +1 -2
- package/dist/es/utils/dep/idle-task.js +1 -2
- package/dist/es/utils/dep/worker.js +2 -3
- package/dist/es/utils/editor.js +1 -2
- package/dist/es/utils/event.js +2 -3
- package/dist/es/utils/history.js +1 -2
- package/dist/es/utils/indexed-db.js +1 -2
- package/dist/es/utils/keybinding-config.js +1 -2
- package/dist/es/utils/logger.js +1 -2
- package/dist/es/utils/monaco-editor.js +1 -2
- package/dist/es/utils/operator.js +2 -3
- package/dist/es/utils/props.js +1 -2
- package/dist/es/utils/scroll-viewer.js +1 -2
- package/dist/es/utils/tree.js +1 -2
- package/dist/es/utils/type-match-rules.js +2 -3
- package/dist/es/utils/undo-redo.js +1 -2
- package/dist/style.css +36 -0
- package/dist/themes/magic-admin.css +36 -0
- package/dist/tmagic-editor-headless.umd.cjs +817 -650
- package/dist/tmagic-editor-sdk.umd.cjs +239 -426
- package/dist/tmagic-editor.umd.cjs +1313 -1312
- package/package.json +9 -9
- package/src/fields/CodeSelectCol.vue +12 -14
- package/src/fields/DataSourceMethodSelect.vue +17 -6
- package/src/fields/StyleSetter/configs.ts +63 -14
- package/src/fields/StyleSetter/icons/align-items/Baseline.vue +8 -0
- package/src/fields/StyleSetter/icons/align-items/End.vue +8 -0
- package/src/fields/StyleSetter/icons/align-items/Normal.vue +6 -0
- package/src/fields/StyleSetter/icons/align-items/Start.vue +8 -0
- package/src/fields/StyleSetter/icons/align-items/Stretch.vue +7 -0
- package/src/fields/StyleSetter/icons/align-items/index.ts +5 -0
- package/src/fields/StyleSetter/icons/background-repeat/Round.vue +8 -0
- package/src/fields/StyleSetter/icons/background-repeat/Space.vue +9 -0
- package/src/fields/StyleSetter/icons/background-repeat/index.ts +2 -0
- package/src/fields/StyleSetter/icons/display/Grid.vue +7 -0
- package/src/fields/StyleSetter/icons/display/InlineFlex.vue +7 -0
- package/src/fields/StyleSetter/icons/display/InlineGrid.vue +7 -0
- package/src/fields/StyleSetter/icons/display/index.ts +3 -0
- package/src/fields/StyleSetter/icons/justify-content/SpaceEvenly.vue +11 -0
- package/src/fields/StyleSetter/icons/justify-content/index.ts +1 -0
- package/src/fields/StyleSetter/icons/text-align/End.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/Justify.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/MatchParent.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/Start.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/index.ts +4 -0
- package/src/fields/UISelect.vue +3 -1
- package/src/fields/configs/eventSelect.ts +1 -1
- package/src/layouts/props-panel/FormPanel.vue +3 -0
- package/src/layouts/props-panel/PropsPanel.vue +7 -0
- package/src/layouts/sidebar/code-block/CodeBlockList.vue +51 -26
- package/src/layouts/sidebar/data-source/DataSourceList.vue +24 -8
- package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +3 -8
- package/src/sdk/services/Editor.ts +40 -16
- package/src/sdk/utils/props.ts +3 -3
- package/src/theme/tree.scss +12 -0
- package/src/theme/ui-select.scss +31 -0
- package/src/type.ts +13 -0
- package/types/index.d.ts +55 -4
- package/types/sdk.d.ts +13 -3
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
import BackgroundPosition_default from "./components/BackgroundPosition.js";
|
|
2
|
+
import Baseline_default from "./icons/align-items/Baseline.js";
|
|
2
3
|
import Center_default from "./icons/align-items/Center.js";
|
|
4
|
+
import End_default from "./icons/align-items/End.js";
|
|
3
5
|
import FlexEnd_default from "./icons/align-items/FlexEnd.js";
|
|
4
6
|
import FlexStart_default from "./icons/align-items/FlexStart.js";
|
|
7
|
+
import Normal_default from "./icons/align-items/Normal.js";
|
|
5
8
|
import SpaceAround_default from "./icons/align-items/SpaceAround.js";
|
|
6
9
|
import SpaceBetween_default from "./icons/align-items/SpaceBetween.js";
|
|
10
|
+
import Start_default from "./icons/align-items/Start.js";
|
|
11
|
+
import Stretch_default from "./icons/align-items/Stretch.js";
|
|
12
|
+
import NoRepeat_default from "./icons/background-repeat/NoRepeat.js";
|
|
7
13
|
import Repeat_default from "./icons/background-repeat/Repeat.js";
|
|
14
|
+
import Round_default from "./icons/background-repeat/Round.js";
|
|
15
|
+
import Space_default from "./icons/background-repeat/Space.js";
|
|
8
16
|
import RepeatX_default from "./icons/background-repeat/RepeatX.js";
|
|
9
17
|
import RepeatY_default from "./icons/background-repeat/RepeatY.js";
|
|
10
|
-
import NoRepeat_default from "./icons/background-repeat/NoRepeat.js";
|
|
11
18
|
import Block_default from "./icons/display/Block.js";
|
|
12
19
|
import Flex_default from "./icons/display/Flex.js";
|
|
20
|
+
import Grid_default from "./icons/display/Grid.js";
|
|
13
21
|
import Inline_default from "./icons/display/Inline.js";
|
|
14
22
|
import InlineBlock_default from "./icons/display/InlineBlock.js";
|
|
23
|
+
import InlineFlex_default from "./icons/display/InlineFlex.js";
|
|
24
|
+
import InlineGrid_default from "./icons/display/InlineGrid.js";
|
|
15
25
|
import None_default from "./icons/display/None.js";
|
|
16
26
|
import Column_default from "./icons/flex-direction/Column.js";
|
|
17
27
|
import ColumnReverse_default from "./icons/flex-direction/ColumnReverse.js";
|
|
@@ -22,13 +32,18 @@ import FlexEnd_default$1 from "./icons/justify-content/FlexEnd.js";
|
|
|
22
32
|
import FlexStart_default$1 from "./icons/justify-content/FlexStart.js";
|
|
23
33
|
import SpaceAround_default$1 from "./icons/justify-content/SpaceAround.js";
|
|
24
34
|
import SpaceBetween_default$1 from "./icons/justify-content/SpaceBetween.js";
|
|
25
|
-
import
|
|
35
|
+
import SpaceEvenly_default from "./icons/justify-content/SpaceEvenly.js";
|
|
26
36
|
import Center_default$2 from "./icons/text-align/Center.js";
|
|
37
|
+
import End_default$1 from "./icons/text-align/End.js";
|
|
38
|
+
import Justify_default from "./icons/text-align/Justify.js";
|
|
39
|
+
import Left_default from "./icons/text-align/Left.js";
|
|
40
|
+
import MatchParent_default from "./icons/text-align/MatchParent.js";
|
|
27
41
|
import Right_default from "./icons/text-align/Right.js";
|
|
42
|
+
import Start_default$1 from "./icons/text-align/Start.js";
|
|
28
43
|
import { markRaw } from "vue";
|
|
29
44
|
import { defineFormItem } from "@tmagic/form/headless";
|
|
30
45
|
import { appendValidateSuggestion } from "@tmagic/design/headless";
|
|
31
|
-
|
|
46
|
+
// packages/editor/src/fields/StyleSetter/configs.ts
|
|
32
47
|
/**
|
|
33
48
|
* 「布局」面板配置。
|
|
34
49
|
*
|
|
@@ -68,6 +83,21 @@ var createLayoutConfig = (theme) => [
|
|
|
68
83
|
value: "none",
|
|
69
84
|
icon: markRaw(None_default),
|
|
70
85
|
tooltip: "隐藏 none"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
value: "inline-flex",
|
|
89
|
+
icon: markRaw(InlineFlex_default),
|
|
90
|
+
tooltip: "内联弹性布局 inline-flex"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
value: "grid",
|
|
94
|
+
icon: markRaw(Grid_default),
|
|
95
|
+
tooltip: "网格布局 grid"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
value: "inline-grid",
|
|
99
|
+
icon: markRaw(InlineGrid_default),
|
|
100
|
+
tooltip: "内联网格布局 inline-grid"
|
|
71
101
|
}
|
|
72
102
|
]
|
|
73
103
|
}),
|
|
@@ -134,6 +164,11 @@ var createLayoutConfig = (theme) => [
|
|
|
134
164
|
value: "space-around",
|
|
135
165
|
icon: markRaw(SpaceAround_default$1),
|
|
136
166
|
tooltip: "横向平分 space-around"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
value: "space-evenly",
|
|
170
|
+
icon: markRaw(SpaceEvenly_default),
|
|
171
|
+
tooltip: "等间距分布 space-evenly"
|
|
137
172
|
}
|
|
138
173
|
],
|
|
139
174
|
display: (_mForm, { model }) => model.display === "flex"
|
|
@@ -170,6 +205,31 @@ var createLayoutConfig = (theme) => [
|
|
|
170
205
|
value: "space-around",
|
|
171
206
|
icon: markRaw(SpaceAround_default),
|
|
172
207
|
tooltip: "横向平分 space-around"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
value: "stretch",
|
|
211
|
+
icon: markRaw(Stretch_default),
|
|
212
|
+
tooltip: "拉伸填满 stretch"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
value: "baseline",
|
|
216
|
+
icon: markRaw(Baseline_default),
|
|
217
|
+
tooltip: "基线对齐 baseline"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
value: "normal",
|
|
221
|
+
icon: markRaw(Normal_default),
|
|
222
|
+
tooltip: "默认 normal"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
value: "start",
|
|
226
|
+
icon: markRaw(Start_default),
|
|
227
|
+
tooltip: "起始对齐 start"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
value: "end",
|
|
231
|
+
icon: markRaw(End_default),
|
|
232
|
+
tooltip: "结束对齐 end"
|
|
173
233
|
}
|
|
174
234
|
],
|
|
175
235
|
display: (_mForm, { model }) => model.display === "flex"
|
|
@@ -270,9 +330,9 @@ var createLayoutConfig = (theme) => [
|
|
|
270
330
|
type: "row",
|
|
271
331
|
items: [{
|
|
272
332
|
type: "data-source-field-select",
|
|
273
|
-
text: "
|
|
333
|
+
text: "透明度(0-1)",
|
|
274
334
|
name: "opacity",
|
|
275
|
-
labelWidth: "
|
|
335
|
+
labelWidth: "100px",
|
|
276
336
|
dataSourceFieldType: ["string", "number"],
|
|
277
337
|
fieldConfig: { type: "text" }
|
|
278
338
|
}]
|
|
@@ -460,6 +520,16 @@ var createBackgroundConfig = () => [
|
|
|
460
520
|
value: "repeat",
|
|
461
521
|
icon: markRaw(Repeat_default),
|
|
462
522
|
tooltip: "垂直和水平方向重复 repeat"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
value: "space",
|
|
526
|
+
icon: markRaw(Space_default),
|
|
527
|
+
tooltip: "不裁剪、均匀留白 space"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
value: "round",
|
|
531
|
+
icon: markRaw(Round_default),
|
|
532
|
+
tooltip: "缩放铺满 round"
|
|
463
533
|
}
|
|
464
534
|
]
|
|
465
535
|
}),
|
|
@@ -508,7 +578,12 @@ var createFontConfig = (validateDataSourceField) => [
|
|
|
508
578
|
fieldConfig: {
|
|
509
579
|
type: "select",
|
|
510
580
|
allowCreate: true,
|
|
511
|
-
options: [
|
|
581
|
+
options: [
|
|
582
|
+
"normal",
|
|
583
|
+
"bold",
|
|
584
|
+
"bolder",
|
|
585
|
+
"lighter"
|
|
586
|
+
].concat(Array(9).fill(1).map((x, i) => `${i + 1}00`)).map((item) => ({
|
|
512
587
|
value: item,
|
|
513
588
|
text: item
|
|
514
589
|
}))
|
|
@@ -555,20 +630,37 @@ var createFontConfig = (validateDataSourceField) => [
|
|
|
555
630
|
{
|
|
556
631
|
value: "left",
|
|
557
632
|
icon: markRaw(Left_default),
|
|
558
|
-
tooltip: "左对齐
|
|
559
|
-
text: "左对齐"
|
|
633
|
+
tooltip: "左对齐 left"
|
|
560
634
|
},
|
|
561
635
|
{
|
|
562
636
|
value: "center",
|
|
563
637
|
icon: markRaw(Center_default$2),
|
|
564
|
-
tooltip: "居中对齐 center"
|
|
565
|
-
text: "居中对齐"
|
|
638
|
+
tooltip: "居中对齐 center"
|
|
566
639
|
},
|
|
567
640
|
{
|
|
568
641
|
value: "right",
|
|
569
642
|
icon: markRaw(Right_default),
|
|
570
|
-
tooltip: "右对齐 right"
|
|
571
|
-
|
|
643
|
+
tooltip: "右对齐 right"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
value: "start",
|
|
647
|
+
icon: markRaw(Start_default$1),
|
|
648
|
+
tooltip: "起始对齐 start"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
value: "end",
|
|
652
|
+
icon: markRaw(End_default$1),
|
|
653
|
+
tooltip: "结束对齐 end"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
value: "justify",
|
|
657
|
+
icon: markRaw(Justify_default),
|
|
658
|
+
tooltip: "两端对齐 justify"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
value: "match-parent",
|
|
662
|
+
icon: markRaw(MatchParent_default),
|
|
663
|
+
tooltip: "按父级方向对齐 match-parent"
|
|
572
664
|
}
|
|
573
665
|
]
|
|
574
666
|
})
|
|
@@ -649,9 +741,16 @@ var createBorderDirectionConfig = (direction) => defineFormItem({ items: [
|
|
|
649
741
|
fieldConfig: {
|
|
650
742
|
type: "select",
|
|
651
743
|
options: [
|
|
652
|
-
"
|
|
744
|
+
"none",
|
|
745
|
+
"hidden",
|
|
746
|
+
"dotted",
|
|
653
747
|
"dashed",
|
|
654
|
-
"
|
|
748
|
+
"solid",
|
|
749
|
+
"double",
|
|
750
|
+
"groove",
|
|
751
|
+
"ridge",
|
|
752
|
+
"inset",
|
|
753
|
+
"outset"
|
|
655
754
|
].map((item) => ({
|
|
656
755
|
value: item,
|
|
657
756
|
text: item
|
|
@@ -659,5 +758,4 @@ var createBorderDirectionConfig = (direction) => defineFormItem({ items: [
|
|
|
659
758
|
}
|
|
660
759
|
}
|
|
661
760
|
] });
|
|
662
|
-
//#endregion
|
|
663
761
|
export { borderRadiusConfig, createBackgroundConfig, createBorderDirectionConfig, createFontConfig, createLayoutConfig, createPositionConfig, createStyleSetterConfig, transformConfig };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Baseline.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "3",
|
|
17
|
+
width: "2.5",
|
|
18
|
+
height: "8",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("rect", {
|
|
22
|
+
x: "6.75",
|
|
23
|
+
y: "6",
|
|
24
|
+
width: "2.5",
|
|
25
|
+
height: "5",
|
|
26
|
+
rx: "0.5"
|
|
27
|
+
}, null, -1),
|
|
28
|
+
createElementVNode("rect", {
|
|
29
|
+
x: "11.5",
|
|
30
|
+
y: "1",
|
|
31
|
+
width: "2.5",
|
|
32
|
+
height: "10",
|
|
33
|
+
rx: "0.5"
|
|
34
|
+
}, null, -1),
|
|
35
|
+
createElementVNode("rect", {
|
|
36
|
+
x: "0.75",
|
|
37
|
+
y: "11.25",
|
|
38
|
+
width: "14.5",
|
|
39
|
+
height: "0.75",
|
|
40
|
+
rx: "0.375"
|
|
41
|
+
}, null, -1)
|
|
42
|
+
])]);
|
|
43
|
+
}
|
|
44
|
+
var Baseline_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
45
|
+
export { Baseline_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Center.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -27,5 +27,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
27
27
|
}, null, -1)])]);
|
|
28
28
|
}
|
|
29
29
|
var Center_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
30
|
-
//#endregion
|
|
31
30
|
export { Center_default as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/End.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "2",
|
|
17
|
+
width: "9",
|
|
18
|
+
height: "1",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("path", { d: "M11 0.75L14 2.5 11 4.25Z" }, null, -1),
|
|
22
|
+
createElementVNode("rect", {
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "10",
|
|
25
|
+
width: "10",
|
|
26
|
+
height: "4",
|
|
27
|
+
rx: "0.5",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor"
|
|
30
|
+
}, null, -1),
|
|
31
|
+
createElementVNode("rect", {
|
|
32
|
+
x: "1",
|
|
33
|
+
y: "14.5",
|
|
34
|
+
width: "14",
|
|
35
|
+
height: "0.5",
|
|
36
|
+
rx: "0.25",
|
|
37
|
+
"fill-opacity": "0.3"
|
|
38
|
+
}, null, -1)
|
|
39
|
+
])]);
|
|
40
|
+
}
|
|
41
|
+
var End_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
42
|
+
export { End_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/FlexEnd.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -27,5 +27,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
27
27
|
}, null, -1)])]);
|
|
28
28
|
}
|
|
29
29
|
var FlexEnd_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
30
|
-
//#endregion
|
|
31
30
|
export { FlexEnd_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/FlexStart.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -27,5 +27,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
27
27
|
}, null, -1)])]);
|
|
28
28
|
}
|
|
29
29
|
var FlexStart_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
30
|
-
//#endregion
|
|
31
30
|
export { FlexStart_default as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Normal.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("rect", {
|
|
14
|
+
x: "1",
|
|
15
|
+
y: "1",
|
|
16
|
+
width: "14",
|
|
17
|
+
height: "14",
|
|
18
|
+
rx: "1",
|
|
19
|
+
fill: "none",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
"stroke-opacity": "0.3"
|
|
22
|
+
}, null, -1), createElementVNode("rect", {
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "5.5",
|
|
25
|
+
width: "10",
|
|
26
|
+
height: "5",
|
|
27
|
+
rx: "0.5",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor"
|
|
30
|
+
}, null, -1)])]);
|
|
31
|
+
}
|
|
32
|
+
var Normal_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
33
|
+
export { Normal_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/SpaceAround.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -46,5 +46,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
46
46
|
])]);
|
|
47
47
|
}
|
|
48
48
|
var SpaceAround_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
49
|
-
//#endregion
|
|
50
49
|
export { SpaceAround_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/SpaceBetween.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -46,5 +46,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
46
46
|
])]);
|
|
47
47
|
}
|
|
48
48
|
var SpaceBetween_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
49
|
-
//#endregion
|
|
50
49
|
export { SpaceBetween_default as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Start.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "2",
|
|
17
|
+
width: "9",
|
|
18
|
+
height: "1",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("path", { d: "M11 0.75L14 2.5 11 4.25Z" }, null, -1),
|
|
22
|
+
createElementVNode("rect", {
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "6",
|
|
25
|
+
width: "10",
|
|
26
|
+
height: "4",
|
|
27
|
+
rx: "0.5",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor"
|
|
30
|
+
}, null, -1),
|
|
31
|
+
createElementVNode("rect", {
|
|
32
|
+
x: "1",
|
|
33
|
+
y: "5",
|
|
34
|
+
width: "14",
|
|
35
|
+
height: "0.5",
|
|
36
|
+
rx: "0.25",
|
|
37
|
+
"fill-opacity": "0.3"
|
|
38
|
+
}, null, -1)
|
|
39
|
+
])]);
|
|
40
|
+
}
|
|
41
|
+
var Start_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
42
|
+
export { Start_default as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Stretch.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "1",
|
|
16
|
+
y: "1",
|
|
17
|
+
width: "14",
|
|
18
|
+
height: "14",
|
|
19
|
+
rx: "1",
|
|
20
|
+
fill: "none",
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
"stroke-opacity": "0.3"
|
|
23
|
+
}, null, -1),
|
|
24
|
+
createElementVNode("rect", {
|
|
25
|
+
x: "3",
|
|
26
|
+
y: "2",
|
|
27
|
+
width: "10",
|
|
28
|
+
height: "12",
|
|
29
|
+
rx: "0.5",
|
|
30
|
+
fill: "none",
|
|
31
|
+
stroke: "currentColor"
|
|
32
|
+
}, null, -1),
|
|
33
|
+
createElementVNode("path", { d: "M8 4.5L9.75 6.5H8.75V9.5H9.75L8 11.5 6.25 9.5H7.25V6.5H6.25Z" }, null, -1)
|
|
34
|
+
])]);
|
|
35
|
+
}
|
|
36
|
+
var Stretch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
37
|
+
export { Stretch_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createStaticVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/NoRepeat.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13,5 +13,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
13
13
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createStaticVNode("<path d=\"M0 0.625C0 0.279822 0.248731 0 0.555556 0H9.44444C9.75127 0 10 0.279822 10 0.625C10 0.970178 9.75127 1.25 9.44444 1.25H0.555556C0.248731 1.25 0 0.970178 0 0.625Z\" fill-opacity=\"0.3\"></path><path d=\"M0 9.375C0 9.02982 0.248731 8.75 0.555556 8.75H9.44444C9.75127 8.75 10 9.02982 10 9.375C10 9.72018 9.75127 10 9.44444 10H0.555556C0.248731 10 0 9.72018 0 9.375Z\" fill-opacity=\"0.3\"></path><path d=\"M0.555556 4.375C0.248731 4.375 0 4.65482 0 5C0 5.34518 0.248731 5.625 0.555556 5.625H2.87307L3.42868 4.99994L2.87318 4.375H0.555556Z\" fill-opacity=\"0.3\"></path><path d=\"M9.44444 5.625H7.12699L6.57138 4.99994L7.12688 4.375H9.44444C9.75127 4.375 10 4.65482 10 5C10 5.34518 9.75127 5.625 9.44444 5.625Z\" fill-opacity=\"0.3\"></path><path transform=\"translate(0 2.6072)\" d=\"M3.30542 0.183058C3.52237 -0.0610194 3.87413 -0.0610194 4.09109 0.183058C4.30805 0.427136 4.30805 0.822864 4.09109 1.06694L2.91256 2.39279L4.0911 3.71865C4.30806 3.96273 4.30806 4.35846 4.0911 4.60253C3.87414 4.84661 3.52239 4.84661 3.30543 4.60253L2.12688 3.27667L0.948393 4.60248C0.731435 4.84655 0.379676 4.84655 0.162719 4.60248C-0.0542395 4.3584 -0.0542395 3.96267 0.162719 3.71859L1.34121 2.39279L0.162731 1.067C-0.0542269 0.822922 -0.0542268 0.427194 0.162731 0.183116C0.379689 -0.0609612 0.731447 -0.0609612 0.948405 0.183116L2.12688 1.50891L3.30542 0.183058Z\"></path>", 5)])]);
|
|
14
14
|
}
|
|
15
15
|
var NoRepeat_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
16
|
-
//#endregion
|
|
17
16
|
export { NoRepeat_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createStaticVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/Repeat.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13,5 +13,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
13
13
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createStaticVNode("<rect x=\"13\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 3)\" fill-opacity=\"0.3\"></rect><rect x=\"13\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 7)\" fill-opacity=\"0.3\"></rect><rect x=\"13\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 11)\" fill-opacity=\"0.3\"></rect><rect x=\"9\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 3)\"></rect><rect x=\"9\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 7)\"></rect><rect x=\"9\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 11)\" fill-opacity=\"0.3\"></rect><rect x=\"5\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 3)\"></rect><rect x=\"5\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 7)\"></rect><rect x=\"5\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 11)\" fill-opacity=\"0.3\"></rect>", 9)])]);
|
|
14
14
|
}
|
|
15
15
|
var Repeat_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
16
|
-
//#endregion
|
|
17
16
|
export { Repeat_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/RepeatX.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -36,5 +36,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
36
36
|
])]);
|
|
37
37
|
}
|
|
38
38
|
var RepeatX_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
39
|
-
//#endregion
|
|
40
39
|
export { RepeatX_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/RepeatY.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -39,5 +39,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
39
39
|
])]);
|
|
40
40
|
}
|
|
41
41
|
var RepeatY_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
42
|
-
//#endregion
|
|
43
42
|
export { RepeatY_default as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/Round.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "1",
|
|
16
|
+
y: "1",
|
|
17
|
+
width: "6.5",
|
|
18
|
+
height: "6.5",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("rect", {
|
|
22
|
+
x: "8.5",
|
|
23
|
+
y: "1",
|
|
24
|
+
width: "6.5",
|
|
25
|
+
height: "6.5",
|
|
26
|
+
rx: "0.5"
|
|
27
|
+
}, null, -1),
|
|
28
|
+
createElementVNode("rect", {
|
|
29
|
+
x: "1",
|
|
30
|
+
y: "8.5",
|
|
31
|
+
width: "6.5",
|
|
32
|
+
height: "6.5",
|
|
33
|
+
rx: "0.5"
|
|
34
|
+
}, null, -1),
|
|
35
|
+
createElementVNode("rect", {
|
|
36
|
+
x: "8.5",
|
|
37
|
+
y: "8.5",
|
|
38
|
+
width: "6.5",
|
|
39
|
+
height: "6.5",
|
|
40
|
+
rx: "0.5"
|
|
41
|
+
}, null, -1)
|
|
42
|
+
])]);
|
|
43
|
+
}
|
|
44
|
+
var Round_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
45
|
+
export { Round_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createStaticVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/Space.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createStaticVNode("<rect x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-opacity=\"0.3\"></rect><rect x=\"3.5\" y=\"3.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"9.5\" y=\"3.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"3.5\" y=\"9.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"9.5\" y=\"9.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect>", 5)])]);
|
|
14
|
+
}
|
|
15
|
+
var Space_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
16
|
+
export { Space_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/display/Block.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10,5 +10,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-96 64a32 32 0 0 1 32 32v448a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32h704z" }, null, -1)])]);
|
|
11
11
|
}
|
|
12
12
|
var Block_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { Block_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/display/Flex.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10,5 +10,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM352 256v512H160V256h192z m256 0v512h-192V256h192z m256 0v512h-192V256h192z" }, null, -1)])]);
|
|
11
11
|
}
|
|
12
12
|
var Flex_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { Flex_default as default };
|