sep-yui 0.1.45 → 0.1.47

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.
@@ -11,6 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
11
11
  modelModifiers: () => {};
12
12
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: string | number) => void;
14
+ focused: (event: FocusEvent) => void;
14
15
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IInputNumberProps>, {
15
16
  modelValue: number;
16
17
  min: number;
@@ -21,6 +22,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
21
22
  modelModifiers: () => {};
22
23
  }>>> & {
23
24
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
25
+ onFocused?: ((event: FocusEvent) => any) | undefined;
24
26
  }, {
25
27
  dataTestid: string;
26
28
  size: SizesEnum.small | SizesEnum.medium;
@@ -17,6 +17,7 @@ export interface ITableTd extends IDataTestIdProp {
17
17
  rowspan?: number | string;
18
18
  }
19
19
  export interface ITableProps extends IDataTestIdProp, IScrollWrapperProps {
20
+ tableId?: string;
20
21
  }
21
22
  export interface ITableEmit {
22
23
  (e: 'unmount-scroll', event: Event): void;
@@ -14553,7 +14553,7 @@ const NE = ["data-testid"], FE = ["data-testid"], jE = ["data-testid"], UE = ["t
14553
14553
  modelModifiers: { default: () => ({}) },
14554
14554
  dataTestid: { default: "InputNumber" }
14555
14555
  },
14556
- emits: ["update:modelValue"],
14556
+ emits: ["update:modelValue", "focused"],
14557
14557
  setup(e, { emit: t }) {
14558
14558
  const n = t, i = e, a = We({
14559
14559
  isPressed: !1,
@@ -14567,8 +14567,8 @@ const NE = ["data-testid"], FE = ["data-testid"], jE = ["data-testid"], UE = ["t
14567
14567
  )), b.includes("-") && (b = (b.startsWith("-") ? "-" : "") + b.replace(/-/g, "")), b.startsWith("0") && b.length > 1 && !b.startsWith("0.") && (b = b.replace(/^0+/, "")), b.startsWith("-0") && b.length > 2 && !b.startsWith("-0.") && (b = "-" + b.slice(2).replace(/^0+/, "")), (b.match(/\./g) || []).length > 1 && (b = b.slice(0, b.lastIndexOf(".")) + b.slice(b.lastIndexOf(".") + 1)), Number(b) > i.max ? a.inputElement = i.max : Number(b) < i.min ? a.inputElement = i.min : a.inputElement = b, a.inputElement !== "" && !l.test(`${a.inputElement}`) && (a.inputElement = a.prevValue), isNaN(+a.inputElement) || n("update:modelValue", a.inputElement);
14568
14568
  }, f = (g) => {
14569
14569
  a.prevValue = a.inputElement, g.key === "ArrowUp" && m(), g.key === "ArrowDown" && C();
14570
- }, h = () => {
14571
- a.isPressed = !0;
14570
+ }, h = (g) => {
14571
+ a.isPressed = !0, n("focused", g);
14572
14572
  }, p = () => {
14573
14573
  (a.inputElement === "" || a.inputElement === null || isNaN(+a.inputElement)) && (a.inputElement = i.min > 0 ? i.min : 0), isNaN(+a.inputElement) && (a.inputElement = Math.max(i.min, 0)), a.inputElement = `${a.inputElement}`.replace(/(\.\d*?[1-9])0+$/, "$1").replace(/\.0+$/, ""), n("update:modelValue", a.inputElement), a.isPressed = !1;
14574
14574
  }, m = () => {
@@ -14646,7 +14646,7 @@ const NE = ["data-testid"], FE = ["data-testid"], jE = ["data-testid"], UE = ["t
14646
14646
  ], 8, KE)
14647
14647
  ], 42, ZE));
14648
14648
  }
14649
- }), Kp = /* @__PURE__ */ _e(eR, [["__scopeId", "data-v-40f821fb"]]), Jp = "data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";
14649
+ }), Kp = /* @__PURE__ */ _e(eR, [["__scopeId", "data-v-44925513"]]), Jp = "data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";
14650
14650
  var Qp = /* @__PURE__ */ ((e) => (e.jpg = "jpg", e.png = "png", e.jpeg = "jpeg", e.webp = "webp", e.svg = "svg", e.pdf = "pdf", e))(Qp || {}), e2 = /* @__PURE__ */ ((e) => (e.mp4 = "mp4", e.mp3 = "mp3", e.avif = "avif", e))(e2 || {});
14651
14651
  const ku = (e) => (oa("data-v-cd37dedb"), e = e(), ia(), e), tR = ["data-testid"], nR = {
14652
14652
  class: "slider-yui-kit__wrapper",
@@ -16781,10 +16781,11 @@ const bV = ["id", "data-testid"], kV = ["data-testid"], $V = ["data-testid"], TV
16781
16781
  we(n.$slots, "default", {}, void 0, !0)
16782
16782
  ], 8, pY));
16783
16783
  }
16784
- }), va = /* @__PURE__ */ _e(vY, [["__scopeId", "data-v-39ad1e7b"]]), gY = ["data-testid"], mY = ["data-testid"], _Y = ["data-testid"], yY = /* @__PURE__ */ ae({
16784
+ }), va = /* @__PURE__ */ _e(vY, [["__scopeId", "data-v-39ad1e7b"]]), gY = ["id", "data-testid"], mY = ["data-testid"], _Y = ["data-testid"], yY = /* @__PURE__ */ ae({
16785
16785
  name: "TableNew",
16786
16786
  __name: "Table",
16787
16787
  props: {
16788
+ tableId: {},
16788
16789
  dataTestid: { default: "Table" },
16789
16790
  isShowVerticalScroll: { type: Boolean, default: !1 },
16790
16791
  isShowHorizontalScroll: { type: Boolean, default: !1 }
@@ -16854,6 +16855,7 @@ const bV = ["id", "data-testid"], kV = ["data-testid"], $V = ["data-testid"], TV
16854
16855
  R("table", {
16855
16856
  ref_key: "tableRef",
16856
16857
  ref: u,
16858
+ id: i.tableId,
16857
16859
  class: "table__table",
16858
16860
  "data-testid": `${i.dataTestid}`
16859
16861
  }, [
@@ -16906,7 +16908,7 @@ const bV = ["id", "data-testid"], kV = ["data-testid"], $V = ["data-testid"], TV
16906
16908
  _: 3
16907
16909
  }, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
16908
16910
  }
16909
- }), D2 = /* @__PURE__ */ _e(yY, [["__scopeId", "data-v-019692fe"]]), CY = ["data-testid"], wY = /* @__PURE__ */ ae({
16911
+ }), D2 = /* @__PURE__ */ _e(yY, [["__scopeId", "data-v-6e103537"]]), CY = ["data-testid"], wY = /* @__PURE__ */ ae({
16910
16912
  name: "TableRow",
16911
16913
  __name: "TableRow",
16912
16914
  props: {
@@ -17442,6 +17444,7 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ae({
17442
17444
  name: "TableNew",
17443
17445
  __name: "TableNew",
17444
17446
  props: {
17447
+ tableId: {},
17445
17448
  dataTestid: { default: "Table" },
17446
17449
  isShowVerticalScroll: { type: Boolean, default: !1 },
17447
17450
  isShowHorizontalScroll: { type: Boolean, default: !1 }