@funcho/ui 1.1.17 → 1.1.19

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.
Files changed (34) hide show
  1. package/dist/cjs/business/DataTable/DataTable.vue.js +1 -0
  2. package/dist/cjs/business/EditFormCard/EditFormCard.vue.js +1 -0
  3. package/dist/cjs/business/ProForm/ProForm.vue.js +1 -0
  4. package/dist/cjs/business/SidebarMainLayout/SidebarMainLayout.vue.js +22 -7
  5. package/dist/cjs/business/TreeCheckFilter/TreeCheckFilter.vue.js +1 -0
  6. package/dist/cjs/business/TreeTransfer/TreeTransfer.vue.js +1 -0
  7. package/dist/cjs/components/ContextMenu/ContextMenu.vue.js +11 -3
  8. package/dist/cjs/components/DotStatus/DotStatus.vue.js +15 -0
  9. package/dist/cjs/components/DotStatus/index.js +11 -0
  10. package/dist/cjs/components/index.js +2 -0
  11. package/dist/cjs/index.js +22 -20
  12. package/dist/cjs/packages/ui/package.json.js +1 -1
  13. package/dist/esm/business/DataTable/DataTable.vue.mjs +1 -0
  14. package/dist/esm/business/EditFormCard/EditFormCard.vue.mjs +1 -0
  15. package/dist/esm/business/ProForm/ProForm.vue.mjs +1 -0
  16. package/dist/esm/business/SidebarMainLayout/SidebarMainLayout.vue.mjs +22 -7
  17. package/dist/esm/business/TreeCheckFilter/TreeCheckFilter.vue.mjs +1 -0
  18. package/dist/esm/business/TreeTransfer/TreeTransfer.vue.mjs +1 -0
  19. package/dist/esm/components/ContextMenu/ContextMenu.vue.mjs +11 -3
  20. package/dist/esm/components/DotStatus/DotStatus.vue.mjs +11 -0
  21. package/dist/esm/components/DotStatus/index.mjs +6 -0
  22. package/dist/esm/components/index.mjs +1 -0
  23. package/dist/esm/index.mjs +1 -0
  24. package/dist/esm/packages/ui/package.json.mjs +1 -1
  25. package/dist/style.css +9 -0
  26. package/dist/types/business/SidebarMainLayout/SidebarMainLayout.vue.d.ts +4 -0
  27. package/dist/types/business/SidebarMainLayout/index.d.ts +8 -0
  28. package/dist/types/components/ContextMenu/ContextMenu.vue.d.ts +5 -1
  29. package/dist/types/components/ContextMenu/index.d.ts +15 -5
  30. package/dist/types/components/DotStatus/DotStatus.types.d.ts +1 -0
  31. package/dist/types/components/DotStatus/DotStatus.vue.d.ts +2 -0
  32. package/dist/types/components/DotStatus/index.d.ts +15 -0
  33. package/dist/types/components/index.d.ts +1 -0
  34. package/package.json +3 -3
@@ -80,6 +80,7 @@ require('../../components/ContextMenu/index.js');
80
80
  require('../../components/CodeEditor/index.js');
81
81
  require('../../components/RichEditor/index.js');
82
82
  require('../../components/LovText/index.js');
83
+ require('../../components/DotStatus/index.js');
83
84
  const ProForm_vue_vue_type_script_setup_true_lang = require('../ProForm/ProForm.vue.js');
84
85
  ;/* empty css */
85
86
  const core = require('@vueuse/core');
@@ -79,6 +79,7 @@ require('../../components/ContextMenu/index.js');
79
79
  require('../../components/CodeEditor/index.js');
80
80
  require('../../components/RichEditor/index.js');
81
81
  require('../../components/LovText/index.js');
82
+ require('../../components/DotStatus/index.js');
82
83
  const ProForm_vue_vue_type_script_setup_true_lang = require('../ProForm/ProForm.vue.js');
83
84
  ;/* empty css */
84
85
  const cloneDeep = require('../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js');
@@ -80,6 +80,7 @@ require('../../components/ContextMenu/index.js');
80
80
  require('../../components/CodeEditor/index.js');
81
81
  require('../../components/RichEditor/index.js');
82
82
  require('../../components/LovText/index.js');
83
+ require('../../components/DotStatus/index.js');
83
84
  const componentsMap = require('./componentsMap.js');
84
85
  const isPlainObject = require('../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.js');
85
86
  const cloneDeep = require('../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js');
@@ -80,6 +80,7 @@ require('../../components/ContextMenu/index.js');
80
80
  require('../../components/CodeEditor/index.js');
81
81
  require('../../components/RichEditor/index.js');
82
82
  require('../../components/LovText/index.js');
83
+ require('../../components/DotStatus/index.js');
83
84
  const useNamespace = require('../../hooks/use-namespace.js');
84
85
 
85
86
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
@@ -89,17 +90,18 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
89
90
  __name: "SidebarMainLayout",
90
91
  props: {
91
92
  leftBorder: { type: Boolean, default: true },
92
- rightBorder: { type: Boolean, default: true }
93
+ rightBorder: { type: Boolean, default: true },
94
+ direction: { default: "vertical" }
93
95
  },
94
96
  setup(__props) {
95
97
  const ns = useNamespace.useNamespace("sidebar-main-layout");
96
98
  const rightContainer = vue.ref(null);
97
- const { height } = core.useElementSize(rightContainer);
99
+ const { height, width } = core.useElementSize(rightContainer);
98
100
  return (_ctx, _cache) => {
99
101
  return vue.openBlock(), vue.createElementBlock("div", {
100
102
  class: vue.normalizeClass(vue.unref(ns).b())
101
103
  }, [
102
- _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("div", {
104
+ _ctx.$slots.header && __props.direction === "vertical" ? (vue.openBlock(), vue.createElementBlock("div", {
103
105
  key: 0,
104
106
  class: vue.normalizeClass(vue.unref(ns).e("header"))
105
107
  }, [
@@ -128,11 +130,24 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
128
130
  vue.createVNode(vue.unref(index$1.FcSplitterPanel), { min: "50%" }, {
129
131
  default: vue.withCtx(() => [
130
132
  vue.createElementVNode("div", {
131
- ref_key: "rightContainer",
132
- ref: rightContainer,
133
- class: vue.normalizeClass({ [vue.unref(ns).e("right")]: true, [vue.unref(ns).is("border")]: __props.rightBorder })
133
+ class: vue.normalizeClass({ [vue.unref(ns).e("right")]: true })
134
134
  }, [
135
- vue.renderSlot(_ctx.$slots, "right", { height: vue.unref(height) })
135
+ _ctx.$slots.header && __props.direction === "horizontal" ? (vue.openBlock(), vue.createElementBlock("div", {
136
+ key: 0,
137
+ class: vue.normalizeClass({ [vue.unref(ns).e("header")]: true })
138
+ }, [
139
+ vue.renderSlot(_ctx.$slots, "header")
140
+ ], 2)) : vue.createCommentVNode("", true),
141
+ vue.createElementVNode("div", {
142
+ ref_key: "rightContainer",
143
+ ref: rightContainer,
144
+ class: vue.normalizeClass({ [vue.unref(ns).e("container")]: true, [vue.unref(ns).is("border")]: __props.rightBorder })
145
+ }, [
146
+ vue.renderSlot(_ctx.$slots, "right", {
147
+ height: vue.unref(height),
148
+ width: vue.unref(width)
149
+ })
150
+ ], 2)
136
151
  ], 2)
137
152
  ]),
138
153
  _: 3
@@ -80,6 +80,7 @@ require('../../components/ContextMenu/index.js');
80
80
  require('../../components/CodeEditor/index.js');
81
81
  require('../../components/RichEditor/index.js');
82
82
  require('../../components/LovText/index.js');
83
+ require('../../components/DotStatus/index.js');
83
84
  const Icons = require('@funcho/icons-vue');
84
85
  const core = require('@vueuse/core');
85
86
 
@@ -82,6 +82,7 @@ require('../../components/ContextMenu/index.js');
82
82
  require('../../components/CodeEditor/index.js');
83
83
  require('../../components/RichEditor/index.js');
84
84
  require('../../components/LovText/index.js');
85
+ require('../../components/DotStatus/index.js');
85
86
 
86
87
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
87
88
  ...{
@@ -14,7 +14,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
14
  props: {
15
15
  options: { default: () => [] }
16
16
  },
17
- setup(__props, { expose: __expose }) {
17
+ emits: ["command"],
18
+ setup(__props, { expose: __expose, emit: __emit }) {
18
19
  const position = vue.ref({
19
20
  top: 0,
20
21
  left: 0,
@@ -24,14 +25,20 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
25
  const triggerRef = vue.ref({
25
26
  getBoundingClientRect: () => position.value
26
27
  });
28
+ const emits = __emit;
29
+ const handleCommand = (command) => {
30
+ emits("command", command, ...activeArgs.value);
31
+ };
27
32
  const elRef = vue.ref();
28
- const show = (event) => {
33
+ const activeArgs = vue.ref([]);
34
+ const show = (event, ...args) => {
29
35
  position.value = DOMRect.fromRect({
30
36
  x: event.clientX,
31
37
  y: event.clientY
32
38
  });
33
39
  event.preventDefault();
34
40
  elRef.value?.handleOpen();
41
+ activeArgs.value = args;
35
42
  };
36
43
  __expose(
37
44
  new Proxy(
@@ -58,7 +65,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
58
65
  },
59
66
  "virtual-triggering": "",
60
67
  trigger: "contextmenu",
61
- placement: "bottom-start"
68
+ placement: "bottom-start",
69
+ onCommand: handleCommand
62
70
  }, {
63
71
  dropdown: vue.withCtx(() => [
64
72
  vue.createVNode(vue.unref(index.ElDropdownMenu), null, {
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
4
+
5
+ const vue = require('vue');
6
+ const _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ const _sfc_main = { };
9
+
10
+ function _sfc_render(_ctx, _cache) {
11
+ return (vue.openBlock(), vue.createElementBlock("div", null, "1"))
12
+ }
13
+ const DotStatus = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render]]);
14
+
15
+ exports.default = DotStatus;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
4
+
5
+ const DotStatus = require('./DotStatus.vue.js');
6
+ const withInstall = require('../../_utils/with-install.js');
7
+
8
+ const FcDotStatus = withInstall.withInstall(DotStatus.default);
9
+
10
+ exports.FcDotStatus = FcDotStatus;
11
+ exports.default = FcDotStatus;
@@ -81,6 +81,7 @@ const index$1b = require('./ContextMenu/index.js');
81
81
  const index$1c = require('./CodeEditor/index.js');
82
82
  const index$1d = require('./RichEditor/index.js');
83
83
  const index$1e = require('./LovText/index.js');
84
+ const index$1f = require('./DotStatus/index.js');
84
85
  const directive = require('../node_modules/.pnpm/element-plus@2.13.5_patch_hash_415fe9eaeb4c26121ef1304c7dfbfaa75441fcd0d7ca1a8beb1acd12_87ac520f28bb40f5a8b03aa48269c150/node_modules/element-plus/es/components/loading/src/directive.js');
85
86
  const service = require('../node_modules/.pnpm/element-plus@2.13.5_patch_hash_415fe9eaeb4c26121ef1304c7dfbfaa75441fcd0d7ca1a8beb1acd12_87ac520f28bb40f5a8b03aa48269c150/node_modules/element-plus/es/components/loading/src/service.js');
86
87
 
@@ -192,6 +193,7 @@ exports.FcCodeEditorInput = index$1c.FcCodeEditorInput;
192
193
  exports.FcRichEditor = index$1d.FcRichEditor;
193
194
  exports.FcRichEditorInput = index$1d.FcRichEditorInput;
194
195
  exports.FcLovText = index$1e.FcLovText;
196
+ exports.FcDotStatus = index$1f.FcDotStatus;
195
197
  exports.FcLoadingDirective = directive.default;
196
198
  exports.vLoading = directive.default;
197
199
  exports.FcLoadingService = service.default;
package/dist/cjs/index.js CHANGED
@@ -7,8 +7,8 @@ const directive = require('./node_modules/.pnpm/element-plus@2.13.5_patch_hash_4
7
7
  const dayjs_min = require('./_virtual/dayjs.min.js');
8
8
  ;/* empty css */
9
9
  const lovIdRequestProvide = require('./config/lovId-request-provide.js');
10
- const index$1n = require('./components/index.js');
11
- const index$1o = require('./business/index.js');
10
+ const index$1o = require('./components/index.js');
11
+ const index$1p = require('./business/index.js');
12
12
  const version = require('./version.js');
13
13
  const index$1 = require('./components/Button/index.js');
14
14
  const index$2 = require('./components/Dialog/index.js');
@@ -89,20 +89,21 @@ const index$1c = require('./components/ContextMenu/index.js');
89
89
  const index$1d = require('./components/CodeEditor/index.js');
90
90
  const index$1e = require('./components/RichEditor/index.js');
91
91
  const index$1f = require('./components/LovText/index.js');
92
- const index$1g = require('./business/SidebarMainLayout/index.js');
93
- const index$1h = require('./business/DataTable/index.js');
94
- const index$1i = require('./business/ProForm/index.js');
95
- const index$1j = require('./business/TreeCheckFilter/index.js');
96
- const index$1k = require('./business/TreeTransfer/index.js');
97
- const index$1l = require('./business/EditFormCard/index.js');
98
- const index$1m = require('./business/FormDialog/index.js');
92
+ const index$1g = require('./components/DotStatus/index.js');
93
+ const index$1h = require('./business/SidebarMainLayout/index.js');
94
+ const index$1i = require('./business/DataTable/index.js');
95
+ const index$1j = require('./business/ProForm/index.js');
96
+ const index$1k = require('./business/TreeCheckFilter/index.js');
97
+ const index$1l = require('./business/TreeTransfer/index.js');
98
+ const index$1m = require('./business/EditFormCard/index.js');
99
+ const index$1n = require('./business/FormDialog/index.js');
99
100
 
100
- const components = Object.keys(index$1n).map((key) => {
101
- return index$1n[key];
102
- });
103
- const proComponents = Object.keys(index$1o).map((key) => {
101
+ const components = Object.keys(index$1o).map((key) => {
104
102
  return index$1o[key];
105
103
  });
104
+ const proComponents = Object.keys(index$1p).map((key) => {
105
+ return index$1p[key];
106
+ });
106
107
  const installComponents = [...components, ...proComponents].filter((comp) => {
107
108
  return typeof comp === "object" && comp.name && typeof comp.install === "function";
108
109
  });
@@ -227,12 +228,13 @@ exports.FcCodeEditorInput = index$1d.FcCodeEditorInput;
227
228
  exports.FcRichEditor = index$1e.FcRichEditor;
228
229
  exports.FcRichEditorInput = index$1e.FcRichEditorInput;
229
230
  exports.FcLovText = index$1f.FcLovText;
230
- exports.FcProSidebarMainLayout = index$1g.FcProSidebarMainLayout;
231
- exports.FcProDataTable = index$1h.FcProDataTable;
232
- exports.FcProForm = index$1i.FcProForm;
233
- exports.FcProTreeCheckFilter = index$1j.FcProTreeCheckFilter;
234
- exports.FcProTreeTransfer = index$1k.FcProTreeTransfer;
235
- exports.FcProEditFormCard = index$1l.FcProEditFormCard;
236
- exports.FcProFormDialog = index$1m.FcProFormDialog;
231
+ exports.FcDotStatus = index$1g.FcDotStatus;
232
+ exports.FcProSidebarMainLayout = index$1h.FcProSidebarMainLayout;
233
+ exports.FcProDataTable = index$1i.FcProDataTable;
234
+ exports.FcProForm = index$1j.FcProForm;
235
+ exports.FcProTreeCheckFilter = index$1k.FcProTreeCheckFilter;
236
+ exports.FcProTreeTransfer = index$1l.FcProTreeTransfer;
237
+ exports.FcProEditFormCard = index$1m.FcProEditFormCard;
238
+ exports.FcProFormDialog = index$1n.FcProFormDialog;
237
239
  exports.default = index;
238
240
  exports.install = install;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const version = "1.1.17";
5
+ const version = "1.1.19";
6
6
 
7
7
  exports.version = version;
@@ -76,6 +76,7 @@ import '../../components/ContextMenu/index.mjs';
76
76
  import '../../components/CodeEditor/index.mjs';
77
77
  import '../../components/RichEditor/index.mjs';
78
78
  import '../../components/LovText/index.mjs';
79
+ import '../../components/DotStatus/index.mjs';
79
80
  import _sfc_main$1 from '../ProForm/ProForm.vue.mjs';
80
81
  /* empty css */
81
82
  import { useElementSize } from '@vueuse/core';
@@ -75,6 +75,7 @@ import '../../components/ContextMenu/index.mjs';
75
75
  import '../../components/CodeEditor/index.mjs';
76
76
  import '../../components/RichEditor/index.mjs';
77
77
  import '../../components/LovText/index.mjs';
78
+ import '../../components/DotStatus/index.mjs';
78
79
  import _sfc_main$1 from '../ProForm/ProForm.vue.mjs';
79
80
  /* empty css */
80
81
  import cloneDeep from '../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.mjs';
@@ -76,6 +76,7 @@ import '../../components/ContextMenu/index.mjs';
76
76
  import '../../components/CodeEditor/index.mjs';
77
77
  import '../../components/RichEditor/index.mjs';
78
78
  import '../../components/LovText/index.mjs';
79
+ import '../../components/DotStatus/index.mjs';
79
80
  import { ComponentsMap } from './componentsMap.mjs';
80
81
  import isPlainObject from '../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.mjs';
81
82
  import cloneDeep from '../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.mjs';
@@ -76,6 +76,7 @@ import '../../components/ContextMenu/index.mjs';
76
76
  import '../../components/CodeEditor/index.mjs';
77
77
  import '../../components/RichEditor/index.mjs';
78
78
  import '../../components/LovText/index.mjs';
79
+ import '../../components/DotStatus/index.mjs';
79
80
  import { useNamespace } from '../../hooks/use-namespace.mjs';
80
81
 
81
82
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -85,17 +86,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
86
  __name: "SidebarMainLayout",
86
87
  props: {
87
88
  leftBorder: { type: Boolean, default: true },
88
- rightBorder: { type: Boolean, default: true }
89
+ rightBorder: { type: Boolean, default: true },
90
+ direction: { default: "vertical" }
89
91
  },
90
92
  setup(__props) {
91
93
  const ns = useNamespace("sidebar-main-layout");
92
94
  const rightContainer = ref(null);
93
- const { height } = useElementSize(rightContainer);
95
+ const { height, width } = useElementSize(rightContainer);
94
96
  return (_ctx, _cache) => {
95
97
  return openBlock(), createElementBlock("div", {
96
98
  class: normalizeClass(unref(ns).b())
97
99
  }, [
98
- _ctx.$slots.header ? (openBlock(), createElementBlock("div", {
100
+ _ctx.$slots.header && __props.direction === "vertical" ? (openBlock(), createElementBlock("div", {
99
101
  key: 0,
100
102
  class: normalizeClass(unref(ns).e("header"))
101
103
  }, [
@@ -124,11 +126,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
124
126
  createVNode(unref(FcSplitterPanel), { min: "50%" }, {
125
127
  default: withCtx(() => [
126
128
  createElementVNode("div", {
127
- ref_key: "rightContainer",
128
- ref: rightContainer,
129
- class: normalizeClass({ [unref(ns).e("right")]: true, [unref(ns).is("border")]: __props.rightBorder })
129
+ class: normalizeClass({ [unref(ns).e("right")]: true })
130
130
  }, [
131
- renderSlot(_ctx.$slots, "right", { height: unref(height) })
131
+ _ctx.$slots.header && __props.direction === "horizontal" ? (openBlock(), createElementBlock("div", {
132
+ key: 0,
133
+ class: normalizeClass({ [unref(ns).e("header")]: true })
134
+ }, [
135
+ renderSlot(_ctx.$slots, "header")
136
+ ], 2)) : createCommentVNode("", true),
137
+ createElementVNode("div", {
138
+ ref_key: "rightContainer",
139
+ ref: rightContainer,
140
+ class: normalizeClass({ [unref(ns).e("container")]: true, [unref(ns).is("border")]: __props.rightBorder })
141
+ }, [
142
+ renderSlot(_ctx.$slots, "right", {
143
+ height: unref(height),
144
+ width: unref(width)
145
+ })
146
+ ], 2)
132
147
  ], 2)
133
148
  ]),
134
149
  _: 3
@@ -76,6 +76,7 @@ import '../../components/ContextMenu/index.mjs';
76
76
  import '../../components/CodeEditor/index.mjs';
77
77
  import '../../components/RichEditor/index.mjs';
78
78
  import '../../components/LovText/index.mjs';
79
+ import '../../components/DotStatus/index.mjs';
79
80
  import { Search } from '@funcho/icons-vue';
80
81
  import { useElementSize } from '@vueuse/core';
81
82
 
@@ -78,6 +78,7 @@ import '../../components/ContextMenu/index.mjs';
78
78
  import '../../components/CodeEditor/index.mjs';
79
79
  import '../../components/RichEditor/index.mjs';
80
80
  import '../../components/LovText/index.mjs';
81
+ import '../../components/DotStatus/index.mjs';
81
82
 
82
83
  const _sfc_main = /* @__PURE__ */ defineComponent({
83
84
  ...{
@@ -10,7 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  props: {
11
11
  options: { default: () => [] }
12
12
  },
13
- setup(__props, { expose: __expose }) {
13
+ emits: ["command"],
14
+ setup(__props, { expose: __expose, emit: __emit }) {
14
15
  const position = ref({
15
16
  top: 0,
16
17
  left: 0,
@@ -20,14 +21,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  const triggerRef = ref({
21
22
  getBoundingClientRect: () => position.value
22
23
  });
24
+ const emits = __emit;
25
+ const handleCommand = (command) => {
26
+ emits("command", command, ...activeArgs.value);
27
+ };
23
28
  const elRef = ref();
24
- const show = (event) => {
29
+ const activeArgs = ref([]);
30
+ const show = (event, ...args) => {
25
31
  position.value = DOMRect.fromRect({
26
32
  x: event.clientX,
27
33
  y: event.clientY
28
34
  });
29
35
  event.preventDefault();
30
36
  elRef.value?.handleOpen();
37
+ activeArgs.value = args;
31
38
  };
32
39
  __expose(
33
40
  new Proxy(
@@ -54,7 +61,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
61
  },
55
62
  "virtual-triggering": "",
56
63
  trigger: "contextmenu",
57
- placement: "bottom-start"
64
+ placement: "bottom-start",
65
+ onCommand: handleCommand
58
66
  }, {
59
67
  dropdown: withCtx(() => [
60
68
  createVNode(unref(ElDropdownMenu), null, {
@@ -0,0 +1,11 @@
1
+ import { createElementBlock, openBlock } from 'vue';
2
+ import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
+
4
+ const _sfc_main = { };
5
+
6
+ function _sfc_render(_ctx, _cache) {
7
+ return (openBlock(), createElementBlock("div", null, "1"))
8
+ }
9
+ const DotStatus = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
10
+
11
+ export { DotStatus as default };
@@ -0,0 +1,6 @@
1
+ import DotStatus from './DotStatus.vue.mjs';
2
+ import { withInstall } from '../../_utils/with-install.mjs';
3
+
4
+ const FcDotStatus = withInstall(DotStatus);
5
+
6
+ export { FcDotStatus, FcDotStatus as default };
@@ -77,5 +77,6 @@ export { FcContextMenu } from './ContextMenu/index.mjs';
77
77
  export { FcCodeEditor, FcCodeEditorInput } from './CodeEditor/index.mjs';
78
78
  export { FcRichEditor, FcRichEditorInput } from './RichEditor/index.mjs';
79
79
  export { FcLovText } from './LovText/index.mjs';
80
+ export { FcDotStatus } from './DotStatus/index.mjs';
80
81
  export { default as FcLoadingDirective, default as vLoading } from '../node_modules/.pnpm/element-plus@2.13.5_patch_hash_415fe9eaeb4c26121ef1304c7dfbfaa75441fcd0d7ca1a8beb1acd12_87ac520f28bb40f5a8b03aa48269c150/node_modules/element-plus/es/components/loading/src/directive.mjs';
81
82
  export { default as FcLoadingService } from '../node_modules/.pnpm/element-plus@2.13.5_patch_hash_415fe9eaeb4c26121ef1304c7dfbfaa75441fcd0d7ca1a8beb1acd12_87ac520f28bb40f5a8b03aa48269c150/node_modules/element-plus/es/components/loading/src/service.mjs';
@@ -85,6 +85,7 @@ export { FcContextMenu } from './components/ContextMenu/index.mjs';
85
85
  export { FcCodeEditor, FcCodeEditorInput } from './components/CodeEditor/index.mjs';
86
86
  export { FcRichEditor, FcRichEditorInput } from './components/RichEditor/index.mjs';
87
87
  export { FcLovText } from './components/LovText/index.mjs';
88
+ export { FcDotStatus } from './components/DotStatus/index.mjs';
88
89
  export { FcProSidebarMainLayout } from './business/SidebarMainLayout/index.mjs';
89
90
  export { FcProDataTable } from './business/DataTable/index.mjs';
90
91
  export { FcProForm } from './business/ProForm/index.mjs';
@@ -1,3 +1,3 @@
1
- const version = "1.1.17";
1
+ const version = "1.1.19";
2
2
 
3
3
  export { version };
package/dist/style.css CHANGED
@@ -17051,6 +17051,8 @@ to {
17051
17051
  border-radius: 2px;
17052
17052
  }
17053
17053
  .fc-mkui-sidebar-main-layout__right {
17054
+ display: flex;
17055
+ flex-direction: column;
17054
17056
  height: 100%;
17055
17057
  margin-left: 6px;
17056
17058
  overflow: hidden;
@@ -17059,6 +17061,13 @@ to {
17059
17061
  border: 1px solid #c5d6ff;
17060
17062
  border-radius: 2px;
17061
17063
  }
17064
+ .fc-mkui-sidebar-main-layout__container {
17065
+ flex: 1;
17066
+ }
17067
+ .fc-mkui-sidebar-main-layout__container.is-border {
17068
+ border: 1px solid #c5d6ff;
17069
+ border-radius: 2px;
17070
+ }
17062
17071
  .fc-mkui-sidebar-main-layout__splitter .fc-ui-splitter-bar {
17063
17072
  --fc-ui-border-color-light: transparent;
17064
17073
  }.fc-mkui-pro-form__container.is-inline {
@@ -1,16 +1,19 @@
1
1
  type __VLS_Props = {
2
2
  leftBorder?: boolean;
3
3
  rightBorder?: boolean;
4
+ direction?: 'horizontal' | 'vertical';
4
5
  };
5
6
  declare function __VLS_template(): {
6
7
  attrs: Partial<{}>;
7
8
  slots: {
9
+ header?(_: {}): any;
8
10
  header?(_: {}): any;
9
11
  left?(_: {
10
12
  height: number;
11
13
  }): any;
12
14
  right?(_: {
13
15
  height: number;
16
+ width: number;
14
17
  }): any;
15
18
  };
16
19
  refs: {
@@ -20,6 +23,7 @@ declare function __VLS_template(): {
20
23
  };
21
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
25
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
+ direction: "horizontal" | "vertical";
23
27
  leftBorder: boolean;
24
28
  rightBorder: boolean;
25
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -2,7 +2,9 @@ export declare const FcProSidebarMainLayout: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
3
  leftBorder?: boolean;
4
4
  rightBorder?: boolean;
5
+ direction?: "horizontal" | "vertical";
5
6
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
+ direction: "horizontal" | "vertical";
6
8
  leftBorder: boolean;
7
9
  rightBorder: boolean;
8
10
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -17,7 +19,9 @@ export declare const FcProSidebarMainLayout: {
17
19
  }, Readonly<{
18
20
  leftBorder?: boolean;
19
21
  rightBorder?: boolean;
22
+ direction?: "horizontal" | "vertical";
20
23
  }> & Readonly<{}>, {}, {}, {}, {}, {
24
+ direction: "horizontal" | "vertical";
21
25
  leftBorder: boolean;
22
26
  rightBorder: boolean;
23
27
  }>;
@@ -27,17 +31,21 @@ export declare const FcProSidebarMainLayout: {
27
31
  } & import('vue').ComponentOptionsBase<Readonly<{
28
32
  leftBorder?: boolean;
29
33
  rightBorder?: boolean;
34
+ direction?: "horizontal" | "vertical";
30
35
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
36
+ direction: "horizontal" | "vertical";
31
37
  leftBorder: boolean;
32
38
  rightBorder: boolean;
33
39
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
34
40
  $slots: {
41
+ header?(_: {}): any;
35
42
  header?(_: {}): any;
36
43
  left?(_: {
37
44
  height: number;
38
45
  }): any;
39
46
  right?(_: {
40
47
  height: number;
48
+ width: number;
41
49
  }): any;
42
50
  };
43
51
  }) & import('vue').Plugin;
@@ -580,7 +580,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
580
580
  $route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
581
581
  $router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
582
582
  show: (event: MouseEvent) => void;
583
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
583
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
584
+ command: (...args: any[]) => any;
585
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
586
+ onCommand?: ((...args: any[]) => any) | undefined;
587
+ }>, {
584
588
  options: FcContextMenuOption[];
585
589
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
586
590
  elRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -1,7 +1,9 @@
1
1
  export declare const FcContextMenu: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
3
  options?: import('./ContextMenu.vue').FcContextMenuOption[];
4
- }> & Readonly<{}>, {
4
+ }> & Readonly<{
5
+ onCommand?: ((...args: any[]) => any) | undefined;
6
+ }>, {
5
7
  $: import('vue').ComponentInternalInstance;
6
8
  $data: {};
7
9
  $props: Partial<{
@@ -575,7 +577,9 @@ export declare const FcContextMenu: {
575
577
  $route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
576
578
  $router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
577
579
  show: (event: MouseEvent) => void;
578
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
580
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
581
+ command: (...args: any[]) => any;
582
+ }, import('vue').PublicProps, {
579
583
  options: import('./ContextMenu.vue').FcContextMenuOption[];
580
584
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
581
585
  elRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -1047,7 +1051,9 @@ export declare const FcContextMenu: {
1047
1051
  Defaults: {};
1048
1052
  }, Readonly<{
1049
1053
  options?: import('./ContextMenu.vue').FcContextMenuOption[];
1050
- }> & Readonly<{}>, {
1054
+ }> & Readonly<{
1055
+ onCommand?: ((...args: any[]) => any) | undefined;
1056
+ }>, {
1051
1057
  $: import('vue').ComponentInternalInstance;
1052
1058
  $data: {};
1053
1059
  $props: Partial<{
@@ -1629,7 +1635,9 @@ export declare const FcContextMenu: {
1629
1635
  __isSuspense?: never;
1630
1636
  } & import('vue').ComponentOptionsBase<Readonly<{
1631
1637
  options?: import('./ContextMenu.vue').FcContextMenuOption[];
1632
- }> & Readonly<{}>, {
1638
+ }> & Readonly<{
1639
+ onCommand?: ((...args: any[]) => any) | undefined;
1640
+ }>, {
1633
1641
  $: import('vue').ComponentInternalInstance;
1634
1642
  $data: {};
1635
1643
  $props: Partial<{
@@ -2203,7 +2211,9 @@ export declare const FcContextMenu: {
2203
2211
  $route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
2204
2212
  $router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
2205
2213
  show: (event: MouseEvent) => void;
2206
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
2214
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2215
+ command: (...args: any[]) => any;
2216
+ }, string, {
2207
2217
  options: import('./ContextMenu.vue').FcContextMenuOption[];
2208
2218
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
2209
2219
  export default FcContextMenu;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export declare const FcDotStatus: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
14
+ export default FcDotStatus;
15
+ export * from './DotStatus.types';
@@ -79,3 +79,4 @@ export * from './ContextMenu';
79
79
  export * from './CodeEditor';
80
80
  export * from './RichEditor';
81
81
  export * from './LovText';
82
+ export * from './DotStatus';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funcho/ui",
3
3
  "description": "@funcho ui library",
4
- "version": "1.1.17",
4
+ "version": "1.1.19",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.mjs",
@@ -46,8 +46,8 @@
46
46
  "vite-plugin-dts": "^4.5.4",
47
47
  "vitest": "^4.0.7",
48
48
  "vue": "^3.5.22",
49
- "@funcho/typescript-config": "0.0.1",
50
- "@funcho/icons-vue": "1.0.3"
49
+ "@funcho/icons-vue": "1.0.3",
50
+ "@funcho/typescript-config": "0.0.1"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "vue": "^3.5.22",