@ethereal-nexus/core 0.2.2 → 0.3.0
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/functions/component/component.d.mts +4 -3
- package/dist/functions/component/component.d.ts +4 -3
- package/dist/functions/component/component.js +19 -4
- package/dist/functions/component/component.js.map +1 -1
- package/dist/functions/component/component.mjs +19 -4
- package/dist/functions/component/component.mjs.map +1 -1
- package/dist/functions/component/index.js +19 -4
- package/dist/functions/component/index.js.map +1 -1
- package/dist/functions/component/index.mjs +19 -4
- package/dist/functions/component/index.mjs.map +1 -1
- package/dist/functions/index.js +19 -4
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +19 -4
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +165 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +160 -18
- package/dist/index.mjs.map +1 -1
- package/dist/schema/calendar/calendar.d.mts +21 -0
- package/dist/schema/calendar/calendar.d.ts +21 -0
- package/dist/schema/calendar/calendar.js +53 -0
- package/dist/schema/calendar/calendar.js.map +1 -0
- package/dist/schema/calendar/calendar.mjs +28 -0
- package/dist/schema/calendar/calendar.mjs.map +1 -0
- package/dist/schema/calendar/index.d.mts +3 -0
- package/dist/schema/calendar/index.d.ts +3 -0
- package/dist/schema/calendar/index.js +55 -0
- package/dist/schema/calendar/index.js.map +1 -0
- package/dist/schema/calendar/index.mjs +28 -0
- package/dist/schema/calendar/index.mjs.map +1 -0
- package/dist/schema/checkbox/checkbox.d.mts +1 -0
- package/dist/schema/checkbox/checkbox.d.ts +1 -0
- package/dist/schema/checkbox/checkbox.js +4 -2
- package/dist/schema/checkbox/checkbox.js.map +1 -1
- package/dist/schema/checkbox/checkbox.mjs +4 -2
- package/dist/schema/checkbox/checkbox.mjs.map +1 -1
- package/dist/schema/checkbox/index.js +4 -2
- package/dist/schema/checkbox/index.js.map +1 -1
- package/dist/schema/checkbox/index.mjs +4 -2
- package/dist/schema/checkbox/index.mjs.map +1 -1
- package/dist/schema/datamodel/datamodel.d.mts +12 -0
- package/dist/schema/datamodel/datamodel.d.ts +12 -0
- package/dist/schema/datamodel/datamodel.js +49 -0
- package/dist/schema/datamodel/datamodel.js.map +1 -0
- package/dist/schema/datamodel/datamodel.mjs +24 -0
- package/dist/schema/datamodel/datamodel.mjs.map +1 -0
- package/dist/schema/datamodel/index.d.mts +3 -0
- package/dist/schema/datamodel/index.d.ts +3 -0
- package/dist/schema/datamodel/index.js +51 -0
- package/dist/schema/datamodel/index.js.map +1 -0
- package/dist/schema/datamodel/index.mjs +24 -0
- package/dist/schema/datamodel/index.mjs.map +1 -0
- package/dist/schema/datasource/datasource.d.mts +24 -0
- package/dist/schema/datasource/datasource.d.ts +24 -0
- package/dist/schema/datasource/datasource.js +52 -0
- package/dist/schema/datasource/datasource.js.map +1 -0
- package/dist/schema/datasource/datasource.mjs +27 -0
- package/dist/schema/datasource/datasource.mjs.map +1 -0
- package/dist/schema/datasource/index.d.mts +3 -0
- package/dist/schema/datasource/index.d.ts +3 -0
- package/dist/schema/datasource/index.js +54 -0
- package/dist/schema/datasource/index.js.map +1 -0
- package/dist/schema/datasource/index.mjs +27 -0
- package/dist/schema/datasource/index.mjs.map +1 -0
- package/dist/schema/dynamic/dynamic.d.mts +14 -0
- package/dist/schema/dynamic/dynamic.d.ts +14 -0
- package/dist/schema/dynamic/dynamic.js +44 -0
- package/dist/schema/dynamic/dynamic.js.map +1 -0
- package/dist/schema/dynamic/dynamic.mjs +19 -0
- package/dist/schema/dynamic/dynamic.mjs.map +1 -0
- package/dist/schema/dynamic/index.d.mts +3 -0
- package/dist/schema/dynamic/index.d.ts +3 -0
- package/dist/schema/dynamic/index.js +46 -0
- package/dist/schema/dynamic/index.js.map +1 -0
- package/dist/schema/dynamic/index.mjs +19 -0
- package/dist/schema/dynamic/index.mjs.map +1 -0
- package/dist/schema/group/group.d.mts +20 -0
- package/dist/schema/group/group.d.ts +20 -0
- package/dist/schema/group/group.js +50 -0
- package/dist/schema/group/group.js.map +1 -0
- package/dist/schema/group/group.mjs +25 -0
- package/dist/schema/group/group.mjs.map +1 -0
- package/dist/schema/group/index.d.mts +4 -0
- package/dist/schema/group/index.d.ts +4 -0
- package/dist/schema/group/index.js +52 -0
- package/dist/schema/group/index.js.map +1 -0
- package/dist/schema/group/index.mjs +25 -0
- package/dist/schema/group/index.mjs.map +1 -0
- package/dist/schema/image/image.d.mts +0 -1
- package/dist/schema/image/image.d.ts +0 -1
- package/dist/schema/image/image.js +3 -2
- package/dist/schema/image/image.js.map +1 -1
- package/dist/schema/image/image.mjs +3 -2
- package/dist/schema/image/image.mjs.map +1 -1
- package/dist/schema/image/index.js +3 -2
- package/dist/schema/image/index.js.map +1 -1
- package/dist/schema/image/index.mjs +3 -2
- package/dist/schema/image/index.mjs.map +1 -1
- package/dist/schema/multifield/index.js +2 -1
- package/dist/schema/multifield/index.js.map +1 -1
- package/dist/schema/multifield/index.mjs +2 -1
- package/dist/schema/multifield/index.mjs.map +1 -1
- package/dist/schema/multifield/multifield.js +2 -1
- package/dist/schema/multifield/multifield.js.map +1 -1
- package/dist/schema/multifield/multifield.mjs +2 -1
- package/dist/schema/multifield/multifield.mjs.map +1 -1
- package/dist/schema/pathbrowser/index.js +4 -2
- package/dist/schema/pathbrowser/index.js.map +1 -1
- package/dist/schema/pathbrowser/index.mjs +4 -2
- package/dist/schema/pathbrowser/index.mjs.map +1 -1
- package/dist/schema/pathbrowser/pathbrowser.js +4 -2
- package/dist/schema/pathbrowser/pathbrowser.js.map +1 -1
- package/dist/schema/pathbrowser/pathbrowser.mjs +4 -2
- package/dist/schema/pathbrowser/pathbrowser.mjs.map +1 -1
- package/dist/schema/rte/index.js +4 -2
- package/dist/schema/rte/index.js.map +1 -1
- package/dist/schema/rte/index.mjs +4 -2
- package/dist/schema/rte/index.mjs.map +1 -1
- package/dist/schema/rte/rte.d.mts +1 -1
- package/dist/schema/rte/rte.d.ts +1 -1
- package/dist/schema/rte/rte.js +4 -2
- package/dist/schema/rte/rte.js.map +1 -1
- package/dist/schema/rte/rte.mjs +4 -2
- package/dist/schema/rte/rte.mjs.map +1 -1
- package/dist/schema/select/index.js +7 -3
- package/dist/schema/select/index.js.map +1 -1
- package/dist/schema/select/index.mjs +7 -3
- package/dist/schema/select/index.mjs.map +1 -1
- package/dist/schema/select/select.d.mts +7 -2
- package/dist/schema/select/select.d.ts +7 -2
- package/dist/schema/select/select.js +7 -3
- package/dist/schema/select/select.js.map +1 -1
- package/dist/schema/select/select.mjs +7 -3
- package/dist/schema/select/select.mjs.map +1 -1
- package/dist/schema/text/index.js +4 -2
- package/dist/schema/text/index.js.map +1 -1
- package/dist/schema/text/index.mjs +4 -2
- package/dist/schema/text/index.mjs.map +1 -1
- package/dist/schema/text/text.d.mts +1 -1
- package/dist/schema/text/text.d.ts +1 -1
- package/dist/schema/text/text.js +4 -2
- package/dist/schema/text/text.js.map +1 -1
- package/dist/schema/text/text.mjs +4 -2
- package/dist/schema/text/text.mjs.map +1 -1
- package/dist/types/object.d.mts +7 -1
- package/dist/types/object.d.ts +7 -1
- package/dist/types/object.js.map +1 -1
- package/dist/types/schema.d.mts +2 -0
- package/dist/types/schema.d.ts +2 -0
- package/dist/types/schema.js.map +1 -1
- package/package.json +7 -7
- package/LICENSE.md +0 -201
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { BaseSchema } from '../../types/schema.mjs';
|
|
2
2
|
import { ComponentModel } from '../../types/component.mjs';
|
|
3
|
-
import { ObjectEntries, ObjectOutput } from '../../types/object.mjs';
|
|
3
|
+
import { ObjectEntries, SlotEntries, ObjectOutput } from '../../types/object.mjs';
|
|
4
4
|
import { DialogSchema } from '../../schema/dialog/dialog.mjs';
|
|
5
5
|
import '../../types/webcomponent.mjs';
|
|
6
6
|
import '../../schema/optional/optional.mjs';
|
|
7
7
|
import '../../types/utils.mjs';
|
|
8
8
|
|
|
9
|
-
interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {
|
|
9
|
+
interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {
|
|
10
10
|
type: 'component';
|
|
11
11
|
dialog: Omit<DialogSchema<TEntries>, 'tabs'>;
|
|
12
|
+
slots?: TSlots;
|
|
12
13
|
}
|
|
13
|
-
declare function component<TEntries extends ObjectEntries>(config: Partial<ComponentModel>,
|
|
14
|
+
declare function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(config: Partial<ComponentModel>, dialog: Omit<DialogSchema<TEntries>, 'tabs'>, slots?: TSlots): ComponentSchema<TEntries, TSlots>;
|
|
14
15
|
|
|
15
16
|
export { type ComponentSchema, component };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { BaseSchema } from '../../types/schema.js';
|
|
2
2
|
import { ComponentModel } from '../../types/component.js';
|
|
3
|
-
import { ObjectEntries, ObjectOutput } from '../../types/object.js';
|
|
3
|
+
import { ObjectEntries, SlotEntries, ObjectOutput } from '../../types/object.js';
|
|
4
4
|
import { DialogSchema } from '../../schema/dialog/dialog.js';
|
|
5
5
|
import '../../types/webcomponent.js';
|
|
6
6
|
import '../../schema/optional/optional.js';
|
|
7
7
|
import '../../types/utils.js';
|
|
8
8
|
|
|
9
|
-
interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {
|
|
9
|
+
interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {
|
|
10
10
|
type: 'component';
|
|
11
11
|
dialog: Omit<DialogSchema<TEntries>, 'tabs'>;
|
|
12
|
+
slots?: TSlots;
|
|
12
13
|
}
|
|
13
|
-
declare function component<TEntries extends ObjectEntries>(config: Partial<ComponentModel>,
|
|
14
|
+
declare function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(config: Partial<ComponentModel>, dialog: Omit<DialogSchema<TEntries>, 'tabs'>, slots?: TSlots): ComponentSchema<TEntries, TSlots>;
|
|
14
15
|
|
|
15
16
|
export { type ComponentSchema, component };
|
|
@@ -23,18 +23,33 @@ __export(component_exports, {
|
|
|
23
23
|
component: () => component
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(component_exports);
|
|
26
|
-
function component(config,
|
|
26
|
+
function component(config, dialog, slots) {
|
|
27
|
+
const slotsParse = slots ? Object.entries(slots).map(
|
|
28
|
+
([key, slot]) => ({
|
|
29
|
+
id: key,
|
|
30
|
+
name: key,
|
|
31
|
+
...slot._parse()
|
|
32
|
+
})
|
|
33
|
+
) : [];
|
|
34
|
+
const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {
|
|
35
|
+
acc[key] = slot._primitive();
|
|
36
|
+
return acc;
|
|
37
|
+
}, {}) : [];
|
|
27
38
|
return {
|
|
28
39
|
type: "component",
|
|
29
|
-
dialog
|
|
40
|
+
dialog,
|
|
30
41
|
_parse() {
|
|
31
42
|
return {
|
|
32
43
|
...config,
|
|
33
|
-
...
|
|
44
|
+
...dialog._parse(),
|
|
45
|
+
dynamiczones: slotsParse
|
|
34
46
|
};
|
|
35
47
|
},
|
|
36
48
|
_primitive() {
|
|
37
|
-
return
|
|
49
|
+
return {
|
|
50
|
+
...dialog._primitive(),
|
|
51
|
+
...slotsPrimitives
|
|
52
|
+
};
|
|
38
53
|
},
|
|
39
54
|
...config
|
|
40
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/functions/component/component.ts"],"sourcesContent":["import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n}\n\nexport function component<TEntries extends ObjectEntries>(\n config: Partial<ComponentModel>,\n
|
|
1
|
+
{"version":3,"sources":["../../../src/functions/component/component.ts"],"sourcesContent":["import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput, SlotEntries } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n slots?: TSlots,\n}\n\nexport function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(\n config: Partial<ComponentModel>,\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>,\n slots?: TSlots,\n): ComponentSchema<TEntries, TSlots> {\n\n const slotsParse = slots ? Object.entries(slots).map(([key, slot]) => (\n {\n id: key,\n name: key,\n ...slot._parse(),\n }),\n ) : [];\n const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {\n acc[key] = slot._primitive();\n return acc\n }, {} as Record<string, WebcomponentPropTypes | Record<string, WebcomponentPropTypes>>) : [];\n\n return {\n type: 'component',\n dialog,\n _parse() {\n return {\n ...config,\n ...dialog._parse(),\n dynamiczones: slotsParse,\n };\n },\n _primitive() {\n return {\n ...dialog._primitive() as object,\n ...slotsPrimitives as object,\n };\n },\n ...config,\n };\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWO,SAAS,UACd,QACA,QACA,OACmC;AAEnC,QAAM,aAAa,QAAQ,OAAO,QAAQ,KAAK,EAAE;AAAA,IAAI,CAAC,CAAC,KAAK,IAAI,OAC9D;AAAA,MACE,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAG,KAAK,OAAO;AAAA,IACjB;AAAA,EACF,IAAI,CAAC;AACL,QAAM,kBAAkB,QAAQ,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;AACjF,QAAI,GAAG,IAAI,KAAK,WAAW;AAC3B,WAAO;AAAA,EACT,GAAG,CAAC,CAAkF,IAAI,CAAC;AAE3F,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,IACA,SAAS;AACP,aAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAG,OAAO,OAAO;AAAA,QACjB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,QACL,GAAG,OAAO,WAAW;AAAA,QACrB,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
|
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
// src/functions/component/component.ts
|
|
2
|
-
function component(config,
|
|
2
|
+
function component(config, dialog, slots) {
|
|
3
|
+
const slotsParse = slots ? Object.entries(slots).map(
|
|
4
|
+
([key, slot]) => ({
|
|
5
|
+
id: key,
|
|
6
|
+
name: key,
|
|
7
|
+
...slot._parse()
|
|
8
|
+
})
|
|
9
|
+
) : [];
|
|
10
|
+
const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {
|
|
11
|
+
acc[key] = slot._primitive();
|
|
12
|
+
return acc;
|
|
13
|
+
}, {}) : [];
|
|
3
14
|
return {
|
|
4
15
|
type: "component",
|
|
5
|
-
dialog
|
|
16
|
+
dialog,
|
|
6
17
|
_parse() {
|
|
7
18
|
return {
|
|
8
19
|
...config,
|
|
9
|
-
...
|
|
20
|
+
...dialog._parse(),
|
|
21
|
+
dynamiczones: slotsParse
|
|
10
22
|
};
|
|
11
23
|
},
|
|
12
24
|
_primitive() {
|
|
13
|
-
return
|
|
25
|
+
return {
|
|
26
|
+
...dialog._primitive(),
|
|
27
|
+
...slotsPrimitives
|
|
28
|
+
};
|
|
14
29
|
},
|
|
15
30
|
...config
|
|
16
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/functions/component/component.ts"],"sourcesContent":["import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n}\n\nexport function component<TEntries extends ObjectEntries>(\n config: Partial<ComponentModel>,\n
|
|
1
|
+
{"version":3,"sources":["../../../src/functions/component/component.ts"],"sourcesContent":["import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput, SlotEntries } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n slots?: TSlots,\n}\n\nexport function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(\n config: Partial<ComponentModel>,\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>,\n slots?: TSlots,\n): ComponentSchema<TEntries, TSlots> {\n\n const slotsParse = slots ? Object.entries(slots).map(([key, slot]) => (\n {\n id: key,\n name: key,\n ...slot._parse(),\n }),\n ) : [];\n const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {\n acc[key] = slot._primitive();\n return acc\n }, {} as Record<string, WebcomponentPropTypes | Record<string, WebcomponentPropTypes>>) : [];\n\n return {\n type: 'component',\n dialog,\n _parse() {\n return {\n ...config,\n ...dialog._parse(),\n dynamiczones: slotsParse,\n };\n },\n _primitive() {\n return {\n ...dialog._primitive() as object,\n ...slotsPrimitives as object,\n };\n },\n ...config,\n };\n}"],"mappings":";AAWO,SAAS,UACd,QACA,QACA,OACmC;AAEnC,QAAM,aAAa,QAAQ,OAAO,QAAQ,KAAK,EAAE;AAAA,IAAI,CAAC,CAAC,KAAK,IAAI,OAC9D;AAAA,MACE,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAG,KAAK,OAAO;AAAA,IACjB;AAAA,EACF,IAAI,CAAC;AACL,QAAM,kBAAkB,QAAQ,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;AACjF,QAAI,GAAG,IAAI,KAAK,WAAW;AAC3B,WAAO;AAAA,EACT,GAAG,CAAC,CAAkF,IAAI,CAAC;AAE3F,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,IACA,SAAS;AACP,aAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAG,OAAO,OAAO;AAAA,QACjB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,QACL,GAAG,OAAO,WAAW;AAAA,QACrB,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
|
|
@@ -25,18 +25,33 @@ __export(component_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(component_exports);
|
|
26
26
|
|
|
27
27
|
// src/functions/component/component.ts
|
|
28
|
-
function component(config,
|
|
28
|
+
function component(config, dialog, slots) {
|
|
29
|
+
const slotsParse = slots ? Object.entries(slots).map(
|
|
30
|
+
([key, slot]) => ({
|
|
31
|
+
id: key,
|
|
32
|
+
name: key,
|
|
33
|
+
...slot._parse()
|
|
34
|
+
})
|
|
35
|
+
) : [];
|
|
36
|
+
const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {
|
|
37
|
+
acc[key] = slot._primitive();
|
|
38
|
+
return acc;
|
|
39
|
+
}, {}) : [];
|
|
29
40
|
return {
|
|
30
41
|
type: "component",
|
|
31
|
-
dialog
|
|
42
|
+
dialog,
|
|
32
43
|
_parse() {
|
|
33
44
|
return {
|
|
34
45
|
...config,
|
|
35
|
-
...
|
|
46
|
+
...dialog._parse(),
|
|
47
|
+
dynamiczones: slotsParse
|
|
36
48
|
};
|
|
37
49
|
},
|
|
38
50
|
_primitive() {
|
|
39
|
-
return
|
|
51
|
+
return {
|
|
52
|
+
...dialog._primitive(),
|
|
53
|
+
...slotsPrimitives
|
|
54
|
+
};
|
|
40
55
|
},
|
|
41
56
|
...config
|
|
42
57
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/functions/component/index.ts","../../../src/functions/component/component.ts"],"sourcesContent":["export * from './component';\n","import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n}\n\nexport function component<TEntries extends ObjectEntries>(\n config: Partial<ComponentModel>,\n
|
|
1
|
+
{"version":3,"sources":["../../../src/functions/component/index.ts","../../../src/functions/component/component.ts"],"sourcesContent":["export * from './component';\n","import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput, SlotEntries } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n slots?: TSlots,\n}\n\nexport function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(\n config: Partial<ComponentModel>,\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>,\n slots?: TSlots,\n): ComponentSchema<TEntries, TSlots> {\n\n const slotsParse = slots ? Object.entries(slots).map(([key, slot]) => (\n {\n id: key,\n name: key,\n ...slot._parse(),\n }),\n ) : [];\n const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {\n acc[key] = slot._primitive();\n return acc\n }, {} as Record<string, WebcomponentPropTypes | Record<string, WebcomponentPropTypes>>) : [];\n\n return {\n type: 'component',\n dialog,\n _parse() {\n return {\n ...config,\n ...dialog._parse(),\n dynamiczones: slotsParse,\n };\n },\n _primitive() {\n return {\n ...dialog._primitive() as object,\n ...slotsPrimitives as object,\n };\n },\n ...config,\n };\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACWO,SAAS,UACd,QACA,QACA,OACmC;AAEnC,QAAM,aAAa,QAAQ,OAAO,QAAQ,KAAK,EAAE;AAAA,IAAI,CAAC,CAAC,KAAK,IAAI,OAC9D;AAAA,MACE,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAG,KAAK,OAAO;AAAA,IACjB;AAAA,EACF,IAAI,CAAC;AACL,QAAM,kBAAkB,QAAQ,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;AACjF,QAAI,GAAG,IAAI,KAAK,WAAW;AAC3B,WAAO;AAAA,EACT,GAAG,CAAC,CAAkF,IAAI,CAAC;AAE3F,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,IACA,SAAS;AACP,aAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAG,OAAO,OAAO;AAAA,QACjB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,QACL,GAAG,OAAO,WAAW;AAAA,QACrB,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
|
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
// src/functions/component/component.ts
|
|
2
|
-
function component(config,
|
|
2
|
+
function component(config, dialog, slots) {
|
|
3
|
+
const slotsParse = slots ? Object.entries(slots).map(
|
|
4
|
+
([key, slot]) => ({
|
|
5
|
+
id: key,
|
|
6
|
+
name: key,
|
|
7
|
+
...slot._parse()
|
|
8
|
+
})
|
|
9
|
+
) : [];
|
|
10
|
+
const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {
|
|
11
|
+
acc[key] = slot._primitive();
|
|
12
|
+
return acc;
|
|
13
|
+
}, {}) : [];
|
|
3
14
|
return {
|
|
4
15
|
type: "component",
|
|
5
|
-
dialog
|
|
16
|
+
dialog,
|
|
6
17
|
_parse() {
|
|
7
18
|
return {
|
|
8
19
|
...config,
|
|
9
|
-
...
|
|
20
|
+
...dialog._parse(),
|
|
21
|
+
dynamiczones: slotsParse
|
|
10
22
|
};
|
|
11
23
|
},
|
|
12
24
|
_primitive() {
|
|
13
|
-
return
|
|
25
|
+
return {
|
|
26
|
+
...dialog._primitive(),
|
|
27
|
+
...slotsPrimitives
|
|
28
|
+
};
|
|
14
29
|
},
|
|
15
30
|
...config
|
|
16
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/functions/component/component.ts"],"sourcesContent":["import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n}\n\nexport function component<TEntries extends ObjectEntries>(\n config: Partial<ComponentModel>,\n
|
|
1
|
+
{"version":3,"sources":["../../../src/functions/component/component.ts"],"sourcesContent":["import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput, SlotEntries } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n slots?: TSlots,\n}\n\nexport function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(\n config: Partial<ComponentModel>,\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>,\n slots?: TSlots,\n): ComponentSchema<TEntries, TSlots> {\n\n const slotsParse = slots ? Object.entries(slots).map(([key, slot]) => (\n {\n id: key,\n name: key,\n ...slot._parse(),\n }),\n ) : [];\n const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {\n acc[key] = slot._primitive();\n return acc\n }, {} as Record<string, WebcomponentPropTypes | Record<string, WebcomponentPropTypes>>) : [];\n\n return {\n type: 'component',\n dialog,\n _parse() {\n return {\n ...config,\n ...dialog._parse(),\n dynamiczones: slotsParse,\n };\n },\n _primitive() {\n return {\n ...dialog._primitive() as object,\n ...slotsPrimitives as object,\n };\n },\n ...config,\n };\n}"],"mappings":";AAWO,SAAS,UACd,QACA,QACA,OACmC;AAEnC,QAAM,aAAa,QAAQ,OAAO,QAAQ,KAAK,EAAE;AAAA,IAAI,CAAC,CAAC,KAAK,IAAI,OAC9D;AAAA,MACE,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAG,KAAK,OAAO;AAAA,IACjB;AAAA,EACF,IAAI,CAAC;AACL,QAAM,kBAAkB,QAAQ,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;AACjF,QAAI,GAAG,IAAI,KAAK,WAAW;AAC3B,WAAO;AAAA,EACT,GAAG,CAAC,CAAkF,IAAI,CAAC;AAE3F,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,IACA,SAAS;AACP,aAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAG,OAAO,OAAO;AAAA,QACjB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,QACL,GAAG,OAAO,WAAW;AAAA,QACrB,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
|
package/dist/functions/index.js
CHANGED
|
@@ -37,18 +37,33 @@ function parsePrimitives(schema) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
// src/functions/component/component.ts
|
|
40
|
-
function component(config,
|
|
40
|
+
function component(config, dialog, slots) {
|
|
41
|
+
const slotsParse = slots ? Object.entries(slots).map(
|
|
42
|
+
([key, slot]) => ({
|
|
43
|
+
id: key,
|
|
44
|
+
name: key,
|
|
45
|
+
...slot._parse()
|
|
46
|
+
})
|
|
47
|
+
) : [];
|
|
48
|
+
const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {
|
|
49
|
+
acc[key] = slot._primitive();
|
|
50
|
+
return acc;
|
|
51
|
+
}, {}) : [];
|
|
41
52
|
return {
|
|
42
53
|
type: "component",
|
|
43
|
-
dialog
|
|
54
|
+
dialog,
|
|
44
55
|
_parse() {
|
|
45
56
|
return {
|
|
46
57
|
...config,
|
|
47
|
-
...
|
|
58
|
+
...dialog._parse(),
|
|
59
|
+
dynamiczones: slotsParse
|
|
48
60
|
};
|
|
49
61
|
},
|
|
50
62
|
_primitive() {
|
|
51
|
-
return
|
|
63
|
+
return {
|
|
64
|
+
...dialog._primitive(),
|
|
65
|
+
...slotsPrimitives
|
|
66
|
+
};
|
|
52
67
|
},
|
|
53
68
|
...config
|
|
54
69
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/functions/index.ts","../../src/functions/parse/parse.ts","../../src/functions/parse/parsePrimitives.ts","../../src/functions/component/component.ts"],"sourcesContent":["export * from './parse'\nexport * from './component'\n","import { DialogSchema } from '../../schema/dialog';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parse<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._parse()\n}","import { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parsePrimitives<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._primitive() as Record<string, WebcomponentPropTypes>\n}","import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n}\n\nexport function component<TEntries extends ObjectEntries>(\n config: Partial<ComponentModel>,\n
|
|
1
|
+
{"version":3,"sources":["../../src/functions/index.ts","../../src/functions/parse/parse.ts","../../src/functions/parse/parsePrimitives.ts","../../src/functions/component/component.ts"],"sourcesContent":["export * from './parse'\nexport * from './component'\n","import { DialogSchema } from '../../schema/dialog';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parse<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._parse()\n}","import { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parsePrimitives<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._primitive() as Record<string, WebcomponentPropTypes>\n}","import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput, SlotEntries } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n slots?: TSlots,\n}\n\nexport function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(\n config: Partial<ComponentModel>,\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>,\n slots?: TSlots,\n): ComponentSchema<TEntries, TSlots> {\n\n const slotsParse = slots ? Object.entries(slots).map(([key, slot]) => (\n {\n id: key,\n name: key,\n ...slot._parse(),\n }),\n ) : [];\n const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {\n acc[key] = slot._primitive();\n return acc\n }, {} as Record<string, WebcomponentPropTypes | Record<string, WebcomponentPropTypes>>) : [];\n\n return {\n type: 'component',\n dialog,\n _parse() {\n return {\n ...config,\n ...dialog._parse(),\n dynamiczones: slotsParse,\n };\n },\n _primitive() {\n return {\n ...dialog._primitive() as object,\n ...slotsPrimitives as object,\n };\n },\n ...config,\n };\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,SAAS,MAA+B,QAAyB;AACtE,SAAO,OAAO,OAAO;AACvB;;;ACDO,SAAS,gBAAyC,QAAyB;AAChF,SAAO,OAAO,WAAW;AAC3B;;;ACKO,SAAS,UACd,QACA,QACA,OACmC;AAEnC,QAAM,aAAa,QAAQ,OAAO,QAAQ,KAAK,EAAE;AAAA,IAAI,CAAC,CAAC,KAAK,IAAI,OAC9D;AAAA,MACE,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAG,KAAK,OAAO;AAAA,IACjB;AAAA,EACF,IAAI,CAAC;AACL,QAAM,kBAAkB,QAAQ,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;AACjF,QAAI,GAAG,IAAI,KAAK,WAAW;AAC3B,WAAO;AAAA,EACT,GAAG,CAAC,CAAkF,IAAI,CAAC;AAE3F,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,IACA,SAAS;AACP,aAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAG,OAAO,OAAO;AAAA,QACjB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,QACL,GAAG,OAAO,WAAW;AAAA,QACrB,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
|
package/dist/functions/index.mjs
CHANGED
|
@@ -9,18 +9,33 @@ function parsePrimitives(schema) {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
// src/functions/component/component.ts
|
|
12
|
-
function component(config,
|
|
12
|
+
function component(config, dialog, slots) {
|
|
13
|
+
const slotsParse = slots ? Object.entries(slots).map(
|
|
14
|
+
([key, slot]) => ({
|
|
15
|
+
id: key,
|
|
16
|
+
name: key,
|
|
17
|
+
...slot._parse()
|
|
18
|
+
})
|
|
19
|
+
) : [];
|
|
20
|
+
const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {
|
|
21
|
+
acc[key] = slot._primitive();
|
|
22
|
+
return acc;
|
|
23
|
+
}, {}) : [];
|
|
13
24
|
return {
|
|
14
25
|
type: "component",
|
|
15
|
-
dialog
|
|
26
|
+
dialog,
|
|
16
27
|
_parse() {
|
|
17
28
|
return {
|
|
18
29
|
...config,
|
|
19
|
-
...
|
|
30
|
+
...dialog._parse(),
|
|
31
|
+
dynamiczones: slotsParse
|
|
20
32
|
};
|
|
21
33
|
},
|
|
22
34
|
_primitive() {
|
|
23
|
-
return
|
|
35
|
+
return {
|
|
36
|
+
...dialog._primitive(),
|
|
37
|
+
...slotsPrimitives
|
|
38
|
+
};
|
|
24
39
|
},
|
|
25
40
|
...config
|
|
26
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/functions/parse/parse.ts","../../src/functions/parse/parsePrimitives.ts","../../src/functions/component/component.ts"],"sourcesContent":["import { DialogSchema } from '../../schema/dialog';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parse<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._parse()\n}","import { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parsePrimitives<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._primitive() as Record<string, WebcomponentPropTypes>\n}","import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TOutput = ObjectOutput<TEntries>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n}\n\nexport function component<TEntries extends ObjectEntries>(\n config: Partial<ComponentModel>,\n
|
|
1
|
+
{"version":3,"sources":["../../src/functions/parse/parse.ts","../../src/functions/parse/parsePrimitives.ts","../../src/functions/component/component.ts"],"sourcesContent":["import { DialogSchema } from '../../schema/dialog';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parse<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._parse()\n}","import { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\nimport { ObjectEntries } from '../../types/object';\n\nexport function parsePrimitives<T extends ObjectEntries>(schema: DialogSchema<T>) {\n return schema._primitive() as Record<string, WebcomponentPropTypes>\n}","import { BaseSchema, ComponentModel } from '../../types';\nimport { ObjectEntries, ObjectOutput, SlotEntries } from '../../types/object';\nimport { DialogSchema } from '../../schema/dialog';\nimport { WebcomponentPropTypes } from '../../types/webcomponent';\n\nexport interface ComponentSchema<TEntries extends ObjectEntries, TSlots extends SlotEntries, TOutput = ObjectOutput<TEntries & TSlots>> extends BaseSchema<TOutput>, Partial<ComponentModel> {\n type: 'component';\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>;\n slots?: TSlots,\n}\n\nexport function component<TEntries extends ObjectEntries, TSlots extends SlotEntries>(\n config: Partial<ComponentModel>,\n dialog: Omit<DialogSchema<TEntries>, 'tabs'>,\n slots?: TSlots,\n): ComponentSchema<TEntries, TSlots> {\n\n const slotsParse = slots ? Object.entries(slots).map(([key, slot]) => (\n {\n id: key,\n name: key,\n ...slot._parse(),\n }),\n ) : [];\n const slotsPrimitives = slots ? Object.entries(slots).reduce((acc, [key, slot]) => {\n acc[key] = slot._primitive();\n return acc\n }, {} as Record<string, WebcomponentPropTypes | Record<string, WebcomponentPropTypes>>) : [];\n\n return {\n type: 'component',\n dialog,\n _parse() {\n return {\n ...config,\n ...dialog._parse(),\n dynamiczones: slotsParse,\n };\n },\n _primitive() {\n return {\n ...dialog._primitive() as object,\n ...slotsPrimitives as object,\n };\n },\n ...config,\n };\n}"],"mappings":";AAGO,SAAS,MAA+B,QAAyB;AACtE,SAAO,OAAO,OAAO;AACvB;;;ACDO,SAAS,gBAAyC,QAAyB;AAChF,SAAO,OAAO,WAAW;AAC3B;;;ACKO,SAAS,UACd,QACA,QACA,OACmC;AAEnC,QAAM,aAAa,QAAQ,OAAO,QAAQ,KAAK,EAAE;AAAA,IAAI,CAAC,CAAC,KAAK,IAAI,OAC9D;AAAA,MACE,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAG,KAAK,OAAO;AAAA,IACjB;AAAA,EACF,IAAI,CAAC;AACL,QAAM,kBAAkB,QAAQ,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;AACjF,QAAI,GAAG,IAAI,KAAK,WAAW;AAC3B,WAAO;AAAA,EACT,GAAG,CAAC,CAAkF,IAAI,CAAC;AAE3F,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,IACA,SAAS;AACP,aAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAG,OAAO,OAAO;AAAA,QACjB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,QACL,GAAG,OAAO,WAAW;AAAA,QACrB,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,11 @@ export { PathBrowserSchema, pathbrowser } from './schema/pathbrowser/pathbrowser
|
|
|
6
6
|
export { ImageSchema, image } from './schema/image/image.mjs';
|
|
7
7
|
export { SelectSchema, select } from './schema/select/select.mjs';
|
|
8
8
|
export { RichTextEditorSchema, rte } from './schema/rte/rte.mjs';
|
|
9
|
+
export { DynamicZoneSchema, dynamic } from './schema/dynamic/dynamic.mjs';
|
|
10
|
+
export { CalendarSchema, calendar } from './schema/calendar/calendar.mjs';
|
|
11
|
+
export { DataSourceSchema, datasource } from './schema/datasource/datasource.mjs';
|
|
12
|
+
export { GroupSchema, group } from './schema/group/group.mjs';
|
|
13
|
+
export { DataModelSchema, datamodel } from './schema/datamodel/datamodel.mjs';
|
|
9
14
|
export { HiddenSchema, hidden } from './schema/hidden/hidden.mjs';
|
|
10
15
|
export { OptionalSchema, optional } from './schema/optional/optional.mjs';
|
|
11
16
|
export { ObjectSchema, object } from './schema/object/object.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,11 @@ export { PathBrowserSchema, pathbrowser } from './schema/pathbrowser/pathbrowser
|
|
|
6
6
|
export { ImageSchema, image } from './schema/image/image.js';
|
|
7
7
|
export { SelectSchema, select } from './schema/select/select.js';
|
|
8
8
|
export { RichTextEditorSchema, rte } from './schema/rte/rte.js';
|
|
9
|
+
export { DynamicZoneSchema, dynamic } from './schema/dynamic/dynamic.js';
|
|
10
|
+
export { CalendarSchema, calendar } from './schema/calendar/calendar.js';
|
|
11
|
+
export { DataSourceSchema, datasource } from './schema/datasource/datasource.js';
|
|
12
|
+
export { GroupSchema, group } from './schema/group/group.js';
|
|
13
|
+
export { DataModelSchema, datamodel } from './schema/datamodel/datamodel.js';
|
|
9
14
|
export { HiddenSchema, hidden } from './schema/hidden/hidden.js';
|
|
10
15
|
export { OptionalSchema, optional } from './schema/optional/optional.js';
|
|
11
16
|
export { ObjectSchema, object } from './schema/object/object.js';
|