@icure/form 1.0.19 → 1.1.10
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/.eslintrc +34 -0
- package/.prettierrc +8 -0
- package/.yarn/plugins/@yarnpkg/plugin-version.cjs +550 -0
- package/.yarn/versions/76a58acc.yml +0 -0
- package/.yarn/versions/c3ca09e7.yml +0 -0
- package/lib/components/common/index.d.ts +4 -0
- package/lib/components/common/index.js.map +1 -0
- package/lib/components/common/labelizedField.d.ts +8 -0
- package/{components/iqr-form/fields/multipleChoice.js → lib/components/common/labelizedField.js} +24 -24
- package/lib/components/common/labelizedField.js.map +1 -0
- package/lib/components/common/optionsField.d.ts +10 -0
- package/lib/components/common/optionsField.js +56 -0
- package/lib/components/common/optionsField.js.map +1 -0
- package/lib/components/common/stylizedField.d.ts +4 -0
- package/lib/components/common/stylizedField.js +801 -0
- package/lib/components/common/stylizedField.js.map +1 -0
- package/lib/components/common/translatedField.d.ts +8 -0
- package/{components/iqr-form/fields/timePicker.js → lib/components/common/translatedField.js} +22 -27
- package/lib/components/common/translatedField.js.map +1 -0
- package/lib/components/common/valuedField.d.ts +10 -0
- package/{components/iqr-form/fields/numberField.js → lib/components/common/valuedField.js} +18 -26
- package/lib/components/common/valuedField.js.map +1 -0
- package/lib/components/index.d.ts +6 -0
- package/{components → lib/components}/index.js +4 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/iqr-dropdown/index.d.ts +1 -0
- package/lib/components/iqr-dropdown/index.js +129 -0
- package/lib/components/iqr-dropdown/index.js.map +1 -0
- package/lib/components/iqr-form/fields/checkbox.d.ts +8 -0
- package/lib/components/iqr-form/fields/checkbox.js +50 -0
- package/lib/components/iqr-form/fields/checkbox.js.map +1 -0
- package/lib/components/iqr-form/fields/datePicker.d.ts +24 -0
- package/lib/components/iqr-form/fields/datePicker.js +101 -0
- package/lib/components/iqr-form/fields/datePicker.js.map +1 -0
- package/lib/components/iqr-form/fields/dateTimePicker.d.ts +24 -0
- package/lib/components/iqr-form/fields/dateTimePicker.js +100 -0
- package/lib/components/iqr-form/fields/dateTimePicker.js.map +1 -0
- package/lib/components/iqr-form/fields/dropdown.d.ts +10 -0
- package/lib/components/iqr-form/fields/dropdown.js +64 -0
- package/lib/components/iqr-form/fields/dropdown.js.map +1 -0
- package/lib/components/iqr-form/fields/label.d.ts +7 -0
- package/lib/components/iqr-form/fields/label.js +23 -0
- package/lib/components/iqr-form/fields/label.js.map +1 -0
- package/lib/components/iqr-form/fields/measureField.d.ts +25 -0
- package/lib/components/iqr-form/fields/measureField.js +107 -0
- package/lib/components/iqr-form/fields/measureField.js.map +1 -0
- package/lib/components/iqr-form/fields/multipleChoice.d.ts +15 -0
- package/lib/components/iqr-form/fields/multipleChoice.js +87 -0
- package/lib/components/iqr-form/fields/multipleChoice.js.map +1 -0
- package/lib/components/iqr-form/fields/numberField.d.ts +24 -0
- package/lib/components/iqr-form/fields/numberField.js +100 -0
- package/lib/components/iqr-form/fields/numberField.js.map +1 -0
- package/lib/components/iqr-form/fields/radioButton.d.ts +8 -0
- package/lib/components/iqr-form/fields/radioButton.js +50 -0
- package/lib/components/iqr-form/fields/radioButton.js.map +1 -0
- package/{components → lib/components}/iqr-form/fields/textfield.js +66 -37
- package/lib/components/iqr-form/fields/textfield.js.map +1 -0
- package/lib/components/iqr-form/fields/timePicker.d.ts +15 -0
- package/lib/components/iqr-form/fields/timePicker.js +90 -0
- package/lib/components/iqr-form/fields/timePicker.js.map +1 -0
- package/{components → lib/components}/iqr-form/index.d.ts +4 -0
- package/{components → lib/components}/iqr-form/index.js +40 -37
- package/lib/components/iqr-form/index.js.map +1 -0
- package/lib/components/iqr-form/model/index.d.ts +130 -0
- package/lib/components/iqr-form/model/index.js +164 -0
- package/lib/components/iqr-form/model/index.js.map +1 -0
- package/{components → lib/components}/iqr-form/renderer/cards.js +23 -9
- package/lib/components/iqr-form/renderer/cards.js.map +1 -0
- package/{components → lib/components}/iqr-form/renderer/form.d.ts +1 -0
- package/lib/components/iqr-form/renderer/form.js +240 -0
- package/lib/components/iqr-form/renderer/form.js.map +1 -0
- package/lib/components/iqr-form/renderer/index.d.ts +7 -0
- package/lib/components/iqr-form/renderer/index.js +3 -0
- package/lib/components/iqr-form/renderer/index.js.map +1 -0
- package/lib/components/iqr-form-loader/fieldsMapper.d.ts +3 -0
- package/lib/components/iqr-form-loader/fieldsMapper.js +16 -0
- package/lib/components/iqr-form-loader/fieldsMapper.js.map +1 -0
- package/lib/components/iqr-form-loader/fieldsValuesProviders.d.ts +38 -0
- package/lib/components/iqr-form-loader/fieldsValuesProviders.js +122 -0
- package/lib/components/iqr-form-loader/fieldsValuesProviders.js.map +1 -0
- package/{components → lib/components}/iqr-form-loader/formValuesContainer.d.ts +12 -4
- package/{components → lib/components}/iqr-form-loader/formValuesContainer.js +52 -3
- package/lib/components/iqr-form-loader/formValuesContainer.js.map +1 -0
- package/{components → lib/components}/iqr-form-loader/models.d.ts +1 -1
- package/lib/components/iqr-label/index.d.ts +1 -0
- package/lib/components/iqr-label/index.js +16 -0
- package/lib/components/iqr-label/index.js.map +1 -0
- package/lib/components/iqr-label/utils.d.ts +4 -0
- package/lib/components/iqr-label/utils.js +19 -0
- package/lib/components/iqr-label/utils.js.map +1 -0
- package/lib/components/iqr-radio-button-group/index.d.ts +1 -0
- package/lib/components/iqr-radio-button-group/index.js +807 -0
- package/lib/components/iqr-radio-button-group/index.js.map +1 -0
- package/{components → lib/components}/iqr-text-field/index.d.ts +10 -0
- package/{components → lib/components}/iqr-text-field/index.js +299 -194
- package/lib/components/iqr-text-field/index.js.map +1 -0
- package/{components → lib/components}/iqr-text-field/plugin/has-content-class-plugin.d.ts +1 -1
- package/{components → lib/components}/iqr-text-field/plugin/mask-plugin.js.map +1 -1
- package/{components → lib/components}/iqr-text-field/prosemirror-utils.d.ts +1 -1
- package/{components → lib/components}/iqr-text-field/prosemirror-utils.js.map +1 -1
- package/{components → lib/components}/iqr-text-field/schema/date-time-schema.d.ts +3 -3
- package/{components → lib/components}/iqr-text-field/schema/decimal-schema.d.ts +1 -1
- package/{components → lib/components}/iqr-text-field/schema/index.d.ts +1 -1
- package/{components → lib/components}/iqr-text-field/schema/markdown-schema.d.ts +3 -3
- package/{components → lib/components}/iqr-text-field/schema/measure-schema.d.ts +1 -1
- package/{components → lib/components}/iqr-text-field/schema/measure-schema.js +2 -1
- package/lib/components/iqr-text-field/schema/measure-schema.js.map +1 -0
- package/{components → lib/components}/iqr-text-field/schema/token-schema.d.ts +1 -1
- package/{components → lib/components}/iqr-text-field/styles/paths.d.ts +2 -0
- package/{components → lib/components}/iqr-text-field/styles/paths.js +7 -1
- package/lib/components/iqr-text-field/styles/paths.js.map +1 -0
- package/{components → lib/components}/iqr-text-field/suggestion-palette.d.ts +1 -1
- package/lib/package.json +32 -0
- package/{utils → lib/utils}/icure-utils.d.ts +3 -0
- package/{utils → lib/utils}/icure-utils.js +15 -1
- package/lib/utils/icure-utils.js.map +1 -0
- package/package.json +96 -19
- package/stats.json +1 -0
- package/tsconfig.tmp.json +39 -0
- package/components/index.d.ts +0 -2
- package/components/index.js.map +0 -1
- package/components/iqr-form/fields/datePicker.d.ts +0 -10
- package/components/iqr-form/fields/datePicker.js +0 -57
- package/components/iqr-form/fields/datePicker.js.map +0 -1
- package/components/iqr-form/fields/dateTimePicker.d.ts +0 -10
- package/components/iqr-form/fields/dateTimePicker.js +0 -49
- package/components/iqr-form/fields/dateTimePicker.js.map +0 -1
- package/components/iqr-form/fields/measureField.d.ts +0 -8
- package/components/iqr-form/fields/measureField.js +0 -44
- package/components/iqr-form/fields/measureField.js.map +0 -1
- package/components/iqr-form/fields/multipleChoice.d.ts +0 -8
- package/components/iqr-form/fields/multipleChoice.js.map +0 -1
- package/components/iqr-form/fields/numberField.d.ts +0 -8
- package/components/iqr-form/fields/numberField.js.map +0 -1
- package/components/iqr-form/fields/textfield.js.map +0 -1
- package/components/iqr-form/fields/timePicker.d.ts +0 -10
- package/components/iqr-form/fields/timePicker.js.map +0 -1
- package/components/iqr-form/index.js.map +0 -1
- package/components/iqr-form/model/index.d.ts +0 -96
- package/components/iqr-form/model/index.js +0 -120
- package/components/iqr-form/model/index.js.map +0 -1
- package/components/iqr-form/renderer/cards.js.map +0 -1
- package/components/iqr-form/renderer/form.js +0 -93
- package/components/iqr-form/renderer/form.js.map +0 -1
- package/components/iqr-form/renderer/index.d.ts +0 -6
- package/components/iqr-form/renderer/index.js.map +0 -1
- package/components/iqr-form-loader/fieldsValuesProviders.d.ts +0 -13
- package/components/iqr-form-loader/fieldsValuesProviders.js +0 -49
- package/components/iqr-form-loader/fieldsValuesProviders.js.map +0 -1
- package/components/iqr-form-loader/formValuesContainer.js.map +0 -1
- package/components/iqr-text-field/index.js.map +0 -1
- package/components/iqr-text-field/schema/measure-schema.js.map +0 -1
- package/components/iqr-text-field/styles/paths.js.map +0 -1
- package/utils/icure-utils.js.map +0 -1
- /package/{components/iqr-form/renderer → lib/components/common}/index.js +0 -0
- /package/{components → lib/components}/iqr-form/fields/textfield.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Content.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Content.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Content.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Data.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Data.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Data.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Editor.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Editor.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Editor.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormColumn.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormColumn.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormColumn.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormDataOption.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormDataOption.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormDataOption.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormLayout.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormLayout.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormLayout.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormLayoutData.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormLayoutData.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormLayoutData.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormPlanning.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormPlanning.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormPlanning.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormSection.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormSection.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/FormSection.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Formula.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Formula.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Formula.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/GuiCode.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/GuiCode.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/GuiCode.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/GuiCodeType.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/GuiCodeType.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/GuiCodeType.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Suggest.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Suggest.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Suggest.js.map +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Tag.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Tag.js +0 -0
- /package/{components → lib/components}/iqr-form/legacy/Tag.js.map +0 -0
- /package/{components → lib/components}/iqr-form/renderer/cards.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/utils.d.ts +0 -0
- /package/{components → lib/components}/iqr-form/utils.js +0 -0
- /package/{components → lib/components}/iqr-form/utils.js.map +0 -0
- /package/{components → lib/components}/iqr-form-loader/index.d.ts +0 -0
- /package/{components → lib/components}/iqr-form-loader/index.js +0 -0
- /package/{components → lib/components}/iqr-form-loader/index.js.map +0 -0
- /package/{components → lib/components}/iqr-form-loader/models.js +0 -0
- /package/{components → lib/components}/iqr-form-loader/models.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/caret-fix-plugin.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/caret-fix-plugin.js +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/caret-fix-plugin.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/has-content-class-plugin.js +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/has-content-class-plugin.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/mask-plugin.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/mask-plugin.js +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/regexp-plugin.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/regexp-plugin.js +0 -0
- /package/{components → lib/components}/iqr-text-field/plugin/regexp-plugin.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/prosemirror-commands.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/prosemirror-commands.js +0 -0
- /package/{components → lib/components}/iqr-text-field/prosemirror-commands.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/prosemirror-utils.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/common-marks.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/common-marks.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/common-marks.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/date-time-schema.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/date-time-schema.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/decimal-schema.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/decimal-schema.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/index.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/index.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/markdown-schema.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/markdown-schema.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/token-schema.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/token-schema.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/utils.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/utils.js +0 -0
- /package/{components → lib/components}/iqr-text-field/schema/utils.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/selection-companion.d.ts +0 -0
- /package/{components → lib/components}/iqr-text-field/selection-companion.js +0 -0
- /package/{components → lib/components}/iqr-text-field/selection-companion.js.map +0 -0
- /package/{components → lib/components}/iqr-text-field/suggestion-palette.js +0 -0
- /package/{components → lib/components}/iqr-text-field/suggestion-palette.js.map +0 -0
- /package/{index.d.ts → lib/index.d.ts} +0 -0
- /package/{index.js → lib/index.js} +0 -0
- /package/{index.js.map → lib/index.js.map} +0 -0
- /package/{utils → lib/utils}/languages.d.ts +0 -0
- /package/{utils → lib/utils}/languages.js +0 -0
- /package/{utils → lib/utils}/languages.js.map +0 -0
- /package/{utils → lib/utils}/no-lodash.d.ts +0 -0
- /package/{utils → lib/utils}/no-lodash.js +0 -0
- /package/{utils → lib/utils}/no-lodash.js.map +0 -0
package/.eslintrc
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parser": "@typescript-eslint/parser",
|
|
3
|
+
"parserOptions": {
|
|
4
|
+
"ecmaVersion": 2020,
|
|
5
|
+
"sourceType": "module",
|
|
6
|
+
"ecmaFeatures": {}
|
|
7
|
+
},
|
|
8
|
+
"plugins": [
|
|
9
|
+
"@typescript-eslint"
|
|
10
|
+
],
|
|
11
|
+
"extends":[
|
|
12
|
+
"plugin:@typescript-eslint/recommended",
|
|
13
|
+
"plugin:prettier/recommended"
|
|
14
|
+
],
|
|
15
|
+
"env": {
|
|
16
|
+
"browser": true,
|
|
17
|
+
"node": true,
|
|
18
|
+
"es6": true
|
|
19
|
+
},
|
|
20
|
+
"rules": {
|
|
21
|
+
"semi": ["error", "never", { "beforeStatementContinuationChars": "never"}],
|
|
22
|
+
"prettier/prettier": [
|
|
23
|
+
"error",
|
|
24
|
+
{
|
|
25
|
+
"endOfLine": "auto"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"max-len": ["error", {"code": 190, "ignoreStrings": true, "ignoreTemplateLiterals": true}],
|
|
29
|
+
"jsx-a11y/no-static-element-interactions": 0,
|
|
30
|
+
"@typescript-eslint/ban-ts-comment": 0,
|
|
31
|
+
"@typescript-eslint/no-namespace": 0
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
}
|