@nuraly/runtime 0.1.8 → 0.1.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/components/ui/components/inputs/ColorPicker/colorpicker.ts +7 -1
- package/components/ui/components/inputs/Form/Form.ts +11 -3
- package/components/ui/components/inputs/RadioButton/Radio-button.ts +7 -1
- package/components/ui/components/inputs/Select/Select.ts +7 -1
- package/components/ui/components/layout/Grid/Col.ts +6 -2
- package/components/ui/components/layout/Grid/Row.ts +6 -2
- package/components/ui/components/studio/FunctionsPanel/FunctionsPanel.ts +16 -4
- package/dist/{CodeEditor-Bf4L2rO_.js → CodeEditor-B1gNuvPb.js} +22 -22
- package/dist/{cssMode-DMsdy1N0.js → cssMode-D82-gS78.js} +1 -1
- package/dist/{freemarker2-D51H9HYi.js → freemarker2-CYRLpyjt.js} +1 -1
- package/dist/{handlebars-CF6gdAX4.js → handlebars-R8Efxi60.js} +1 -1
- package/dist/{html-c2n_zkM3.js → html-czhjovcp.js} +1 -1
- package/dist/{htmlMode-9IJTuZUh.js → htmlMode-DpyKDYYs.js} +1 -1
- package/dist/{javascript-DhEEBMxD.js → javascript-DwqkMEdb.js} +1 -1
- package/dist/{jsonMode-CB6k-4rp.js → jsonMode-Cmxxe0W9.js} +1 -1
- package/dist/{liquid-CwtPiwnW.js → liquid-2spuEcBh.js} +1 -1
- package/dist/{mdx-LewPRYF8.js → mdx-BjBXyEeR.js} +1 -1
- package/dist/{micro-app-entry-C3RDIukG.js → micro-app-entry-DYAnCRDo.js} +36 -7
- package/dist/micro-app.bundle.js +1 -1
- package/dist/micro-app.js +35 -6
- package/dist/{python-h5Z2g-yl.js → python-DLI1ji08.js} +1 -1
- package/dist/{razor-D5ep1Doy.js → razor-oAnIJsrL.js} +1 -1
- package/dist/{tsMode-B_6LiBE1.js → tsMode-D_PMsbjK.js} +1 -1
- package/dist/{typescript-BBG0jH4p.js → typescript-Bu3ZbtQI.js} +1 -1
- package/dist/{xml-DgLB7rE6.js → xml-CNSSkPqy.js} +1 -1
- package/dist/{yaml-DiI4HpSv.js → yaml-5RF_PGNe.js} +1 -1
- package/package.json +4 -1
|
@@ -4,9 +4,15 @@ import { styleMap } from "lit/directives/style-map.js";
|
|
|
4
4
|
import { type ComponentElement } from '../../../../../redux/store/component/component.interface.ts';
|
|
5
5
|
import { BaseElementBlock } from "../../base/BaseElement.ts";
|
|
6
6
|
import { ref } from "lit/directives/ref.js";
|
|
7
|
-
import "@nuralyui/color-picker";
|
|
8
7
|
import { EMPTY_STRING } from '../../../../../utils/constants.ts';
|
|
9
8
|
|
|
9
|
+
// Safely import @nuralyui/color-picker
|
|
10
|
+
try {
|
|
11
|
+
await import("@nuralyui/color-picker");
|
|
12
|
+
} catch (error) {
|
|
13
|
+
console.warn('[@nuralyui/color-picker] Package not found or failed to load.');
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
@customElement("color-picker-block")
|
|
11
17
|
export class ColorPickerBlock extends BaseElementBlock {
|
|
12
18
|
static styles = [
|
|
@@ -15,9 +15,17 @@ try {
|
|
|
15
15
|
console.warn('[@nuralyui/forms] Package not found or failed to load.');
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
//
|
|
19
|
-
|
|
20
|
-
import
|
|
18
|
+
// Safely import icon and label for placeholder
|
|
19
|
+
try {
|
|
20
|
+
await import("@nuralyui/icon");
|
|
21
|
+
} catch (error) {
|
|
22
|
+
console.warn('[@nuralyui/icon] Package not found or failed to load.');
|
|
23
|
+
}
|
|
24
|
+
try {
|
|
25
|
+
await import("@nuralyui/label");
|
|
26
|
+
} catch (error) {
|
|
27
|
+
console.warn('[@nuralyui/label] Package not found or failed to load.');
|
|
28
|
+
}
|
|
21
29
|
|
|
22
30
|
/**
|
|
23
31
|
* Form block component that wraps nr-form and handles field registration
|
|
@@ -3,7 +3,13 @@ import { BaseElementBlock } from "../../base/BaseElement.ts";
|
|
|
3
3
|
import type { ComponentElement } from '../../../../../redux/store/component/component.interface.ts';
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { styleMap } from "lit/directives/style-map.js";
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
// Safely import @nuralyui/radio-group
|
|
8
|
+
try {
|
|
9
|
+
await import("@nuralyui/radio-group");
|
|
10
|
+
} catch (error) {
|
|
11
|
+
console.warn('[@nuralyui/radio-group] Package not found or failed to load.');
|
|
12
|
+
}
|
|
7
13
|
|
|
8
14
|
@customElement("radio-button-block")
|
|
9
15
|
export class RadioButtonBlock extends BaseElementBlock {
|
|
@@ -5,7 +5,13 @@ import { type ComponentElement } from '../../../../../redux/store/component/comp
|
|
|
5
5
|
import { BaseElementBlock } from "../../base/BaseElement.ts";
|
|
6
6
|
import { EMPTY_STRING } from '../../../../../utils/constants.ts';
|
|
7
7
|
import { ref } from "lit/directives/ref.js";
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
// Safely import @nuralyui/select
|
|
10
|
+
try {
|
|
11
|
+
await import("@nuralyui/select");
|
|
12
|
+
} catch (error) {
|
|
13
|
+
console.warn('[@nuralyui/select] Package not found or failed to load.');
|
|
14
|
+
}
|
|
9
15
|
|
|
10
16
|
|
|
11
17
|
@customElement("select-block")
|
|
@@ -15,8 +15,12 @@ import { BaseElementBlock } from "../../base/BaseElement.ts";
|
|
|
15
15
|
import { setCurrentComponentIdAction } from '../../../../../redux/actions/component/setCurrentComponentIdAction.ts';
|
|
16
16
|
import { setContextMenuEvent } from '../../../../../redux/actions/page/setContextMenuEvent.ts';
|
|
17
17
|
|
|
18
|
-
//
|
|
19
|
-
|
|
18
|
+
// Safely import nr-col from nuralyui grid
|
|
19
|
+
try {
|
|
20
|
+
await import("@nuralyui/grid");
|
|
21
|
+
} catch (error) {
|
|
22
|
+
console.warn('[@nuralyui/grid] Package not found or failed to load.');
|
|
23
|
+
}
|
|
20
24
|
|
|
21
25
|
/** Input property names that trigger re-render */
|
|
22
26
|
const COL_INPUT_PROPS = ['span', 'offset', 'order', 'pull', 'push', 'flex', 'xs', 'sm', 'md', 'lg', 'xl', 'xxl'] as const;
|
|
@@ -15,8 +15,12 @@ import { BaseElementBlock } from "../../base/BaseElement.ts";
|
|
|
15
15
|
import { setCurrentComponentIdAction } from '../../../../../redux/actions/component/setCurrentComponentIdAction.ts';
|
|
16
16
|
import { setContextMenuEvent } from '../../../../../redux/actions/page/setContextMenuEvent.ts';
|
|
17
17
|
|
|
18
|
-
//
|
|
19
|
-
|
|
18
|
+
// Safely import nr-row from nuralyui grid
|
|
19
|
+
try {
|
|
20
|
+
await import("@nuralyui/grid");
|
|
21
|
+
} catch (error) {
|
|
22
|
+
console.warn('[@nuralyui/grid] Package not found or failed to load.');
|
|
23
|
+
}
|
|
20
24
|
|
|
21
25
|
/** Input property names that trigger re-render */
|
|
22
26
|
const ROW_INPUT_PROPS = ['gutter', 'align', 'justify', 'wrap'] as const;
|
|
@@ -26,10 +26,22 @@ import { ExecuteInstance } from '../../../../../state/runtime-context';
|
|
|
26
26
|
import { openEditorTab, setCurrentEditorTab } from '../../../../../redux/actions/editor';
|
|
27
27
|
import { $editorState, $currentApplication } from '../../../../../redux/store/apps';
|
|
28
28
|
|
|
29
|
-
//
|
|
30
|
-
|
|
31
|
-
import
|
|
32
|
-
|
|
29
|
+
// Safely import nuraly-ui components
|
|
30
|
+
try {
|
|
31
|
+
await import("@nuralyui/button");
|
|
32
|
+
} catch (error) {
|
|
33
|
+
console.warn('[@nuralyui/button] Package not found or failed to load.');
|
|
34
|
+
}
|
|
35
|
+
try {
|
|
36
|
+
await import("@nuralyui/menu");
|
|
37
|
+
} catch (error) {
|
|
38
|
+
console.warn('[@nuralyui/menu] Package not found or failed to load.');
|
|
39
|
+
}
|
|
40
|
+
try {
|
|
41
|
+
await import("@nuralyui/icon");
|
|
42
|
+
} catch (error) {
|
|
43
|
+
console.warn('[@nuralyui/icon] Package not found or failed to load.');
|
|
44
|
+
}
|
|
33
45
|
|
|
34
46
|
|
|
35
47
|
export interface FunctionItem {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as aG, n as b0, a as lG, e as cG, b as dG, c as hG, t as uG } from "./micro-app-entry-
|
|
1
|
+
import { i as aG, n as b0, a as lG, e as cG, b as dG, c as hG, t as uG } from "./micro-app-entry-DYAnCRDo.js";
|
|
2
2
|
function Qo(o, e = 0) {
|
|
3
3
|
return o[o.length - (1 + e)];
|
|
4
4
|
}
|
|
@@ -77835,37 +77835,37 @@ Se({
|
|
|
77835
77835
|
id: "freemarker2",
|
|
77836
77836
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
77837
77837
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
77838
|
-
loader: () => import("./freemarker2-
|
|
77838
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagAutoInterpolationDollar)
|
|
77839
77839
|
});
|
|
77840
77840
|
Se({
|
|
77841
77841
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
77842
77842
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
77843
|
-
loader: () => import("./freemarker2-
|
|
77843
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagAngleInterpolationDollar)
|
|
77844
77844
|
});
|
|
77845
77845
|
Se({
|
|
77846
77846
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
77847
77847
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
77848
|
-
loader: () => import("./freemarker2-
|
|
77848
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagBracketInterpolationDollar)
|
|
77849
77849
|
});
|
|
77850
77850
|
Se({
|
|
77851
77851
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
77852
77852
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
77853
|
-
loader: () => import("./freemarker2-
|
|
77853
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagAngleInterpolationBracket)
|
|
77854
77854
|
});
|
|
77855
77855
|
Se({
|
|
77856
77856
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
77857
77857
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
77858
|
-
loader: () => import("./freemarker2-
|
|
77858
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagBracketInterpolationBracket)
|
|
77859
77859
|
});
|
|
77860
77860
|
Se({
|
|
77861
77861
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
77862
77862
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
77863
|
-
loader: () => import("./freemarker2-
|
|
77863
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagAutoInterpolationDollar)
|
|
77864
77864
|
});
|
|
77865
77865
|
Se({
|
|
77866
77866
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
77867
77867
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
77868
|
-
loader: () => import("./freemarker2-
|
|
77868
|
+
loader: () => import("./freemarker2-CYRLpyjt.js").then((o) => o.TagAutoInterpolationBracket)
|
|
77869
77869
|
});
|
|
77870
77870
|
/*!-----------------------------------------------------------------------------
|
|
77871
77871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77903,7 +77903,7 @@ Se({
|
|
|
77903
77903
|
extensions: [".handlebars", ".hbs"],
|
|
77904
77904
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
77905
77905
|
mimetypes: ["text/x-handlebars-template"],
|
|
77906
|
-
loader: () => import("./handlebars-
|
|
77906
|
+
loader: () => import("./handlebars-R8Efxi60.js")
|
|
77907
77907
|
});
|
|
77908
77908
|
/*!-----------------------------------------------------------------------------
|
|
77909
77909
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77928,7 +77928,7 @@ Se({
|
|
|
77928
77928
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
77929
77929
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
77930
77930
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
77931
|
-
loader: () => import("./html-
|
|
77931
|
+
loader: () => import("./html-czhjovcp.js")
|
|
77932
77932
|
});
|
|
77933
77933
|
/*!-----------------------------------------------------------------------------
|
|
77934
77934
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77969,7 +77969,7 @@ Se({
|
|
|
77969
77969
|
filenames: ["jakefile"],
|
|
77970
77970
|
aliases: ["JavaScript", "javascript", "js"],
|
|
77971
77971
|
mimetypes: ["text/javascript"],
|
|
77972
|
-
loader: () => import("./javascript-
|
|
77972
|
+
loader: () => import("./javascript-DwqkMEdb.js")
|
|
77973
77973
|
});
|
|
77974
77974
|
/*!-----------------------------------------------------------------------------
|
|
77975
77975
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78044,7 +78044,7 @@ Se({
|
|
|
78044
78044
|
extensions: [".liquid", ".html.liquid"],
|
|
78045
78045
|
aliases: ["Liquid", "liquid"],
|
|
78046
78046
|
mimetypes: ["application/liquid"],
|
|
78047
|
-
loader: () => import("./liquid-
|
|
78047
|
+
loader: () => import("./liquid-2spuEcBh.js")
|
|
78048
78048
|
});
|
|
78049
78049
|
/*!-----------------------------------------------------------------------------
|
|
78050
78050
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78080,7 +78080,7 @@ Se({
|
|
|
78080
78080
|
id: "mdx",
|
|
78081
78081
|
extensions: [".mdx"],
|
|
78082
78082
|
aliases: ["MDX", "mdx"],
|
|
78083
|
-
loader: () => import("./mdx-
|
|
78083
|
+
loader: () => import("./mdx-BjBXyEeR.js")
|
|
78084
78084
|
});
|
|
78085
78085
|
/*!-----------------------------------------------------------------------------
|
|
78086
78086
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78275,7 +78275,7 @@ Se({
|
|
|
78275
78275
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
78276
78276
|
aliases: ["Python", "py"],
|
|
78277
78277
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
78278
|
-
loader: () => import("./python-
|
|
78278
|
+
loader: () => import("./python-DLI1ji08.js")
|
|
78279
78279
|
});
|
|
78280
78280
|
/*!-----------------------------------------------------------------------------
|
|
78281
78281
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78312,7 +78312,7 @@ Se({
|
|
|
78312
78312
|
extensions: [".cshtml"],
|
|
78313
78313
|
aliases: ["Razor", "razor"],
|
|
78314
78314
|
mimetypes: ["text/x-cshtml"],
|
|
78315
|
-
loader: () => import("./razor-
|
|
78315
|
+
loader: () => import("./razor-oAnIJsrL.js")
|
|
78316
78316
|
});
|
|
78317
78317
|
/*!-----------------------------------------------------------------------------
|
|
78318
78318
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78564,7 +78564,7 @@ Se({
|
|
|
78564
78564
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
78565
78565
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
78566
78566
|
mimetypes: ["text/typescript"],
|
|
78567
|
-
loader: () => import("./typescript-
|
|
78567
|
+
loader: () => import("./typescript-Bu3ZbtQI.js")
|
|
78568
78568
|
});
|
|
78569
78569
|
/*!-----------------------------------------------------------------------------
|
|
78570
78570
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78632,7 +78632,7 @@ Se({
|
|
|
78632
78632
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
78633
78633
|
aliases: ["XML", "xml"],
|
|
78634
78634
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
78635
|
-
loader: () => import("./xml-
|
|
78635
|
+
loader: () => import("./xml-CNSSkPqy.js")
|
|
78636
78636
|
});
|
|
78637
78637
|
/*!-----------------------------------------------------------------------------
|
|
78638
78638
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78645,7 +78645,7 @@ Se({
|
|
|
78645
78645
|
extensions: [".yaml", ".yml"],
|
|
78646
78646
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
78647
78647
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
78648
|
-
loader: () => import("./yaml-
|
|
78648
|
+
loader: () => import("./yaml-5RF_PGNe.js")
|
|
78649
78649
|
});
|
|
78650
78650
|
/*!-----------------------------------------------------------------------------
|
|
78651
78651
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78748,7 +78748,7 @@ var nP = class {
|
|
|
78748
78748
|
);
|
|
78749
78749
|
lp.languages.css = { cssDefaults: tU, lessDefaults: nU, scssDefaults: iU };
|
|
78750
78750
|
function rP() {
|
|
78751
|
-
return import("./cssMode-
|
|
78751
|
+
return import("./cssMode-D82-gS78.js");
|
|
78752
78752
|
}
|
|
78753
78753
|
lp.languages.onLanguage("less", () => {
|
|
78754
78754
|
rP().then((o) => o.setupMode(nU));
|
|
@@ -78854,7 +78854,7 @@ jy.languages.html = {
|
|
|
78854
78854
|
registerHTMLLanguageService: Ky
|
|
78855
78855
|
};
|
|
78856
78856
|
function Zpe() {
|
|
78857
|
-
return import("./htmlMode-
|
|
78857
|
+
return import("./htmlMode-DpyKDYYs.js");
|
|
78858
78858
|
}
|
|
78859
78859
|
function Ky(o, e = Gy, t = Yy(o)) {
|
|
78860
78860
|
const i = new Kpe(o, e, t);
|
|
@@ -78931,7 +78931,7 @@ var r_e = class {
|
|
|
78931
78931
|
), c_e = () => lU().then((o) => o.getWorker());
|
|
78932
78932
|
fw.languages.json = { jsonDefaults: aU, getWorker: c_e };
|
|
78933
78933
|
function lU() {
|
|
78934
|
-
return import("./jsonMode-
|
|
78934
|
+
return import("./jsonMode-Cmxxe0W9.js");
|
|
78935
78935
|
}
|
|
78936
78936
|
fw.languages.register({
|
|
78937
78937
|
id: "json",
|
|
@@ -79095,7 +79095,7 @@ xm.languages.typescript = {
|
|
|
79095
79095
|
getJavaScriptWorker: b_e
|
|
79096
79096
|
};
|
|
79097
79097
|
function $y() {
|
|
79098
|
-
return import("./tsMode-
|
|
79098
|
+
return import("./tsMode-D_PMsbjK.js");
|
|
79099
79099
|
}
|
|
79100
79100
|
xm.languages.onLanguage("typescript", () => $y().then((o) => o.setupTypeScript(pU)));
|
|
79101
79101
|
xm.languages.onLanguage("javascript", () => $y().then((o) => o.setupJavaScript(_U)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as et } from "./CodeEditor-
|
|
1
|
+
import { m as et } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as f } from "./CodeEditor-
|
|
1
|
+
import { m as f } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./CodeEditor-
|
|
1
|
+
import { m as l } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./CodeEditor-
|
|
1
|
+
import { m as s } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as lt } from "./CodeEditor-
|
|
1
|
+
import { m as lt } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-Bu3ZbtQI.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Et } from "./CodeEditor-
|
|
1
|
+
import { m as Et } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./CodeEditor-
|
|
1
|
+
import { m as l } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./CodeEditor-
|
|
1
|
+
import { m as s } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { PanelMode as co, PanelSize as ho, PanelPosition as po, MaximizePosition as fo } from "@nuralyui/panel";
|
|
2
|
-
import "@nuralyui/grid";
|
|
3
|
-
import "@nuralyui/color-picker";
|
|
4
|
-
import "@nuralyui/select";
|
|
5
|
-
import "@nuralyui/radio-group";
|
|
6
|
-
import "@nuralyui/icon";
|
|
7
|
-
import "@nuralyui/label";
|
|
8
2
|
let z = [], G = (e, t) => {
|
|
9
3
|
let i = [], n = {
|
|
10
4
|
get() {
|
|
@@ -10840,6 +10834,11 @@ var zp = Object.defineProperty, qp = Object.getOwnPropertyDescriptor, jt = (e, t
|
|
|
10840
10834
|
(a = e[s]) && (r = (n ? a(t, i, r) : a(r)) || r);
|
|
10841
10835
|
return n && r && zp(t, i, r), r;
|
|
10842
10836
|
};
|
|
10837
|
+
try {
|
|
10838
|
+
await import("@nuralyui/grid");
|
|
10839
|
+
} catch {
|
|
10840
|
+
console.warn("[@nuralyui/grid] Package not found or failed to load.");
|
|
10841
|
+
}
|
|
10843
10842
|
const Gp = ["gutter", "align", "justify", "wrap"];
|
|
10844
10843
|
let Je = class extends A {
|
|
10845
10844
|
constructor() {
|
|
@@ -10991,6 +10990,11 @@ var Kp = Object.defineProperty, Jp = Object.getOwnPropertyDescriptor, Ft = (e, t
|
|
|
10991
10990
|
(a = e[s]) && (r = (n ? a(t, i, r) : a(r)) || r);
|
|
10992
10991
|
return n && r && Kp(t, i, r), r;
|
|
10993
10992
|
};
|
|
10993
|
+
try {
|
|
10994
|
+
await import("@nuralyui/grid");
|
|
10995
|
+
} catch {
|
|
10996
|
+
console.warn("[@nuralyui/grid] Package not found or failed to load.");
|
|
10997
|
+
}
|
|
10994
10998
|
const Yp = ["span", "offset", "order", "pull", "push", "flex", "xs", "sm", "md", "lg", "xl", "xxl"];
|
|
10995
10999
|
let Ye = class extends A {
|
|
10996
11000
|
constructor() {
|
|
@@ -11405,6 +11409,11 @@ var nd = Object.defineProperty, rd = Object.getOwnPropertyDescriptor, eo = (e, t
|
|
|
11405
11409
|
(a = e[s]) && (r = (n ? a(t, i, r) : a(r)) || r);
|
|
11406
11410
|
return n && r && nd(t, i, r), r;
|
|
11407
11411
|
};
|
|
11412
|
+
try {
|
|
11413
|
+
await import("@nuralyui/color-picker");
|
|
11414
|
+
} catch {
|
|
11415
|
+
console.warn("[@nuralyui/color-picker] Package not found or failed to load.");
|
|
11416
|
+
}
|
|
11408
11417
|
let sn = class extends A {
|
|
11409
11418
|
connectedCallback() {
|
|
11410
11419
|
super.connectedCallback(), this.registerCallback("value", () => {
|
|
@@ -11736,6 +11745,11 @@ var dd = Object.defineProperty, fd = Object.getOwnPropertyDescriptor, io = (e, t
|
|
|
11736
11745
|
(a = e[s]) && (r = (n ? a(t, i, r) : a(r)) || r);
|
|
11737
11746
|
return n && r && dd(t, i, r), r;
|
|
11738
11747
|
};
|
|
11748
|
+
try {
|
|
11749
|
+
await import("@nuralyui/select");
|
|
11750
|
+
} catch {
|
|
11751
|
+
console.warn("[@nuralyui/select] Package not found or failed to load.");
|
|
11752
|
+
}
|
|
11739
11753
|
let sr = class extends A {
|
|
11740
11754
|
constructor() {
|
|
11741
11755
|
super();
|
|
@@ -12046,6 +12060,11 @@ var Cd = Object.defineProperty, wd = Object.getOwnPropertyDescriptor, Ar = (e, t
|
|
|
12046
12060
|
(a = e[s]) && (r = (n ? a(t, i, r) : a(r)) || r);
|
|
12047
12061
|
return n && r && Cd(t, i, r), r;
|
|
12048
12062
|
};
|
|
12063
|
+
try {
|
|
12064
|
+
await import("@nuralyui/radio-group");
|
|
12065
|
+
} catch {
|
|
12066
|
+
console.warn("[@nuralyui/radio-group] Package not found or failed to load.");
|
|
12067
|
+
}
|
|
12049
12068
|
let on = class extends A {
|
|
12050
12069
|
renderComponent() {
|
|
12051
12070
|
const e = this.component?.style || {}, t = this.inputHandlersValue?.value?.options || [], i = this.inputHandlersValue?.value?.currentValue ?? "", n = this.inputHandlersValue?.value?.type || "default", r = this.inputHandlersValue?.direction || "vertical", s = this.inputHandlersValue?.position || "left", a = this.inputHandlersValue?.size?.value || this.inputHandlersValue?.size || "medium", o = this.inputHandlersValue?.state === "disabled", c = this.inputHandlersValue?.required || !1, u = this.inputHandlersValue?.name || "radioGroup", h = this.inputHandlersValue?.autoWidth?.value || this.inputHandlersValue?.autoWidth || !1;
|
|
@@ -12372,6 +12391,16 @@ try {
|
|
|
12372
12391
|
} catch {
|
|
12373
12392
|
console.warn("[@nuralyui/forms] Package not found or failed to load.");
|
|
12374
12393
|
}
|
|
12394
|
+
try {
|
|
12395
|
+
await import("@nuralyui/icon");
|
|
12396
|
+
} catch {
|
|
12397
|
+
console.warn("[@nuralyui/icon] Package not found or failed to load.");
|
|
12398
|
+
}
|
|
12399
|
+
try {
|
|
12400
|
+
await import("@nuralyui/label");
|
|
12401
|
+
} catch {
|
|
12402
|
+
console.warn("[@nuralyui/label] Package not found or failed to load.");
|
|
12403
|
+
}
|
|
12375
12404
|
let Qe = class extends A {
|
|
12376
12405
|
constructor() {
|
|
12377
12406
|
super(), this._formElement = null, this._registeredFields = /* @__PURE__ */ new Map(), this.childrenComponents = [], this._fieldRegisterHandler = this._handleFieldRegister.bind(this), this._fieldUnregisterHandler = this._handleFieldUnregister.bind(this), this._fieldValueChangeHandler = this._handleFieldValueChange.bind(this);
|
|
@@ -13096,7 +13125,7 @@ let Tt = class extends A {
|
|
|
13096
13125
|
super.connectedCallback(), this.loadEditor();
|
|
13097
13126
|
}
|
|
13098
13127
|
async loadEditor() {
|
|
13099
|
-
this.isEditorLoaded || (await import("./CodeEditor-
|
|
13128
|
+
this.isEditorLoaded || (await import("./CodeEditor-B1gNuvPb.js").then((e) => e.C), this.isEditorLoaded = !0);
|
|
13100
13129
|
}
|
|
13101
13130
|
disconnectedCallback() {
|
|
13102
13131
|
super.disconnectedCallback();
|
package/dist/micro-app.bundle.js
CHANGED
package/dist/micro-app.js
CHANGED
|
@@ -5,12 +5,6 @@ import { styleMap } from 'lit/directives/style-map.js';
|
|
|
5
5
|
import { classMap } from 'lit/directives/class-map.js';
|
|
6
6
|
import { createRef, ref } from 'lit/directives/ref.js';
|
|
7
7
|
import { PanelMode, PanelSize, PanelPosition, MaximizePosition } from '@nuralyui/panel';
|
|
8
|
-
import '@nuralyui/grid';
|
|
9
|
-
import '@nuralyui/color-picker';
|
|
10
|
-
import '@nuralyui/select';
|
|
11
|
-
import '@nuralyui/radio-group';
|
|
12
|
-
import '@nuralyui/icon';
|
|
13
|
-
import '@nuralyui/label';
|
|
14
8
|
import { v4 } from 'uuid';
|
|
15
9
|
import { css as css$1, LitElement, html as html$1 } from 'lit-element';
|
|
16
10
|
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
@@ -715,6 +709,11 @@ var __decorateClass$A = (decorators, target, key, kind) => {
|
|
|
715
709
|
if (kind && result) __defProp$y(target, key, result);
|
|
716
710
|
return result;
|
|
717
711
|
};
|
|
712
|
+
try {
|
|
713
|
+
await import('@nuralyui/grid');
|
|
714
|
+
} catch (error) {
|
|
715
|
+
console.warn("[@nuralyui/grid] Package not found or failed to load.");
|
|
716
|
+
}
|
|
718
717
|
const ROW_INPUT_PROPS = ["gutter", "align", "justify", "wrap"];
|
|
719
718
|
let GridRow = class extends BaseElementBlock {
|
|
720
719
|
constructor() {
|
|
@@ -890,6 +889,11 @@ var __decorateClass$z = (decorators, target, key, kind) => {
|
|
|
890
889
|
if (kind && result) __defProp$x(target, key, result);
|
|
891
890
|
return result;
|
|
892
891
|
};
|
|
892
|
+
try {
|
|
893
|
+
await import('@nuralyui/grid');
|
|
894
|
+
} catch (error) {
|
|
895
|
+
console.warn("[@nuralyui/grid] Package not found or failed to load.");
|
|
896
|
+
}
|
|
893
897
|
const COL_INPUT_PROPS = ["span", "offset", "order", "pull", "push", "flex", "xs", "sm", "md", "lg", "xl", "xxl"];
|
|
894
898
|
let GridCol = class extends BaseElementBlock {
|
|
895
899
|
constructor() {
|
|
@@ -1373,6 +1377,11 @@ var __decorateClass$v = (decorators, target, key, kind) => {
|
|
|
1373
1377
|
if (kind && result) __defProp$t(target, key, result);
|
|
1374
1378
|
return result;
|
|
1375
1379
|
};
|
|
1380
|
+
try {
|
|
1381
|
+
await import('@nuralyui/color-picker');
|
|
1382
|
+
} catch (error) {
|
|
1383
|
+
console.warn("[@nuralyui/color-picker] Package not found or failed to load.");
|
|
1384
|
+
}
|
|
1376
1385
|
let ColorPickerBlock = class extends BaseElementBlock {
|
|
1377
1386
|
connectedCallback() {
|
|
1378
1387
|
super.connectedCallback();
|
|
@@ -1776,6 +1785,11 @@ var __decorateClass$r = (decorators, target, key, kind) => {
|
|
|
1776
1785
|
if (kind && result) __defProp$p(target, key, result);
|
|
1777
1786
|
return result;
|
|
1778
1787
|
};
|
|
1788
|
+
try {
|
|
1789
|
+
await import('@nuralyui/select');
|
|
1790
|
+
} catch (error) {
|
|
1791
|
+
console.warn("[@nuralyui/select] Package not found or failed to load.");
|
|
1792
|
+
}
|
|
1779
1793
|
let SelectBlock = class extends BaseElementBlock {
|
|
1780
1794
|
constructor() {
|
|
1781
1795
|
super();
|
|
@@ -2132,6 +2146,11 @@ var __decorateClass$n = (decorators, target, key, kind) => {
|
|
|
2132
2146
|
if (kind && result) __defProp$m(target, key, result);
|
|
2133
2147
|
return result;
|
|
2134
2148
|
};
|
|
2149
|
+
try {
|
|
2150
|
+
await import('@nuralyui/radio-group');
|
|
2151
|
+
} catch (error) {
|
|
2152
|
+
console.warn("[@nuralyui/radio-group] Package not found or failed to load.");
|
|
2153
|
+
}
|
|
2135
2154
|
let RadioButtonBlock = class extends BaseElementBlock {
|
|
2136
2155
|
renderComponent() {
|
|
2137
2156
|
const radioStyles = this.component?.style || {};
|
|
@@ -2535,6 +2554,16 @@ try {
|
|
|
2535
2554
|
} catch (error) {
|
|
2536
2555
|
console.warn("[@nuralyui/forms] Package not found or failed to load.");
|
|
2537
2556
|
}
|
|
2557
|
+
try {
|
|
2558
|
+
await import('@nuralyui/icon');
|
|
2559
|
+
} catch (error) {
|
|
2560
|
+
console.warn("[@nuralyui/icon] Package not found or failed to load.");
|
|
2561
|
+
}
|
|
2562
|
+
try {
|
|
2563
|
+
await import('@nuralyui/label');
|
|
2564
|
+
} catch (error) {
|
|
2565
|
+
console.warn("[@nuralyui/label] Package not found or failed to load.");
|
|
2566
|
+
}
|
|
2538
2567
|
let FormBlock = class extends BaseElementBlock {
|
|
2539
2568
|
constructor() {
|
|
2540
2569
|
super();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as o } from "./CodeEditor-
|
|
1
|
+
import { m as o } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m } from "./CodeEditor-
|
|
1
|
+
import { m } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as L, m as O } from "./CodeEditor-
|
|
1
|
+
import { t as L, m as O } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./CodeEditor-
|
|
1
|
+
import { m as s } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as r } from "./CodeEditor-
|
|
1
|
+
import { m as r } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./CodeEditor-
|
|
1
|
+
import { m as l } from "./CodeEditor-B1gNuvPb.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuraly/runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Nuraly Visual App Builder Runtime - State management, handler execution, and component system with bundled micro-app support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
],
|
|
130
130
|
"author": "Nuraly",
|
|
131
131
|
"license": "ISC",
|
|
132
|
+
"publishConfig": {
|
|
133
|
+
"access": "public"
|
|
134
|
+
},
|
|
132
135
|
"repository": {
|
|
133
136
|
"type": "git",
|
|
134
137
|
"url": "https://github.com/Nuralyio/stack.git",
|