@platforma-sdk/ui-vue 1.42.0 → 1.42.2
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/.turbo/turbo-build.log +11 -10
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/components/PlAgDataTable/sources/table-source-v2.js +11 -11
- package/dist/components/PlMultiSequenceAlignment/Toolbar.vue2.js +15 -15
- package/dist/components/PlMultiSequenceAlignment/data.js +24 -24
- package/dist/components/PlTableFilters/PlTableFiltersV2.vue2.js +18 -18
- package/dist/defineApp.js +6 -6
- package/dist/internal/createAppV2.js +12 -12
- package/dist/lib/model/common/dist/index.js +24 -24
- package/dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js +1 -1
- package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js +7 -7
- package/dist/lib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js +91 -103
- package/dist/lib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlNumberField/parseNumber.js +77 -0
- package/dist/lib/ui/uikit/dist/components/PlNumberField/parseNumber.js.map +1 -0
- package/dist/lib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js +4 -4
- package/dist/lib/ui/uikit/dist/lib/model/common/dist/index.js +8 -8
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +1 -1
- package/dist/sdk/model/dist/index.js +1 -1
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-sdk/ui-vue@1.42.
|
|
3
|
+
> @platforma-sdk/ui-vue@1.42.2 build /home/runner/_work/platforma/platforma/sdk/ui-vue
|
|
4
4
|
> vite build
|
|
5
5
|
|
|
6
6
|
[36mvite v6.3.5 [32mbuilding for production...[36m[39m
|
|
7
7
|
transforming...
|
|
8
|
-
[32m✓[39m
|
|
8
|
+
[32m✓[39m 900 modules transformed.
|
|
9
9
|
rendering chunks...
|
|
10
10
|
|
|
11
11
|
[vite:dts] Start generate declaration files...
|
|
12
12
|
computing gzip size...
|
|
13
|
-
[vite:dts] Declaration files built in
|
|
13
|
+
[vite:dts] Declaration files built in 5831ms.
|
|
14
14
|
|
|
15
15
|
[2mdist/[22m[36m_virtual/re.js [39m[1m[2m 0.08 kB[22m[1m[22m[2m │ gzip: 0.10 kB[22m[2m │ map: 0.09 kB[22m
|
|
16
16
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js [39m[1m[2m 0.09 kB[22m[1m[22m[2m │ gzip: 0.10 kB[22m[2m │ map: 0.32 kB[22m
|
|
@@ -44,12 +44,12 @@ computing gzip size...
|
|
|
44
44
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js [39m[1m[2m 0.12 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.40 kB[22m
|
|
45
45
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js [39m[1m[2m 0.12 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.40 kB[22m
|
|
46
46
|
[2mdist/[22m[36mcomponents/PlAgDataTable/PlAgOverlayLoading.vue2.js [39m[1m[2m 0.12 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
47
|
-
[2mdist/[22m[36mcomponents/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue2.js [39m[1m[2m 0.12 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
48
47
|
[2mdist/[22m[36mcomponents/PlTableFilters/PlTableAddFilterV2.vue2.js [39m[1m[2m 0.12 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
48
|
+
[2mdist/[22m[36mcomponents/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue2.js [39m[1m[2m 0.12 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
49
49
|
[2mdist/[22m[36mplugins/Monetization/MonetizationSidebar.vue2.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
50
50
|
[2mdist/[22m[36mcomponents/PlTableFilters/PlTableFilterEntryV2.vue2.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
51
|
-
[2mdist/[22m[36mcomponents/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue2.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
52
51
|
[2mdist/[22m[36mcomponents/PlAgGridColumnManager/PlAgGridColumnManager.vue2.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
52
|
+
[2mdist/[22m[36mcomponents/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue2.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
53
53
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlRadio/keys.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.13 kB[22m[2m │ map: 0.46 kB[22m
|
|
54
54
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.13 kB[22m[2m │ map: 0.49 kB[22m
|
|
55
55
|
[2mdist/[22m[36mcomponents/ValueOrErrorsComponent.vue2.js [39m[1m[2m 0.13 kB[22m[1m[22m[2m │ gzip: 0.12 kB[22m[2m │ map: 0.11 kB[22m
|
|
@@ -151,8 +151,8 @@ computing gzip size...
|
|
|
151
151
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlRadio/PlRadio.vue.js [39m[1m[2m 0.27 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m[2m │ map: 0.10 kB[22m
|
|
152
152
|
[2mdist/[22m[36m_virtual/index.js [39m[1m[2m 0.27 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m[2m │ map: 0.09 kB[22m
|
|
153
153
|
[2mdist/[22m[36mcomponents/PlMultiSequenceAlignment/Toolbar.vue.js [39m[1m[2m 0.27 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m[2m │ map: 0.10 kB[22m
|
|
154
|
-
[2mdist/[22m[36mlib/ui/uikit/dist/assets/icons/icon-assets-min/24_linetype-longdash.svg.js [39m[1m[2m 0.27 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m[2m │ map: 0.50 kB[22m
|
|
155
154
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlChartStackedBar/Legends.vue.js [39m[1m[2m 0.27 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m[2m │ map: 0.10 kB[22m
|
|
155
|
+
[2mdist/[22m[36mlib/ui/uikit/dist/assets/icons/icon-assets-min/24_linetype-longdash.svg.js [39m[1m[2m 0.27 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m[2m │ map: 0.50 kB[22m
|
|
156
156
|
[2mdist/[22m[36mlib/ui/uikit/dist/assets/icons/icon-assets-min/16_chevron-first.svg.js [39m[1m[2m 0.28 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m[2m │ map: 0.48 kB[22m
|
|
157
157
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlIcon16/PlIcon16.vue.js [39m[1m[2m 0.28 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m[2m │ map: 0.10 kB[22m
|
|
158
158
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlIcon24/PlIcon24.vue.js [39m[1m[2m 0.28 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m[2m │ map: 0.10 kB[22m
|
|
@@ -705,6 +705,7 @@ computing gzip size...
|
|
|
705
705
|
[2mdist/[22m[36mAgGridVue/createAgGridColDef.js [39m[1m[2m 1.61 kB[22m[1m[22m[2m │ gzip: 0.72 kB[22m[2m │ map: 9.40 kB[22m
|
|
706
706
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/@vueuse_integrations@13.3.0_axios@1.8.1_focus-trap@7.6.0_sortablejs@1.15.6_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/integrations/useSortable.js [39m[1m[2m 1.61 kB[22m[1m[22m[2m │ gzip: 0.80 kB[22m[2m │ map: 4.03 kB[22m
|
|
707
707
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlTabs/PlTabs.vue.js [39m[1m[2m 1.61 kB[22m[1m[22m[2m │ gzip: 0.80 kB[22m[2m │ map: 2.14 kB[22m
|
|
708
|
+
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlNumberField/parseNumber.js [39m[1m[2m 1.61 kB[22m[1m[22m[2m │ gzip: 0.56 kB[22m[2m │ map: 4.44 kB[22m
|
|
708
709
|
[2mdist/[22m[36mlib/ui/uikit/dist/base/BtnBase.vue.js [39m[1m[2m 1.63 kB[22m[1m[22m[2m │ gzip: 0.74 kB[22m[2m │ map: 1.80 kB[22m
|
|
709
710
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js [39m[1m[2m 1.63 kB[22m[1m[22m[2m │ gzip: 0.68 kB[22m[2m │ map: 4.38 kB[22m
|
|
710
711
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlFileDialog/Shortcuts.vue2.js [39m[1m[2m 1.63 kB[22m[1m[22m[2m │ gzip: 0.60 kB[22m[2m │ map: 0.14 kB[22m
|
|
@@ -849,7 +850,7 @@ computing gzip size...
|
|
|
849
850
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlElementList/PlElementList.vue2.js [39m[1m[2m 9.17 kB[22m[1m[22m[2m │ gzip: 2.43 kB[22m[2m │ map: 17.22 kB[22m
|
|
850
851
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js [39m[1m[2m 9.19 kB[22m[1m[22m[2m │ gzip: 3.33 kB[22m[2m │ map: 22.02 kB[22m
|
|
851
852
|
[2mdist/[22m[36mcomponents/PlTableFilters/filters_logic.js [39m[1m[2m 9.69 kB[22m[1m[22m[2m │ gzip: 2.25 kB[22m[2m │ map: 20.32 kB[22m
|
|
852
|
-
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js [39m[1m[2m 10.
|
|
853
|
+
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlNumberField/PlNumberField.vue.js [39m[1m[2m 10.00 kB[22m[1m[22m[2m │ gzip: 3.17 kB[22m[2m │ map: 12.09 kB[22m
|
|
853
854
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js [39m[1m[2m 10.78 kB[22m[1m[22m[2m │ gzip: 3.38 kB[22m[2m │ map: 8.09 kB[22m
|
|
854
855
|
[2mdist/[22m[36mlib/ui/uikit/dist/demo-site-data/all-css-variables.js [39m[1m[2m 11.00 kB[22m[1m[22m[2m │ gzip: 1.76 kB[22m[2m │ map: 18.24 kB[22m
|
|
855
856
|
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlDropdownLine/PlDropdownLine.vue.js [39m[1m[2m 14.70 kB[22m[1m[22m[2m │ gzip: 3.91 kB[22m[2m │ map: 12.75 kB[22m
|
|
@@ -876,6 +877,6 @@ computing gzip size...
|
|
|
876
877
|
[2mdist/[22m[36mlib/ui/uikit/dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js [39m[1m[2m 83.80 kB[22m[1m[22m[2m │ gzip: 17.23 kB[22m[2m │ map: 240.83 kB[22m
|
|
877
878
|
[2mdist/[22m[36mnode_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js [39m[1m[2m 83.81 kB[22m[1m[22m[2m │ gzip: 17.26 kB[22m[2m │ map: 241.15 kB[22m
|
|
878
879
|
[2mdist/[22m[36mlib/ui/uikit/dist/index.js [39m[1m[2m497.77 kB[22m[1m[22m[2m │ gzip: 191.75 kB[22m[2m │ map: 0.18 kB[22m
|
|
879
|
-
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js [39m[1m[33m601.
|
|
880
|
-
[2mdist/[22m[36mlib/ui/uikit/dist/components/DataTable/TableComponent.vue.js [39m[1m[
|
|
881
|
-
[32m✓ built in
|
|
880
|
+
[2mdist/[22m[36mlib/ui/uikit/dist/components/PlSlideModal/PlPureSlideModal.vue.js [39m[1m[33m601.12 kB[39m[22m[2m │ gzip: 204.71 kB[22m[2m │ map: 0.21 kB[22m
|
|
881
|
+
[2mdist/[22m[36mlib/ui/uikit/dist/components/DataTable/TableComponent.vue.js [39m[1m[33m603.01 kB[39m[22m[2m │ gzip: 205.56 kB[22m[2m │ map: 0.27 kB[22m
|
|
882
|
+
[32m✓ built in 9.90s[39m
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-sdk/ui-vue@1.42.
|
|
3
|
+
> @platforma-sdk/ui-vue@1.42.2 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
|
|
4
4
|
> vue-tsc --noEmit --project ./tsconfig.json
|
|
5
5
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @platforma-sdk/ui-vue
|
|
2
2
|
|
|
3
|
+
## 1.42.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [911f928]
|
|
8
|
+
- @milaboratories/uikit@2.3.26
|
|
9
|
+
|
|
10
|
+
## 1.42.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- @platforma-sdk/model@1.42.1
|
|
15
|
+
- @milaboratories/uikit@2.3.25
|
|
16
|
+
|
|
3
17
|
## 1.42.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -6,7 +6,7 @@ import { defaultMainMenuItems as j } from "./menu-items.js";
|
|
|
6
6
|
import { makeRowNumberColDef as U, PlAgDataTableRowNumberColId as W } from "./row-number.js";
|
|
7
7
|
import { getColumnRenderingSpec as Z } from "./value-rendering.js";
|
|
8
8
|
import { isJsonEqual as $ } from "../../../lib/util/helpers/dist/index.js";
|
|
9
|
-
import { canonicalizeJson as
|
|
9
|
+
import { canonicalizeJson as O, getAxisId as F, matchAxisId as T, pTableValue as E } from "../../../lib/model/common/dist/index.js";
|
|
10
10
|
function X(a) {
|
|
11
11
|
switch (a.type) {
|
|
12
12
|
case "axis":
|
|
@@ -26,7 +26,7 @@ function Y(a, o, w, c) {
|
|
|
26
26
|
for (let u = 0; u < o[0].data.length; ++u) {
|
|
27
27
|
const d = w.map((n) => K(
|
|
28
28
|
E(o[c[n]], u)
|
|
29
|
-
)), l = { id:
|
|
29
|
+
)), l = { id: O(d), axesKey: d };
|
|
30
30
|
a.forEach((n, p) => {
|
|
31
31
|
l[n.toString()] = c[p] === -1 ? V : E(o[c[p]], u);
|
|
32
32
|
}), r.push(l);
|
|
@@ -46,7 +46,7 @@ async function ue({
|
|
|
46
46
|
if (i !== a.value) throw l;
|
|
47
47
|
const p = w.visibleTableHandle, S = await o.getSpec(p);
|
|
48
48
|
if (i !== a.value) throw l;
|
|
49
|
-
const x = (e) =>
|
|
49
|
+
const x = (e) => O(X(e)), b = new Map(
|
|
50
50
|
S.entries().map(([e, t]) => [x(t), e])
|
|
51
51
|
), g = new Map(
|
|
52
52
|
n.entries().map(([e, t]) => {
|
|
@@ -76,12 +76,12 @@ async function ue({
|
|
|
76
76
|
}
|
|
77
77
|
).map(([e]) => e).toArray();
|
|
78
78
|
f.sort((e, t) => {
|
|
79
|
-
var
|
|
79
|
+
var k, N;
|
|
80
80
|
if (n[e].type !== n[t].type) return n[e].type === "axis" ? -1 : 1;
|
|
81
|
-
const s = (
|
|
81
|
+
const s = (k = n[e].spec.annotations) == null ? void 0 : k["pl7.app/table/orderPriority"], y = (N = n[t].spec.annotations) == null ? void 0 : N["pl7.app/table/orderPriority"];
|
|
82
82
|
return s === void 0 ? y === void 0 ? 0 : 1 : y === void 0 ? -1 : Number(y) - Number(s);
|
|
83
83
|
});
|
|
84
|
-
const
|
|
84
|
+
const q = [...f];
|
|
85
85
|
f = f.map((e) => {
|
|
86
86
|
const t = n[e];
|
|
87
87
|
if (t.type === "axis") {
|
|
@@ -93,8 +93,8 @@ async function ue({
|
|
|
93
93
|
});
|
|
94
94
|
const L = [
|
|
95
95
|
U(),
|
|
96
|
-
...
|
|
97
|
-
],
|
|
96
|
+
...q.map((e, t) => B(e, n[e], n[f[t]], u, d))
|
|
97
|
+
], M = n.values().filter((e) => e.type === "axis").map((e) => e.spec).toArray(), P = M.keys().map((e) => {
|
|
98
98
|
let t = f.indexOf(e);
|
|
99
99
|
return t === -1 && (t = f.length, f.push(e)), t;
|
|
100
100
|
}).toArray(), C = [], D = [];
|
|
@@ -104,7 +104,7 @@ async function ue({
|
|
|
104
104
|
});
|
|
105
105
|
let m = -1, R;
|
|
106
106
|
return {
|
|
107
|
-
axesSpec:
|
|
107
|
+
axesSpec: M,
|
|
108
108
|
columnDefs: L,
|
|
109
109
|
serverSideDatasource: {
|
|
110
110
|
getRows: async (e) => {
|
|
@@ -129,7 +129,7 @@ async function ue({
|
|
|
129
129
|
length: t
|
|
130
130
|
});
|
|
131
131
|
if (i !== a.value || e.api.isDestroyed()) return e.fail();
|
|
132
|
-
s = Y(
|
|
132
|
+
s = Y(q, y, P, D);
|
|
133
133
|
}
|
|
134
134
|
e.success({ rowData: s, rowCount: m }), e.api.autoSizeColumns(
|
|
135
135
|
e.api.getAllDisplayedColumns().filter((y) => y.getColId() !== W)
|
|
@@ -144,7 +144,7 @@ async function ue({
|
|
|
144
144
|
}
|
|
145
145
|
function B(a, o, w, c, r) {
|
|
146
146
|
var n, p;
|
|
147
|
-
const u =
|
|
147
|
+
const u = O({
|
|
148
148
|
source: o,
|
|
149
149
|
labeled: w
|
|
150
150
|
}), d = o.type === "axis" ? o.spec.type : o.spec.valueType, i = Z(o), l = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as b, watchEffect as K, computed as P, createElementBlock as $, openBlock as f, Fragment as L, createElementVNode as r, createVNode as o, normalizeClass as
|
|
1
|
+
import { defineComponent as I, ref as b, watchEffect as K, computed as P, createElementBlock as $, openBlock as f, Fragment as L, createElementVNode as r, createVNode as o, normalizeClass as u, unref as n, withModifiers as S, withCtx as s, createTextVNode as i, createCommentVNode as U, createBlock as T, withKeys as C } from "vue";
|
|
2
2
|
import { isJsonEqual as k } from "../../lib/util/helpers/dist/index.js";
|
|
3
3
|
import "../../lib/ui/uikit/dist/index.js";
|
|
4
4
|
import { defaultAlignmentParams as A } from "./multi-sequence-alignment.js";
|
|
@@ -19,7 +19,7 @@ const h = /* @__PURE__ */ I({
|
|
|
19
19
|
colorSchemeOptions: {}
|
|
20
20
|
},
|
|
21
21
|
emits: ["updateSettings", "export"],
|
|
22
|
-
setup(
|
|
22
|
+
setup(d, { emit: w }) {
|
|
23
23
|
const O = w, p = b(!1);
|
|
24
24
|
function m(t, e) {
|
|
25
25
|
O("updateSettings", { [t]: e });
|
|
@@ -27,27 +27,27 @@ const h = /* @__PURE__ */ I({
|
|
|
27
27
|
function v(t, e) {
|
|
28
28
|
m(
|
|
29
29
|
"widgets",
|
|
30
|
-
e ? [...
|
|
30
|
+
e ? [...d.settings.widgets, t] : d.settings.widgets.filter((l) => t !== l)
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
|
-
const a = b({ ...
|
|
33
|
+
const a = b({ ...d.settings.alignmentParams });
|
|
34
34
|
K(() => {
|
|
35
|
-
a.value = { ...
|
|
35
|
+
a.value = { ...d.settings.alignmentParams };
|
|
36
36
|
});
|
|
37
37
|
const E = P(
|
|
38
|
-
() => !k(
|
|
38
|
+
() => !k(d.settings.alignmentParams, a.value)
|
|
39
39
|
), N = P(
|
|
40
|
-
() => !k(
|
|
40
|
+
() => !k(d.settings.alignmentParams, A)
|
|
41
41
|
);
|
|
42
42
|
return (t, e) => (f(), $(L, null, [
|
|
43
43
|
r("div", {
|
|
44
|
-
class:
|
|
44
|
+
class: u(t.$style.container)
|
|
45
45
|
}, [
|
|
46
46
|
r("div", {
|
|
47
|
-
class:
|
|
47
|
+
class: u(t.$style.line)
|
|
48
48
|
}, [
|
|
49
49
|
r("div", {
|
|
50
|
-
class:
|
|
50
|
+
class: u(t.$style.section)
|
|
51
51
|
}, [
|
|
52
52
|
o(n(q), {
|
|
53
53
|
label: "Sequence Columns",
|
|
@@ -71,7 +71,7 @@ const h = /* @__PURE__ */ I({
|
|
|
71
71
|
}, null, 8, ["model-value", "options"])
|
|
72
72
|
], 2),
|
|
73
73
|
r("div", {
|
|
74
|
-
class:
|
|
74
|
+
class: u(t.$style.buttons)
|
|
75
75
|
}, [
|
|
76
76
|
o(n(y), {
|
|
77
77
|
icon: "settings",
|
|
@@ -94,10 +94,10 @@ const h = /* @__PURE__ */ I({
|
|
|
94
94
|
], 2)
|
|
95
95
|
], 2),
|
|
96
96
|
r("div", {
|
|
97
|
-
class:
|
|
97
|
+
class: u(t.$style.line)
|
|
98
98
|
}, [
|
|
99
99
|
r("div", {
|
|
100
|
-
class:
|
|
100
|
+
class: u(t.$style.section)
|
|
101
101
|
}, [
|
|
102
102
|
o(n(g), {
|
|
103
103
|
"model-value": t.settings.widgets.includes("seqLogo"),
|
|
@@ -194,7 +194,7 @@ const h = /* @__PURE__ */ I({
|
|
|
194
194
|
}, 8, ["modelValue"]),
|
|
195
195
|
E.value ? (f(), $("div", {
|
|
196
196
|
key: 0,
|
|
197
|
-
class:
|
|
197
|
+
class: u(t.$style["pending-changes"])
|
|
198
198
|
}, [
|
|
199
199
|
o(n(G), {
|
|
200
200
|
onClick: e[14] || (e[14] = (l) => m("alignmentParams", a.value))
|
|
@@ -215,7 +215,7 @@ const h = /* @__PURE__ */ I({
|
|
|
215
215
|
], 2)) : U("", !0),
|
|
216
216
|
N.value ? (f(), T(n(z), {
|
|
217
217
|
key: 1,
|
|
218
|
-
class:
|
|
218
|
+
class: u(t.$style["reset-button"]),
|
|
219
219
|
icon: "reverse",
|
|
220
220
|
onClick: e[16] || (e[16] = (l) => m("alignmentParams", void 0))
|
|
221
221
|
}, {
|
|
@@ -5,14 +5,14 @@ import { highlightByChemicalProperties as H } from "./chemical-properties.js";
|
|
|
5
5
|
import { parseMarkup as K, markupAlignedSequence as Q, highlightByMarkup as Y } from "./markup.js";
|
|
6
6
|
import { multiSequenceAlignment as Z } from "./multi-sequence-alignment.js";
|
|
7
7
|
import { getResidueCounts as nn } from "./residue-counts.js";
|
|
8
|
-
import { ensureError as tn, canonicalizeJson as A, getAxisId as E, parseJson as D, matchAxisId as en, pTableValue as
|
|
9
|
-
const S = () => z().pFrameDriver,
|
|
8
|
+
import { ensureError as tn, canonicalizeJson as A, getAxisId as E, parseJson as D, matchAxisId as en, pTableValue as q } from "../../lib/model/common/dist/index.js";
|
|
9
|
+
const S = () => z().pFrameDriver, O = 1e3, gn = k(
|
|
10
10
|
an
|
|
11
|
-
), hn =
|
|
11
|
+
), hn = k(
|
|
12
12
|
on
|
|
13
|
-
), wn =
|
|
13
|
+
), wn = k(
|
|
14
14
|
rn
|
|
15
|
-
), bn =
|
|
15
|
+
), bn = k(
|
|
16
16
|
sn
|
|
17
17
|
);
|
|
18
18
|
async function an({
|
|
@@ -107,7 +107,7 @@ async function sn({
|
|
|
107
107
|
colorScheme: t,
|
|
108
108
|
alignmentParams: l
|
|
109
109
|
}) {
|
|
110
|
-
var
|
|
110
|
+
var F, I;
|
|
111
111
|
if (!c || !(e != null && e.length) || !y) return;
|
|
112
112
|
const o = S(), u = await o.listColumns(c), m = u.filter((n) => W(n.spec)), f = X({ selection: p });
|
|
113
113
|
let h = {
|
|
@@ -163,11 +163,11 @@ async function sn({
|
|
|
163
163
|
{
|
|
164
164
|
offset: 0,
|
|
165
165
|
// +1 is a hack to check whether the selection is over the limit
|
|
166
|
-
length:
|
|
166
|
+
length: O + 1
|
|
167
167
|
}
|
|
168
168
|
);
|
|
169
169
|
let g = (a == null ? void 0 : a[0].data.data.length) ?? 0, v = !1;
|
|
170
|
-
g >
|
|
170
|
+
g > O && (g = O, v = !0);
|
|
171
171
|
const L = e.map((n) => {
|
|
172
172
|
const r = a.find(({ spec: s }) => s.id === n);
|
|
173
173
|
if (!r)
|
|
@@ -190,13 +190,13 @@ async function sn({
|
|
|
190
190
|
{ length: g },
|
|
191
191
|
(r, s) => {
|
|
192
192
|
var w;
|
|
193
|
-
return ((w =
|
|
193
|
+
return ((w = q(n.data, s, { na: "", absent: "" })) == null ? void 0 : w.toString()) ?? "";
|
|
194
194
|
}
|
|
195
195
|
),
|
|
196
196
|
l
|
|
197
197
|
)
|
|
198
198
|
)
|
|
199
|
-
),
|
|
199
|
+
), R = Array.from(
|
|
200
200
|
{ length: g },
|
|
201
201
|
(n, r) => j.map((s) => s[r])
|
|
202
202
|
), B = L.map(
|
|
@@ -209,20 +209,20 @@ async function sn({
|
|
|
209
209
|
(n, r) => _.map(
|
|
210
210
|
(s) => {
|
|
211
211
|
var w;
|
|
212
|
-
return ((w =
|
|
212
|
+
return ((w = q(s.data, r, { na: "", absent: "" })) == null ? void 0 : w.toString()) ?? "";
|
|
213
213
|
}
|
|
214
214
|
)
|
|
215
|
-
), x =
|
|
215
|
+
), x = R.map((n) => n.join(" ")), $ = nn(x), C = {
|
|
216
216
|
sequences: x,
|
|
217
217
|
sequenceNames: B,
|
|
218
218
|
labelRows: T,
|
|
219
219
|
exceedsLimit: v,
|
|
220
|
-
residueCounts:
|
|
220
|
+
residueCounts: $
|
|
221
221
|
};
|
|
222
222
|
if (t.type === "chemical-properties")
|
|
223
|
-
|
|
223
|
+
C.highlightImage = H({
|
|
224
224
|
sequences: x,
|
|
225
|
-
residueCounts:
|
|
225
|
+
residueCounts: $
|
|
226
226
|
});
|
|
227
227
|
else if (t.type === "markup") {
|
|
228
228
|
const n = a.find(
|
|
@@ -234,25 +234,25 @@ async function sn({
|
|
|
234
234
|
);
|
|
235
235
|
const r = Array.from(
|
|
236
236
|
{ length: g },
|
|
237
|
-
(w,
|
|
237
|
+
(w, P) => {
|
|
238
238
|
var U;
|
|
239
239
|
const V = K(
|
|
240
|
-
((U =
|
|
240
|
+
((U = q(n.data, P, { na: "", absent: "" })) == null ? void 0 : U.toString()) ?? ""
|
|
241
241
|
);
|
|
242
|
-
return Q(P
|
|
242
|
+
return Q(R[P][0], V);
|
|
243
243
|
}
|
|
244
244
|
), s = JSON.parse(
|
|
245
|
-
((
|
|
245
|
+
((F = n.spec.spec.annotations) == null ? void 0 : F["pl7.app/sequence/annotation/mapping"]) ?? "{}"
|
|
246
246
|
);
|
|
247
|
-
|
|
247
|
+
C.highlightImage = Y({
|
|
248
248
|
markupRows: r,
|
|
249
|
-
columnCount: ((
|
|
249
|
+
columnCount: ((I = x.at(0)) == null ? void 0 : I.length) ?? 0,
|
|
250
250
|
labels: s
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
return
|
|
253
|
+
return C;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function k(c) {
|
|
256
256
|
const e = M(), y = M(!0), p = M();
|
|
257
257
|
let t;
|
|
258
258
|
return (l) => (G(l, async (o, u) => {
|
|
@@ -270,7 +270,7 @@ function C(c) {
|
|
|
270
270
|
}, { immediate: !0 }), { data: e, isLoading: y, error: p });
|
|
271
271
|
}
|
|
272
272
|
export {
|
|
273
|
-
|
|
273
|
+
O as sequenceLimit,
|
|
274
274
|
hn as useLabelColumnsOptions,
|
|
275
275
|
wn as useMarkupColumnsOptions,
|
|
276
276
|
bn as useMultipleAlignmentData,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as D, mergeModels as w, useModel as H, toRefs as J, computed as u, ref as f, onMounted as $, watch as O, onBeforeUnmount as W, createElementBlock as b, openBlock as m, Fragment as q, createBlock as E, createCommentVNode as V, createVNode as i, unref as o, Teleport as I, withModifiers as C, withCtx as d, createTextVNode as p, createElementVNode as k, normalizeClass as v, toDisplayString as S } from "vue";
|
|
2
2
|
import "../../sdk/model/dist/index.js";
|
|
3
3
|
import "../../lib/ui/uikit/dist/index.js";
|
|
4
|
-
import { useFilters as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { isJsonEqual as
|
|
8
|
-
import { usePlBlockPageTitleTeleportTarget as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
4
|
+
import { useFilters as j } from "./filters-state.js";
|
|
5
|
+
import G from "./PlTableAddFilterV2.vue.js";
|
|
6
|
+
import K from "./PlTableFilterEntryV2.vue.js";
|
|
7
|
+
import { isJsonEqual as L } from "../../lib/util/helpers/dist/index.js";
|
|
8
|
+
import { usePlBlockPageTitleTeleportTarget as Q } from "../../lib/ui/uikit/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.js";
|
|
9
|
+
import X from "../../lib/ui/uikit/dist/components/PlBtnGhost/PlBtnGhost.vue.js";
|
|
10
|
+
import Y from "../../lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js";
|
|
11
|
+
import Z from "../../lib/ui/uikit/dist/components/PlElementList/PlElementList.vue.js";
|
|
12
|
+
import h from "../../lib/ui/uikit/dist/components/PlIcon16/PlIcon16.vue.js";
|
|
13
13
|
import _ from "../../lib/ui/uikit/dist/components/PlBtnSecondary/PlBtnSecondary.vue.js";
|
|
14
14
|
import { canonicalizeJson as ee } from "../../lib/model/common/dist/index.js";
|
|
15
15
|
const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
@@ -24,11 +24,11 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
24
24
|
}),
|
|
25
25
|
emits: ["update:modelValue"],
|
|
26
26
|
setup(F) {
|
|
27
|
-
const U = H(F, "modelValue"), B = F, { settings: N } = J(B), r =
|
|
27
|
+
const U = H(F, "modelValue"), B = F, { settings: N } = J(B), r = j(N, U), R = u(() => r.value.some((e) => e.filter && !e.filter.disabled)), y = f(!1);
|
|
28
28
|
$(() => {
|
|
29
29
|
y.value = !0;
|
|
30
30
|
});
|
|
31
|
-
const T =
|
|
31
|
+
const T = Q("PlTableFiltersV2"), c = f(!1), A = f(!1), s = f();
|
|
32
32
|
let n;
|
|
33
33
|
$(() => {
|
|
34
34
|
n = new ResizeObserver(() => {
|
|
@@ -43,7 +43,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
43
43
|
});
|
|
44
44
|
const P = u(() => r.value.some((e) => !e.filter)), g = f(!1), x = u(() => r.value.some((e) => {
|
|
45
45
|
var l, t;
|
|
46
|
-
return !e.defaultFilter && e.filter || e.defaultFilter && (((l = e.filter) == null ? void 0 : l.disabled) === !0 || !
|
|
46
|
+
return !e.defaultFilter && e.filter || e.defaultFilter && (((l = e.filter) == null ? void 0 : l.disabled) === !0 || !L((t = e.filter) == null ? void 0 : t.value, e.defaultFilter));
|
|
47
47
|
})), z = () => {
|
|
48
48
|
r.value.forEach((e) => {
|
|
49
49
|
e.defaultFilter ? e.filter = {
|
|
@@ -58,7 +58,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
58
58
|
key: 0,
|
|
59
59
|
to: o(T)
|
|
60
60
|
}, [
|
|
61
|
-
i(o(
|
|
61
|
+
i(o(X), {
|
|
62
62
|
icon: R.value ? "filter-on" : "filter",
|
|
63
63
|
onClick: l[0] || (l[0] = C((t) => c.value = !0, ["stop"]))
|
|
64
64
|
}, {
|
|
@@ -68,7 +68,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
68
68
|
_: 1
|
|
69
69
|
}, 8, ["icon"])
|
|
70
70
|
], 8, ["to"])) : V("", !0),
|
|
71
|
-
i(o(
|
|
71
|
+
i(o(Y), {
|
|
72
72
|
modelValue: c.value,
|
|
73
73
|
"onUpdate:modelValue": l[3] || (l[3] = (t) => c.value = t),
|
|
74
74
|
"close-on-outside-click": !1
|
|
@@ -82,7 +82,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
82
82
|
ref: s,
|
|
83
83
|
class: v(e.$style["filter-manager"])
|
|
84
84
|
}, [
|
|
85
|
-
i(o(
|
|
85
|
+
i(o(Z), {
|
|
86
86
|
items: M.value,
|
|
87
87
|
"onUpdate:items": l[1] || (l[1] = (t) => M.value = t),
|
|
88
88
|
"on-expand": (t) => {
|
|
@@ -109,7 +109,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
109
109
|
p(S(t.label), 1)
|
|
110
110
|
]),
|
|
111
111
|
"item-content": d(({ index: t }) => [
|
|
112
|
-
i(
|
|
112
|
+
i(K, {
|
|
113
113
|
modelValue: o(r).value[t],
|
|
114
114
|
"onUpdate:modelValue": (a) => o(r).value[t] = a
|
|
115
115
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -125,7 +125,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
125
125
|
class: v(e.$style["add-btn"]),
|
|
126
126
|
onClick: l[2] || (l[2] = (t) => g.value = !0)
|
|
127
127
|
}, [
|
|
128
|
-
i(o(
|
|
128
|
+
i(o(h), { name: "add" }),
|
|
129
129
|
k("div", {
|
|
130
130
|
class: v(e.$style["add-btn-title"])
|
|
131
131
|
}, "Add Filter", 2)
|
|
@@ -145,7 +145,7 @@ const te = ["disabled"], le = { key: 1 }, be = /* @__PURE__ */ D({
|
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
147
147
|
}, 8, ["modelValue"]),
|
|
148
|
-
i(
|
|
148
|
+
i(G, {
|
|
149
149
|
modelValue: g.value,
|
|
150
150
|
"onUpdate:modelValue": l[4] || (l[4] = (t) => g.value = t),
|
|
151
151
|
filters: o(r).value,
|
package/dist/defineApp.js
CHANGED
|
@@ -2,16 +2,16 @@ import { notEmpty as V } from "./lib/util/helpers/dist/index.js";
|
|
|
2
2
|
import { getPlatformaApiVersion as g } from "./sdk/model/dist/index.js";
|
|
3
3
|
import { inject as k, reactive as h, markRaw as A } from "vue";
|
|
4
4
|
import { createAppV1 as j } from "./internal/createAppV1.js";
|
|
5
|
-
import { createAppV2 as
|
|
6
|
-
import { activateAgGrid as
|
|
7
|
-
import { unwrapResult as
|
|
5
|
+
import { createAppV2 as w } from "./internal/createAppV2.js";
|
|
6
|
+
import { activateAgGrid as y } from "./aggrid.js";
|
|
7
|
+
import { unwrapResult as O } from "./lib/model/common/dist/index.js";
|
|
8
8
|
const m = Symbol("sdk-vue");
|
|
9
9
|
function $() {
|
|
10
10
|
return k(m);
|
|
11
11
|
}
|
|
12
12
|
function C(e, p, l = {}) {
|
|
13
13
|
let u;
|
|
14
|
-
|
|
14
|
+
y();
|
|
15
15
|
const d = e.apiVersion ?? 1, f = g(), b = async () => {
|
|
16
16
|
if (f !== d)
|
|
17
17
|
throw new Error(`Block requested API version ${f} but runtime API version is ${d}.
|
|
@@ -31,9 +31,9 @@ function C(e, p, l = {}) {
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
}) : e.apiVersion === 2 && await e.loadBlockState().then((r) => {
|
|
34
|
-
const t =
|
|
34
|
+
const t = O(r);
|
|
35
35
|
a.loaded = !0;
|
|
36
|
-
const i =
|
|
36
|
+
const i = w(t, e, l), c = p(i), s = Object.fromEntries(
|
|
37
37
|
Object.entries(c.routes).map(([o, n]) => {
|
|
38
38
|
const v = typeof n == "function" ? n() : n;
|
|
39
39
|
return [o, A(v)];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { deepClone as l, uniqueId as V, delay as L } from "../lib/util/helpers/dist/index.js";
|
|
2
2
|
import "../sdk/model/dist/index.js";
|
|
3
|
-
import { ref as A, computed as p, reactive as
|
|
4
|
-
import { createModel as
|
|
3
|
+
import { ref as A, computed as p, reactive as P, watch as W } from "vue";
|
|
4
|
+
import { createModel as B } from "../createModel.js";
|
|
5
5
|
import { parseQuery as F } from "../urls.js";
|
|
6
6
|
import { MultiError as G, unwrapValueOrErrors as H } from "../utils.js";
|
|
7
7
|
import "../node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/index.js";
|
|
@@ -23,13 +23,13 @@ function se(n, d, h) {
|
|
|
23
23
|
authorId: V(),
|
|
24
24
|
localVersion: 0
|
|
25
25
|
}
|
|
26
|
-
},
|
|
26
|
+
}, f = () => (u.author = X(u.author), r("nextAuthorMarker", u.author), u.author), g = A(!1), S = A(n.uTag), v = h.debounceSpan ?? 200, y = new m({ debounceSpan: v }), M = new m({ debounceSpan: v }), U = new m({ debounceSpan: v }), R = new m({ debounceSpan: v }), o = A(n.value), T = async (e) => d.setBlockArgs(e, f()), x = async (e) => d.setBlockUiState(e, f()), k = async (e, t) => d.setBlockArgsAndUiState(e, t, f()), q = async (e) => d.setNavigationState(e), C = p(() => {
|
|
27
27
|
const e = Object.entries(o.value.outputs).map(([t, a]) => [t, a.ok && a.value !== void 0 ? a.value : void 0]);
|
|
28
28
|
return Object.fromEntries(e);
|
|
29
29
|
}), D = p(() => {
|
|
30
30
|
const e = Object.entries(o.value.outputs).map(([t, a]) => [t, a && !a.ok ? new G(a.errors) : void 0]);
|
|
31
31
|
return Object.fromEntries(e);
|
|
32
|
-
}), s =
|
|
32
|
+
}), s = P({
|
|
33
33
|
error: "",
|
|
34
34
|
model: {
|
|
35
35
|
args: l(o.value.args),
|
|
@@ -55,8 +55,8 @@ function se(n, d, h) {
|
|
|
55
55
|
});
|
|
56
56
|
}); !g.value; )
|
|
57
57
|
try {
|
|
58
|
-
const a = await d.getPatches(
|
|
59
|
-
if (r("patches.length", a.value.length), r("uTagRef.value",
|
|
58
|
+
const a = await d.getPatches(S.value).then(c);
|
|
59
|
+
if (r("patches.length", a.value.length), r("uTagRef.value", S.value), r("patches.uTag", a.uTag), r("patches.author", a.author), r("data.author", u.author), S.value = a.uTag, a.value.length === 0) {
|
|
60
60
|
await new Promise((w) => setTimeout(w, Q));
|
|
61
61
|
continue;
|
|
62
62
|
}
|
|
@@ -66,12 +66,12 @@ function se(n, d, h) {
|
|
|
66
66
|
K(a) ? (r("patches loop aborted"), g.value = !0) : (b("error in patches loop", a), await new Promise((i) => setTimeout(i, 1e3)));
|
|
67
67
|
}
|
|
68
68
|
})();
|
|
69
|
-
const I = () => l(s.model.args), j = () => l(s.model.ui),
|
|
69
|
+
const I = () => l(s.model.args), j = () => l(s.model.ui), N = () => l(o.value.navigationState), z = {
|
|
70
70
|
cloneArgs: I,
|
|
71
71
|
cloneUiState: j,
|
|
72
|
-
cloneNavigationState:
|
|
72
|
+
cloneNavigationState: N,
|
|
73
73
|
createArgsModel(e = {}) {
|
|
74
|
-
return
|
|
74
|
+
return B({
|
|
75
75
|
get() {
|
|
76
76
|
return e.transform ? e.transform(o.value.args) : o.value.args;
|
|
77
77
|
},
|
|
@@ -86,7 +86,7 @@ function se(n, d, h) {
|
|
|
86
86
|
* defaultUiState is temporarily here, remove it after implementing initialUiState
|
|
87
87
|
*/
|
|
88
88
|
createUiModel(e = {}, t) {
|
|
89
|
-
return
|
|
89
|
+
return B({
|
|
90
90
|
get() {
|
|
91
91
|
return e.transform ? e.transform(o.value.ui) : o.value.ui ?? t();
|
|
92
92
|
},
|
|
@@ -137,7 +137,7 @@ function se(n, d, h) {
|
|
|
137
137
|
* @returns A promise resolving after the navigation state is updated.
|
|
138
138
|
*/
|
|
139
139
|
navigateTo(e) {
|
|
140
|
-
const t =
|
|
140
|
+
const t = N();
|
|
141
141
|
return t.href = e, R.run(() => q(t).then(c));
|
|
142
142
|
},
|
|
143
143
|
async allSettled() {
|
|
@@ -150,7 +150,7 @@ function se(n, d, h) {
|
|
|
150
150
|
href: p(() => o.value.navigationState.href),
|
|
151
151
|
hasErrors: p(() => Object.values(o.value.outputs).some((e) => !(e != null && e.ok)))
|
|
152
152
|
};
|
|
153
|
-
return
|
|
153
|
+
return P(Object.assign(s, z, J));
|
|
154
154
|
}
|
|
155
155
|
export {
|
|
156
156
|
se as createAppV2,
|