@icure/form 1.1.10 → 1.1.15
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/.yarn/cache/@lit-labs-ssr-dom-shim-npm-1.2.0-6bda8c35cb-704621c28d.zip +0 -0
- package/.yarn/cache/@lit-reactive-element-npm-1.6.3-4828441e51-79b58631c3.zip +0 -0
- package/.yarn/cache/@lit-reactive-element-npm-2.0.4-4836436301-368d788d9e.zip +0 -0
- package/.yarn/cache/@material-animation-npm-14.0.0-canary.53b3cad2f.0-06a813cdea-9b5190654c.zip +0 -0
- package/.yarn/cache/@material-base-npm-14.0.0-canary.53b3cad2f.0-d195c1fdc4-9f4928d115.zip +0 -0
- package/.yarn/cache/@material-button-npm-14.0.0-canary.53b3cad2f.0-d4b070f508-873295c56a.zip +0 -0
- package/.yarn/cache/@material-density-npm-14.0.0-canary.53b3cad2f.0-48c1f65059-a23f00edfe.zip +0 -0
- package/.yarn/cache/@material-dialog-npm-14.0.0-canary.53b3cad2f.0-96168fa294-c1a498b81a.zip +0 -0
- package/.yarn/cache/@material-dom-npm-14.0.0-canary.53b3cad2f.0-ac009dc871-f5817f76dd.zip +0 -0
- package/.yarn/cache/@material-elevation-npm-14.0.0-canary.53b3cad2f.0-3312f06793-2f8945c7b6.zip +0 -0
- package/.yarn/cache/@material-feature-targeting-npm-14.0.0-canary.53b3cad2f.0-a919042d50-e7a1ed68f9.zip +0 -0
- package/.yarn/cache/@material-floating-label-npm-14.0.0-canary.53b3cad2f.0-eb8f330f2f-5295dc481d.zip +0 -0
- package/.yarn/cache/@material-focus-ring-npm-14.0.0-canary.53b3cad2f.0-b22f851a2e-92273b1247.zip +0 -0
- package/.yarn/cache/@material-icon-button-npm-14.0.0-canary.53b3cad2f.0-e158d26048-19b51665f2.zip +0 -0
- package/.yarn/cache/@material-line-ripple-npm-14.0.0-canary.53b3cad2f.0-d089468db9-6518961487.zip +0 -0
- package/.yarn/cache/@material-list-npm-14.0.0-canary.53b3cad2f.0-df9ce05084-6c977f518d.zip +0 -0
- package/.yarn/cache/@material-menu-npm-14.0.0-canary.53b3cad2f.0-9489b592c8-71b6a1f4dd.zip +0 -0
- package/.yarn/cache/@material-menu-surface-npm-14.0.0-canary.53b3cad2f.0-52212f38f4-ad48e168ca.zip +0 -0
- package/.yarn/cache/@material-mwc-base-npm-0.27.0-79caf3ef2b-07af17edfc.zip +0 -0
- package/.yarn/cache/@material-mwc-button-npm-0.27.0-4b85f2b26f-2ef5cc0951.zip +0 -0
- package/.yarn/cache/@material-mwc-checkbox-npm-0.27.0-e837031d8e-ba53a6ea8c.zip +0 -0
- package/.yarn/cache/@material-mwc-dialog-npm-0.27.0-77c6071543-ffab528e8e.zip +0 -0
- package/.yarn/cache/@material-mwc-floating-label-npm-0.27.0-80e62b22c0-fbbf4f2e42.zip +0 -0
- package/.yarn/cache/@material-mwc-icon-button-npm-0.27.0-41f82f135b-7315c0735b.zip +0 -0
- package/.yarn/cache/@material-mwc-icon-npm-0.27.0-98c9e8509f-6dfa5115d5.zip +0 -0
- package/.yarn/cache/@material-mwc-line-ripple-npm-0.27.0-e6704221e0-6862ede0f4.zip +0 -0
- package/.yarn/cache/@material-mwc-list-npm-0.27.0-5344fc9de4-6c2ae4f1c6.zip +0 -0
- package/.yarn/cache/@material-mwc-menu-npm-0.27.0-7c2bb47797-126f733659.zip +0 -0
- package/.yarn/cache/@material-mwc-notched-outline-npm-0.27.0-0e0d1c4d5f-2739032f76.zip +0 -0
- package/.yarn/cache/@material-mwc-radio-npm-0.27.0-aa2098a280-0b0a0a6b99.zip +0 -0
- package/.yarn/cache/@material-mwc-ripple-npm-0.27.0-ed37672f08-9cd73fdfe4.zip +0 -0
- package/.yarn/cache/@material-mwc-textfield-npm-0.27.0-dabd704f55-978c893aca.zip +0 -0
- package/.yarn/cache/@material-notched-outline-npm-14.0.0-canary.53b3cad2f.0-ecacde98db-1a9f8db4d8.zip +0 -0
- package/.yarn/cache/@material-radio-npm-14.0.0-canary.53b3cad2f.0-c50de64d41-898554f2b3.zip +0 -0
- package/.yarn/cache/@material-ripple-npm-14.0.0-canary.53b3cad2f.0-49060bfe7e-08b71917e2.zip +0 -0
- package/.yarn/cache/@material-rtl-npm-14.0.0-canary.53b3cad2f.0-daca794b76-3c1b8b48c6.zip +0 -0
- package/.yarn/cache/@material-shape-npm-14.0.0-canary.53b3cad2f.0-5bcff722a6-6ad9b020c0.zip +0 -0
- package/.yarn/cache/@material-textfield-npm-14.0.0-canary.53b3cad2f.0-4414808dda-7072e3c9df.zip +0 -0
- package/.yarn/cache/@material-theme-npm-14.0.0-canary.53b3cad2f.0-9a24e7b046-fd44e92917.zip +0 -0
- package/.yarn/cache/@material-tokens-npm-14.0.0-canary.53b3cad2f.0-f1c87523da-efa909f861.zip +0 -0
- package/.yarn/cache/@material-touch-target-npm-14.0.0-canary.53b3cad2f.0-fa6a2d0875-dbc13cbe7a.zip +0 -0
- package/.yarn/cache/@material-typography-npm-14.0.0-canary.53b3cad2f.0-f4a58946f1-fa2671df40.zip +0 -0
- package/.yarn/cache/@types-node-npm-18.19.15-63d17b58ca-8ebad6b0a0.zip +0 -0
- package/.yarn/cache/@types-trusted-types-npm-2.0.7-a07fc44f59-8e4202766a.zip +0 -0
- package/.yarn/cache/@webcomponents-webcomponentsjs-npm-2.8.0-36c07db4d2-186373c030.zip +0 -0
- package/.yarn/cache/app-datepicker-npm-6.0.0-rc.33-f74d593ddf-6490949c45.zip +0 -0
- package/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip +0 -0
- package/.yarn/cache/blocking-elements-npm-0.1.1-423f51c76e-9a34084405.zip +0 -0
- package/.yarn/cache/entities-npm-4.5.0-7cdb83b832-853f8ebd5b.zip +0 -0
- package/.yarn/cache/fast-deep-equal-npm-3.1.3-790edcfcf5-e21a9d8d84.zip +0 -0
- package/.yarn/cache/linkify-it-npm-5.0.0-adb5f9c96f-b0b86cadaf.zip +0 -0
- package/.yarn/cache/lit-element-npm-3.3.3-2f9f9e38c0-29a596fa55.zip +0 -0
- package/.yarn/cache/lit-element-npm-4.0.4-95110c5931-721b877743.zip +0 -0
- package/.yarn/cache/lit-html-npm-2.8.0-82f88d6ebf-2d70df0724.zip +0 -0
- package/.yarn/cache/lit-html-npm-3.1.2-eef1e7cbd7-9a6f0326ae.zip +0 -0
- package/.yarn/cache/lit-npm-2.8.0-92bb1333a4-2480e733f7.zip +0 -0
- package/.yarn/cache/lit-npm-3.1.2-d289de97da-7776fc5f17.zip +0 -0
- package/.yarn/cache/lit-ntml-npm-3.0.6-98ebc6c1ac-2917c778d9.zip +0 -0
- package/.yarn/cache/lodash-es-npm-4.17.21-b45832dfce-05cbffad6e.zip +0 -0
- package/.yarn/cache/markdown-it-npm-14.0.0-e9aebdc7e3-f63bd8b39b.zip +0 -0
- package/.yarn/cache/mdurl-npm-2.0.0-3259713daf-880bc289ef.zip +0 -0
- package/.yarn/cache/nodemod-npm-3.0.6-844d650911-47ffe619b3.zip +0 -0
- package/.yarn/cache/normalize-diacritics-npm-3.0.12-93e2346015-5ddc2cfaf8.zip +0 -0
- package/.yarn/cache/orderedmap-npm-2.1.1-64b8a0684f-082cf970b0.zip +0 -0
- package/.yarn/cache/parse5-npm-6.0.1-70a35a494a-7d569a176c.zip +0 -0
- package/.yarn/cache/prosemirror-commands-npm-1.5.2-27f8f3fee9-ff65063a8c.zip +0 -0
- package/.yarn/cache/prosemirror-history-npm-1.3.2-cc128c8ee6-b85fe6378a.zip +0 -0
- package/.yarn/cache/prosemirror-keymap-npm-1.2.2-efb8276b00-85fe4fc303.zip +0 -0
- package/.yarn/cache/prosemirror-markdown-npm-1.12.0-28e990f443-d7607ee1a6.zip +0 -0
- package/.yarn/cache/prosemirror-model-npm-1.19.4-4fd32211c8-12c277ed30.zip +0 -0
- package/.yarn/cache/prosemirror-schema-basic-npm-1.2.2-def7bf2ec7-1f93f8678c.zip +0 -0
- package/.yarn/cache/prosemirror-schema-list-npm-1.3.0-23c1830a7e-03654e37c8.zip +0 -0
- package/.yarn/cache/prosemirror-state-npm-1.4.3-d6540e44ad-28857d935c.zip +0 -0
- package/.yarn/cache/prosemirror-transform-npm-1.8.0-ea3ca0411f-6d16ca4f95.zip +0 -0
- package/.yarn/cache/prosemirror-view-npm-1.32.7-63c3e4b182-40c9038a52.zip +0 -0
- package/.yarn/cache/punycode.js-npm-2.3.1-9084ecbbf5-13466d7ed5.zip +0 -0
- package/.yarn/cache/rope-sequence-npm-1.3.4-3b09587e5f-95cca2f99a.zip +0 -0
- package/.yarn/cache/tslib-npm-2.6.2-4fc8c068d9-329ea56123.zip +0 -0
- package/.yarn/cache/uc.micro-npm-2.0.0-9517366009-86e142c239.zip +0 -0
- package/.yarn/cache/undici-types-npm-5.26.5-de4f7c7bb9-3192ef6f3f.zip +0 -0
- package/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-39931f6da7.zip +0 -0
- package/.yarn/cache/w3c-keyname-npm-2.2.8-66d7d5317a-95bafa4c04.zip +0 -0
- package/.yarn/cache/wicg-inert-npm-3.1.2-786d525c4e-538c5cb7f2.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/components/common/field-with-options.d.ts +9 -0
- package/components/common/field-with-options.js +50 -0
- package/components/common/field-with-options.js.map +1 -0
- package/components/common/field.d.ts +46 -0
- package/components/common/field.js +107 -0
- package/components/common/field.js.map +1 -0
- package/components/common/index.d.ts +1 -0
- package/{lib/components/iqr-form-loader → components/common}/index.js +1 -3
- package/components/common/index.js.map +1 -0
- package/{lib/components/iqr-text-field → components/common}/styles/paths.d.ts +1 -0
- package/{lib/components/iqr-text-field → components/common}/styles/paths.js +25 -8
- package/components/common/styles/paths.js.map +1 -0
- package/components/common/utils.d.ts +8 -0
- package/components/common/utils.js +42 -0
- package/components/common/utils.js.map +1 -0
- package/components/icure-button-group/index.d.ts +12 -0
- package/components/icure-button-group/index.js +1140 -0
- package/components/icure-button-group/index.js.map +1 -0
- package/components/icure-date-picker/index.d.ts +16 -0
- package/components/icure-date-picker/index.js +1140 -0
- package/components/icure-date-picker/index.js.map +1 -0
- package/components/icure-dropdown-field/index.d.ts +16 -0
- package/components/icure-dropdown-field/index.js +1153 -0
- package/components/icure-dropdown-field/index.js.map +1 -0
- package/components/icure-form/fields/button-group/checkbox.d.ts +6 -0
- package/{lib/components/common/optionsField.js → components/icure-form/fields/button-group/checkbox.js} +29 -24
- package/components/icure-form/fields/button-group/checkbox.js.map +1 -0
- package/components/icure-form/fields/button-group/index.d.ts +2 -0
- package/components/icure-form/fields/button-group/index.js +19 -0
- package/components/icure-form/fields/button-group/index.js.map +1 -0
- package/components/icure-form/fields/button-group/radio-button.d.ts +6 -0
- package/components/icure-form/fields/button-group/radio-button.js +61 -0
- package/components/icure-form/fields/button-group/radio-button.js.map +1 -0
- package/components/icure-form/fields/date-picker/date-picker.d.ts +4 -0
- package/components/icure-form/fields/date-picker/date-picker.js +29 -0
- package/components/icure-form/fields/date-picker/date-picker.js.map +1 -0
- package/components/icure-form/fields/date-picker/date-time-picker.d.ts +4 -0
- package/components/icure-form/fields/date-picker/date-time-picker.js +29 -0
- package/components/icure-form/fields/date-picker/date-time-picker.js.map +1 -0
- package/components/icure-form/fields/date-picker/index.d.ts +3 -0
- package/components/icure-form/fields/date-picker/index.js +20 -0
- package/components/icure-form/fields/date-picker/index.js.map +1 -0
- package/components/icure-form/fields/date-picker/time-picker.d.ts +4 -0
- package/components/icure-form/fields/date-picker/time-picker.js +29 -0
- package/components/icure-form/fields/date-picker/time-picker.js.map +1 -0
- package/components/icure-form/fields/dropdown/dropdown-field.d.ts +11 -0
- package/{lib/components/iqr-form/fields/dropdown.js → components/icure-form/fields/dropdown/dropdown-field.js} +27 -26
- package/components/icure-form/fields/dropdown/dropdown-field.js.map +1 -0
- package/components/icure-form/fields/dropdown/index.d.ts +1 -0
- package/components/icure-form/fields/dropdown/index.js +18 -0
- package/components/icure-form/fields/dropdown/index.js.map +1 -0
- package/components/icure-form/fields/index.d.ts +9 -0
- package/components/icure-form/fields/index.js +26 -0
- package/components/icure-form/fields/index.js.map +1 -0
- package/components/icure-form/fields/items-list-field/index.d.ts +1 -0
- package/components/icure-form/fields/items-list-field/index.js +18 -0
- package/components/icure-form/fields/items-list-field/index.js.map +1 -0
- package/components/icure-form/fields/items-list-field/items-list-field.d.ts +6 -0
- package/{lib/components/common/labelizedField.js → components/icure-form/fields/items-list-field/items-list-field.js} +28 -23
- package/components/icure-form/fields/items-list-field/items-list-field.js.map +1 -0
- package/components/icure-form/fields/label/index.d.ts +1 -0
- package/components/icure-form/fields/label/index.js +18 -0
- package/components/icure-form/fields/label/index.js.map +1 -0
- package/components/icure-form/fields/label/label.d.ts +9 -0
- package/{lib/components/common/valuedField.js → components/icure-form/fields/label/label.js} +25 -14
- package/components/icure-form/fields/label/label.js.map +1 -0
- package/components/icure-form/fields/measure-field/index.d.ts +1 -0
- package/components/icure-form/fields/measure-field/index.js +18 -0
- package/components/icure-form/fields/measure-field/index.js.map +1 -0
- package/components/icure-form/fields/measure-field/measure-field.d.ts +4 -0
- package/components/icure-form/fields/measure-field/measure-field.js +31 -0
- package/components/icure-form/fields/measure-field/measure-field.js.map +1 -0
- package/components/icure-form/fields/number-field/index.d.ts +1 -0
- package/components/icure-form/fields/number-field/index.js +18 -0
- package/components/icure-form/fields/number-field/index.js.map +1 -0
- package/components/icure-form/fields/number-field/number-field.d.ts +4 -0
- package/components/icure-form/fields/number-field/number-field.js +29 -0
- package/components/icure-form/fields/number-field/number-field.js.map +1 -0
- package/components/icure-form/fields/text-field/index.d.ts +1 -0
- package/components/icure-form/fields/text-field/index.js +18 -0
- package/components/icure-form/fields/text-field/index.js.map +1 -0
- package/components/icure-form/fields/text-field/text-field.d.ts +28 -0
- package/{lib/components/iqr-form/fields/textfield.js → components/icure-form/fields/text-field/text-field.js} +32 -81
- package/components/icure-form/fields/text-field/text-field.js.map +1 -0
- package/components/icure-form/fields/token-field/index.d.ts +1 -0
- package/components/icure-form/fields/token-field/index.js +18 -0
- package/components/icure-form/fields/token-field/index.js.map +1 -0
- package/components/icure-form/fields/token-field/token-field.d.ts +6 -0
- package/{lib/components/common/translatedField.js → components/icure-form/fields/token-field/token-field.js} +27 -22
- package/components/icure-form/fields/token-field/token-field.js.map +1 -0
- package/components/icure-form/fields/utils/index.d.ts +11 -0
- package/components/icure-form/fields/utils/index.js +48 -0
- package/components/icure-form/fields/utils/index.js.map +1 -0
- package/components/icure-form/index.d.ts +23 -0
- package/{lib/components/common/stylizedField.js → components/icure-form/index.js} +400 -74
- package/components/icure-form/index.js.map +1 -0
- package/components/icure-form/renderer/form/form-selection-button.d.ts +9 -0
- package/components/icure-form/renderer/form/form-selection-button.js +108 -0
- package/components/icure-form/renderer/form/form-selection-button.js.map +1 -0
- package/components/icure-form/renderer/form/form.d.ts +3 -0
- package/components/icure-form/renderer/form/form.js +399 -0
- package/components/icure-form/renderer/form/form.js.map +1 -0
- package/components/icure-form/renderer/index.d.ts +11 -0
- package/components/icure-form/renderer/index.js.map +1 -0
- package/components/icure-label/index.d.ts +8 -0
- package/{lib/components/iqr-radio-button-group → components/icure-label}/index.js +379 -114
- package/components/icure-label/index.js.map +1 -0
- package/components/icure-text-field/index.d.ts +69 -0
- package/components/icure-text-field/index.js +1739 -0
- package/components/icure-text-field/index.js.map +1 -0
- package/components/icure-text-field/plugin/caret-fix-plugin.js.map +1 -0
- package/components/icure-text-field/plugin/has-content-class-plugin.js.map +1 -0
- package/components/icure-text-field/plugin/mask-plugin.js.map +1 -0
- package/components/icure-text-field/plugin/regexp-plugin.js.map +1 -0
- package/components/icure-text-field/prosemirror-commands.js.map +1 -0
- package/components/icure-text-field/prosemirror-utils.js.map +1 -0
- package/components/icure-text-field/schema/common-marks.js.map +1 -0
- package/components/icure-text-field/schema/date-time-schema.js.map +1 -0
- package/components/icure-text-field/schema/decimal-schema.js.map +1 -0
- package/components/icure-text-field/schema/index.d.ts +6 -0
- package/{lib/components/iqr-text-field → components/icure-text-field}/schema/index.js +6 -3
- package/components/icure-text-field/schema/index.js.map +1 -0
- package/components/icure-text-field/schema/items-list-schema.d.ts +3 -0
- package/components/icure-text-field/schema/items-list-schema.js +28 -0
- package/components/icure-text-field/schema/items-list-schema.js.map +1 -0
- package/components/icure-text-field/schema/items-list.d.ts +3 -0
- package/components/icure-text-field/schema/items-list.js +31 -0
- package/components/icure-text-field/schema/items-list.js.map +1 -0
- package/components/icure-text-field/schema/markdown-schema.js.map +1 -0
- package/components/icure-text-field/schema/measure-schema.d.ts +7 -0
- package/components/icure-text-field/schema/measure-schema.js +81 -0
- package/components/icure-text-field/schema/measure-schema.js.map +1 -0
- package/{lib/components/iqr-text-field → components/icure-text-field}/schema/token-schema.js +3 -6
- package/components/icure-text-field/schema/token-schema.js.map +1 -0
- package/components/icure-text-field/schema/utils.js.map +1 -0
- package/components/icure-text-field/selection-companion.js.map +1 -0
- package/{lib/components/iqr-text-field → components/icure-text-field}/suggestion-palette.d.ts +1 -6
- package/components/icure-text-field/suggestion-palette.js.map +1 -0
- package/components/index.d.ts +5 -0
- package/{lib/components → components}/index.js +4 -5
- package/components/index.js.map +1 -0
- package/components/model/index.d.ts +782 -0
- package/components/model/index.js +632 -0
- package/components/model/index.js.map +1 -0
- package/components/themes/default/index.js +28 -0
- package/components/themes/default/index.js.map +1 -0
- package/components/themes/ehr-lite/index.js +321 -0
- package/components/themes/ehr-lite/index.js.map +1 -0
- package/components/themes/kendo/index.js +285 -0
- package/components/themes/kendo/index.js.map +1 -0
- package/conversion/ckmeans-grouping.d.ts +4 -0
- package/conversion/ckmeans-grouping.js +53 -0
- package/conversion/ckmeans-grouping.js.map +1 -0
- package/conversion/ckmeans.d.ts +44 -0
- package/conversion/ckmeans.js +287 -0
- package/conversion/ckmeans.js.map +1 -0
- package/conversion/icure-convert.d.ts +3 -0
- package/conversion/icure-convert.js +165 -0
- package/conversion/icure-convert.js.map +1 -0
- package/generic/index.d.ts +1 -0
- package/generic/index.js +18 -0
- package/generic/index.js.map +1 -0
- package/generic/model.d.ts +39 -0
- package/{lib/components/iqr-form/renderer/index.js → generic/model.js} +1 -1
- package/generic/model.js.map +1 -0
- package/icure/form-values-container.d.ts +83 -0
- package/icure/form-values-container.js +445 -0
- package/icure/form-values-container.js.map +1 -0
- package/icure/index.d.ts +2 -0
- package/icure/index.js +19 -0
- package/icure/index.js.map +1 -0
- package/icure/model.d.ts +10 -0
- package/{lib/components/iqr-form-loader/models.js → icure/model.js} +1 -1
- package/icure/model.js.map +1 -0
- package/package.json +22 -95
- package/utils/code-utils.d.ts +18 -0
- package/utils/code-utils.js +36 -0
- package/utils/code-utils.js.map +1 -0
- package/utils/fields-values-provider.d.ts +18 -0
- package/utils/fields-values-provider.js +50 -0
- package/utils/fields-values-provider.js.map +1 -0
- package/utils/form-value-container.d.ts +3 -0
- package/utils/form-value-container.js +45 -0
- package/utils/form-value-container.js.map +1 -0
- package/utils/icure-utils.d.ts +16 -0
- package/{lib/utils → utils}/icure-utils.js +33 -48
- package/utils/icure-utils.js.map +1 -0
- package/utils/interpreter.d.ts +4 -0
- package/utils/interpreter.js +52 -0
- package/utils/interpreter.js.map +1 -0
- package/utils/languages.d.ts +10 -0
- package/utils/languages.js +15 -0
- package/utils/languages.js.map +1 -0
- package/utils/markdown.d.ts +8 -0
- package/utils/markdown.js +58 -0
- package/utils/markdown.js.map +1 -0
- package/utils/primitive.d.ts +7 -0
- package/utils/primitive.js +123 -0
- package/utils/primitive.js.map +1 -0
- package/.eslintrc +0 -34
- package/.prettierrc +0 -8
- package/.yarn/plugins/@yarnpkg/plugin-version.cjs +0 -550
- package/.yarn/versions/76a58acc.yml +0 -0
- package/.yarn/versions/c3ca09e7.yml +0 -0
- package/lib/components/common/index.d.ts +0 -4
- package/lib/components/common/index.js.map +0 -1
- package/lib/components/common/labelizedField.d.ts +0 -8
- package/lib/components/common/labelizedField.js.map +0 -1
- package/lib/components/common/optionsField.d.ts +0 -10
- package/lib/components/common/optionsField.js.map +0 -1
- package/lib/components/common/stylizedField.d.ts +0 -4
- package/lib/components/common/stylizedField.js.map +0 -1
- package/lib/components/common/translatedField.d.ts +0 -8
- package/lib/components/common/translatedField.js.map +0 -1
- package/lib/components/common/valuedField.d.ts +0 -10
- package/lib/components/common/valuedField.js.map +0 -1
- package/lib/components/index.d.ts +0 -6
- package/lib/components/index.js.map +0 -1
- package/lib/components/iqr-dropdown/index.js +0 -129
- package/lib/components/iqr-dropdown/index.js.map +0 -1
- package/lib/components/iqr-form/fields/checkbox.d.ts +0 -8
- package/lib/components/iqr-form/fields/checkbox.js +0 -50
- package/lib/components/iqr-form/fields/checkbox.js.map +0 -1
- package/lib/components/iqr-form/fields/datePicker.d.ts +0 -24
- package/lib/components/iqr-form/fields/datePicker.js +0 -101
- package/lib/components/iqr-form/fields/datePicker.js.map +0 -1
- package/lib/components/iqr-form/fields/dateTimePicker.d.ts +0 -24
- package/lib/components/iqr-form/fields/dateTimePicker.js +0 -100
- package/lib/components/iqr-form/fields/dateTimePicker.js.map +0 -1
- package/lib/components/iqr-form/fields/dropdown.d.ts +0 -10
- package/lib/components/iqr-form/fields/dropdown.js.map +0 -1
- package/lib/components/iqr-form/fields/label.d.ts +0 -7
- package/lib/components/iqr-form/fields/label.js +0 -23
- package/lib/components/iqr-form/fields/label.js.map +0 -1
- package/lib/components/iqr-form/fields/measureField.d.ts +0 -25
- package/lib/components/iqr-form/fields/measureField.js +0 -107
- package/lib/components/iqr-form/fields/measureField.js.map +0 -1
- package/lib/components/iqr-form/fields/multipleChoice.d.ts +0 -15
- package/lib/components/iqr-form/fields/multipleChoice.js +0 -87
- package/lib/components/iqr-form/fields/multipleChoice.js.map +0 -1
- package/lib/components/iqr-form/fields/numberField.d.ts +0 -24
- package/lib/components/iqr-form/fields/numberField.js +0 -100
- package/lib/components/iqr-form/fields/numberField.js.map +0 -1
- package/lib/components/iqr-form/fields/radioButton.d.ts +0 -8
- package/lib/components/iqr-form/fields/radioButton.js +0 -50
- package/lib/components/iqr-form/fields/radioButton.js.map +0 -1
- package/lib/components/iqr-form/fields/textfield.d.ts +0 -1
- package/lib/components/iqr-form/fields/textfield.js.map +0 -1
- package/lib/components/iqr-form/fields/timePicker.d.ts +0 -15
- package/lib/components/iqr-form/fields/timePicker.js +0 -90
- package/lib/components/iqr-form/fields/timePicker.js.map +0 -1
- package/lib/components/iqr-form/index.d.ts +0 -11
- package/lib/components/iqr-form/index.js +0 -150
- package/lib/components/iqr-form/index.js.map +0 -1
- package/lib/components/iqr-form/legacy/Content.d.ts +0 -28
- package/lib/components/iqr-form/legacy/Content.js +0 -30
- package/lib/components/iqr-form/legacy/Content.js.map +0 -1
- package/lib/components/iqr-form/legacy/Data.d.ts +0 -14
- package/lib/components/iqr-form/legacy/Data.js +0 -21
- package/lib/components/iqr-form/legacy/Data.js.map +0 -1
- package/lib/components/iqr-form/legacy/Editor.d.ts +0 -34
- package/lib/components/iqr-form/legacy/Editor.js +0 -19
- package/lib/components/iqr-form/legacy/Editor.js.map +0 -1
- package/lib/components/iqr-form/legacy/FormColumn.d.ts +0 -18
- package/lib/components/iqr-form/legacy/FormColumn.js +0 -10
- package/lib/components/iqr-form/legacy/FormColumn.js.map +0 -1
- package/lib/components/iqr-form/legacy/FormDataOption.d.ts +0 -16
- package/lib/components/iqr-form/legacy/FormDataOption.js +0 -21
- package/lib/components/iqr-form/legacy/FormDataOption.js.map +0 -1
- package/lib/components/iqr-form/legacy/FormLayout.d.ts +0 -25
- package/lib/components/iqr-form/legacy/FormLayout.js +0 -10
- package/lib/components/iqr-form/legacy/FormLayout.js.map +0 -1
- package/lib/components/iqr-form/legacy/FormLayoutData.d.ts +0 -42
- package/lib/components/iqr-form/legacy/FormLayoutData.js +0 -10
- package/lib/components/iqr-form/legacy/FormLayoutData.js.map +0 -1
- package/lib/components/iqr-form/legacy/FormPlanning.d.ts +0 -22
- package/lib/components/iqr-form/legacy/FormPlanning.js +0 -21
- package/lib/components/iqr-form/legacy/FormPlanning.js.map +0 -1
- package/lib/components/iqr-form/legacy/FormSection.d.ts +0 -19
- package/lib/components/iqr-form/legacy/FormSection.js +0 -10
- package/lib/components/iqr-form/legacy/FormSection.js.map +0 -1
- package/lib/components/iqr-form/legacy/Formula.d.ts +0 -27
- package/lib/components/iqr-form/legacy/Formula.js +0 -32
- package/lib/components/iqr-form/legacy/Formula.js.map +0 -1
- package/lib/components/iqr-form/legacy/GuiCode.d.ts +0 -16
- package/lib/components/iqr-form/legacy/GuiCode.js +0 -21
- package/lib/components/iqr-form/legacy/GuiCode.js.map +0 -1
- package/lib/components/iqr-form/legacy/GuiCodeType.d.ts +0 -15
- package/lib/components/iqr-form/legacy/GuiCodeType.js +0 -21
- package/lib/components/iqr-form/legacy/GuiCodeType.js.map +0 -1
- package/lib/components/iqr-form/legacy/Suggest.d.ts +0 -19
- package/lib/components/iqr-form/legacy/Suggest.js +0 -21
- package/lib/components/iqr-form/legacy/Suggest.js.map +0 -1
- package/lib/components/iqr-form/legacy/Tag.d.ts +0 -16
- package/lib/components/iqr-form/legacy/Tag.js +0 -21
- package/lib/components/iqr-form/legacy/Tag.js.map +0 -1
- package/lib/components/iqr-form/model/index.d.ts +0 -130
- package/lib/components/iqr-form/model/index.js +0 -164
- package/lib/components/iqr-form/model/index.js.map +0 -1
- package/lib/components/iqr-form/renderer/cards.d.ts +0 -2
- package/lib/components/iqr-form/renderer/cards.js +0 -69
- package/lib/components/iqr-form/renderer/cards.js.map +0 -1
- package/lib/components/iqr-form/renderer/form.d.ts +0 -3
- package/lib/components/iqr-form/renderer/form.js +0 -240
- package/lib/components/iqr-form/renderer/form.js.map +0 -1
- package/lib/components/iqr-form/renderer/index.d.ts +0 -7
- package/lib/components/iqr-form/renderer/index.js.map +0 -1
- package/lib/components/iqr-form/utils.d.ts +0 -5
- package/lib/components/iqr-form/utils.js +0 -91
- package/lib/components/iqr-form/utils.js.map +0 -1
- package/lib/components/iqr-form-loader/fieldsMapper.d.ts +0 -3
- package/lib/components/iqr-form-loader/fieldsMapper.js +0 -16
- package/lib/components/iqr-form-loader/fieldsMapper.js.map +0 -1
- package/lib/components/iqr-form-loader/fieldsValuesProviders.d.ts +0 -38
- package/lib/components/iqr-form-loader/fieldsValuesProviders.js +0 -122
- package/lib/components/iqr-form-loader/fieldsValuesProviders.js.map +0 -1
- package/lib/components/iqr-form-loader/formValuesContainer.d.ts +0 -41
- package/lib/components/iqr-form-loader/formValuesContainer.js +0 -160
- package/lib/components/iqr-form-loader/formValuesContainer.js.map +0 -1
- package/lib/components/iqr-form-loader/index.d.ts +0 -3
- package/lib/components/iqr-form-loader/index.js.map +0 -1
- package/lib/components/iqr-form-loader/models.d.ts +0 -14
- package/lib/components/iqr-form-loader/models.js.map +0 -1
- package/lib/components/iqr-label/index.js +0 -16
- package/lib/components/iqr-label/index.js.map +0 -1
- package/lib/components/iqr-label/utils.d.ts +0 -4
- package/lib/components/iqr-label/utils.js +0 -19
- package/lib/components/iqr-label/utils.js.map +0 -1
- package/lib/components/iqr-radio-button-group/index.js.map +0 -1
- package/lib/components/iqr-text-field/index.d.ts +0 -36
- package/lib/components/iqr-text-field/index.js +0 -1346
- package/lib/components/iqr-text-field/index.js.map +0 -1
- package/lib/components/iqr-text-field/plugin/caret-fix-plugin.js.map +0 -1
- package/lib/components/iqr-text-field/plugin/has-content-class-plugin.js.map +0 -1
- package/lib/components/iqr-text-field/plugin/mask-plugin.js.map +0 -1
- package/lib/components/iqr-text-field/plugin/regexp-plugin.js.map +0 -1
- package/lib/components/iqr-text-field/prosemirror-commands.js.map +0 -1
- package/lib/components/iqr-text-field/prosemirror-utils.js.map +0 -1
- package/lib/components/iqr-text-field/schema/common-marks.js.map +0 -1
- package/lib/components/iqr-text-field/schema/date-time-schema.js.map +0 -1
- package/lib/components/iqr-text-field/schema/decimal-schema.js.map +0 -1
- package/lib/components/iqr-text-field/schema/index.d.ts +0 -11
- package/lib/components/iqr-text-field/schema/index.js.map +0 -1
- package/lib/components/iqr-text-field/schema/markdown-schema.js.map +0 -1
- package/lib/components/iqr-text-field/schema/measure-schema.d.ts +0 -3
- package/lib/components/iqr-text-field/schema/measure-schema.js +0 -37
- package/lib/components/iqr-text-field/schema/measure-schema.js.map +0 -1
- package/lib/components/iqr-text-field/schema/token-schema.js.map +0 -1
- package/lib/components/iqr-text-field/schema/utils.js.map +0 -1
- package/lib/components/iqr-text-field/selection-companion.js.map +0 -1
- package/lib/components/iqr-text-field/styles/paths.js.map +0 -1
- package/lib/components/iqr-text-field/suggestion-palette.js.map +0 -1
- package/lib/package.json +0 -32
- package/lib/utils/icure-utils.d.ts +0 -22
- package/lib/utils/icure-utils.js.map +0 -1
- package/lib/utils/languages.d.ts +0 -8
- package/lib/utils/languages.js +0 -15
- package/lib/utils/languages.js.map +0 -1
- package/stats.json +0 -1
- package/tsconfig.tmp.json +0 -39
- /package/{lib/components/common → components/icure-form/renderer}/index.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/caret-fix-plugin.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/caret-fix-plugin.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/has-content-class-plugin.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/has-content-class-plugin.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/mask-plugin.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/mask-plugin.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/regexp-plugin.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/plugin/regexp-plugin.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/prosemirror-commands.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/prosemirror-commands.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/prosemirror-utils.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/prosemirror-utils.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/common-marks.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/common-marks.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/date-time-schema.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/date-time-schema.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/decimal-schema.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/decimal-schema.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/markdown-schema.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/markdown-schema.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/token-schema.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/utils.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/schema/utils.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/selection-companion.d.ts +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/selection-companion.js +0 -0
- /package/{lib/components/iqr-text-field → components/icure-text-field}/suggestion-palette.js +0 -0
- /package/{lib/components/iqr-dropdown → components/themes/default}/index.d.ts +0 -0
- /package/{lib/components/iqr-label → components/themes/ehr-lite}/index.d.ts +0 -0
- /package/{lib/components/iqr-radio-button-group → components/themes/kendo}/index.d.ts +0 -0
- /package/{lib/index.d.ts → index.d.ts} +0 -0
- /package/{lib/index.js → index.js} +0 -0
- /package/{lib/index.js.map → index.js.map} +0 -0
- /package/{lib/utils → utils}/no-lodash.d.ts +0 -0
- /package/{lib/utils → utils}/no-lodash.js +0 -0
- /package/{lib/utils → utils}/no-lodash.js.map +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iCure Cloud API Documentation
|
|
4
|
-
* Spring shop sample application
|
|
5
|
-
*
|
|
6
|
-
* OpenAPI spec version: v0.0.1
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.FormPlanning = void 0;
|
|
15
|
-
class FormPlanning {
|
|
16
|
-
constructor(json) {
|
|
17
|
-
Object.assign(this, json);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.FormPlanning = FormPlanning;
|
|
21
|
-
//# sourceMappingURL=FormPlanning.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormPlanning.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/FormPlanning.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,YAAY;IAUxB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAoB,EAAE,IAAI,CAAC,CAAA;IAC1C,CAAC;CACD;AAbD,oCAaC","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class FormPlanning {\n\tplanninfForAnyDoctor?: boolean\n\tplanningForDelegate?: boolean\n\tplanningForPatientDoctor?: boolean\n\tplanningForMe?: boolean\n\tcodedDelayInDays?: number\n\trepetitions?: number\n\trepetitionsUnit?: number\n\tdescr?: string\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as FormPlanning, json)\n\t}\n}\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* iCure Cloud API Documentation
|
|
3
|
-
* Spring shop sample application
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { FormColumn } from './FormColumn';
|
|
13
|
-
export declare class FormSection {
|
|
14
|
-
icon?: string;
|
|
15
|
-
title?: string;
|
|
16
|
-
columns?: number;
|
|
17
|
-
formColumns?: Array<FormColumn>;
|
|
18
|
-
constructor(json: JSON | any);
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormSection = void 0;
|
|
4
|
-
class FormSection {
|
|
5
|
-
constructor(json) {
|
|
6
|
-
Object.assign(this, json);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
exports.FormSection = FormSection;
|
|
10
|
-
//# sourceMappingURL=FormSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormSection.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/FormSection.ts"],"names":[],"mappings":";;;AAaA,MAAa,WAAW;IAMvB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAmB,EAAE,IAAI,CAAC,CAAA;IACzC,CAAC;CACD;AATD,kCASC","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { FormColumn } from './FormColumn'\n\nexport class FormSection {\n\ticon?: string\n\ttitle?: string\n\tcolumns?: number\n\tformColumns?: Array<FormColumn>\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as FormSection, json)\n\t}\n}\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* iCure Cloud API Documentation
|
|
3
|
-
* Spring shop sample application
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export declare class Formula {
|
|
13
|
-
value?: string;
|
|
14
|
-
lifecycle?: Formula.LifecycleEnum;
|
|
15
|
-
constructor(json: JSON | any);
|
|
16
|
-
}
|
|
17
|
-
export declare namespace Formula {
|
|
18
|
-
type LifecycleEnum = 'OnCreate' | 'OnLoad' | 'OnChange' | 'OnSave' | 'OnDestroy' | 'OnLoadPropertiesEditor';
|
|
19
|
-
const LifecycleEnum: {
|
|
20
|
-
OnCreate: LifecycleEnum;
|
|
21
|
-
OnLoad: LifecycleEnum;
|
|
22
|
-
OnChange: LifecycleEnum;
|
|
23
|
-
OnSave: LifecycleEnum;
|
|
24
|
-
OnDestroy: LifecycleEnum;
|
|
25
|
-
OnLoadPropertiesEditor: LifecycleEnum;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iCure Cloud API Documentation
|
|
4
|
-
* Spring shop sample application
|
|
5
|
-
*
|
|
6
|
-
* OpenAPI spec version: v0.0.1
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Formula = void 0;
|
|
15
|
-
class Formula {
|
|
16
|
-
constructor(json) {
|
|
17
|
-
Object.assign(this, json);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.Formula = Formula;
|
|
21
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
22
|
-
(function (Formula) {
|
|
23
|
-
Formula.LifecycleEnum = {
|
|
24
|
-
OnCreate: 'OnCreate',
|
|
25
|
-
OnLoad: 'OnLoad',
|
|
26
|
-
OnChange: 'OnChange',
|
|
27
|
-
OnSave: 'OnSave',
|
|
28
|
-
OnDestroy: 'OnDestroy',
|
|
29
|
-
OnLoadPropertiesEditor: 'OnLoadPropertiesEditor',
|
|
30
|
-
};
|
|
31
|
-
})(Formula = exports.Formula || (exports.Formula = {}));
|
|
32
|
-
//# sourceMappingURL=Formula.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Formula.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/Formula.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAInB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CACD;AAPD,0BAOC;AAED,2DAA2D;AAC3D,WAAiB,OAAO;IAEV,qBAAa,GAAG;QAC5B,QAAQ,EAAE,UAA2B;QACrC,MAAM,EAAE,QAAyB;QACjC,QAAQ,EAAE,UAA2B;QACrC,MAAM,EAAE,QAAyB;QACjC,SAAS,EAAE,WAA4B;QACvC,sBAAsB,EAAE,wBAAyC;KACjE,CAAA;AACF,CAAC,EAVgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAUvB","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class Formula {\n\tvalue?: string\n\tlifecycle?: Formula.LifecycleEnum\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as Formula, json)\n\t}\n}\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace Formula {\n\texport type LifecycleEnum = 'OnCreate' | 'OnLoad' | 'OnChange' | 'OnSave' | 'OnDestroy' | 'OnLoadPropertiesEditor'\n\texport const LifecycleEnum = {\n\t\tOnCreate: 'OnCreate' as LifecycleEnum,\n\t\tOnLoad: 'OnLoad' as LifecycleEnum,\n\t\tOnChange: 'OnChange' as LifecycleEnum,\n\t\tOnSave: 'OnSave' as LifecycleEnum,\n\t\tOnDestroy: 'OnDestroy' as LifecycleEnum,\n\t\tOnLoadPropertiesEditor: 'OnLoadPropertiesEditor' as LifecycleEnum,\n\t}\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* iCure Cloud API Documentation
|
|
3
|
-
* Spring shop sample application
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export declare class GuiCode {
|
|
13
|
-
type?: string;
|
|
14
|
-
code?: string;
|
|
15
|
-
constructor(json: JSON | any);
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iCure Cloud API Documentation
|
|
4
|
-
* Spring shop sample application
|
|
5
|
-
*
|
|
6
|
-
* OpenAPI spec version: v0.0.1
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.GuiCode = void 0;
|
|
15
|
-
class GuiCode {
|
|
16
|
-
constructor(json) {
|
|
17
|
-
Object.assign(this, json);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.GuiCode = GuiCode;
|
|
21
|
-
//# sourceMappingURL=GuiCode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GuiCode.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/GuiCode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAInB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CACD;AAPD,0BAOC","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class GuiCode {\n\ttype?: string\n\tcode?: string\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as GuiCode, json)\n\t}\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* iCure Cloud API Documentation
|
|
3
|
-
* Spring shop sample application
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export declare class GuiCodeType {
|
|
13
|
-
type?: string;
|
|
14
|
-
constructor(json: JSON | any);
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iCure Cloud API Documentation
|
|
4
|
-
* Spring shop sample application
|
|
5
|
-
*
|
|
6
|
-
* OpenAPI spec version: v0.0.1
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.GuiCodeType = void 0;
|
|
15
|
-
class GuiCodeType {
|
|
16
|
-
constructor(json) {
|
|
17
|
-
Object.assign(this, json);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.GuiCodeType = GuiCodeType;
|
|
21
|
-
//# sourceMappingURL=GuiCodeType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GuiCodeType.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/GuiCodeType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,WAAW;IAGvB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAmB,EAAE,IAAI,CAAC,CAAA;IACzC,CAAC;CACD;AAND,kCAMC","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class GuiCodeType {\n\ttype?: string\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as GuiCodeType, json)\n\t}\n}\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* iCure Cloud API Documentation
|
|
3
|
-
* Spring shop sample application
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export declare class Suggest {
|
|
13
|
-
filterKey?: string;
|
|
14
|
-
filterValue?: string;
|
|
15
|
-
entityClass?: string;
|
|
16
|
-
fieldValue?: string;
|
|
17
|
-
fieldDisplay?: string;
|
|
18
|
-
constructor(json: JSON | any);
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iCure Cloud API Documentation
|
|
4
|
-
* Spring shop sample application
|
|
5
|
-
*
|
|
6
|
-
* OpenAPI spec version: v0.0.1
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Suggest = void 0;
|
|
15
|
-
class Suggest {
|
|
16
|
-
constructor(json) {
|
|
17
|
-
Object.assign(this, json);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.Suggest = Suggest;
|
|
21
|
-
//# sourceMappingURL=Suggest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Suggest.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/Suggest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAOnB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CACD;AAVD,0BAUC","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class Suggest {\n\tfilterKey?: string\n\tfilterValue?: string\n\tentityClass?: string\n\tfieldValue?: string\n\tfieldDisplay?: string\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as Suggest, json)\n\t}\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* iCure Cloud API Documentation
|
|
3
|
-
* Spring shop sample application
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export declare class Tag {
|
|
13
|
-
type?: string;
|
|
14
|
-
tag?: string;
|
|
15
|
-
constructor(json: JSON | any);
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iCure Cloud API Documentation
|
|
4
|
-
* Spring shop sample application
|
|
5
|
-
*
|
|
6
|
-
* OpenAPI spec version: v0.0.1
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Tag = void 0;
|
|
15
|
-
class Tag {
|
|
16
|
-
constructor(json) {
|
|
17
|
-
Object.assign(this, json);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.Tag = Tag;
|
|
21
|
-
//# sourceMappingURL=Tag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../tmp/components/iqr-form/legacy/Tag.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,GAAG;IAIf,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAW,EAAE,IAAI,CAAC,CAAA;IACjC,CAAC;CACD;AAPD,kBAOC","sourcesContent":["/**\n * iCure Cloud API Documentation\n * Spring shop sample application\n *\n * OpenAPI spec version: v0.0.1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class Tag {\n\ttype?: string\n\ttag?: string\n\n\tconstructor(json: JSON | any) {\n\t\tObject.assign(this as Tag, json)\n\t}\n}\n"]}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { IqrTextFieldSchema, Labels } from '../../iqr-text-field';
|
|
2
|
-
type FieldType = 'textfield' | 'measure-field' | 'number-field' | 'date-picker' | 'time-picker' | 'date-time-picker' | 'multiple-choice' | 'dropdown-field' | 'radio-button' | 'checkbox' | 'label';
|
|
3
|
-
export declare abstract class Field {
|
|
4
|
-
clazz: "field";
|
|
5
|
-
field: string;
|
|
6
|
-
type: FieldType;
|
|
7
|
-
shortLabel?: string;
|
|
8
|
-
rows?: number;
|
|
9
|
-
columns?: number;
|
|
10
|
-
grows?: boolean;
|
|
11
|
-
schema?: IqrTextFieldSchema;
|
|
12
|
-
tags?: string[];
|
|
13
|
-
codifications?: string[];
|
|
14
|
-
options?: {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
};
|
|
17
|
-
labels?: Labels;
|
|
18
|
-
value?: string;
|
|
19
|
-
unit?: string;
|
|
20
|
-
multiline?: boolean;
|
|
21
|
-
hideCondition?: string;
|
|
22
|
-
now?: boolean;
|
|
23
|
-
translate?: boolean;
|
|
24
|
-
width?: number;
|
|
25
|
-
label(): string;
|
|
26
|
-
protected constructor(type: FieldType, label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, schema?: IqrTextFieldSchema, tags?: string[], codifications?: string[], options?: {
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
}, labels?: Labels, value?: string, unit?: string, multiline?: boolean, hideCondition?: string, now?: boolean, translate?: boolean, width?: number);
|
|
29
|
-
static parse(json: Field): Field;
|
|
30
|
-
}
|
|
31
|
-
export declare class TextField extends Field {
|
|
32
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, schema?: IqrTextFieldSchema, tags?: string[], codifications?: string[], options?: {
|
|
33
|
-
[key: string]: unknown;
|
|
34
|
-
}, labels?: Labels, value?: string, unit?: string, multiline?: boolean, hideCondition?: string, translate?: boolean, width?: number);
|
|
35
|
-
}
|
|
36
|
-
export declare class MeasureField extends Field {
|
|
37
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
38
|
-
[key: string]: unknown;
|
|
39
|
-
}, labels?: Labels, value?: string, unit?: string, hideCondition?: string, translate?: boolean, width?: number);
|
|
40
|
-
}
|
|
41
|
-
export declare class NumberField extends Field {
|
|
42
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
}, labels?: Labels, value?: string, unit?: string, hideCondition?: string, translate?: boolean, width?: number);
|
|
45
|
-
}
|
|
46
|
-
export declare class DatePicker extends Field {
|
|
47
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
48
|
-
[key: string]: unknown;
|
|
49
|
-
}, labels?: Labels, value?: string, unit?: string, hideCondition?: string, now?: boolean, translate?: boolean, width?: number);
|
|
50
|
-
}
|
|
51
|
-
export declare class TimePicker extends Field {
|
|
52
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
53
|
-
[key: string]: unknown;
|
|
54
|
-
}, labels?: Labels, value?: string, unit?: string, hideCondition?: string, now?: boolean, translate?: boolean, width?: number);
|
|
55
|
-
}
|
|
56
|
-
export declare class DateTimePicker extends Field {
|
|
57
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
58
|
-
[key: string]: unknown;
|
|
59
|
-
}, labels?: Labels, value?: string, unit?: string, hideCondition?: string, now?: boolean, translate?: boolean, width?: number);
|
|
60
|
-
}
|
|
61
|
-
export declare class MultipleChoice extends Field {
|
|
62
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
63
|
-
[key: string]: unknown;
|
|
64
|
-
}, labels?: Labels, value?: string, unit?: string, hideCondition?: string, translate?: boolean, width?: number);
|
|
65
|
-
}
|
|
66
|
-
export declare class DropdownField extends Field {
|
|
67
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
68
|
-
[key: string]: unknown;
|
|
69
|
-
}, labels?: Labels, value?: string, hideCondition?: string, translate?: boolean, width?: number);
|
|
70
|
-
}
|
|
71
|
-
export declare class RadioButton extends Field {
|
|
72
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
73
|
-
[key: string]: unknown;
|
|
74
|
-
}, value?: string, hideCondition?: string, translate?: boolean, width?: number);
|
|
75
|
-
}
|
|
76
|
-
export declare class CheckBox extends Field {
|
|
77
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number, tags?: string[], codifications?: string[], options?: {
|
|
78
|
-
[key: string]: unknown;
|
|
79
|
-
}, value?: string, hideCondition?: string, translate?: boolean, width?: number);
|
|
80
|
-
}
|
|
81
|
-
export declare class Label extends Field {
|
|
82
|
-
constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, columns?: number);
|
|
83
|
-
}
|
|
84
|
-
export declare class Group {
|
|
85
|
-
clazz: "group";
|
|
86
|
-
group: string;
|
|
87
|
-
fields?: Array<Field | Group>;
|
|
88
|
-
rows?: number;
|
|
89
|
-
columns?: number;
|
|
90
|
-
hideCondition?: string;
|
|
91
|
-
width?: number;
|
|
92
|
-
constructor(title: string, fields: Array<Field | Group>, rows?: number, columns?: number, hideCondition?: string, width?: number);
|
|
93
|
-
static parse(json: {
|
|
94
|
-
group: string;
|
|
95
|
-
fields?: Array<Field | Group>;
|
|
96
|
-
rows?: number;
|
|
97
|
-
columns?: number;
|
|
98
|
-
hideCondition?: string;
|
|
99
|
-
width?: number;
|
|
100
|
-
}): Group;
|
|
101
|
-
}
|
|
102
|
-
export declare class Section {
|
|
103
|
-
section: string;
|
|
104
|
-
fields: Array<Field | Group>;
|
|
105
|
-
description?: string;
|
|
106
|
-
keywords?: string[];
|
|
107
|
-
constructor(title: string, fields: Array<Field | Group>, description?: string, keywords?: string[]);
|
|
108
|
-
static parse(json: {
|
|
109
|
-
section: string;
|
|
110
|
-
fields?: Array<Field | Group>;
|
|
111
|
-
groups?: Array<Field | Group>;
|
|
112
|
-
sections?: Array<Field | Group>;
|
|
113
|
-
description?: string;
|
|
114
|
-
keywords?: string[];
|
|
115
|
-
}): Section;
|
|
116
|
-
}
|
|
117
|
-
export declare class Form {
|
|
118
|
-
form: string;
|
|
119
|
-
sections: Section[];
|
|
120
|
-
description?: string;
|
|
121
|
-
keywords?: string[];
|
|
122
|
-
constructor(title: string, sections: Section[], description?: string, keywords?: string[]);
|
|
123
|
-
static parse(json: {
|
|
124
|
-
form: string;
|
|
125
|
-
sections: Section[];
|
|
126
|
-
description?: string;
|
|
127
|
-
keywords?: string[];
|
|
128
|
-
}): Form;
|
|
129
|
-
}
|
|
130
|
-
export {};
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Form = exports.Section = exports.Group = exports.Label = exports.CheckBox = exports.RadioButton = exports.DropdownField = exports.MultipleChoice = exports.DateTimePicker = exports.TimePicker = exports.DatePicker = exports.NumberField = exports.MeasureField = exports.TextField = exports.Field = void 0;
|
|
4
|
-
class Field {
|
|
5
|
-
label() {
|
|
6
|
-
return this.field;
|
|
7
|
-
}
|
|
8
|
-
constructor(type, label, shortLabel, rows, grows, columns, schema, tags, codifications, options, labels, value, unit, multiline, hideCondition, now, translate, width) {
|
|
9
|
-
this.clazz = 'field';
|
|
10
|
-
this.field = label;
|
|
11
|
-
this.type = type;
|
|
12
|
-
this.shortLabel = shortLabel;
|
|
13
|
-
this.rows = rows || 1;
|
|
14
|
-
this.grows = grows || false;
|
|
15
|
-
this.columns = columns || 1;
|
|
16
|
-
this.schema = schema;
|
|
17
|
-
this.tags = tags;
|
|
18
|
-
this.codifications = codifications;
|
|
19
|
-
this.options = options;
|
|
20
|
-
this.labels = labels;
|
|
21
|
-
this.value = value;
|
|
22
|
-
this.unit = unit;
|
|
23
|
-
this.multiline = multiline;
|
|
24
|
-
this.hideCondition = hideCondition;
|
|
25
|
-
this.now = now;
|
|
26
|
-
this.translate = translate !== null && translate !== void 0 ? translate : true;
|
|
27
|
-
this.width = width;
|
|
28
|
-
}
|
|
29
|
-
static parse(json) {
|
|
30
|
-
switch (json.type) {
|
|
31
|
-
case 'textfield':
|
|
32
|
-
return new TextField(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.schema, json.tags, json.codifications, json.options, json.labels, json.value, undefined, json.multiline, json.hideCondition, json.translate, json.width);
|
|
33
|
-
case 'measure-field':
|
|
34
|
-
return new MeasureField(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, json.unit, json.hideCondition, json.translate, json.width);
|
|
35
|
-
case 'number-field':
|
|
36
|
-
return new NumberField(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, undefined, json.hideCondition, json.translate, json.width);
|
|
37
|
-
case 'date-picker':
|
|
38
|
-
return new DatePicker(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, undefined, json.hideCondition, json.now, json.translate, json.width);
|
|
39
|
-
case 'time-picker':
|
|
40
|
-
return new TimePicker(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, undefined, json.hideCondition, json.now, json.translate, json.width);
|
|
41
|
-
case 'date-time-picker':
|
|
42
|
-
return new DateTimePicker(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, undefined, json.hideCondition, json.now, json.translate, json.width);
|
|
43
|
-
case 'multiple-choice':
|
|
44
|
-
return new MultipleChoice(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, undefined, json.hideCondition, json.translate, json.width);
|
|
45
|
-
case 'dropdown':
|
|
46
|
-
return new DropdownField(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.labels, json.value, json.hideCondition, json.translate, json.width);
|
|
47
|
-
case 'radio-button':
|
|
48
|
-
return new RadioButton(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.value, json.hideCondition, json.translate, json.width);
|
|
49
|
-
case 'checkbox':
|
|
50
|
-
return new CheckBox(json.field, json.shortLabel, json.rows, json.grows, json.columns, json.tags, json.codifications, json.options, json.value, json.hideCondition, json.translate, json.width);
|
|
51
|
-
case 'label':
|
|
52
|
-
return new Label(json.field, json.shortLabel, json.rows, json.grows, json.columns);
|
|
53
|
-
default:
|
|
54
|
-
throw Error('Invalid field type ' + json.type);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.Field = Field;
|
|
59
|
-
class TextField extends Field {
|
|
60
|
-
constructor(label, shortLabel, rows, grows, columns, schema, tags, codifications, options, labels, value, unit, multiline, hideCondition, translate, width) {
|
|
61
|
-
super('textfield', label, shortLabel, rows, grows, columns, schema || 'styled-text-with-codes', tags, codifications, options, labels, value, unit, multiline, hideCondition, false, translate, width);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.TextField = TextField;
|
|
65
|
-
class MeasureField extends Field {
|
|
66
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, unit, hideCondition, translate, width) {
|
|
67
|
-
super('measure-field', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, unit, false, hideCondition, false, translate, width);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.MeasureField = MeasureField;
|
|
71
|
-
class NumberField extends Field {
|
|
72
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, unit, hideCondition, translate, width) {
|
|
73
|
-
super('number-field', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, unit, false, hideCondition, false, translate, width);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
exports.NumberField = NumberField;
|
|
77
|
-
class DatePicker extends Field {
|
|
78
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, unit, hideCondition, now, translate, width) {
|
|
79
|
-
super('date-picker', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, unit, false, hideCondition, now, translate, width);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.DatePicker = DatePicker;
|
|
83
|
-
class TimePicker extends Field {
|
|
84
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, unit, hideCondition, now, translate, width) {
|
|
85
|
-
super('time-picker', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, unit, false, hideCondition, now, translate, width);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
exports.TimePicker = TimePicker;
|
|
89
|
-
class DateTimePicker extends Field {
|
|
90
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, unit, hideCondition, now, translate, width) {
|
|
91
|
-
super('date-time-picker', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, unit, false, hideCondition, now, translate, width);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
exports.DateTimePicker = DateTimePicker;
|
|
95
|
-
class MultipleChoice extends Field {
|
|
96
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, unit, hideCondition, translate, width) {
|
|
97
|
-
super('multiple-choice', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, unit, false, hideCondition, false, translate, width);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.MultipleChoice = MultipleChoice;
|
|
101
|
-
class DropdownField extends Field {
|
|
102
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, labels, value, hideCondition, translate, width) {
|
|
103
|
-
super('dropdown-field', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, labels, value, undefined, false, hideCondition, false, translate, width);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
exports.DropdownField = DropdownField;
|
|
107
|
-
class RadioButton extends Field {
|
|
108
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, value, hideCondition, translate, width) {
|
|
109
|
-
super('radio-button', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, undefined, value, undefined, false, hideCondition, false, translate, width);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
exports.RadioButton = RadioButton;
|
|
113
|
-
class CheckBox extends Field {
|
|
114
|
-
constructor(label, shortLabel, rows, grows, columns, tags, codifications, options, value, hideCondition, translate, width) {
|
|
115
|
-
super('checkbox', label, shortLabel, rows, grows, columns, undefined, tags, codifications, options, undefined, value, undefined, false, hideCondition, false, translate, width);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
exports.CheckBox = CheckBox;
|
|
119
|
-
class Label extends Field {
|
|
120
|
-
constructor(label, shortLabel, rows, grows, columns) {
|
|
121
|
-
super('label', label, shortLabel, rows, grows, columns);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
exports.Label = Label;
|
|
125
|
-
class Group {
|
|
126
|
-
constructor(title, fields, rows, columns, hideCondition, width) {
|
|
127
|
-
this.clazz = 'group';
|
|
128
|
-
this.group = title;
|
|
129
|
-
this.fields = fields;
|
|
130
|
-
this.rows = rows;
|
|
131
|
-
this.columns = columns;
|
|
132
|
-
this.hideCondition = hideCondition;
|
|
133
|
-
this.width = width;
|
|
134
|
-
}
|
|
135
|
-
static parse(json) {
|
|
136
|
-
return new Group(json.group, (json.fields || []).map((s) => (s['group'] ? Group.parse(s) : Field.parse(s))), json.rows, json.columns, json.hideCondition, json.width);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
exports.Group = Group;
|
|
140
|
-
class Section {
|
|
141
|
-
constructor(title, fields, description, keywords) {
|
|
142
|
-
this.section = title;
|
|
143
|
-
this.fields = fields;
|
|
144
|
-
this.description = description;
|
|
145
|
-
this.keywords = keywords;
|
|
146
|
-
}
|
|
147
|
-
static parse(json) {
|
|
148
|
-
return new Section(json.section, (json.fields || json.groups || json.sections || []).map((s) => (s['group'] ? Group.parse(s) : Field.parse(s))), json.description, json.keywords);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
exports.Section = Section;
|
|
152
|
-
class Form {
|
|
153
|
-
constructor(title, sections, description, keywords) {
|
|
154
|
-
this.form = title;
|
|
155
|
-
this.description = description;
|
|
156
|
-
this.keywords = keywords;
|
|
157
|
-
this.sections = sections;
|
|
158
|
-
}
|
|
159
|
-
static parse(json) {
|
|
160
|
-
return new Form(json.form, (json.sections || []).map((s) => Section.parse(s)), json.description, json.keywords);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
exports.Form = Form;
|
|
164
|
-
//# sourceMappingURL=index.js.map
|