@ktnpm_devops/react-component 0.12.1 → 0.13.0
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/README.md +39 -0
- package/dist/constants.d.ts +26 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts +7 -0
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts +91 -0
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/MapLegend.d.ts +12 -0
- package/dist/geo/GeoMapCard/MapLegend.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/MapViewport.d.ts +17 -0
- package/dist/geo/GeoMapCard/MapViewport.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/PointListing.d.ts +14 -0
- package/dist/geo/GeoMapCard/PointListing.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts +47 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/index.d.ts +3 -0
- package/dist/geo/GeoMapCard/index.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizePoints.d.ts +26 -0
- package/dist/geo/GeoMapCard/normalizePoints.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizePoints.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/normalizePoints.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts +13 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts.map +1 -0
- package/dist/geo/index.d.ts +3 -0
- package/dist/geo/index.d.ts.map +1 -0
- package/dist/hooks/useThemeMode.d.ts +8 -0
- package/dist/hooks/useThemeMode.d.ts.map +1 -0
- package/dist/index.cjs +52 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -48
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +45 -14
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +46 -15
- package/dist/index10.js.map +1 -1
- package/dist/index100.cjs +24 -6
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +23 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +20 -16
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +19 -15
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +14 -22
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +13 -21
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +57 -36
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +57 -36
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +19 -16
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +20 -17
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +49 -19
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +49 -19
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +33 -0
- package/dist/index106.cjs.map +1 -0
- package/dist/index106.js +33 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.cjs +18 -0
- package/dist/index107.cjs.map +1 -0
- package/dist/index107.js +18 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.cjs +12 -0
- package/dist/index108.cjs.map +1 -0
- package/dist/index108.js +12 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.cjs +21 -0
- package/dist/index109.cjs.map +1 -0
- package/dist/index109.js +21 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.cjs +14 -15
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +15 -16
- package/dist/index11.js.map +1 -1
- package/dist/index110.cjs +24 -0
- package/dist/index110.cjs.map +1 -0
- package/dist/index110.js +24 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.cjs +9 -0
- package/dist/index111.cjs.map +1 -0
- package/dist/index111.js +9 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.cjs +9 -0
- package/dist/index112.cjs.map +1 -0
- package/dist/index112.js +9 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.cjs +27 -0
- package/dist/index113.cjs.map +1 -0
- package/dist/index113.js +27 -0
- package/dist/index113.js.map +1 -0
- package/dist/index12.cjs +15 -4
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +15 -4
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +4 -16
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +4 -16
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +16 -10
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +16 -10
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +10 -100
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +11 -101
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +100 -20
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +101 -21
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +20 -54
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +20 -54
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +52 -16
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +54 -18
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +16 -24
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +17 -25
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +22 -39
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +23 -40
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +38 -85
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +40 -87
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +85 -153
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +87 -155
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +150 -128
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +150 -128
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +121 -106
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +122 -107
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +121 -17
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +121 -17
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +16 -163
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +16 -163
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +163 -21
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +164 -22
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +20 -129
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +20 -129
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +129 -75
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +131 -77
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +152 -7
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +154 -9
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +74 -128
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +76 -130
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +6 -54
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +8 -56
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +128 -35
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +128 -35
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +51 -221
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +52 -222
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +38 -34
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +39 -35
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +222 -106
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +224 -108
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +30 -64
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +31 -65
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +106 -74
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +108 -76
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +63 -54
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +64 -55
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +69 -144
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +70 -145
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +57 -96
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +59 -98
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +147 -66
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +149 -68
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +97 -7
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +99 -9
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +72 -17
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +73 -18
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +7 -76
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +9 -78
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +17 -143
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +17 -143
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +72 -59
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +74 -61
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +136 -98
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +137 -99
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +49 -32
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +49 -32
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +105 -6
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +106 -7
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +44 -144
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +45 -145
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +6 -8
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +6 -8
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +145 -15
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +147 -17
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +7 -65
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +8 -66
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +19 -16
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +18 -15
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +67 -24
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +66 -23
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +15 -69
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +15 -69
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +3 -15
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +3 -15
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +24 -89
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +23 -88
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +64 -16
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +64 -16
- package/dist/index60.js.map +1 -1
- package/dist/index62.cjs +18 -9
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +18 -9
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +13 -16
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +13 -16
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +13 -13
- package/dist/index64.js +13 -13
- package/dist/index65.cjs +17 -2
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +18 -3
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +2 -20
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +3 -21
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +116 -28
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +114 -26
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +17 -17
- package/dist/index68.js +18 -18
- package/dist/index69.cjs +20 -5
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +20 -5
- package/dist/index69.js.map +1 -1
- package/dist/index7.cjs +32 -64
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +32 -64
- package/dist/index7.js.map +1 -1
- package/dist/index70.cjs +10 -16
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +10 -16
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +16 -28
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +16 -28
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +79 -19
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +80 -20
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +47 -2
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +48 -3
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +53 -2
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +54 -3
- package/dist/index74.js.map +1 -1
- package/dist/index76.cjs +28 -13
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +29 -14
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +3 -30
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +3 -30
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +31 -7
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +32 -8
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +10 -34
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +11 -35
- package/dist/index79.js.map +1 -1
- package/dist/index8.cjs +58 -75
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +58 -75
- package/dist/index8.js.map +1 -1
- package/dist/index80.cjs +16 -10
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +17 -11
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +16 -4
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +17 -5
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +10 -134
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +9 -133
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +24 -36
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +25 -37
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +36 -81
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +36 -81
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +38 -2
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +39 -3
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +49 -43
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +50 -44
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +39 -57
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +38 -56
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +92 -42
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +91 -41
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +34 -16
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +34 -16
- package/dist/index89.js.map +1 -1
- package/dist/index9.cjs +81 -45
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +81 -45
- package/dist/index9.js.map +1 -1
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +1 -1
- package/dist/index92.cjs +34 -34
- package/dist/index92.js +34 -34
- package/dist/index93.cjs +134 -34
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +133 -33
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +45 -39
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +44 -38
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +33 -92
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +32 -91
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +16 -34
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +16 -34
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +13 -49
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +14 -50
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +35 -30
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +34 -29
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +43 -57
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +42 -56
- package/dist/index99.js.map +1 -1
- package/dist/style.css +207 -0
- package/dist/types/geo.types.d.ts +45 -0
- package/dist/types/geo.types.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +13 -2
package/dist/index20.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index20.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index20.cjs","sources":["../src/composites/ChipGroup/ChipGroup.tsx"],"sourcesContent":["import { useMemo, forwardRef } from 'react';\nimport clsx from 'clsx';\nimport { Chip } from '../../primitives/Chip';\nimport type { ChipGroupProps } from './ChipGroup.types';\nimport styles from './ChipGroup.module.css';\n\nexport const ChipGroup = forwardRef<HTMLDivElement, ChipGroupProps>(\n ({ options, selected, onToggle, size = 'md', className, ...props }, ref) => {\n const selectedSet = useMemo(\n () => (selected instanceof Set ? selected : new Set(selected)),\n [selected],\n );\n\n return (\n <div ref={ref} role=\"group\" className={clsx(styles.root, className)} {...props}>\n {options.map((option) => (\n <Chip\n key={option.value}\n value={option.value}\n size={size}\n selected={selectedSet.has(option.value)}\n disabled={option.disabled}\n onToggle={onToggle}\n >\n {option.label}\n </Chip>\n ))}\n </div>\n );\n },\n);\n\nChipGroup.displayName = 'ChipGroup';\n"],"names":["forwardRef","useMemo","clsx","styles","jsx","Chip"],"mappings":";;;;;;;AAMO,MAAM,YAAYA,MAAAA;AAAAA,EACvB,CAAC,EAAE,SAAS,UAAU,UAAU,OAAO,MAAM,WAAW,GAAG,MAAA,GAAS,QAAQ;AAC1E,UAAM,cAAcC,MAAAA;AAAAA,MAClB,MAAO,oBAAoB,MAAM,WAAW,IAAI,IAAI,QAAQ;AAAA,MAC5D,CAAC,QAAQ;AAAA,IAAA;AAGX,0CACG,OAAA,EAAI,KAAU,MAAK,SAAQ,WAAWC,UAAKC,iBAAAA,QAAO,MAAM,SAAS,GAAI,GAAG,OACtE,UAAA,QAAQ,IAAI,CAAC,WACZC,2BAAAA;AAAAA,MAACC,KAAAA;AAAAA,MAAA;AAAA,QAEC,OAAO,OAAO;AAAA,QACd;AAAA,QACA,UAAU,YAAY,IAAI,OAAO,KAAK;AAAA,QACtC,UAAU,OAAO;AAAA,QACjB;AAAA,QAEC,UAAA,OAAO;AAAA,MAAA;AAAA,MAPH,OAAO;AAAA,IAAA,CASf,GACH;AAAA,EAEJ;AACF;AAEA,UAAU,cAAc;;"}
|
package/dist/index20.js
CHANGED
|
@@ -1,47 +1,30 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { clsx } from "./
|
|
4
|
-
import styles from "./
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const Col = forwardRef(
|
|
12
|
-
({ span, offset, grow, shrink, basis, className, style, children, ...props }, ref) => {
|
|
13
|
-
const inlineStyle = { ...style };
|
|
14
|
-
if (span !== void 0) {
|
|
15
|
-
inlineStyle.width = `${span / GRID_COLUMNS * 100}%`;
|
|
16
|
-
}
|
|
17
|
-
if (offset !== void 0) {
|
|
18
|
-
inlineStyle.marginLeft = `${offset / GRID_COLUMNS * 100}%`;
|
|
19
|
-
}
|
|
20
|
-
const growValue = toFlexValue(grow);
|
|
21
|
-
if (growValue !== void 0) {
|
|
22
|
-
inlineStyle.flexGrow = growValue;
|
|
23
|
-
}
|
|
24
|
-
const shrinkValue = toFlexValue(shrink);
|
|
25
|
-
if (shrinkValue !== void 0) {
|
|
26
|
-
inlineStyle.flexShrink = shrinkValue;
|
|
27
|
-
}
|
|
28
|
-
if (basis !== void 0) {
|
|
29
|
-
inlineStyle.flexBasis = basis;
|
|
30
|
-
}
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
32
|
-
"div",
|
|
33
|
-
{
|
|
34
|
-
ref,
|
|
35
|
-
className: clsx(styles.root, className),
|
|
36
|
-
style: inlineStyle,
|
|
37
|
-
...props,
|
|
38
|
-
children
|
|
39
|
-
}
|
|
2
|
+
import { forwardRef, useMemo } from "react";
|
|
3
|
+
import { clsx } from "./index57.js";
|
|
4
|
+
import styles from "./index77.js";
|
|
5
|
+
import { Chip } from "./index19.js";
|
|
6
|
+
const ChipGroup = forwardRef(
|
|
7
|
+
({ options, selected, onToggle, size = "md", className, ...props }, ref) => {
|
|
8
|
+
const selectedSet = useMemo(
|
|
9
|
+
() => selected instanceof Set ? selected : new Set(selected),
|
|
10
|
+
[selected]
|
|
40
11
|
);
|
|
12
|
+
return /* @__PURE__ */ jsx("div", { ref, role: "group", className: clsx(styles.root, className), ...props, children: options.map((option) => /* @__PURE__ */ jsx(
|
|
13
|
+
Chip,
|
|
14
|
+
{
|
|
15
|
+
value: option.value,
|
|
16
|
+
size,
|
|
17
|
+
selected: selectedSet.has(option.value),
|
|
18
|
+
disabled: option.disabled,
|
|
19
|
+
onToggle,
|
|
20
|
+
children: option.label
|
|
21
|
+
},
|
|
22
|
+
option.value
|
|
23
|
+
)) });
|
|
41
24
|
}
|
|
42
25
|
);
|
|
43
|
-
|
|
26
|
+
ChipGroup.displayName = "ChipGroup";
|
|
44
27
|
export {
|
|
45
|
-
|
|
28
|
+
ChipGroup
|
|
46
29
|
};
|
|
47
30
|
//# sourceMappingURL=index20.js.map
|
package/dist/index20.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index20.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index20.js","sources":["../src/composites/ChipGroup/ChipGroup.tsx"],"sourcesContent":["import { useMemo, forwardRef } from 'react';\nimport clsx from 'clsx';\nimport { Chip } from '../../primitives/Chip';\nimport type { ChipGroupProps } from './ChipGroup.types';\nimport styles from './ChipGroup.module.css';\n\nexport const ChipGroup = forwardRef<HTMLDivElement, ChipGroupProps>(\n ({ options, selected, onToggle, size = 'md', className, ...props }, ref) => {\n const selectedSet = useMemo(\n () => (selected instanceof Set ? selected : new Set(selected)),\n [selected],\n );\n\n return (\n <div ref={ref} role=\"group\" className={clsx(styles.root, className)} {...props}>\n {options.map((option) => (\n <Chip\n key={option.value}\n value={option.value}\n size={size}\n selected={selectedSet.has(option.value)}\n disabled={option.disabled}\n onToggle={onToggle}\n >\n {option.label}\n </Chip>\n ))}\n </div>\n );\n },\n);\n\nChipGroup.displayName = 'ChipGroup';\n"],"names":[],"mappings":";;;;;AAMO,MAAM,YAAY;AAAA,EACvB,CAAC,EAAE,SAAS,UAAU,UAAU,OAAO,MAAM,WAAW,GAAG,MAAA,GAAS,QAAQ;AAC1E,UAAM,cAAc;AAAA,MAClB,MAAO,oBAAoB,MAAM,WAAW,IAAI,IAAI,QAAQ;AAAA,MAC5D,CAAC,QAAQ;AAAA,IAAA;AAGX,+BACG,OAAA,EAAI,KAAU,MAAK,SAAQ,WAAW,KAAK,OAAO,MAAM,SAAS,GAAI,GAAG,OACtE,UAAA,QAAQ,IAAI,CAAC,WACZ;AAAA,MAAC;AAAA,MAAA;AAAA,QAEC,OAAO,OAAO;AAAA,QACd;AAAA,QACA,UAAU,YAAY,IAAI,OAAO,KAAK;AAAA,QACtC,UAAU,OAAO;AAAA,QACjB;AAAA,QAEC,UAAA,OAAO;AAAA,MAAA;AAAA,MAPH,OAAO;AAAA,IAAA,CASf,GACH;AAAA,EAEJ;AACF;AAEA,UAAU,cAAc;"}
|
package/dist/index21.cjs
CHANGED
|
@@ -2,93 +2,46 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const vh = window.innerHeight;
|
|
19
|
-
let ax = x;
|
|
20
|
-
let ay = y;
|
|
21
|
-
if (x + rect.width > vw - constants.CONTEXT_MENU_MARGIN) ax = vw - rect.width - constants.CONTEXT_MENU_MARGIN;
|
|
22
|
-
if (y + rect.height > vh - constants.CONTEXT_MENU_MARGIN) ay = vh - rect.height - constants.CONTEXT_MENU_MARGIN;
|
|
23
|
-
menuRef.current.style.left = `${ax}px`;
|
|
24
|
-
menuRef.current.style.top = `${ay}px`;
|
|
25
|
-
}, [x, y]);
|
|
26
|
-
react.useEffect(() => {
|
|
27
|
-
adjustPosition();
|
|
28
|
-
}, [adjustPosition]);
|
|
29
|
-
react.useEffect(() => {
|
|
30
|
-
const handleClick = (e) => {
|
|
31
|
-
if (menuRef.current && !menuRef.current.contains(e.target)) onClose();
|
|
32
|
-
};
|
|
33
|
-
const handleScroll = () => onClose();
|
|
34
|
-
document.addEventListener("mousedown", handleClick);
|
|
35
|
-
window.addEventListener("scroll", handleScroll, true);
|
|
36
|
-
return () => {
|
|
37
|
-
document.removeEventListener("mousedown", handleClick);
|
|
38
|
-
window.removeEventListener("scroll", handleScroll, true);
|
|
39
|
-
};
|
|
40
|
-
}, [onClose]);
|
|
41
|
-
const handleItemClick = (item) => {
|
|
42
|
-
if (item.disabled) return;
|
|
43
|
-
item.onClick();
|
|
44
|
-
onClose();
|
|
45
|
-
};
|
|
46
|
-
const handleKeyDown = (e) => {
|
|
47
|
-
if (e.key === "ArrowDown") {
|
|
48
|
-
e.preventDefault();
|
|
49
|
-
setFocusedIndex((prev) => Math.min(prev + 1, items.length - 1));
|
|
50
|
-
} else if (e.key === "ArrowUp") {
|
|
51
|
-
e.preventDefault();
|
|
52
|
-
setFocusedIndex((prev) => Math.max(prev - 1, 0));
|
|
53
|
-
} else if (e.key === "Enter" && focusedIndex >= 0 && focusedIndex < items.length) {
|
|
54
|
-
e.preventDefault();
|
|
55
|
-
handleItemClick(items[focusedIndex]);
|
|
5
|
+
const clsx = require("./index57.cjs");
|
|
6
|
+
const Col_module = require("./index112.cjs");
|
|
7
|
+
const GRID_COLUMNS = 12;
|
|
8
|
+
function toFlexValue(value) {
|
|
9
|
+
if (value === true) return 1;
|
|
10
|
+
if (typeof value === "number") return value;
|
|
11
|
+
return void 0;
|
|
12
|
+
}
|
|
13
|
+
const Col = react.forwardRef(
|
|
14
|
+
({ span, offset, grow, shrink, basis, className, style, children, ...props }, ref) => {
|
|
15
|
+
const inlineStyle = { ...style };
|
|
16
|
+
if (span !== void 0) {
|
|
17
|
+
inlineStyle.width = `${span / GRID_COLUMNS * 100}%`;
|
|
56
18
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
19
|
+
if (offset !== void 0) {
|
|
20
|
+
inlineStyle.marginLeft = `${offset / GRID_COLUMNS * 100}%`;
|
|
21
|
+
}
|
|
22
|
+
const growValue = toFlexValue(grow);
|
|
23
|
+
if (growValue !== void 0) {
|
|
24
|
+
inlineStyle.flexGrow = growValue;
|
|
25
|
+
}
|
|
26
|
+
const shrinkValue = toFlexValue(shrink);
|
|
27
|
+
if (shrinkValue !== void 0) {
|
|
28
|
+
inlineStyle.flexShrink = shrinkValue;
|
|
29
|
+
}
|
|
30
|
+
if (basis !== void 0) {
|
|
31
|
+
inlineStyle.flexBasis = basis;
|
|
32
|
+
}
|
|
33
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
61
34
|
"div",
|
|
62
35
|
{
|
|
63
|
-
ref
|
|
64
|
-
className:
|
|
65
|
-
style:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
onKeyDown: handleKeyDown,
|
|
69
|
-
children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
70
|
-
"button",
|
|
71
|
-
{
|
|
72
|
-
type: "button",
|
|
73
|
-
className: clsx.clsx(ContextMenu_module.default.item, {
|
|
74
|
-
[ContextMenu_module.default.disabled]: item.disabled,
|
|
75
|
-
[ContextMenu_module.default.focused]: i === focusedIndex
|
|
76
|
-
}),
|
|
77
|
-
onClick: () => handleItemClick(item),
|
|
78
|
-
role: "menuitem",
|
|
79
|
-
"aria-disabled": item.disabled || void 0,
|
|
80
|
-
tabIndex: i === focusedIndex ? 0 : -1,
|
|
81
|
-
children: [
|
|
82
|
-
item.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: ContextMenu_module.default.icon, children: item.icon }),
|
|
83
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: item.label })
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
item.label
|
|
87
|
-
))
|
|
36
|
+
ref,
|
|
37
|
+
className: clsx.clsx(Col_module.default.root, className),
|
|
38
|
+
style: inlineStyle,
|
|
39
|
+
...props,
|
|
40
|
+
children
|
|
88
41
|
}
|
|
89
|
-
)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
exports.
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
Col.displayName = "Col";
|
|
46
|
+
exports.Col = Col;
|
|
94
47
|
//# sourceMappingURL=index21.cjs.map
|
package/dist/index21.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index21.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index21.cjs","sources":["../src/primitives/Col/Col.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport type { ColProps } from './Col.types';\nimport styles from './Col.module.css';\n\nconst GRID_COLUMNS = 12;\n\nfunction toFlexValue(value: boolean | number | undefined): number | undefined {\n if (value === true) return 1;\n if (typeof value === 'number') return value;\n return undefined;\n}\n\nexport const Col = forwardRef<HTMLDivElement, ColProps>(\n ({ span, offset, grow, shrink, basis, className, style, children, ...props }, ref) => {\n const inlineStyle: React.CSSProperties = { ...style };\n\n if (span !== undefined) {\n inlineStyle.width = `${(span / GRID_COLUMNS) * 100}%`;\n }\n\n if (offset !== undefined) {\n inlineStyle.marginLeft = `${(offset / GRID_COLUMNS) * 100}%`;\n }\n\n const growValue = toFlexValue(grow);\n if (growValue !== undefined) {\n inlineStyle.flexGrow = growValue;\n }\n\n const shrinkValue = toFlexValue(shrink);\n if (shrinkValue !== undefined) {\n inlineStyle.flexShrink = shrinkValue;\n }\n\n if (basis !== undefined) {\n inlineStyle.flexBasis = basis;\n }\n\n return (\n <div\n ref={ref}\n className={clsx(styles.root, className)}\n style={inlineStyle}\n {...props}\n >\n {children}\n </div>\n );\n },\n);\n\nCol.displayName = 'Col';\n"],"names":["forwardRef","jsx","clsx","styles"],"mappings":";;;;;;AAKA,MAAM,eAAe;AAErB,SAAS,YAAY,OAAyD;AAC5E,MAAI,UAAU,KAAM,QAAO;AAC3B,MAAI,OAAO,UAAU,SAAU,QAAO;AACtC,SAAO;AACT;AAEO,MAAM,MAAMA,MAAAA;AAAAA,EACjB,CAAC,EAAE,MAAM,QAAQ,MAAM,QAAQ,OAAO,WAAW,OAAO,UAAU,GAAG,MAAA,GAAS,QAAQ;AACpF,UAAM,cAAmC,EAAE,GAAG,MAAA;AAE9C,QAAI,SAAS,QAAW;AACtB,kBAAY,QAAQ,GAAI,OAAO,eAAgB,GAAG;AAAA,IACpD;AAEA,QAAI,WAAW,QAAW;AACxB,kBAAY,aAAa,GAAI,SAAS,eAAgB,GAAG;AAAA,IAC3D;AAEA,UAAM,YAAY,YAAY,IAAI;AAClC,QAAI,cAAc,QAAW;AAC3B,kBAAY,WAAW;AAAA,IACzB;AAEA,UAAM,cAAc,YAAY,MAAM;AACtC,QAAI,gBAAgB,QAAW;AAC7B,kBAAY,aAAa;AAAA,IAC3B;AAEA,QAAI,UAAU,QAAW;AACvB,kBAAY,YAAY;AAAA,IAC1B;AAEA,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAWC,KAAAA,KAAKC,mBAAO,MAAM,SAAS;AAAA,QACtC,OAAO;AAAA,QACN,GAAG;AAAA,QAEH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA,IAAI,cAAc;;"}
|
package/dist/index21.js
CHANGED
|
@@ -1,94 +1,47 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const vh = window.innerHeight;
|
|
17
|
-
let ax = x;
|
|
18
|
-
let ay = y;
|
|
19
|
-
if (x + rect.width > vw - CONTEXT_MENU_MARGIN) ax = vw - rect.width - CONTEXT_MENU_MARGIN;
|
|
20
|
-
if (y + rect.height > vh - CONTEXT_MENU_MARGIN) ay = vh - rect.height - CONTEXT_MENU_MARGIN;
|
|
21
|
-
menuRef.current.style.left = `${ax}px`;
|
|
22
|
-
menuRef.current.style.top = `${ay}px`;
|
|
23
|
-
}, [x, y]);
|
|
24
|
-
useEffect(() => {
|
|
25
|
-
adjustPosition();
|
|
26
|
-
}, [adjustPosition]);
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
const handleClick = (e) => {
|
|
29
|
-
if (menuRef.current && !menuRef.current.contains(e.target)) onClose();
|
|
30
|
-
};
|
|
31
|
-
const handleScroll = () => onClose();
|
|
32
|
-
document.addEventListener("mousedown", handleClick);
|
|
33
|
-
window.addEventListener("scroll", handleScroll, true);
|
|
34
|
-
return () => {
|
|
35
|
-
document.removeEventListener("mousedown", handleClick);
|
|
36
|
-
window.removeEventListener("scroll", handleScroll, true);
|
|
37
|
-
};
|
|
38
|
-
}, [onClose]);
|
|
39
|
-
const handleItemClick = (item) => {
|
|
40
|
-
if (item.disabled) return;
|
|
41
|
-
item.onClick();
|
|
42
|
-
onClose();
|
|
43
|
-
};
|
|
44
|
-
const handleKeyDown = (e) => {
|
|
45
|
-
if (e.key === "ArrowDown") {
|
|
46
|
-
e.preventDefault();
|
|
47
|
-
setFocusedIndex((prev) => Math.min(prev + 1, items.length - 1));
|
|
48
|
-
} else if (e.key === "ArrowUp") {
|
|
49
|
-
e.preventDefault();
|
|
50
|
-
setFocusedIndex((prev) => Math.max(prev - 1, 0));
|
|
51
|
-
} else if (e.key === "Enter" && focusedIndex >= 0 && focusedIndex < items.length) {
|
|
52
|
-
e.preventDefault();
|
|
53
|
-
handleItemClick(items[focusedIndex]);
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { clsx } from "./index57.js";
|
|
4
|
+
import styles from "./index112.js";
|
|
5
|
+
const GRID_COLUMNS = 12;
|
|
6
|
+
function toFlexValue(value) {
|
|
7
|
+
if (value === true) return 1;
|
|
8
|
+
if (typeof value === "number") return value;
|
|
9
|
+
return void 0;
|
|
10
|
+
}
|
|
11
|
+
const Col = forwardRef(
|
|
12
|
+
({ span, offset, grow, shrink, basis, className, style, children, ...props }, ref) => {
|
|
13
|
+
const inlineStyle = { ...style };
|
|
14
|
+
if (span !== void 0) {
|
|
15
|
+
inlineStyle.width = `${span / GRID_COLUMNS * 100}%`;
|
|
54
16
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
17
|
+
if (offset !== void 0) {
|
|
18
|
+
inlineStyle.marginLeft = `${offset / GRID_COLUMNS * 100}%`;
|
|
19
|
+
}
|
|
20
|
+
const growValue = toFlexValue(grow);
|
|
21
|
+
if (growValue !== void 0) {
|
|
22
|
+
inlineStyle.flexGrow = growValue;
|
|
23
|
+
}
|
|
24
|
+
const shrinkValue = toFlexValue(shrink);
|
|
25
|
+
if (shrinkValue !== void 0) {
|
|
26
|
+
inlineStyle.flexShrink = shrinkValue;
|
|
27
|
+
}
|
|
28
|
+
if (basis !== void 0) {
|
|
29
|
+
inlineStyle.flexBasis = basis;
|
|
30
|
+
}
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
59
32
|
"div",
|
|
60
33
|
{
|
|
61
|
-
ref
|
|
62
|
-
className: styles.root,
|
|
63
|
-
style:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
onKeyDown: handleKeyDown,
|
|
67
|
-
children: items.map((item, i) => /* @__PURE__ */ jsxs(
|
|
68
|
-
"button",
|
|
69
|
-
{
|
|
70
|
-
type: "button",
|
|
71
|
-
className: clsx(styles.item, {
|
|
72
|
-
[styles.disabled]: item.disabled,
|
|
73
|
-
[styles.focused]: i === focusedIndex
|
|
74
|
-
}),
|
|
75
|
-
onClick: () => handleItemClick(item),
|
|
76
|
-
role: "menuitem",
|
|
77
|
-
"aria-disabled": item.disabled || void 0,
|
|
78
|
-
tabIndex: i === focusedIndex ? 0 : -1,
|
|
79
|
-
children: [
|
|
80
|
-
item.icon && /* @__PURE__ */ jsx("span", { className: styles.icon, children: item.icon }),
|
|
81
|
-
/* @__PURE__ */ jsx("span", { children: item.label })
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
item.label
|
|
85
|
-
))
|
|
34
|
+
ref,
|
|
35
|
+
className: clsx(styles.root, className),
|
|
36
|
+
style: inlineStyle,
|
|
37
|
+
...props,
|
|
38
|
+
children
|
|
86
39
|
}
|
|
87
|
-
)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
Col.displayName = "Col";
|
|
91
44
|
export {
|
|
92
|
-
|
|
45
|
+
Col
|
|
93
46
|
};
|
|
94
47
|
//# sourceMappingURL=index21.js.map
|
package/dist/index21.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index21.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index21.js","sources":["../src/primitives/Col/Col.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport type { ColProps } from './Col.types';\nimport styles from './Col.module.css';\n\nconst GRID_COLUMNS = 12;\n\nfunction toFlexValue(value: boolean | number | undefined): number | undefined {\n if (value === true) return 1;\n if (typeof value === 'number') return value;\n return undefined;\n}\n\nexport const Col = forwardRef<HTMLDivElement, ColProps>(\n ({ span, offset, grow, shrink, basis, className, style, children, ...props }, ref) => {\n const inlineStyle: React.CSSProperties = { ...style };\n\n if (span !== undefined) {\n inlineStyle.width = `${(span / GRID_COLUMNS) * 100}%`;\n }\n\n if (offset !== undefined) {\n inlineStyle.marginLeft = `${(offset / GRID_COLUMNS) * 100}%`;\n }\n\n const growValue = toFlexValue(grow);\n if (growValue !== undefined) {\n inlineStyle.flexGrow = growValue;\n }\n\n const shrinkValue = toFlexValue(shrink);\n if (shrinkValue !== undefined) {\n inlineStyle.flexShrink = shrinkValue;\n }\n\n if (basis !== undefined) {\n inlineStyle.flexBasis = basis;\n }\n\n return (\n <div\n ref={ref}\n className={clsx(styles.root, className)}\n style={inlineStyle}\n {...props}\n >\n {children}\n </div>\n );\n },\n);\n\nCol.displayName = 'Col';\n"],"names":[],"mappings":";;;;AAKA,MAAM,eAAe;AAErB,SAAS,YAAY,OAAyD;AAC5E,MAAI,UAAU,KAAM,QAAO;AAC3B,MAAI,OAAO,UAAU,SAAU,QAAO;AACtC,SAAO;AACT;AAEO,MAAM,MAAM;AAAA,EACjB,CAAC,EAAE,MAAM,QAAQ,MAAM,QAAQ,OAAO,WAAW,OAAO,UAAU,GAAG,MAAA,GAAS,QAAQ;AACpF,UAAM,cAAmC,EAAE,GAAG,MAAA;AAE9C,QAAI,SAAS,QAAW;AACtB,kBAAY,QAAQ,GAAI,OAAO,eAAgB,GAAG;AAAA,IACpD;AAEA,QAAI,WAAW,QAAW;AACxB,kBAAY,aAAa,GAAI,SAAS,eAAgB,GAAG;AAAA,IAC3D;AAEA,UAAM,YAAY,YAAY,IAAI;AAClC,QAAI,cAAc,QAAW;AAC3B,kBAAY,WAAW;AAAA,IACzB;AAEA,UAAM,cAAc,YAAY,MAAM;AACtC,QAAI,gBAAgB,QAAW;AAC7B,kBAAY,aAAa;AAAA,IAC3B;AAEA,QAAI,UAAU,QAAW;AACvB,kBAAY,YAAY;AAAA,IAC1B;AAEA,WACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,KAAK,OAAO,MAAM,SAAS;AAAA,QACtC,OAAO;AAAA,QACN,GAAG;AAAA,QAEH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA,IAAI,cAAc;"}
|