@steedos-widgets/sortable 6.3.0-beta.14 → 6.3.0-beta.16

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.
@@ -54698,6 +54698,7 @@ var frontend_setup$1 = "Setup";
54698
54698
  var frontend_notifications$1 = "Notifications";
54699
54699
  var frontend_notifications_allread$1 = "Mark all as read";
54700
54700
  var frontend_notifications_allread_message$1 = "All marked as read";
54701
+ var frontend_notifications_close_dialog$1 = "Close";
54701
54702
  var frontend_profile$1 = "Profile";
54702
54703
  var switch_space$1 = "Switch Space";
54703
54704
  var frontend_about$1 = "About";
@@ -54787,6 +54788,7 @@ var en_us = {
54787
54788
  frontend_notifications: frontend_notifications$1,
54788
54789
  frontend_notifications_allread: frontend_notifications_allread$1,
54789
54790
  frontend_notifications_allread_message: frontend_notifications_allread_message$1,
54791
+ frontend_notifications_close_dialog: frontend_notifications_close_dialog$1,
54790
54792
  frontend_profile: frontend_profile$1,
54791
54793
  switch_space: switch_space$1,
54792
54794
  frontend_about: frontend_about$1,
@@ -54878,6 +54880,7 @@ var frontend_setup = "设置";
54878
54880
  var frontend_notifications = "通知";
54879
54881
  var frontend_notifications_allread = "全部标记为已读";
54880
54882
  var frontend_notifications_allread_message = "已全部标记为已读";
54883
+ var frontend_notifications_close_dialog = "关闭";
54881
54884
  var frontend_profile = "个人资料";
54882
54885
  var switch_space = "切换工作区";
54883
54886
  var frontend_about = "关于";
@@ -54968,6 +54971,7 @@ var zh_cn = {
54968
54971
  frontend_notifications: frontend_notifications,
54969
54972
  frontend_notifications_allread: frontend_notifications_allread,
54970
54973
  frontend_notifications_allread_message: frontend_notifications_allread_message,
54974
+ frontend_notifications_close_dialog: frontend_notifications_close_dialog,
54971
54975
  frontend_profile: frontend_profile,
54972
54976
  switch_space: switch_space,
54973
54977
  frontend_about: frontend_about,
@@ -59930,8 +59934,8 @@ async function lookupToAmisPicker(field, readonly, ctx){
59930
59934
  const isAllowCreate = refObjectConfig.permissions.allowCreate;
59931
59935
  const isCreate = lodash.exports.isBoolean(field.create) ? field.create : true;
59932
59936
  // lookup字段配置过滤条件就强制不显示新建按钮
59933
- let isHasFilters = (field.filters || field.filtersFunction || field._filtersFunction) ? true : false;
59934
- if (isAllowCreate && isCreate && !isHasFilters) {
59937
+ let hasFilters = !lodash.exports.isEmpty(field.filters) || !!field.filtersFunction || !!field._filtersFunction;
59938
+ if (isAllowCreate && isCreate && !hasFilters) {
59935
59939
  const new_button = await getSchema$5(refObjectConfig, { appId: ctx.appId, objectName: refObjectConfig.name, formFactor: ctx.formFactor });
59936
59940
  new_button.align = "right";
59937
59941
  // 保持快速搜索放在最左侧,新建按钮往里插,而不是push到最后