@qoretechnologies/reqraft 0.10.76-pr.145.gb1f8f29 → 0.10.76
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/components/Description/AllowedValuesHelp.d.ts +4 -4
- package/dist/components/Description/AllowedValuesHelp.d.ts.map +1 -1
- package/dist/components/Description/AllowedValuesHelp.js +7 -10
- package/dist/components/Description/AllowedValuesHelp.js.map +1 -1
- package/dist/components/Description/index.d.ts.map +1 -1
- package/dist/components/Description/index.js +4 -22
- package/dist/components/Description/index.js.map +1 -1
- package/dist/components/FocusedEditing/index.d.ts.map +1 -1
- package/dist/components/FocusedEditing/index.js +1 -3
- package/dist/components/FocusedEditing/index.js.map +1 -1
- package/dist/components/codeSize/index.d.ts +0 -6
- package/dist/components/codeSize/index.d.ts.map +1 -1
- package/dist/components/codeSize/index.js +2 -12
- package/dist/components/codeSize/index.js.map +1 -1
- package/dist/components/colorValue/colorValue.d.ts.map +1 -1
- package/dist/components/colorValue/colorValue.js +36 -27
- package/dist/components/colorValue/colorValue.js.map +1 -1
- package/dist/components/composer/Composer.d.ts +2 -7
- package/dist/components/composer/Composer.d.ts.map +1 -1
- package/dist/components/composer/Composer.js +13 -18
- package/dist/components/composer/Composer.js.map +1 -1
- package/dist/components/dpqlEditor/dpqlTags.js +1 -1
- package/dist/components/dpqlEditor/dpqlTags.js.map +1 -1
- package/dist/components/form/engine/CompactRow.d.ts.map +1 -1
- package/dist/components/form/engine/CompactRow.js +32 -168
- package/dist/components/form/engine/CompactRow.js.map +1 -1
- package/dist/components/form/engine/CompactToolbar.d.ts.map +1 -1
- package/dist/components/form/engine/CompactToolbar.js +21 -73
- package/dist/components/form/engine/CompactToolbar.js.map +1 -1
- package/dist/components/form/engine/FormEngine.d.ts +2 -66
- package/dist/components/form/engine/FormEngine.d.ts.map +1 -1
- package/dist/components/form/engine/FormEngine.js +200 -548
- package/dist/components/form/engine/FormEngine.js.map +1 -1
- package/dist/components/form/engine/OptionFieldMessages.d.ts +2 -35
- package/dist/components/form/engine/OptionFieldMessages.d.ts.map +1 -1
- package/dist/components/form/engine/OptionFieldMessages.js +6 -42
- package/dist/components/form/engine/OptionFieldMessages.js.map +1 -1
- package/dist/components/form/engine/_structuredData/SchemaDataView.d.ts.map +1 -1
- package/dist/components/form/engine/_structuredData/SchemaDataView.js +1 -27
- package/dist/components/form/engine/_structuredData/SchemaDataView.js.map +1 -1
- package/dist/components/form/engine/compactRowContext.d.ts +0 -5
- package/dist/components/form/engine/compactRowContext.d.ts.map +1 -1
- package/dist/components/form/engine/compactRowContext.js.map +1 -1
- package/dist/components/form/engine/compactRowStyles.d.ts +0 -12
- package/dist/components/form/engine/compactRowStyles.d.ts.map +1 -1
- package/dist/components/form/engine/compactRowStyles.js +46 -94
- package/dist/components/form/engine/compactRowStyles.js.map +1 -1
- package/dist/components/form/engine/compactToolbarContext.d.ts +0 -9
- package/dist/components/form/engine/compactToolbarContext.d.ts.map +1 -1
- package/dist/components/form/engine/compactToolbarContext.js.map +1 -1
- package/dist/components/form/engine/readFirst.d.ts +2 -38
- package/dist/components/form/engine/readFirst.d.ts.map +1 -1
- package/dist/components/form/engine/readFirst.js +6 -31
- package/dist/components/form/engine/readFirst.js.map +1 -1
- package/dist/components/form/engine/revealRow.d.ts +0 -13
- package/dist/components/form/engine/revealRow.d.ts.map +1 -1
- package/dist/components/form/engine/revealRow.js +1 -24
- package/dist/components/form/engine/revealRow.js.map +1 -1
- package/dist/components/form/engine/rowFocus.d.ts +1 -9
- package/dist/components/form/engine/rowFocus.d.ts.map +1 -1
- package/dist/components/form/engine/rowFocus.js +4 -17
- package/dist/components/form/engine/rowFocus.js.map +1 -1
- package/dist/components/form/expressions/DpqlRendering.d.ts.map +1 -1
- package/dist/components/form/expressions/DpqlRendering.js +1 -3
- package/dist/components/form/expressions/DpqlRendering.js.map +1 -1
- package/dist/components/form/expressions/ExpressionField.d.ts +8 -6
- package/dist/components/form/expressions/ExpressionField.d.ts.map +1 -1
- package/dist/components/form/expressions/ExpressionField.js +11 -13
- package/dist/components/form/expressions/ExpressionField.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentDetail.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentDetail.js +1 -4
- package/dist/components/form/expressions/builder/argumentDetail.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentLabel.d.ts +1 -3
- package/dist/components/form/expressions/builder/argumentLabel.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentLabel.js +26 -66
- package/dist/components/form/expressions/builder/argumentLabel.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentSlot.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentSlot.js +2 -3
- package/dist/components/form/expressions/builder/argumentSlot.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentWrapper.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentWrapper.js +6 -10
- package/dist/components/form/expressions/builder/argumentWrapper.js.map +1 -1
- package/dist/components/form/expressions/builder/confirmMismatchedTypesModal.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/confirmMismatchedTypesModal.js +8 -13
- package/dist/components/form/expressions/builder/confirmMismatchedTypesModal.js.map +1 -1
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.js +2 -4
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.js.map +1 -1
- package/dist/components/form/expressions/builder/index.d.ts +1 -6
- package/dist/components/form/expressions/builder/index.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/index.js +64 -110
- package/dist/components/form/expressions/builder/index.js.map +1 -1
- package/dist/components/form/expressions/builder/item.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/item.js +2 -4
- package/dist/components/form/expressions/builder/item.js.map +1 -1
- package/dist/components/form/expressions/builder/moveToPositionStrip.d.ts +1 -1
- package/dist/components/form/expressions/builder/moveToPositionStrip.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/moveToPositionStrip.js +7 -8
- package/dist/components/form/expressions/builder/moveToPositionStrip.js.map +1 -1
- package/dist/components/form/expressions/builder/renderTemplate.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/renderTemplate.js +1 -3
- package/dist/components/form/expressions/builder/renderTemplate.js.map +1 -1
- package/dist/components/form/expressions/expressionOperands.js +1 -1
- package/dist/components/form/expressions/renderExpressionToText.d.ts.map +1 -1
- package/dist/components/form/expressions/renderExpressionToText.js +0 -15
- package/dist/components/form/expressions/renderExpressionToText.js.map +1 -1
- package/dist/components/form/expressions/types.d.ts +1 -1
- package/dist/components/form/fields/Field.d.ts.map +1 -1
- package/dist/components/form/fields/Field.js +5 -9
- package/dist/components/form/fields/Field.js.map +1 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.d.ts +0 -7
- package/dist/components/form/fields/allowed-values/AllowedValues.d.ts.map +1 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.js +10 -34
- package/dist/components/form/fields/allowed-values/AllowedValues.js.map +1 -1
- package/dist/components/form/fields/array/ArrayAuto.d.ts.map +1 -1
- package/dist/components/form/fields/array/ArrayAuto.js +14 -31
- package/dist/components/form/fields/array/ArrayAuto.js.map +1 -1
- package/dist/components/form/fields/array/ArrayAutoField.d.ts.map +1 -1
- package/dist/components/form/fields/array/ArrayAutoField.js +19 -21
- package/dist/components/form/fields/array/ArrayAutoField.js.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.d.ts +1 -5
- package/dist/components/form/fields/auto/AutoFormField.d.ts.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.js +14 -37
- package/dist/components/form/fields/auto/AutoFormField.js.map +1 -1
- package/dist/components/form/fields/binary/Binary.d.ts.map +1 -1
- package/dist/components/form/fields/binary/Binary.js +1 -3
- package/dist/components/form/fields/binary/Binary.js.map +1 -1
- package/dist/components/form/fields/boolean/Boolean.d.ts +1 -7
- package/dist/components/form/fields/boolean/Boolean.d.ts.map +1 -1
- package/dist/components/form/fields/boolean/Boolean.js +2 -8
- package/dist/components/form/fields/boolean/Boolean.js.map +1 -1
- package/dist/components/form/fields/file/File.d.ts +1 -1
- package/dist/components/form/fields/file/File.d.ts.map +1 -1
- package/dist/components/form/fields/file/File.js +6 -18
- package/dist/components/form/fields/file/File.js.map +1 -1
- package/dist/components/form/fields/long-string/LongString.d.ts +1 -7
- package/dist/components/form/fields/long-string/LongString.d.ts.map +1 -1
- package/dist/components/form/fields/long-string/LongString.js +5 -15
- package/dist/components/form/fields/long-string/LongString.js.map +1 -1
- package/dist/components/form/fields/markdown/Markdown.d.ts.map +1 -1
- package/dist/components/form/fields/markdown/Markdown.js +1 -3
- package/dist/components/form/fields/markdown/Markdown.js.map +1 -1
- package/dist/components/form/fields/number/Number.d.ts +1 -4
- package/dist/components/form/fields/number/Number.d.ts.map +1 -1
- package/dist/components/form/fields/number/Number.js +7 -21
- package/dist/components/form/fields/number/Number.js.map +1 -1
- package/dist/components/form/fields/object/Object.d.ts +1 -9
- package/dist/components/form/fields/object/Object.d.ts.map +1 -1
- package/dist/components/form/fields/object/Object.js +8 -21
- package/dist/components/form/fields/object/Object.js.map +1 -1
- package/dist/components/form/fields/radio-group/RadioGroup.d.ts.map +1 -1
- package/dist/components/form/fields/radio-group/RadioGroup.js +7 -13
- package/dist/components/form/fields/radio-group/RadioGroup.js.map +1 -1
- package/dist/components/form/fields/rich-text/RichText.d.ts.map +1 -1
- package/dist/components/form/fields/rich-text/RichText.js +3 -6
- package/dist/components/form/fields/rich-text/RichText.js.map +1 -1
- package/dist/components/form/fields/rich-text/useTemplateTags.d.ts +0 -2
- package/dist/components/form/fields/rich-text/useTemplateTags.d.ts.map +1 -1
- package/dist/components/form/fields/rich-text/useTemplateTags.js +1 -7
- package/dist/components/form/fields/rich-text/useTemplateTags.js.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogLeafForm.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogLeafForm.js +8 -10
- package/dist/components/form/fields/schema-definition/CatalogLeafForm.js.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.d.ts +1 -1
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.js +27 -39
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.js.map +1 -1
- package/dist/components/form/fields/schema-definition/Hint.d.ts +3 -4
- package/dist/components/form/fields/schema-definition/Hint.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/Hint.js +2 -10
- package/dist/components/form/fields/schema-definition/Hint.js.map +1 -1
- package/dist/components/form/fields/schema-definition/InlineValidationBanner.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/InlineValidationBanner.js +1 -3
- package/dist/components/form/fields/schema-definition/InlineValidationBanner.js.map +1 -1
- package/dist/components/form/fields/schema-definition/Loader.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/Loader.js +2 -4
- package/dist/components/form/fields/schema-definition/Loader.js.map +1 -1
- package/dist/components/form/fields/schema-definition/MigrationsTab.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/MigrationsTab.js +26 -31
- package/dist/components/form/fields/schema-definition/MigrationsTab.js.map +1 -1
- package/dist/components/form/fields/schema-definition/TableEditor.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/TableEditor.js +1 -3
- package/dist/components/form/fields/schema-definition/TableEditor.js.map +1 -1
- package/dist/components/form/fields/schema-definition/TablesTab.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/TablesTab.js +23 -25
- package/dist/components/form/fields/schema-definition/TablesTab.js.map +1 -1
- package/dist/components/form/fields/schema-definition/index.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/index.js +14 -20
- package/dist/components/form/fields/schema-definition/index.js.map +1 -1
- package/dist/components/form/fields/select/Select.d.ts +1 -1
- package/dist/components/form/fields/select/Select.d.ts.map +1 -1
- package/dist/components/form/fields/select/Select.js +6 -13
- package/dist/components/form/fields/select/Select.js.map +1 -1
- package/dist/components/form/fields/select/SelectCollection.d.ts +2 -2
- package/dist/components/form/fields/select/SelectCollection.d.ts.map +1 -1
- package/dist/components/form/fields/select/SelectCollection.js +3 -11
- package/dist/components/form/fields/select/SelectCollection.js.map +1 -1
- package/dist/components/form/fields/template/TemplateBrowser.d.ts.map +1 -1
- package/dist/components/form/fields/template/TemplateBrowser.js +1 -3
- package/dist/components/form/fields/template/TemplateBrowser.js.map +1 -1
- package/dist/components/form/fields/template/TemplateField.d.ts +2 -2
- package/dist/components/form/fields/template/TemplateField.d.ts.map +1 -1
- package/dist/components/form/fields/template/TemplateField.js +57 -63
- package/dist/components/form/fields/template/TemplateField.js.map +1 -1
- package/dist/components/form/fields/template/TemplatePicker.d.ts +1 -7
- package/dist/components/form/fields/template/TemplatePicker.d.ts.map +1 -1
- package/dist/components/form/fields/template/TemplatePicker.js +16 -35
- package/dist/components/form/fields/template/TemplatePicker.js.map +1 -1
- package/dist/components/form/index.d.ts +0 -2
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/index.js +0 -2
- package/dist/components/form/index.js.map +1 -1
- package/dist/components/imageLightbox/ImageLightbox.d.ts.map +1 -1
- package/dist/components/imageLightbox/ImageLightbox.js +6 -10
- package/dist/components/imageLightbox/ImageLightbox.js.map +1 -1
- package/dist/components/log/Log.d.ts +1 -1
- package/dist/components/log/Log.d.ts.map +1 -1
- package/dist/components/log/Log.js +18 -21
- package/dist/components/log/Log.js.map +1 -1
- package/dist/components/menu/Menu.d.ts.map +1 -1
- package/dist/components/menu/Menu.js +1 -3
- package/dist/components/menu/Menu.js.map +1 -1
- package/dist/components/qonsoleSmartInput/useQonsoleSession.d.ts.map +1 -1
- package/dist/components/qonsoleSmartInput/useQonsoleSession.js +2 -3
- package/dist/components/qonsoleSmartInput/useQonsoleSession.js.map +1 -1
- package/dist/components/smartEditor/CompletionMenu.d.ts.map +1 -1
- package/dist/components/smartEditor/CompletionMenu.js +6 -13
- package/dist/components/smartEditor/CompletionMenu.js.map +1 -1
- package/dist/components/smartEditor/SmartEditor.d.ts.map +1 -1
- package/dist/components/smartEditor/SmartEditor.js +1 -3
- package/dist/components/smartEditor/SmartEditor.js.map +1 -1
- package/dist/components/smartEditor/completionStyle.d.ts +2 -17
- package/dist/components/smartEditor/completionStyle.d.ts.map +1 -1
- package/dist/components/smartEditor/completionStyle.js +4 -32
- package/dist/components/smartEditor/completionStyle.js.map +1 -1
- package/dist/components/smartEditor/templateCompletions.js +1 -1
- package/dist/components/smartEditor/templateCompletions.js.map +1 -1
- package/dist/components/smartEditor/useLspAutocomplete.d.ts +0 -5
- package/dist/components/smartEditor/useLspAutocomplete.d.ts.map +1 -1
- package/dist/components/smartEditor/useLspAutocomplete.js +20 -76
- package/dist/components/smartEditor/useLspAutocomplete.js.map +1 -1
- package/dist/components/supportTicket/AttachmentChips.d.ts.map +1 -1
- package/dist/components/supportTicket/AttachmentChips.js +2 -4
- package/dist/components/supportTicket/AttachmentChips.js.map +1 -1
- package/dist/components/supportTicket/InterfaceReferenceTags.d.ts +2 -3
- package/dist/components/supportTicket/InterfaceReferenceTags.d.ts.map +1 -1
- package/dist/components/supportTicket/InterfaceReferenceTags.js +6 -6
- package/dist/components/supportTicket/InterfaceReferenceTags.js.map +1 -1
- package/dist/components/supportTicket/ReferencePicker.d.ts +2 -3
- package/dist/components/supportTicket/ReferencePicker.d.ts.map +1 -1
- package/dist/components/supportTicket/ReferencePicker.js +25 -35
- package/dist/components/supportTicket/ReferencePicker.js.map +1 -1
- package/dist/components/supportTicket/TicketHeader.d.ts.map +1 -1
- package/dist/components/supportTicket/TicketHeader.js +1 -4
- package/dist/components/supportTicket/TicketHeader.js.map +1 -1
- package/dist/components/supportTicket/TicketMetaTags.d.ts +12 -19
- package/dist/components/supportTicket/TicketMetaTags.d.ts.map +1 -1
- package/dist/components/supportTicket/TicketMetaTags.js +6 -57
- package/dist/components/supportTicket/TicketMetaTags.js.map +1 -1
- package/dist/components/supportTicket/TicketReplyBox.d.ts +2 -3
- package/dist/components/supportTicket/TicketReplyBox.d.ts.map +1 -1
- package/dist/components/supportTicket/TicketReplyBox.js +18 -39
- package/dist/components/supportTicket/TicketReplyBox.js.map +1 -1
- package/dist/components/supportTicket/WorkspaceAccessStatus.d.ts +2 -10
- package/dist/components/supportTicket/WorkspaceAccessStatus.d.ts.map +1 -1
- package/dist/components/supportTicket/WorkspaceAccessStatus.js +17 -45
- package/dist/components/supportTicket/WorkspaceAccessStatus.js.map +1 -1
- package/dist/components/supportTicket/accessMeta.d.ts +1 -6
- package/dist/components/supportTicket/accessMeta.d.ts.map +1 -1
- package/dist/components/supportTicket/accessMeta.js +65 -83
- package/dist/components/supportTicket/accessMeta.js.map +1 -1
- package/dist/components/supportTicket/attachmentAccess.d.ts.map +1 -1
- package/dist/components/supportTicket/attachmentAccess.js +26 -14
- package/dist/components/supportTicket/attachmentAccess.js.map +1 -1
- package/dist/components/supportTicket/fileToAttachment.d.ts.map +1 -1
- package/dist/components/supportTicket/fileToAttachment.js +1 -4
- package/dist/components/supportTicket/fileToAttachment.js.map +1 -1
- package/dist/components/supportTicket/meta.d.ts +0 -22
- package/dist/components/supportTicket/meta.d.ts.map +1 -1
- package/dist/components/supportTicket/meta.js +72 -91
- package/dist/components/supportTicket/meta.js.map +1 -1
- package/dist/components/supportTicket/ticketModel.d.ts +1 -5
- package/dist/components/supportTicket/ticketModel.d.ts.map +1 -1
- package/dist/components/supportTicket/useLoadedImages.d.ts +0 -10
- package/dist/components/supportTicket/useLoadedImages.d.ts.map +1 -1
- package/dist/components/supportTicket/useLoadedImages.js +1 -64
- package/dist/components/supportTicket/useLoadedImages.js.map +1 -1
- package/dist/components/ticketReferences/TicketReferences.d.ts.map +1 -1
- package/dist/components/ticketReferences/TicketReferences.js +45 -56
- package/dist/components/ticketReferences/TicketReferences.js.map +1 -1
- package/dist/components/ticketThread/TicketThread.d.ts +2 -22
- package/dist/components/ticketThread/TicketThread.d.ts.map +1 -1
- package/dist/components/ticketThread/TicketThread.js +36 -57
- package/dist/components/ticketThread/TicketThread.js.map +1 -1
- package/dist/components/ticketThread/index.d.ts +1 -1
- package/dist/components/ticketThread/index.d.ts.map +1 -1
- package/dist/components/ticketThread/index.js +1 -2
- package/dist/components/ticketThread/index.js.map +1 -1
- package/dist/helpers/allowedValues.d.ts.map +1 -1
- package/dist/helpers/allowedValues.js +4 -11
- package/dist/helpers/allowedValues.js.map +1 -1
- package/dist/helpers/expressions.d.ts.map +1 -1
- package/dist/helpers/expressions.js +12 -7
- package/dist/helpers/expressions.js.map +1 -1
- package/dist/helpers/markdownText.d.ts +0 -9
- package/dist/helpers/markdownText.d.ts.map +1 -1
- package/dist/helpers/markdownText.js +2 -49
- package/dist/helpers/markdownText.js.map +1 -1
- package/dist/helpers/noDescription.d.ts +4 -4
- package/dist/helpers/noDescription.d.ts.map +1 -1
- package/dist/helpers/noDescription.js +6 -8
- package/dist/helpers/noDescription.js.map +1 -1
- package/dist/helpers/optionUiTypes.d.ts +3 -3
- package/dist/helpers/options.d.ts +2 -2
- package/dist/helpers/options.d.ts.map +1 -1
- package/dist/helpers/options.js +8 -11
- package/dist/helpers/options.js.map +1 -1
- package/dist/helpers/qorusTypeCatalogue.d.ts +1 -1
- package/dist/helpers/qorusTypeCatalogue.js +1 -1
- package/dist/helpers/reqraftLabels.d.ts +0 -83
- package/dist/helpers/reqraftLabels.d.ts.map +1 -1
- package/dist/helpers/reqraftLabels.js +11 -56
- package/dist/helpers/reqraftLabels.js.map +1 -1
- package/dist/helpers/singleLineString.d.ts.map +1 -1
- package/dist/helpers/singleLineString.js +0 -1
- package/dist/helpers/singleLineString.js.map +1 -1
- package/dist/helpers/templateItems.d.ts +1 -1
- package/dist/helpers/templateItems.js +1 -1
- package/dist/helpers/templates.js +1 -1
- package/dist/helpers/templates.js.map +1 -1
- package/dist/helpers/validations.d.ts +2 -14
- package/dist/helpers/validations.d.ts.map +1 -1
- package/dist/helpers/validations.js +178 -165
- package/dist/helpers/validations.js.map +1 -1
- package/dist/hooks/useWebSocket/useWebSocket.d.ts.map +1 -1
- package/dist/hooks/useWebSocket/useWebSocket.js +5 -6
- package/dist/hooks/useWebSocket/useWebSocket.js.map +1 -1
- package/dist/tracking/ui/ExperimentCard.d.ts +3 -3
- package/dist/tracking/ui/ExperimentCard.d.ts.map +1 -1
- package/dist/tracking/ui/ExperimentCard.js +45 -33
- package/dist/tracking/ui/ExperimentCard.js.map +1 -1
- package/dist/tracking/ui/ExperimentsOverlay.d.ts +3 -3
- package/dist/tracking/ui/ExperimentsOverlay.d.ts.map +1 -1
- package/dist/tracking/ui/ExperimentsOverlay.js +6 -8
- package/dist/tracking/ui/ExperimentsOverlay.js.map +1 -1
- package/dist/tracking/ui/card.d.ts +13 -9
- package/dist/tracking/ui/card.d.ts.map +1 -1
- package/dist/tracking/ui/card.js +107 -96
- package/dist/tracking/ui/card.js.map +1 -1
- package/dist/tracking/ui/client.d.ts +6 -0
- package/dist/tracking/ui/client.d.ts.map +1 -1
- package/dist/tracking/ui/client.js +2 -9
- package/dist/tracking/ui/client.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/composer/labels.d.ts +0 -22
- package/dist/components/composer/labels.d.ts.map +0 -1
- package/dist/components/composer/labels.js +0 -15
- package/dist/components/composer/labels.js.map +0 -1
- package/dist/components/form/engine/ItemAttention.d.ts +0 -12
- package/dist/components/form/engine/ItemAttention.d.ts.map +0 -1
- package/dist/components/form/engine/ItemAttention.js +0 -33
- package/dist/components/form/engine/ItemAttention.js.map +0 -1
- package/dist/components/form/engine/formAppearance.d.ts +0 -96
- package/dist/components/form/engine/formAppearance.d.ts.map +0 -1
- package/dist/components/form/engine/formAppearance.js +0 -156
- package/dist/components/form/engine/formAppearance.js.map +0 -1
- package/dist/components/form/engine/rowLabelled.d.ts +0 -9
- package/dist/components/form/engine/rowLabelled.d.ts.map +0 -1
- package/dist/components/form/engine/rowLabelled.js +0 -12
- package/dist/components/form/engine/rowLabelled.js.map +0 -1
- package/dist/components/form/engine/rowPlaces.d.ts +0 -43
- package/dist/components/form/engine/rowPlaces.d.ts.map +0 -1
- package/dist/components/form/engine/rowPlaces.js +0 -163
- package/dist/components/form/engine/rowPlaces.js.map +0 -1
- package/dist/components/form/expressions/labels.d.ts +0 -143
- package/dist/components/form/expressions/labels.d.ts.map +0 -1
- package/dist/components/form/expressions/labels.js +0 -123
- package/dist/components/form/expressions/labels.js.map +0 -1
- package/dist/components/form/fields/ChoiceGroupHeading.d.ts +0 -22
- package/dist/components/form/fields/ChoiceGroupHeading.d.ts.map +0 -1
- package/dist/components/form/fields/ChoiceGroupHeading.js +0 -40
- package/dist/components/form/fields/ChoiceGroupHeading.js.map +0 -1
- package/dist/components/form/fields/allowed-values/savedValues.d.ts +0 -30
- package/dist/components/form/fields/allowed-values/savedValues.d.ts.map +0 -1
- package/dist/components/form/fields/allowed-values/savedValues.js +0 -39
- package/dist/components/form/fields/allowed-values/savedValues.js.map +0 -1
- package/dist/components/form/fields/labels.d.ts +0 -72
- package/dist/components/form/fields/labels.d.ts.map +0 -1
- package/dist/components/form/fields/labels.js +0 -47
- package/dist/components/form/fields/labels.js.map +0 -1
- package/dist/components/form/fields/schema-definition/labels.d.ts +0 -123
- package/dist/components/form/fields/schema-definition/labels.d.ts.map +0 -1
- package/dist/components/form/fields/schema-definition/labels.js +0 -113
- package/dist/components/form/fields/schema-definition/labels.js.map +0 -1
- package/dist/components/form/fields/template/templatesListProps.d.ts +0 -11
- package/dist/components/form/fields/template/templatesListProps.d.ts.map +0 -1
- package/dist/components/form/fields/template/templatesListProps.js +0 -37
- package/dist/components/form/fields/template/templatesListProps.js.map +0 -1
- package/dist/components/log/labels.d.ts +0 -25
- package/dist/components/log/labels.d.ts.map +0 -1
- package/dist/components/log/labels.js +0 -22
- package/dist/components/log/labels.js.map +0 -1
- package/dist/components/supportTicket/labels.d.ts +0 -155
- package/dist/components/supportTicket/labels.d.ts.map +0 -1
- package/dist/components/supportTicket/labels.js +0 -214
- package/dist/components/supportTicket/labels.js.map +0 -1
- package/dist/components/supportTicket/ticketAttentionInks.d.ts +0 -23
- package/dist/components/supportTicket/ticketAttentionInks.d.ts.map +0 -1
- package/dist/components/supportTicket/ticketAttentionInks.js +0 -42
- package/dist/components/supportTicket/ticketAttentionInks.js.map +0 -1
- package/dist/helpers/fieldDescription.d.ts +0 -16
- package/dist/helpers/fieldDescription.d.ts.map +0 -1
- package/dist/helpers/fieldDescription.js +0 -40
- package/dist/helpers/fieldDescription.js.map +0 -1
- package/dist/helpers/sentenceCase.d.ts +0 -9
- package/dist/helpers/sentenceCase.d.ts.map +0 -1
- package/dist/helpers/sentenceCase.js +0 -22
- package/dist/helpers/sentenceCase.js.map +0 -1
- package/dist/helpers/validationLabels.d.ts +0 -190
- package/dist/helpers/validationLabels.d.ts.map +0 -1
- package/dist/helpers/validationLabels.js +0 -210
- package/dist/helpers/validationLabels.js.map +0 -1
- package/dist/hooks/useDestructiveButtonProps.d.ts +0 -22
- package/dist/hooks/useDestructiveButtonProps.d.ts.map +0 -1
- package/dist/hooks/useDestructiveButtonProps.js +0 -46
- package/dist/hooks/useDestructiveButtonProps.js.map +0 -1
- package/dist/tracking/ui/labels.d.ts +0 -198
- package/dist/tracking/ui/labels.d.ts.map +0 -1
- package/dist/tracking/ui/labels.js +0 -171
- package/dist/tracking/ui/labels.js.map +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ItemAttention = void 0;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var reqore_1 = require("@qoretechnologies/reqore");
|
|
6
|
-
var useTheme_1 = require("@qoretechnologies/reqore/dist/hooks/useTheme");
|
|
7
|
-
var formAppearance_1 = require("./formAppearance");
|
|
8
|
-
var reqraftLabels_1 = require("../../../helpers/reqraftLabels");
|
|
9
|
-
/**
|
|
10
|
-
* What a nested sub-form still needs, said by the item it sits in.
|
|
11
|
-
*
|
|
12
|
-
* In the calm look a sub-form nested in a row draws no readiness line of its
|
|
13
|
-
* own, so its item's header says it instead, in the readiness line's words and
|
|
14
|
-
* colours ("1 need attention" in amber, "2 to fill in" in the quiet colour) —
|
|
15
|
-
* and says nothing at all when nothing is left, so a collapsed item still tells
|
|
16
|
-
* you it needs you and a finished one is quiet.
|
|
17
|
-
*/
|
|
18
|
-
var ItemAttention = function (_a) {
|
|
19
|
-
var _b = _a.count, count = _b === void 0 ? 0 : _b, _c = _a.faults, faults = _c === void 0 ? 0 : _c;
|
|
20
|
-
var theme = (0, useTheme_1.useReqoreTheme)();
|
|
21
|
-
var feWords = (0, reqraftLabels_1.useReqraftLabels)().formEngine;
|
|
22
|
-
if (!count) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
var colours = (0, formAppearance_1.getCalmAttentionColours)(theme);
|
|
26
|
-
return ((0, jsx_runtime_1.jsxs)("span", { className: 'array-auto-item-attention', style: { display: 'inline-flex', alignItems: 'center', gap: 4, whiteSpace: 'nowrap' }, children: [faults ?
|
|
27
|
-
(0, jsx_runtime_1.jsx)(reqore_1.ReqoreSpan, { size: 'small', effect: { color: colours.fault }, children: feWords.needAttentionCount(faults) })
|
|
28
|
-
: null, count > faults ?
|
|
29
|
-
(0, jsx_runtime_1.jsxs)(reqore_1.ReqoreSpan, { size: 'small', effect: { color: colours.pending }, children: [faults ? '· ' : '', feWords.toFillInCount(count - faults)] })
|
|
30
|
-
: null] }));
|
|
31
|
-
};
|
|
32
|
-
exports.ItemAttention = ItemAttention;
|
|
33
|
-
//# sourceMappingURL=ItemAttention.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ItemAttention.js","sourceRoot":"","sources":["../../../../src/components/form/engine/ItemAttention.tsx"],"names":[],"mappings":";;;;AAAA,mDAAsD;AAEtD,yEAA8E;AAE9E,mDAA2D;AAC3D,gEAAkE;AAElE;;;;;;;;GAQG;AACI,IAAM,aAAa,GAAG,UAAC,EAAkD;QAAhD,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EAAE,cAAU,EAAV,MAAM,mBAAG,CAAC,KAAA;IACnD,IAAM,KAAK,GAAG,IAAA,yBAAc,GAAE,CAAC;IAC/B,IAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC,UAAU,CAAC;IAE9C,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAM,OAAO,GAAG,IAAA,wCAAuB,EAAC,KAAK,CAAC,CAAC;IAE/C,OAAO,CACL,kCACE,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,aAEpF,MAAM,CAAC,CAAC;gBACP,uBAAC,mBAAU,IAAC,IAAI,EAAC,OAAO,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,KAA2B,EAAE,YAC5E,OAAO,CAAC,kBAAkB,CAAC,MAAM,CAAC,GACxB;gBACf,CAAC,CAAC,IAAI,EACL,KAAK,GAAG,MAAM,CAAC,CAAC;gBACf,wBAAC,mBAAU,IAAC,IAAI,EAAC,OAAO,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,OAA6B,EAAE,aAC9E,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAClB,OAAO,CAAC,aAAa,CAAC,KAAK,GAAG,MAAM,CAAC,IAC3B;gBACf,CAAC,CAAC,IAAI,IACD,CACR,CAAC;AACJ,CAAC,CAAC;AA5BW,QAAA,aAAa,iBA4BxB"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IReqoreTheme } from '@qoretechnologies/reqore/dist/constants/theme';
|
|
3
|
-
/**
|
|
4
|
-
* How a form looks. The look only: which fields exist, how they bucket, what a
|
|
5
|
-
* click does and what is validated are identical in every appearance.
|
|
6
|
-
*
|
|
7
|
-
* - `'calm'` (the default) — colour only where something needs a person. The
|
|
8
|
-
* status boxes are plain panels on the theme's panel surface with label/value
|
|
9
|
-
* rows split by hairlines; labels are grey; a missing required value is an
|
|
10
|
-
* amber word instead of a red asterisk and message; counts are quiet numbers;
|
|
11
|
-
* a healthy row carries no dot; Yes/No are plain words; nothing is forced
|
|
12
|
-
* into uppercase. A one-of group (`required_groups`) says what it needs once,
|
|
13
|
-
* on its own line, until someone has been to it; then its members say it as a
|
|
14
|
-
* required field does. The pinned toolbar is opaque, in the host's color. No
|
|
15
|
-
* blue but for a filter that is on, no purple but for an AI or Qonsole
|
|
16
|
-
* action: the lists of values (templates, completions) are neutral too. A
|
|
17
|
-
* destructive control is a red icon with no fill (`useDestructiveButtonProps`).
|
|
18
|
-
* The expression builder follows: names in sentence case with no type tag,
|
|
19
|
-
* neutral cards, "And" / "Or" as words, a missing operand said quietly on
|
|
20
|
-
* itself (as a fact in a read-only builder), what is wrong said in words.
|
|
21
|
-
* Every color is read from the theme, a light one included.
|
|
22
|
-
* - `'classic'` — the earlier read-first look, for a host that asks for it:
|
|
23
|
-
* tinted status boxes, an intent-coloured completion meter, a status dot on
|
|
24
|
-
* every row.
|
|
25
|
-
*/
|
|
26
|
-
export type TFormEngineAppearance = 'calm' | 'classic';
|
|
27
|
-
/**
|
|
28
|
-
* The appearance in force for everything below it: the engine's own rows and
|
|
29
|
-
* toolbar, every field editor it mounts, and every nested (`arg_schema`)
|
|
30
|
-
* sub-form, which inherits it unless it is given one of its own.
|
|
31
|
-
*
|
|
32
|
-
* `FormEngine` provides it from its `appearance` prop. A host may also wrap
|
|
33
|
-
* its whole tree in it, to set the appearance once for every form — and for
|
|
34
|
-
* the field components it renders outside a form.
|
|
35
|
-
*/
|
|
36
|
-
export declare const FormAppearanceContext: import("react").Context<TFormEngineAppearance>;
|
|
37
|
-
export declare const FormAppearanceProvider: import("react").Provider<TFormEngineAppearance>;
|
|
38
|
-
/** The appearance in force here; `'calm'` when nothing set one. */
|
|
39
|
-
export declare const useFormAppearance: () => TFormEngineAppearance;
|
|
40
|
-
/** Shorthand for the one question most call sites ask. */
|
|
41
|
-
export declare const useIsCalmForm: () => boolean;
|
|
42
|
-
/**
|
|
43
|
-
* The surface a calm section paints, matching the one Reqore gives a panel:
|
|
44
|
-
* `theme.panel.main` when the theme declares one, else the panel shade Reqore
|
|
45
|
-
* derives from `main`. Read here rather than through Reqore's own helper so the
|
|
46
|
-
* whole peer range keeps working — the helper arrived after the floor.
|
|
47
|
-
*/
|
|
48
|
-
export declare const getCalmPanelSurface: (theme: IReqoreTheme) => string;
|
|
49
|
-
/** The neutral 1px edge of a calm section, and of every row inside it. */
|
|
50
|
-
export declare const getCalmPanelHairline: (theme: IReqoreTheme) => string;
|
|
51
|
-
/** The readiness words' two colours: amber for a fault, and the quiet text
|
|
52
|
-
* colour for what is only still to fill in (the next step, not a warning). */
|
|
53
|
-
export declare const getCalmAttentionColours: (theme: IReqoreTheme) => {
|
|
54
|
-
fault: string;
|
|
55
|
-
pending: string;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* The theme's text color, as `#rrggbb` so an alpha can follow it: the theme's own (`text.color`) when it gives
|
|
59
|
-
* one; else the text that reads on its `main` - Reqore's dark text on a light theme (a light theme gave none, and
|
|
60
|
-
* the calm labels and the readiness line were drawn near-white on a light panel), and `dark` on a dark one, the
|
|
61
|
-
* light text the form always drew there.
|
|
62
|
-
*/
|
|
63
|
-
export declare const getThemeTextColour: (theme: IReqoreTheme, dark: string) => string;
|
|
64
|
-
/**
|
|
65
|
-
* `color` moved away from its surfaces until it reads at `min` contrast on each
|
|
66
|
-
* of them (WCAG AA for text by default): lighter on dark surfaces, darker on
|
|
67
|
-
* light ones. A colour that already reads comes back unchanged. The same rule as
|
|
68
|
-
* Reqore's `getReadableAccentColor`, which only arrived in Reqore 0.77.2 — read
|
|
69
|
-
* here so the whole peer range works.
|
|
70
|
-
*/
|
|
71
|
-
export declare const getReadableOn: (color: string, surfaces: string | string[], min?: number) => string;
|
|
72
|
-
/**
|
|
73
|
-
* An intent as TEXT in the calm look. A theme's intents are fills — Reqore's
|
|
74
|
-
* danger is #a82a2a, which as a small line on a near-black form reads at about
|
|
75
|
-
* 2.3:1 — so every calm word that is coloured by what it means (a failure, a
|
|
76
|
-
* fault, the amber "Required · add a value") takes the fill moved until it
|
|
77
|
-
* reads on both surfaces a calm form puts text on: its sections, and the page
|
|
78
|
-
* a read-only form or a nested item sits on directly.
|
|
79
|
-
*/
|
|
80
|
-
export declare const getCalmIntentText: (theme: IReqoreTheme, intent: string) => string;
|
|
81
|
-
/**
|
|
82
|
-
* The intent a NOTE takes in the calm look: one that only informs (info,
|
|
83
|
-
* success, or none) takes no colour — blue is kept for "a filter is on", green
|
|
84
|
-
* for a healthy figure — while a warning or a failure keeps its intent, because
|
|
85
|
-
* those are what a person has to act on. Every note a calm form draws asks this.
|
|
86
|
-
*/
|
|
87
|
-
export declare const calmNoteIntent: <T extends string>(intent: T, calm: boolean) => T | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* What a calm form writes in place of an empty required value, in English. Editable: what
|
|
90
|
-
* to do about it. Read-only: only what is the case, because the reader cannot
|
|
91
|
-
* add anything. What a form draws is the host's words for them
|
|
92
|
-
* (`setReqraftLabels({ formEngine: { calmRequired, calmRequiredRead } })`).
|
|
93
|
-
*/
|
|
94
|
-
export declare const CALM_REQUIRED_LABEL: string;
|
|
95
|
-
export declare const CALM_REQUIRED_READ_LABEL: string;
|
|
96
|
-
//# sourceMappingURL=formAppearance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formAppearance.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/formAppearance.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAW7E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvD;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,gDAA8D,CAAC;AAEjG,eAAO,MAAM,sBAAsB,iDAAiC,CAAC;AAErE,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,QAAO,qBACQ,CAAC;AAE9C,0DAA0D;AAC1D,eAAO,MAAM,aAAa,QAAO,OAAyC,CAAC;AAiB3E;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,UAAW,YAAY,KAAG,MACmC,CAAC;AAE9F,0EAA0E;AAC1E,eAAO,MAAM,oBAAoB,UAAW,YAAY,KAAG,MACqC,CAAC;AAEjG;+EAC+E;AAC/E,eAAO,MAAM,uBAAuB,UAC3B,YAAY,KAClB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAGjC,CAAC;AAYH;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,YAAY,QAAQ,MAAM,KAAG,MAOtE,CAAC;AAgBF;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,UACjB,MAAM,YACH,MAAM,GAAG,MAAM,EAAE,QACtB,MAAM,KACV,MAiBF,CAAC;AASF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,UAAW,YAAY,UAAU,MAAM,KAAG,MAMrE,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,cAAc,6BACjB,CAAC,QACH,OAAO,KACZ,CAAC,GAAG,SAC8E,CAAC;AAEtF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAAiD,CAAC;AAClF,eAAO,MAAM,wBAAwB,QAAqD,CAAC"}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CALM_REQUIRED_READ_LABEL = exports.CALM_REQUIRED_LABEL = exports.calmNoteIntent = exports.getCalmIntentText = exports.getReadableOn = exports.getThemeTextColour = exports.getCalmAttentionColours = exports.getCalmPanelHairline = exports.getCalmPanelSurface = exports.useIsCalmForm = exports.useFormAppearance = exports.FormAppearanceProvider = exports.FormAppearanceContext = void 0;
|
|
4
|
-
var colors_1 = require("@qoretechnologies/reqore/dist/helpers/colors");
|
|
5
|
-
var polished_1 = require("polished");
|
|
6
|
-
var react_1 = require("react");
|
|
7
|
-
var reqraftLabels_1 = require("../../../helpers/reqraftLabels");
|
|
8
|
-
/**
|
|
9
|
-
* The appearance in force for everything below it: the engine's own rows and
|
|
10
|
-
* toolbar, every field editor it mounts, and every nested (`arg_schema`)
|
|
11
|
-
* sub-form, which inherits it unless it is given one of its own.
|
|
12
|
-
*
|
|
13
|
-
* `FormEngine` provides it from its `appearance` prop. A host may also wrap
|
|
14
|
-
* its whole tree in it, to set the appearance once for every form — and for
|
|
15
|
-
* the field components it renders outside a form.
|
|
16
|
-
*/
|
|
17
|
-
exports.FormAppearanceContext = (0, react_1.createContext)(undefined);
|
|
18
|
-
exports.FormAppearanceProvider = exports.FormAppearanceContext.Provider;
|
|
19
|
-
/** The appearance in force here; `'calm'` when nothing set one. */
|
|
20
|
-
var useFormAppearance = function () { var _a; return (_a = (0, react_1.useContext)(exports.FormAppearanceContext)) !== null && _a !== void 0 ? _a : 'calm'; };
|
|
21
|
-
exports.useFormAppearance = useFormAppearance;
|
|
22
|
-
/** Shorthand for the one question most call sites ask. */
|
|
23
|
-
var useIsCalmForm = function () { return (0, exports.useFormAppearance)() === 'calm'; };
|
|
24
|
-
exports.useIsCalmForm = useIsCalmForm;
|
|
25
|
-
/** The theme's own panel surface, when it declares one (Reqore >= 0.78.6). */
|
|
26
|
-
var getDeclaredPanelSurface = function (theme) {
|
|
27
|
-
var themed = theme;
|
|
28
|
-
// Same rule as Reqore's `getThemePanelSurface`: a component whose `main` was
|
|
29
|
-
// moved off the original (a custom theme, an intent) keeps deriving its own.
|
|
30
|
-
return themed.panel && (!themed.originalMain || themed.main === themed.originalMain) ?
|
|
31
|
-
themed.panel
|
|
32
|
-
: undefined;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* The surface a calm section paints, matching the one Reqore gives a panel:
|
|
36
|
-
* `theme.panel.main` when the theme declares one, else the panel shade Reqore
|
|
37
|
-
* derives from `main`. Read here rather than through Reqore's own helper so the
|
|
38
|
-
* whole peer range keeps working — the helper arrived after the floor.
|
|
39
|
-
*/
|
|
40
|
-
var getCalmPanelSurface = function (theme) { var _a, _b; return (_b = (_a = getDeclaredPanelSurface(theme)) === null || _a === void 0 ? void 0 : _a.main) !== null && _b !== void 0 ? _b : (0, colors_1.changeDarkness)((0, colors_1.getMainBackgroundColor)(theme), 0.03); };
|
|
41
|
-
exports.getCalmPanelSurface = getCalmPanelSurface;
|
|
42
|
-
/** The neutral 1px edge of a calm section, and of every row inside it. */
|
|
43
|
-
var getCalmPanelHairline = function (theme) { var _a, _b; return (_b = (_a = getDeclaredPanelSurface(theme)) === null || _a === void 0 ? void 0 : _a.border) !== null && _b !== void 0 ? _b : (0, colors_1.changeLightness)((0, colors_1.getMainBackgroundColor)(theme), 0.08); };
|
|
44
|
-
exports.getCalmPanelHairline = getCalmPanelHairline;
|
|
45
|
-
/** The readiness words' two colours: amber for a fault, and the quiet text
|
|
46
|
-
* colour for what is only still to fill in (the next step, not a warning). */
|
|
47
|
-
var getCalmAttentionColours = function (theme) { return ({
|
|
48
|
-
fault: (0, exports.getCalmIntentText)(theme, 'warning'),
|
|
49
|
-
pending: "".concat((0, exports.getThemeTextColour)(theme, '#e8e8e8'), "a6"),
|
|
50
|
-
}); };
|
|
51
|
-
exports.getCalmAttentionColours = getCalmAttentionColours;
|
|
52
|
-
/** `#rgb` as `#rrggbb` (polished shortens the colours it returns when it can). */
|
|
53
|
-
var fullHex = function (hex) {
|
|
54
|
-
return /^#[0-9a-f]{3}$/i.test(hex) ?
|
|
55
|
-
"#".concat(hex
|
|
56
|
-
.slice(1)
|
|
57
|
-
.split('')
|
|
58
|
-
.map(function (digit) { return digit + digit; })
|
|
59
|
-
.join(''))
|
|
60
|
-
: hex;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* The theme's text color, as `#rrggbb` so an alpha can follow it: the theme's own (`text.color`) when it gives
|
|
64
|
-
* one; else the text that reads on its `main` - Reqore's dark text on a light theme (a light theme gave none, and
|
|
65
|
-
* the calm labels and the readiness line were drawn near-white on a light panel), and `dark` on a dark one, the
|
|
66
|
-
* light text the form always drew there.
|
|
67
|
-
*/
|
|
68
|
-
var getThemeTextColour = function (theme, dark) {
|
|
69
|
-
var _a;
|
|
70
|
-
var own = (_a = theme.text) === null || _a === void 0 ? void 0 : _a.color;
|
|
71
|
-
if (own) {
|
|
72
|
-
return own;
|
|
73
|
-
}
|
|
74
|
-
var main = fullHex((0, colors_1.getMainBackgroundColor)(theme));
|
|
75
|
-
return /^#[0-9a-f]{6}/i.test(main) && luminance(main) > 0.4 ? fullHex((0, colors_1.getReadableColor)(theme)) : dark;
|
|
76
|
-
};
|
|
77
|
-
exports.getThemeTextColour = getThemeTextColour;
|
|
78
|
-
/** WCAG relative luminance of a `#rrggbb` colour (any alpha suffix ignored). */
|
|
79
|
-
var luminance = function (hex) {
|
|
80
|
-
var _a = [1, 3, 5].map(function (start) {
|
|
81
|
-
var channel = parseInt(hex.slice(start, start + 2), 16) / 255;
|
|
82
|
-
return channel <= 0.03928 ? channel / 12.92 : Math.pow(((channel + 0.055) / 1.055), 2.4);
|
|
83
|
-
}), r = _a[0], g = _a[1], b = _a[2];
|
|
84
|
-
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
|
|
85
|
-
};
|
|
86
|
-
var contrast = function (a, b) {
|
|
87
|
-
var _a = [luminance(a), luminance(b)].sort(function (x, y) { return y - x; }), light = _a[0], dark = _a[1];
|
|
88
|
-
return (light + 0.05) / (dark + 0.05);
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* `color` moved away from its surfaces until it reads at `min` contrast on each
|
|
92
|
-
* of them (WCAG AA for text by default): lighter on dark surfaces, darker on
|
|
93
|
-
* light ones. A colour that already reads comes back unchanged. The same rule as
|
|
94
|
-
* Reqore's `getReadableAccentColor`, which only arrived in Reqore 0.77.2 — read
|
|
95
|
-
* here so the whole peer range works.
|
|
96
|
-
*/
|
|
97
|
-
var getReadableOn = function (color, surfaces, min) {
|
|
98
|
-
if (min === void 0) { min = 4.5; }
|
|
99
|
-
var isHex = function (value) { return /^#[0-9a-f]{6}/i.test(value); };
|
|
100
|
-
var from = fullHex(color);
|
|
101
|
-
var on = (Array.isArray(surfaces) ? surfaces : [surfaces]).map(fullHex).filter(isHex);
|
|
102
|
-
if (!isHex(from) || !on.length) {
|
|
103
|
-
return color;
|
|
104
|
-
}
|
|
105
|
-
var onLight = luminance(on[0]) > 0.4;
|
|
106
|
-
var reads = function (accent) { return on.every(function (surface) { return contrast(accent, surface) >= min; }); };
|
|
107
|
-
var accent = from.slice(0, 7);
|
|
108
|
-
// 25 steps of 4% cover the whole range, so the loop always ends. polished's
|
|
109
|
-
// lighten/darken, not Reqore's changeLightness/changeDarkness: those turn
|
|
110
|
-
// round once a colour is light enough, so the loop went back and forth.
|
|
111
|
-
for (var step = 0; step < 25 && !reads(accent); step++) {
|
|
112
|
-
accent = fullHex(onLight ? (0, polished_1.darken)(0.04, accent) : (0, polished_1.lighten)(0.04, accent));
|
|
113
|
-
}
|
|
114
|
-
return accent;
|
|
115
|
-
};
|
|
116
|
-
exports.getReadableOn = getReadableOn;
|
|
117
|
-
var INTENT_FALLBACK = {
|
|
118
|
-
danger: '#e35a5a',
|
|
119
|
-
warning: '#d17c29',
|
|
120
|
-
info: '#3b8eea',
|
|
121
|
-
success: '#4a7110',
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* An intent as TEXT in the calm look. A theme's intents are fills — Reqore's
|
|
125
|
-
* danger is #a82a2a, which as a small line on a near-black form reads at about
|
|
126
|
-
* 2.3:1 — so every calm word that is coloured by what it means (a failure, a
|
|
127
|
-
* fault, the amber "Required · add a value") takes the fill moved until it
|
|
128
|
-
* reads on both surfaces a calm form puts text on: its sections, and the page
|
|
129
|
-
* a read-only form or a nested item sits on directly.
|
|
130
|
-
*/
|
|
131
|
-
var getCalmIntentText = function (theme, intent) {
|
|
132
|
-
var _a;
|
|
133
|
-
return (0, exports.getReadableOn)(((_a = theme.intents) === null || _a === void 0 ? void 0 : _a[intent]) ||
|
|
134
|
-
INTENT_FALLBACK[intent] ||
|
|
135
|
-
INTENT_FALLBACK.info, [(0, exports.getCalmPanelSurface)(theme), (0, colors_1.getMainBackgroundColor)(theme)]);
|
|
136
|
-
};
|
|
137
|
-
exports.getCalmIntentText = getCalmIntentText;
|
|
138
|
-
/**
|
|
139
|
-
* The intent a NOTE takes in the calm look: one that only informs (info,
|
|
140
|
-
* success, or none) takes no colour — blue is kept for "a filter is on", green
|
|
141
|
-
* for a healthy figure — while a warning or a failure keeps its intent, because
|
|
142
|
-
* those are what a person has to act on. Every note a calm form draws asks this.
|
|
143
|
-
*/
|
|
144
|
-
var calmNoteIntent = function (intent, calm) {
|
|
145
|
-
return calm && (!intent || intent === 'info' || intent === 'success') ? undefined : intent;
|
|
146
|
-
};
|
|
147
|
-
exports.calmNoteIntent = calmNoteIntent;
|
|
148
|
-
/**
|
|
149
|
-
* What a calm form writes in place of an empty required value, in English. Editable: what
|
|
150
|
-
* to do about it. Read-only: only what is the case, because the reader cannot
|
|
151
|
-
* add anything. What a form draws is the host's words for them
|
|
152
|
-
* (`setReqraftLabels({ formEngine: { calmRequired, calmRequiredRead } })`).
|
|
153
|
-
*/
|
|
154
|
-
exports.CALM_REQUIRED_LABEL = reqraftLabels_1.DEFAULT_REQRAFT_LABELS.formEngine.calmRequired;
|
|
155
|
-
exports.CALM_REQUIRED_READ_LABEL = reqraftLabels_1.DEFAULT_REQRAFT_LABELS.formEngine.calmRequiredRead;
|
|
156
|
-
//# sourceMappingURL=formAppearance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3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AS;IACjB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF;;;;;;;GAOG;AACI,IAAM,iBAAiB,GAAG,UAAC,KAAmB,EAAE,MAAc;;IACnE,OAAA,IAAA,qBAAa,EACX,CAAA,MAAC,KAAK,CAAC,OAA8C,0CAAG,MAAM,CAAC;QAC7D,eAAe,CAAC,MAAM,CAAC;QACvB,eAAe,CAAC,IAAI,EACtB,CAAC,IAAA,2BAAmB,EAAC,KAAK,CAAC,EAAE,IAAA,+BAAsB,EAAC,KAAK,CAAC,CAAC,CAC5D,CAAA;CAAA,CAAC;AANS,QAAA,iBAAiB,qBAM1B;AAEJ;;;;;GAKG;AACI,IAAM,cAAc,GAAG,UAC5B,MAAS,EACT,IAAa;IAEb,OAAA,IAAI,IAAI,CAAC,CAAC,MAAM,IAAI,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;AAAnF,CAAmF,CAAC;AAJzE,QAAA,cAAc,kBAI2D;AAEtF;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsB,CAAC,UAAU,CAAC,YAAY,CAAC;AACrE,QAAA,wBAAwB,GAAG,sCAAsB,CAAC,UAAU,CAAC,gBAAgB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* "You are drawn under a row's label." True inside a compact row's editor, whose row already
|
|
4
|
-
* names the field ("Language"), so a control that would head itself with the field's name
|
|
5
|
-
* ("Language:" over its choices) says it twice. Such a control reads this and leaves its own
|
|
6
|
-
* heading out; drawn anywhere else, the heading is the only name the choices have.
|
|
7
|
-
*/
|
|
8
|
-
export declare const RowLabelledContext: import("react").Context<boolean>;
|
|
9
|
-
//# sourceMappingURL=rowLabelled.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rowLabelled.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/rowLabelled.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,kCAAgC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RowLabelledContext = void 0;
|
|
4
|
-
var react_1 = require("react");
|
|
5
|
-
/**
|
|
6
|
-
* "You are drawn under a row's label." True inside a compact row's editor, whose row already
|
|
7
|
-
* names the field ("Language"), so a control that would head itself with the field's name
|
|
8
|
-
* ("Language:" over its choices) says it twice. Such a control reads this and leaves its own
|
|
9
|
-
* heading out; drawn anywhere else, the heading is the only name the choices have.
|
|
10
|
-
*/
|
|
11
|
-
exports.RowLabelledContext = (0, react_1.createContext)(false);
|
|
12
|
-
//# sourceMappingURL=rowLabelled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rowLabelled.js","sourceRoot":"","sources":["../../../../src/components/form/engine/rowLabelled.ts"],"names":[],"mappings":";;;AAAA,+BAAsC;AAEtC;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,IAAA,qBAAa,EAAU,KAAK,CAAC,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
/** The nodes the rows are drawn into, by row: one each, for the form's life. */
|
|
3
|
-
export interface IRowHosts {
|
|
4
|
-
hostFor: (name: string) => HTMLElement;
|
|
5
|
-
}
|
|
6
|
-
export declare const useRowHosts: () => IRowHosts;
|
|
7
|
-
/**
|
|
8
|
-
* The place a box keeps for a row: the row's node is moved into it, and out of it before it goes. A focus the row
|
|
9
|
-
* held is given back where it lands (in the same commit: the place it leaves goes first).
|
|
10
|
-
*/
|
|
11
|
-
export declare const RowPlace: ({ host }: {
|
|
12
|
-
host: HTMLElement;
|
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
/**
|
|
15
|
-
* The rows, each drawn into its own node from here: one place in the form that does not change, so a row is never
|
|
16
|
-
* drawn anew for moving. A focus kept for a row that went and did not come back in the same commit is dropped.
|
|
17
|
-
*/
|
|
18
|
-
export declare const RowStage: ({ rows }: {
|
|
19
|
-
rows: ReactNode[];
|
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
/**
|
|
22
|
-
* Which boxes have their rows drawn: the ones that are open. The form knows which boxes it opens (`expected`),
|
|
23
|
-
* and a box's `OpenBoxMark` says which are - it is mounted with the box's content, which a collapsed box does
|
|
24
|
-
* not mount. A row is drawn while either says its box is open, so it is there the moment its box opens and goes
|
|
25
|
-
* once the box has closed; when only the mark changes that, the form draws again.
|
|
26
|
-
*/
|
|
27
|
-
export interface IOpenBoxes {
|
|
28
|
-
/** Whether the rows of a box are drawn, given whether the form opens it. */
|
|
29
|
-
drawsRows: (box: string, expected: boolean) => boolean;
|
|
30
|
-
/** What a box's mark reports: its content is on show, or no longer. */
|
|
31
|
-
onShown: (box: string, shown: boolean) => void;
|
|
32
|
-
/** Whether a box's content is on show now. */
|
|
33
|
-
isShown: (box: string) => boolean;
|
|
34
|
-
}
|
|
35
|
-
export declare const useOpenBoxes: () => IOpenBoxes;
|
|
36
|
-
/** Mounted with a box's content: tells the form the box is open (`useOpenBoxes`). Draws nothing. */
|
|
37
|
-
export declare const OpenBoxMark: ({ box, onShown, }: {
|
|
38
|
-
box: string;
|
|
39
|
-
onShown: IOpenBoxes['onShown'];
|
|
40
|
-
}) => any;
|
|
41
|
-
/** A row drawn into its node: what a form's rows are, at the stage. */
|
|
42
|
-
export declare const stagedRow: (row: ReactNode, host: HTMLElement, name: string) => import("react").ReactPortal;
|
|
43
|
-
//# sourceMappingURL=rowPlaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rowPlaces.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/rowPlaces.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAgD,MAAM,OAAO,CAAC;AAsBhF,gFAAgF;AAChF,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,WAAW,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,QAAO,SAiB9B,CAAC;AAkFF;;;GAGG;AACH,eAAO,MAAM,QAAQ,aAAc;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,4CAiBvD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,aAAc;IAAE,IAAI,EAAE,SAAS,EAAE,CAAA;CAAE,4CAKvD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB,4EAA4E;IAC5E,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAC;IACvD,uEAAuE;IACvE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,8CAA8C;IAC9C,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACnC;AAED,eAAO,MAAM,YAAY,QAAO,UAoB/B,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,WAAW,sBAGrB;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;CAChC,QAMA,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,SAAS,QAAS,SAAS,QAAQ,WAAW,QAAQ,MAAM,gCAC1C,CAAC"}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stagedRow = exports.OpenBoxMark = exports.useOpenBoxes = exports.RowStage = exports.RowPlace = exports.useRowHosts = void 0;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
// Copyright 2026 Qore Technologies, s.r.o.
|
|
6
|
-
var react_dom_1 = require("react-dom");
|
|
7
|
-
var react_1 = require("react");
|
|
8
|
-
var useRowHosts = function () {
|
|
9
|
-
var hosts = (0, react_1.useRef)(new Map());
|
|
10
|
-
return (0, react_1.useMemo)(function () { return ({
|
|
11
|
-
hostFor: function (name) {
|
|
12
|
-
var host = hosts.current.get(name);
|
|
13
|
-
if (!host) {
|
|
14
|
-
host = document.createElement('div');
|
|
15
|
-
host.className = 'readfirst-row-host';
|
|
16
|
-
host.dataset.row = name;
|
|
17
|
-
hosts.current.set(name, host);
|
|
18
|
-
}
|
|
19
|
-
return host;
|
|
20
|
-
},
|
|
21
|
-
}); }, []);
|
|
22
|
-
};
|
|
23
|
-
exports.useRowHosts = useRowHosts;
|
|
24
|
-
var savedFocus = new Map();
|
|
25
|
-
var saveFocus = function (host) {
|
|
26
|
-
var element = document.activeElement;
|
|
27
|
-
if (!element || !host.contains(element))
|
|
28
|
-
return;
|
|
29
|
-
var saved = { element: element };
|
|
30
|
-
if (element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement) {
|
|
31
|
-
try {
|
|
32
|
-
saved.input = {
|
|
33
|
-
start: element.selectionStart,
|
|
34
|
-
end: element.selectionEnd,
|
|
35
|
-
direction: element.selectionDirection,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
catch (_a) {
|
|
39
|
-
// a box with no selection (a checkbox, a number): its focus is enough
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
// editable text (a rich editor) keeps its caret in the page's selection; a text box keeps its own, and setting the
|
|
43
|
-
// page's selection around it put the box's caret back at its start
|
|
44
|
-
var selection = element.isContentEditable ? document.getSelection() : null;
|
|
45
|
-
if ((selection === null || selection === void 0 ? void 0 : selection.rangeCount) &&
|
|
46
|
-
selection.anchorNode &&
|
|
47
|
-
selection.focusNode &&
|
|
48
|
-
host.contains(selection.anchorNode) &&
|
|
49
|
-
host.contains(selection.focusNode)) {
|
|
50
|
-
saved.range = {
|
|
51
|
-
anchorNode: selection.anchorNode,
|
|
52
|
-
anchorOffset: selection.anchorOffset,
|
|
53
|
-
focusNode: selection.focusNode,
|
|
54
|
-
focusOffset: selection.focusOffset,
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
savedFocus.set(host, saved);
|
|
58
|
-
};
|
|
59
|
-
var restoreFocus = function (host) {
|
|
60
|
-
var _a, _b, _c, _d;
|
|
61
|
-
var saved = savedFocus.get(host);
|
|
62
|
-
savedFocus.delete(host);
|
|
63
|
-
if (!saved || !host.isConnected || !host.contains(saved.element))
|
|
64
|
-
return;
|
|
65
|
-
saved.element.focus({ preventScroll: true });
|
|
66
|
-
if (saved.input && saved.input.start !== null && saved.input.end !== null) {
|
|
67
|
-
try {
|
|
68
|
-
saved.element.setSelectionRange(saved.input.start, saved.input.end, (_a = saved.input.direction) !== null && _a !== void 0 ? _a : undefined);
|
|
69
|
-
}
|
|
70
|
-
catch (_e) {
|
|
71
|
-
// the box takes no selection after all
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if (saved.range && host.contains(saved.range.anchorNode) && host.contains(saved.range.focusNode)) {
|
|
75
|
-
try {
|
|
76
|
-
(_b = document
|
|
77
|
-
.getSelection()) === null || _b === void 0 ? void 0 : _b.setBaseAndExtent(saved.range.anchorNode, saved.range.anchorOffset, saved.range.focusNode, saved.range.focusOffset);
|
|
78
|
-
}
|
|
79
|
-
catch (_f) {
|
|
80
|
-
// the text changed under the selection: the focus is back, where the editor puts the caret
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
// where the row is now: on screen, as little scrolled as it takes
|
|
84
|
-
(_d = (_c = saved.element).scrollIntoView) === null || _d === void 0 ? void 0 : _d.call(_c, { block: 'nearest', inline: 'nearest' });
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* The place a box keeps for a row: the row's node is moved into it, and out of it before it goes. A focus the row
|
|
88
|
-
* held is given back where it lands (in the same commit: the place it leaves goes first).
|
|
89
|
-
*/
|
|
90
|
-
var RowPlace = function (_a) {
|
|
91
|
-
var host = _a.host;
|
|
92
|
-
var place = (0, react_1.useRef)(null);
|
|
93
|
-
(0, react_1.useLayoutEffect)(function () {
|
|
94
|
-
var element = place.current;
|
|
95
|
-
if (!element)
|
|
96
|
-
return undefined;
|
|
97
|
-
if (host.parentNode !== element) {
|
|
98
|
-
element.appendChild(host);
|
|
99
|
-
restoreFocus(host);
|
|
100
|
-
}
|
|
101
|
-
return function () {
|
|
102
|
-
if (host.parentNode === element) {
|
|
103
|
-
saveFocus(host);
|
|
104
|
-
element.removeChild(host);
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
}, [host]);
|
|
108
|
-
return (0, jsx_runtime_1.jsx)("div", { ref: place, className: 'readfirst-row-place' });
|
|
109
|
-
};
|
|
110
|
-
exports.RowPlace = RowPlace;
|
|
111
|
-
/**
|
|
112
|
-
* The rows, each drawn into its own node from here: one place in the form that does not change, so a row is never
|
|
113
|
-
* drawn anew for moving. A focus kept for a row that went and did not come back in the same commit is dropped.
|
|
114
|
-
*/
|
|
115
|
-
var RowStage = function (_a) {
|
|
116
|
-
var rows = _a.rows;
|
|
117
|
-
(0, react_1.useLayoutEffect)(function () {
|
|
118
|
-
savedFocus.clear();
|
|
119
|
-
});
|
|
120
|
-
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: rows });
|
|
121
|
-
};
|
|
122
|
-
exports.RowStage = RowStage;
|
|
123
|
-
var useOpenBoxes = function () {
|
|
124
|
-
var shown = (0, react_1.useRef)(new Set());
|
|
125
|
-
var expected = (0, react_1.useRef)({});
|
|
126
|
-
var _a = (0, react_1.useReducer)(function (count) { return count + 1; }, 0), redraw = _a[1];
|
|
127
|
-
return (0, react_1.useMemo)(function () {
|
|
128
|
-
var draws = function (box) { return Boolean(expected.current[box]) || shown.current.has(box); };
|
|
129
|
-
return {
|
|
130
|
-
drawsRows: function (box, isExpected) {
|
|
131
|
-
expected.current[box] = isExpected;
|
|
132
|
-
return draws(box);
|
|
133
|
-
},
|
|
134
|
-
onShown: function (box, isShown) {
|
|
135
|
-
var before = draws(box);
|
|
136
|
-
if (isShown)
|
|
137
|
-
shown.current.add(box);
|
|
138
|
-
else
|
|
139
|
-
shown.current.delete(box);
|
|
140
|
-
if (draws(box) !== before)
|
|
141
|
-
redraw();
|
|
142
|
-
},
|
|
143
|
-
isShown: function (box) { return shown.current.has(box); },
|
|
144
|
-
};
|
|
145
|
-
}, []);
|
|
146
|
-
};
|
|
147
|
-
exports.useOpenBoxes = useOpenBoxes;
|
|
148
|
-
/** Mounted with a box's content: tells the form the box is open (`useOpenBoxes`). Draws nothing. */
|
|
149
|
-
var OpenBoxMark = function (_a) {
|
|
150
|
-
var box = _a.box, onShown = _a.onShown;
|
|
151
|
-
(0, react_1.useLayoutEffect)(function () {
|
|
152
|
-
onShown(box, true);
|
|
153
|
-
return function () { return onShown(box, false); };
|
|
154
|
-
}, [box, onShown]);
|
|
155
|
-
return null;
|
|
156
|
-
};
|
|
157
|
-
exports.OpenBoxMark = OpenBoxMark;
|
|
158
|
-
/** A row drawn into its node: what a form's rows are, at the stage. */
|
|
159
|
-
var stagedRow = function (row, host, name) {
|
|
160
|
-
return (0, react_dom_1.createPortal)(row, host, name);
|
|
161
|
-
};
|
|
162
|
-
exports.stagedRow = stagedRow;
|
|
163
|
-
//# sourceMappingURL=rowPlaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rowPlaces.js","sourceRoot":"","sources":["../../../../src/components/form/engine/rowPlaces.tsx"],"names":[],"mappings":";;;;AAAA,2CAA2C;AAC3C,uCAAyC;AACzC,+BAAgF;AA2BzE,IAAM,WAAW,GAAG;IACzB,IAAM,KAAK,GAAG,IAAA,cAAM,EAAC,IAAI,GAAG,EAAuB,CAAC,CAAC;IACrD,OAAO,IAAA,eAAO,EACZ,cAAM,OAAA,CAAC;QACL,OAAO,EAAE,UAAC,IAA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