@steedos-widgets/amis-object 6.10.1-beta.20 → 6.10.1-beta.21

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.
@@ -129,6 +129,7 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
129
129
  body: ({
130
130
  type: string;
131
131
  className: string;
132
+ visibleOn: string;
132
133
  body: ({
133
134
  type: string;
134
135
  className: string;
@@ -149,6 +150,7 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
149
150
  type: string;
150
151
  className: string;
151
152
  hiddenOn: string;
153
+ visibleOn?: undefined;
152
154
  body?: undefined;
153
155
  })[];
154
156
  onEvent: {
@@ -26083,7 +26083,8 @@ var AmisAppLauncher = function (props) { return __awaiter(void 0, void 0, void 0
26083
26083
  type: 'tpl',
26084
26084
  className: "text-xl ml-4 mr-4 text-black nowrap ".concat(appNameClassName, " "),
26085
26085
  tpl: '${app.name}',
26086
- hiddenOn: "".concat(!!app || !!!showAppName)
26086
+ hiddenOn: "".concat(!!app || !!!showAppName),
26087
+ visibleOn: '${!!appId}',
26087
26088
  }
26088
26089
  ], __read(customElements), false),
26089
26090
  "dialog": {
@@ -26124,7 +26125,8 @@ var AmisAppLauncher = function (props) { return __awaiter(void 0, void 0, void 0
26124
26125
  type: 'tpl',
26125
26126
  className: "text-xl ml-4 mr-4 text-black nowrap ".concat(appNameClassName, " "),
26126
26127
  tpl: '${app.name}',
26127
- hiddenOn: "".concat(!!app || !!!showAppName)
26128
+ hiddenOn: "".concat(!!app || !!!showAppName),
26129
+ visibleOn: '${!!appId}',
26128
26130
  }
26129
26131
  ], __read(customElements), false),
26130
26132
  "overlay": [
@@ -26957,6 +26959,7 @@ var AmisGlobalHeader = function (props) { return __awaiter(void 0, void 0, void
26957
26959
  {
26958
26960
  type: "wrapper",
26959
26961
  className: 'sidebar-wrapper px-0 py-3 pb-16 fixed z-20 h-full h-fill ease-in-out duration-300 flex flex-col border-r overflow-y-auto bg-gray-100 border-gray-300 block -translate-x-0 sm:w-[220px] w-64',
26962
+ visibleOn: '${!!appId}',
26960
26963
  body: [
26961
26964
  {
26962
26965
  "type": "steedos-app-launcher",
@@ -27346,7 +27349,8 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
27346
27349
  },
27347
27350
  {
27348
27351
  type: 'tpl',
27349
- tpl: "<span class='antd-TplField antd-Form-description'><span>".concat(steedosField.description, "</span></span>")
27352
+ tpl: "<span class='antd-TplField antd-Form-description'><span>".concat(steedosField.description, "</span></span>"),
27353
+ hidden: _$1.isEmpty(steedosField.description) ? true : false
27350
27354
  }],
27351
27355
  _p)]));
27352
27356
  return [3 /*break*/, 13];