@xuda.io/runtime-bundle 1.0.1111 → 1.0.1113
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -13629,7 +13629,7 @@ const generate_xu_ui_id = async function (SESSION_ID, nodeP, $container, paramsP
|
|
|
13629
13629
|
return new_ui_id;
|
|
13630
13630
|
};
|
|
13631
13631
|
|
|
13632
|
-
func.UI.screen.create_container = async function (SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, classP, elem_propP, div_typeP, $appendToP, attr_str) {
|
|
13632
|
+
func.UI.screen.create_container = async function (SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, classP, elem_propP, div_typeP, $appendToP, attr_str, is_placeholder) {
|
|
13633
13633
|
const _paramsP = _.cloneDeep(paramsP);
|
|
13634
13634
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_paramsP.dsSessionP];
|
|
13635
13635
|
var $appendTo = $container;
|
|
@@ -13654,6 +13654,11 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
13654
13654
|
/////////////////////////////////
|
|
13655
13655
|
|
|
13656
13656
|
var $div;
|
|
13657
|
+
|
|
13658
|
+
if (is_placeholder) {
|
|
13659
|
+
$div.addClass('display_none');
|
|
13660
|
+
}
|
|
13661
|
+
|
|
13657
13662
|
if (div === 'svg') {
|
|
13658
13663
|
const draw_svg = function (element) {
|
|
13659
13664
|
const get_tag_str = function (element, prop, val) {
|
|
@@ -14911,7 +14916,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14911
14916
|
const draw_html_element = async function (element) {
|
|
14912
14917
|
const done = async function (ret = {}) {
|
|
14913
14918
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
14914
|
-
|
|
14919
|
+
$div.removeClass('display_none');
|
|
14915
14920
|
if (ret.has_xu_exp_render_attribute) {
|
|
14916
14921
|
// $div.css('display', 'unset');
|
|
14917
14922
|
|
|
@@ -11354,7 +11354,7 @@ const generate_xu_ui_id = async function (SESSION_ID, nodeP, $container, paramsP
|
|
|
11354
11354
|
return new_ui_id;
|
|
11355
11355
|
};
|
|
11356
11356
|
|
|
11357
|
-
func.UI.screen.create_container = async function (SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, classP, elem_propP, div_typeP, $appendToP, attr_str) {
|
|
11357
|
+
func.UI.screen.create_container = async function (SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, classP, elem_propP, div_typeP, $appendToP, attr_str, is_placeholder) {
|
|
11358
11358
|
const _paramsP = _.cloneDeep(paramsP);
|
|
11359
11359
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_paramsP.dsSessionP];
|
|
11360
11360
|
var $appendTo = $container;
|
|
@@ -11379,6 +11379,11 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
11379
11379
|
/////////////////////////////////
|
|
11380
11380
|
|
|
11381
11381
|
var $div;
|
|
11382
|
+
|
|
11383
|
+
if (is_placeholder) {
|
|
11384
|
+
$div.addClass('display_none');
|
|
11385
|
+
}
|
|
11386
|
+
|
|
11382
11387
|
if (div === 'svg') {
|
|
11383
11388
|
const draw_svg = function (element) {
|
|
11384
11389
|
const get_tag_str = function (element, prop, val) {
|
|
@@ -12636,7 +12641,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12636
12641
|
const draw_html_element = async function (element) {
|
|
12637
12642
|
const done = async function (ret = {}) {
|
|
12638
12643
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
12639
|
-
|
|
12644
|
+
$div.removeClass('display_none');
|
|
12640
12645
|
if (ret.has_xu_exp_render_attribute) {
|
|
12641
12646
|
// $div.css('display', 'unset');
|
|
12642
12647
|
|