forstok-ui-lib 5.11.4 → 5.11.6
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 +7 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/loader/index.tsx +26 -1
- package/src/components/select/typed.ts +6 -1
package/package.json
CHANGED
|
@@ -1533,4 +1533,29 @@ export const ContentLoaderPOSItem = () => {
|
|
|
1533
1533
|
<SVGContainer $x='calc(50% - 30px)' y='95' rx='4' ry='4' width='60px' height='16' />
|
|
1534
1534
|
</ContentLoader>
|
|
1535
1535
|
)
|
|
1536
|
-
}
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
export const ContentLoaderPosProductDetail = () => {
|
|
1539
|
+
return (
|
|
1540
|
+
<ContentLoader
|
|
1541
|
+
speed={1}
|
|
1542
|
+
width='100%'
|
|
1543
|
+
height={580}
|
|
1544
|
+
backgroundColor='rgb(0,0,0)'
|
|
1545
|
+
foregroundColor='rgb(0,0,0)'
|
|
1546
|
+
backgroundOpacity={0.06}
|
|
1547
|
+
foregroundOpacity={0.12}>
|
|
1548
|
+
<rect x='0' y='0' rx="0" ry="0" width='100%' height='198' />
|
|
1549
|
+
<rect x='0' y='214' rx="0" ry="0" width='100%' height='16' />
|
|
1550
|
+
<rect x='0' y='240' rx="0" ry="0" width='100%' height='16' />
|
|
1551
|
+
<rect x='0' y='266' rx="0" ry="0" width='100%' height='16' />
|
|
1552
|
+
<rect x='0' y='292' rx="0" ry="0" width='100%' height='16' />
|
|
1553
|
+
<rect x='0' y='318' rx="0" ry="0" width='100%' height='40' />
|
|
1554
|
+
<rect x='0' y='368' rx="0" ry="0" width='100%' height='16' />
|
|
1555
|
+
<rect x='0' y='394' rx="0" ry="0" width='100%' height='16' />
|
|
1556
|
+
<rect x='0' y='420' rx="0" ry="0" width='100%' height='16' />
|
|
1557
|
+
<rect x='0' y='456' rx="0" ry="0" width='100px' height='16' />
|
|
1558
|
+
<rect x='0' y='480' rx="0" ry="0" width='100%' height='94' />
|
|
1559
|
+
</ContentLoader>
|
|
1560
|
+
)
|
|
1561
|
+
}
|
|
@@ -12,6 +12,11 @@ type TskuAddons = {
|
|
|
12
12
|
sku?: string
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
type TWarehouseAddons = {
|
|
16
|
+
warehouseName?: string
|
|
17
|
+
warehouseId?: number
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
export type TOption = {
|
|
16
21
|
readonly value: any
|
|
17
22
|
readonly label: string
|
|
@@ -26,7 +31,7 @@ export type TOption = {
|
|
|
26
31
|
readonly label: string
|
|
27
32
|
localId?: string
|
|
28
33
|
}[]
|
|
29
|
-
} & TskuAddons
|
|
34
|
+
} & TskuAddons & TWarehouseAddons
|
|
30
35
|
|
|
31
36
|
export type TLoadOption = (search: string, callback: () => void, { endCursor }: {
|
|
32
37
|
endCursor: string;
|