@yuneta/gobj-ui 7.27.27 → 7.27.29
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/README.md +81 -6
- package/dist/gobj-ui.cjs.js +737 -63
- package/dist/gobj-ui.es.js +738 -65
- package/index.js +1 -0
- package/package.json +2 -2
- package/src/c_yui_gclass.js +2 -2
- package/src/c_yui_gobj_tree_js.js +13 -5
- package/src/c_yui_update_watch.css +45 -0
- package/src/c_yui_update_watch.js +722 -0
- package/src/c_yui_update_watch.wiring.test.js +315 -0
- package/src/gclass_traces.wiring.test.js +6 -0
- package/src/gobj_tree_remote.wiring.test.js +14 -0
- package/src/shell_modals.js +8 -0
- package/src/vite_plugin_yuneta_html.test.js +34 -1
- package/src/yui_build_stamp.js +125 -0
- package/src/yui_build_stamp.test.js +56 -0
- package/vite-plugin-yuneta-html.js +60 -2
package/index.js
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export { register_c_yui_window } from "./src/c_yui_window.js";
|
|
22
22
|
export { register_c_yui_window_manager } from "./src/c_yui_window_manager.js";
|
|
23
|
+
export { register_c_yui_update_watch } from "./src/c_yui_update_watch.js";
|
|
23
24
|
export { register_c_yui_pager } from "./src/c_yui_pager.js";
|
|
24
25
|
export { register_c_yui_wizard } from "./src/c_yui_wizard.js";
|
|
25
26
|
export { register_c_yui_form } from "./src/c_yui_form.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuneta/gobj-ui",
|
|
3
|
-
"version": "7.27.
|
|
3
|
+
"version": "7.27.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/gobj-ui.cjs.js",
|
|
6
6
|
"module": "dist/gobj-ui.es.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@rollup/plugin-terser": "^1.0.0",
|
|
45
45
|
"@vitest/coverage-v8": "^5.0.5",
|
|
46
46
|
"@yuneta/gobj-js": "^7.27.0",
|
|
47
|
-
"vite": "^8.3.
|
|
47
|
+
"vite": "^8.3.5",
|
|
48
48
|
"vitest": "^5.0.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
package/src/c_yui_gclass.js
CHANGED
|
@@ -1036,8 +1036,8 @@ function build_trace_toggles(gobj, model, traces)
|
|
|
1036
1036
|
['tbody', {}, trs]
|
|
1037
1037
|
]]),
|
|
1038
1038
|
['div', {class: 'GCLASS_TRACES_NOTE',
|
|
1039
|
-
i18n: '
|
|
1040
|
-
t('
|
|
1039
|
+
i18n: 'the traces of a gclass survive a restart'},
|
|
1040
|
+
t('the traces of a gclass survive a restart')],
|
|
1041
1041
|
['div', {class: 'GCLASS_TRACES_TOOLS'}, [$clear]]
|
|
1042
1042
|
]]};
|
|
1043
1043
|
}
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
* carries them like every other one.
|
|
50
50
|
*
|
|
51
51
|
* A gclass or yuno level is saved by the yuno and survives a
|
|
52
|
-
* restart; a gobj level
|
|
52
|
+
* restart; so does a gobj level of a named service (SDK
|
|
53
|
+
* 7.27.3+). Any other gobj's level lasts until the yuno ends.
|
|
53
54
|
*
|
|
54
55
|
* The output events are published ONLY in "remote", so a host
|
|
55
56
|
* of a local tree (the Frontend view) declares none of them.
|
|
@@ -2343,10 +2344,17 @@ function build_traces_block(gobj, d)
|
|
|
2343
2344
|
['tbody', {}, trs]
|
|
2344
2345
|
]]);
|
|
2345
2346
|
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2347
|
+
/* What the yuno keeps of them (SDK 7.27.3+): the traces of a named
|
|
2348
|
+
* service are saved and re-applied at start up, any other gobj's are
|
|
2349
|
+
* not -- they could never be found again. */
|
|
2350
|
+
kids.push(d.service?
|
|
2351
|
+
['div', {class: 'GOBJ_TREE_TRACES_NOTE',
|
|
2352
|
+
i18n: 'the traces of a service survive a restart', style: TRACES_NOTE_STYLE},
|
|
2353
|
+
t('the traces of a service survive a restart')]:
|
|
2354
|
+
['div', {class: 'GOBJ_TREE_TRACES_NOTE',
|
|
2355
|
+
i18n: 'the traces of a gobj that is not a service end with the yuno',
|
|
2356
|
+
style: TRACES_NOTE_STYLE},
|
|
2357
|
+
t('the traces of a gobj that is not a service end with the yuno')]);
|
|
2350
2358
|
|
|
2351
2359
|
kids.push(traces_remove_button(gobj, "gobj", {
|
|
2352
2360
|
title: t('remove the traces of this gobj'),
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/***********************************************************************
|
|
2
|
+
* c_yui_update_watch.css
|
|
3
|
+
*
|
|
4
|
+
* The bar of C_YUI_UPDATE_WATCH: a newer build is deployed.
|
|
5
|
+
*
|
|
6
|
+
* Fixed at the foot of the viewport, centred, over the floating
|
|
7
|
+
* dock's band and the phone's safe area. It lives in the shell's
|
|
8
|
+
* notification layer (above the dialogs) or, with no shell, in
|
|
9
|
+
* the body -- where the z-index puts it over the login. It
|
|
10
|
+
* appears and goes instantly.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2026, ArtGins.
|
|
13
|
+
* All Rights Reserved.
|
|
14
|
+
***********************************************************************/
|
|
15
|
+
.UPDATE_BAR.notification {
|
|
16
|
+
position: fixed;
|
|
17
|
+
left: 50%;
|
|
18
|
+
transform: translateX(-50%);
|
|
19
|
+
bottom: calc(1rem + var(--yui-dock-inset-bottom, 0px) + env(safe-area-inset-bottom, 0px));
|
|
20
|
+
z-index: 2000;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 0.5rem 0.75rem;
|
|
25
|
+
width: max-content;
|
|
26
|
+
max-width: calc(100vw - 2rem);
|
|
27
|
+
margin: 0;
|
|
28
|
+
padding: 0.75rem 2.5rem 0.75rem 1rem;
|
|
29
|
+
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
|
|
30
|
+
pointer-events: auto;
|
|
31
|
+
transition: none;
|
|
32
|
+
}
|
|
33
|
+
.UPDATE_BAR .UPDATE_VERSION {
|
|
34
|
+
font-variant-numeric: tabular-nums;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
}
|
|
37
|
+
.UPDATE_BAR .UPDATE_VERSION:empty {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
.UPDATE_BAR.notification > .UPDATE_DISMISS {
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: 50%;
|
|
43
|
+
right: 0.75rem;
|
|
44
|
+
transform: translateY(-50%);
|
|
45
|
+
}
|