@sepveneto/dnde-core 0.4.8 → 0.4.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.
@@ -19,7 +19,7 @@ interface Base {
19
19
  meta?: {
20
20
  draggable?: boolean;
21
21
  visible?: boolean;
22
- fixed?: boolean;
22
+ fixed?: boolean | 'header' | 'footer';
23
23
  };
24
24
  schema?: {
25
25
  props?: SchemaItem[];
@@ -203,7 +203,7 @@ declare class Widget {
203
203
  get defaultStyle(): (vue.CSSProperties & WidgetPos) | undefined;
204
204
  get defaultData(): any[] | Record<string, any> | undefined;
205
205
  get draggable(): boolean;
206
- get isFixed(): boolean | undefined;
206
+ get isFixed(): false | "header" | "footer" | undefined;
207
207
  get visible(): boolean;
208
208
  get validatorProps(): Validator;
209
209
  get validatorStyle(): Validator;
@@ -19,7 +19,7 @@ interface Base {
19
19
  meta?: {
20
20
  draggable?: boolean;
21
21
  visible?: boolean;
22
- fixed?: boolean;
22
+ fixed?: boolean | 'header' | 'footer';
23
23
  };
24
24
  schema?: {
25
25
  props?: SchemaItem[];
@@ -203,7 +203,7 @@ declare class Widget {
203
203
  get defaultStyle(): (vue.CSSProperties & WidgetPos) | undefined;
204
204
  get defaultData(): any[] | Record<string, any> | undefined;
205
205
  get draggable(): boolean;
206
- get isFixed(): boolean | undefined;
206
+ get isFixed(): false | "header" | "footer" | undefined;
207
207
  get visible(): boolean;
208
208
  get validatorProps(): Validator;
209
209
  get validatorStyle(): Validator;
@@ -33,7 +33,12 @@ var Widget = class _Widget {
33
33
  }
34
34
  get isFixed() {
35
35
  var _a;
36
- return (_a = this._data.meta) == null ? void 0 : _a.fixed;
36
+ const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
37
+ if (fixed === true) {
38
+ return "header";
39
+ } else {
40
+ return fixed;
41
+ }
37
42
  }
38
43
  get visible() {
39
44
  var _a, _b;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Widget
3
- } from "./chunk-KHPFRVKB.js";
3
+ } from "./chunk-LTDSWBOW.js";
4
4
 
5
5
  // src/class/Container.ts
6
6
  var Container = class extends Widget {
@@ -69,7 +69,12 @@ var Widget = class _Widget {
69
69
  }
70
70
  get isFixed() {
71
71
  var _a;
72
- return (_a = this._data.meta) == null ? void 0 : _a.fixed;
72
+ const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
73
+ if (fixed === true) {
74
+ return "header";
75
+ } else {
76
+ return fixed;
77
+ }
73
78
  }
74
79
  get visible() {
75
80
  var _a, _b;
@@ -1,4 +1,4 @@
1
- import { m as Widget, I as IWidget } from '../Widget-DgKKmcEA.cjs';
1
+ import { m as Widget, I as IWidget } from '../Widget-CHTbCsAd.cjs';
2
2
  import 'element-plus';
3
3
  import 'vue';
4
4
  import 'async-validator';
@@ -1,4 +1,4 @@
1
- import { m as Widget, I as IWidget } from '../Widget-DgKKmcEA.js';
1
+ import { m as Widget, I as IWidget } from '../Widget-CHTbCsAd.js';
2
2
  import 'element-plus';
3
3
  import 'vue';
4
4
  import 'async-validator';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Container
3
- } from "../chunk-ZNYRMDSU.js";
4
- import "../chunk-KHPFRVKB.js";
3
+ } from "../chunk-XDF4SBRY.js";
4
+ import "../chunk-LTDSWBOW.js";
5
5
  import "../chunk-6FNC3XMI.js";
6
6
  export {
7
7
  Container
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { m as Widget } from '../Widget-DgKKmcEA.cjs';
2
+ import { m as Widget } from '../Widget-CHTbCsAd.cjs';
3
3
  import 'element-plus';
4
4
  import 'async-validator';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { m as Widget } from '../Widget-DgKKmcEA.js';
2
+ import { m as Widget } from '../Widget-CHTbCsAd.js';
3
3
  import 'element-plus';
4
4
  import 'async-validator';
5
5
 
@@ -67,7 +67,12 @@ var Widget = class _Widget {
67
67
  }
68
68
  get isFixed() {
69
69
  var _a;
70
- return (_a = this._data.meta) == null ? void 0 : _a.fixed;
70
+ const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
71
+ if (fixed === true) {
72
+ return "header";
73
+ } else {
74
+ return fixed;
75
+ }
71
76
  }
72
77
  get visible() {
73
78
  var _a, _b;
@@ -1,4 +1,4 @@
1
- export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-DgKKmcEA.cjs';
1
+ export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.cjs';
2
2
  import 'vue';
3
3
  import 'element-plus';
4
4
  import 'async-validator';
@@ -1,4 +1,4 @@
1
- export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-DgKKmcEA.js';
1
+ export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.js';
2
2
  import 'vue';
3
3
  import 'element-plus';
4
4
  import 'async-validator';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Widget
3
- } from "../chunk-KHPFRVKB.js";
3
+ } from "../chunk-LTDSWBOW.js";
4
4
  import "../chunk-6FNC3XMI.js";
5
5
  export {
6
6
  Widget
@@ -106,7 +106,12 @@ var Widget = class _Widget {
106
106
  }
107
107
  get isFixed() {
108
108
  var _a;
109
- return (_a = this._data.meta) == null ? void 0 : _a.fixed;
109
+ const fixed = (_a = this._data.meta) == null ? void 0 : _a.fixed;
110
+ if (fixed === true) {
111
+ return "header";
112
+ } else {
113
+ return fixed;
114
+ }
110
115
  }
111
116
  get visible() {
112
117
  var _a, _b;
@@ -1,6 +1,6 @@
1
1
  export { Container } from './Container.cjs';
2
2
  export { Node, RootNode } from './Node.cjs';
3
- export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-DgKKmcEA.cjs';
3
+ export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.cjs';
4
4
  import 'vue';
5
5
  import 'element-plus';
6
6
  import 'async-validator';
@@ -1,6 +1,6 @@
1
1
  export { Container } from './Container.js';
2
2
  export { Node, RootNode } from './Node.js';
3
- export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-DgKKmcEA.js';
3
+ export { O as Option, j as RadioButtonOption, R as RadioOption, l as SchemaItem, k as SchemaItemCustom, m as Widget } from '../Widget-CHTbCsAd.js';
4
4
  import 'vue';
5
5
  import 'element-plus';
6
6
  import 'async-validator';
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Container
3
- } from "../chunk-ZNYRMDSU.js";
3
+ } from "../chunk-XDF4SBRY.js";
4
4
  import {
5
5
  Node,
6
6
  RootNode
7
7
  } from "../chunk-KJZSF66T.js";
8
8
  import {
9
9
  Widget
10
- } from "../chunk-KHPFRVKB.js";
10
+ } from "../chunk-LTDSWBOW.js";
11
11
  import "../chunk-6FNC3XMI.js";
12
12
  export {
13
13
  Container,
@@ -2,6 +2,6 @@ export { EventEmitter } from './EventEmitter.cjs';
2
2
  export { schema } from './schema.cjs';
3
3
  export { widget, widgetType } from './widget.cjs';
4
4
  import 'element-plus';
5
- import '../Widget-DgKKmcEA.cjs';
5
+ import '../Widget-CHTbCsAd.cjs';
6
6
  import 'vue';
7
7
  import 'async-validator';
@@ -2,6 +2,6 @@ export { EventEmitter } from './EventEmitter.js';
2
2
  export { schema } from './schema.js';
3
3
  export { widget, widgetType } from './widget.js';
4
4
  import 'element-plus';
5
- import '../Widget-DgKKmcEA.js';
5
+ import '../Widget-CHTbCsAd.js';
6
6
  import 'vue';
7
7
  import 'async-validator';
@@ -1,5 +1,5 @@
1
1
  import { FormItemProps, InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance, DatePickerInstance, ColorPickerInstance } from 'element-plus';
2
- import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-DgKKmcEA.cjs';
2
+ import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-CHTbCsAd.cjs';
3
3
  import 'vue';
4
4
  import 'async-validator';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { FormItemProps, InputInstance, InputNumberInstance, SelectInstance, RadioInstance, SwitchInstance, DatePickerInstance, ColorPickerInstance } from 'element-plus';
2
- import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-DgKKmcEA.js';
2
+ import { l as SchemaItem, O as Option, R as RadioOption, j as RadioButtonOption } from '../Widget-CHTbCsAd.js';
3
3
  import 'vue';
4
4
  import 'async-validator';
5
5
 
@@ -1,4 +1,4 @@
1
- import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-DgKKmcEA.cjs';
1
+ import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-CHTbCsAd.cjs';
2
2
  import * as vue from 'vue';
3
3
  import 'element-plus';
4
4
  import 'async-validator';
@@ -43,7 +43,7 @@ declare const widget: {
43
43
  meta: {
44
44
  draggable?: boolean;
45
45
  visible?: boolean;
46
- fixed?: boolean;
46
+ fixed?: boolean | "header" | "footer";
47
47
  } | undefined;
48
48
  schema: {
49
49
  props: SchemaItem[] | undefined;
@@ -70,7 +70,7 @@ declare const widget: {
70
70
  meta: {
71
71
  draggable?: boolean;
72
72
  visible?: boolean;
73
- fixed?: boolean;
73
+ fixed?: boolean | "header" | "footer";
74
74
  } | undefined;
75
75
  schema: {
76
76
  props: SchemaItem[] | undefined;
@@ -1,4 +1,4 @@
1
- import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-DgKKmcEA.js';
1
+ import { I as IWidget, l as SchemaItem, W as WidgetPos, B as Base } from '../Widget-CHTbCsAd.js';
2
2
  import * as vue from 'vue';
3
3
  import 'element-plus';
4
4
  import 'async-validator';
@@ -43,7 +43,7 @@ declare const widget: {
43
43
  meta: {
44
44
  draggable?: boolean;
45
45
  visible?: boolean;
46
- fixed?: boolean;
46
+ fixed?: boolean | "header" | "footer";
47
47
  } | undefined;
48
48
  schema: {
49
49
  props: SchemaItem[] | undefined;
@@ -70,7 +70,7 @@ declare const widget: {
70
70
  meta: {
71
71
  draggable?: boolean;
72
72
  visible?: boolean;
73
- fixed?: boolean;
73
+ fixed?: boolean | "header" | "footer";
74
74
  } | undefined;
75
75
  schema: {
76
76
  props: SchemaItem[] | undefined;
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ export { schema } from './helper/schema.cjs';
3
3
  export { widget, widgetType } from './helper/widget.cjs';
4
4
  export { createCopy, createDelete } from './internal.cjs';
5
5
  export { EditorContext, editorContextKey } from './tokens.cjs';
6
- export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-DgKKmcEA.cjs';
6
+ export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.cjs';
7
7
  import 'element-plus';
8
8
  import 'vue';
9
9
  import './class/Node.cjs';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { schema } from './helper/schema.js';
3
3
  export { widget, widgetType } from './helper/widget.js';
4
4
  export { createCopy, createDelete } from './internal.js';
5
5
  export { EditorContext, editorContextKey } from './tokens.js';
6
- export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-DgKKmcEA.js';
6
+ export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.js';
7
7
  import 'element-plus';
8
8
  import 'vue';
9
9
  import './class/Node.js';
@@ -1,6 +1,6 @@
1
1
  import { Node } from './class/Node.cjs';
2
2
  import 'vue';
3
- import './Widget-DgKKmcEA.cjs';
3
+ import './Widget-CHTbCsAd.cjs';
4
4
  import 'element-plus';
5
5
  import 'async-validator';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { Node } from './class/Node.js';
2
2
  import 'vue';
3
- import './Widget-DgKKmcEA.js';
3
+ import './Widget-CHTbCsAd.js';
4
4
  import 'element-plus';
5
5
  import 'async-validator';
6
6
 
package/dist/tokens.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { InjectionKey } from 'vue';
2
2
  import { EventEmitter } from './helper/EventEmitter.cjs';
3
3
  import { Node } from './class/Node.cjs';
4
- import './Widget-DgKKmcEA.cjs';
4
+ import './Widget-CHTbCsAd.cjs';
5
5
  import 'element-plus';
6
6
  import 'async-validator';
7
7
 
package/dist/tokens.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { InjectionKey } from 'vue';
2
2
  import { EventEmitter } from './helper/EventEmitter.js';
3
3
  import { Node } from './class/Node.js';
4
- import './Widget-DgKKmcEA.js';
4
+ import './Widget-CHTbCsAd.js';
5
5
  import 'element-plus';
6
6
  import 'async-validator';
7
7
 
package/dist/types.d.cts CHANGED
@@ -1,4 +1,4 @@
1
1
  import 'element-plus';
2
2
  import 'vue';
3
- export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-DgKKmcEA.cjs';
3
+ export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.cjs';
4
4
  import 'async-validator';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import 'element-plus';
2
2
  import 'vue';
3
- export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-DgKKmcEA.js';
3
+ export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-CHTbCsAd.js';
4
4
  import 'async-validator';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sepveneto/dnde-core",
3
3
  "type": "module",
4
- "version": "0.4.8",
4
+ "version": "0.4.9",
5
5
  "description": "",
6
6
  "author": "sepveneto",
7
7
  "license": "MIT",