@fluentui/react-components 9.18.2 → 9.18.3
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/.swcrc +30 -0
- package/CHANGELOG.json +840 -1
- package/CHANGELOG.md +208 -2
- package/lib/Concepts/Icons/ReactIconGrid.js +11 -9
- package/lib/Concepts/Icons/ReactIconGrid.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/unstable/index.js.map +1 -1
- package/lib-commonjs/Concepts/Icons/ReactIconGrid.js +154 -97
- package/lib-commonjs/Concepts/Icons/ReactIconGrid.js.map +1 -1
- package/lib-commonjs/index.js +630 -3534
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/unstable/index.js +114 -542
- package/lib-commonjs/unstable/index.js.map +1 -1
- package/package.json +50 -48
- package/lib-amd/index.js +0 -586
- package/lib-amd/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Alert","alertClassNames","renderAlert_unstable","useAlertStyles_unstable","useAlert_unstable","InfoButton","infoButtonClassNames","useInfoButton_unstable","useInfoButtonStyles_unstable","renderInfoButton_unstable","InfoLabel","infoLabelClassNames","renderInfoLabel_unstable","useInfoLabel_unstable","useInfoLabelStyles_unstable","CheckboxField_unstable","CheckboxField","checkboxFieldClassNames","ComboboxField_unstable","ComboboxField","comboboxFieldClassNames","InputField_unstable","InputField","inputFieldClassNames","ProgressField_unstable","ProgressField","progressFieldClassNames","RadioGroupField_unstable","RadioGroupField","radioGroupFieldClassNames","SelectField_unstable","SelectField","selectFieldClassNames","SliderField_unstable","SliderField","sliderFieldClassNames","SpinButtonField_unstable","SpinButtonField","spinButtonFieldClassNames","SwitchField_unstable","SwitchField","switchFieldClassNames","TextareaField_unstable","TextareaField","textareaFieldClassNames","Field","fieldClassNames","renderField_unstable","useFieldStyles_unstable","useField_unstable","Skeleton","renderSkeleton_unstable","skeletonClassNames","useSkeletonStyles_unstable","useSkeleton_unstable","SkeletonItem","renderSkeletonItem_unstable","skeletonItemClassNames","useSkeletonItemStyles_unstable","useSkeletonItem_unstable","SkeletonContextProvider","useSkeletonContext","Virtualizer","virtualizerClassNames","useVirtualizer_unstable","renderVirtualizer_unstable","useVirtualizerStyles_unstable","useIntersectionObserver","Tree","TreeItem","TreeProvider","TreeItemLayout","TreeItemProvider","TreeItemPersonaLayout","useTreeContext_unstable","useTreeItemContext_unstable","useTree_unstable","useTreeItem_unstable","useTreeItemLayout_unstable","useTreeItemPersonaLayout_unstable","renderTree_unstable","renderTreeItem_unstable","renderTreeItemPersonaLayout_unstable","renderTreeItemLayout_unstable","useTreeStyles_unstable","useTreeItemStyles_unstable","useTreeItemPersonaLayoutStyles_unstable","useTreeItemLayoutStyles_unstable","treeItemPersonaLayoutClassNames","treeItemLevelToken","treeItemLayoutClassNames","treeItemClassNames","treeClassNames","useFlatTree_unstable","flattenTree_unstable"],"sources":["../src/packages/react-components/react-components/src/unstable/index.ts"],"sourcesContent":["// Stub for unstable exports\n\nexport {\n Alert,\n alertClassNames,\n renderAlert_unstable,\n useAlertStyles_unstable,\n useAlert_unstable,\n} from '@fluentui/react-alert';\nexport type { AlertProps, AlertSlots, AlertState } from '@fluentui/react-alert';\n\nexport {\n InfoButton,\n infoButtonClassNames,\n useInfoButton_unstable,\n useInfoButtonStyles_unstable,\n renderInfoButton_unstable,\n InfoLabel,\n infoLabelClassNames,\n renderInfoLabel_unstable,\n useInfoLabel_unstable,\n useInfoLabelStyles_unstable,\n} from '@fluentui/react-infobutton';\nexport type {\n InfoButtonProps,\n InfoButtonSlots,\n InfoButtonState,\n InfoLabelProps,\n InfoLabelSlots,\n InfoLabelState,\n} from '@fluentui/react-infobutton';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { CheckboxField_unstable as CheckboxField, checkboxFieldClassNames } from '@fluentui/react-checkbox';\n// eslint-disable-next-line deprecation/deprecation\nexport type { CheckboxFieldProps_unstable as CheckboxFieldProps } from '@fluentui/react-checkbox';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { ComboboxField_unstable as ComboboxField, comboboxFieldClassNames } from '@fluentui/react-combobox';\n// eslint-disable-next-line deprecation/deprecation\nexport type { ComboboxFieldProps_unstable as ComboboxFieldProps } from '@fluentui/react-combobox';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { InputField_unstable as InputField, inputFieldClassNames } from '@fluentui/react-input';\n// eslint-disable-next-line deprecation/deprecation\nexport type { InputFieldProps_unstable as InputFieldProps } from '@fluentui/react-input';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { ProgressField_unstable as ProgressField, progressFieldClassNames } from '@fluentui/react-progress';\n// eslint-disable-next-line deprecation/deprecation\nexport type { ProgressFieldProps_unstable as ProgressFieldProps } from '@fluentui/react-progress';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { RadioGroupField_unstable as RadioGroupField, radioGroupFieldClassNames } from '@fluentui/react-radio';\n// eslint-disable-next-line deprecation/deprecation\nexport type { RadioGroupFieldProps_unstable as RadioGroupFieldProps } from '@fluentui/react-radio';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SelectField_unstable as SelectField, selectFieldClassNames } from '@fluentui/react-select';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SelectFieldProps_unstable as SelectFieldProps } from '@fluentui/react-select';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SliderField_unstable as SliderField, sliderFieldClassNames } from '@fluentui/react-slider';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SliderFieldProps_unstable as SliderFieldProps } from '@fluentui/react-slider';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SpinButtonField_unstable as SpinButtonField, spinButtonFieldClassNames } from '@fluentui/react-spinbutton';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SpinButtonFieldProps_unstable as SpinButtonFieldProps } from '@fluentui/react-spinbutton';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SwitchField_unstable as SwitchField, switchFieldClassNames } from '@fluentui/react-switch';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SwitchFieldProps_unstable as SwitchFieldProps } from '@fluentui/react-switch';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { TextareaField_unstable as TextareaField, textareaFieldClassNames } from '@fluentui/react-textarea';\n// eslint-disable-next-line deprecation/deprecation\nexport type { TextareaFieldProps_unstable as TextareaFieldProps } from '@fluentui/react-textarea';\n\nexport {\n Field,\n fieldClassNames,\n renderField_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n} from '@fluentui/react-field';\nexport type { FieldProps, FieldSlots, FieldState } from '@fluentui/react-field';\n\nexport {\n Skeleton,\n renderSkeleton_unstable,\n skeletonClassNames,\n useSkeletonStyles_unstable,\n useSkeleton_unstable,\n SkeletonItem,\n renderSkeletonItem_unstable,\n skeletonItemClassNames,\n useSkeletonItemStyles_unstable,\n useSkeletonItem_unstable,\n SkeletonContextProvider,\n useSkeletonContext,\n} from '@fluentui/react-skeleton';\nexport type {\n SkeletonProps,\n SkeletonSlots,\n SkeletonState,\n SkeletonItemProps,\n SkeletonItemSlots,\n SkeletonItemState,\n SkeletonContextValue,\n} from '@fluentui/react-skeleton';\n\nexport {\n Virtualizer,\n virtualizerClassNames,\n useVirtualizer_unstable,\n renderVirtualizer_unstable,\n useVirtualizerStyles_unstable,\n useIntersectionObserver,\n} from '@fluentui/react-virtualizer';\nexport type {\n VirtualizerProps,\n VirtualizerState,\n VirtualizerSlots,\n VirtualizerChildRenderFunction,\n} from '@fluentui/react-virtualizer';\n\nexport {\n Tree,\n TreeItem,\n TreeProvider,\n TreeItemLayout,\n TreeItemProvider,\n TreeItemPersonaLayout,\n useTreeContext_unstable,\n useTreeItemContext_unstable,\n useTree_unstable,\n useTreeItem_unstable,\n useTreeItemLayout_unstable,\n useTreeItemPersonaLayout_unstable,\n renderTree_unstable,\n renderTreeItem_unstable,\n renderTreeItemPersonaLayout_unstable,\n renderTreeItemLayout_unstable,\n useTreeStyles_unstable,\n useTreeItemStyles_unstable,\n useTreeItemPersonaLayoutStyles_unstable,\n useTreeItemLayoutStyles_unstable,\n treeItemPersonaLayoutClassNames,\n treeItemLevelToken,\n treeItemLayoutClassNames,\n treeItemClassNames,\n treeClassNames,\n useFlatTree_unstable,\n flattenTree_unstable,\n} from '@fluentui/react-tree';\n\nexport type {\n TreeState,\n TreeSlots,\n TreeProps,\n TreeOpenChangeEvent,\n TreeOpenChangeData,\n TreeNavigationEvent_unstable,\n TreeNavigationData_unstable,\n TreeItemState,\n TreeItemSlots,\n TreeItemProps,\n TreeItemPersonaLayoutState,\n TreeItemPersonaLayoutSlots,\n TreeItemPersonaLayoutProps,\n TreeItemLayoutState,\n TreeItemLayoutSlots,\n TreeItemLayoutProps,\n TreeItemId,\n TreeContextValue,\n NestedTreeItem,\n FlatTree,\n FlatTreeProps,\n FlatTreeItemProps,\n FlatTreeItem,\n} from '@fluentui/react-tree';\n"],"mappings":"AAAA;AAEA,SACEA,KAAK,EACLC,eAAe,EACfC,oBAAoB,EACpBC,uBAAuB,EACvBC,iBAAiB,QACZ,uBAAuB;AAG9B,SACEC,UAAU,EACVC,oBAAoB,EACpBC,sBAAsB,EACtBC,4BAA4B,EAC5BC,yBAAyB,EACzBC,SAAS,EACTC,mBAAmB,EACnBC,wBAAwB,EACxBC,qBAAqB,EACrBC,2BAA2B,QACtB,4BAA4B;AAUnC;AACA,SAASC,sBAAsB,IAAIC,aAAa,EAAEC,uBAAuB,QAAQ,0BAA0B;AAI3G;AACA,SAASC,sBAAsB,IAAIC,aAAa,EAAEC,uBAAuB,QAAQ,0BAA0B;AAI3G;AACA,SAASC,mBAAmB,IAAIC,UAAU,EAAEC,oBAAoB,QAAQ,uBAAuB;AAI/F;AACA,SAASC,sBAAsB,IAAIC,aAAa,EAAEC,uBAAuB,QAAQ,0BAA0B;AAI3G;AACA,SAASC,wBAAwB,IAAIC,eAAe,EAAEC,yBAAyB,QAAQ,uBAAuB;AAI9G;AACA,SAASC,oBAAoB,IAAIC,WAAW,EAAEC,qBAAqB,QAAQ,wBAAwB;AAInG;AACA,SAASC,oBAAoB,IAAIC,WAAW,EAAEC,qBAAqB,QAAQ,wBAAwB;AAInG;AACA,SAASC,wBAAwB,IAAIC,eAAe,EAAEC,yBAAyB,QAAQ,4BAA4B;AAInH;AACA,SAASC,oBAAoB,IAAIC,WAAW,EAAEC,qBAAqB,QAAQ,wBAAwB;AAInG;AACA,SAASC,sBAAsB,IAAIC,aAAa,EAAEC,uBAAuB,QAAQ,0BAA0B;AAI3G,SACEC,KAAK,EACLC,eAAe,EACfC,oBAAoB,EACpBC,uBAAuB,EACvBC,iBAAiB,QACZ,uBAAuB;AAG9B,SACEC,QAAQ,EACRC,uBAAuB,EACvBC,kBAAkB,EAClBC,0BAA0B,EAC1BC,oBAAoB,EACpBC,YAAY,EACZC,2BAA2B,EAC3BC,sBAAsB,EACtBC,8BAA8B,EAC9BC,wBAAwB,EACxBC,uBAAuB,EACvBC,kBAAkB,QACb,0BAA0B;AAWjC,SACEC,WAAW,EACXC,qBAAqB,EACrBC,uBAAuB,EACvBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,uBAAuB,QAClB,6BAA6B;AAQpC,SACEC,IAAI,EACJC,QAAQ,EACRC,YAAY,EACZC,cAAc,EACdC,gBAAgB,EAChBC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,gBAAgB,EAChBC,oBAAoB,EACpBC,0BAA0B,EAC1BC,iCAAiC,EACjCC,mBAAmB,EACnBC,uBAAuB,EACvBC,oCAAoC,EACpCC,6BAA6B,EAC7BC,sBAAsB,EACtBC,0BAA0B,EAC1BC,uCAAuC,EACvCC,gCAAgC,EAChCC,+BAA+B,EAC/BC,kBAAkB,EAClBC,wBAAwB,EACxBC,kBAAkB,EAClBC,cAAc,EACdC,oBAAoB,EACpBC,oBAAoB,QACf,sBAAsB"}
|
|
1
|
+
{"version":3,"names":["Alert","alertClassNames","renderAlert_unstable","useAlertStyles_unstable","useAlert_unstable","InfoButton","infoButtonClassNames","useInfoButton_unstable","useInfoButtonStyles_unstable","renderInfoButton_unstable","InfoLabel","infoLabelClassNames","renderInfoLabel_unstable","useInfoLabel_unstable","useInfoLabelStyles_unstable","CheckboxField_unstable","CheckboxField","checkboxFieldClassNames","ComboboxField_unstable","ComboboxField","comboboxFieldClassNames","InputField_unstable","InputField","inputFieldClassNames","ProgressField_unstable","ProgressField","progressFieldClassNames","RadioGroupField_unstable","RadioGroupField","radioGroupFieldClassNames","SelectField_unstable","SelectField","selectFieldClassNames","SliderField_unstable","SliderField","sliderFieldClassNames","SpinButtonField_unstable","SpinButtonField","spinButtonFieldClassNames","SwitchField_unstable","SwitchField","switchFieldClassNames","TextareaField_unstable","TextareaField","textareaFieldClassNames","Field","fieldClassNames","renderField_unstable","useFieldStyles_unstable","useField_unstable","Skeleton","renderSkeleton_unstable","skeletonClassNames","useSkeletonStyles_unstable","useSkeleton_unstable","SkeletonItem","renderSkeletonItem_unstable","skeletonItemClassNames","useSkeletonItemStyles_unstable","useSkeletonItem_unstable","SkeletonContextProvider","useSkeletonContext","Virtualizer","virtualizerClassNames","useVirtualizer_unstable","renderVirtualizer_unstable","useVirtualizerStyles_unstable","useIntersectionObserver","Tree","TreeItem","TreeProvider","TreeItemLayout","TreeItemProvider","TreeItemPersonaLayout","useTreeContext_unstable","useTreeItemContext_unstable","useTree_unstable","useTreeItem_unstable","useTreeItemLayout_unstable","useTreeItemPersonaLayout_unstable","renderTree_unstable","renderTreeItem_unstable","renderTreeItemPersonaLayout_unstable","renderTreeItemLayout_unstable","useTreeStyles_unstable","useTreeItemStyles_unstable","useTreeItemPersonaLayoutStyles_unstable","useTreeItemLayoutStyles_unstable","treeItemPersonaLayoutClassNames","treeItemLevelToken","treeItemLayoutClassNames","treeItemClassNames","treeClassNames","useFlatTree_unstable","flattenTree_unstable"],"sources":["../../src/unstable/index.ts"],"sourcesContent":["// Stub for unstable exports\n\nexport {\n Alert,\n alertClassNames,\n renderAlert_unstable,\n useAlertStyles_unstable,\n useAlert_unstable,\n} from '@fluentui/react-alert';\nexport type { AlertProps, AlertSlots, AlertState } from '@fluentui/react-alert';\n\nexport {\n InfoButton,\n infoButtonClassNames,\n useInfoButton_unstable,\n useInfoButtonStyles_unstable,\n renderInfoButton_unstable,\n InfoLabel,\n infoLabelClassNames,\n renderInfoLabel_unstable,\n useInfoLabel_unstable,\n useInfoLabelStyles_unstable,\n} from '@fluentui/react-infobutton';\nexport type {\n InfoButtonProps,\n InfoButtonSlots,\n InfoButtonState,\n InfoLabelProps,\n InfoLabelSlots,\n InfoLabelState,\n} from '@fluentui/react-infobutton';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { CheckboxField_unstable as CheckboxField, checkboxFieldClassNames } from '@fluentui/react-checkbox';\n// eslint-disable-next-line deprecation/deprecation\nexport type { CheckboxFieldProps_unstable as CheckboxFieldProps } from '@fluentui/react-checkbox';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { ComboboxField_unstable as ComboboxField, comboboxFieldClassNames } from '@fluentui/react-combobox';\n// eslint-disable-next-line deprecation/deprecation\nexport type { ComboboxFieldProps_unstable as ComboboxFieldProps } from '@fluentui/react-combobox';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { InputField_unstable as InputField, inputFieldClassNames } from '@fluentui/react-input';\n// eslint-disable-next-line deprecation/deprecation\nexport type { InputFieldProps_unstable as InputFieldProps } from '@fluentui/react-input';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { ProgressField_unstable as ProgressField, progressFieldClassNames } from '@fluentui/react-progress';\n// eslint-disable-next-line deprecation/deprecation\nexport type { ProgressFieldProps_unstable as ProgressFieldProps } from '@fluentui/react-progress';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { RadioGroupField_unstable as RadioGroupField, radioGroupFieldClassNames } from '@fluentui/react-radio';\n// eslint-disable-next-line deprecation/deprecation\nexport type { RadioGroupFieldProps_unstable as RadioGroupFieldProps } from '@fluentui/react-radio';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SelectField_unstable as SelectField, selectFieldClassNames } from '@fluentui/react-select';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SelectFieldProps_unstable as SelectFieldProps } from '@fluentui/react-select';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SliderField_unstable as SliderField, sliderFieldClassNames } from '@fluentui/react-slider';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SliderFieldProps_unstable as SliderFieldProps } from '@fluentui/react-slider';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SpinButtonField_unstable as SpinButtonField, spinButtonFieldClassNames } from '@fluentui/react-spinbutton';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SpinButtonFieldProps_unstable as SpinButtonFieldProps } from '@fluentui/react-spinbutton';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SwitchField_unstable as SwitchField, switchFieldClassNames } from '@fluentui/react-switch';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SwitchFieldProps_unstable as SwitchFieldProps } from '@fluentui/react-switch';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { TextareaField_unstable as TextareaField, textareaFieldClassNames } from '@fluentui/react-textarea';\n// eslint-disable-next-line deprecation/deprecation\nexport type { TextareaFieldProps_unstable as TextareaFieldProps } from '@fluentui/react-textarea';\n\nexport {\n Field,\n fieldClassNames,\n renderField_unstable,\n useFieldStyles_unstable,\n useField_unstable,\n} from '@fluentui/react-field';\nexport type { FieldProps, FieldSlots, FieldState } from '@fluentui/react-field';\n\nexport {\n Skeleton,\n renderSkeleton_unstable,\n skeletonClassNames,\n useSkeletonStyles_unstable,\n useSkeleton_unstable,\n SkeletonItem,\n renderSkeletonItem_unstable,\n skeletonItemClassNames,\n useSkeletonItemStyles_unstable,\n useSkeletonItem_unstable,\n SkeletonContextProvider,\n useSkeletonContext,\n} from '@fluentui/react-skeleton';\nexport type {\n SkeletonProps,\n SkeletonSlots,\n SkeletonState,\n SkeletonItemProps,\n SkeletonItemSlots,\n SkeletonItemState,\n SkeletonContextValue,\n} from '@fluentui/react-skeleton';\n\nexport {\n Virtualizer,\n virtualizerClassNames,\n useVirtualizer_unstable,\n renderVirtualizer_unstable,\n useVirtualizerStyles_unstable,\n useIntersectionObserver,\n} from '@fluentui/react-virtualizer';\nexport type {\n VirtualizerProps,\n VirtualizerState,\n VirtualizerSlots,\n VirtualizerChildRenderFunction,\n} from '@fluentui/react-virtualizer';\n\nexport {\n Tree,\n TreeItem,\n TreeProvider,\n TreeItemLayout,\n TreeItemProvider,\n TreeItemPersonaLayout,\n useTreeContext_unstable,\n useTreeItemContext_unstable,\n useTree_unstable,\n useTreeItem_unstable,\n useTreeItemLayout_unstable,\n useTreeItemPersonaLayout_unstable,\n renderTree_unstable,\n renderTreeItem_unstable,\n renderTreeItemPersonaLayout_unstable,\n renderTreeItemLayout_unstable,\n useTreeStyles_unstable,\n useTreeItemStyles_unstable,\n useTreeItemPersonaLayoutStyles_unstable,\n useTreeItemLayoutStyles_unstable,\n treeItemPersonaLayoutClassNames,\n treeItemLevelToken,\n treeItemLayoutClassNames,\n treeItemClassNames,\n treeClassNames,\n useFlatTree_unstable,\n flattenTree_unstable,\n} from '@fluentui/react-tree';\n\nexport type {\n TreeState,\n TreeSlots,\n TreeProps,\n TreeOpenChangeEvent,\n TreeOpenChangeData,\n TreeNavigationEvent_unstable,\n TreeNavigationData_unstable,\n TreeItemState,\n TreeItemSlots,\n TreeItemProps,\n TreeItemPersonaLayoutState,\n TreeItemPersonaLayoutSlots,\n TreeItemPersonaLayoutProps,\n TreeItemLayoutState,\n TreeItemLayoutSlots,\n TreeItemLayoutProps,\n TreeItemId,\n TreeContextValue,\n NestedTreeItem,\n FlatTree,\n FlatTreeProps,\n FlatTreeItemProps,\n FlatTreeItem,\n} from '@fluentui/react-tree';\n"],"mappings":"AAAA;AAEA,SACEA,KAAK,EACLC,eAAe,EACfC,oBAAoB,EACpBC,uBAAuB,EACvBC,iBAAiB,QACZ;AAGP,SACEC,UAAU,EACVC,oBAAoB,EACpBC,sBAAsB,EACtBC,4BAA4B,EAC5BC,yBAAy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AAoB,EACpBC,0BAA0B,EAC1BC,iCAAiC,EACjCC,mBAAmB,EACnBC,uBAAuB,EACvBC,oCAAoC,EACpCC,6BAA6B,EAC7BC,sBAAsB,EACtBC,0BAA0B,EAC1BC,uCAAuC,EACvCC,gCAAgC,EAChCC,+BAA+B,EAC/BC,kBAAkB,EAClBC,wBAAwB,EACxBC,kBAAkB,EAClBC,cAAc,EACdC,oBAAoB,EACpBC,oBAAoB,QACf"}
|
|
@@ -1,104 +1,161 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
5
4
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const react_1 = /*#__PURE__*/require("@griffel/react");
|
|
11
|
-
const useStyles = /*#__PURE__*/react_1.__styles({
|
|
12
|
-
grid: {
|
|
13
|
-
mc9l5x: "f13qh94s",
|
|
14
|
-
Budl1dq: "f103s1qi",
|
|
15
|
-
w08cwm: "fz44487",
|
|
16
|
-
De3pzq: "f1vbpgwy",
|
|
17
|
-
Bqyf3fh: "f1y7pwzt",
|
|
18
|
-
tuaewz: "fkjsrz3",
|
|
19
|
-
js62xs: "f1v4pbv1",
|
|
20
|
-
ge08ax: "f10n702m",
|
|
21
|
-
vwmem1: "fukf1g8",
|
|
22
|
-
pq1t01: "f1ke9dqw",
|
|
23
|
-
Bspu8ag: ["ft83mph", "fduese8"],
|
|
24
|
-
B83reyd: "ffztlgx",
|
|
25
|
-
d2aa3c: ["fduese8", "ft83mph"],
|
|
26
|
-
Bo0llhl: "f1ad31ox",
|
|
27
|
-
Bfpbev4: "f1pcllc0",
|
|
28
|
-
Bs90se3: "fdkswtx",
|
|
29
|
-
B83tkto: "f1yxgqk0",
|
|
30
|
-
pxe6pr: "fg04g75",
|
|
31
|
-
Beqvepd: "fvrpp50",
|
|
32
|
-
Bq5m64l: ["f1xqymmk", "f1mqnmtg"],
|
|
33
|
-
B0xcf35: "f12h2kxz",
|
|
34
|
-
B9c2vit: ["f1mqnmtg", "f1xqymmk"]
|
|
35
|
-
},
|
|
36
|
-
searchBox: {
|
|
37
|
-
De3pzq: "f1vbpgwy",
|
|
38
|
-
B2u0y6b: "f1ogbl2p",
|
|
39
|
-
jrapky: "f1dl2k97"
|
|
40
|
-
},
|
|
41
|
-
radio: {
|
|
42
|
-
De3pzq: "f1vbpgwy",
|
|
43
|
-
Be2twd7: "fnsq08h"
|
|
44
|
-
}
|
|
45
|
-
}, {
|
|
46
|
-
d: [".f13qh94s{display:grid;}", ".f103s1qi{grid-template-columns:auto auto auto auto;}", ".fz44487{grid-gap:10px;}", ".f1vbpgwy{background-color:#F7F7F7;}", ".f1y7pwzt>div{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".fkjsrz3>div{background-color:#FFFFFF;}", ".f1v4pbv1>div{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f10n702m>div{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".fukf1g8>div{-webkit-box-pack:space-around;-ms-flex-pack:space-around;-webkit-justify-content:space-around;justify-content:space-around;}", ".f1ke9dqw>div{padding-top:8px;}", ".ft83mph>div{padding-right:8px;}", ".fduese8>div{padding-left:8px;}", ".ffztlgx>div{padding-bottom:8px;}", ".f1ad31ox>div{overflow-x:hidden;}", ".f1pcllc0>div{overflow-y:hidden;}", ".fdkswtx>div>code{font-size:8px;}", ".f1yxgqk0>div>code{display:inline-block;}", ".fg04g75>div>code{height:auto;}", ".fvrpp50>div>code{padding-top:0px 8px;}", ".f1xqymmk>div>code{padding-right:0px 8px;}", ".f1mqnmtg>div>code{padding-left:0px 8px;}", ".f12h2kxz>div>code{padding-bottom:0px 8px;}", ".f1ogbl2p{max-width:320px;}", ".f1dl2k97{margin-bottom:10px;}", ".fnsq08h{font-size:11px;}"]
|
|
5
|
+
Object.defineProperty(exports, "default" //# sourceMappingURL=ReactIconGrid.js.map
|
|
6
|
+
, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: ()=>_default
|
|
47
9
|
});
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
10
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
|
11
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
|
12
|
+
const _reactIcons = /*#__PURE__*/ _interopRequireWildcard(require("@fluentui/react-icons"));
|
|
13
|
+
const _reactInput = require("@fluentui/react-input");
|
|
14
|
+
const _react1 = require("@griffel/react");
|
|
15
|
+
const useStyles = /*#__PURE__*/ (0, _react1["__styles"])({
|
|
16
|
+
grid: {
|
|
17
|
+
mc9l5x: "f13qh94s",
|
|
18
|
+
Budl1dq: "f103s1qi",
|
|
19
|
+
w08cwm: "fz44487",
|
|
20
|
+
De3pzq: "f1vbpgwy",
|
|
21
|
+
Bqyf3fh: "f1y7pwzt",
|
|
22
|
+
tuaewz: "fkjsrz3",
|
|
23
|
+
js62xs: "f1v4pbv1",
|
|
24
|
+
ge08ax: "f10n702m",
|
|
25
|
+
vwmem1: "fukf1g8",
|
|
26
|
+
pq1t01: "f1ke9dqw",
|
|
27
|
+
Bspu8ag: [
|
|
28
|
+
"ft83mph",
|
|
29
|
+
"fduese8"
|
|
30
|
+
],
|
|
31
|
+
B83reyd: "ffztlgx",
|
|
32
|
+
d2aa3c: [
|
|
33
|
+
"fduese8",
|
|
34
|
+
"ft83mph"
|
|
35
|
+
],
|
|
36
|
+
Bo0llhl: "f1ad31ox",
|
|
37
|
+
Bfpbev4: "f1pcllc0",
|
|
38
|
+
Bs90se3: "fdkswtx",
|
|
39
|
+
B83tkto: "f1yxgqk0",
|
|
40
|
+
pxe6pr: "fg04g75",
|
|
41
|
+
Beqvepd: "fvrpp50",
|
|
42
|
+
Bq5m64l: [
|
|
43
|
+
"f1xqymmk",
|
|
44
|
+
"f1mqnmtg"
|
|
45
|
+
],
|
|
46
|
+
B0xcf35: "f12h2kxz",
|
|
47
|
+
B9c2vit: [
|
|
48
|
+
"f1mqnmtg",
|
|
49
|
+
"f1xqymmk"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
searchBox: {
|
|
53
|
+
De3pzq: "f1vbpgwy",
|
|
54
|
+
B2u0y6b: "f1ogbl2p",
|
|
55
|
+
jrapky: "f1dl2k97"
|
|
56
|
+
},
|
|
57
|
+
radio: {
|
|
58
|
+
De3pzq: "f1vbpgwy",
|
|
59
|
+
Be2twd7: "fnsq08h"
|
|
78
60
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
61
|
+
}, {
|
|
62
|
+
d: [
|
|
63
|
+
".f13qh94s{display:grid;}",
|
|
64
|
+
".f103s1qi{grid-template-columns:auto auto auto auto;}",
|
|
65
|
+
".fz44487{grid-gap:10px;}",
|
|
66
|
+
".f1vbpgwy{background-color:#F7F7F7;}",
|
|
67
|
+
".f1y7pwzt>div{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",
|
|
68
|
+
".fkjsrz3>div{background-color:#FFFFFF;}",
|
|
69
|
+
".f1v4pbv1>div{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",
|
|
70
|
+
".f10n702m>div{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}",
|
|
71
|
+
".fukf1g8>div{-webkit-box-pack:space-around;-ms-flex-pack:space-around;-webkit-justify-content:space-around;justify-content:space-around;}",
|
|
72
|
+
".f1ke9dqw>div{padding-top:8px;}",
|
|
73
|
+
".ft83mph>div{padding-right:8px;}",
|
|
74
|
+
".fduese8>div{padding-left:8px;}",
|
|
75
|
+
".ffztlgx>div{padding-bottom:8px;}",
|
|
76
|
+
".f1ad31ox>div{overflow-x:hidden;}",
|
|
77
|
+
".f1pcllc0>div{overflow-y:hidden;}",
|
|
78
|
+
".fdkswtx>div>code{font-size:8px;}",
|
|
79
|
+
".f1yxgqk0>div>code{display:inline-block;}",
|
|
80
|
+
".fg04g75>div>code{height:auto;}",
|
|
81
|
+
".fvrpp50>div>code{padding-top:0px 8px;}",
|
|
82
|
+
".f1xqymmk>div>code{padding-right:0px 8px;}",
|
|
83
|
+
".f1mqnmtg>div>code{padding-left:0px 8px;}",
|
|
84
|
+
".f12h2kxz>div>code{padding-bottom:0px 8px;}",
|
|
85
|
+
".f1ogbl2p{max-width:320px;}",
|
|
86
|
+
".f1dl2k97{margin-bottom:10px;}",
|
|
87
|
+
".fnsq08h{font-size:11px;}"
|
|
88
|
+
]
|
|
89
|
+
});
|
|
90
|
+
const reactIcons = /*#__PURE__*/ Object.keys(_reactIcons) // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
91
|
+
.map((iconName)=>_reactIcons[iconName]).filter((icon)=>!!icon && !!icon.displayName);
|
|
92
|
+
const ReactIconGrid = ()=>{
|
|
93
|
+
const [search, setSearch] = _react.useState('');
|
|
94
|
+
const [size, setSize] = _react.useState(24);
|
|
95
|
+
const styles = useStyles();
|
|
96
|
+
const _onSearchQueryChanged = (ev)=>{
|
|
97
|
+
setSearch(ev ? ev.currentTarget.value : '');
|
|
98
|
+
};
|
|
99
|
+
const _filterBySize = (ev)=>{
|
|
100
|
+
const newSize = ev ? ev.currentTarget.value : '';
|
|
101
|
+
if (newSize === 'All') {
|
|
102
|
+
setSize('');
|
|
103
|
+
} else if (newSize === 'Unsized') {
|
|
104
|
+
setSize('Unsized');
|
|
105
|
+
} else {
|
|
106
|
+
setSize(newSize);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
const _renderIcon = (Icon)=>{
|
|
110
|
+
return /*#__PURE__*/ _react.createElement("div", {
|
|
111
|
+
key: Icon.displayName,
|
|
112
|
+
"aria-label": Icon.displayName
|
|
113
|
+
}, /*#__PURE__*/ _react.createElement(Icon, null), /*#__PURE__*/ _react.createElement("br", null), /*#__PURE__*/ _react.createElement("code", null, Icon.displayName));
|
|
114
|
+
};
|
|
115
|
+
const filteredIcons = _react.useMemo(()=>{
|
|
116
|
+
return reactIcons.filter((icon)=>{
|
|
117
|
+
var _icon_displayName, _icon_displayName1;
|
|
118
|
+
if (size === 'Unsized') {
|
|
119
|
+
var _icon_displayName2;
|
|
120
|
+
return icon.displayName && !/\d/.test(icon.displayName.toLowerCase()) && ((_icon_displayName2 = icon.displayName) === null || _icon_displayName2 === void 0 ? void 0 : _icon_displayName2.toLowerCase().indexOf(search.toLowerCase())) !== -1;
|
|
121
|
+
}
|
|
122
|
+
return ((_icon_displayName = icon.displayName) === null || _icon_displayName === void 0 ? void 0 : _icon_displayName.toLowerCase().indexOf(search.toLowerCase())) !== -1 && ((_icon_displayName1 = icon.displayName) === null || _icon_displayName1 === void 0 ? void 0 : _icon_displayName1.indexOf(String(size))) !== -1;
|
|
123
|
+
});
|
|
124
|
+
}, [
|
|
125
|
+
search,
|
|
126
|
+
size
|
|
127
|
+
]);
|
|
128
|
+
return /*#__PURE__*/ _react.createElement("div", null, /*#__PURE__*/ _react.createElement(_reactInput.Input, {
|
|
129
|
+
type: "search",
|
|
130
|
+
placeholder: "Search icons",
|
|
131
|
+
value: search,
|
|
132
|
+
"aria-label": "search",
|
|
133
|
+
// eslint-disable-next-line react/jsx-no-bind
|
|
134
|
+
onChange: _onSearchQueryChanged,
|
|
135
|
+
className: styles.searchBox
|
|
136
|
+
}), [
|
|
137
|
+
16,
|
|
138
|
+
20,
|
|
139
|
+
24,
|
|
140
|
+
28,
|
|
141
|
+
32,
|
|
142
|
+
48,
|
|
143
|
+
'Unsized',
|
|
144
|
+
'All'
|
|
145
|
+
].map((option)=>/*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement("input", {
|
|
146
|
+
id: `option-${option}`,
|
|
147
|
+
defaultChecked: option === 24,
|
|
148
|
+
type: "radio",
|
|
149
|
+
value: option,
|
|
150
|
+
name: "size",
|
|
151
|
+
onChange: _filterBySize
|
|
152
|
+
}), /*#__PURE__*/ _react.createElement("label", {
|
|
153
|
+
htmlFor: `option-${option}`,
|
|
154
|
+
className: styles.radio
|
|
155
|
+
}, option))), /*#__PURE__*/ _react.createElement("div", {
|
|
156
|
+
className: styles.grid
|
|
157
|
+
}, filteredIcons.map(_renderIcon)));
|
|
102
158
|
};
|
|
103
|
-
|
|
159
|
+
const _default = ReactIconGrid;
|
|
160
|
+
|
|
104
161
|
//# sourceMappingURL=ReactIconGrid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../lib/Concepts/Icons/ReactIconGrid.js"],"sourcesContent":["import * as React from 'react';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as ReactIcons from '@fluentui/react-icons';\nimport { Input } from '@fluentui/react-input';\nimport { __styles, shorthands } from '@griffel/react';\nconst useStyles = /*#__PURE__*/__styles({\n grid: {\n mc9l5x: \"f13qh94s\",\n Budl1dq: \"f103s1qi\",\n w08cwm: \"fz44487\",\n De3pzq: \"f1vbpgwy\",\n Bqyf3fh: \"f1y7pwzt\",\n tuaewz: \"fkjsrz3\",\n js62xs: \"f1v4pbv1\",\n ge08ax: \"f10n702m\",\n vwmem1: \"fukf1g8\",\n pq1t01: \"f1ke9dqw\",\n Bspu8ag: [\"ft83mph\", \"fduese8\"],\n B83reyd: \"ffztlgx\",\n d2aa3c: [\"fduese8\", \"ft83mph\"],\n Bo0llhl: \"f1ad31ox\",\n Bfpbev4: \"f1pcllc0\",\n Bs90se3: \"fdkswtx\",\n B83tkto: \"f1yxgqk0\",\n pxe6pr: \"fg04g75\",\n Beqvepd: \"fvrpp50\",\n Bq5m64l: [\"f1xqymmk\", \"f1mqnmtg\"],\n B0xcf35: \"f12h2kxz\",\n B9c2vit: [\"f1mqnmtg\", \"f1xqymmk\"]\n },\n searchBox: {\n De3pzq: \"f1vbpgwy\",\n B2u0y6b: \"f1ogbl2p\",\n jrapky: \"f1dl2k97\"\n },\n radio: {\n De3pzq: \"f1vbpgwy\",\n Be2twd7: \"fnsq08h\"\n }\n}, {\n d: [\".f13qh94s{display:grid;}\", \".f103s1qi{grid-template-columns:auto auto auto auto;}\", \".fz44487{grid-gap:10px;}\", \".f1vbpgwy{background-color:#F7F7F7;}\", \".f1y7pwzt>div{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}\", \".fkjsrz3>div{background-color:#FFFFFF;}\", \".f1v4pbv1>div{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}\", \".f10n702m>div{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}\", \".fukf1g8>div{-webkit-box-pack:space-around;-ms-flex-pack:space-around;-webkit-justify-content:space-around;justify-content:space-around;}\", \".f1ke9dqw>div{padding-top:8px;}\", \".ft83mph>div{padding-right:8px;}\", \".fduese8>div{padding-left:8px;}\", \".ffztlgx>div{padding-bottom:8px;}\", \".f1ad31ox>div{overflow-x:hidden;}\", \".f1pcllc0>div{overflow-y:hidden;}\", \".fdkswtx>div>code{font-size:8px;}\", \".f1yxgqk0>div>code{display:inline-block;}\", \".fg04g75>div>code{height:auto;}\", \".fvrpp50>div>code{padding-top:0px 8px;}\", \".f1xqymmk>div>code{padding-right:0px 8px;}\", \".f1mqnmtg>div>code{padding-left:0px 8px;}\", \".f12h2kxz>div>code{padding-bottom:0px 8px;}\", \".f1ogbl2p{max-width:320px;}\", \".f1dl2k97{margin-bottom:10px;}\", \".fnsq08h{font-size:11px;}\"]\n});\nconst reactIcons = /*#__PURE__*/Object.keys(ReactIcons) // eslint-disable-next-line @typescript-eslint/no-explicit-any\n.map(iconName => ReactIcons[iconName]).filter(icon => !!icon && !!icon.displayName);\nconst ReactIconGrid = () => {\n const [search, setSearch] = React.useState('');\n const [size, setSize] = React.useState(24);\n const styles = useStyles();\n const _onSearchQueryChanged = ev => {\n setSearch(ev ? ev.currentTarget.value : '');\n };\n const _filterBySize = ev => {\n const newSize = ev ? ev.currentTarget.value : '';\n if (newSize === 'All') {\n setSize('');\n } else if (newSize === 'Unsized') {\n setSize('Unsized');\n } else {\n setSize(newSize);\n }\n };\n const _renderIcon = Icon => {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: Icon.displayName,\n \"aria-label\": Icon.displayName\n }, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"code\", null, Icon.displayName));\n };\n const filteredIcons = React.useMemo(() => {\n return reactIcons.filter(icon => {\n var _icon_displayName, _icon_displayName1;\n if (size === 'Unsized') {\n var _icon_displayName2;\n return icon.displayName && !/\\d/.test(icon.displayName.toLowerCase()) && ((_icon_displayName2 = icon.displayName) === null || _icon_displayName2 === void 0 ? void 0 : _icon_displayName2.toLowerCase().indexOf(search.toLowerCase())) !== -1;\n }\n return ((_icon_displayName = icon.displayName) === null || _icon_displayName === void 0 ? void 0 : _icon_displayName.toLowerCase().indexOf(search.toLowerCase())) !== -1 && ((_icon_displayName1 = icon.displayName) === null || _icon_displayName1 === void 0 ? void 0 : _icon_displayName1.indexOf(String(size))) !== -1;\n });\n }, [search, size]);\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(Input, {\n type: \"search\",\n placeholder: \"Search icons\",\n value: search,\n \"aria-label\": \"search\",\n // eslint-disable-next-line react/jsx-no-bind\n onChange: _onSearchQueryChanged,\n className: styles.searchBox\n }), [16, 20, 24, 28, 32, 48, 'Unsized', 'All'].map(option => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"input\", {\n id: `option-${option}`,\n defaultChecked: option === 24,\n type: \"radio\",\n value: option,\n name: \"size\",\n onChange: _filterBySize\n }), /*#__PURE__*/React.createElement(\"label\", {\n htmlFor: `option-${option}`,\n className: styles.radio\n }, option))), /*#__PURE__*/React.createElement(\"div\", {\n className: styles.grid\n }, filteredIcons.map(_renderIcon)));\n};\nexport default ReactIconGrid;\n//# sourceMappingURL=ReactIconGrid.js.map"],"names":["useStyles","__styles","grid","mc9l5x","Budl1dq","w08cwm","De3pzq","Bqyf3fh","tuaewz","js62xs","ge08ax","vwmem1","pq1t01","Bspu8ag","B83reyd","d2aa3c","Bo0llhl","Bfpbev4","Bs90se3","B83tkto","pxe6pr","Beqvepd","Bq5m64l","B0xcf35","B9c2vit","searchBox","B2u0y6b","jrapky","radio","Be2twd7","d","reactIcons","Object","keys","ReactIcons","map","iconName","filter","icon","displayName","ReactIconGrid","search","setSearch","React","useState","size","setSize","styles","_onSearchQueryChanged","ev","currentTarget","value","_filterBySize","newSize","_renderIcon","Icon","createElement","key","filteredIcons","useMemo","_icon_displayName","_icon_displayName1","_icon_displayName2","test","toLowerCase","indexOf","String","Input","type","placeholder","onChange","className","option","Fragment","id","defaultChecked","name","htmlFor"],"mappings":";;;;+BAmGA,UACA,yCAAyC;;;aADzC;;;6DAnGuB;kEAEK;4BACN;wBACe;AACrC,MAAMA,YAAY,WAAW,GAAEC,IAAAA,mBAAQ,EAAC;IACtCC,MAAM;QACJC,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,SAAS;QACTC,QAAQ;Q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