@gct-paas/core-web 0.1.4-dev.7 → 0.1.4-dev.9
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/index-BghCpvxN.js +76 -0
- package/dist/index-PLrMc0gl.cjs +76 -0
- package/dist/index-oVPMi6Ep.js +29160 -0
- package/dist/index.esm.min.mjs +34 -7924
- package/dist/index.min.cjs +1 -20
- package/dist/index.min.css +1 -0
- package/dist/index.system.min.js +1 -20
- package/dist/monaco-editor-B8X-ou0h.js +20245 -0
- package/dist/monaco-editor-Bdgpd_KL.cjs +19 -0
- package/dist/monaco-editor-NIWDtQNB.js +19 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/components/app-modal/app-modal-component.css +149 -0
- package/es/components/app-modal/app-modal-component.d.ts +26 -0
- package/es/components/app-modal/app-modal-component.mjs +140 -0
- package/es/components/assets-svg-icon/assets-svg-icon.css +188 -0
- package/es/components/assets-svg-icon/assets-svg-icon.d.ts +134 -0
- package/es/components/assets-svg-icon/assets-svg-icon.mjs +238 -0
- package/es/components/assets-svg-icon/request.d.ts +2 -0
- package/es/components/assets-svg-icon/request.mjs +51 -0
- package/es/components/assets-svg-icon/utils.d.ts +9 -0
- package/es/components/assets-svg-icon/utils.mjs +21 -0
- package/es/components/assets-svg-icon/validate.d.ts +4 -0
- package/es/components/assets-svg-icon/validate.mjs +43 -0
- package/es/components/base-button/base-button.css +74 -0
- package/es/components/base-button/base-button.vue.d.ts +173 -0
- package/es/components/base-button/base-button.vue.mjs +7 -0
- package/es/components/base-button/base-button.vue3.mjs +179 -0
- package/es/components/basic-button/basic-button.css +25 -0
- package/es/components/basic-button/basic-button.vue.d.ts +100 -0
- package/es/components/basic-button/basic-button.vue.mjs +7 -0
- package/es/components/basic-button/basic-button.vue3.mjs +130 -0
- package/es/components/code-editor/code-editor.css +67 -0
- package/es/components/code-editor/code-editor.d.ts +1 -1
- package/es/components/code-editor/code-editor.mjs +9 -10
- package/es/components/index.d.ts +10 -0
- package/es/components/index.mjs +21 -6
- package/es/components/layout/flex-container/flex-container.css +67 -0
- package/es/components/layout/flex-container/flex-container.mjs +13 -9
- package/es/components/layout/flex-item/flex-item.mjs +11 -9
- package/es/components/layout/grid-container/grid-container.mjs +11 -7
- package/es/components/layout/view-container/view-container.css +83 -0
- package/es/components/layout/view-container/view-container.mjs +6 -7
- package/es/components/svg-icon/svg-icon.css +73 -0
- package/es/components/svg-icon/svg-icon.vue.d.ts +40 -0
- package/es/components/svg-icon/svg-icon.vue.mjs +50 -0
- package/es/components/svg-icon/svg-icon.vue3.mjs +6 -0
- package/es/create-app-vue.d.ts +9 -0
- package/es/create-app-vue.mjs +17 -0
- package/es/directives/drag-resize.d.ts +4 -0
- package/es/directives/drag-resize.mjs +42 -0
- package/es/directives/index.d.ts +8 -0
- package/es/directives/index.mjs +9 -0
- package/es/directives/target-loading.d.ts +4 -0
- package/es/directives/target-loading.mjs +40 -0
- package/es/editor/gct-form-check-switch/gct-form-check-switch.d.ts +1 -1
- package/es/editor/gct-form-i18n/gct-form-i18n.d.ts +1 -1
- package/es/editor/gct-form-info/gct-form-info.d.ts +1 -1
- package/es/editor/gct-form-length-unit/gct-form-length-unit.d.ts +1 -1
- package/es/editor/gct-form-number/gct-form-number.d.ts +1 -1
- package/es/editor/gct-form-radio/gct-form-radio.d.ts +1 -1
- package/es/editor/gct-form-select/gct-form-select.d.ts +1 -1
- package/es/editor/gct-form-switch/gct-form-switch.d.ts +1 -1
- package/es/editor/gct-form-textarea/gct-form-textarea.d.ts +1 -1
- package/es/hooks/index.d.ts +3 -0
- package/es/hooks/useDragLine.d.ts +6 -0
- package/es/hooks/useDragLine.mjs +79 -0
- package/es/hooks/useLocale.d.ts +4 -0
- package/es/hooks/useLocale.mjs +32 -0
- package/es/hooks/useTheme.d.ts +8 -0
- package/es/hooks/useTheme.mjs +20 -0
- package/es/index.d.ts +7 -7
- package/es/index.mjs +35 -24
- package/es/modules/code-editor/index.d.ts +163 -0
- package/es/modules/code-editor/index.mjs +8 -0
- package/es/modules/code-editor/monaco-editor.css +49 -0
- package/es/modules/code-editor/monaco-editor.vue.d.ts +143 -0
- package/es/modules/code-editor/monaco-editor.vue.mjs +7 -0
- package/es/modules/code-editor/monaco-editor.vue2.mjs +440 -0
- package/es/modules/code-editor/useEditorConsole.d.ts +54 -0
- package/es/modules/code-editor/useEditorConsole.mjs +194 -0
- package/es/modules/code-editor/useMonacoEditor.d.ts +26 -0
- package/es/modules/code-editor/useMonacoEditor.mjs +26 -0
- package/es/modules/color-picker/index.d.ts +2 -0
- package/es/modules/color-picker/src/ColorPicker.css +16 -0
- package/es/modules/color-picker/src/ColorPicker.vue.d.ts +49 -0
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -0
- package/es/modules/color-picker/src/ColorPicker.vue2.mjs +545 -0
- package/es/modules/color-picker/src/ColorPicker2.css +156 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.css +72 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +37 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +195 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.css +79 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.d.ts +29 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +98 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.css +70 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.d.ts +50 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +239 -0
- package/es/modules/gct-dnd/constants/index.d.ts +22 -0
- package/es/modules/gct-dnd/constants/index.mjs +20 -0
- package/es/modules/gct-dnd/index.d.ts +5 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-config.d.ts +101 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-data.d.ts +14 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-render-item-options.d.ts +28 -0
- package/es/modules/gct-dnd/interface/i-gct-drag-collect.d.ts +24 -0
- package/es/modules/gct-dnd/interface/i-gct-drag-dnd-data.d.ts +51 -0
- package/es/modules/gct-dnd/interface/i-gct-drop-collect.d.ts +32 -0
- package/es/modules/gct-dnd/interface/i-gct-drop-result.d.ts +47 -0
- package/es/modules/gct-dnd/interface/index.d.ts +7 -0
- package/es/modules/global-modal/index.d.ts +5 -0
- package/es/modules/global-modal/index.mjs +16 -0
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +518 -0
- package/es/modules/global-modal/src/BasicModal.vue.mjs +221 -0
- package/es/modules/global-modal/src/BasicModal.vue2.mjs +5 -0
- package/es/modules/global-modal/src/components/GlboalModal.d.ts +251 -0
- package/es/modules/global-modal/src/components/GlboalModal.mjs +40 -0
- package/es/modules/global-modal/src/components/ModalClose.css +95 -0
- package/es/modules/global-modal/src/components/ModalClose.vue.d.ts +27 -0
- package/es/modules/global-modal/src/components/ModalClose.vue.mjs +79 -0
- package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +6 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +270 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +44 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +5 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.d.ts +17 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +11 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +13 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +95 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +26 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +136 -0
- package/es/modules/global-modal/src/hooks/useModal.d.ts +6 -0
- package/es/modules/global-modal/src/hooks/useModal.mjs +120 -0
- package/es/modules/global-modal/src/hooks/useModalContext.d.ts +5 -0
- package/es/modules/global-modal/src/hooks/useModalContext.mjs +11 -0
- package/es/modules/global-modal/src/hooks/useModalDrag.d.ts +7 -0
- package/es/modules/global-modal/src/hooks/useModalDrag.mjs +82 -0
- package/es/modules/global-modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +16 -0
- package/es/modules/global-modal/src/index.css +153 -0
- package/es/modules/global-modal/src/props.d.ts +156 -0
- package/es/modules/global-modal/src/props.mjs +57 -0
- package/es/modules/global-modal/src/typing.d.ts +174 -0
- package/es/modules/target-loading/index.d.ts +4 -0
- package/es/modules/target-loading/src/createLoading.d.ts +13 -0
- package/es/modules/target-loading/src/createLoading.mjs +57 -0
- package/es/modules/target-loading/src/target-loading.css +18 -0
- package/es/modules/target-loading/src/target-loading.vue.d.ts +57 -0
- package/es/modules/target-loading/src/target-loading.vue.mjs +52 -0
- package/es/modules/target-loading/src/target-loading.vue3.mjs +7 -0
- package/es/modules/target-loading/src/typing.d.ts +9 -0
- package/es/modules/target-loading/src/useLoading.d.ts +9 -0
- package/es/setup-app.d.ts +1 -0
- package/es/setup-app.mjs +4 -0
- package/es/types/index.d.ts +190 -0
- package/es/utils/index.d.ts +4 -1
- package/es/utils/message-util/message-util.d.ts +7 -0
- package/es/utils/message-util/message-util.mjs +26 -0
- package/es/utils/monaco-loader/monaco-loader.d.ts +59 -0
- package/es/utils/monaco-loader/monaco-loader.mjs +88 -0
- package/es/utils/overlay-controller/overlay-controller.d.ts +18 -0
- package/es/utils/overlay-controller/overlay-controller.mjs +23 -0
- package/es/utils/with-install.mjs +0 -1
- package/es/widgets/gct-edit-form/gct-edit-form.d.ts +1 -1
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +1 -1
- package/package.json +19 -8
- package/dist/index.min.css.css +0 -1
- package/es/components/code-editor/code-editor.scss +0 -3
- package/es/components/layout/flex-container/flex-container.scss +0 -3
- package/es/components/layout/flex-item/flex-item.scss +0 -17
- package/es/components/layout/view-container/view-container.scss +0 -19
- package/es/editor/gct-form-check-switch/gct-form-check-switch.mjs +0 -53
- package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +0 -6
- package/es/editor/gct-form-check-switch/gct-form-check-switch.scss +0 -10
- package/es/editor/gct-form-check-switch/index.mjs +0 -12
- package/es/editor/gct-form-checkbox/gct-form-checkbox.mjs +0 -70
- package/es/editor/gct-form-checkbox/gct-form-checkbox.scss +0 -56
- package/es/editor/gct-form-checkbox/index.mjs +0 -19
- package/es/editor/gct-form-color/gct-form-color.mjs +0 -45
- package/es/editor/gct-form-color/gct-form-color.provider.mjs +0 -6
- package/es/editor/gct-form-color/gct-form-color.scss +0 -3
- package/es/editor/gct-form-color/index.mjs +0 -17
- package/es/editor/gct-form-field-select/gct-form-field-select.mjs +0 -48
- package/es/editor/gct-form-field-select/gct-form-field-select.provider.mjs +0 -6
- package/es/editor/gct-form-field-select/gct-form-field-select.scss +0 -7
- package/es/editor/gct-form-field-select/gct-model-select.vue +0 -70
- package/es/editor/gct-form-field-select/index.mjs +0 -12
- package/es/editor/gct-form-i18n/gct-form-i18n.mjs +0 -62
- package/es/editor/gct-form-i18n/gct-form-i18n.provider.mjs +0 -6
- package/es/editor/gct-form-i18n/index.mjs +0 -12
- package/es/editor/gct-form-icon-select/gct-form-icon-select.mjs +0 -74
- package/es/editor/gct-form-icon-select/gct-form-icon-select.scss +0 -14
- package/es/editor/gct-form-icon-select/index.mjs +0 -14
- package/es/editor/gct-form-info/gct-form-info.mjs +0 -40
- package/es/editor/gct-form-info/gct-form-info.scss +0 -8
- package/es/editor/gct-form-info/index.mjs +0 -14
- package/es/editor/gct-form-length-unit/gct-form-length-unit.mjs +0 -43
- package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +0 -6
- package/es/editor/gct-form-length-unit/index.mjs +0 -12
- package/es/editor/gct-form-modal-select/gct-form-modal-select.mjs +0 -99
- package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.mjs +0 -6
- package/es/editor/gct-form-modal-select/gct-form-modal-select.scss +0 -7
- package/es/editor/gct-form-modal-select/index.mjs +0 -12
- package/es/editor/gct-form-number/gct-form-number.mjs +0 -44
- package/es/editor/gct-form-number/gct-form-number.provider.mjs +0 -6
- package/es/editor/gct-form-number/gct-form-number.scss +0 -3
- package/es/editor/gct-form-number/index.mjs +0 -17
- package/es/editor/gct-form-picker/gct-form-picker.mjs +0 -92
- package/es/editor/gct-form-picker/gct-form-picker.provider.mjs +0 -6
- package/es/editor/gct-form-picker/index.mjs +0 -12
- package/es/editor/gct-form-radio/gct-form-radio.mjs +0 -70
- package/es/editor/gct-form-radio/gct-form-radio.scss +0 -68
- package/es/editor/gct-form-radio/index.mjs +0 -19
- package/es/editor/gct-form-select/gct-form-select.mjs +0 -50
- package/es/editor/gct-form-select/gct-form-select.provider.mjs +0 -6
- package/es/editor/gct-form-select/index.mjs +0 -12
- package/es/editor/gct-form-span/gct-form-span.mjs +0 -89
- package/es/editor/gct-form-span/gct-form-span.provider.mjs +0 -6
- package/es/editor/gct-form-span/gct-form-span.scss +0 -10
- package/es/editor/gct-form-span/index.mjs +0 -12
- package/es/editor/gct-form-switch/gct-form-switch.mjs +0 -35
- package/es/editor/gct-form-switch/gct-form-switch.provider.mjs +0 -6
- package/es/editor/gct-form-switch/index.mjs +0 -17
- package/es/editor/gct-form-text/gct-form-text.mjs +0 -45
- package/es/editor/gct-form-text/gct-form-text.provider.mjs +0 -6
- package/es/editor/gct-form-text/index.mjs +0 -17
- package/es/editor/gct-form-textarea/gct-form-textarea.mjs +0 -40
- package/es/editor/gct-form-textarea/gct-form-textarea.provider.mjs +0 -6
- package/es/editor/gct-form-textarea/index.mjs +0 -12
- package/es/editor/index.mjs +0 -51
- package/es/utils/index.mjs +0 -3
- package/es/vite-env.d.ts +0 -1
- package/es/widgets/gct-edit-form/gct-edit-form.mjs +0 -126
- package/es/widgets/gct-edit-form/index.mjs +0 -10
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +0 -73
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.scss +0 -62
- package/es/widgets/gct-form/gct-form-collapse/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +0 -71
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +0 -13
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.scss +0 -23
- package/es/widgets/gct-form/gct-form-collapse-pane/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-group/gct-form-group.mjs +0 -88
- package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-group/gct-form-group.scss +0 -28
- package/es/widgets/gct-form/gct-form-group/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +0 -13
- package/es/widgets/gct-form/gct-form-item/gct-form-item.mjs +0 -141
- package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-item/gct-form-item.scss +0 -115
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +0 -53
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.scss +0 -63
- package/es/widgets/gct-form/gct-form-tab/index.mjs +0 -12
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +0 -65
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.scss +0 -16
- package/es/widgets/gct-form/gct-form-tab-pane/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +0 -71
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.scss +0 -25
- package/es/widgets/gct-form/gct-form-title-group/index.mjs +0 -16
- package/es/widgets/gct-form/gct-form.mjs +0 -112
- package/es/widgets/gct-form/gct-form.scss +0 -11
- package/es/widgets/gct-form/index.mjs +0 -31
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, createVNode, isVNode } from 'vue';
|
|
2
2
|
import { FlexItem } from '../flex-item/flex-item.mjs';
|
|
3
3
|
import { useNamespace } from '@gct-paas/core';
|
|
4
|
-
import './flex-container.
|
|
4
|
+
import './flex-container.css';/* empty css */
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* flex 布局容器
|
|
10
|
+
*/
|
|
7
11
|
function _isSlot(s) {
|
|
8
|
-
return typeof s ===
|
|
12
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
9
13
|
}
|
|
10
14
|
const FlexContainer = /* @__PURE__ */ defineComponent({
|
|
11
|
-
name:
|
|
15
|
+
name: 'FlexContainer',
|
|
12
16
|
props: {
|
|
13
17
|
layout: Object
|
|
14
18
|
},
|
|
15
19
|
setup(props) {
|
|
16
|
-
const ns = useNamespace(
|
|
20
|
+
const ns = useNamespace('flex-container');
|
|
17
21
|
const getStyle = () => {
|
|
18
22
|
const style = {};
|
|
19
23
|
if (props.layout) {
|
|
@@ -42,7 +46,7 @@ const FlexContainer = /* @__PURE__ */ defineComponent({
|
|
|
42
46
|
}
|
|
43
47
|
return style;
|
|
44
48
|
};
|
|
45
|
-
const getItemStyle =
|
|
49
|
+
const getItemStyle = model => {
|
|
46
50
|
const style = {};
|
|
47
51
|
if (model) {
|
|
48
52
|
const {
|
|
@@ -72,7 +76,7 @@ const FlexContainer = /* @__PURE__ */ defineComponent({
|
|
|
72
76
|
return createVNode("div", {
|
|
73
77
|
"class": this.ns.b(),
|
|
74
78
|
"style": this.getStyle()
|
|
75
|
-
}, [items.map(
|
|
79
|
+
}, [items.map(item => {
|
|
76
80
|
if (!item) {
|
|
77
81
|
return null;
|
|
78
82
|
}
|
|
@@ -87,4 +91,4 @@ const FlexContainer = /* @__PURE__ */ defineComponent({
|
|
|
87
91
|
}
|
|
88
92
|
});
|
|
89
93
|
|
|
90
|
-
export { FlexContainer
|
|
94
|
+
export { FlexContainer };
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@gct-paas/core';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* flex 布局容器项
|
|
6
|
+
*/
|
|
5
7
|
const FlexItem = /* @__PURE__ */ defineComponent({
|
|
6
|
-
name:
|
|
8
|
+
name: 'FlexItem',
|
|
7
9
|
props: {
|
|
8
10
|
layout: Object
|
|
9
11
|
},
|
|
10
12
|
setup(props) {
|
|
11
|
-
const ns = useNamespace(
|
|
13
|
+
const ns = useNamespace('flex-item');
|
|
12
14
|
const getStyle = () => {
|
|
13
15
|
const style = {};
|
|
14
16
|
if (props.layout) {
|
|
@@ -20,19 +22,19 @@ const FlexItem = /* @__PURE__ */ defineComponent({
|
|
|
20
22
|
flexShrink
|
|
21
23
|
} = props.layout;
|
|
22
24
|
if (order != null) {
|
|
23
|
-
style[
|
|
25
|
+
style['order'] = order;
|
|
24
26
|
}
|
|
25
27
|
if (alignSelf != null) {
|
|
26
|
-
style[
|
|
28
|
+
style['align-self'] = alignSelf;
|
|
27
29
|
}
|
|
28
30
|
if (flexBasis != null) {
|
|
29
|
-
style[
|
|
31
|
+
style['flex-basis'] = flexBasis;
|
|
30
32
|
}
|
|
31
33
|
if (flexGrow != null) {
|
|
32
|
-
style[
|
|
34
|
+
style['flex-grow'] = flexGrow;
|
|
33
35
|
}
|
|
34
36
|
if (flexShrink != null) {
|
|
35
|
-
style[
|
|
37
|
+
style['flex-shrink'] = flexShrink;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
return style;
|
|
@@ -50,4 +52,4 @@ const FlexItem = /* @__PURE__ */ defineComponent({
|
|
|
50
52
|
}
|
|
51
53
|
});
|
|
52
54
|
|
|
53
|
-
export { FlexItem
|
|
55
|
+
export { FlexItem };
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent, isVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@gct-paas/core';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 栅格布局
|
|
8
|
+
*/
|
|
5
9
|
function _isSlot(s) {
|
|
6
|
-
return typeof s ===
|
|
10
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
7
11
|
}
|
|
8
12
|
const GridContainer = /* @__PURE__ */ defineComponent({
|
|
9
|
-
name:
|
|
13
|
+
name: 'GridContainer',
|
|
10
14
|
props: {
|
|
11
15
|
layout: Object
|
|
12
16
|
},
|
|
13
17
|
setup() {
|
|
14
|
-
const ns = useNamespace(
|
|
18
|
+
const ns = useNamespace('grid-container');
|
|
15
19
|
return {
|
|
16
20
|
ns
|
|
17
21
|
};
|
|
@@ -27,7 +31,7 @@ const GridContainer = /* @__PURE__ */ defineComponent({
|
|
|
27
31
|
"class": this.ns.b(),
|
|
28
32
|
"wrap": true,
|
|
29
33
|
"gutter": l.gutter
|
|
30
|
-
}, _isSlot(_slot = items.map(
|
|
34
|
+
}, _isSlot(_slot = items.map(item => {
|
|
31
35
|
if (!item) {
|
|
32
36
|
return null;
|
|
33
37
|
}
|
|
@@ -44,4 +48,4 @@ const GridContainer = /* @__PURE__ */ defineComponent({
|
|
|
44
48
|
}
|
|
45
49
|
});
|
|
46
50
|
|
|
47
|
-
export { GridContainer
|
|
51
|
+
export { GridContainer };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
3
|
+
/* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
|
|
4
|
+
/**
|
|
5
|
+
* 定义 Block 块
|
|
6
|
+
* @param {String} $block - Block 块名称
|
|
7
|
+
* @example
|
|
8
|
+
* @include b('button') {
|
|
9
|
+
* padding: 10px;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 定义 Element 元素
|
|
14
|
+
* @param {String|List} $element - Element 元素名称,支持单个或多个
|
|
15
|
+
* @example
|
|
16
|
+
* @include b('button') {
|
|
17
|
+
* @include e('text') {
|
|
18
|
+
* color: #000;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* // 或传入多个元素
|
|
22
|
+
* @include b('button') {
|
|
23
|
+
* @include e(('text', 'icon')) {
|
|
24
|
+
* margin: 5px;
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* 定义 Modifier 修饰符
|
|
30
|
+
* @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
|
|
31
|
+
* @example
|
|
32
|
+
* @include b('button') {
|
|
33
|
+
* @include m('primary') {
|
|
34
|
+
* background: blue;
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* // 或传入多个修饰符
|
|
38
|
+
* @include b('button') {
|
|
39
|
+
* @include m(('primary', 'large')) {
|
|
40
|
+
* background: blue;
|
|
41
|
+
* font-size: 16px;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* 定义状态选择器
|
|
47
|
+
* @param {String} $state - 状态名称
|
|
48
|
+
* @example
|
|
49
|
+
* @include b('button') {
|
|
50
|
+
* @include when('disabled') {
|
|
51
|
+
* opacity: 0.5;
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* 深色主题样式
|
|
57
|
+
* @param {String} $block - Block 块名称
|
|
58
|
+
* @example
|
|
59
|
+
* @include dark('button') {
|
|
60
|
+
* background: #333;
|
|
61
|
+
* color: #fff;
|
|
62
|
+
* }
|
|
63
|
+
*/
|
|
64
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
+
.gct-view-container {
|
|
66
|
+
background-color: white;
|
|
67
|
+
height: 100%;
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.gct-view-container-header {
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.gct-view-container-content {
|
|
77
|
+
flex-grow: 1;
|
|
78
|
+
overflow: hidden auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.gct-view-container-footer {
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@gct-paas/core';
|
|
3
|
-
import './view-container.
|
|
3
|
+
import './view-container.css';/* empty css */
|
|
4
4
|
|
|
5
|
-
"use strict";
|
|
6
5
|
const ViewContainer = /* @__PURE__ */ defineComponent({
|
|
7
|
-
name:
|
|
6
|
+
name: 'ViewContainer',
|
|
8
7
|
props: {
|
|
9
8
|
context: {
|
|
10
9
|
type: Object
|
|
@@ -18,7 +17,7 @@ const ViewContainer = /* @__PURE__ */ defineComponent({
|
|
|
18
17
|
}
|
|
19
18
|
},
|
|
20
19
|
setup() {
|
|
21
|
-
const ns = useNamespace(
|
|
20
|
+
const ns = useNamespace('view-container');
|
|
22
21
|
return {
|
|
23
22
|
ns
|
|
24
23
|
};
|
|
@@ -27,11 +26,11 @@ const ViewContainer = /* @__PURE__ */ defineComponent({
|
|
|
27
26
|
return createVNode("div", {
|
|
28
27
|
"class": this.ns.b()
|
|
29
28
|
}, [this.$slots.header ? createVNode("div", {
|
|
30
|
-
"class": this.ns.b(
|
|
29
|
+
"class": this.ns.b('header')
|
|
31
30
|
}, [this.$slots.header()]) : null, createVNode("div", {
|
|
32
|
-
"class": this.ns.b(
|
|
31
|
+
"class": this.ns.b('content')
|
|
33
32
|
}, [this.$slots.default?.()]), this.$slots.footer ? createVNode("div", {
|
|
34
|
-
"class": this.ns.b(
|
|
33
|
+
"class": this.ns.b('footer')
|
|
35
34
|
}, [this.$slots.footer()]) : null]);
|
|
36
35
|
}
|
|
37
36
|
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
3
|
+
/* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
|
|
4
|
+
/**
|
|
5
|
+
* 定义 Block 块
|
|
6
|
+
* @param {String} $block - Block 块名称
|
|
7
|
+
* @example
|
|
8
|
+
* @include b('button') {
|
|
9
|
+
* padding: 10px;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 定义 Element 元素
|
|
14
|
+
* @param {String|List} $element - Element 元素名称,支持单个或多个
|
|
15
|
+
* @example
|
|
16
|
+
* @include b('button') {
|
|
17
|
+
* @include e('text') {
|
|
18
|
+
* color: #000;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* // 或传入多个元素
|
|
22
|
+
* @include b('button') {
|
|
23
|
+
* @include e(('text', 'icon')) {
|
|
24
|
+
* margin: 5px;
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* 定义 Modifier 修饰符
|
|
30
|
+
* @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
|
|
31
|
+
* @example
|
|
32
|
+
* @include b('button') {
|
|
33
|
+
* @include m('primary') {
|
|
34
|
+
* background: blue;
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* // 或传入多个修饰符
|
|
38
|
+
* @include b('button') {
|
|
39
|
+
* @include m(('primary', 'large')) {
|
|
40
|
+
* background: blue;
|
|
41
|
+
* font-size: 16px;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* 定义状态选择器
|
|
47
|
+
* @param {String} $state - 状态名称
|
|
48
|
+
* @example
|
|
49
|
+
* @include b('button') {
|
|
50
|
+
* @include when('disabled') {
|
|
51
|
+
* opacity: 0.5;
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* 深色主题样式
|
|
57
|
+
* @param {String} $block - Block 块名称
|
|
58
|
+
* @example
|
|
59
|
+
* @include dark('button') {
|
|
60
|
+
* background: #333;
|
|
61
|
+
* color: #fff;
|
|
62
|
+
* }
|
|
63
|
+
*/
|
|
64
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
+
.gct-svg-icon {
|
|
66
|
+
display: inline-block;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
fill: currentcolor;
|
|
69
|
+
vertical-align: -0.15em;
|
|
70
|
+
}
|
|
71
|
+
.gct-svg-icon--spin {
|
|
72
|
+
animation: loadingCircle 1s infinite linear;
|
|
73
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
prefix: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
name: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
spin: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
prefix: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
name: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
spin: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
size: string | number;
|
|
37
|
+
spin: boolean;
|
|
38
|
+
prefix: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, createElementVNode } from 'vue';
|
|
2
|
+
import { useNamespace } from '@gct-paas/core';
|
|
3
|
+
|
|
4
|
+
const _hoisted_1 = ["xlink:href"];
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "svg-icon",
|
|
7
|
+
props: {
|
|
8
|
+
prefix: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "icon"
|
|
11
|
+
},
|
|
12
|
+
name: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
type: [Number, String],
|
|
18
|
+
default: 16
|
|
19
|
+
},
|
|
20
|
+
spin: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const ns = useNamespace("svg-icon");
|
|
27
|
+
const props = __props;
|
|
28
|
+
const symbolId = computed(() => `#${props.prefix}-${props.name}`);
|
|
29
|
+
const getStyle = computed(() => {
|
|
30
|
+
const { size } = props;
|
|
31
|
+
let s = `${size}`;
|
|
32
|
+
s = `${s.replace("px", "")}px`;
|
|
33
|
+
return {
|
|
34
|
+
width: s,
|
|
35
|
+
height: s
|
|
36
|
+
};
|
|
37
|
+
});
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return openBlock(), createElementBlock("svg", {
|
|
40
|
+
class: normalizeClass([_ctx.$attrs.class, unref(ns).b(), __props.spin && unref(ns).m("spin")]),
|
|
41
|
+
style: normalizeStyle(getStyle.value),
|
|
42
|
+
"aria-hidden": "true"
|
|
43
|
+
}, [
|
|
44
|
+
createElementVNode("use", { "xlink:href": symbolId.value }, null, 8, _hoisted_1)
|
|
45
|
+
], 6);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OverlayScrollbarsComponent } from 'overlayscrollbars-vue';
|
|
2
|
+
import Comps from './components/index.mjs';
|
|
3
|
+
import * as Icons from '@ant-design/icons-vue';
|
|
4
|
+
import { setupDirectives } from './directives/index.mjs';
|
|
5
|
+
import ColorPicker from './modules/color-picker/src/ColorPicker.vue.mjs';
|
|
6
|
+
|
|
7
|
+
async function coreWebCreateAppVue(app) {
|
|
8
|
+
setupDirectives(app);
|
|
9
|
+
app.use(Comps);
|
|
10
|
+
Object.entries(Icons).forEach(([key, component]) => {
|
|
11
|
+
app.component(key, component);
|
|
12
|
+
});
|
|
13
|
+
app.component(ColorPicker.name, ColorPicker);
|
|
14
|
+
app.component(OverlayScrollbarsComponent.__name, OverlayScrollbarsComponent);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { coreWebCreateAppVue };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const dragResizeDirective = {
|
|
2
|
+
mounted(el, binding) {
|
|
3
|
+
if (!binding.value) return false;
|
|
4
|
+
binding.instance?.$nextTick(() => {
|
|
5
|
+
const minWidth = binding.value;
|
|
6
|
+
const dragDom = el;
|
|
7
|
+
const resizeElL = document.createElement("div");
|
|
8
|
+
dragDom.appendChild(resizeElL);
|
|
9
|
+
resizeElL.style.cursor = "col-resize";
|
|
10
|
+
resizeElL.style.position = "absolute";
|
|
11
|
+
resizeElL.style.height = "100%";
|
|
12
|
+
resizeElL.style.width = "5px";
|
|
13
|
+
resizeElL.style.right = "0px";
|
|
14
|
+
resizeElL.style.top = "0px";
|
|
15
|
+
resizeElL.style.background = "rgba(255, 0, 0, 0);";
|
|
16
|
+
resizeElL.onmousedown = (e) => {
|
|
17
|
+
const elW = dragDom.clientWidth;
|
|
18
|
+
const clientX = e.clientX;
|
|
19
|
+
document.onmousemove = function(e2) {
|
|
20
|
+
e2.preventDefault();
|
|
21
|
+
const l = e2.clientX - clientX;
|
|
22
|
+
let nw = elW + l;
|
|
23
|
+
nw = nw < minWidth ? minWidth : nw;
|
|
24
|
+
dragDom.setAttribute("style", `width:${nw}px !important;`);
|
|
25
|
+
const resizeEvent = new CustomEvent("drag-resize-width", {
|
|
26
|
+
detail: { width: nw, resizing: true }
|
|
27
|
+
});
|
|
28
|
+
el.dispatchEvent(resizeEvent);
|
|
29
|
+
};
|
|
30
|
+
document.onmouseup = function() {
|
|
31
|
+
document.onmousemove = null;
|
|
32
|
+
document.onmouseup = null;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
function setupDragResizeDirective(app) {
|
|
39
|
+
app.directive("dragResize", dragResizeDirective);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { setupDragResizeDirective };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import '../modules/target-loading/src/target-loading.vue.mjs';
|
|
2
|
+
import '../modules/target-loading/src/target-loading.css';/* empty css */
|
|
3
|
+
import 'vue';
|
|
4
|
+
import { createLoading } from '../modules/target-loading/src/createLoading.mjs';
|
|
5
|
+
|
|
6
|
+
const loadingDirective = {
|
|
7
|
+
mounted(el, binding) {
|
|
8
|
+
const tip = el.getAttribute("loading-tip");
|
|
9
|
+
const background = el.getAttribute("loading-background");
|
|
10
|
+
const size = el.getAttribute("loading-size");
|
|
11
|
+
const fullscreen = !!binding.modifiers.fullscreen;
|
|
12
|
+
const instance = createLoading(
|
|
13
|
+
{
|
|
14
|
+
tip,
|
|
15
|
+
background,
|
|
16
|
+
size: size || "large",
|
|
17
|
+
loading: !!binding.value,
|
|
18
|
+
absolute: !fullscreen
|
|
19
|
+
},
|
|
20
|
+
fullscreen ? document.body : el
|
|
21
|
+
);
|
|
22
|
+
el.instance = instance;
|
|
23
|
+
},
|
|
24
|
+
updated(el, binding) {
|
|
25
|
+
const instance = el.instance;
|
|
26
|
+
if (!instance) return;
|
|
27
|
+
instance.setTip(el.getAttribute("loading-tip"));
|
|
28
|
+
if (binding.oldValue !== binding.value) {
|
|
29
|
+
instance.setLoading?.(binding.value && !instance.loading);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
unmounted(el) {
|
|
33
|
+
el?.instance?.close();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
function setupLoadingDirective(app) {
|
|
37
|
+
app.directive("target-loading", loadingDirective);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { setupLoadingDirective };
|
|
@@ -19,7 +19,7 @@ export declare const GctFormCheckSwitch: import('vue').DefineComponent<import('v
|
|
|
19
19
|
}>, {
|
|
20
20
|
ns: import('@gct-paas/core').Namespace;
|
|
21
21
|
c: EditorController<ICheckSwitchEditor>;
|
|
22
|
-
val: import('vue').WritableComputedRef<any, any
|
|
22
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
24
|
itemModel: {
|
|
25
25
|
type: PropType<IFormItem>;
|
|
@@ -15,7 +15,7 @@ export declare const GctFormI18n: import('vue').DefineComponent<import('vue').Ex
|
|
|
15
15
|
};
|
|
16
16
|
}>, {
|
|
17
17
|
ns: import('@gct-paas/core').Namespace;
|
|
18
|
-
val: import('vue').WritableComputedRef<any, any
|
|
18
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
19
19
|
i18nConfigValue: import('vue').WritableComputedRef<any, any>;
|
|
20
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
c: {
|
|
@@ -11,7 +11,7 @@ export declare const GctFormInfo: import('vue').DefineComponent<import('vue').Ex
|
|
|
11
11
|
};
|
|
12
12
|
}>, {
|
|
13
13
|
ns: import('@gct-paas/core').Namespace;
|
|
14
|
-
val: import('vue').WritableComputedRef<any, any
|
|
14
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
16
|
value: {
|
|
17
17
|
type: StringConstructor;
|
|
@@ -19,7 +19,7 @@ export declare const GctFormLengthUnit: import('vue').DefineComponent<import('vu
|
|
|
19
19
|
}>, {
|
|
20
20
|
ns: import('@gct-paas/core').Namespace;
|
|
21
21
|
c: LengthUnitEditorController;
|
|
22
|
-
val: import('vue').WritableComputedRef<any, any
|
|
22
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
24
|
itemModel: {
|
|
25
25
|
type: PropType<IFormItem>;
|
|
@@ -11,7 +11,7 @@ export declare const GctFormNumber: import('vue').DefineComponent<import('vue').
|
|
|
11
11
|
};
|
|
12
12
|
}>, {
|
|
13
13
|
ns: import('@gct-paas/core').Namespace;
|
|
14
|
-
val: import('vue').WritableComputedRef<any, any
|
|
14
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
16
|
model: {
|
|
17
17
|
type: PropType<INumberEditor>;
|
|
@@ -15,7 +15,7 @@ export declare const GctFormRadio: import('vue').DefineComponent<import('vue').E
|
|
|
15
15
|
};
|
|
16
16
|
}>, {
|
|
17
17
|
ns: import('@gct-paas/core').Namespace;
|
|
18
|
-
val: import('vue').WritableComputedRef<any, any
|
|
18
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
c: {
|
|
21
21
|
type: PropType<IFormItemController>;
|
|
@@ -15,7 +15,7 @@ export declare const GctFormSelect: import('vue').DefineComponent<import('vue').
|
|
|
15
15
|
};
|
|
16
16
|
}>, {
|
|
17
17
|
ns: import('@gct-paas/core').Namespace;
|
|
18
|
-
val: import('vue').WritableComputedRef<any, any
|
|
18
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
19
19
|
options: import('vue').ComputedRef<import('@gct-paas/core').IDictionaryItem[]>;
|
|
20
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:value"[], "update:value", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
c: {
|
|
@@ -11,7 +11,7 @@ export declare const GctFormSwitch: import('vue').DefineComponent<import('vue').
|
|
|
11
11
|
};
|
|
12
12
|
}>, {
|
|
13
13
|
ns: import('@gct-paas/core').Namespace;
|
|
14
|
-
val: import('vue').WritableComputedRef<any, any
|
|
14
|
+
val: import('vue').WritableComputedRef<any, any>;
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
16
|
model: {
|
|
17
17
|
type: PropType<ISwitchEditor>;
|