@wow-two-beta/fe 0.0.21 → 0.0.22
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/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-vfxAeyB7.js → MentionInput.vue_vue_type_script_setup_true_lang-C7X9NYpR.js} +186 -126
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-C7X9NYpR.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/presentation/forms/OptionCollection.d.ts +24 -0
- package/dist/presentation/forms/index.js +1 -1
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPicker.vue.d.ts +3 -4
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContext.d.ts +3 -5
- package/dist/presentation/forms/selectPicker/SelectPicker.vue.d.ts +5 -8
- package/dist/presentation/forms/selectPicker/SelectPickerContext.d.ts +6 -2
- package/package.json +1 -1
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-vfxAeyB7.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { i as i10 } from "./chunks/index-KL15HQew.js";
|
|
|
11
11
|
import { i as i11 } from "./chunks/index-DvwkyLSw.js";
|
|
12
12
|
import { _, a, b, c, d, F, e, f, S, g, h, i as i12, j, T, k, l, m, n, o, u, p } from "./chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dge5C6We.js";
|
|
13
13
|
import { D, _ as _2, a as a2, b as b2, T as T2, t, u as u2 } from "./chunks/ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js";
|
|
14
|
-
import { A, _ as _3, B, a as a3, b as b3, C, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i13, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q, r, s, t as t2, u as u3, v, w, x, y, z, D as D2, E, F as F2, G, H, I, J, K, L, M, N, O, P, Q, R, S as S2, T as T3, U, V, W, X, Y, Z, $, a0, a1, a2 as a22, a3 as a32, a4, a5, a6, a7, a8, a9, aa, ab, a7 as a72, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3 as b32, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_ } from "./chunks/MentionInput.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { A, _ as _3, B, a as a3, b as b3, C, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i13, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q, r, s, t as t2, u as u3, v, w, x, y, z, D as D2, E, F as F2, G, H, I, J, K, L, M, N, O, P, Q, R, S as S2, T as T3, U, V, W, X, Y, Z, $, a0, a1, a2 as a22, a3 as a32, a4, a5, a6, a7, a8, a9, aa, ab, a7 as a72, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3 as b32, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_ } from "./chunks/MentionInput.vue_vue_type_script_setup_true_lang-C7X9NYpR.js";
|
|
15
15
|
import { _ as _4 } from "./chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js";
|
|
16
16
|
import { P as P2, _ as _5 } from "./chunks/TourPopover.vue_vue_type_script_setup_true_lang-BlajHcdp.js";
|
|
17
17
|
import { _ as _6, a as a10, b as b10, c as c3, A as A2, d as d3, e as e3, f as f3, g as g3, h as h3, i as i14, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, p as p3, q as q2, r as r2, s as s2, B as B2, t as t3, u as u4, v as v2, w as w2, x as x2, y as y2, z as z2, C as C2, D as D3, E as E2, F as F3, G as G2, H as H2, I as I2, J as J2, K as K2, L as L2, M as M2, N as N2, O as O2, P as P3, Q as Q2, R as R2, S as S3, T as T4, U as U2, V as V2, W as W2, X as X2, Y as Y2, Z as Z2, $ as $2, a0 as a02, a1 as a12, a2 as a23, a3 as a33, a4 as a42, a5 as a52, a6 as a62, a7 as a73, a8 as a82, a9 as a92, aa as aa2, ab as ab2, ac as ac2, ad as ad2, ae as ae2, af as af2, ag as ag2, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, ap as ap2, aq as aq2, ar as ar2, as as as2, at as at2, au as au2, av as av2, aw as aw2, ax as ax2, ay as ay2, az as az2, aA as aA2, aB as aB2, aC as aC2, aD as aD2, aE as aE2, aF as aF2, aG as aG2, aH as aH2, aI as aI2, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR as aR2, aS as aS2, aT as aT2, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ as aZ2, a_ as a_2, a$ as a$2, b0 as b02, b1 as b12, b2 as b23, b3 as b33, b4 as b42, b5 as b52, b6 as b62, b7 as b72, b8 as b82, b9 as b92, ba as ba2, bb as bb2, bc as bc2, bd as bd2, be as be2, bf as bf2, bg as bg2, bh as bh2, bi as bi2, bj as bj2, bk as bk2, bl as bl2, bm as bm2, bn as bn2, bo as bo2, bp as bp2, bq as bq2, br as br2, bs as bs2, bt as bt2, bu as bu2, bv as bv2, bw as bw2, bx as bx2, by as by2, bz as bz2, bA as bA2, bB as bB2, bC as bC2, bD as bD2, bE as bE2, bF as bF2, bG as bG2, bH as bH2, bI as bI2, bJ as bJ2, bK as bK2, bL as bL2, bM as bM2, bN as bN2, bO as bO2, bP as bP2, bQ as bQ2, bR as bR2, bS as bS2, bT as bT2 } from "./chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Reports whether an option renders inside a closed picker's collection: it registers and renders nothing. */
|
|
2
|
+
export declare function useOptionCollection(): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Mounts a closed picker's option slot into a detached element, so each option registers its label before
|
|
5
|
+
* the first open. The panel unmounts its rows while closed, which left the trigger with the raw key.
|
|
6
|
+
*
|
|
7
|
+
* Client-only: the server render and the hydration pass render nothing here. The collection is best-effort,
|
|
8
|
+
* so an option subtree that cannot render outside its panel stops the collection instead of the page.
|
|
9
|
+
*/
|
|
10
|
+
export declare const OptionCollection: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
/** Renders the slot into the detached element while true; the picker passes its closed state. */
|
|
12
|
+
isActive: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
/** Renders the slot into the detached element while true; the picker passes its closed state. */
|
|
20
|
+
isActive: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, _, B, a, b, C, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, a7 as a72, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_ } from "../../chunks/MentionInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { A, _, B, a, b, C, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, a7 as a72, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_ } from "../../chunks/MentionInput.vue_vue_type_script_setup_true_lang-C7X9NYpR.js";
|
|
2
2
|
import { _ as _2 } from "../../chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js";
|
|
3
3
|
import { _ as _3, C as C2 } from "../../chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js";
|
|
4
4
|
import { ImageEditRecipeExtensions } from "../../domain/imageEditing/index.js";
|
|
@@ -19,11 +19,10 @@ export interface MultiSelectPickerProps {
|
|
|
19
19
|
/** The floating placement of the dropdown. */
|
|
20
20
|
readonly placement?: Placement;
|
|
21
21
|
/**
|
|
22
|
-
* Resolves a chip label for a value
|
|
22
|
+
* Resolves a chip label for a value no row carries, and for the server render — `null` when unknown.
|
|
23
23
|
*
|
|
24
|
-
*
|
|
25
|
-
* value
|
|
26
|
-
* label a closed trigger. The mirror of `SelectPicker`'s prop of the same name.
|
|
24
|
+
* A closed panel mounts its `MultiSelectPickerItem` rows off-document, so rows already label a
|
|
25
|
+
* preselected value before the first open. The mirror of `SelectPicker`'s prop of the same name.
|
|
27
26
|
*/
|
|
28
27
|
readonly getOptionLabel?: (value: string) => string | number | null;
|
|
29
28
|
}
|
|
@@ -25,12 +25,10 @@ export interface MultiSelectPickerContextValue {
|
|
|
25
25
|
registerLabel: (value: string, label: string | number) => void;
|
|
26
26
|
unregisterLabel: (value: string) => void;
|
|
27
27
|
/**
|
|
28
|
-
* Resolves a chip label for a value
|
|
28
|
+
* Resolves a chip label for a value no row carries, and for the server render — `null` when it cannot.
|
|
29
29
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* gap `SelectPicker` closes with `getOptionLabel`; this is that escape hatch, and the registry
|
|
33
|
-
* still wins where it has an entry.
|
|
30
|
+
* A closed panel mounts its rows off-document, so rows label a preselected value before the first
|
|
31
|
+
* open; the registry wins where it has an entry.
|
|
34
32
|
*/
|
|
35
33
|
getOptionLabel: (value: string) => string | number | null;
|
|
36
34
|
readonly isDisabled: boolean;
|
|
@@ -25,15 +25,12 @@ export interface SelectPickerProps<K, V = K> {
|
|
|
25
25
|
readonly name?: string;
|
|
26
26
|
/** The key serializer for the hidden form input; defaults to `String(key)`. */
|
|
27
27
|
readonly serializeKey?: (key: K) => string;
|
|
28
|
-
/** The label resolver for a
|
|
29
|
-
*
|
|
28
|
+
/** The label resolver for a key no option carries, and for the server render; options win when present.
|
|
29
|
+
* Slotted `SelectPickerItem`s label a closed trigger on their own. */
|
|
30
30
|
readonly getOptionLabel?: (key: K) => string | number | null;
|
|
31
|
-
/** The option set seeded
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* `<SelectPickerItem>` children still render the list and remain fully supported; `options` is an
|
|
35
|
-
* alternative/supplement. When both supply the same key, the mounted child wins (deduped via
|
|
36
|
-
* `keyEquals`). Each entry mirrors what a `SelectPickerItem` registers. */
|
|
31
|
+
/** The option set seeded into the item registry + label cache on mount, server render included.
|
|
32
|
+
* `<SelectPickerItem>` children still render the list; a mounted child wins on a shared key (via
|
|
33
|
+
* `keyEquals`). When it labels the selection, the closed panel skips its off-document item mount. */
|
|
37
34
|
readonly options?: ReadonlyArray<SelectPickerOption<K, V>>;
|
|
38
35
|
/** The invalid state, styling the trigger as invalid (red border, error ring). */
|
|
39
36
|
readonly isInvalid?: boolean;
|
|
@@ -42,9 +42,13 @@ export interface SelectPickerContextValue {
|
|
|
42
42
|
onSelect: (entry: ItemRegistryEntry) => void;
|
|
43
43
|
onClear: () => void;
|
|
44
44
|
readonly keyEquals: EqualityComparer<unknown>;
|
|
45
|
+
/** The registered options, one per key. A closed panel's options register from an off-document collection. */
|
|
45
46
|
readonly items: ReadonlyArray<ItemRegistryEntry>;
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
/** Registers or replaces the entry of one mounted option; `owner` identifies the option instance. */
|
|
48
|
+
registerItem: (owner: symbol, entry: ItemRegistryEntry) => void;
|
|
49
|
+
unregisterItem: (owner: symbol) => void;
|
|
50
|
+
/** Reports whether a closed panel mounts its options off-document — false when `options` labels the selection. */
|
|
51
|
+
readonly needsOptionCollection: boolean;
|
|
48
52
|
/** Resolves a label last seen for a key from the persistent cache (survives unmount). */
|
|
49
53
|
getCachedLabel: (key: unknown) => string | number | undefined;
|
|
50
54
|
readonly query: string;
|
package/package.json
CHANGED