@pksep/yui 0.1.302 → 0.1.303

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.
package/dist/sep-yui.mjs CHANGED
@@ -1896,7 +1896,7 @@ const c_ = {
1896
1896
  }, null, 8, ["data-testid", "name"])
1897
1897
  ], 10, Rgg));
1898
1898
  }
1899
- }), Qi = /* @__PURE__ */ iI(Hgg, [["__scopeId", "data-v-cac27646"]]), fgg = ["data-testid"], Sgg = ["data-testid"], Dgg = ["data-testid"], Fgg = ["data-testid"], kgg = ["data-testid"], Kgg = ["data-testid"], zgg = ["title", "onClick", "data-testid"], Jgg = ["data-testid"], vgg = ["onClick", "data-testid"], xgg = ["data-testid"], eV = 25, Tgg = /* @__PURE__ */ Gg({
1899
+ }), Qi = /* @__PURE__ */ iI(Hgg, [["__scopeId", "data-v-c4feb762"]]), fgg = ["data-testid"], Sgg = ["data-testid"], Dgg = ["data-testid"], Fgg = ["data-testid"], kgg = ["data-testid"], Kgg = ["data-testid"], zgg = ["title", "onClick", "data-testid"], Jgg = ["data-testid"], vgg = ["onClick", "data-testid"], xgg = ["data-testid"], eV = 25, Tgg = /* @__PURE__ */ Gg({
1900
1900
  __name: "BreadCrumbs",
1901
1901
  props: {
1902
1902
  items: {},
@@ -52127,7 +52127,7 @@ const _Eg = ["data-testid"], qEg = ["data-testid"], $Eg = /* @__PURE__ */ Gg({
52127
52127
  oI(I.$slots, "default", {}, void 0, !0)
52128
52128
  ], 8, lPg));
52129
52129
  }
52130
- }), Xv = /* @__PURE__ */ iI(aPg, [["__scopeId", "data-v-dbb49677"]]), dPg = ["data-testid"], cPg = ["data-testid"], mPg = ["data-testid"], rPg = ["data-testid"], ZPg = ["onClick", "data-testid"], uPg = ["data-testid"], bPg = /* @__PURE__ */ Gg({
52130
+ }), Xv = /* @__PURE__ */ iI(aPg, [["__scopeId", "data-v-ae69aa44"]]), dPg = ["data-testid"], cPg = ["data-testid"], mPg = ["data-testid"], rPg = ["data-testid"], ZPg = ["onClick", "data-testid"], uPg = ["data-testid"], bPg = /* @__PURE__ */ Gg({
52131
52131
  __name: "History",
52132
52132
  props: {
52133
52133
  modelValue: {},
@@ -116133,7 +116133,7 @@ const xaI = /* @__PURE__ */ Gg({
116133
116133
  normalizedMimeType: Ig,
116134
116134
  fileSize: L.size,
116135
116135
  lastModified: L.lastModified
116136
- }), Pg = (L) => L.startsWith("image/") || L.startsWith("video/"), sI = (L) => jl.has(cg(L)), UI = async (L) => {
116136
+ }), Pg = (L) => L.startsWith("image/") || L.startsWith("video/"), sI = (L) => jl.has(cg(L)), UI = (L) => {
116137
116137
  const Ig = cg(L), lg = Yg(L, Ig);
116138
116138
  if (console.warn(`${Fa} normalize file`, {
116139
116139
  ...jg(L, Ig),
@@ -116145,17 +116145,16 @@ const xaI = /* @__PURE__ */ Gg({
116145
116145
  jg(L, Ig)
116146
116146
  ), L;
116147
116147
  try {
116148
- const yg = await L.arrayBuffer();
116149
- return console.warn(`${Fa} detached file copy created`, {
116150
- ...jg(L, Ig),
116151
- normalizedFileName: lg,
116152
- bufferSize: yg.byteLength
116153
- }), new File([yg], lg, {
116148
+ const yg = new File([L], lg, {
116154
116149
  type: Ig || L.type,
116155
116150
  lastModified: L.lastModified
116156
116151
  });
116152
+ return console.warn(`${Fa} normalized file wrapper created`, {
116153
+ ...jg(L, Ig),
116154
+ normalizedFileName: lg
116155
+ }), yg;
116157
116156
  } catch (yg) {
116158
- return console.warn(`${Fa} failed to detach file, using original`, {
116157
+ return console.warn(`${Fa} failed to normalize file, using original`, {
116159
116158
  ...jg(L, Ig),
116160
116159
  normalizedFileName: lg,
116161
116160
  error: yg
@@ -116169,7 +116168,7 @@ const xaI = /* @__PURE__ */ Gg({
116169
116168
  inputCount: Array.from(L).length,
116170
116169
  onlyMedia: Ig
116171
116170
  });
116172
- const lg = await Promise.all(Array.from(L, UI));
116171
+ const lg = Array.from(L, UI);
116173
116172
  if (!lg.length) {
116174
116173
  console.warn(`${Fa} no files after normalization`);
116175
116174
  return;
@@ -116183,7 +116182,7 @@ const xaI = /* @__PURE__ */ Gg({
116183
116182
  isOnlyMedia: yg
116184
116183
  }), n("unmount-attach-file", rC(lg), yg);
116185
116184
  }, Re = async (L, Ig) => {
116186
- const lg = await Promise.all(Array.from(L, UI));
116185
+ const lg = Array.from(L, UI);
116187
116186
  if (lg.length) {
116188
116187
  if (Ig) {
116189
116188
  const yg = lg.filter(