@devtable/dashboard 13.29.2 → 13.29.4

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.
@@ -9630,7 +9630,7 @@ class cc {
9630
9630
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
9631
9631
  }
9632
9632
  }
9633
- const gf = "13.29.2", c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9633
+ const gf = "13.29.4", c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9634
9634
  __proto__: null,
9635
9635
  version: gf
9636
9636
  }, Symbol.toStringTag, { value: "Module" }));
@@ -16725,7 +16725,7 @@ function XT(e, t) {
16725
16725
  return {
16726
16726
  totalPages: T(() => {
16727
16727
  const l = Object.keys(a).length;
16728
- return t.pagination.page_size === 0 ? l : k.floor(l / t.pagination.page_size + 1);
16728
+ return t.pagination.page_size === 0 ? l : k.ceil(l / t.pagination.page_size);
16729
16729
  }, [a, t.pagination.page_size]),
16730
16730
  groupedFullData: a
16731
16731
  };
@@ -30641,7 +30641,7 @@ const g2 = GP.views((e) => ({
30641
30641
  Zt(e, Rt(() => {
30642
30642
  var n;
30643
30643
  return e.isTransform ? [e.inUse, e.id, e.key, e.dep_query_ids.toString(), e.pre_process, e.depQueryModelStatesString].join("--") : e.typedAsHTTP ? `${e.inUse}--${e.id}--${e.key}--${e.reQueryKey}--${(n = e.datasource) == null ? void 0 : n.id}` : [e.inUse, e.id, e.key, e.formattedSQL, e.pre_process, e.post_process].join("--");
30644
- }, (t) => (e.name === "getProjectGroupContributors" && console.log("🔵 deps: ", t), e.fetchData(!1)), {
30644
+ }, () => e.fetchData(!1), {
30645
30645
  fireImmediately: !0,
30646
30646
  delay: 0
30647
30647
  }));
@@ -33238,6 +33238,7 @@ const EO = {
33238
33238
  labels: "Filters",
33239
33239
  add: "Add a Filter",
33240
33240
  manage: "Manage Filters",
33241
+ delete: "Delete this filter",
33241
33242
  show_filters: "Show Filters",
33242
33243
  hide_filters: "Hide Filters",
33243
33244
  field: {
@@ -33248,7 +33249,7 @@ const EO = {
33248
33249
  auto_submit: "Submit automatically",
33249
33250
  order: "Placement Order",
33250
33251
  custom_default_value: {
33251
- trigger: "Custom",
33252
+ trigger: "Custom default value",
33252
33253
  title: "Custom default value",
33253
33254
  tips: "Tips",
33254
33255
  tip_1: "Function has the highest priority of getting filter's default value",
@@ -33690,7 +33691,8 @@ const EO = {
33690
33691
  conditions: "Conditions",
33691
33692
  run_by_condition: {
33692
33693
  label: "Run query when these are truthy",
33693
- unset: "Always run this query on load"
33694
+ description: "Falsy: empty array / NaN / false / empty string / undefined / null",
33695
+ unset: "Leave it empty to always run this query on load"
33694
33696
  },
33695
33697
  re_run_condition: {
33696
33698
  label: "Re-run query when these changed",
@@ -34191,6 +34193,7 @@ const EO = {
34191
34193
  labels: "筛选器",
34192
34194
  add: "新增筛选器",
34193
34195
  manage: "管理筛选器",
34196
+ delete: "删除这个筛选器",
34194
34197
  show_filters: "展开筛选器",
34195
34198
  hide_filters: "收起筛选器",
34196
34199
  field: {
@@ -34201,7 +34204,7 @@ const EO = {
34201
34204
  auto_submit: "自动提交",
34202
34205
  order: "排列次序",
34203
34206
  custom_default_value: {
34204
- trigger: "自定义",
34207
+ trigger: "自定义默认值",
34205
34208
  title: "自定义默认值",
34206
34209
  tips: "提示",
34207
34210
  tip_1: "在指定筛选器默认值这事上,自定义函数具备最高优先级",
@@ -34642,8 +34645,9 @@ const EO = {
34642
34645
  basics: "基本信息",
34643
34646
  conditions: "条件",
34644
34647
  run_by_condition: {
34645
- label: "以下条件满足时,才运行本查询",
34646
- unset: "看板加载时便运行本查询"
34648
+ label: "以下条件为真时,才运行本查询",
34649
+ description: "为假的情况: 空数组 / NaN / false / 空字符串 / undefined / null",
34650
+ unset: "留空则在看板加载时便运行本查询"
34647
34651
  },
34648
34652
  re_run_condition: {
34649
34653
  label: "当以下条件改变时,重新运行此查询",
@@ -38406,7 +38410,7 @@ const $V = D(({
38406
38410
  e.setKey(a), e.setType(s);
38407
38411
  } }),
38408
38412
  /* @__PURE__ */ r.jsx(O, { mt: 10, mb: -10, variant: "dashed", label: t("query.conditions"), labelPosition: "center" }),
38409
- /* @__PURE__ */ r.jsx(ai, { label: t("query.run_by_condition.label"), placeholder: t("query.run_by_condition.unset"), data: e.conditionOptions, value: [...e.run_by], onChange: e.setRunBy, itemComponent: cu, maxDropdownHeight: 500 }),
38413
+ /* @__PURE__ */ r.jsx(ai, { label: t("query.run_by_condition.label"), description: t("query.run_by_condition.description"), placeholder: t("query.run_by_condition.unset"), data: e.conditionOptions, value: [...e.run_by], onChange: e.setRunBy, itemComponent: cu, maxDropdownHeight: 500 }),
38410
38414
  e.typedAsHTTP && /* @__PURE__ */ r.jsx(ai, { label: t("query.re_run_condition.label"), placeholder: t("query.re_run_condition.label"), data: e.conditionOptions, value: [...e.react_to], onChange: e.setReactTo, itemComponent: cu, maxDropdownHeight: 500 }),
38411
38415
  /* @__PURE__ */ r.jsx(O, { mt: 20, mb: 10, variant: "dashed" }),
38412
38416
  /* @__PURE__ */ r.jsx(TV, { queryModel: e })