admins-components 5.8.5 → 5.9.0

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.
@@ -2304,7 +2304,7 @@ x0(bC, "getId", (f, _) => `${f}_${_}`), x0(bC, "saveOptions", (f, _, h, x) => {
2304
2304
  }));
2305
2305
  });
2306
2306
  let iqe = bC;
2307
- const TPt = { class: "hdr-container d-flex flex-row flex-wrap align-items-center gap-3" }, xPt = ["onClick", "title"], kPt = { class: "hdr-title d-flex align-items-center" }, CPt = ["onClick", "title"], EPt = { class: "d-flex flex-grow-1 justify-content-end gap-3" }, wPt = ["onClick", "title"], DPt = /* @__PURE__ */ jd({
2307
+ const TPt = { class: "hdr-container d-flex flex-row flex-wrap align-items-center gap-3" }, xPt = ["onClick", "title", "disabled"], kPt = { class: "hdr-title d-flex align-items-center" }, CPt = ["onClick", "title"], EPt = { class: "d-flex flex-grow-1 justify-content-end gap-3" }, wPt = ["onClick", "title"], DPt = /* @__PURE__ */ jd({
2308
2308
  __name: "HeaderComponent",
2309
2309
  props: {
2310
2310
  title: {},
@@ -2326,7 +2326,8 @@ const TPt = { class: "hdr-container d-flex flex-row flex-wrap align-items-center
2326
2326
  type: "button",
2327
2327
  class: "btn btn-outline-secondary",
2328
2328
  onClick: h.callBack,
2329
- title: h.title
2329
+ title: h.title,
2330
+ disabled: h.disabled
2330
2331
  }, Yu(h.title), 9, xPt)) : gc("", !0)
2331
2332
  ], 64))), 256)),
2332
2333
  yn("div", kPt, Yu(f.title), 1),
@@ -33304,12 +33305,12 @@ function fnr(l, f, _, h, x, A) {
33304
33305
  "show-ids": l.iaoeConfig.showIds,
33305
33306
  "search-article-api-url": l.iaoeConfig.searchArticleApiUrl,
33306
33307
  "search-article-widget-url": l.iaoeConfig.searchArticleWidgetUrl,
33307
- "search-image-api-url": l.ipeConfig.searchImageApiUrl,
33308
33308
  "search-image-widget-url": l.ipeConfig.searchImageWidgetUrl,
33309
33309
  "image-base-url": l.ipeConfig.imageBaseUrl,
33310
+ environment: l.ipeConfig.environment,
33310
33311
  "image-view-id": l.ipeConfig.imageViewId,
33311
33312
  formats: l.iaoeConfig.formats
33312
- }, null, 8, ["modelValue", "show-ids", "search-article-api-url", "search-article-widget-url", "search-image-api-url", "search-image-widget-url", "image-base-url", "image-view-id", "formats"])
33313
+ }, null, 8, ["modelValue", "show-ids", "search-article-api-url", "search-article-widget-url", "search-image-widget-url", "image-base-url", "environment", "image-view-id", "formats"])
33313
33314
  ]),
33314
33315
  _: 2
33315
33316
  }, [
@@ -3,6 +3,7 @@ export interface IHeaderButton {
3
3
  type: "button" | "iconButton";
4
4
  title: string;
5
5
  icon: string;
6
+ disabled?: boolean;
6
7
  callBack: () => void;
7
8
  }
8
9
  type __VLS_Props = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "admins-components",
3
- "version": "5.8.5",
3
+ "version": "5.9.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"