@qoretechnologies/reqraft 0.10.64 → 0.10.65-pr.137.g62fcecc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -1
- package/dist/components/Description/describedControl.d.ts +54 -0
- package/dist/components/Description/describedControl.d.ts.map +1 -0
- package/dist/components/Description/describedControl.js +81 -0
- package/dist/components/Description/describedControl.js.map +1 -0
- package/dist/components/Description/index.d.ts.map +1 -1
- package/dist/components/Description/index.js +3 -2
- package/dist/components/Description/index.js.map +1 -1
- package/dist/components/colorValue/colorValue.d.ts +59 -0
- package/dist/components/colorValue/colorValue.d.ts.map +1 -0
- package/dist/components/colorValue/colorValue.js +245 -0
- package/dist/components/colorValue/colorValue.js.map +1 -0
- package/dist/components/colorValue/index.d.ts +34 -0
- package/dist/components/colorValue/index.d.ts.map +1 -0
- package/dist/components/colorValue/index.js +136 -0
- package/dist/components/colorValue/index.js.map +1 -0
- package/dist/components/colorValue/labels.d.ts +12 -0
- package/dist/components/colorValue/labels.d.ts.map +1 -0
- package/dist/components/colorValue/labels.js +11 -0
- package/dist/components/colorValue/labels.js.map +1 -0
- package/dist/components/composer/Composer.d.ts +1 -1
- package/dist/components/composer/Composer.d.ts.map +1 -1
- package/dist/components/composer/Composer.js +2 -2
- package/dist/components/composer/Composer.js.map +1 -1
- package/dist/components/dpqlEditor/DpqlEditor.d.ts.map +1 -1
- package/dist/components/dpqlEditor/DpqlEditor.js +25 -5
- package/dist/components/dpqlEditor/DpqlEditor.js.map +1 -1
- package/dist/components/dpqlEditor/dpqlHelpers.d.ts +36 -5
- package/dist/components/dpqlEditor/dpqlHelpers.d.ts.map +1 -1
- package/dist/components/dpqlEditor/dpqlHelpers.js +340 -62
- package/dist/components/dpqlEditor/dpqlHelpers.js.map +1 -1
- package/dist/components/dpqlEditor/dpqlTags.d.ts +11 -7
- package/dist/components/dpqlEditor/dpqlTags.d.ts.map +1 -1
- package/dist/components/dpqlEditor/dpqlTags.js +35 -17
- package/dist/components/dpqlEditor/dpqlTags.js.map +1 -1
- package/dist/components/dpqlEditor/types.d.ts +54 -8
- package/dist/components/dpqlEditor/types.d.ts.map +1 -1
- package/dist/components/dpqlEditor/useDpqlSession.d.ts +2 -2
- package/dist/components/dpqlEditor/useDpqlSession.d.ts.map +1 -1
- package/dist/components/dpqlEditor/useDpqlSession.js +16 -7
- package/dist/components/dpqlEditor/useDpqlSession.js.map +1 -1
- package/dist/components/form/engine/CompactRow.d.ts.map +1 -1
- package/dist/components/form/engine/CompactRow.js +207 -97
- 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 +29 -3
- package/dist/components/form/engine/CompactToolbar.js.map +1 -1
- package/dist/components/form/engine/FormEngine.d.ts +58 -10
- package/dist/components/form/engine/FormEngine.d.ts.map +1 -1
- package/dist/components/form/engine/FormEngine.js +542 -112
- package/dist/components/form/engine/FormEngine.js.map +1 -1
- package/dist/components/form/engine/HiddenFieldsNote.d.ts +28 -0
- package/dist/components/form/engine/HiddenFieldsNote.d.ts.map +1 -0
- package/dist/components/form/engine/HiddenFieldsNote.js +32 -0
- package/dist/components/form/engine/HiddenFieldsNote.js.map +1 -0
- package/dist/components/form/engine/OptionFieldMessages.d.ts.map +1 -1
- package/dist/components/form/engine/OptionFieldMessages.js +24 -3
- package/dist/components/form/engine/OptionFieldMessages.js.map +1 -1
- package/dist/components/form/engine/_structuredData/SchemaDataView.d.ts +2 -2
- package/dist/components/form/engine/_structuredData/SchemaDataView.d.ts.map +1 -1
- package/dist/components/form/engine/_structuredData/SchemaDataView.js +12 -6
- package/dist/components/form/engine/_structuredData/SchemaDataView.js.map +1 -1
- package/dist/components/form/engine/compactRowContext.d.ts +21 -0
- 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 +20 -10
- package/dist/components/form/engine/compactRowStyles.d.ts.map +1 -1
- package/dist/components/form/engine/compactRowStyles.js +36 -30
- package/dist/components/form/engine/compactRowStyles.js.map +1 -1
- package/dist/components/form/engine/compactToolbarColors.d.ts +16 -0
- package/dist/components/form/engine/compactToolbarColors.d.ts.map +1 -0
- package/dist/components/form/engine/compactToolbarColors.js +21 -0
- package/dist/components/form/engine/compactToolbarColors.js.map +1 -0
- package/dist/components/form/engine/readFirst.d.ts +24 -8
- package/dist/components/form/engine/readFirst.d.ts.map +1 -1
- package/dist/components/form/engine/readFirst.js +77 -109
- package/dist/components/form/engine/readFirst.js.map +1 -1
- package/dist/components/form/engine/readFirstColors.d.ts +30 -0
- package/dist/components/form/engine/readFirstColors.d.ts.map +1 -0
- package/dist/components/form/engine/readFirstColors.js +51 -0
- package/dist/components/form/engine/readFirstColors.js.map +1 -0
- package/dist/components/form/engine/rowFocus.d.ts +2 -0
- package/dist/components/form/engine/rowFocus.d.ts.map +1 -1
- package/dist/components/form/engine/rowFocus.js +26 -3
- package/dist/components/form/engine/rowFocus.js.map +1 -1
- package/dist/components/form/engine/typeChoices.d.ts +1 -1
- package/dist/components/form/engine/variants/VariantCalmTable.d.ts.map +1 -1
- package/dist/components/form/engine/variants/VariantCalmTable.js +2 -1
- package/dist/components/form/engine/variants/VariantCalmTable.js.map +1 -1
- package/dist/components/form/engine/variants/VariantCards.d.ts.map +1 -1
- package/dist/components/form/engine/variants/VariantCards.js +2 -1
- package/dist/components/form/engine/variants/VariantCards.js.map +1 -1
- package/dist/components/form/engine/variants/VariantFocus.js +1 -1
- package/dist/components/form/engine/variants/VariantFocus.js.map +1 -1
- package/dist/components/form/engine/variants/VariantMinimal.d.ts.map +1 -1
- package/dist/components/form/engine/variants/VariantMinimal.js +2 -1
- package/dist/components/form/engine/variants/VariantMinimal.js.map +1 -1
- package/dist/components/form/engine/variants/variantParts.d.ts +1 -1
- package/dist/components/form/engine/variants/variantParts.d.ts.map +1 -1
- package/dist/components/form/engine/variants/variantParts.js +25 -17
- package/dist/components/form/engine/variants/variantParts.js.map +1 -1
- package/dist/components/form/expressions/DpqlRendering.d.ts +1 -1
- package/dist/components/form/expressions/DpqlRendering.d.ts.map +1 -1
- package/dist/components/form/expressions/DpqlRendering.js +3 -3
- package/dist/components/form/expressions/DpqlRendering.js.map +1 -1
- package/dist/components/form/expressions/ExpressionField.d.ts +64 -3
- package/dist/components/form/expressions/ExpressionField.d.ts.map +1 -1
- package/dist/components/form/expressions/ExpressionField.js +459 -100
- package/dist/components/form/expressions/ExpressionField.js.map +1 -1
- package/dist/components/form/expressions/argumentPresence.d.ts +14 -0
- package/dist/components/form/expressions/argumentPresence.d.ts.map +1 -1
- package/dist/components/form/expressions/argumentPresence.js +16 -1
- package/dist/components/form/expressions/argumentPresence.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentDetail.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentDetail.js +4 -1
- package/dist/components/form/expressions/builder/argumentDetail.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentLabel.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentLabel.js +27 -9
- package/dist/components/form/expressions/builder/argumentLabel.js.map +1 -1
- package/dist/components/form/expressions/builder/argumentWrapper.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentWrapper.js +3 -1
- 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 +5 -4
- package/dist/components/form/expressions/builder/confirmMismatchedTypesModal.js.map +1 -1
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.d.ts +1 -1
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.js +6 -3
- package/dist/components/form/expressions/builder/confirmUnsupportedTypeModal.js.map +1 -1
- package/dist/components/form/expressions/builder/index.d.ts +24 -2
- package/dist/components/form/expressions/builder/index.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/index.js +138 -78
- package/dist/components/form/expressions/builder/index.js.map +1 -1
- package/dist/components/form/expressions/builder/item.d.ts +6 -2
- package/dist/components/form/expressions/builder/item.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/item.js +19 -5
- package/dist/components/form/expressions/builder/item.js.map +1 -1
- package/dist/components/form/expressions/builder/renderTemplate.js +1 -1
- package/dist/components/form/expressions/builder/renderTemplate.js.map +1 -1
- package/dist/components/form/expressions/dpqlMockRecordPath.d.ts +11 -0
- package/dist/components/form/expressions/dpqlMockRecordPath.d.ts.map +1 -0
- package/dist/components/form/expressions/dpqlMockRecordPath.js +254 -0
- package/dist/components/form/expressions/dpqlMockRecordPath.js.map +1 -0
- package/dist/components/form/expressions/expressionOperands.d.ts +16 -0
- package/dist/components/form/expressions/expressionOperands.d.ts.map +1 -0
- package/dist/components/form/expressions/expressionOperands.js +97 -0
- package/dist/components/form/expressions/expressionOperands.js.map +1 -0
- package/dist/components/form/expressions/fieldPath.d.ts +24 -0
- package/dist/components/form/expressions/fieldPath.d.ts.map +1 -0
- package/dist/components/form/expressions/fieldPath.js +152 -0
- package/dist/components/form/expressions/fieldPath.js.map +1 -0
- package/dist/components/form/expressions/mockExpressions.d.ts.map +1 -1
- package/dist/components/form/expressions/mockExpressions.js +22 -5
- package/dist/components/form/expressions/mockExpressions.js.map +1 -1
- package/dist/components/form/expressions/renderExpressionToText.d.ts +2 -0
- package/dist/components/form/expressions/renderExpressionToText.d.ts.map +1 -1
- package/dist/components/form/expressions/renderExpressionToText.js +40 -9
- package/dist/components/form/expressions/renderExpressionToText.js.map +1 -1
- package/dist/components/form/expressions/textOfExpression.d.ts +18 -0
- package/dist/components/form/expressions/textOfExpression.d.ts.map +1 -0
- package/dist/components/form/expressions/textOfExpression.js +49 -0
- package/dist/components/form/expressions/textOfExpression.js.map +1 -0
- package/dist/components/form/expressions/types.d.ts +7 -0
- package/dist/components/form/expressions/types.d.ts.map +1 -1
- package/dist/components/form/expressions/types.js +6 -1
- package/dist/components/form/expressions/types.js.map +1 -1
- package/dist/components/form/expressions/useExpressionType.d.ts +26 -0
- package/dist/components/form/expressions/useExpressionType.d.ts.map +1 -0
- package/dist/components/form/expressions/useExpressionType.js +181 -0
- package/dist/components/form/expressions/useExpressionType.js.map +1 -0
- package/dist/components/form/expressions/useRenderExpression.d.ts.map +1 -1
- package/dist/components/form/expressions/useRenderExpression.js +13 -9
- package/dist/components/form/expressions/useRenderExpression.js.map +1 -1
- package/dist/components/form/expressions/wildcardExpressions.d.ts +27 -0
- package/dist/components/form/expressions/wildcardExpressions.d.ts.map +1 -0
- package/dist/components/form/expressions/wildcardExpressions.js +101 -0
- package/dist/components/form/expressions/wildcardExpressions.js.map +1 -0
- package/dist/components/form/fields/Field.d.ts.map +1 -1
- package/dist/components/form/fields/Field.js +26 -9
- package/dist/components/form/fields/Field.js.map +1 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.d.ts.map +1 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.js +17 -4
- 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 +24 -0
- 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 +36 -13
- package/dist/components/form/fields/array/ArrayAutoField.js.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.d.ts +20 -1
- package/dist/components/form/fields/auto/AutoFormField.d.ts.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.js +81 -36
- package/dist/components/form/fields/auto/AutoFormField.js.map +1 -1
- package/dist/components/form/fields/auto/hostEditorValue.d.ts +30 -0
- package/dist/components/form/fields/auto/hostEditorValue.d.ts.map +1 -0
- package/dist/components/form/fields/auto/hostEditorValue.js +53 -0
- package/dist/components/form/fields/auto/hostEditorValue.js.map +1 -0
- package/dist/components/form/fields/binary/Binary.d.ts.map +1 -1
- package/dist/components/form/fields/binary/Binary.js +23 -3
- package/dist/components/form/fields/binary/Binary.js.map +1 -1
- package/dist/components/form/fields/boolean/Boolean.d.ts +5 -0
- package/dist/components/form/fields/boolean/Boolean.d.ts.map +1 -1
- package/dist/components/form/fields/boolean/Boolean.js +9 -1
- package/dist/components/form/fields/boolean/Boolean.js.map +1 -1
- package/dist/components/form/fields/color/Color.d.ts +103 -16
- package/dist/components/form/fields/color/Color.d.ts.map +1 -1
- package/dist/components/form/fields/color/Color.js +616 -16
- package/dist/components/form/fields/color/Color.js.map +1 -1
- package/dist/components/form/fields/emittedValues.d.ts +34 -3
- package/dist/components/form/fields/emittedValues.d.ts.map +1 -1
- package/dist/components/form/fields/emittedValues.js +24 -1
- package/dist/components/form/fields/emittedValues.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 +4 -2
- package/dist/components/form/fields/file/File.js.map +1 -1
- package/dist/components/form/fields/long-string/LongString.d.ts.map +1 -1
- package/dist/components/form/fields/long-string/LongString.js +17 -3
- package/dist/components/form/fields/long-string/LongString.js.map +1 -1
- package/dist/components/form/fields/markdown/MarkdownView.js +1 -1
- package/dist/components/form/fields/multi-select/MultiSelectFormField.d.ts.map +1 -1
- package/dist/components/form/fields/multi-select/MultiSelectFormField.js +4 -1
- package/dist/components/form/fields/multi-select/MultiSelectFormField.js.map +1 -1
- package/dist/components/form/fields/number/Number.d.ts +6 -0
- package/dist/components/form/fields/number/Number.d.ts.map +1 -1
- package/dist/components/form/fields/number/Number.js +41 -6
- package/dist/components/form/fields/number/Number.js.map +1 -1
- package/dist/components/form/fields/object/Object.d.ts +1 -1
- package/dist/components/form/fields/object/Object.d.ts.map +1 -1
- package/dist/components/form/fields/object/Object.js +4 -2
- package/dist/components/form/fields/object/Object.js.map +1 -1
- package/dist/components/form/fields/pendingEdit.d.ts +52 -0
- package/dist/components/form/fields/pendingEdit.d.ts.map +1 -0
- package/dist/components/form/fields/pendingEdit.js +79 -0
- package/dist/components/form/fields/pendingEdit.js.map +1 -0
- package/dist/components/form/fields/rich-text/RichText.d.ts +8 -1
- package/dist/components/form/fields/rich-text/RichText.d.ts.map +1 -1
- package/dist/components/form/fields/rich-text/RichText.js +188 -82
- package/dist/components/form/fields/rich-text/RichText.js.map +1 -1
- package/dist/components/form/fields/rich-text/useTemplateTags.d.ts +18 -0
- package/dist/components/form/fields/rich-text/useTemplateTags.d.ts.map +1 -0
- package/dist/components/form/fields/rich-text/useTemplateTags.js +49 -0
- package/dist/components/form/fields/rich-text/useTemplateTags.js.map +1 -0
- package/dist/components/form/fields/schema-definition/CatalogLeafForm.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogLeafForm.js +4 -1
- package/dist/components/form/fields/schema-definition/CatalogLeafForm.js.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.d.ts.map +1 -1
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.js +20 -5
- package/dist/components/form/fields/schema-definition/CatalogNodeEditor.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 +10 -2
- package/dist/components/form/fields/schema-definition/TableEditor.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 +8 -4
- package/dist/components/form/fields/schema-definition/index.js.map +1 -1
- package/dist/components/form/fields/select/Select.d.ts +2 -0
- package/dist/components/form/fields/select/Select.d.ts.map +1 -1
- package/dist/components/form/fields/select/Select.js +19 -10
- package/dist/components/form/fields/select/Select.js.map +1 -1
- package/dist/components/form/fields/select/SelectCollection.d.ts.map +1 -1
- package/dist/components/form/fields/select/SelectCollection.js +8 -2
- package/dist/components/form/fields/select/SelectCollection.js.map +1 -1
- package/dist/components/form/fields/select/unavailableRow.d.ts +23 -0
- package/dist/components/form/fields/select/unavailableRow.d.ts.map +1 -0
- package/dist/components/form/fields/select/unavailableRow.js +55 -0
- package/dist/components/form/fields/select/unavailableRow.js.map +1 -0
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.d.ts +11 -5
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.d.ts.map +1 -1
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.js +13 -5
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.js.map +1 -1
- package/dist/components/form/fields/template/TemplateBrowser.d.ts +22 -0
- package/dist/components/form/fields/template/TemplateBrowser.d.ts.map +1 -0
- package/dist/components/form/fields/template/TemplateBrowser.js +54 -0
- package/dist/components/form/fields/template/TemplateBrowser.js.map +1 -0
- package/dist/components/form/fields/template/TemplateField.d.ts +102 -1
- package/dist/components/form/fields/template/TemplateField.d.ts.map +1 -1
- package/dist/components/form/fields/template/TemplateField.js +572 -85
- package/dist/components/form/fields/template/TemplateField.js.map +1 -1
- package/dist/components/form/fields/template/TemplateText.d.ts +0 -17
- package/dist/components/form/fields/template/TemplateText.d.ts.map +1 -1
- package/dist/components/form/fields/template/TemplateText.js +9 -11
- package/dist/components/form/fields/template/TemplateText.js.map +1 -1
- package/dist/components/form/fields/template/writtenAsText.d.ts +61 -0
- package/dist/components/form/fields/template/writtenAsText.d.ts.map +1 -0
- package/dist/components/form/fields/template/writtenAsText.js +204 -0
- package/dist/components/form/fields/template/writtenAsText.js.map +1 -0
- package/dist/components/form/index.d.ts +10 -0
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/index.js +23 -1
- 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 +19 -7
- package/dist/components/imageLightbox/ImageLightbox.js.map +1 -1
- package/dist/components/log/Log.d.ts.map +1 -1
- package/dist/components/log/Log.js +16 -8
- 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 +19 -10
- package/dist/components/menu/Menu.js.map +1 -1
- package/dist/components/smartEditor/CompletionMenu.d.ts +43 -0
- package/dist/components/smartEditor/CompletionMenu.d.ts.map +1 -0
- package/dist/components/smartEditor/CompletionMenu.js +196 -0
- package/dist/components/smartEditor/CompletionMenu.js.map +1 -0
- package/dist/components/smartEditor/MarkdownDoc.d.ts +1 -1
- package/dist/components/smartEditor/MarkdownDoc.js +3 -3
- package/dist/components/smartEditor/MarkdownDoc.js.map +1 -1
- package/dist/components/smartEditor/SmartEditor.d.ts.map +1 -1
- package/dist/components/smartEditor/SmartEditor.js +164 -180
- package/dist/components/smartEditor/SmartEditor.js.map +1 -1
- package/dist/components/smartEditor/completionStyle.d.ts +27 -0
- package/dist/components/smartEditor/completionStyle.d.ts.map +1 -0
- package/dist/components/smartEditor/completionStyle.js +68 -0
- package/dist/components/smartEditor/completionStyle.js.map +1 -0
- package/dist/components/smartEditor/index.d.ts +5 -1
- package/dist/components/smartEditor/index.d.ts.map +1 -1
- package/dist/components/smartEditor/index.js +19 -1
- package/dist/components/smartEditor/index.js.map +1 -1
- package/dist/components/smartEditor/templateCompletions.d.ts +18 -0
- package/dist/components/smartEditor/templateCompletions.d.ts.map +1 -0
- package/dist/components/smartEditor/templateCompletions.js +94 -0
- package/dist/components/smartEditor/templateCompletions.js.map +1 -0
- package/dist/components/smartEditor/typedReferences.d.ts +21 -0
- package/dist/components/smartEditor/typedReferences.d.ts.map +1 -0
- package/dist/components/smartEditor/typedReferences.js +82 -0
- package/dist/components/smartEditor/typedReferences.js.map +1 -0
- package/dist/components/smartEditor/types.d.ts +33 -1
- package/dist/components/smartEditor/types.d.ts.map +1 -1
- package/dist/components/smartEditor/useLspAutocomplete.d.ts +32 -0
- package/dist/components/smartEditor/useLspAutocomplete.d.ts.map +1 -1
- package/dist/components/smartEditor/useLspAutocomplete.js +228 -118
- package/dist/components/smartEditor/useLspAutocomplete.js.map +1 -1
- package/dist/components/smartEditor/useLspHover.d.ts +33 -7
- package/dist/components/smartEditor/useLspHover.d.ts.map +1 -1
- package/dist/components/smartEditor/useLspHover.js +279 -35
- package/dist/components/smartEditor/useLspHover.js.map +1 -1
- package/dist/components/smartEditor/useLspSemanticTokens.js +1 -1
- package/dist/components/smartEditor/useLspSemanticTokens.js.map +1 -1
- package/dist/components/smartEditor/useLspSession.d.ts +6 -0
- package/dist/components/smartEditor/useLspSession.d.ts.map +1 -1
- package/dist/components/smartEditor/useLspSession.js +7 -6
- package/dist/components/smartEditor/useLspSession.js.map +1 -1
- package/dist/components/supportTicket/AttachmentChips.d.ts.map +1 -1
- package/dist/components/supportTicket/AttachmentChips.js +15 -5
- package/dist/components/supportTicket/AttachmentChips.js.map +1 -1
- package/dist/components/supportTicket/ReferencePicker.d.ts +9 -2
- package/dist/components/supportTicket/ReferencePicker.d.ts.map +1 -1
- package/dist/components/supportTicket/ReferencePicker.js +27 -6
- package/dist/components/supportTicket/ReferencePicker.js.map +1 -1
- package/dist/components/supportTicket/TicketHeader.d.ts +3 -4
- package/dist/components/supportTicket/TicketHeader.d.ts.map +1 -1
- package/dist/components/supportTicket/TicketHeader.js +20 -2
- package/dist/components/supportTicket/TicketHeader.js.map +1 -1
- package/dist/components/supportTicket/TicketMetaTags.d.ts +1 -1
- package/dist/components/ticketReferences/TicketReferences.d.ts.map +1 -1
- package/dist/components/ticketReferences/TicketReferences.js +9 -4
- package/dist/components/ticketReferences/TicketReferences.js.map +1 -1
- package/dist/components/ticketThread/TicketThread.d.ts.map +1 -1
- package/dist/components/ticketThread/TicketThread.js +38 -13
- package/dist/components/ticketThread/TicketThread.js.map +1 -1
- package/dist/helpers/descriptionTooltip.d.ts +43 -0
- package/dist/helpers/descriptionTooltip.d.ts.map +1 -0
- package/dist/helpers/descriptionTooltip.js +70 -0
- package/dist/helpers/descriptionTooltip.js.map +1 -0
- package/dist/helpers/domProps.d.ts +5 -0
- package/dist/helpers/domProps.d.ts.map +1 -0
- package/dist/helpers/domProps.js +47 -0
- package/dist/helpers/domProps.js.map +1 -0
- package/dist/helpers/expressions.d.ts +107 -2
- package/dist/helpers/expressions.d.ts.map +1 -1
- package/dist/helpers/expressions.js +223 -8
- package/dist/helpers/expressions.js.map +1 -1
- package/dist/helpers/hoveringPointer.d.ts +26 -0
- package/dist/helpers/hoveringPointer.d.ts.map +1 -0
- package/dist/helpers/hoveringPointer.js +29 -0
- package/dist/helpers/hoveringPointer.js.map +1 -0
- package/dist/helpers/markdownText.d.ts +14 -0
- package/dist/helpers/markdownText.d.ts.map +1 -0
- package/dist/helpers/markdownText.js +160 -0
- package/dist/helpers/markdownText.js.map +1 -0
- package/dist/helpers/qorusTypeCatalogue.d.ts +53 -0
- package/dist/helpers/qorusTypeCatalogue.d.ts.map +1 -0
- package/dist/helpers/qorusTypeCatalogue.js +262 -0
- package/dist/helpers/qorusTypeCatalogue.js.map +1 -0
- package/dist/helpers/readableColors.d.ts +36 -0
- package/dist/helpers/readableColors.d.ts.map +1 -0
- package/dist/helpers/readableColors.js +116 -0
- package/dist/helpers/readableColors.js.map +1 -0
- package/dist/helpers/recordFieldReference.d.ts +15 -0
- package/dist/helpers/recordFieldReference.d.ts.map +1 -0
- package/dist/helpers/recordFieldReference.js +89 -0
- package/dist/helpers/recordFieldReference.js.map +1 -0
- package/dist/helpers/templateItems.d.ts +2 -2
- package/dist/helpers/templateItems.d.ts.map +1 -1
- package/dist/helpers/templateItems.js +6 -4
- package/dist/helpers/templateItems.js.map +1 -1
- package/dist/helpers/templateText.js +5 -2
- package/dist/helpers/templateText.js.map +1 -1
- package/dist/helpers/templates.d.ts +41 -14
- package/dist/helpers/templates.d.ts.map +1 -1
- package/dist/helpers/templates.js +152 -9
- package/dist/helpers/templates.js.map +1 -1
- package/dist/helpers/validations.d.ts +9 -0
- package/dist/helpers/validations.d.ts.map +1 -1
- package/dist/helpers/validations.js +139 -33
- package/dist/helpers/validations.js.map +1 -1
- package/dist/hooks/useQorusTypes.d.ts +7 -15
- package/dist/hooks/useQorusTypes.d.ts.map +1 -1
- package/dist/hooks/useQorusTypes.js +25 -166
- package/dist/hooks/useQorusTypes.js.map +1 -1
- package/dist/hooks/useReadableIntentShade.d.ts +9 -0
- package/dist/hooks/useReadableIntentShade.d.ts.map +1 -0
- package/dist/hooks/useReadableIntentShade.js +23 -0
- package/dist/hooks/useReadableIntentShade.js.map +1 -0
- package/dist/hooks/useReadableOpacity.d.ts +6 -0
- package/dist/hooks/useReadableOpacity.d.ts.map +1 -0
- package/dist/hooks/useReadableOpacity.js +17 -0
- package/dist/hooks/useReadableOpacity.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/tracking/ui/ExperimentCard.d.ts +1 -1
- package/dist/tracking/ui/ExperimentCard.d.ts.map +1 -1
- package/dist/tracking/ui/ExperimentCard.js +26 -10
- package/dist/tracking/ui/ExperimentCard.js.map +1 -1
- package/dist/tracking/ui/card.d.ts +2 -2
- package/dist/tracking/ui/card.d.ts.map +1 -1
- package/dist/tracking/ui/card.js +2 -2
- package/dist/tracking/ui/card.js.map +1 -1
- package/dist/tracking/ui/readable.d.ts +14 -0
- package/dist/tracking/ui/readable.d.ts.map +1 -0
- package/dist/tracking/ui/readable.js +60 -0
- package/dist/tracking/ui/readable.js.map +1 -0
- package/dist/utils/fetch.d.ts +9 -2
- package/dist/utils/fetch.d.ts.map +1 -1
- package/dist/utils/fetch.js +6 -5
- package/dist/utils/fetch.js.map +1 -1
- package/dist/utils/websocket.d.ts +65 -2
- package/dist/utils/websocket.d.ts.map +1 -1
- package/dist/utils/websocket.js +276 -44
- package/dist/utils/websocket.js.map +1 -1
- package/package.json +14 -5
- package/.claude/CLAUDE.md +0 -317
- package/.tasks/EXPORT_EXPRESSION_BUILDER.md +0 -38
- package/.tasks/EXPRESSION_BUILDER_REPORT.md +0 -149
- package/.tasks/EXPRESSION_FIELD_SEAMS.md +0 -66
- package/.tasks/FIELD_STACK_REPORT.md +0 -234
- package/.tasks/FORM_ENGINE_COMPACT_READ_FIRST.md +0 -558
- package/.tasks/FORM_ENGINE_EXPRESSIONS.md +0 -197
- package/.tasks/FORM_ENGINE_OPTIONS_SYNC.md +0 -95
- package/.tasks/FORM_FIELD_EXTRAS.md +0 -72
- package/.tasks/INDEX.md +0 -111
- package/.tasks/LSP_SHARED_CONNECTION.md +0 -75
- package/.tasks/QONSOLE_ASSIST_FEATURES.md +0 -306
- package/.tasks/RENDER_EXPRESSION_LSP.md +0 -159
- package/.tasks/REQRAFT_AUTO_FIELD.md +0 -176
- package/.tasks/SCHEMA_DEFINITION_FIELD.md +0 -250
- package/.tasks/SMART_EDITOR_CONTEXT_AND_POLISH.md +0 -340
- package/.tasks/SMART_EDITOR_LSP_FEATURES.md +0 -299
- package/.tasks/SMART_EDITOR_REVIEW_FOLLOWUPS.md +0 -280
- package/.tasks/SMART_EDITOR_UX_POLISH.md +0 -383
- package/.tasks/SMART_EDITOR_VISUAL_POLISH.md +0 -246
- package/.tasks/STORY_NETWORK_ISOLATION.md +0 -98
- package/.tasks/TEMPLATE_TOKEN_GRAMMAR.md +0 -72
- package/CODE_OF_CONDUCT.md +0 -105
- package/CONTRIBUTING.MD +0 -78
- package/SECURITY.md +0 -3
- package/chromatic.config.json +0 -5
- package/design/COMPACT_ENGINE_REDESIGN.md +0 -156
- package/design/COMPACT_INFO_DISPLAY.md +0 -87
- package/design/COMPACT_PARITY.md +0 -85
- package/design/EXPRESSION_BUILDER_REPORT_STRATEGY.md +0 -92
- package/design/FORM_ENGINE_COMPACT.md +0 -300
- package/design/FORM_ENGINE_COMPACT_UX_PLAN.md +0 -353
- package/design/FORM_ENGINE_EXPRESSIONS.md +0 -257
- package/design/FORM_ENGINE_FIELD_MIGRATION.md +0 -419
- package/design/IDE_INTEGRATION.md +0 -64
- package/design/RENDER_EXPRESSION_TRANSPORT.md +0 -156
- package/design/SELECT_DIALOG_FLOOR.md +0 -86
- package/design/SMART_EDITOR_UX.md +0 -438
- package/design/TRACKING.md +0 -290
- package/design/UNAVAILABLE_ALLOWED_VALUES.md +0 -226
- package/src/components/Description/index.tsx +0 -254
- package/src/components/Description/markdownRendererContext.tsx +0 -29
- package/src/components/FocusedEditing/index.tsx +0 -50
- package/src/components/codeSize/index.tsx +0 -79
- package/src/components/composer/Composer.stories.tsx +0 -238
- package/src/components/composer/Composer.tsx +0 -554
- package/src/components/composer/helpers.ts +0 -74
- package/src/components/composer/index.ts +0 -2
- package/src/components/dpqlEditor/DpqlEditor.stories.tsx +0 -1183
- package/src/components/dpqlEditor/DpqlEditor.tsx +0 -219
- package/src/components/dpqlEditor/dpqlHelpers.ts +0 -287
- package/src/components/dpqlEditor/dpqlInserter.ts +0 -121
- package/src/components/dpqlEditor/dpqlProbe.ts +0 -165
- package/src/components/dpqlEditor/dpqlTags.ts +0 -114
- package/src/components/dpqlEditor/index.ts +0 -41
- package/src/components/dpqlEditor/types.ts +0 -203
- package/src/components/dpqlEditor/useDpqlProbe.ts +0 -33
- package/src/components/dpqlEditor/useDpqlSession.ts +0 -411
- package/src/components/form/engine/CompactRow.tsx +0 -2620
- package/src/components/form/engine/CompactToolbar.tsx +0 -330
- package/src/components/form/engine/FormEngine.stories.tsx +0 -9920
- package/src/components/form/engine/FormEngine.tsx +0 -4569
- package/src/components/form/engine/FormEngineRemote.stories.tsx +0 -679
- package/src/components/form/engine/FormEngineStickyHeaders.stories.tsx +0 -331
- package/src/components/form/engine/FormFieldsSkeleton.tsx +0 -82
- package/src/components/form/engine/OptionFieldMessages.tsx +0 -477
- package/src/components/form/engine/OptionsHelpDialog.tsx +0 -29
- package/src/components/form/engine/__fixtures__/basicFormOptions.ts +0 -309
- package/src/components/form/engine/__fixtures__/fieldChromeOptions.ts +0 -45
- package/src/components/form/engine/_structuredData/SchemaDataView.stories.tsx +0 -233
- package/src/components/form/engine/_structuredData/SchemaDataView.tsx +0 -742
- package/src/components/form/engine/_structuredData/StructuredDataView.stories.tsx +0 -85
- package/src/components/form/engine/_structuredData/StructuredDataView.tsx +0 -75
- package/src/components/form/engine/_structuredData/structuredData.ts +0 -145
- package/src/components/form/engine/compactRowContext.ts +0 -148
- package/src/components/form/engine/compactRowStyles.ts +0 -898
- package/src/components/form/engine/compactToolbarContext.ts +0 -69
- package/src/components/form/engine/optionActions.ts +0 -128
- package/src/components/form/engine/optionsContext.ts +0 -24
- package/src/components/form/engine/readFirst.ts +0 -1077
- package/src/components/form/engine/rendererTypes.ts +0 -107
- package/src/components/form/engine/revealRow.ts +0 -123
- package/src/components/form/engine/rowFocus.ts +0 -101
- package/src/components/form/engine/rowMenuContext.ts +0 -159
- package/src/components/form/engine/rowOpenPicker.ts +0 -27
- package/src/components/form/engine/typeChoices.ts +0 -63
- package/src/components/form/engine/variants/FormEngineVariants.stories.tsx +0 -159
- package/src/components/form/engine/variants/VariantCalmTable.tsx +0 -244
- package/src/components/form/engine/variants/VariantCards.tsx +0 -212
- package/src/components/form/engine/variants/VariantFocus.tsx +0 -382
- package/src/components/form/engine/variants/VariantMinimal.tsx +0 -170
- package/src/components/form/engine/variants/focusDemo.ts +0 -145
- package/src/components/form/engine/variants/variantModel.ts +0 -223
- package/src/components/form/engine/variants/variantParts.tsx +0 -313
- package/src/components/form/expressions/DpqlRendering.tsx +0 -85
- package/src/components/form/expressions/ExpressionField.stories.tsx +0 -1395
- package/src/components/form/expressions/ExpressionField.tsx +0 -503
- package/src/components/form/expressions/argumentPresence.ts +0 -213
- package/src/components/form/expressions/builder/ExpressionBuilder.stories.tsx +0 -1683
- package/src/components/form/expressions/builder/argumentDetail.tsx +0 -17
- package/src/components/form/expressions/builder/argumentLabel.tsx +0 -146
- package/src/components/form/expressions/builder/argumentSlot.tsx +0 -101
- package/src/components/form/expressions/builder/argumentWrapper.tsx +0 -243
- package/src/components/form/expressions/builder/confirmMismatchedTypesModal.tsx +0 -120
- package/src/components/form/expressions/builder/confirmUnsupportedTypeModal.tsx +0 -69
- package/src/components/form/expressions/builder/index.tsx +0 -1545
- package/src/components/form/expressions/builder/item.tsx +0 -89
- package/src/components/form/expressions/builder/moveToPositionStrip.tsx +0 -156
- package/src/components/form/expressions/builder/renderTemplate.tsx +0 -42
- package/src/components/form/expressions/dpqlMockLanguage.ts +0 -566
- package/src/components/form/expressions/dpqlMockLsp.ts +0 -126
- package/src/components/form/expressions/mockExpressions.ts +0 -317
- package/src/components/form/expressions/renderExpressionToText.ts +0 -137
- package/src/components/form/expressions/types.ts +0 -110
- package/src/components/form/expressions/useExpressions.ts +0 -101
- package/src/components/form/expressions/useRenderExpression.ts +0 -165
- package/src/components/form/fields/Field.stories.tsx +0 -143
- package/src/components/form/fields/Field.tsx +0 -732
- package/src/components/form/fields/allowed-values/AllowedValues.tsx +0 -297
- package/src/components/form/fields/array/ArrayAuto.tsx +0 -237
- package/src/components/form/fields/array/ArrayAutoField.stories.tsx +0 -475
- package/src/components/form/fields/array/ArrayAutoField.tsx +0 -367
- package/src/components/form/fields/auto/AutoFormField.stories.tsx +0 -825
- package/src/components/form/fields/auto/AutoFormField.tsx +0 -1164
- package/src/components/form/fields/binary/Binary.stories.tsx +0 -122
- package/src/components/form/fields/binary/Binary.tsx +0 -91
- package/src/components/form/fields/boolean/Boolean.stories.tsx +0 -125
- package/src/components/form/fields/boolean/Boolean.tsx +0 -34
- package/src/components/form/fields/byte-size/ByteSize.stories.tsx +0 -87
- package/src/components/form/fields/byte-size/ByteSize.tsx +0 -58
- package/src/components/form/fields/color/Color.stories.tsx +0 -99
- package/src/components/form/fields/color/Color.tsx +0 -46
- package/src/components/form/fields/cron/Cron.stories.tsx +0 -68
- package/src/components/form/fields/cron/Cron.tsx +0 -80
- package/src/components/form/fields/date/Date.stories.tsx +0 -77
- package/src/components/form/fields/date/Date.tsx +0 -55
- package/src/components/form/fields/emittedValues.ts +0 -70
- package/src/components/form/fields/file/File.stories.tsx +0 -161
- package/src/components/form/fields/file/File.tsx +0 -227
- package/src/components/form/fields/long-string/LongString.stories.tsx +0 -120
- package/src/components/form/fields/long-string/LongString.tsx +0 -130
- package/src/components/form/fields/markdown/Markdown.stories.tsx +0 -76
- package/src/components/form/fields/markdown/Markdown.tsx +0 -81
- package/src/components/form/fields/markdown/MarkdownView.tsx +0 -222
- package/src/components/form/fields/multi-select/MultiSelectFormField.tsx +0 -139
- package/src/components/form/fields/number/Number.stories.tsx +0 -159
- package/src/components/form/fields/number/Number.tsx +0 -160
- package/src/components/form/fields/object/Object.stories.tsx +0 -398
- package/src/components/form/fields/object/Object.tsx +0 -255
- package/src/components/form/fields/radio-group/RadioGroup.stories.tsx +0 -95
- package/src/components/form/fields/radio-group/RadioGroup.tsx +0 -46
- package/src/components/form/fields/radio-group/images/java-96x128.png +0 -0
- package/src/components/form/fields/radio-group/images/python-129x128.png +0 -0
- package/src/components/form/fields/radio-group/images/qore-106x128.png +0 -0
- package/src/components/form/fields/rich-text/RichText.stories.tsx +0 -260
- package/src/components/form/fields/rich-text/RichText.tsx +0 -537
- package/src/components/form/fields/schema-definition/CatalogLeafForm.tsx +0 -242
- package/src/components/form/fields/schema-definition/CatalogNodeEditor.tsx +0 -758
- package/src/components/form/fields/schema-definition/Hint.tsx +0 -22
- package/src/components/form/fields/schema-definition/InlineValidationBanner.tsx +0 -138
- package/src/components/form/fields/schema-definition/Loader.tsx +0 -20
- package/src/components/form/fields/schema-definition/MigrationsTab.tsx +0 -187
- package/src/components/form/fields/schema-definition/SchemaDefinitionField.stories.tsx +0 -286
- package/src/components/form/fields/schema-definition/TableEditor.tsx +0 -155
- package/src/components/form/fields/schema-definition/TablesTab.tsx +0 -138
- package/src/components/form/fields/schema-definition/catalog.ts +0 -237
- package/src/components/form/fields/schema-definition/helpers.ts +0 -90
- package/src/components/form/fields/schema-definition/index.tsx +0 -418
- package/src/components/form/fields/schema-definition/mockCatalog.ts +0 -325
- package/src/components/form/fields/schema-definition/mockDefinition.ts +0 -111
- package/src/components/form/fields/schema-definition/referenceSuggestions.tsx +0 -152
- package/src/components/form/fields/schema-definition/starterTemplate.ts +0 -68
- package/src/components/form/fields/schema-definition/types.ts +0 -185
- package/src/components/form/fields/schema-definition/useSchemaOptionCatalog.ts +0 -49
- package/src/components/form/fields/select/Select.stories.tsx +0 -872
- package/src/components/form/fields/select/Select.tsx +0 -624
- package/src/components/form/fields/select/SelectCollection.tsx +0 -594
- package/src/components/form/fields/string/String.stories.tsx +0 -86
- package/src/components/form/fields/string/String.tsx +0 -43
- package/src/components/form/fields/template/ExampleValueModal.stories.tsx +0 -114
- package/src/components/form/fields/template/ExampleValueModal.tsx +0 -99
- package/src/components/form/fields/template/ReadOnlyTemplateTag.tsx +0 -47
- package/src/components/form/fields/template/TemplateField.stories.tsx +0 -1121
- package/src/components/form/fields/template/TemplateField.tsx +0 -1717
- package/src/components/form/fields/template/TemplateText.tsx +0 -115
- package/src/components/form/fields/template/__fixtures__/longExampleValue.ts +0 -7
- package/src/components/form/fields/template/__fixtures__/multiLevelTemplates.json +0 -147
- package/src/components/form/fields/template/__fixtures__/templates.json +0 -83
- package/src/components/form/fields/timeout/Timeout.stories.tsx +0 -228
- package/src/components/form/fields/timeout/Timeout.tsx +0 -87
- package/src/components/form/fields/url/Url.stories.tsx +0 -94
- package/src/components/form/fields/url/Url.tsx +0 -85
- package/src/components/form/index.tsx +0 -47
- package/src/components/imageLightbox/ImageLightbox.stories.tsx +0 -238
- package/src/components/imageLightbox/ImageLightbox.tsx +0 -236
- package/src/components/imageLightbox/index.ts +0 -1
- package/src/components/log/Log.stories.tsx +0 -333
- package/src/components/log/Log.tsx +0 -285
- package/src/components/menu/Menu.stories.tsx +0 -155
- package/src/components/menu/Menu.tsx +0 -312
- package/src/components/qonsoleSmartInput/QonsoleSmartInput.stories.tsx +0 -797
- package/src/components/qonsoleSmartInput/QonsoleSmartInput.tsx +0 -105
- package/src/components/qonsoleSmartInput/index.ts +0 -16
- package/src/components/qonsoleSmartInput/qonsoleInserter.ts +0 -77
- package/src/components/qonsoleSmartInput/types.ts +0 -133
- package/src/components/qonsoleSmartInput/useQonsoleSession.ts +0 -124
- package/src/components/searchFilterBar/SearchFilterBar.stories.tsx +0 -62
- package/src/components/searchFilterBar/SearchFilterBar.tsx +0 -144
- package/src/components/searchFilterBar/index.ts +0 -1
- package/src/components/smartEditor/MarkdownDoc.tsx +0 -190
- package/src/components/smartEditor/SmartEditor.stories.tsx +0 -475
- package/src/components/smartEditor/SmartEditor.tsx +0 -808
- package/src/components/smartEditor/__fixtures__/mockLspServer.ts +0 -205
- package/src/components/smartEditor/helpers.ts +0 -217
- package/src/components/smartEditor/index.ts +0 -35
- package/src/components/smartEditor/styling.ts +0 -45
- package/src/components/smartEditor/types.ts +0 -211
- package/src/components/smartEditor/useLspAutocomplete.ts +0 -758
- package/src/components/smartEditor/useLspDiagnosticDecorations.ts +0 -125
- package/src/components/smartEditor/useLspHover.ts +0 -230
- package/src/components/smartEditor/useLspSemanticTokens.ts +0 -298
- package/src/components/smartEditor/useLspSession.ts +0 -231
- package/src/components/smartEditor/useLspSignatureHelp.ts +0 -198
- package/src/components/supportTicket/AttachmentChips.stories.tsx +0 -171
- package/src/components/supportTicket/AttachmentChips.tsx +0 -147
- package/src/components/supportTicket/InterfaceReferenceTags.stories.tsx +0 -257
- package/src/components/supportTicket/InterfaceReferenceTags.tsx +0 -129
- package/src/components/supportTicket/ReferencePicker.stories.tsx +0 -584
- package/src/components/supportTicket/ReferencePicker.tsx +0 -563
- package/src/components/supportTicket/TicketConversation.stories.tsx +0 -121
- package/src/components/supportTicket/TicketHeader.stories.tsx +0 -183
- package/src/components/supportTicket/TicketHeader.tsx +0 -247
- package/src/components/supportTicket/TicketMetaTags.stories.tsx +0 -103
- package/src/components/supportTicket/TicketMetaTags.tsx +0 -85
- package/src/components/supportTicket/TicketReplyBox.stories.tsx +0 -354
- package/src/components/supportTicket/TicketReplyBox.tsx +0 -150
- package/src/components/supportTicket/__fixtures__/kindMarks.ts +0 -28
- package/src/components/supportTicket/attachmentAccess.ts +0 -97
- package/src/components/supportTicket/fileToAttachment.ts +0 -24
- package/src/components/supportTicket/index.ts +0 -10
- package/src/components/supportTicket/meta.ts +0 -206
- package/src/components/supportTicket/ticketModel.ts +0 -131
- package/src/components/supportTicket/useLoadedImages.ts +0 -73
- package/src/components/ticketReferences/TicketReferences.stories.tsx +0 -315
- package/src/components/ticketReferences/TicketReferences.tsx +0 -906
- package/src/components/ticketReferences/index.ts +0 -2
- package/src/components/ticketThread/TicketThread.stories.tsx +0 -829
- package/src/components/ticketThread/TicketThread.tsx +0 -719
- package/src/components/ticketThread/index.ts +0 -6
- package/src/contexts/FetchContext.tsx +0 -25
- package/src/contexts/ReqraftContext.tsx +0 -9
- package/src/contexts/StorageContext.tsx +0 -33
- package/src/global.d.ts +0 -4
- package/src/helpers/allowedValues.ts +0 -249
- package/src/helpers/choiceChip.ts +0 -227
- package/src/helpers/common.ts +0 -326
- package/src/helpers/dpqlDetection.ts +0 -209
- package/src/helpers/expressions.ts +0 -140
- package/src/helpers/optionUiTypes.ts +0 -199
- package/src/helpers/options.ts +0 -150
- package/src/helpers/providerValue.ts +0 -125
- package/src/helpers/scrollbar.ts +0 -32
- package/src/helpers/singleLineString.ts +0 -61
- package/src/helpers/templateItems.ts +0 -81
- package/src/helpers/templateText.ts +0 -350
- package/src/helpers/templates.ts +0 -602
- package/src/helpers/validations.ts +0 -2085
- package/src/hooks/useArgSchema.ts +0 -37
- package/src/hooks/useCoarsePointer.ts +0 -30
- package/src/hooks/useFetch/useFetch.stories.tsx +0 -379
- package/src/hooks/useFetch/useFetch.tsx +0 -154
- package/src/hooks/usePhoneViewport.ts +0 -34
- package/src/hooks/useQorusTypes.ts +0 -233
- package/src/hooks/useReqraftProperty.ts +0 -16
- package/src/hooks/useStorage/useStorage.stories.tsx +0 -168
- package/src/hooks/useStorage/useStorage.ts +0 -35
- package/src/hooks/useTemplates.ts +0 -123
- package/src/hooks/useValidation.ts +0 -9
- package/src/hooks/useWebSocket/useWebSocket.ts +0 -224
- package/src/hooks/useWebSocket/useWebsocket.stories.tsx +0 -640
- package/src/hooks/useWhyDidYouUpdate.ts +0 -38
- package/src/index.tsx +0 -86
- package/src/providers/FetchProvider.tsx +0 -40
- package/src/providers/ReqraftProvider.tsx +0 -52
- package/src/providers/StorageProvider.tsx +0 -131
- package/src/stores/currentUser/currentUser.stories.tsx +0 -100
- package/src/stores/currentUser/currentUser.tsx +0 -94
- package/src/stories/Data/fileFieldArgSchema.json +0 -86
- package/src/stories/Tests/utils.ts +0 -320
- package/src/stories/storyNetwork.ts +0 -92
- package/src/stories/tracking.tsx +0 -206
- package/src/tracking/browser/attach.ts +0 -186
- package/src/tracking/browser/env.ts +0 -78
- package/src/tracking/core/consent.ts +0 -37
- package/src/tracking/core/engagement.ts +0 -47
- package/src/tracking/core/experiments.ts +0 -258
- package/src/tracking/core/hash.ts +0 -26
- package/src/tracking/core/ids.ts +0 -25
- package/src/tracking/core/observable.ts +0 -23
- package/src/tracking/core/queue.ts +0 -131
- package/src/tracking/core/sections.ts +0 -166
- package/src/tracking/core/storage.ts +0 -69
- package/src/tracking/core/tracker.ts +0 -417
- package/src/tracking/core/types.ts +0 -162
- package/src/tracking/core/utm.ts +0 -23
- package/src/tracking/index.ts +0 -72
- package/src/tracking/markup.ts +0 -17
- package/src/tracking/react/Experiment.tsx +0 -44
- package/src/tracking/react/TrackingProvider.tsx +0 -56
- package/src/tracking/react/hooks.ts +0 -106
- package/src/tracking/react/index.ts +0 -13
- package/src/tracking/testing.ts +0 -108
- package/src/tracking/ui/ExperimentCard.stories.tsx +0 -296
- package/src/tracking/ui/ExperimentCard.tsx +0 -667
- package/src/tracking/ui/ExperimentsOverlay.stories.tsx +0 -155
- package/src/tracking/ui/ExperimentsOverlay.tsx +0 -437
- package/src/tracking/ui/anchor.ts +0 -180
- package/src/tracking/ui/card.ts +0 -464
- package/src/tracking/ui/client.ts +0 -117
- package/src/tracking/ui/index.ts +0 -77
- package/src/tracking/ui/types.ts +0 -110
- package/src/tracking/ui/useExperimentsAdmin.ts +0 -103
- package/src/types/Form.ts +0 -29
- package/src/types.ts +0 -14
- package/src/utils/datetime.ts +0 -10
- package/src/utils/fetch.ts +0 -457
- package/src/utils/lspClient.ts +0 -711
- package/src/utils/lspClient.types.ts +0 -211
- package/src/utils/queryUnlessCancelled.ts +0 -28
- package/src/utils/websocket.ts +0 -293
- package/vite.config.ts +0 -58
- package/vitest.config.ts +0 -69
|
@@ -22,6 +22,8 @@ var reqore_1 = require("@qoretechnologies/reqore");
|
|
|
22
22
|
var colors_1 = require("@qoretechnologies/reqore/dist/helpers/colors");
|
|
23
23
|
var polished_1 = require("polished");
|
|
24
24
|
var react_1 = require("react");
|
|
25
|
+
var useReadableOpacity_1 = require("../../hooks/useReadableOpacity");
|
|
26
|
+
var readableColors_1 = require("../../helpers/readableColors");
|
|
25
27
|
var react_markdown_1 = __importDefault(require("react-markdown"));
|
|
26
28
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
27
29
|
var common_1 = require("../../helpers/common");
|
|
@@ -33,7 +35,7 @@ var AUTHOR_META = {
|
|
|
33
35
|
system: { icon: 'InformationLine' },
|
|
34
36
|
};
|
|
35
37
|
// Both sides share one accent: the side, the avatar and the author label already
|
|
36
|
-
// carry who is speaking, which frees
|
|
38
|
+
// carry who is speaking, which frees color to mean "internal note" and nothing
|
|
37
39
|
// else. `custom1` is a theme slot, so each host app supplies its own hue.
|
|
38
40
|
var ACCENT = { main: 'custom1' };
|
|
39
41
|
/** Avatar glyph; an internal note carries the "not visible to the customer" eye. */
|
|
@@ -100,21 +102,30 @@ var ConversationSkeleton = function () { return ((0, jsx_runtime_1.jsx)(StyledSk
|
|
|
100
102
|
// Debosses the empty state: washes the icon + title back with opacity (kept
|
|
101
103
|
// theme-agnostic) and adds a faint light edge below, so "No messages yet" reads
|
|
102
104
|
// as pressed into the surface rather than announced.
|
|
103
|
-
var StyledEmpty = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n /*\n *
|
|
105
|
+
var StyledEmpty = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n /*\n * Center the placeholder in the space it's given rather than letting it sit at the\n * top. Like the thread, this fills its scroll parent (min-height: 100%, which needs a\n * definite height to resolve \u2014 the drawer body provides one; where a consumer doesn't,\n * it collapses to auto and the state keeps its natural top-aligned flow).\n */\n min-height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n .reqore-icon {\n opacity: ", ";\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n opacity: ", ";\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);\n }\n"], ["\n /*\n * Center the placeholder in the space it's given rather than letting it sit at the\n * top. Like the thread, this fills its scroll parent (min-height: 100%, which needs a\n * definite height to resolve \u2014 the drawer body provides one; where a consumer doesn't,\n * it collapses to auto and the state keeps its natural top-aligned flow).\n */\n min-height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n .reqore-icon {\n opacity: ", ";\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n opacity: ", ";\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);\n }\n"])), function (_a) {
|
|
106
|
+
var $iconOpacity = _a.$iconOpacity;
|
|
107
|
+
return $iconOpacity;
|
|
108
|
+
}, function (_a) {
|
|
109
|
+
var $titleOpacity = _a.$titleOpacity;
|
|
110
|
+
return $titleOpacity;
|
|
111
|
+
});
|
|
104
112
|
// System messages read as a centered muted note between cards; the nested rule
|
|
105
113
|
// flattens react-markdown's own <p> margins so it sits on one line.
|
|
106
|
-
var StyledSystemRow = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n font-size: 11px;\n opacity:
|
|
114
|
+
var StyledSystemRow = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n font-size: 11px;\n opacity: ", ";\n text-align: center;\n p {\n margin: 0;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n font-size: 11px;\n opacity: ", ";\n text-align: center;\n p {\n margin: 0;\n }\n"])), function (_a) {
|
|
115
|
+
var $opacity = _a.$opacity;
|
|
116
|
+
return $opacity;
|
|
117
|
+
});
|
|
107
118
|
// The message body, washed a step below the bright author name in the card's
|
|
108
119
|
// header so the two read as different things; in-body **bold** lifts back toward
|
|
109
|
-
// full strength as emphasis. Every
|
|
120
|
+
// full strength as emphasis. Every color derives from the active Reqore theme
|
|
110
121
|
// rather than a hardcoded hex, so the thread reads correctly on any host app.
|
|
111
|
-
var StyledMarkdown = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n word-break: break-word;\n\n > *:first-child {\n margin-top: 0;\n }\n > *:last-child {\n margin-bottom: 0;\n }\n\n p {\n margin: 0 0 6px;\n }\n strong {\n color: ", ";\n font-weight: 600;\n }\n ul,\n ol {\n margin: 4px 0;\n padding-left: 18px;\n }\n li {\n margin: 2px 0;\n }\n code {\n font-family:
|
|
122
|
+
var StyledMarkdown = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n word-break: break-word;\n\n > *:first-child {\n margin-top: 0;\n }\n > *:last-child {\n margin-bottom: 0;\n }\n\n p {\n margin: 0 0 6px;\n }\n strong {\n color: ", ";\n font-weight: 600;\n }\n ul,\n ol {\n margin: 4px 0;\n padding-left: 18px;\n }\n li {\n margin: 2px 0;\n }\n code {\n font-family: ", ";\n background: ", ";\n padding: 1px 5px;\n border-radius: 4px;\n }\n pre {\n margin: 6px 0;\n padding: 8px 10px;\n background: rgba(0, 0, 0, 0.35);\n border-radius: 4px;\n overflow-x: auto;\n }\n pre code {\n background: none;\n padding: 0;\n white-space: pre;\n }\n a {\n color: ", ";\n text-decoration: none;\n }\n a:hover {\n text-decoration: underline;\n }\n"], ["\n color: ", ";\n word-break: break-word;\n\n > *:first-child {\n margin-top: 0;\n }\n > *:last-child {\n margin-bottom: 0;\n }\n\n p {\n margin: 0 0 6px;\n }\n strong {\n color: ", ";\n font-weight: 600;\n }\n ul,\n ol {\n margin: 4px 0;\n padding-left: 18px;\n }\n li {\n margin: 2px 0;\n }\n code {\n font-family: ", ";\n background: ", ";\n padding: 1px 5px;\n border-radius: 4px;\n }\n pre {\n margin: 6px 0;\n padding: 8px 10px;\n background: rgba(0, 0, 0, 0.35);\n border-radius: 4px;\n overflow-x: auto;\n }\n pre code {\n background: none;\n padding: 0;\n white-space: pre;\n }\n a {\n color: ", ";\n text-decoration: none;\n }\n a:hover {\n text-decoration: underline;\n }\n"])), function (_a) {
|
|
112
123
|
var $color = _a.$color;
|
|
113
124
|
return $color;
|
|
114
125
|
}, function (_a) {
|
|
115
126
|
var $emphasis = _a.$emphasis;
|
|
116
127
|
return $emphasis;
|
|
117
|
-
}, function (_a) {
|
|
128
|
+
}, reqore_1.ReqoreFonts.mono, function (_a) {
|
|
118
129
|
var $code = _a.$code;
|
|
119
130
|
return $code;
|
|
120
131
|
}, function (_a) {
|
|
@@ -123,12 +134,20 @@ var StyledMarkdown = styled_components_1.default.div(templateObject_7 || (templa
|
|
|
123
134
|
});
|
|
124
135
|
/** A message body rendered as markdown, tinted from the active theme. */
|
|
125
136
|
var MessageBody = function (_a) {
|
|
126
|
-
var _b, _c;
|
|
127
137
|
var children = _a.children;
|
|
128
138
|
var theme = (0, reqore_1.useReqoreTheme)();
|
|
129
139
|
var readable = (0, colors_1.getReadableColor)(theme);
|
|
130
|
-
|
|
131
|
-
|
|
140
|
+
/* the links in the info intent and the text a shade softer, each as far as it still reads on the theme's
|
|
141
|
+
surfaces (qorus#646: the info blue was 3.5:1 on a bubble) */
|
|
142
|
+
var _b = (0, react_1.useMemo)(function () {
|
|
143
|
+
var _a, _b;
|
|
144
|
+
var surfaces = (0, readableColors_1.getThemeSurfaces)(theme);
|
|
145
|
+
return {
|
|
146
|
+
link: (0, readableColors_1.getReadableShade)((_b = (_a = theme.intents) === null || _a === void 0 ? void 0 : _a.info) !== null && _b !== void 0 ? _b : readable, surfaces),
|
|
147
|
+
text: (0, readableColors_1.getReadableFaded)(readable, surfaces, 0.72),
|
|
148
|
+
};
|
|
149
|
+
}, [theme, readable]), link = _b.link, text = _b.text;
|
|
150
|
+
return ((0, jsx_runtime_1.jsx)(StyledMarkdown, { "$color": text, "$emphasis": (0, polished_1.rgba)(readable, 0.95), "$code": (0, polished_1.rgba)(readable, 0.1), "$link": link, children: (0, jsx_runtime_1.jsx)(react_markdown_1.default, { children: children }) }));
|
|
132
151
|
};
|
|
133
152
|
/** A file attachment as a download chip — the fallback for every non-image, and for
|
|
134
153
|
* images when no `fetchAttachmentUrl` is wired. */
|
|
@@ -215,6 +234,12 @@ var TicketThread = function (_a) {
|
|
|
215
234
|
// end rather than scrollIntoView on a sentinel — scrollIntoView also drags any outer scroll
|
|
216
235
|
// container around and stops one bottom-padding short of the real end.
|
|
217
236
|
var threadRef = (0, react_1.useRef)(null);
|
|
237
|
+
/* The empty state's deboss (its icon and title washed back), the system notes and the message count: as
|
|
238
|
+
faint as they still read - 3:1 the icon, 4.5:1 the text (qorus#646). */
|
|
239
|
+
var emptyIconOpacity = (0, useReadableOpacity_1.useReadableOpacity)(0.28, readableColors_1.READABLE_ICON);
|
|
240
|
+
var emptyTitleOpacity = (0, useReadableOpacity_1.useReadableOpacity)(0.4);
|
|
241
|
+
var systemNoteOpacity = (0, useReadableOpacity_1.useReadableOpacity)(0.55);
|
|
242
|
+
var countOpacity = (0, useReadableOpacity_1.useReadableOpacity)(0.5);
|
|
218
243
|
(0, react_1.useEffect)(function () {
|
|
219
244
|
var _a, _b;
|
|
220
245
|
// Find the thread's OWN scroll container — the nearest ancestor that actually scrolls
|
|
@@ -270,10 +295,10 @@ var TicketThread = function (_a) {
|
|
|
270
295
|
return (0, jsx_runtime_1.jsx)(ConversationSkeleton, {});
|
|
271
296
|
}
|
|
272
297
|
if (!messages.length) {
|
|
273
|
-
return ((0, jsx_runtime_1.jsx)(StyledEmpty, { children: (0, jsx_runtime_1.jsx)(reqore_1.ReqoreEmptyState, { icon: 'Chat3Line', title: 'No messages yet', flat: true, transparent: true }) }));
|
|
298
|
+
return ((0, jsx_runtime_1.jsx)(StyledEmpty, { "$iconOpacity": emptyIconOpacity, "$titleOpacity": emptyTitleOpacity, children: (0, jsx_runtime_1.jsx)(reqore_1.ReqoreEmptyState, { icon: 'Chat3Line', title: 'No messages yet', flat: true, transparent: true }) }));
|
|
274
299
|
}
|
|
275
300
|
return ((0, jsx_runtime_1.jsxs)(StyledThread, { ref: threadRef, children: [segments.map(function (segment, index) {
|
|
276
|
-
return segment.kind === 'system' ? ((0, jsx_runtime_1.jsxs)(StyledSystemRow, { id: (0, exports.ticketMessageDomId)(segment.message.message_id), children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreIcon, { icon: 'InformationLine', size: 'tiny' }), (0, jsx_runtime_1.jsx)(react_markdown_1.default, { children: segment.message.body })] }, segment.message.message_id)) : ((0, jsx_runtime_1.jsx)(reqore_1.ReqoreBubbleGroup, { children: segment.messages.map(function (message) {
|
|
301
|
+
return segment.kind === 'system' ? ((0, jsx_runtime_1.jsxs)(StyledSystemRow, { "$opacity": systemNoteOpacity, id: (0, exports.ticketMessageDomId)(segment.message.message_id), children: [(0, jsx_runtime_1.jsx)(reqore_1.ReqoreIcon, { icon: 'InformationLine', size: 'tiny' }), (0, jsx_runtime_1.jsx)(react_markdown_1.default, { children: segment.message.body })] }, segment.message.message_id)) : ((0, jsx_runtime_1.jsx)(reqore_1.ReqoreBubbleGroup, { children: segment.messages.map(function (message) {
|
|
277
302
|
var _a, _b;
|
|
278
303
|
return ((0, jsx_runtime_1.jsxs)(reqore_1.ReqoreBubble, {
|
|
279
304
|
// anchor for "show in chat"; ReqoreBubble forwards unknown props to
|
|
@@ -281,7 +306,7 @@ var TicketThread = function (_a) {
|
|
|
281
306
|
id: (0, exports.ticketMessageDomId)(message.message_id), size: 'small', maxWidth: '76%', align: message.author_type === viewerRole ? 'right' : 'left', avatar: { icon: authorIcon(message) }, label: authorLabel(message, viewerRole), timestamp: message.created ? (0, jsx_runtime_1.jsx)(reqore_1.ReqoreTimeAgo, { time: message.created }) : undefined,
|
|
282
307
|
// Own messages read as info-blue, the other party's as the purple
|
|
283
308
|
// accent — so the two sides of the conversation are told apart by
|
|
284
|
-
//
|
|
309
|
+
// color as well as by side, and "which of these did I write?" is
|
|
285
310
|
// answerable at a glance. Deliberately keyed off `viewerRole`, so it
|
|
286
311
|
// stays correct on the staff surface too (staff replies are the blue
|
|
287
312
|
// ones there). Internal notes keep their warning intent and are not
|
|
@@ -292,7 +317,7 @@ var TicketThread = function (_a) {
|
|
|
292
317
|
? 'info'
|
|
293
318
|
: undefined, customTheme: message.internal || message.author_type === viewerRole ? undefined : ACCENT, flat: false, minimal: true, children: [(0, jsx_runtime_1.jsx)(MessageBody, { children: message.body }), ((_a = message.attachments) === null || _a === void 0 ? void 0 : _a.length) ? ((0, jsx_runtime_1.jsx)(AttachmentList, { attachments: message.attachments, fetchAttachmentUrl: fetchAttachmentUrl, onDownloadAttachment: onDownloadAttachment })) : null, ((_b = refsFor(message)) === null || _b === void 0 ? void 0 : _b.length) ? ((0, jsx_runtime_1.jsx)("div", { style: { marginTop: 8 }, children: (0, jsx_runtime_1.jsx)(supportTicket_1.InterfaceReferenceTags, { size: 'tiny', customTheme: ACCENT, references: refsFor(message), resolveInterfaceIcon: resolveInterfaceIcon, preferKindImage: preferKindImage, onInterfaceClick: onInterfaceClick }) })) : null] }, message.message_id));
|
|
294
319
|
}) }, "group-".concat(index)));
|
|
295
|
-
}), (0, jsx_runtime_1.jsxs)(reqore_1.ReqoreP, { size: 'tiny', effect: { opacity:
|
|
320
|
+
}), (0, jsx_runtime_1.jsxs)(reqore_1.ReqoreP, { size: 'tiny', effect: { opacity: countOpacity, textAlign: 'center' }, children: [messages.length, " message", messages.length === 1 ? '' : 's'] })] }));
|
|
296
321
|
};
|
|
297
322
|
exports.TicketThread = TicketThread;
|
|
298
323
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TicketThread.js","sourceRoot":"","sources":["../../../src/components/ticketThread/TicketThread.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,mDAWkC;AAClC,uEAAgF;AAEhF,qCAAgC;AAChC,+BAA6E;AAC7E,kEAA2C;AAC3C,wEAAuC;AACvC,+CAA4D;AAC5D,kDAAiD;AACjD,kDAM0B;AAoF1B,IAAM,WAAW,GAA8C;IAC7D,QAAQ,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAC/B,KAAK,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE;IACvC,MAAM,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;CACpC,CAAC;AAEF,iFAAiF;AACjF,gFAAgF;AAChF,0EAA0E;AAC1E,IAAM,MAAM,GAAuD,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAEvF,oFAAoF;AACpF,IAAM,UAAU,GAAG,UAAC,OAA6B;IAC/C,OAAA,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI;AAAvE,CAAuE,CAAC;AAG1E;;kEAEkE;AAClE,IAAM,WAAW,GAAG,UAAC,OAA6B,EAAE,UAA6B;IAC/E,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;QACrB,OAAO,eAAe,CAAC;IACzB,CAAC;IACD,IAAI,UAAU,KAAK,UAAU,EAAE,CAAC;QAC9B,OAAO,OAAO,CAAC,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC;IACtE,CAAC;IACD,OAAO,UAA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D,IACG,CAChB,CAAC;AACJ,CAAC,CAAC;AAvKW,QAAA,YAAY,gBAuKvB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { TReqoreTooltipProp } from '@qoretechnologies/reqore/dist/types/global';
|
|
2
|
+
import { TMarkdownRenderer } from '../components/Description/markdownRendererContext';
|
|
3
|
+
/**
|
|
4
|
+
* How wide a description's card grows: as wide as what it says, up to a readable line (about 80 characters of
|
|
5
|
+
* the card's text), and never wider than the screen. At 360px a one-sentence description broke onto two lines on
|
|
6
|
+
* any screen.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DESCRIPTION_TOOLTIP_MAX_WIDTH = "min(560px, calc(100vw - 24px))";
|
|
9
|
+
/** How a surface shows a description's card: see `useDescriptionTooltips`. */
|
|
10
|
+
export interface IDescriptionTooltipOptions {
|
|
11
|
+
/** The host's markdown renderer, when it has one. */
|
|
12
|
+
render?: TMarkdownRenderer;
|
|
13
|
+
/** The pointer cannot hover (a finger): the card opens on a tap instead. */
|
|
14
|
+
tapToOpen?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* How this surface shows a description's card: drawn by the host's markdown renderer, and opened by a tap
|
|
18
|
+
* where there is no hover.
|
|
19
|
+
*
|
|
20
|
+
* A hover card does not open on a touch screen. Reqore opens it on `mouseenter` and closes it on any click,
|
|
21
|
+
* and a tap is both, so the card closed the moment it opened and what it says was out of a finger's reach.
|
|
22
|
+
* Where the pointer is a finger (`useCoarsePointer`, as the color field and the expression builder ask), the
|
|
23
|
+
* card opens on a tap of what it describes and closes on the next tap, there or anywhere else.
|
|
24
|
+
*/
|
|
25
|
+
export declare const useDescriptionTooltips: () => IDescriptionTooltipOptions;
|
|
26
|
+
/**
|
|
27
|
+
* A description from the server as the hover of whatever it describes: a template chip, a choice, a
|
|
28
|
+
* section of a schema.
|
|
29
|
+
*
|
|
30
|
+
* A description is markdown, written by the same author as the field descriptions and the template list
|
|
31
|
+
* this package already draws through the host's renderer (`useMarkdownRenderer`). A hover that took the
|
|
32
|
+
* same string as plain content printed its `**` and backticks at the reader, beside a list that drew them.
|
|
33
|
+
* So every hover of a description is made here, drawn by the same renderer, `compact` as a hover card is.
|
|
34
|
+
*
|
|
35
|
+
* Without a host renderer it reads as the plain text its markdown renders to - the words and the paragraph
|
|
36
|
+
* breaks, none of the marks (`markdownToPlainText`) - as the template list's rows do: reqraft draws in no dialect
|
|
37
|
+
* the host never chose, and prints no `**` either.
|
|
38
|
+
*
|
|
39
|
+
* `title` heads the card - a template's name, say. Returns the title alone when there is no description,
|
|
40
|
+
* and undefined when there is neither.
|
|
41
|
+
*/
|
|
42
|
+
export declare const descriptionTooltip: (description: unknown, { render, tapToOpen }: IDescriptionTooltipOptions, title?: string) => TReqoreTooltipProp | undefined;
|
|
43
|
+
//# sourceMappingURL=descriptionTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptionTooltip.d.ts","sourceRoot":"","sources":["../../src/helpers/descriptionTooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhG,OAAO,EACL,iBAAiB,EAElB,MAAM,mDAAmD,CAAC;AAI3D;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,mCAAmC,CAAC;AAE9E,8EAA8E;AAC9E,MAAM,WAAW,0BAA0B;IACzC,qDAAqD;IACrD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,QAAO,0BAIzC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB,gBAChB,OAAO,yBACG,0BAA0B,UACzC,MAAM,KACb,kBAAkB,GAAG,SAkBvB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.descriptionTooltip = exports.useDescriptionTooltips = exports.DESCRIPTION_TOOLTIP_MAX_WIDTH = void 0;
|
|
15
|
+
var react_1 = require("react");
|
|
16
|
+
var markdownRendererContext_1 = require("../components/Description/markdownRendererContext");
|
|
17
|
+
var useCoarsePointer_1 = require("../hooks/useCoarsePointer");
|
|
18
|
+
var markdownText_1 = require("./markdownText");
|
|
19
|
+
/**
|
|
20
|
+
* How wide a description's card grows: as wide as what it says, up to a readable line (about 80 characters of
|
|
21
|
+
* the card's text), and never wider than the screen. At 360px a one-sentence description broke onto two lines on
|
|
22
|
+
* any screen.
|
|
23
|
+
*/
|
|
24
|
+
exports.DESCRIPTION_TOOLTIP_MAX_WIDTH = 'min(560px, calc(100vw - 24px))';
|
|
25
|
+
/**
|
|
26
|
+
* How this surface shows a description's card: drawn by the host's markdown renderer, and opened by a tap
|
|
27
|
+
* where there is no hover.
|
|
28
|
+
*
|
|
29
|
+
* A hover card does not open on a touch screen. Reqore opens it on `mouseenter` and closes it on any click,
|
|
30
|
+
* and a tap is both, so the card closed the moment it opened and what it says was out of a finger's reach.
|
|
31
|
+
* Where the pointer is a finger (`useCoarsePointer`, as the color field and the expression builder ask), the
|
|
32
|
+
* card opens on a tap of what it describes and closes on the next tap, there or anywhere else.
|
|
33
|
+
*/
|
|
34
|
+
var useDescriptionTooltips = function () {
|
|
35
|
+
var render = (0, markdownRendererContext_1.useMarkdownRenderer)();
|
|
36
|
+
var tapToOpen = (0, useCoarsePointer_1.useCoarsePointer)();
|
|
37
|
+
return (0, react_1.useMemo)(function () { return ({ render: render, tapToOpen: tapToOpen }); }, [render, tapToOpen]);
|
|
38
|
+
};
|
|
39
|
+
exports.useDescriptionTooltips = useDescriptionTooltips;
|
|
40
|
+
/**
|
|
41
|
+
* A description from the server as the hover of whatever it describes: a template chip, a choice, a
|
|
42
|
+
* section of a schema.
|
|
43
|
+
*
|
|
44
|
+
* A description is markdown, written by the same author as the field descriptions and the template list
|
|
45
|
+
* this package already draws through the host's renderer (`useMarkdownRenderer`). A hover that took the
|
|
46
|
+
* same string as plain content printed its `**` and backticks at the reader, beside a list that drew them.
|
|
47
|
+
* So every hover of a description is made here, drawn by the same renderer, `compact` as a hover card is.
|
|
48
|
+
*
|
|
49
|
+
* Without a host renderer it reads as the plain text its markdown renders to - the words and the paragraph
|
|
50
|
+
* breaks, none of the marks (`markdownToPlainText`) - as the template list's rows do: reqraft draws in no dialect
|
|
51
|
+
* the host never chose, and prints no `**` either.
|
|
52
|
+
*
|
|
53
|
+
* `title` heads the card - a template's name, say. Returns the title alone when there is no description,
|
|
54
|
+
* and undefined when there is neither.
|
|
55
|
+
*/
|
|
56
|
+
var descriptionTooltip = function (description, _a, title) {
|
|
57
|
+
var render = _a.render, tapToOpen = _a.tapToOpen;
|
|
58
|
+
var touch = tapToOpen ? { handler: 'click' } : {};
|
|
59
|
+
if (typeof description !== 'string' || !description.trim()) {
|
|
60
|
+
// a title alone says what the thing it is on already says: nothing for a finger to open
|
|
61
|
+
return title || undefined;
|
|
62
|
+
}
|
|
63
|
+
var content = (render ? render({ value: description, compact: true }) : (0, markdownText_1.plainTextNode)(description));
|
|
64
|
+
if (typeof content === 'string' && !title && !tapToOpen) {
|
|
65
|
+
return content;
|
|
66
|
+
}
|
|
67
|
+
return __assign(__assign(__assign({}, (title ? { title: title } : {})), { content: content, maxWidth: exports.DESCRIPTION_TOOLTIP_MAX_WIDTH }), touch);
|
|
68
|
+
};
|
|
69
|
+
exports.descriptionTooltip = descriptionTooltip;
|
|
70
|
+
//# sourceMappingURL=descriptionTooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptionTooltip.js","sourceRoot":"","sources":["../../src/helpers/descriptionTooltip.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,+BAAgC;AAChC,6FAG2D;AAC3D,8DAA6D;AAC7D,+CAA+C;AAE/C;;;;GAIG;AACU,QAAA,6BAA6B,GAAG,gCAAgC,CAAC;AAU9E;;;;;;;;GAQG;AACI,IAAM,sBAAsB,GAAG;IACpC,IAAM,MAAM,GAAG,IAAA,6CAAmB,GAAE,CAAC;IACrC,IAAM,SAAS,GAAG,IAAA,mCAAgB,GAAE,CAAC;IACrC,OAAO,IAAA,eAAO,EAAC,cAAM,OAAA,CAAC,EAAE,MAAM,QAAA,EAAE,SAAS,WAAA,EAAE,CAAC,EAAvB,CAAuB,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AACrE,CAAC,CAAC;AAJW,QAAA,sBAAsB,0BAIjC;AAEF;;;;;;;;;;;;;;;GAeG;AACI,IAAM,kBAAkB,GAAG,UAChC,WAAoB,EACpB,EAAiD,EACjD,KAAc;QADZ,MAAM,YAAA,EAAE,SAAS,eAAA;IAGnB,IAAM,KAAK,GAA4B,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7E,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC;QAC3D,wFAAwF;QACxF,OAAO,KAAK,IAAI,SAAS,CAAC;IAC5B,CAAC;IACD,IAAM,OAAO,GAAG,CACd,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAA,4BAAa,EAAC,WAAW,CAAC,CACvD,CAAC;IAC/B,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,EAAE,CAAC;QACxD,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,sCACK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,OAAA,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC3B,OAAO,SAAA,EACP,QAAQ,EAAE,qCAA6B,KACpC,KAAK,EACR;AACJ,CAAC,CAAC;AAtBW,QAAA,kBAAkB,sBAsB7B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Whether a prop is one any HTML element takes: a global attribute, `aria-*`, `data-*` or an event handler. */
|
|
2
|
+
export declare const isHtmlElementProp: (name: string) => boolean;
|
|
3
|
+
/** The props any HTML element takes, and nothing else; see `isHtmlElementProp`. */
|
|
4
|
+
export declare const htmlElementProps: <T extends object>(props: T) => Partial<T>;
|
|
5
|
+
//# sourceMappingURL=domProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domProps.d.ts","sourceRoot":"","sources":["../../src/helpers/domProps.ts"],"names":[],"mappings":"AAgCA,gHAAgH;AAChH,eAAO,MAAM,iBAAiB,SAAU,MAAM,KAAG,OACmC,CAAC;AAErF,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,4BAA6B,CAAC,KAAG,QAAQ,CAAC,CAGtD,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2026 Qore Technologies, s.r.o.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.htmlElementProps = exports.isHtmlElementProp = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* The attributes any HTML element takes, beside `aria-*`, `data-*` and event handlers (qorus#646).
|
|
7
|
+
*
|
|
8
|
+
* A component that renders a plain element and takes the rest of its props for it passes that element only these.
|
|
9
|
+
* What else it is handed is not an attribute: a Reqore control group hands each component in it its layout props
|
|
10
|
+
* (`fluid`, `spaceBetween`, `size`, `intent`, `customTheme`, ...), and spread onto an element React warns of each
|
|
11
|
+
* ("Received `true` for a non-boolean attribute `fluid`") and writes the rest into the DOM.
|
|
12
|
+
*/
|
|
13
|
+
var GLOBAL_ATTRIBUTES = new Set([
|
|
14
|
+
'id',
|
|
15
|
+
'className',
|
|
16
|
+
'style',
|
|
17
|
+
'title',
|
|
18
|
+
'role',
|
|
19
|
+
'tabIndex',
|
|
20
|
+
'lang',
|
|
21
|
+
'dir',
|
|
22
|
+
'hidden',
|
|
23
|
+
'translate',
|
|
24
|
+
'draggable',
|
|
25
|
+
'slot',
|
|
26
|
+
'accessKey',
|
|
27
|
+
'autoFocus',
|
|
28
|
+
'inert',
|
|
29
|
+
'contentEditable',
|
|
30
|
+
'spellCheck',
|
|
31
|
+
'suppressContentEditableWarning',
|
|
32
|
+
'suppressHydrationWarning',
|
|
33
|
+
]);
|
|
34
|
+
/** Whether a prop is one any HTML element takes: a global attribute, `aria-*`, `data-*` or an event handler. */
|
|
35
|
+
var isHtmlElementProp = function (name) {
|
|
36
|
+
return GLOBAL_ATTRIBUTES.has(name) || /^(aria|data)-/.test(name) || /^on[A-Z]/.test(name);
|
|
37
|
+
};
|
|
38
|
+
exports.isHtmlElementProp = isHtmlElementProp;
|
|
39
|
+
/** The props any HTML element takes, and nothing else; see `isHtmlElementProp`. */
|
|
40
|
+
var htmlElementProps = function (props) {
|
|
41
|
+
return Object.fromEntries(Object.entries(props).filter(function (_a) {
|
|
42
|
+
var name = _a[0];
|
|
43
|
+
return (0, exports.isHtmlElementProp)(name);
|
|
44
|
+
}));
|
|
45
|
+
};
|
|
46
|
+
exports.htmlElementProps = htmlElementProps;
|
|
47
|
+
//# sourceMappingURL=domProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domProps.js","sourceRoot":"","sources":["../../src/helpers/domProps.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAE3C;;;;;;;GAOG;AACH,IAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,IAAI;IACJ,WAAW;IACX,OAAO;IACP,OAAO;IACP,MAAM;IACN,UAAU;IACV,MAAM;IACN,KAAK;IACL,QAAQ;IACR,WAAW;IACX,WAAW;IACX,MAAM;IACN,WAAW;IACX,WAAW;IACX,OAAO;IACP,iBAAiB;IACjB,YAAY;IACZ,gCAAgC;IAChC,0BAA0B;CAC3B,CAAC,CAAC;AAEH,gHAAgH;AACzG,IAAM,iBAAiB,GAAG,UAAC,IAAY;IAC5C,OAAA,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;AAAlF,CAAkF,CAAC;AADxE,QAAA,iBAAiB,qBACuD;AAErF,mFAAmF;AAC5E,IAAM,gBAAgB,GAAG,UAAmB,KAAQ;IACzD,OAAA,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAC,EAAM;YAAL,IAAI,QAAA;QAAM,OAAA,IAAA,yBAAiB,EAAC,IAAI,CAAC;IAAvB,CAAuB,CAAC,CACpD;AAFf,CAEe,CAAC;AAHL,QAAA,gBAAgB,oBAGX"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { IExpression, IExpressionSchema, IExpressionSchemaArg } from '../components/form/expressions/types';
|
|
2
2
|
import { IQorusTypeObject } from '../hooks/useQorusTypes';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* The UI type of an argument: a value's own type, or, for an expression, the
|
|
5
|
+
* type the server gave for it (`useExpressionType`) — an expression's type is
|
|
6
|
+
* never worked out here, so it is the same as everywhere else in Qorus
|
|
7
|
+
* (qoretechnologies/qorus#713). `any`, which nothing is judged by, until the
|
|
8
|
+
* server has given it.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getArgumentType: (_expressions: IExpressionSchema[], arg?: IExpression, schema?: IExpressionSchemaArg) => string;
|
|
4
11
|
export declare const argumentMatchesType: (expressions: IExpressionSchema[], arg: IExpression | undefined, schema: IExpressionSchemaArg) => boolean;
|
|
5
12
|
export declare const areQorusTypesCompatible: (mainType: string | string[], checkType: string | string[], fallbackTypes?: IQorusTypeObject[]) => boolean;
|
|
6
13
|
/**
|
|
@@ -10,8 +17,106 @@ export declare const areQorusTypesCompatible: (mainType: string | string[], chec
|
|
|
10
17
|
* instead (`@status == "open"`, `@note != ""`). The Qorus server applies the same rule.
|
|
11
18
|
*/
|
|
12
19
|
export declare const isTextOrDateType: (type: string) => boolean;
|
|
13
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Whether a place takes a condition: its result must be true or false (`bool`, optional or soft, or a list of
|
|
22
|
+
* only that).
|
|
23
|
+
*/
|
|
14
24
|
export declare const isConditionType: (returnType: string | string[] | undefined) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* What an editor says of a condition that gives this type (qorus#646): nothing for true or false or a type it
|
|
27
|
+
* cannot tell (`any`, `auto`); an error for text, a date or a time, which do not say plainly what is meant;
|
|
28
|
+
* and a warning for any other (a number, a list, a hash), which the condition reads as true unless it is
|
|
29
|
+
* zero or empty - accepted, as the Qorus server accepts it, but said, because it is seldom what was meant.
|
|
30
|
+
* qorus-ide says the same of its own condition editors.
|
|
31
|
+
*/
|
|
32
|
+
export declare const conditionVerdict: (type: string | undefined) => 'error' | 'warning' | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Whether a field is a condition: its schema's `metadata.condition`, the mark a host sets on the options that
|
|
35
|
+
* are conditions (a Qog transition's value, a built-in if's value, a while or for block's condition). The
|
|
36
|
+
* schema's own `type` cannot say it: a value of type bool is not a condition.
|
|
37
|
+
*/
|
|
38
|
+
export declare const isConditionOption: (field: {
|
|
39
|
+
metadata?: Record<string, unknown>;
|
|
40
|
+
} | undefined) => boolean;
|
|
41
|
+
/** A type as a condition reads it: without the optional mark, `soft`, or what a list or hash holds. */
|
|
42
|
+
export declare const conditionBaseType: (type: string | undefined) => string;
|
|
43
|
+
/**
|
|
44
|
+
* What is said of a condition that gives text, a date or a time (NOT_A_CONDITION): what it gives, and how to make
|
|
45
|
+
* it one, with an example for its type. `typeInSentence` is the type named inside a sentence - its sentence form
|
|
46
|
+
* ("text"), as `qorusTypeSentenceForm` gives it - and `baseType` the type it is (`string`, `date`, `time`): the
|
|
47
|
+
* example follows it. These are the server's words: a fallback for when it said none, never a second wording of
|
|
48
|
+
* them. With no type to name, the sentence names none: "The condition must evaluate to true or false. …".
|
|
49
|
+
*/
|
|
50
|
+
export declare const conditionErrorText: (typeInSentence: string | undefined, baseType: string | undefined) => string;
|
|
51
|
+
/**
|
|
52
|
+
* What the expression builder says of an expression whose result does not fit its place: what it gives, what the
|
|
53
|
+
* place takes, and what to do. `gives` and `takes` name the types inside the sentence - their sentence forms ("a
|
|
54
|
+
* whole number"), as `qorusTypeSentenceForm` gives them, `takes` joined with "or" where a place takes more than
|
|
55
|
+
* one - and `gives` is undefined for an expression that gives nothing yet, `takes` for a place whose type is not
|
|
56
|
+
* known: the sentence then says what it gives without naming a type it cannot name (qorus#646).
|
|
57
|
+
*/
|
|
58
|
+
export declare const expressionTypeMismatchText: (gives: string | undefined, takes: string | undefined) => string;
|
|
59
|
+
/**
|
|
60
|
+
* What the builder's conversion list says of an argument it converts: from what to what. `from` and `to` name the
|
|
61
|
+
* types inside the sentence - their sentence forms, as `qorusTypeSentenceForm` gives them - and either is undefined
|
|
62
|
+
* where the type is not known; the sentence then names only the other, or neither (qorus#646).
|
|
63
|
+
*/
|
|
64
|
+
export declare const conversionText: (from: string | undefined, to: string | undefined) => string;
|
|
65
|
+
/**
|
|
66
|
+
* What is said of a condition that gives a number, a list, a hash or a type that is not known
|
|
67
|
+
* (CONDITION_BY_TRUTHINESS): how Qorus reads it, and how to say it explicitly, by the type it gives - named by its
|
|
68
|
+
* sentence form ("a whole number", "key-value pairs (a hash)"), as the server names it
|
|
69
|
+
* (`QonsoleDesignI18n::conditionByTruthinessText`, qorus 04e6c502f). These are the server's words: a fallback for
|
|
70
|
+
* when it said none.
|
|
71
|
+
*/
|
|
72
|
+
export declare const conditionByTruthinessText: (type: string | undefined) => string;
|
|
73
|
+
/** The operators whose every part is read as true or false by its value: AND, OR and NOT. */
|
|
74
|
+
export declare const LOGICAL_OPERATORS: readonly ["&&", "||", "!"];
|
|
75
|
+
/** Whether an expression is an AND, an OR or a NOT. */
|
|
76
|
+
export declare const isLogicalOperation: (expression: IExpression | undefined) => boolean;
|
|
77
|
+
/** How the server reads a part of a condition (`dpql/parse` with `condition: true`, qorus#646). */
|
|
78
|
+
export type TConditionReading = 'condition' | 'truthiness' | 'not_a_condition' | 'unknown';
|
|
79
|
+
/** A part of an AND, an OR or a NOT in a condition: the type it gives and how it is read. */
|
|
80
|
+
export interface IConditionPart {
|
|
81
|
+
type: string;
|
|
82
|
+
reading: TConditionReading;
|
|
83
|
+
/** What the server says of it, in its words, when it says anything. */
|
|
84
|
+
message?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* What the server says of a whole condition, in its words: the first condition diagnostic, when the whole
|
|
88
|
+
* expression's type (`inferredType`) makes it one the server says something of and the diagnostic is that kind.
|
|
89
|
+
* Undefined when it says nothing of the whole - true or false, a type it cannot tell, or diagnostics that do not
|
|
90
|
+
* line up.
|
|
91
|
+
*/
|
|
92
|
+
export declare const conditionWholeMessage: (inferredType: string | undefined, diagnostics: Array<{
|
|
93
|
+
code?: string | number;
|
|
94
|
+
message: string;
|
|
95
|
+
}>) => string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* The parts the server judged, each with what it said of it.
|
|
98
|
+
*
|
|
99
|
+
* The server says it in the diagnostics (NOT_A_CONDITION, CONDITION_BY_TRUTHINESS), in the order it judged:
|
|
100
|
+
* the whole expression first, then its parts - one for each that is not true or false, all over the whole
|
|
101
|
+
* text. The whole's own reading is the one its type gives (`inferredType`); the answer's `condition_reading`
|
|
102
|
+
* is the worst of all of them. A part keeps no words when the diagnostics do not line up with the readings.
|
|
103
|
+
*/
|
|
104
|
+
export declare const conditionPartsWithMessages: (parts: IConditionPart[] | undefined, inferredType: string | undefined, diagnostics: Array<{
|
|
105
|
+
code?: string | number;
|
|
106
|
+
message: string;
|
|
107
|
+
}>) => IConditionPart[] | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* Where each part the server judged is drawn, by the path of its card in the expression (the builder's
|
|
110
|
+
* `path`; `''` for the expression itself).
|
|
111
|
+
*
|
|
112
|
+
* The server reads each part of `&&`, `||` and `!` as a condition (qorus#646) and answers `parts` in its own
|
|
113
|
+
* walk order: the operands of the expression's logical operator, left to right, a nested `&&`, `||` or `!`
|
|
114
|
+
* standing for its own parts. A part of an AND or an OR has its own card; the part a NOT reads is drawn on
|
|
115
|
+
* the NOT's card. An answer whose parts are not this expression's (a stale one, or none) places nothing.
|
|
116
|
+
*/
|
|
117
|
+
export declare const conditionPartCards: (expression: IExpression | undefined, parts: IConditionPart[] | undefined) => Record<string, IConditionPart>;
|
|
118
|
+
/** What is said of a part of a condition: nothing when it is true or false or cannot be told. */
|
|
119
|
+
export declare const conditionPartVerdict: (part: IConditionPart | undefined) => 'error' | 'warning' | undefined;
|
|
15
120
|
/**
|
|
16
121
|
* Whether an operation is offered where its result must be of `returnType`: a condition (`bool`) is
|
|
17
122
|
* built from the operations whose result decides it, which is any result but text, a date or a time.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../src/helpers/expressions.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../src/helpers/expressions.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EAErB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,E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