@pksep/yui 0.1.134 → 0.1.137

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.
@@ -4,5 +4,6 @@ export interface ITabsEmit {
4
4
  (e: 'unmount-tab', id: number): void;
5
5
  }
6
6
  export interface ITabsProps extends IDataTestIdProp {
7
+ defaultActiveTabId?: number;
7
8
  tabCount: number;
8
9
  }
@@ -60670,6 +60670,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
60670
60670
  name: "Tabs",
60671
60671
  __name: "Tabs",
60672
60672
  props: {
60673
+ defaultActiveTabId: {},
60673
60674
  tabCount: {},
60674
60675
  dataTestid: { default: "Tabs" }
60675
60676
  },
@@ -60677,7 +60678,17 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
60677
60678
  setup(e, { emit: t }) {
60678
60679
  const n = e, i = t, r = ue({
60679
60680
  activeTab: 1
60680
- }), a = (s) => Array.from({ length: s }, (l, d) => d + 1), o = (s) => {
60681
+ }), a = (s) => Array.from({ length: s }, (l, d) => d + 1);
60682
+ G(
60683
+ () => n.defaultActiveTabId,
60684
+ () => {
60685
+ n.defaultActiveTabId && (r.activeTab = n.defaultActiveTabId);
60686
+ },
60687
+ {
60688
+ immediate: !0
60689
+ }
60690
+ );
60691
+ const o = (s) => {
60681
60692
  r.activeTab = s, i("unmount-tab", s);
60682
60693
  };
60683
60694
  return (s, l) => (R(), Y("div", {
@@ -60713,7 +60724,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
60713
60724
  ], 64))), 128))
60714
60725
  ], 8, IDe));
60715
60726
  }
60716
- }), AM = /* @__PURE__ */ xe($De, [["__scopeId", "data-v-7f7d6755"]]);
60727
+ }), AM = /* @__PURE__ */ xe($De, [["__scopeId", "data-v-0e453d9a"]]);
60717
60728
  function pn(e) {
60718
60729
  this.content = e;
60719
60730
  }
@@ -90191,7 +90202,7 @@ const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe
90191
90202
  }, {
90192
90203
  default: Ee(() => [
90193
90204
  de(De, {
90194
- name: q(ve).planeRightFill,
90205
+ name: q(ve).planeRight,
90195
90206
  width: 21,
90196
90207
  height: 21
90197
90208
  }, null, 8, ["name"])