forstok-ui-lib 5.6.6 → 5.6.8
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/index.d.ts
CHANGED
|
@@ -366,6 +366,13 @@ type TMasterProps = {
|
|
|
366
366
|
evPickAll?: TMouseEvent;
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
+
type TskuAddons = {
|
|
370
|
+
id?: number;
|
|
371
|
+
productId?: number;
|
|
372
|
+
masterProductId?: string;
|
|
373
|
+
imageUrl?: string;
|
|
374
|
+
sku?: string;
|
|
375
|
+
};
|
|
369
376
|
type TOption = {
|
|
370
377
|
readonly value: any;
|
|
371
378
|
readonly label: string;
|
|
@@ -380,7 +387,7 @@ type TOption = {
|
|
|
380
387
|
readonly label: string;
|
|
381
388
|
localId?: string;
|
|
382
389
|
}[];
|
|
383
|
-
};
|
|
390
|
+
} & TskuAddons;
|
|
384
391
|
type TLoadOption = (search: string, callback: () => void, { endCursor }: {
|
|
385
392
|
endCursor: string;
|
|
386
393
|
}) => Promise<{
|
package/package.json
CHANGED
|
@@ -4,6 +4,14 @@ import { CSSObject } from '@emotion/serialize'
|
|
|
4
4
|
import type { TChannel } from '../../typeds/shares.typed';
|
|
5
5
|
import type { TState } from '../../typeds';
|
|
6
6
|
|
|
7
|
+
type TskuAddons = {
|
|
8
|
+
id?: number
|
|
9
|
+
productId?: number
|
|
10
|
+
masterProductId?: string
|
|
11
|
+
imageUrl?: string
|
|
12
|
+
sku?: string
|
|
13
|
+
}
|
|
14
|
+
|
|
7
15
|
export type TOption = {
|
|
8
16
|
readonly value: any
|
|
9
17
|
readonly label: string
|
|
@@ -18,7 +26,7 @@ export type TOption = {
|
|
|
18
26
|
readonly label: string
|
|
19
27
|
localId?: string
|
|
20
28
|
}[]
|
|
21
|
-
}
|
|
29
|
+
} & TskuAddons
|
|
22
30
|
|
|
23
31
|
export type TLoadOption = (search: string, callback: () => void, { endCursor }: {
|
|
24
32
|
endCursor: string;
|