@rjsf/fluentui-rc 6.0.2 → 6.1.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/dist/core.umd.js +33 -11
- package/dist/index.cjs +36 -13
- package/dist/index.cjs.map +3 -3
- package/dist/index.esm.js +34 -11
- package/dist/index.esm.js.map +2 -2
- package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.js +2 -2
- package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.js.map +1 -1
- package/lib/FieldHelpTemplate/FieldHelpTemplate.js +3 -3
- package/lib/FieldHelpTemplate/FieldHelpTemplate.js.map +1 -1
- package/lib/FieldTemplate/FieldTemplate.js +1 -1
- package/lib/FieldTemplate/FieldTemplate.js.map +1 -1
- package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.js +24 -4
- package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx +3 -3
- package/src/FieldHelpTemplate/FieldHelpTemplate.tsx +8 -3
- package/src/FieldTemplate/FieldTemplate.tsx +2 -0
- package/src/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.tsx +29 -6
package/dist/core.umd.js
CHANGED
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
});
|
|
15
15
|
function ArrayFieldItemTemplate(props) {
|
|
16
16
|
const classes = useStyles();
|
|
17
|
-
const { children, buttonsProps, hasToolbar, uiSchema, registry } = props;
|
|
17
|
+
const { children, buttonsProps, displayLabel, hasToolbar, uiSchema, registry } = props;
|
|
18
18
|
const uiOptions = utils.getUiOptions(uiSchema);
|
|
19
19
|
const ArrayFieldItemButtonsTemplate = utils.getTemplate(
|
|
20
20
|
"ArrayFieldItemButtonsTemplate",
|
|
21
21
|
registry,
|
|
22
22
|
uiOptions
|
|
23
23
|
);
|
|
24
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactMigrationV0V9.Flex, { vAlign: "
|
|
24
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactMigrationV0V9.Flex, { vAlign: "start", children: [
|
|
25
25
|
/* @__PURE__ */ jsxRuntime.jsx(reactMigrationV0V9.Flex, { fill: true, className: classes.arrayFieldItem, children }),
|
|
26
|
-
hasToolbar && /* @__PURE__ */ jsxRuntime.jsx(reactMigrationV0V9.Flex, { style: { marginLeft: "8px" }, children: /* @__PURE__ */ jsxRuntime.jsx(ArrayFieldItemButtonsTemplate, { ...buttonsProps }) })
|
|
26
|
+
hasToolbar && /* @__PURE__ */ jsxRuntime.jsx(reactMigrationV0V9.Flex, { style: { marginLeft: "8px", marginTop: displayLabel ? "26px" : 0 }, children: /* @__PURE__ */ jsxRuntime.jsx(ArrayFieldItemButtonsTemplate, { ...buttonsProps }) })
|
|
27
27
|
] });
|
|
28
28
|
}
|
|
29
29
|
function AddButton({
|
|
@@ -294,12 +294,11 @@
|
|
|
294
294
|
}) });
|
|
295
295
|
}
|
|
296
296
|
function FieldHelpTemplate(props) {
|
|
297
|
-
const { fieldPathId, help } = props;
|
|
297
|
+
const { fieldPathId, help, uiSchema = {}, registry } = props;
|
|
298
298
|
if (!help) {
|
|
299
299
|
return null;
|
|
300
300
|
}
|
|
301
|
-
|
|
302
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { id, children: help });
|
|
301
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Caption1, { id: utils.helpId(fieldPathId), children: /* @__PURE__ */ jsxRuntime.jsx(core.RichHelp, { help, registry, uiSchema }) });
|
|
303
302
|
}
|
|
304
303
|
function FieldTemplate(props) {
|
|
305
304
|
const {
|
|
@@ -343,6 +342,8 @@
|
|
|
343
342
|
disabled,
|
|
344
343
|
id,
|
|
345
344
|
label,
|
|
345
|
+
displayLabel,
|
|
346
|
+
rawDescription,
|
|
346
347
|
onKeyRename,
|
|
347
348
|
onKeyRenameBlur,
|
|
348
349
|
onRemoveProperty,
|
|
@@ -532,10 +533,26 @@
|
|
|
532
533
|
input: {
|
|
533
534
|
width: "100%"
|
|
534
535
|
},
|
|
536
|
+
grow: {
|
|
537
|
+
flexGrow: 1
|
|
538
|
+
},
|
|
539
|
+
halfWidth: {
|
|
540
|
+
width: "46%"
|
|
541
|
+
},
|
|
542
|
+
alignEnd: {
|
|
543
|
+
alignSelf: "flex-end",
|
|
544
|
+
justifyContent: "flex-end"
|
|
545
|
+
},
|
|
546
|
+
alignCenter: {
|
|
547
|
+
alignSelf: "center",
|
|
548
|
+
marginTop: "-14px",
|
|
549
|
+
justifyContent: "flex-end"
|
|
550
|
+
},
|
|
535
551
|
label: {
|
|
536
552
|
marginBottom: "4px"
|
|
537
553
|
}
|
|
538
554
|
});
|
|
555
|
+
var containerTypes = ["object", "array"];
|
|
539
556
|
function WrapIfAdditionalTemplate(props) {
|
|
540
557
|
const {
|
|
541
558
|
children,
|
|
@@ -544,8 +561,10 @@
|
|
|
544
561
|
disabled,
|
|
545
562
|
id,
|
|
546
563
|
label,
|
|
564
|
+
displayLabel,
|
|
547
565
|
onRemoveProperty,
|
|
548
566
|
onKeyRenameBlur,
|
|
567
|
+
rawDescription,
|
|
549
568
|
readonly,
|
|
550
569
|
required,
|
|
551
570
|
schema,
|
|
@@ -557,6 +576,7 @@
|
|
|
557
576
|
const { RemoveButton: RemoveButton2 } = templates.ButtonTemplates;
|
|
558
577
|
const keyLabel = translateString(utils.TranslatableString.KeyLabel, [label]);
|
|
559
578
|
const additional = utils.ADDITIONAL_PROPERTY_FLAG in schema;
|
|
579
|
+
const hasDescription = !!rawDescription;
|
|
560
580
|
const btnStyle = {
|
|
561
581
|
flex: 1,
|
|
562
582
|
paddingLeft: 6,
|
|
@@ -564,10 +584,12 @@
|
|
|
564
584
|
fontWeight: "bold"
|
|
565
585
|
};
|
|
566
586
|
if (!additional) {
|
|
567
|
-
|
|
587
|
+
const { type } = schema;
|
|
588
|
+
const className = containerTypes.includes(type) ? classNames : `${classes.grow} ${classNames}`;
|
|
589
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, style, children });
|
|
568
590
|
}
|
|
569
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactMigrationV0V9.Flex, { gap: "gap.medium", vAlign: "
|
|
570
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: keyLabel, required, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
591
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactMigrationV0V9.Flex, { gap: "gap.medium", vAlign: "start", className: classNames, style, children: [
|
|
592
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.halfWidth, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Field, { label: displayLabel ? keyLabel : void 0, required, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
571
593
|
reactComponents.Input,
|
|
572
594
|
{
|
|
573
595
|
required,
|
|
@@ -582,8 +604,8 @@
|
|
|
582
604
|
}
|
|
583
605
|
}
|
|
584
606
|
) }) }),
|
|
585
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children }),
|
|
586
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
607
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.halfWidth, children }),
|
|
608
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: hasDescription ? classes.alignCenter : classes.alignEnd, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
587
609
|
RemoveButton2,
|
|
588
610
|
{
|
|
589
611
|
id: utils.buttonId(id, "remove"),
|
package/dist/index.cjs
CHANGED
|
@@ -34,7 +34,7 @@ __export(index_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(index_exports);
|
|
35
35
|
|
|
36
36
|
// src/FluentForm/FluentForm.ts
|
|
37
|
-
var
|
|
37
|
+
var import_core3 = require("@rjsf/core");
|
|
38
38
|
|
|
39
39
|
// src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx
|
|
40
40
|
var import_utils = require("@rjsf/utils");
|
|
@@ -50,16 +50,16 @@ var useStyles = (0, import_react_components.makeStyles)({
|
|
|
50
50
|
});
|
|
51
51
|
function ArrayFieldItemTemplate(props) {
|
|
52
52
|
const classes = useStyles();
|
|
53
|
-
const { children, buttonsProps, hasToolbar, uiSchema, registry } = props;
|
|
53
|
+
const { children, buttonsProps, displayLabel, hasToolbar, uiSchema, registry } = props;
|
|
54
54
|
const uiOptions = (0, import_utils.getUiOptions)(uiSchema);
|
|
55
55
|
const ArrayFieldItemButtonsTemplate = (0, import_utils.getTemplate)(
|
|
56
56
|
"ArrayFieldItemButtonsTemplate",
|
|
57
57
|
registry,
|
|
58
58
|
uiOptions
|
|
59
59
|
);
|
|
60
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_migration_v0_v9.Flex, { vAlign: "
|
|
60
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_migration_v0_v9.Flex, { vAlign: "start", children: [
|
|
61
61
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_migration_v0_v9.Flex, { fill: true, className: classes.arrayFieldItem, children }),
|
|
62
|
-
hasToolbar && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_migration_v0_v9.Flex, { style: { marginLeft: "8px" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrayFieldItemButtonsTemplate, { ...buttonsProps }) })
|
|
62
|
+
hasToolbar && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_migration_v0_v9.Flex, { style: { marginLeft: "8px", marginTop: displayLabel ? "26px" : 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ArrayFieldItemButtonsTemplate, { ...buttonsProps }) })
|
|
63
63
|
] });
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -371,14 +371,14 @@ function FieldErrorTemplate(props) {
|
|
|
371
371
|
// src/FieldHelpTemplate/FieldHelpTemplate.tsx
|
|
372
372
|
var import_react_components9 = require("@fluentui/react-components");
|
|
373
373
|
var import_utils8 = require("@rjsf/utils");
|
|
374
|
+
var import_core2 = require("@rjsf/core");
|
|
374
375
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
375
376
|
function FieldHelpTemplate(props) {
|
|
376
|
-
const { fieldPathId, help } = props;
|
|
377
|
+
const { fieldPathId, help, uiSchema = {}, registry } = props;
|
|
377
378
|
if (!help) {
|
|
378
379
|
return null;
|
|
379
380
|
}
|
|
380
|
-
|
|
381
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_components9.Caption1, { id, children: help });
|
|
381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_components9.Caption1, { id: (0, import_utils8.helpId)(fieldPathId), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_core2.RichHelp, { help, registry, uiSchema }) });
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
// src/FieldTemplate/FieldTemplate.tsx
|
|
@@ -427,6 +427,8 @@ function FieldTemplate(props) {
|
|
|
427
427
|
disabled,
|
|
428
428
|
id,
|
|
429
429
|
label,
|
|
430
|
+
displayLabel,
|
|
431
|
+
rawDescription,
|
|
430
432
|
onKeyRename,
|
|
431
433
|
onKeyRenameBlur,
|
|
432
434
|
onRemoveProperty,
|
|
@@ -649,10 +651,26 @@ var useStyles10 = (0, import_react_components14.makeStyles)({
|
|
|
649
651
|
input: {
|
|
650
652
|
width: "100%"
|
|
651
653
|
},
|
|
654
|
+
grow: {
|
|
655
|
+
flexGrow: 1
|
|
656
|
+
},
|
|
657
|
+
halfWidth: {
|
|
658
|
+
width: "46%"
|
|
659
|
+
},
|
|
660
|
+
alignEnd: {
|
|
661
|
+
alignSelf: "flex-end",
|
|
662
|
+
justifyContent: "flex-end"
|
|
663
|
+
},
|
|
664
|
+
alignCenter: {
|
|
665
|
+
alignSelf: "center",
|
|
666
|
+
marginTop: "-14px",
|
|
667
|
+
justifyContent: "flex-end"
|
|
668
|
+
},
|
|
652
669
|
label: {
|
|
653
670
|
marginBottom: "4px"
|
|
654
671
|
}
|
|
655
672
|
});
|
|
673
|
+
var containerTypes = ["object", "array"];
|
|
656
674
|
function WrapIfAdditionalTemplate(props) {
|
|
657
675
|
const {
|
|
658
676
|
children,
|
|
@@ -661,8 +679,10 @@ function WrapIfAdditionalTemplate(props) {
|
|
|
661
679
|
disabled,
|
|
662
680
|
id,
|
|
663
681
|
label,
|
|
682
|
+
displayLabel,
|
|
664
683
|
onRemoveProperty,
|
|
665
684
|
onKeyRenameBlur,
|
|
685
|
+
rawDescription,
|
|
666
686
|
readonly,
|
|
667
687
|
required,
|
|
668
688
|
schema,
|
|
@@ -674,6 +694,7 @@ function WrapIfAdditionalTemplate(props) {
|
|
|
674
694
|
const { RemoveButton: RemoveButton2 } = templates.ButtonTemplates;
|
|
675
695
|
const keyLabel = translateString(import_utils12.TranslatableString.KeyLabel, [label]);
|
|
676
696
|
const additional = import_utils12.ADDITIONAL_PROPERTY_FLAG in schema;
|
|
697
|
+
const hasDescription = !!rawDescription;
|
|
677
698
|
const btnStyle = {
|
|
678
699
|
flex: 1,
|
|
679
700
|
paddingLeft: 6,
|
|
@@ -681,10 +702,12 @@ function WrapIfAdditionalTemplate(props) {
|
|
|
681
702
|
fontWeight: "bold"
|
|
682
703
|
};
|
|
683
704
|
if (!additional) {
|
|
684
|
-
|
|
705
|
+
const { type } = schema;
|
|
706
|
+
const className = containerTypes.includes(type) ? classNames : `${classes.grow} ${classNames}`;
|
|
707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className, style, children });
|
|
685
708
|
}
|
|
686
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react_migration_v0_v96.Flex, { gap: "gap.medium", vAlign: "
|
|
687
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_components14.Field, { label: keyLabel, required, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react_migration_v0_v96.Flex, { gap: "gap.medium", vAlign: "start", className: classNames, style, children: [
|
|
710
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: classes.halfWidth, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_components14.Field, { label: displayLabel ? keyLabel : void 0, required, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
688
711
|
import_react_components14.Input,
|
|
689
712
|
{
|
|
690
713
|
required,
|
|
@@ -699,8 +722,8 @@ function WrapIfAdditionalTemplate(props) {
|
|
|
699
722
|
}
|
|
700
723
|
}
|
|
701
724
|
) }) }),
|
|
702
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { children }),
|
|
703
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
725
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: classes.halfWidth, children }),
|
|
726
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: hasDescription ? classes.alignCenter : classes.alignEnd, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
704
727
|
RemoveButton2,
|
|
705
728
|
{
|
|
706
729
|
id: (0, import_utils12.buttonId)(id, "remove"),
|
|
@@ -1121,7 +1144,7 @@ var Theme_default = generateTheme();
|
|
|
1121
1144
|
|
|
1122
1145
|
// src/FluentForm/FluentForm.ts
|
|
1123
1146
|
function generateForm() {
|
|
1124
|
-
return (0,
|
|
1147
|
+
return (0, import_core3.withTheme)(generateTheme());
|
|
1125
1148
|
}
|
|
1126
1149
|
var FluentForm_default = generateForm();
|
|
1127
1150
|
|
package/dist/index.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts", "../src/FluentForm/FluentForm.ts", "../src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx", "../src/AddButton/AddButton.tsx", "../src/ArrayFieldTemplate/ArrayFieldTemplate.tsx", "../src/BaseInputTemplate/BaseInputTemplate.tsx", "../src/DescriptionField/DescriptionField.tsx", "../src/ErrorList/ErrorList.tsx", "../src/IconButton/IconButton.tsx", "../src/FieldErrorTemplate/FieldErrorTemplate.tsx", "../src/FieldHelpTemplate/FieldHelpTemplate.tsx", "../src/FieldTemplate/FieldTemplate.tsx", "../src/GridTemplate/GridTemplate.tsx", "../src/MultiSchemaFieldTemplate/MultiSchemaFieldTemplate.tsx", "../src/ObjectFieldTemplate/ObjectFieldTemplate.tsx", "../src/OptionalDataControlsTemplate/OptionalDataControlsTemplate.tsx", "../src/SubmitButton/SubmitButton.tsx", "../src/TitleField/TitleField.tsx", "../src/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.tsx", "../src/Templates/Templates.ts", "../src/CheckboxWidget/CheckboxWidget.tsx", "../src/CheckboxesWidget/CheckboxesWidget.tsx", "../src/RadioWidget/RadioWidget.tsx", "../src/RangeWidget/RangeWidget.tsx", "../src/SelectWidget/SelectWidget.tsx", "../src/TextareaWidget/TextareaWidget.tsx", "../src/Widgets/Widgets.ts", "../src/Theme/Theme.ts", "../src/FluentUIRCFrameProvider.tsx"],
|
|
4
|
-
"sourcesContent": ["import FluentForm from './FluentForm';\n\nexport { default as Form, generateForm } from './FluentForm';\nexport { default as Templates, generateTemplates } from './Templates';\nexport { default as Theme, generateTheme } from './Theme';\nexport { default as Widgets, generateWidgets } from './Widgets';\nexport { __createFluentUIRCFrameProvider } from './FluentUIRCFrameProvider';\n\nexport default FluentForm;\n", "import { ComponentType } from 'react';\nimport { FormProps, withTheme } from '@rjsf/core';\n\nimport { generateTheme } from '../Theme';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateForm<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ComponentType<FormProps<T, S, F>> {\n return withTheme<T, S, F>(generateTheme<T, S, F>());\n}\n\nexport default generateForm();\n", "import {\n ArrayFieldItemTemplateProps,\n FormContextType,\n getTemplate,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\nimport { makeStyles } from '@fluentui/react-components';\n\nconst useStyles = makeStyles({\n arrayFieldItem: {\n '> .form-group': {\n width: '100%',\n },\n },\n});\n\n/** The `ArrayFieldItemTemplate` component is the template used to render an items of an array.\n *\n * @param props - The `ArrayFieldItemTemplateProps` props for the component\n */\nexport default function ArrayFieldItemTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldItemTemplateProps<T, S, F>) {\n const classes = useStyles();\n const { children, buttonsProps, hasToolbar, uiSchema, registry } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldItemButtonsTemplate = getTemplate<'ArrayFieldItemButtonsTemplate', T, S, F>(\n 'ArrayFieldItemButtonsTemplate',\n registry,\n uiOptions,\n );\n\n return (\n <Flex vAlign='end'>\n <Flex fill className={classes.arrayFieldItem}>\n {children}\n </Flex>\n {hasToolbar && (\n <Flex style={{ marginLeft: '8px' }}>\n <ArrayFieldItemButtonsTemplate {...buttonsProps} />\n </Flex>\n )}\n </Flex>\n );\n}\n", "import { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\nimport { Button } from '@fluentui/react-components';\nimport { AddRegular } from '@fluentui/react-icons';\n\nexport default function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n uiSchema,\n registry,\n ...props\n}: IconButtonProps<T, S, F>) {\n const { translateString } = registry;\n return <Button title={translateString(TranslatableString.AddItemButton)} {...props} icon={<AddRegular />} />;\n}\n", "import { makeStyles, shorthands } from '@fluentui/react-components';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\nimport {\n getTemplate,\n getUiOptions,\n ArrayFieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n buttonId,\n} from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n arrayItemList: {\n ...shorthands.gap('12px'),\n },\n});\n\n/** The `ArrayFieldTemplate` component is the template used to render all items in an array.\n *\n * @param props - The `ArrayFieldTemplateProps` props for the component\n */\nexport default function ArrayFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldTemplateProps<T, S, F>) {\n const {\n canAdd,\n disabled,\n fieldPathId,\n uiSchema,\n items,\n optionalDataControl,\n onAddClick,\n readonly,\n registry,\n required,\n schema,\n title,\n } = props;\n const classes = useStyles();\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldDescriptionTemplate = getTemplate<'ArrayFieldDescriptionTemplate', T, S, F>(\n 'ArrayFieldDescriptionTemplate',\n registry,\n uiOptions,\n );\n const ArrayFieldTitleTemplate = getTemplate<'ArrayFieldTitleTemplate', T, S, F>(\n 'ArrayFieldTitleTemplate',\n registry,\n uiOptions,\n );\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n return (\n <>\n <ArrayFieldTitleTemplate\n fieldPathId={fieldPathId}\n title={uiOptions.title || title}\n schema={schema}\n uiSchema={uiSchema}\n required={required}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n <ArrayFieldDescriptionTemplate\n fieldPathId={fieldPathId}\n description={uiOptions.description || schema.description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n <Flex column key={`array-item-list-${fieldPathId.$id}`} className={classes.arrayItemList}>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {items}\n {canAdd && (\n <Flex hAlign='end'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-array-item-add'\n onClick={onAddClick}\n disabled={disabled || readonly}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Flex>\n )}\n </Flex>\n </>\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input, InputProps, Label, makeStyles } from '@fluentui/react-components';\nimport {\n ariaDescribedByIds,\n BaseInputTemplateProps,\n examplesId,\n getInputProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n labelValue,\n} from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n input: {\n width: '100%',\n },\n label: {\n paddingTop: '2px',\n paddingBottom: '2px',\n marginBottom: '2px',\n },\n});\n\n/** The `BaseInputTemplate` is the template to use to render the basic `<input>` component for the `core` theme.\n * It is used as the template for rendering many of the <input> based widgets that differ by `type` and callbacks only.\n * It can be customized/overridden for other themes or individual implementations as needed.\n *\n * @param props - The `WidgetProps` for this template\n */\nexport default function BaseInputTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: BaseInputTemplateProps<T, S, F>) {\n const {\n id,\n htmlName,\n placeholder,\n required,\n readonly,\n disabled,\n type,\n value,\n label,\n hideLabel,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n } = props;\n const classes = useStyles();\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n // Now we need to pull out the step, min, max into an inner `inputProps` for fluentui-rc\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n return (\n <>\n {labelValue(\n <Label htmlFor={id} required={required} disabled={disabled} className={classes.label}>\n {label}\n </Label>,\n hideLabel,\n )}\n <Input\n id={id}\n name={htmlName || id}\n placeholder={placeholder}\n autoFocus={autofocus}\n required={required}\n disabled={disabled || readonly}\n {...(inputProps as InputProps)}\n input={{\n className: classes.input,\n // Due to Fluent UI this does not work correctly\n list: schema.examples ? examplesId(id) : undefined,\n }}\n value={value || value === 0 ? value : ''}\n onChange={onChangeOverride || _onChange}\n onFocus={_onFocus}\n onBlur={_onBlur}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n {Array.isArray(schema.examples) && (\n <datalist id={examplesId(id)}>\n {(schema.examples as string[])\n .concat(schema.default && !schema.examples.includes(schema.default) ? ([schema.default] as string[]) : [])\n .map((example: any) => {\n return <option key={example} value={example} />;\n })}\n </datalist>\n )}\n </>\n );\n}\n", "import { Text, makeStyles, tokens } from '@fluentui/react-components';\nimport { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { RichDescription } from '@rjsf/core';\n\nconst useStyles = makeStyles({\n label: {\n marginTop: tokens.spacingVerticalS,\n marginBottom: tokens.spacingVerticalM,\n },\n});\n\n/** The `DescriptionField` is the template to use to render the description of a field\n *\n * @param props - The `DescriptionFieldProps` for this component\n */\nexport default function DescriptionField<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: DescriptionFieldProps<T, S, F>) {\n const { id, description, registry, uiSchema } = props;\n const classes = useStyles();\n if (!description) {\n return null;\n }\n\n return (\n <Text block id={id} className={classes.label}>\n <RichDescription description={description} registry={registry} uiSchema={uiSchema} />\n </Text>\n );\n}\n", "import { Card, Text, makeStyles, shorthands, tokens } from '@fluentui/react-components';\nimport { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n errorCard: {\n backgroundColor: tokens.colorStatusDangerBackground1,\n marginBottom: tokens.spacingVerticalL,\n '&::after': {\n ...shorthands.borderColor(tokens.colorStatusDangerBorder1),\n },\n },\n errorTitle: {\n marginTop: 0,\n marginBottom: 0,\n },\n});\n\n/** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`\n *\n * @param props - The `ErrorListProps` for this component\n */\nexport default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n errors,\n registry,\n}: ErrorListProps<T, S, F>) {\n const { translateString } = registry;\n const classes = useStyles();\n return (\n <Card appearance='outline' className={classes.errorCard}>\n <Text as='h6' size={400} className={classes.errorTitle}>\n {translateString(TranslatableString.ErrorsLabel)}\n </Text>\n <ul>\n {errors.map((error, i: number) => {\n return <li key={i}>{error.stack}</li>;\n })}\n </ul>\n </Card>\n );\n}\n", "import { Button, ButtonProps } from '@fluentui/react-components';\nimport { ArrowSortUpRegular, ArrowSortDownRegular, CopyRegular, SubtractRegular } from '@fluentui/react-icons';\nimport { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\nexport type FluentIconButtonProps<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n> = IconButtonProps<T, S, F> & Omit<ButtonProps, 'onChange' | 'as'>;\n\nexport default function FluentIconButton<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FluentIconButtonProps<T, S, F>) {\n const { color, uiSchema, registry, ...otherProps } = props;\n\n return <Button {...otherProps} color='secondary' />;\n}\n\nexport function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.CopyButton)}\n {...props}\n icon={<CopyRegular />}\n />\n );\n}\n\nexport function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.MoveDownButton)}\n {...props}\n icon={<ArrowSortDownRegular />}\n />\n );\n}\n\nexport function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.MoveUpButton)}\n {...props}\n icon={<ArrowSortUpRegular />}\n />\n );\n}\n\nexport function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.RemoveButton)}\n {...props}\n icon={<SubtractRegular />}\n />\n );\n}\n", "import { makeStyles, tokens } from '@fluentui/react-components';\nimport { errorId, FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n list: { marginTop: 0, marginBottom: 0, paddingLeft: 0, listStyleType: 'none' },\n listItem: {\n paddingLeft: tokens.spacingHorizontalL,\n paddingTop: tokens.spacingVerticalXS,\n paddingBottom: tokens.spacingVerticalXS,\n },\n errorLabel: { color: tokens.colorPaletteRedForeground1 },\n});\n\n/** The `FieldErrorTemplate` component renders the errors local to the particular field\n *\n * @param props - The `FieldErrorProps` for the errors being rendered\n */\nexport default function FieldErrorTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldErrorProps<T, S, F>) {\n const { errors = [], fieldPathId } = props;\n const classes = useStyles();\n\n if (errors.length === 0) {\n return null;\n }\n const id = errorId(fieldPathId);\n\n return (\n <ul className={classes.list}>\n {errors.map((error, i: number) => {\n return (\n <li key={i} className={classes.listItem}>\n <small className={classes.errorLabel} id={id}>\n {error}\n </small>\n </li>\n );\n })}\n </ul>\n );\n}\n", "import { Caption1 } from '@fluentui/react-components';\nimport { helpId, FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\n/** The `FieldHelpTemplate` component renders any help desired for a field\n *\n * @param props - The `FieldHelpProps` to be rendered\n */\nexport default function FieldHelpTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldHelpProps<T, S, F>) {\n const { fieldPathId, help } = props;\n if (!help) {\n return null;\n }\n const id = helpId(fieldPathId);\n return <Caption1 id={id}>{help}</Caption1>;\n}\n", "import { Field, Text } from '@fluentui/react-components';\nimport {\n FieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n getTemplate,\n getUiOptions,\n} from '@rjsf/utils';\n\n/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field\n * content, (label, description, children, errors and help) inside of a `WrapIfAdditional` component.\n *\n * @param props - The `FieldTemplateProps` for this component\n */\nexport default function FieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldTemplateProps<T, S, F>) {\n const {\n id,\n children,\n classNames,\n style,\n disabled,\n displayLabel,\n hidden,\n label,\n onKeyRename,\n onKeyRenameBlur,\n onRemoveProperty,\n readonly,\n required,\n rawErrors = [],\n errors,\n help,\n description,\n rawDescription,\n schema,\n uiSchema,\n registry,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const WrapIfAdditionalTemplate = getTemplate<'WrapIfAdditionalTemplate', T, S, F>(\n 'WrapIfAdditionalTemplate',\n registry,\n uiOptions,\n );\n\n if (hidden) {\n return <div style={{ display: 'none' }}>{children}</div>;\n }\n const isCheckbox = uiOptions.widget === 'checkbox';\n return (\n <WrapIfAdditionalTemplate\n classNames={classNames}\n style={style}\n disabled={disabled}\n id={id}\n label={label}\n onKeyRename={onKeyRename}\n onKeyRenameBlur={onKeyRenameBlur}\n onRemoveProperty={onRemoveProperty}\n readonly={readonly}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n >\n <Field validationState={rawErrors.length ? 'error' : undefined} required={required}>\n {children}\n {displayLabel && rawDescription && !isCheckbox ? (\n <Text as='p' block style={{ marginTop: 0, marginBottom: 0 }}>\n {description}\n </Text>\n ) : null}\n {errors}\n {help}\n </Field>\n </WrapIfAdditionalTemplate>\n );\n}\n", "import { GridShim, grid } from '@fluentui/react-migration-v0-v9';\nimport { GridTemplateProps } from '@rjsf/utils';\n\n/** Renders a `GridTemplate` for fluentui-rc, which is expecting the column sizing information coming in via the\n * `style` by the caller, which are spread directly on the `GridShim` if `columns` or `rows` are provided. Otherwise,\n * the `style` is added to a simple grid. This was done because `fluentui-rc` uses the CSS Grid which defines all of\n * the column/row/grid information via style.\n *\n * @param props - The GridTemplateProps, including the extra props containing the fluentui-rc grid positioning details\n */\nexport default function GridTemplate(props: GridTemplateProps) {\n const { children, column, columns, rows, style, ...rest } = props;\n if (columns || rows) {\n // Use the `grid` rows/columns functions to generate the additional grid styling\n const styles = {\n ...style,\n ...(rows ? grid.rows(rows) : undefined),\n ...(columns ? grid.columns(columns) : undefined),\n };\n return (\n <GridShim style={styles} {...rest}>\n {children}\n </GridShim>\n );\n }\n return (\n <div style={style} {...rest}>\n {children}\n </div>\n );\n}\n", "import { makeStyles } from '@fluentui/react-components';\nimport { FormContextType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n root: {\n '> div': { marginBottom: '4px' },\n },\n});\n\nexport default function MultiSchemaFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: MultiSchemaFieldTemplateProps<T, S, F>) {\n const { selector, optionSchemaField } = props;\n\n const styles = useStyles();\n\n return (\n <div className={styles.root}>\n <div>{selector}</div>\n {optionSchemaField}\n </div>\n );\n}\n", "import { Flex } from '@fluentui/react-migration-v0-v9';\nimport {\n FormContextType,\n ObjectFieldTemplateProps,\n RJSFSchema,\n StrictRJSFSchema,\n canExpand,\n descriptionId,\n getTemplate,\n getUiOptions,\n titleId,\n buttonId,\n} from '@rjsf/utils';\n\n/** The `ObjectFieldTemplate` is the template to use to render all the inner properties of an object along with the\n * title and description if available. If the object is expandable, then an `AddButton` is also rendered after all\n * the properties.\n *\n * @param props - The `ObjectFieldTemplateProps` for this component\n */\nexport default function ObjectFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ObjectFieldTemplateProps<T, S, F>) {\n const {\n description,\n title,\n properties,\n required,\n disabled,\n readonly,\n uiSchema,\n fieldPathId,\n schema,\n formData,\n optionalDataControl,\n onAddProperty,\n registry,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const TitleFieldTemplate = getTemplate<'TitleFieldTemplate', T, S, F>('TitleFieldTemplate', registry, uiOptions);\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n uiOptions,\n );\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n return (\n <>\n {title && (\n <TitleFieldTemplate\n id={titleId(fieldPathId)}\n title={title}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n )}\n {description && (\n <DescriptionFieldTemplate\n id={descriptionId(fieldPathId)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n <Flex fill column gap='gap.medium'>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {properties.map((element, index) =>\n // Remove the <Grid> if the inner element is hidden as the <Grid>\n // itself would otherwise still take up space.\n element.hidden ? (\n element.content\n ) : (\n <Flex column fill key={index} style={{ marginBottom: '10px' }}>\n {element.content}\n </Flex>\n ),\n )}\n {canExpand<T, S, F>(schema, uiSchema, formData) && (\n <Flex hAlign='end'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-object-property-expand'\n onClick={onAddProperty}\n disabled={disabled || readonly}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Flex>\n )}\n </Flex>\n </>\n );\n}\n", "import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { AddSquareMultipleRegular, SubtractSquareMultipleRegular } from '@fluentui/react-icons';\n\nimport FluentIconButton from '../IconButton';\n\n/** The OptionalDataControlsTemplate renders one of three different states. If\n * there is an `onAddClick()` function, it renders the \"Add\" button. If there is\n * an `onRemoveClick()` function, it renders the \"Remove\" button. Otherwise it\n * renders the \"No data found\" section. All of them use the `label` as either\n * the `title` of buttons or simply outputting it.\n *\n * @param props - The `OptionalDataControlsTemplateProps` for the template\n */\nexport default function OptionalDataControlsTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: OptionalDataControlsTemplateProps<T, S, F>) {\n const { id, registry, label, onAddClick, onRemoveClick } = props;\n if (onAddClick) {\n return (\n <FluentIconButton\n id={id}\n registry={registry}\n icon={<AddSquareMultipleRegular />}\n className='rjsf-add-optional-data'\n onClick={onAddClick}\n title={label}\n size='small'\n appearance='secondary'\n />\n );\n } else if (onRemoveClick) {\n return (\n <FluentIconButton\n id={id}\n registry={registry}\n icon={<SubtractSquareMultipleRegular />}\n className='rjsf-remove-optional-data'\n onClick={onRemoveClick}\n title={label}\n size='small'\n appearance='secondary'\n />\n );\n }\n return <em id={id}>{label}</em>;\n}\n", "import { FormContextType, getSubmitButtonOptions, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';\nimport { Button, makeStyles, tokens } from '@fluentui/react-components';\n\nconst useStyles = makeStyles({\n buttonRow: {\n marginTop: tokens.spacingVerticalL,\n },\n});\n\nexport default function SubmitButton<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({ uiSchema }: SubmitButtonProps<T, S, F>) {\n const classes = useStyles();\n const { submitText, norender, props: submitButtonProps } = getSubmitButtonOptions(uiSchema);\n if (norender) {\n return null;\n }\n return (\n <div className={classes.buttonRow}>\n <Button appearance='primary' type='submit' {...submitButtonProps}>\n {submitText}\n </Button>\n </div>\n );\n}\n", "import { Flex } from '@fluentui/react-migration-v0-v9';\nimport { Text, Divider, makeStyles } from '@fluentui/react-components';\nimport { FormContextType, TitleFieldProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n root: {\n marginTop: '8px',\n marginBottom: '8px',\n },\n});\n\n/** The `TitleField` is the template to use to render the title of a field\n *\n * @param props - The `TitleFieldProps` for this component\n */\nexport default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n title,\n optionalDataControl,\n}: TitleFieldProps<T, S, F>) {\n const classes = useStyles();\n let heading = (\n <Text as='h5' size={600} style={{ marginBlock: 0 }}>\n {title}\n </Text>\n );\n if (optionalDataControl) {\n heading = (\n <Flex>\n <Flex fill>{heading}</Flex>\n <Flex hAlign='end'>{optionalDataControl}</Flex>\n </Flex>\n );\n }\n return (\n <div id={id} className={classes.root}>\n {heading}\n <Divider />\n </div>\n );\n}\n", "import { CSSProperties } from 'react';\nimport {\n ADDITIONAL_PROPERTY_FLAG,\n buttonId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n WrapIfAdditionalTemplateProps,\n} from '@rjsf/utils';\nimport { Field, Input, makeStyles } from '@fluentui/react-components';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\n\nconst useStyles = makeStyles({\n input: {\n width: '100%',\n },\n label: {\n marginBottom: '4px',\n },\n});\n\n/** The `WrapIfAdditional` component is used by the `FieldTemplate` to rename, or remove properties that are\n * part of an `additionalProperties` part of a schema.\n *\n * @param props - The `WrapIfAdditionalProps` for this component\n */\nexport default function WrapIfAdditionalTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WrapIfAdditionalTemplateProps<T, S, F>) {\n const {\n children,\n classNames,\n style,\n disabled,\n id,\n label,\n onRemoveProperty,\n onKeyRenameBlur,\n readonly,\n required,\n schema,\n uiSchema,\n registry,\n } = props;\n const { templates, translateString } = registry;\n const classes = useStyles();\n // Button templates are not overridden in the uiSchema\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n const btnStyle: CSSProperties = {\n flex: 1,\n paddingLeft: 6,\n paddingRight: 6,\n fontWeight: 'bold',\n };\n\n if (!additional) {\n return (\n <div className={classNames} style={style}>\n {children}\n </div>\n );\n }\n\n return (\n <Flex gap='gap.medium' vAlign='center' key={`${id}-key`} className={classNames} style={style}>\n <div>\n <Field label={keyLabel} required={required}>\n <Input\n required={required}\n defaultValue={label}\n disabled={disabled || readonly}\n id={`${id}-key`}\n name={`${id}-key`}\n onBlur={!readonly ? onKeyRenameBlur : undefined}\n type='text'\n input={{\n className: classes.input,\n }}\n />\n </Field>\n </div>\n <div>{children}</div>\n <div>\n <RemoveButton\n id={buttonId(id, 'remove')}\n iconType='default'\n className='rjsf-object-property-remove'\n style={btnStyle}\n disabled={disabled || readonly}\n onClick={onRemoveProperty}\n uiSchema={uiSchema}\n registry={registry}\n />\n </div>\n </Flex>\n );\n}\n", "import ArrayFieldItemTemplate from '../ArrayFieldItemTemplate';\nimport AddButton from '../AddButton';\nimport ArrayFieldTemplate from '../ArrayFieldTemplate';\nimport BaseInputTemplate from '../BaseInputTemplate/BaseInputTemplate';\nimport DescriptionField from '../DescriptionField';\nimport ErrorList from '../ErrorList';\nimport { CopyButton, MoveDownButton, MoveUpButton, RemoveButton } from '../IconButton';\nimport FieldErrorTemplate from '../FieldErrorTemplate';\nimport FieldHelpTemplate from '../FieldHelpTemplate';\nimport FieldTemplate from '../FieldTemplate';\nimport GridTemplate from '../GridTemplate';\nimport MultiSchemaFieldTemplate from '../MultiSchemaFieldTemplate';\nimport ObjectFieldTemplate from '../ObjectFieldTemplate';\nimport OptionalDataControlsTemplate from '../OptionalDataControlsTemplate';\nimport SubmitButton from '../SubmitButton';\nimport TitleField from '../TitleField';\nimport WrapIfAdditionalTemplate from '../WrapIfAdditionalTemplate';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';\n\nexport function generateTemplates<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): Partial<TemplatesType<T, S, F>> {\n return {\n ArrayFieldItemTemplate,\n ArrayFieldTemplate,\n BaseInputTemplate,\n ButtonTemplates: {\n CopyButton,\n AddButton,\n MoveDownButton,\n MoveUpButton,\n RemoveButton,\n SubmitButton,\n },\n DescriptionFieldTemplate: DescriptionField,\n ErrorListTemplate: ErrorList,\n FieldErrorTemplate,\n FieldHelpTemplate,\n FieldTemplate,\n GridTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n WrapIfAdditionalTemplate,\n };\n}\n\nexport default generateTemplates();\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n descriptionId,\n getTemplate,\n schemaRequiresTrueValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Checkbox } from '@fluentui/react-components';\n\n/** The `CheckBoxWidget` is a widget for rendering boolean properties.\n * It is typically used to represent a boolean.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const {\n schema,\n id,\n htmlName,\n value,\n disabled,\n readonly,\n label = '',\n hideLabel,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n registry,\n options,\n uiSchema,\n } = props;\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n options,\n );\n // Because an unchecked checkbox will cause html5 validation to fail, only add\n // the \"required\" attribute if the field value must be \"true\", due to the\n // \"const\" or \"enum\" keywords\n const required = schemaRequiresTrueValue<S>(schema);\n\n const _onChange = ({ target: { checked } }: ChangeEvent<HTMLInputElement>) => onChange(checked);\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.checked);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.checked);\n const description = options.description ?? schema.description;\n\n return (\n <>\n {!hideLabel && description && (\n <DescriptionFieldTemplate\n id={descriptionId(id)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n <Checkbox\n id={id}\n name={htmlName || id}\n label={label}\n checked={typeof value === 'undefined' ? false : Boolean(value)}\n required={required}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n />\n </>\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n enumOptionsDeselectValue,\n enumOptionsIsSelected,\n enumOptionsSelectValue,\n enumOptionsValueForIndex,\n labelValue,\n optionId,\n FormContextType,\n WidgetProps,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\nimport { Label, Checkbox } from '@fluentui/react-components';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\n\n/** The `CheckboxesWidget` is a widget for rendering checkbox groups.\n * It is typically used to represent an array of enums.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxesWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n label,\n hideLabel,\n id,\n htmlName,\n disabled,\n options,\n value,\n autofocus,\n readonly,\n required,\n onChange,\n onBlur,\n onFocus,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, inline, emptyValue } = options;\n const checkboxesValues = Array.isArray(value) ? value : [value];\n\n const _onChange =\n (index: number) =>\n ({ target: { checked } }: ChangeEvent<HTMLInputElement>) => {\n if (checked) {\n onChange(enumOptionsSelectValue<S>(index, checkboxesValues, enumOptions));\n } else {\n onChange(enumOptionsDeselectValue<S>(index, checkboxesValues, enumOptions));\n }\n };\n\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n return (\n <>\n {labelValue(\n <Label required={required} htmlFor={id}>\n {label || undefined}\n </Label>,\n hideLabel,\n )}\n <Flex column={!inline}>\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index: number) => {\n const checked = enumOptionsIsSelected<S>(option.value, checkboxesValues);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <Checkbox\n key={index}\n id={optionId(id, index)}\n name={htmlName || id}\n label={option.label}\n checked={checked}\n disabled={disabled || itemDisabled || readonly}\n autoFocus={autofocus && index === 0}\n onChange={_onChange(index)}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n })}\n </Flex>\n </>\n );\n}\n", "import { FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n labelValue,\n optionId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Label, Radio, RadioGroup, RadioGroupOnChangeData } from '@fluentui/react-components';\n\n/** The `RadioWidget` is a widget for rendering a radio group.\n * It is typically used with a string property constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n htmlName,\n options,\n value,\n required,\n disabled,\n readonly,\n label,\n hideLabel,\n onChange,\n onBlur,\n onFocus,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue, inline } = options;\n\n const _onChange = (_: any, data: RadioGroupOnChangeData) =>\n onChange(enumOptionsValueForIndex<S>(data.value, enumOptions, emptyValue));\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n const selectedIndex = enumOptionsIndexForValue<S>(value, enumOptions) ?? undefined;\n\n return (\n <>\n {labelValue(\n <Label required={required} htmlFor={id}>\n {label || undefined}\n </Label>,\n hideLabel,\n )}\n <RadioGroup\n id={id}\n name={htmlName || id}\n layout={inline ? 'horizontal' : 'vertical'}\n value={selectedIndex as string | undefined}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <Radio\n id={optionId(id, index)}\n label={option.label}\n value={String(index)}\n key={index}\n disabled={disabled || itemDisabled || readonly}\n />\n );\n })}\n </RadioGroup>\n </>\n );\n}\n", "import { FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n labelValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n rangeSpec,\n} from '@rjsf/utils';\nimport { Label, Slider, SliderOnChangeData } from '@fluentui/react-components';\n\n/** The `RangeWidget` component uses the `BaseInputTemplate` changing the type to `range` and wrapping the result\n * in a div, with the value along side it.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RangeWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const { value, readonly, disabled, onBlur, onFocus, options, schema, onChange, required, label, hideLabel, id } =\n props;\n const sliderProps = { value, label, id, name: id, ...rangeSpec<S>(schema) };\n\n const _onChange = (_: any, data: SliderOnChangeData) => {\n onChange(data.value ?? options.emptyValue);\n };\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n\n return (\n <>\n {labelValue(\n <Label required={required} htmlFor={id}>\n {label || undefined}\n </Label>,\n hideLabel,\n )}\n <Slider\n disabled={disabled || readonly}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n {...sliderProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n </>\n );\n}\n", "import {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n FormContextType,\n labelValue,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Dropdown, Field, Option } from '@fluentui/react-components';\nimport { OptionOnSelectData } from '@fluentui/react-combobox';\n\nfunction getValue(data: OptionOnSelectData, multiple: boolean) {\n if (multiple) {\n return data.selectedOptions;\n }\n return data.selectedOptions[0];\n}\n\n/** The `SelectWidget` is a widget for rendering dropdowns.\n * It is typically used with string properties constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction SelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n htmlName,\n options,\n label,\n hideLabel,\n value,\n required,\n disabled,\n readonly,\n multiple = false,\n autofocus = false,\n rawErrors = [],\n onChange,\n onBlur,\n onFocus,\n schema,\n placeholder,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n let selectedIndexesAsArray: string[] = [];\n\n if (typeof selectedIndexes === 'string') {\n selectedIndexesAsArray = [selectedIndexes];\n } else if (Array.isArray(selectedIndexes)) {\n selectedIndexesAsArray = selectedIndexes.map((index) => String(index));\n }\n\n const dropdownValue = selectedIndexesAsArray\n .map((index) => (enumOptions ? enumOptions[Number(index)].label : undefined))\n .join(', ');\n\n const _onBlur = () => onBlur(id, selectedIndexes);\n const _onFocus = () => onFocus(id, selectedIndexes);\n const _onChange = (_: any, data: OptionOnSelectData) => {\n const newValue = getValue(data, multiple);\n return onChange(enumOptionsValueForIndex<S>(newValue, enumOptions, optEmptyVal));\n };\n const showPlaceholderOption = !multiple && schema.default === undefined;\n\n return (\n <Field\n label={labelValue(label, hideLabel)}\n validationState={rawErrors.length ? 'error' : undefined}\n required={required}\n >\n <Dropdown\n id={id}\n name={htmlName || id}\n multiselect={multiple}\n className='form-control'\n value={dropdownValue}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n onBlur={_onBlur}\n onFocus={_onFocus}\n onOptionSelect={_onChange}\n selectedOptions={selectedIndexesAsArray}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {showPlaceholderOption && <Option value=''>{placeholder || ''}</Option>}\n {Array.isArray(enumOptions) &&\n enumOptions.map(({ value, label }, i) => {\n const disabled = enumDisabled && enumDisabled.indexOf(value) !== -1;\n return (\n <Option key={i} value={String(i)} disabled={disabled}>\n {label}\n </Option>\n );\n })}\n </Dropdown>\n </Field>\n );\n}\n\nexport default SelectWidget;\n", "import { Label, Textarea, makeStyles } from '@fluentui/react-components';\nimport {\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n ariaDescribedByIds,\n labelValue,\n} from '@rjsf/utils';\nimport { ChangeEvent, FocusEvent } from 'react';\n\nconst useStyles = makeStyles({\n label: {\n paddingTop: '2px',\n paddingBottom: '2px',\n marginBottom: '2px',\n },\n});\n\n/** The `TextareaWidget` is a widget for rendering input fields as textarea.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function TextareaWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const {\n id,\n htmlName,\n placeholder,\n required,\n readonly,\n disabled,\n value,\n label,\n hideLabel,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n } = props;\n const classes = useStyles();\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLTextAreaElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = ({ target }: FocusEvent<HTMLTextAreaElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLTextAreaElement>) => onFocus(id, target && target.value);\n\n let rows: string | number = 5;\n if (typeof options.rows === 'string' || typeof options.rows === 'number') {\n rows = options.rows;\n }\n\n return (\n <>\n {labelValue(\n <Label htmlFor={id} required={required} disabled={disabled} className={classes.label}>\n {label}\n </Label>,\n hideLabel,\n )}\n <Textarea\n id={id}\n name={htmlName || id}\n placeholder={placeholder}\n autoFocus={autofocus}\n required={required}\n disabled={disabled || readonly}\n value={value || value === 0 ? value : ''}\n onChange={onChangeOverride || _onChange}\n onFocus={_onFocus}\n onBlur={_onBlur}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n rows={rows}\n />\n </>\n );\n}\n", "import CheckboxWidget from '../CheckboxWidget/CheckboxWidget';\nimport CheckboxesWidget from '../CheckboxesWidget/CheckboxesWidget';\nimport RadioWidget from '../RadioWidget/RadioWidget';\nimport RangeWidget from '../RangeWidget/RangeWidget';\nimport SelectWidget from '../SelectWidget/SelectWidget';\nimport TextareaWidget from '../TextareaWidget/TextareaWidget';\nimport { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateWidgets<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): RegistryWidgetsType<T, S, F> {\n return {\n CheckboxWidget,\n CheckboxesWidget,\n RadioWidget,\n RangeWidget,\n SelectWidget,\n TextareaWidget,\n };\n}\n\nexport default generateWidgets();\n", "import { ThemeProps } from '@rjsf/core';\n\nimport { generateTemplates } from '../Templates';\nimport { generateWidgets } from '../Widgets';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateTheme<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ThemeProps<T, S, F> {\n return {\n templates: generateTemplates<T, S, F>(),\n widgets: generateWidgets<T, S, F>(),\n };\n}\n\nexport default generateTheme();\n", "import { FluentProvider, RendererProvider, createDOMRenderer, teamsLightTheme } from '@fluentui/react-components';\nimport { ReactNode, useMemo } from 'react';\n\nconst FluentWrapper = (props: { children: ReactNode; targetDocument?: HTMLDocument }) => {\n const { children, targetDocument } = props;\n const renderer = useMemo(() => createDOMRenderer(targetDocument), [targetDocument]);\n\n return (\n <RendererProvider renderer={renderer} targetDocument={targetDocument}>\n <FluentProvider targetDocument={targetDocument} theme={teamsLightTheme}>\n {children}\n </FluentProvider>\n </RendererProvider>\n );\n};\n\nexport const __createFluentUIRCFrameProvider =\n (props: any) =>\n ({ document }: any) => {\n return <FluentWrapper targetDocument={document}>{props.children}</FluentWrapper>;\n };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,IAAAA,eAAqC;;;ACDrC,mBAOO;AACP,mCAAqB;AACrB,8BAA2B;AA6BvB;AA3BJ,IAAM,gBAAY,oCAAW;AAAA,EAC3B,gBAAgB;AAAA,IACd,iBAAiB;AAAA,MACf,OAAO;AAAA,IACT;AAAA,EACF;AACF,CAAC;AAMc,SAAR,uBAIL,OAA6C;AAC7C,QAAM,UAAU,UAAU;AAC1B,QAAM,EAAE,UAAU,cAAc,YAAY,UAAU,SAAS,IAAI;AACnE,QAAM,gBAAY,2BAAsB,QAA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IAAM,kCACX,CAAC,UACD,CAAC,EAAE,SAAS,MAAW;AACrB,SAAO,8CAAC,iBAAc,gBAAgB,UAAW,gBAAM,UAAS;AAClE;;;A5BZF,IAAO,gBAAQ;",
|
|
6
|
-
"names": ["import_core", "import_utils", "import_react_components", "import_jsx_runtime", "import_react_components", "import_react_migration_v0_v9", "import_utils", "import_jsx_runtime", "useStyles", "AddButton", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "value", "import_react_components", "import_jsx_runtime", "useStyles", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "import_react_components", "import_react_icons", "import_utils", "import_jsx_runtime", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "import_react_components", "import_utils", "import_jsx_runtime", "import_react_components", "import_utils", "import_jsx_runtime", "WrapIfAdditionalTemplate", "import_react_migration_v0_v9", "import_jsx_runtime", "import_react_components", "import_jsx_runtime", "useStyles", "import_react_migration_v0_v9", "import_utils", "import_jsx_runtime", "AddButton", "import_react_icons", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "useStyles", "import_react_migration_v0_v9", "import_react_components", "import_jsx_runtime", "useStyles", "import_utils", "import_react_components", "import_react_migration_v0_v9", "import_jsx_runtime", "useStyles", "RemoveButton", "import_utils", "import_react_components", "import_jsx_runtime", "import_utils", "import_react_components", "import_react_migration_v0_v9", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "value", "label", "disabled", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "value", "import_react_components", "import_jsx_runtime"]
|
|
4
|
+
"sourcesContent": ["import FluentForm from './FluentForm';\n\nexport { default as Form, generateForm } from './FluentForm';\nexport { default as Templates, generateTemplates } from './Templates';\nexport { default as Theme, generateTheme } from './Theme';\nexport { default as Widgets, generateWidgets } from './Widgets';\nexport { __createFluentUIRCFrameProvider } from './FluentUIRCFrameProvider';\n\nexport default FluentForm;\n", "import { ComponentType } from 'react';\nimport { FormProps, withTheme } from '@rjsf/core';\n\nimport { generateTheme } from '../Theme';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateForm<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ComponentType<FormProps<T, S, F>> {\n return withTheme<T, S, F>(generateTheme<T, S, F>());\n}\n\nexport default generateForm();\n", "import {\n ArrayFieldItemTemplateProps,\n FormContextType,\n getTemplate,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\nimport { makeStyles } from '@fluentui/react-components';\n\nconst useStyles = makeStyles({\n arrayFieldItem: {\n '> .form-group': {\n width: '100%',\n },\n },\n});\n\n/** The `ArrayFieldItemTemplate` component is the template used to render an items of an array.\n *\n * @param props - The `ArrayFieldItemTemplateProps` props for the component\n */\nexport default function ArrayFieldItemTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldItemTemplateProps<T, S, F>) {\n const classes = useStyles();\n const { children, buttonsProps, displayLabel, hasToolbar, uiSchema, registry } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldItemButtonsTemplate = getTemplate<'ArrayFieldItemButtonsTemplate', T, S, F>(\n 'ArrayFieldItemButtonsTemplate',\n registry,\n uiOptions,\n );\n\n return (\n <Flex vAlign='start'>\n <Flex fill className={classes.arrayFieldItem}>\n {children}\n </Flex>\n {hasToolbar && (\n <Flex style={{ marginLeft: '8px', marginTop: displayLabel ? '26px' : 0 }}>\n <ArrayFieldItemButtonsTemplate {...buttonsProps} />\n </Flex>\n )}\n </Flex>\n );\n}\n", "import { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\nimport { Button } from '@fluentui/react-components';\nimport { AddRegular } from '@fluentui/react-icons';\n\nexport default function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n uiSchema,\n registry,\n ...props\n}: IconButtonProps<T, S, F>) {\n const { translateString } = registry;\n return <Button title={translateString(TranslatableString.AddItemButton)} {...props} icon={<AddRegular />} />;\n}\n", "import { makeStyles, shorthands } from '@fluentui/react-components';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\nimport {\n getTemplate,\n getUiOptions,\n ArrayFieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n buttonId,\n} from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n arrayItemList: {\n ...shorthands.gap('12px'),\n },\n});\n\n/** The `ArrayFieldTemplate` component is the template used to render all items in an array.\n *\n * @param props - The `ArrayFieldTemplateProps` props for the component\n */\nexport default function ArrayFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldTemplateProps<T, S, F>) {\n const {\n canAdd,\n disabled,\n fieldPathId,\n uiSchema,\n items,\n optionalDataControl,\n onAddClick,\n readonly,\n registry,\n required,\n schema,\n title,\n } = props;\n const classes = useStyles();\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldDescriptionTemplate = getTemplate<'ArrayFieldDescriptionTemplate', T, S, F>(\n 'ArrayFieldDescriptionTemplate',\n registry,\n uiOptions,\n );\n const ArrayFieldTitleTemplate = getTemplate<'ArrayFieldTitleTemplate', T, S, F>(\n 'ArrayFieldTitleTemplate',\n registry,\n uiOptions,\n );\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n return (\n <>\n <ArrayFieldTitleTemplate\n fieldPathId={fieldPathId}\n title={uiOptions.title || title}\n schema={schema}\n uiSchema={uiSchema}\n required={required}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n <ArrayFieldDescriptionTemplate\n fieldPathId={fieldPathId}\n description={uiOptions.description || schema.description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n <Flex column key={`array-item-list-${fieldPathId.$id}`} className={classes.arrayItemList}>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {items}\n {canAdd && (\n <Flex hAlign='end'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-array-item-add'\n onClick={onAddClick}\n disabled={disabled || readonly}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Flex>\n )}\n </Flex>\n </>\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input, InputProps, Label, makeStyles } from '@fluentui/react-components';\nimport {\n ariaDescribedByIds,\n BaseInputTemplateProps,\n examplesId,\n getInputProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n labelValue,\n} from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n input: {\n width: '100%',\n },\n label: {\n paddingTop: '2px',\n paddingBottom: '2px',\n marginBottom: '2px',\n },\n});\n\n/** The `BaseInputTemplate` is the template to use to render the basic `<input>` component for the `core` theme.\n * It is used as the template for rendering many of the <input> based widgets that differ by `type` and callbacks only.\n * It can be customized/overridden for other themes or individual implementations as needed.\n *\n * @param props - The `WidgetProps` for this template\n */\nexport default function BaseInputTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: BaseInputTemplateProps<T, S, F>) {\n const {\n id,\n htmlName,\n placeholder,\n required,\n readonly,\n disabled,\n type,\n value,\n label,\n hideLabel,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n } = props;\n const classes = useStyles();\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n // Now we need to pull out the step, min, max into an inner `inputProps` for fluentui-rc\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n return (\n <>\n {labelValue(\n <Label htmlFor={id} required={required} disabled={disabled} className={classes.label}>\n {label}\n </Label>,\n hideLabel,\n )}\n <Input\n id={id}\n name={htmlName || id}\n placeholder={placeholder}\n autoFocus={autofocus}\n required={required}\n disabled={disabled || readonly}\n {...(inputProps as InputProps)}\n input={{\n className: classes.input,\n // Due to Fluent UI this does not work correctly\n list: schema.examples ? examplesId(id) : undefined,\n }}\n value={value || value === 0 ? value : ''}\n onChange={onChangeOverride || _onChange}\n onFocus={_onFocus}\n onBlur={_onBlur}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n {Array.isArray(schema.examples) && (\n <datalist id={examplesId(id)}>\n {(schema.examples as string[])\n .concat(schema.default && !schema.examples.includes(schema.default) ? ([schema.default] as string[]) : [])\n .map((example: any) => {\n return <option key={example} value={example} />;\n })}\n </datalist>\n )}\n </>\n );\n}\n", "import { Text, makeStyles, tokens } from '@fluentui/react-components';\nimport { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { RichDescription } from '@rjsf/core';\n\nconst useStyles = makeStyles({\n label: {\n marginTop: tokens.spacingVerticalS,\n marginBottom: tokens.spacingVerticalM,\n },\n});\n\n/** The `DescriptionField` is the template to use to render the description of a field\n *\n * @param props - The `DescriptionFieldProps` for this component\n */\nexport default function DescriptionField<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: DescriptionFieldProps<T, S, F>) {\n const { id, description, registry, uiSchema } = props;\n const classes = useStyles();\n if (!description) {\n return null;\n }\n\n return (\n <Text block id={id} className={classes.label}>\n <RichDescription description={description} registry={registry} uiSchema={uiSchema} />\n </Text>\n );\n}\n", "import { Card, Text, makeStyles, shorthands, tokens } from '@fluentui/react-components';\nimport { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n errorCard: {\n backgroundColor: tokens.colorStatusDangerBackground1,\n marginBottom: tokens.spacingVerticalL,\n '&::after': {\n ...shorthands.borderColor(tokens.colorStatusDangerBorder1),\n },\n },\n errorTitle: {\n marginTop: 0,\n marginBottom: 0,\n },\n});\n\n/** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`\n *\n * @param props - The `ErrorListProps` for this component\n */\nexport default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n errors,\n registry,\n}: ErrorListProps<T, S, F>) {\n const { translateString } = registry;\n const classes = useStyles();\n return (\n <Card appearance='outline' className={classes.errorCard}>\n <Text as='h6' size={400} className={classes.errorTitle}>\n {translateString(TranslatableString.ErrorsLabel)}\n </Text>\n <ul>\n {errors.map((error, i: number) => {\n return <li key={i}>{error.stack}</li>;\n })}\n </ul>\n </Card>\n );\n}\n", "import { Button, ButtonProps } from '@fluentui/react-components';\nimport { ArrowSortUpRegular, ArrowSortDownRegular, CopyRegular, SubtractRegular } from '@fluentui/react-icons';\nimport { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\nexport type FluentIconButtonProps<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n> = IconButtonProps<T, S, F> & Omit<ButtonProps, 'onChange' | 'as'>;\n\nexport default function FluentIconButton<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FluentIconButtonProps<T, S, F>) {\n const { color, uiSchema, registry, ...otherProps } = props;\n\n return <Button {...otherProps} color='secondary' />;\n}\n\nexport function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.CopyButton)}\n {...props}\n icon={<CopyRegular />}\n />\n );\n}\n\nexport function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.MoveDownButton)}\n {...props}\n icon={<ArrowSortDownRegular />}\n />\n );\n}\n\nexport function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.MoveUpButton)}\n {...props}\n icon={<ArrowSortUpRegular />}\n />\n );\n}\n\nexport function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: FluentIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <FluentIconButton<T, S, F>\n title={translateString(TranslatableString.RemoveButton)}\n {...props}\n icon={<SubtractRegular />}\n />\n );\n}\n", "import { makeStyles, tokens } from '@fluentui/react-components';\nimport { errorId, FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n list: { marginTop: 0, marginBottom: 0, paddingLeft: 0, listStyleType: 'none' },\n listItem: {\n paddingLeft: tokens.spacingHorizontalL,\n paddingTop: tokens.spacingVerticalXS,\n paddingBottom: tokens.spacingVerticalXS,\n },\n errorLabel: { color: tokens.colorPaletteRedForeground1 },\n});\n\n/** The `FieldErrorTemplate` component renders the errors local to the particular field\n *\n * @param props - The `FieldErrorProps` for the errors being rendered\n */\nexport default function FieldErrorTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldErrorProps<T, S, F>) {\n const { errors = [], fieldPathId } = props;\n const classes = useStyles();\n\n if (errors.length === 0) {\n return null;\n }\n const id = errorId(fieldPathId);\n\n return (\n <ul className={classes.list}>\n {errors.map((error, i: number) => {\n return (\n <li key={i} className={classes.listItem}>\n <small className={classes.errorLabel} id={id}>\n {error}\n </small>\n </li>\n );\n })}\n </ul>\n );\n}\n", "import { Caption1 } from '@fluentui/react-components';\nimport { helpId, FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { RichHelp } from '@rjsf/core';\n\n/** The `FieldHelpTemplate` component renders any help desired for a field\n *\n * @param props - The `FieldHelpProps` to be rendered\n */\nexport default function FieldHelpTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldHelpProps<T, S, F>) {\n const { fieldPathId, help, uiSchema = {}, registry } = props;\n\n if (!help) {\n return null;\n }\n return (\n <Caption1 id={helpId(fieldPathId)}>\n <RichHelp help={help} registry={registry} uiSchema={uiSchema} />\n </Caption1>\n );\n}\n", "import { Field, Text } from '@fluentui/react-components';\nimport {\n FieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n getTemplate,\n getUiOptions,\n} from '@rjsf/utils';\n\n/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field\n * content, (label, description, children, errors and help) inside of a `WrapIfAdditional` component.\n *\n * @param props - The `FieldTemplateProps` for this component\n */\nexport default function FieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldTemplateProps<T, S, F>) {\n const {\n id,\n children,\n classNames,\n style,\n disabled,\n displayLabel,\n hidden,\n label,\n onKeyRename,\n onKeyRenameBlur,\n onRemoveProperty,\n readonly,\n required,\n rawErrors = [],\n errors,\n help,\n description,\n rawDescription,\n schema,\n uiSchema,\n registry,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const WrapIfAdditionalTemplate = getTemplate<'WrapIfAdditionalTemplate', T, S, F>(\n 'WrapIfAdditionalTemplate',\n registry,\n uiOptions,\n );\n\n if (hidden) {\n return <div style={{ display: 'none' }}>{children}</div>;\n }\n const isCheckbox = uiOptions.widget === 'checkbox';\n return (\n <WrapIfAdditionalTemplate\n classNames={classNames}\n style={style}\n disabled={disabled}\n id={id}\n label={label}\n displayLabel={displayLabel}\n rawDescription={rawDescription}\n onKeyRename={onKeyRename}\n onKeyRenameBlur={onKeyRenameBlur}\n onRemoveProperty={onRemoveProperty}\n readonly={readonly}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n >\n <Field validationState={rawErrors.length ? 'error' : undefined} required={required}>\n {children}\n {displayLabel && rawDescription && !isCheckbox ? (\n <Text as='p' block style={{ marginTop: 0, marginBottom: 0 }}>\n {description}\n </Text>\n ) : null}\n {errors}\n {help}\n </Field>\n </WrapIfAdditionalTemplate>\n );\n}\n", "import { GridShim, grid } from '@fluentui/react-migration-v0-v9';\nimport { GridTemplateProps } from '@rjsf/utils';\n\n/** Renders a `GridTemplate` for fluentui-rc, which is expecting the column sizing information coming in via the\n * `style` by the caller, which are spread directly on the `GridShim` if `columns` or `rows` are provided. Otherwise,\n * the `style` is added to a simple grid. This was done because `fluentui-rc` uses the CSS Grid which defines all of\n * the column/row/grid information via style.\n *\n * @param props - The GridTemplateProps, including the extra props containing the fluentui-rc grid positioning details\n */\nexport default function GridTemplate(props: GridTemplateProps) {\n const { children, column, columns, rows, style, ...rest } = props;\n if (columns || rows) {\n // Use the `grid` rows/columns functions to generate the additional grid styling\n const styles = {\n ...style,\n ...(rows ? grid.rows(rows) : undefined),\n ...(columns ? grid.columns(columns) : undefined),\n };\n return (\n <GridShim style={styles} {...rest}>\n {children}\n </GridShim>\n );\n }\n return (\n <div style={style} {...rest}>\n {children}\n </div>\n );\n}\n", "import { makeStyles } from '@fluentui/react-components';\nimport { FormContextType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n root: {\n '> div': { marginBottom: '4px' },\n },\n});\n\nexport default function MultiSchemaFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: MultiSchemaFieldTemplateProps<T, S, F>) {\n const { selector, optionSchemaField } = props;\n\n const styles = useStyles();\n\n return (\n <div className={styles.root}>\n <div>{selector}</div>\n {optionSchemaField}\n </div>\n );\n}\n", "import { Flex } from '@fluentui/react-migration-v0-v9';\nimport {\n FormContextType,\n ObjectFieldTemplateProps,\n RJSFSchema,\n StrictRJSFSchema,\n canExpand,\n descriptionId,\n getTemplate,\n getUiOptions,\n titleId,\n buttonId,\n} from '@rjsf/utils';\n\n/** The `ObjectFieldTemplate` is the template to use to render all the inner properties of an object along with the\n * title and description if available. If the object is expandable, then an `AddButton` is also rendered after all\n * the properties.\n *\n * @param props - The `ObjectFieldTemplateProps` for this component\n */\nexport default function ObjectFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ObjectFieldTemplateProps<T, S, F>) {\n const {\n description,\n title,\n properties,\n required,\n disabled,\n readonly,\n uiSchema,\n fieldPathId,\n schema,\n formData,\n optionalDataControl,\n onAddProperty,\n registry,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const TitleFieldTemplate = getTemplate<'TitleFieldTemplate', T, S, F>('TitleFieldTemplate', registry, uiOptions);\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n uiOptions,\n );\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n return (\n <>\n {title && (\n <TitleFieldTemplate\n id={titleId(fieldPathId)}\n title={title}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n )}\n {description && (\n <DescriptionFieldTemplate\n id={descriptionId(fieldPathId)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n <Flex fill column gap='gap.medium'>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {properties.map((element, index) =>\n // Remove the <Grid> if the inner element is hidden as the <Grid>\n // itself would otherwise still take up space.\n element.hidden ? (\n element.content\n ) : (\n <Flex column fill key={index} style={{ marginBottom: '10px' }}>\n {element.content}\n </Flex>\n ),\n )}\n {canExpand<T, S, F>(schema, uiSchema, formData) && (\n <Flex hAlign='end'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-object-property-expand'\n onClick={onAddProperty}\n disabled={disabled || readonly}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Flex>\n )}\n </Flex>\n </>\n );\n}\n", "import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { AddSquareMultipleRegular, SubtractSquareMultipleRegular } from '@fluentui/react-icons';\n\nimport FluentIconButton from '../IconButton';\n\n/** The OptionalDataControlsTemplate renders one of three different states. If\n * there is an `onAddClick()` function, it renders the \"Add\" button. If there is\n * an `onRemoveClick()` function, it renders the \"Remove\" button. Otherwise it\n * renders the \"No data found\" section. All of them use the `label` as either\n * the `title` of buttons or simply outputting it.\n *\n * @param props - The `OptionalDataControlsTemplateProps` for the template\n */\nexport default function OptionalDataControlsTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: OptionalDataControlsTemplateProps<T, S, F>) {\n const { id, registry, label, onAddClick, onRemoveClick } = props;\n if (onAddClick) {\n return (\n <FluentIconButton\n id={id}\n registry={registry}\n icon={<AddSquareMultipleRegular />}\n className='rjsf-add-optional-data'\n onClick={onAddClick}\n title={label}\n size='small'\n appearance='secondary'\n />\n );\n } else if (onRemoveClick) {\n return (\n <FluentIconButton\n id={id}\n registry={registry}\n icon={<SubtractSquareMultipleRegular />}\n className='rjsf-remove-optional-data'\n onClick={onRemoveClick}\n title={label}\n size='small'\n appearance='secondary'\n />\n );\n }\n return <em id={id}>{label}</em>;\n}\n", "import { FormContextType, getSubmitButtonOptions, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';\nimport { Button, makeStyles, tokens } from '@fluentui/react-components';\n\nconst useStyles = makeStyles({\n buttonRow: {\n marginTop: tokens.spacingVerticalL,\n },\n});\n\nexport default function SubmitButton<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({ uiSchema }: SubmitButtonProps<T, S, F>) {\n const classes = useStyles();\n const { submitText, norender, props: submitButtonProps } = getSubmitButtonOptions(uiSchema);\n if (norender) {\n return null;\n }\n return (\n <div className={classes.buttonRow}>\n <Button appearance='primary' type='submit' {...submitButtonProps}>\n {submitText}\n </Button>\n </div>\n );\n}\n", "import { Flex } from '@fluentui/react-migration-v0-v9';\nimport { Text, Divider, makeStyles } from '@fluentui/react-components';\nimport { FormContextType, TitleFieldProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nconst useStyles = makeStyles({\n root: {\n marginTop: '8px',\n marginBottom: '8px',\n },\n});\n\n/** The `TitleField` is the template to use to render the title of a field\n *\n * @param props - The `TitleFieldProps` for this component\n */\nexport default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n title,\n optionalDataControl,\n}: TitleFieldProps<T, S, F>) {\n const classes = useStyles();\n let heading = (\n <Text as='h5' size={600} style={{ marginBlock: 0 }}>\n {title}\n </Text>\n );\n if (optionalDataControl) {\n heading = (\n <Flex>\n <Flex fill>{heading}</Flex>\n <Flex hAlign='end'>{optionalDataControl}</Flex>\n </Flex>\n );\n }\n return (\n <div id={id} className={classes.root}>\n {heading}\n <Divider />\n </div>\n );\n}\n", "import { CSSProperties } from 'react';\nimport {\n ADDITIONAL_PROPERTY_FLAG,\n buttonId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n WrapIfAdditionalTemplateProps,\n} from '@rjsf/utils';\nimport { Field, Input, makeStyles } from '@fluentui/react-components';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\n\nconst useStyles = makeStyles({\n input: {\n width: '100%',\n },\n grow: {\n flexGrow: 1,\n },\n halfWidth: {\n width: '46%',\n },\n alignEnd: {\n alignSelf: 'flex-end',\n justifyContent: 'flex-end',\n },\n alignCenter: {\n alignSelf: 'center',\n marginTop: '-14px',\n justifyContent: 'flex-end',\n },\n label: {\n marginBottom: '4px',\n },\n});\n\nconst containerTypes = ['object', 'array'];\n\n/** The `WrapIfAdditional` component is used by the `FieldTemplate` to rename, or remove properties that are\n * part of an `additionalProperties` part of a schema.\n *\n * @param props - The `WrapIfAdditionalProps` for this component\n */\nexport default function WrapIfAdditionalTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WrapIfAdditionalTemplateProps<T, S, F>) {\n const {\n children,\n classNames,\n style,\n disabled,\n id,\n label,\n displayLabel,\n onRemoveProperty,\n onKeyRenameBlur,\n rawDescription,\n readonly,\n required,\n schema,\n uiSchema,\n registry,\n } = props;\n const { templates, translateString } = registry;\n const classes = useStyles();\n // Button templates are not overridden in the uiSchema\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n const hasDescription = !!rawDescription;\n const btnStyle: CSSProperties = {\n flex: 1,\n paddingLeft: 6,\n paddingRight: 6,\n fontWeight: 'bold',\n };\n\n if (!additional) {\n const { type } = schema;\n // Flex grow only non container classes\n const className = containerTypes.includes(type as string) ? classNames : `${classes.grow} ${classNames}`;\n return (\n <div className={className} style={style}>\n {children}\n </div>\n );\n }\n\n return (\n <Flex gap='gap.medium' vAlign='start' key={`${id}-key`} className={classNames} style={style}>\n <div className={classes.halfWidth}>\n <Field label={displayLabel ? keyLabel : undefined} required={required}>\n <Input\n required={required}\n defaultValue={label}\n disabled={disabled || readonly}\n id={`${id}-key`}\n name={`${id}-key`}\n onBlur={!readonly ? onKeyRenameBlur : undefined}\n type='text'\n input={{\n className: classes.input,\n }}\n />\n </Field>\n </div>\n <div className={classes.halfWidth}>{children}</div>\n <div className={hasDescription ? classes.alignCenter : classes.alignEnd}>\n <RemoveButton\n id={buttonId(id, 'remove')}\n iconType='default'\n className='rjsf-object-property-remove'\n style={btnStyle}\n disabled={disabled || readonly}\n onClick={onRemoveProperty}\n uiSchema={uiSchema}\n registry={registry}\n />\n </div>\n </Flex>\n );\n}\n", "import ArrayFieldItemTemplate from '../ArrayFieldItemTemplate';\nimport AddButton from '../AddButton';\nimport ArrayFieldTemplate from '../ArrayFieldTemplate';\nimport BaseInputTemplate from '../BaseInputTemplate/BaseInputTemplate';\nimport DescriptionField from '../DescriptionField';\nimport ErrorList from '../ErrorList';\nimport { CopyButton, MoveDownButton, MoveUpButton, RemoveButton } from '../IconButton';\nimport FieldErrorTemplate from '../FieldErrorTemplate';\nimport FieldHelpTemplate from '../FieldHelpTemplate';\nimport FieldTemplate from '../FieldTemplate';\nimport GridTemplate from '../GridTemplate';\nimport MultiSchemaFieldTemplate from '../MultiSchemaFieldTemplate';\nimport ObjectFieldTemplate from '../ObjectFieldTemplate';\nimport OptionalDataControlsTemplate from '../OptionalDataControlsTemplate';\nimport SubmitButton from '../SubmitButton';\nimport TitleField from '../TitleField';\nimport WrapIfAdditionalTemplate from '../WrapIfAdditionalTemplate';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';\n\nexport function generateTemplates<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): Partial<TemplatesType<T, S, F>> {\n return {\n ArrayFieldItemTemplate,\n ArrayFieldTemplate,\n BaseInputTemplate,\n ButtonTemplates: {\n CopyButton,\n AddButton,\n MoveDownButton,\n MoveUpButton,\n RemoveButton,\n SubmitButton,\n },\n DescriptionFieldTemplate: DescriptionField,\n ErrorListTemplate: ErrorList,\n FieldErrorTemplate,\n FieldHelpTemplate,\n FieldTemplate,\n GridTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n WrapIfAdditionalTemplate,\n };\n}\n\nexport default generateTemplates();\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n descriptionId,\n getTemplate,\n schemaRequiresTrueValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Checkbox } from '@fluentui/react-components';\n\n/** The `CheckBoxWidget` is a widget for rendering boolean properties.\n * It is typically used to represent a boolean.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const {\n schema,\n id,\n htmlName,\n value,\n disabled,\n readonly,\n label = '',\n hideLabel,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n registry,\n options,\n uiSchema,\n } = props;\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n options,\n );\n // Because an unchecked checkbox will cause html5 validation to fail, only add\n // the \"required\" attribute if the field value must be \"true\", due to the\n // \"const\" or \"enum\" keywords\n const required = schemaRequiresTrueValue<S>(schema);\n\n const _onChange = ({ target: { checked } }: ChangeEvent<HTMLInputElement>) => onChange(checked);\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.checked);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.checked);\n const description = options.description ?? schema.description;\n\n return (\n <>\n {!hideLabel && description && (\n <DescriptionFieldTemplate\n id={descriptionId(id)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n <Checkbox\n id={id}\n name={htmlName || id}\n label={label}\n checked={typeof value === 'undefined' ? false : Boolean(value)}\n required={required}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n />\n </>\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n enumOptionsDeselectValue,\n enumOptionsIsSelected,\n enumOptionsSelectValue,\n enumOptionsValueForIndex,\n labelValue,\n optionId,\n FormContextType,\n WidgetProps,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\nimport { Label, Checkbox } from '@fluentui/react-components';\nimport { Flex } from '@fluentui/react-migration-v0-v9';\n\n/** The `CheckboxesWidget` is a widget for rendering checkbox groups.\n * It is typically used to represent an array of enums.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxesWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n label,\n hideLabel,\n id,\n htmlName,\n disabled,\n options,\n value,\n autofocus,\n readonly,\n required,\n onChange,\n onBlur,\n onFocus,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, inline, emptyValue } = options;\n const checkboxesValues = Array.isArray(value) ? value : [value];\n\n const _onChange =\n (index: number) =>\n ({ target: { checked } }: ChangeEvent<HTMLInputElement>) => {\n if (checked) {\n onChange(enumOptionsSelectValue<S>(index, checkboxesValues, enumOptions));\n } else {\n onChange(enumOptionsDeselectValue<S>(index, checkboxesValues, enumOptions));\n }\n };\n\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n return (\n <>\n {labelValue(\n <Label required={required} htmlFor={id}>\n {label || undefined}\n </Label>,\n hideLabel,\n )}\n <Flex column={!inline}>\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index: number) => {\n const checked = enumOptionsIsSelected<S>(option.value, checkboxesValues);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <Checkbox\n key={index}\n id={optionId(id, index)}\n name={htmlName || id}\n label={option.label}\n checked={checked}\n disabled={disabled || itemDisabled || readonly}\n autoFocus={autofocus && index === 0}\n onChange={_onChange(index)}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n })}\n </Flex>\n </>\n );\n}\n", "import { FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n labelValue,\n optionId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Label, Radio, RadioGroup, RadioGroupOnChangeData } from '@fluentui/react-components';\n\n/** The `RadioWidget` is a widget for rendering a radio group.\n * It is typically used with a string property constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n htmlName,\n options,\n value,\n required,\n disabled,\n readonly,\n label,\n hideLabel,\n onChange,\n onBlur,\n onFocus,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue, inline } = options;\n\n const _onChange = (_: any, data: RadioGroupOnChangeData) =>\n onChange(enumOptionsValueForIndex<S>(data.value, enumOptions, emptyValue));\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n const selectedIndex = enumOptionsIndexForValue<S>(value, enumOptions) ?? undefined;\n\n return (\n <>\n {labelValue(\n <Label required={required} htmlFor={id}>\n {label || undefined}\n </Label>,\n hideLabel,\n )}\n <RadioGroup\n id={id}\n name={htmlName || id}\n layout={inline ? 'horizontal' : 'vertical'}\n value={selectedIndex as string | undefined}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <Radio\n id={optionId(id, index)}\n label={option.label}\n value={String(index)}\n key={index}\n disabled={disabled || itemDisabled || readonly}\n />\n );\n })}\n </RadioGroup>\n </>\n );\n}\n", "import { FocusEvent } from 'react';\nimport {\n ariaDescribedByIds,\n labelValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n rangeSpec,\n} from '@rjsf/utils';\nimport { Label, Slider, SliderOnChangeData } from '@fluentui/react-components';\n\n/** The `RangeWidget` component uses the `BaseInputTemplate` changing the type to `range` and wrapping the result\n * in a div, with the value along side it.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RangeWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const { value, readonly, disabled, onBlur, onFocus, options, schema, onChange, required, label, hideLabel, id } =\n props;\n const sliderProps = { value, label, id, name: id, ...rangeSpec<S>(schema) };\n\n const _onChange = (_: any, data: SliderOnChangeData) => {\n onChange(data.value ?? options.emptyValue);\n };\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n\n return (\n <>\n {labelValue(\n <Label required={required} htmlFor={id}>\n {label || undefined}\n </Label>,\n hideLabel,\n )}\n <Slider\n disabled={disabled || readonly}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n {...sliderProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n </>\n );\n}\n", "import {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n FormContextType,\n labelValue,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Dropdown, Field, Option } from '@fluentui/react-components';\nimport { OptionOnSelectData } from '@fluentui/react-combobox';\n\nfunction getValue(data: OptionOnSelectData, multiple: boolean) {\n if (multiple) {\n return data.selectedOptions;\n }\n return data.selectedOptions[0];\n}\n\n/** The `SelectWidget` is a widget for rendering dropdowns.\n * It is typically used with string properties constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction SelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n htmlName,\n options,\n label,\n hideLabel,\n value,\n required,\n disabled,\n readonly,\n multiple = false,\n autofocus = false,\n rawErrors = [],\n onChange,\n onBlur,\n onFocus,\n schema,\n placeholder,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n let selectedIndexesAsArray: string[] = [];\n\n if (typeof selectedIndexes === 'string') {\n selectedIndexesAsArray = [selectedIndexes];\n } else if (Array.isArray(selectedIndexes)) {\n selectedIndexesAsArray = selectedIndexes.map((index) => String(index));\n }\n\n const dropdownValue = selectedIndexesAsArray\n .map((index) => (enumOptions ? enumOptions[Number(index)].label : undefined))\n .join(', ');\n\n const _onBlur = () => onBlur(id, selectedIndexes);\n const _onFocus = () => onFocus(id, selectedIndexes);\n const _onChange = (_: any, data: OptionOnSelectData) => {\n const newValue = getValue(data, multiple);\n return onChange(enumOptionsValueForIndex<S>(newValue, enumOptions, optEmptyVal));\n };\n const showPlaceholderOption = !multiple && schema.default === undefined;\n\n return (\n <Field\n label={labelValue(label, hideLabel)}\n validationState={rawErrors.length ? 'error' : undefined}\n required={required}\n >\n <Dropdown\n id={id}\n name={htmlName || id}\n multiselect={multiple}\n className='form-control'\n value={dropdownValue}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n onBlur={_onBlur}\n onFocus={_onFocus}\n onOptionSelect={_onChange}\n selectedOptions={selectedIndexesAsArray}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {showPlaceholderOption && <Option value=''>{placeholder || ''}</Option>}\n {Array.isArray(enumOptions) &&\n enumOptions.map(({ value, label }, i) => {\n const disabled = enumDisabled && enumDisabled.indexOf(value) !== -1;\n return (\n <Option key={i} value={String(i)} disabled={disabled}>\n {label}\n </Option>\n );\n })}\n </Dropdown>\n </Field>\n );\n}\n\nexport default SelectWidget;\n", "import { Label, Textarea, makeStyles } from '@fluentui/react-components';\nimport {\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n ariaDescribedByIds,\n labelValue,\n} from '@rjsf/utils';\nimport { ChangeEvent, FocusEvent } from 'react';\n\nconst useStyles = makeStyles({\n label: {\n paddingTop: '2px',\n paddingBottom: '2px',\n marginBottom: '2px',\n },\n});\n\n/** The `TextareaWidget` is a widget for rendering input fields as textarea.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function TextareaWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const {\n id,\n htmlName,\n placeholder,\n required,\n readonly,\n disabled,\n value,\n label,\n hideLabel,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n } = props;\n const classes = useStyles();\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLTextAreaElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = ({ target }: FocusEvent<HTMLTextAreaElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLTextAreaElement>) => onFocus(id, target && target.value);\n\n let rows: string | number = 5;\n if (typeof options.rows === 'string' || typeof options.rows === 'number') {\n rows = options.rows;\n }\n\n return (\n <>\n {labelValue(\n <Label htmlFor={id} required={required} disabled={disabled} className={classes.label}>\n {label}\n </Label>,\n hideLabel,\n )}\n <Textarea\n id={id}\n name={htmlName || id}\n placeholder={placeholder}\n autoFocus={autofocus}\n required={required}\n disabled={disabled || readonly}\n value={value || value === 0 ? value : ''}\n onChange={onChangeOverride || _onChange}\n onFocus={_onFocus}\n onBlur={_onBlur}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n rows={rows}\n />\n </>\n );\n}\n", "import CheckboxWidget from '../CheckboxWidget/CheckboxWidget';\nimport CheckboxesWidget from '../CheckboxesWidget/CheckboxesWidget';\nimport RadioWidget from '../RadioWidget/RadioWidget';\nimport RangeWidget from '../RangeWidget/RangeWidget';\nimport SelectWidget from '../SelectWidget/SelectWidget';\nimport TextareaWidget from '../TextareaWidget/TextareaWidget';\nimport { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateWidgets<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): RegistryWidgetsType<T, S, F> {\n return {\n CheckboxWidget,\n CheckboxesWidget,\n RadioWidget,\n RangeWidget,\n SelectWidget,\n TextareaWidget,\n };\n}\n\nexport default generateWidgets();\n", "import { ThemeProps } from '@rjsf/core';\n\nimport { generateTemplates } from '../Templates';\nimport { generateWidgets } from '../Widgets';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateTheme<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ThemeProps<T, S, F> {\n return {\n templates: generateTemplates<T, S, F>(),\n widgets: generateWidgets<T, S, F>(),\n };\n}\n\nexport default generateTheme();\n", "import { FluentProvider, RendererProvider, createDOMRenderer, teamsLightTheme } from '@fluentui/react-components';\nimport { ReactNode, useMemo } from 'react';\n\nconst FluentWrapper = (props: { children: ReactNode; targetDocument?: HTMLDocument }) => {\n const { children, targetDocument } = props;\n const renderer = useMemo(() => createDOMRenderer(targetDocument), [targetDocument]);\n\n return (\n <RendererProvider renderer={renderer} targetDocument={targetDocument}>\n <FluentProvider targetDocument={targetDocument} theme={teamsLightTheme}>\n {children}\n </FluentProvider>\n </RendererProvider>\n );\n};\n\nexport const __createFluentUIRCFrameProvider =\n (props: any) =>\n ({ document }: any) => {\n return <FluentWrapper targetDocument={document}>{props.children}</FluentWrapper>;\n };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,IAAAA,eAAqC;;;ACDrC,mBAOO;AACP,mCAAqB;AACrB,8BAA2B;AA6BvB;AA3BJ,IAAM,gBAAY,oCAAW;AAAA,EAC3B,gBAAgB;AAAA,IACd,iBAAiB;AAAA,MACf,OAAO;AAAA,IACT;AAAA,EACF;AACF,CAAC;AAMc,SAAR,uBAIL,OAA6C;AAC7C,QAAM,UAAU,UAAU;AAC1B,QAAM,EAAE,UAAU,cAAc,cAAc,YAAY,UAAU,SAAS,IAAI;AACjF,QAAM,gBAAY,2BAAsB,QAAQ;AAChD,QAAM,oCAAgC;AAAA,IACpC;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAEA,SACE,6CAAC,qCAAK,QAAO,SACX;AAAA,gDAAC,qCAAK,MAAI,MAAC,WAAW,QAAQ,gBAC3B,UACH;AAAA,IACC,cACC,4CAAC,qCAAK,OAAO,EAAE,YAAY,OAAO,WAAW,eAAe,SAAS,EAAE,GACrE,sDAAC,iCAA+B,GAAG,cAAc,GACnD;AAAA,KAEJ;AAEJ;;;ACjDA,IAAAC,gBAAmG;AACnG,IAAAC,2BAAuB;AACvB,yBAA2B;AAQiE,IAAAC,sBAAA;AAN7E,SAAR,UAA8G;AAAA,EACnH;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAA6B;AAC3B,QAAM,EAAE,gBAAgB,IAAI;AAC5B,SAAO,6CAAC,mCAAO,OAAO,gBAAgB,iCAAmB,aAAa,GAAI,GAAG,OAAO,MAAM,6CAAC,iCAAW,GAAI;AAC5G;;;ACXA,IAAAC,2BAAuC;AACvC,IAAAC,gCAAqB;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AEO,IAAM,kCACX,CAAC,UACD,CAAC,EAAE,SAAS,MAAW;AACrB,SAAO,8CAAC,iBAAc,gBAAgB,UAAW,gBAAM,UAAS;AAClE;;;A5BZF,IAAO,gBAAQ;",
|
|
6
|
+
"names": ["import_core", "import_utils", "import_react_components", "import_jsx_runtime", "import_react_components", "import_react_migration_v0_v9", "import_utils", "import_jsx_runtime", "useStyles", "AddButton", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "value", "import_react_components", "import_jsx_runtime", "useStyles", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "import_react_components", "import_react_icons", "import_utils", "import_jsx_runtime", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "import_react_components", "import_utils", "import_core", "import_jsx_runtime", "import_react_components", "import_utils", "import_jsx_runtime", "WrapIfAdditionalTemplate", "import_react_migration_v0_v9", "import_jsx_runtime", "import_react_components", "import_jsx_runtime", "useStyles", "import_react_migration_v0_v9", "import_utils", "import_jsx_runtime", "AddButton", "import_react_icons", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "useStyles", "import_react_migration_v0_v9", "import_react_components", "import_jsx_runtime", "useStyles", "import_utils", "import_react_components", "import_react_migration_v0_v9", "import_jsx_runtime", "useStyles", "RemoveButton", "import_utils", "import_react_components", "import_jsx_runtime", "import_utils", "import_react_components", "import_react_migration_v0_v9", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "import_utils", "import_react_components", "import_jsx_runtime", "value", "label", "disabled", "import_react_components", "import_utils", "import_jsx_runtime", "useStyles", "value", "import_react_components", "import_jsx_runtime"]
|
|
7
7
|
}
|