sprof 0.0.88 → 0.0.89
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/core/helpers/BaseStore.d.ts +3 -3
- package/dist/sprof.js +8 -8
- package/dist/sprof.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -16,7 +16,6 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
|
|
|
16
16
|
url: string;
|
|
17
17
|
constructor(i: Constructable<T>, url: string);
|
|
18
18
|
Set(item: T | void): void;
|
|
19
|
-
Item(): T;
|
|
20
19
|
getUrl(query?: string): string;
|
|
21
20
|
GetAll(options?: GetAllOptions): Promise<void>;
|
|
22
21
|
Get(id?: string): Promise<void>;
|
|
@@ -37,6 +36,7 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
|
|
|
37
36
|
ResetItem(): void;
|
|
38
37
|
ClearItems(): void;
|
|
39
38
|
UnshiftToAll(items: T[] | T | undefined): void;
|
|
40
|
-
Items(): T[];
|
|
41
|
-
|
|
39
|
+
get Items(): T[];
|
|
40
|
+
get Item(): T;
|
|
41
|
+
get Count(): Ref<number>;
|
|
42
42
|
}
|
package/dist/sprof.js
CHANGED
|
@@ -3179,7 +3179,7 @@ const Mu = /* @__PURE__ */ $({
|
|
|
3179
3179
|
return _e(async () => {
|
|
3180
3180
|
}), (e, i) => (m(), b("div"));
|
|
3181
3181
|
}
|
|
3182
|
-
}), Tu = /* @__PURE__ */ P(Eu, [["__scopeId", "data-v-
|
|
3182
|
+
}), Tu = /* @__PURE__ */ P(Eu, [["__scopeId", "data-v-1e39e96f"]]), Fu = /* @__PURE__ */ $({
|
|
3183
3183
|
__name: "GeneralItem",
|
|
3184
3184
|
props: {
|
|
3185
3185
|
background: {
|
|
@@ -6654,7 +6654,7 @@ const fh = /* @__PURE__ */ P(dh, [["render", hh], ["__scopeId", "data-v-0f1f2f84
|
|
|
6654
6654
|
emits: ["cancel", "save"],
|
|
6655
6655
|
setup(t, { emit: e }) {
|
|
6656
6656
|
const i = t, n = (y) => y ? "active" : "neutral", s = (y) => y ? "not-active" : "neutral", r = M.Paginator, o = z(!1), l = z(!1), a = e;
|
|
6657
|
-
r.count = i.store.Count
|
|
6657
|
+
r.count = i.store.Count.value;
|
|
6658
6658
|
const c = async (y) => {
|
|
6659
6659
|
if (y !== r.curPage) {
|
|
6660
6660
|
if (y < 1 && (y = 1), y > r.pagesCount() && (y = r.pagesCount()), !i.showConfirm)
|
|
@@ -6769,7 +6769,7 @@ const fh = /* @__PURE__ */ P(dh, [["render", hh], ["__scopeId", "data-v-0f1f2f84
|
|
|
6769
6769
|
]);
|
|
6770
6770
|
};
|
|
6771
6771
|
}
|
|
6772
|
-
}), Sh = /* @__PURE__ */ P(bh, [["__scopeId", "data-v-
|
|
6772
|
+
}), Sh = /* @__PURE__ */ P(bh, [["__scopeId", "data-v-5c7e3a5d"]]), Ch = /* @__PURE__ */ $({
|
|
6773
6773
|
__name: "RemoteSearch",
|
|
6774
6774
|
props: {
|
|
6775
6775
|
keyValue: {
|
|
@@ -10542,9 +10542,6 @@ class le {
|
|
|
10542
10542
|
Set(e) {
|
|
10543
10543
|
Object.assign(this.item, new this.classConstructor(e));
|
|
10544
10544
|
}
|
|
10545
|
-
Item() {
|
|
10546
|
-
return this.item;
|
|
10547
|
-
}
|
|
10548
10545
|
// ======= //
|
|
10549
10546
|
// ACTIONS //
|
|
10550
10547
|
// ======= //
|
|
@@ -10665,10 +10662,13 @@ class le {
|
|
|
10665
10662
|
// ======= //
|
|
10666
10663
|
// GETTERS //
|
|
10667
10664
|
// ======= //
|
|
10668
|
-
Items() {
|
|
10665
|
+
get Items() {
|
|
10669
10666
|
return this.items;
|
|
10670
10667
|
}
|
|
10671
|
-
|
|
10668
|
+
get Item() {
|
|
10669
|
+
return this.item;
|
|
10670
|
+
}
|
|
10671
|
+
get Count() {
|
|
10672
10672
|
return this.count;
|
|
10673
10673
|
}
|
|
10674
10674
|
}
|