@nuraly/runtime 0.1.4 → 0.1.5
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/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.d.ts +0 -1
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.d.ts +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.d.ts +0 -1
- package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.d.ts +0 -1
- package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.d.ts +0 -1
- package/components/ui/nuraly-ui/packages/common/dist/shared/themes.d.ts +0 -1
- package/components/ui/nuraly-ui/packages/common/dist/shared/utils.d.ts +60 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/validation.types.d.ts +108 -0
- package/components/ui/nuraly-ui/src/components/radio-group/radio-group.component.ts +1 -1
- package/components/ui/nuraly-ui/src/components/radio-group/radio-group.types.ts +1 -0
- package/dist/CodeEditor-BiNku87K.js +808 -0
- package/dist/{CodeEditor-Ch2tv9BE.js → CodeEditor-G6E8PUI7.js} +14593 -14607
- package/dist/{SmartAttributeHandler-hoSLpm1Y.js → SmartAttributeHandler-C9vS-cHW.js} +1 -1
- package/dist/SmartAttributeHandler-u-ZHGueR.js +193 -0
- package/dist/assets/editor.worker-C_S4Avdt.js +11 -0
- package/dist/assets/{html.worker-BSmGlhXp.js → html.worker-DfuQASUV.js} +18 -18
- package/dist/assets/json.worker-Cucz4wxY.js +42 -0
- package/dist/assets/{ts.worker-DyHHPhrh.js → ts.worker-Dme6S0YK.js} +78 -78
- package/dist/cssMode-B7NVlrDV.js +1443 -0
- package/dist/{freemarker2-DNc2IxPf.js → freemarker2-DS_7G9b8.js} +1 -1
- package/dist/{handlebars-CIbFckEw.js → handlebars-BDyyLkzw.js} +1 -1
- package/dist/{html-nRs_fneU.js → html-DphGFjig.js} +1 -1
- package/dist/{htmlMode-BjehA1YF.js → htmlMode-4zNnSWFo.js} +278 -281
- package/dist/index-B4yIOSMd.js +3847 -0
- package/dist/{javascript-Bn0HduZA.js → javascript-CC1jWyQy.js} +1 -1
- package/dist/{jsonMode-CfGfcJRX.js → jsonMode-Bfzb6wZf.js} +369 -372
- package/dist/{liquid-m4D_LCnC.js → liquid-lTBpqagR.js} +1 -1
- package/dist/{mdx-CakMRbCr.js → mdx-DX66Bp07.js} +1 -1
- package/dist/{micro-app-entry-CI1Rupdh.js → micro-app-entry-DDsAWUJh.js} +5138 -5322
- package/dist/micro-app.bundle.js +1 -1
- package/dist/micro-app.js +9775 -0
- package/dist/{python-oJwaiPUY.js → python-BGUhyO4G.js} +1 -1
- package/dist/{razor-u_dd4rqc.js → razor-DEVWQFSa.js} +1 -1
- package/dist/runtime.js +401 -0
- package/dist/style.css +1 -1
- package/dist/tsMode-CYFi80Jf.js +800 -0
- package/dist/{typescript-Bjs2N5Be.js → typescript-B1xIbH_T.js} +1 -1
- package/dist/{wgsl-Bv2xeo60.js → wgsl-C9yjop46.js} +1 -1
- package/dist/{xml-BCveATLl.js → xml-DmdvyqrE.js} +1 -1
- package/dist/{yaml-BfWQPJQi.js → yaml-LGNo48fy.js} +1 -1
- package/package.json +2 -2
- package/vite.config.ts +8 -8
- package/dist/.claude/settings.local.json +0 -9
- package/dist/assets/editor.worker-vBWydyGC.js +0 -11
- package/dist/assets/json.worker-Dqnoedz4.js +0 -42
- package/dist/cssMode-Bt2uK8XM.js +0 -1446
- package/dist/micro-app.bundle.umd.cjs +0 -5051
- package/dist/tsMode-DlZ38d3D.js +0 -813
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./CodeEditor-
|
|
1
|
+
import { m as s } from "./CodeEditor-G6E8PUI7.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -329,7 +329,7 @@ var s = e("true false"), c = e(`
|
|
|
329
329
|
^=
|
|
330
330
|
>>=
|
|
331
331
|
<<=
|
|
332
|
-
`), _ = /enable|requires|diagnostic/, n =
|
|
332
|
+
`), _ = /enable|requires|diagnostic/, n = /[_\p{XID_Start}]\p{XID_Continue}*/u, t = "variable.predefined", h = {
|
|
333
333
|
tokenPostfix: ".wgsl",
|
|
334
334
|
defaultToken: "invalid",
|
|
335
335
|
unicode: !0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as r } from "./CodeEditor-
|
|
1
|
+
import { m as r } from "./CodeEditor-G6E8PUI7.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./CodeEditor-
|
|
1
|
+
import { m as l } from "./CodeEditor-G6E8PUI7.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuraly/runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"build": "vite build",
|
|
90
90
|
"build:bundle": "BUILD_BUNDLE=true vite build",
|
|
91
91
|
"build:all": "npm run build && npm run build:bundle",
|
|
92
|
-
"prepublishOnly": "npm run build"
|
|
92
|
+
"prepublishOnly": "npm run build:all"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"lit": "^3.0.0",
|
package/vite.config.ts
CHANGED
|
@@ -7,6 +7,8 @@ const isBundleBuild = process.env.BUILD_BUNDLE === 'true';
|
|
|
7
7
|
export default defineConfig({
|
|
8
8
|
build: {
|
|
9
9
|
target: 'esnext', // Support top-level await
|
|
10
|
+
// Don't empty outDir on bundle build to preserve regular build artifacts
|
|
11
|
+
emptyOutDir: !isBundleBuild,
|
|
10
12
|
lib: {
|
|
11
13
|
entry: isBundleBuild
|
|
12
14
|
? { 'micro-app.bundle': resolve(__dirname, 'micro-app-entry.ts') }
|
|
@@ -18,11 +20,11 @@ export default defineConfig({
|
|
|
18
20
|
},
|
|
19
21
|
rollupOptions: {
|
|
20
22
|
external: (id) => {
|
|
21
|
-
// For bundle build,
|
|
22
|
-
//
|
|
23
|
+
// For bundle build, externalize @nuralyui to avoid broken import issues
|
|
24
|
+
// Users will need to load @nuralyui components separately
|
|
23
25
|
if (isBundleBuild) {
|
|
24
|
-
//
|
|
25
|
-
return /^node:/.test(id);
|
|
26
|
+
// Externalize node built-ins and @nuralyui packages (they have broken internal imports)
|
|
27
|
+
return /^node:/.test(id) || id.startsWith('@nuralyui/');
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
// For regular builds, externalize all external dependencies and node_modules
|
|
@@ -45,10 +47,8 @@ export default defineConfig({
|
|
|
45
47
|
id.includes('node_modules');
|
|
46
48
|
},
|
|
47
49
|
output: {
|
|
48
|
-
//
|
|
49
|
-
dir:
|
|
50
|
-
? resolve(__dirname, 'dist')
|
|
51
|
-
: resolve(__dirname, '../../studio-runtime/dist'),
|
|
50
|
+
// Always output to local dist folder for publishing
|
|
51
|
+
dir: resolve(__dirname, 'dist'),
|
|
52
52
|
format: 'es',
|
|
53
53
|
globals: isBundleBuild ? {} : {
|
|
54
54
|
lit: 'Lit',
|