@icure/form 1.1.19 → 1.1.21
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/install-state.gz +0 -0
- package/components/common/field.d.ts +7 -4
- package/components/common/field.js +8 -7
- package/components/common/field.js.map +1 -1
- package/components/common/metadata-buttons-bar.d.ts +44 -0
- package/components/common/metadata-buttons-bar.js +1329 -0
- package/components/common/metadata-buttons-bar.js.map +1 -0
- package/components/icure-button-group/index.js +21 -22
- package/components/icure-button-group/index.js.map +1 -1
- package/components/icure-date-picker/index.js +22 -23
- package/components/icure-date-picker/index.js.map +1 -1
- package/components/icure-dropdown-field/index.js +21 -22
- package/components/icure-dropdown-field/index.js.map +1 -1
- package/components/icure-form/fields/text-field/text-field.js +1 -0
- package/components/icure-form/fields/text-field/text-field.js.map +1 -1
- package/components/icure-form/fields/utils/index.d.ts +1 -1
- package/components/icure-form/fields/utils/index.js +1 -1
- package/components/icure-form/fields/utils/index.js.map +1 -1
- package/components/icure-form/index.d.ts +3 -0
- package/components/icure-form/index.js +27 -23
- package/components/icure-form/index.js.map +1 -1
- package/components/icure-form/renderer/form/form.js +3 -2
- package/components/icure-form/renderer/form/form.js.map +1 -1
- package/components/icure-form/renderer/index.d.ts +3 -1
- package/components/icure-form/renderer/index.js.map +1 -1
- package/components/icure-label/index.js +21 -22
- package/components/icure-label/index.js.map +1 -1
- package/components/icure-text-field/index.d.ts +1 -14
- package/components/icure-text-field/index.js +42 -160
- package/components/icure-text-field/index.js.map +1 -1
- package/components/model/index.d.ts +1 -0
- package/components/model/index.js.map +1 -1
- package/components/themes/icure-blue/index.js +7 -6
- package/components/themes/icure-blue/index.js.map +1 -1
- package/components/themes/kendo/index.js +5 -3
- package/components/themes/kendo/index.js.map +1 -1
- package/generic/model.d.ts +1 -1
- package/generic/model.js.map +1 -1
- package/icure/form-values-container.d.ts +2 -2
- package/icure/form-values-container.js +27 -13
- package/icure/form-values-container.js.map +1 -1
- package/package.json +1 -1
- package/utils/dates.js +1 -1
- package/utils/dates.js.map +1 -1
- package/utils/fields-values-provider.d.ts +1 -1
- package/utils/fields-values-provider.js +2 -2
- package/utils/fields-values-provider.js.map +1 -1
|
@@ -307,7 +307,6 @@ h3 {
|
|
|
307
307
|
|
|
308
308
|
.extra {
|
|
309
309
|
flex-shrink: 0;
|
|
310
|
-
height: 28px;
|
|
311
310
|
display: flex;
|
|
312
311
|
flex-flow: row nowrap;
|
|
313
312
|
align-items: center;
|
|
@@ -330,6 +329,7 @@ h3 {
|
|
|
330
329
|
}
|
|
331
330
|
|
|
332
331
|
.extra .buttons-container {
|
|
332
|
+
position: relative;
|
|
333
333
|
display: flex;
|
|
334
334
|
height: 100%;
|
|
335
335
|
flex-flow: row nowrap;
|
|
@@ -342,14 +342,7 @@ h3 {
|
|
|
342
342
|
.extra:hover .buttons-container .menu-container .btn {
|
|
343
343
|
animation: slideIn 0.24s ease-in forwards;
|
|
344
344
|
pointer-events: none;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
.extra:hover .buttons-container .menu-container .btn {
|
|
348
|
-
animation-delay: 0.24s;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.extra:hover .buttons-container .menu-container:hover .btn {
|
|
352
|
-
animation-delay: 0.04s;
|
|
345
|
+
display: unset !important;
|
|
353
346
|
}
|
|
354
347
|
|
|
355
348
|
.extra.forced:hover .buttons-container .menu-container .btn {
|
|
@@ -359,13 +352,15 @@ h3 {
|
|
|
359
352
|
|
|
360
353
|
.extra.forced .buttons-container .btn {
|
|
361
354
|
opacity: 1 !important;
|
|
355
|
+
display: unset !important;
|
|
362
356
|
}
|
|
363
357
|
|
|
364
|
-
.extra.
|
|
365
|
-
opacity:
|
|
358
|
+
.extra .buttons-container .btn.forced {
|
|
359
|
+
opacity: 1 !important;
|
|
360
|
+
display: unset !important;
|
|
366
361
|
}
|
|
367
362
|
|
|
368
|
-
.extra
|
|
363
|
+
.extra.forced .info, .extra .info.hidden {
|
|
369
364
|
opacity: 0 !important;
|
|
370
365
|
z-index: 0 !important;
|
|
371
366
|
}
|
|
@@ -375,6 +370,7 @@ h3 {
|
|
|
375
370
|
background: transparent;
|
|
376
371
|
position: relative;
|
|
377
372
|
top: 0;
|
|
373
|
+
display: none;
|
|
378
374
|
opacity: 0;
|
|
379
375
|
cursor: pointer;
|
|
380
376
|
height: 20px;
|
|
@@ -392,6 +388,10 @@ h3 {
|
|
|
392
388
|
fill: #809ab4;
|
|
393
389
|
}
|
|
394
390
|
|
|
391
|
+
.extra .buttons-container .btn.forced svg path {
|
|
392
|
+
fill: crimson !important;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
395
|
.extra .buttons-container .btn:hover svg path {
|
|
396
396
|
fill: #274768;
|
|
397
397
|
}
|
|
@@ -434,7 +434,8 @@ h3 {
|
|
|
434
434
|
|
|
435
435
|
@keyframes slideIn {
|
|
436
436
|
0% {
|
|
437
|
-
top:
|
|
437
|
+
top: 0;
|
|
438
|
+
opacity: 0;
|
|
438
439
|
pointer-events: none;
|
|
439
440
|
}
|
|
440
441
|
100% {
|
|
@@ -444,10 +445,13 @@ h3 {
|
|
|
444
445
|
}
|
|
445
446
|
}
|
|
446
447
|
.menu-container {
|
|
447
|
-
position: relative;
|
|
448
448
|
display: flex;
|
|
449
449
|
align-items: center;
|
|
450
|
-
height:
|
|
450
|
+
height: fit-content;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.value-date-menu {
|
|
454
|
+
width: unset !important;
|
|
451
455
|
}
|
|
452
456
|
|
|
453
457
|
.menu {
|
|
@@ -465,7 +469,6 @@ h3 {
|
|
|
465
469
|
max-height: 320px;
|
|
466
470
|
overflow-y: scroll;
|
|
467
471
|
}
|
|
468
|
-
|
|
469
472
|
.menu .input-container {
|
|
470
473
|
background: #edf2f7;
|
|
471
474
|
border-radius: 4px;
|
|
@@ -477,22 +480,18 @@ h3 {
|
|
|
477
480
|
margin-bottom: 4px;
|
|
478
481
|
padding: 0 4px;
|
|
479
482
|
}
|
|
480
|
-
|
|
481
483
|
.menu .input-container:hover {
|
|
482
484
|
box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2);
|
|
483
485
|
}
|
|
484
|
-
|
|
485
486
|
.menu .input-container:focus-within {
|
|
486
487
|
box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2), 0 0 0 1px rgb(40, 151, 255);
|
|
487
488
|
}
|
|
488
|
-
|
|
489
489
|
.menu .input-container input {
|
|
490
490
|
background: transparent;
|
|
491
491
|
border: none;
|
|
492
492
|
flex-grow: 1;
|
|
493
493
|
height: 100%;
|
|
494
494
|
}
|
|
495
|
-
|
|
496
495
|
.menu .input-container input:focus {
|
|
497
496
|
background: transparent;
|
|
498
497
|
border: none;
|
|
@@ -913,7 +912,7 @@ app-date-picker {
|
|
|
913
912
|
.icure-text-field .icure-input,
|
|
914
913
|
.icure-text-field .input-container {
|
|
915
914
|
border-radius: 2px;
|
|
916
|
-
padding:
|
|
915
|
+
padding: 0 8px;
|
|
917
916
|
width: 100%;
|
|
918
917
|
box-sizing: border-box;
|
|
919
918
|
border-width: 1px;
|
|
@@ -1017,7 +1016,7 @@ input[type=radio] {
|
|
|
1017
1016
|
line-height: 1.4em;
|
|
1018
1017
|
cursor: text;
|
|
1019
1018
|
font-size: 12px;
|
|
1020
|
-
top: calc(1.4em +
|
|
1019
|
+
top: calc(1.4em + 1px);
|
|
1021
1020
|
left: 9px;
|
|
1022
1021
|
transition: transform 0.2s ease-out, color 0.2s ease-out;
|
|
1023
1022
|
color: #084B83;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../tmp/components/icure-label/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsC;AACtC,2CAA+C;AAC/C,qDAA4C;AAC5C,aAAa;AACb,6BAA0B;AAC1B,MAAM,OAAO,GAAG,IAAA,SAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqgCjB,CAAA;AAEF,MAAa,UAAW,SAAQ,gBAAU;IAA1C;;QAGa,YAAO,GAAG,IAAI,CAAA;IAY3B,CAAC;IAVA,MAAM,KAAK,MAAM;QAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC;IAED,MAAM;;QACL,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACnB,OAAO,IAAA,UAAI,EAAA,EAAE,CAAA;QACd,CAAC;QACD,OAAO,IAAA,UAAI,EAAA,GAAG,IAAA,qBAAa,EAAC,MAAA,IAAI,CAAC,KAAK,mCAAI,EAAE,EAAE,MAAA,IAAI,CAAC,aAAa,mCAAI,OAAO,EAAE,IAAI,CAAC,EAAE,CAAA;IACrF,CAAC;CACD;AAfD,gCAeC;AAdY;IAAX,IAAA,wBAAQ,GAAE;;yCAAe;AACd;IAAX,IAAA,wBAAQ,GAAE;;iDAAuB;AACtB;IAAX,IAAA,wBAAQ,GAAE;;2CAAe","sourcesContent":["import { html, LitElement } from 'lit'\nimport { generateLabel } from '../common/utils'\nimport { property } from 'lit/decorators.js'\n// @ts-ignore\nimport { css } from 'lit';\nconst baseCss = css`@charset \"UTF-8\";\n:host {\n --bg-color-1: #f44336;\n}\n\n.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n width: 100%;\n word-wrap: break-word;\n white-space: pre-wrap;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\n.ProseMirror li {\n position: relative;\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection {\n caret-color: transparent;\n}\n\n.ProseMirror-selectednode {\n outline: 2px solid #8cf;\n}\n\n/* Make sure li selections wrap around markers */\nli.ProseMirror-selectednode {\n outline: none;\n}\n\nli.ProseMirror-selectednode:after {\n content: \"\";\n position: absolute;\n left: -32px;\n right: -2px;\n top: -2px;\n bottom: -2px;\n border: 2px solid #8cf;\n pointer-events: none;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n}\n\n.ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n/* Add space around the hr to make clicking it easier */\n.ProseMirror-example-setup-style hr {\n padding: 2px 10px;\n border: none;\n margin: 1em 0;\n}\n\n.ProseMirror-example-setup-style hr:after {\n content: \"\";\n display: block;\n height: 1px;\n background: silver;\n line-height: 2px;\n}\n\n.ProseMirror ul,\n.ProseMirror ol {\n padding-left: 30px;\n}\n\n.ProseMirror blockquote {\n padding-left: 1em;\n border-left: 3px solid #eee;\n margin-left: 0;\n margin-right: 0;\n}\n\n.ProseMirror-example-setup-style img {\n cursor: default;\n}\n\n.ProseMirror-prompt {\n background: white;\n padding: 5px 10px 5px 15px;\n border: 1px solid silver;\n position: fixed;\n border-radius: 3px;\n z-index: 11;\n box-shadow: -0.5px 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ProseMirror-prompt h5 {\n margin: 0;\n font-weight: normal;\n font-size: 100%;\n color: #444;\n}\n\n.ProseMirror-prompt input[type=text],\n.ProseMirror-prompt textarea {\n background: #eee;\n border: none;\n outline: none;\n}\n\n.ProseMirror-prompt input[type=text] {\n padding: 0 4px;\n}\n\n.ProseMirror-prompt-close {\n position: absolute;\n left: 2px;\n top: 1px;\n color: #666;\n border: none;\n background: transparent;\n padding: 0;\n}\n\n.ProseMirror-prompt-close:after {\n content: \"✕\";\n font-size: 12px;\n}\n\n.ProseMirror-invalid {\n background: #ffc;\n border: 1px solid #cc7;\n border-radius: 4px;\n padding: 5px 10px;\n position: absolute;\n min-width: 10em;\n}\n\n.ProseMirror-prompt-buttons {\n margin-top: 5px;\n display: none;\n}\n\n#editor,\n.editor {\n color: rgb(101, 101, 101);\n background-clip: padding-box;\n border-radius: 4px;\n border: 2px solid rgba(0, 0, 0, 0.2);\n padding: 5px 0;\n display: flex;\n align-items: flex-end;\n}\n\n.ProseMirror p:last-child,\n.ProseMirror h1:last-child,\n.ProseMirror h2:last-child,\n.ProseMirror h3:last-child,\n.ProseMirror h4:last-child,\n.ProseMirror h5:last-child,\n.ProseMirror h6:last-child {\n margin-bottom: 2px;\n}\n\n.ProseMirror {\n padding: 6px 8px 2px 8px;\n line-height: 1.2;\n color: #274768;\n font-size: 14px;\n font-weight: 400;\n outline: none;\n}\n\n.ProseMirror p {\n margin-bottom: 1em;\n}\n\n.icure-input {\n background: #edf2f7;\n border-radius: 8px;\n border: none;\n min-height: 28px;\n height: auto;\n display: flex;\n flex-flow: row nowrap;\n align-items: flex-start;\n justify-content: space-between;\n}\n\n#editor {\n background: transparent;\n border: none;\n padding: 0;\n flex-grow: 1;\n display: flex;\n align-items: stretch;\n}\n#editor.tokens-list .ProseMirror, #editor.styled-tokens-list .ProseMirror {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n}\n#editor.tokens-list .ProseMirror li, #editor.styled-tokens-list .ProseMirror li {\n display: inline-block;\n border-radius: 8px;\n padding: 2px 4px;\n margin-right: 2px;\n background-color: #dadada;\n border-color: rgba(42, 61, 108, 0.44);\n}\n#editor.tokens-list .ProseMirror li span, #editor.styled-tokens-list .ProseMirror li span {\n min-width: 26px;\n display: inline-block;\n}\n#editor.tokens-list .ProseMirror li span br, #editor.styled-tokens-list .ProseMirror li span br {\n display: none;\n}\n#editor.tokens-list .ProseMirror li span:after:hover, #editor.styled-tokens-list .ProseMirror li span:after:hover {\n background: transparent url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxu cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3 Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iIzAwMDAwMCIgZmlsbD0iIzAwMDAwMCIg d2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiPjxwYXRoIGQ9Ik0xNiw4YTEsMSwwLDAs MC0xLjQxNCwwTDEyLDEwLjU4Niw5LjQxNCw4QTEsMSwwLDAsMCw4LDkuNDE0TDEw LjU4NiwxMiw4LDE0LjU4NkExLDEsMCwwLDAsOS40MTQsMTZMMTIsMTMuNDE0LDE0 LjU4NiwxNkExLDEsMCwwLDAsMTYsMTQuNTg2TDEzLjQxNCwxMiwxNiw5LjQxNEEx LDEsMCwwLDAsMTYsOFoiLz48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwx MiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIs MTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48L3N2Zz4K\") no-repeat center/16px;\n}\n#editor.tokens-list .ProseMirror li span:after, #editor.styled-tokens-list .ProseMirror li span:after {\n content: \" \";\n min-width: 22px;\n background: transparent url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxu cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3 Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iIzg4ODg4OCIgZmlsbD0iIzg4ODg4OCIg d2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiPjxwYXRoIGQ9Ik0xNiw4YTEsMSwwLDAs MC0xLjQxNCwwTDEyLDEwLjU4Niw5LjQxNCw4QTEsMSwwLDAsMCw4LDkuNDE0TDEw LjU4NiwxMiw4LDE0LjU4NkExLDEsMCwwLDAsOS40MTQsMTZMMTIsMTMuNDE0LDE0 LjU4NiwxNkExLDEsMCwwLDAsMTYsMTQuNTg2TDEzLjQxNCwxMiwxNiw5LjQxNEEx LDEsMCwwLDAsMTYsOFoiLz48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwx MiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIs MTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48L3N2Zz4K\") no-repeat center/16px;\n display: inline-block;\n}\n#editor.items-list .ProseMirror {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: flex-start;\n gap: 6px;\n}\n#editor.items-list .ProseMirror li {\n list-style-type: none;\n width: 100%;\n padding-bottom: 4px;\n border-bottom: 1px dotted rgba(128, 128, 128, 0.5098039216);\n}\n#editor.items-list .ProseMirror li:last-child {\n border-bottom: none;\n}\n\n#content {\n position: relative;\n padding: 0;\n}\n\n* {\n font-family: \"Roboto\", Helvetica, sans-serif;\n}\n\np {\n margin-top: 0;\n}\n\nh3 {\n color: #274768;\n margin-top: 0;\n}\n\n.extra {\n flex-shrink: 0;\n height: 28px;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n padding: 0 8px;\n transition: all 0.24s cubic-bezier(0.42, 0.01, 1, 0.62);\n}\n\n.extra > .info {\n color: #809ab4;\n font-size: 12px;\n width: 100%;\n height: auto;\n overflow: hidden;\n pointer-events: none;\n text-align: right;\n}\n\n.extra > .info > span {\n font-weight: 700;\n}\n\n.extra .buttons-container {\n display: flex;\n height: 100%;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-end;\n width: 0;\n transition: all 0.24s cubic-bezier(0.14, 0.69, 0.87, 0.54);\n}\n\n.extra:hover .buttons-container .menu-container .btn {\n animation: slideIn 0.24s ease-in forwards;\n pointer-events: none;\n}\n\n.extra:hover .buttons-container .menu-container .btn {\n animation-delay: 0.24s;\n}\n\n.extra:hover .buttons-container .menu-container:hover .btn {\n animation-delay: 0.04s;\n}\n\n.extra.forced:hover .buttons-container .menu-container .btn {\n animation: none;\n pointer-events: all;\n}\n\n.extra.forced .buttons-container .btn {\n opacity: 1 !important;\n}\n\n.extra.forced .info {\n opacity: 0 !important;\n}\n\n.extra:hover .info {\n opacity: 0 !important;\n z-index: 0 !important;\n}\n\n.extra .buttons-container .btn {\n border: none;\n background: transparent;\n position: relative;\n top: 0;\n opacity: 0;\n cursor: pointer;\n height: 20px;\n width: 10px;\n margin-left: 4px;\n margin-right: 4px;\n padding: 0;\n}\n\n.extra .buttons-container .menu-container:last-child .btn {\n margin-right: 0;\n}\n\n.extra .buttons-container .btn svg path {\n fill: #809ab4;\n}\n\n.extra .buttons-container .btn:hover svg path {\n fill: #274768;\n}\n\n.extra .buttons-container .menu-container .btn:hover::after {\n content: attr(data-content);\n position: absolute;\n top: -22px;\n height: 16px;\n left: 50%;\n transform: translateX(-50%);\n border-radius: 8px;\n background: #274768;\n color: white;\n display: flex;\n flex-flow: row wrap;\n align-items: center;\n text-transform: capitalize;\n white-space: nowrap;\n padding: 0 12px;\n font-size: 12px;\n line-height: 0;\n}\n\n.extra .buttons-container .btn:focus,\n.extra .buttons-container .btn:focus-within {\n border: none;\n outline: none;\n}\n\n.extra .buttons-container .menu-container .btn:hover::before {\n content: \"\";\n display: block;\n border-color: #274768 transparent transparent transparent;\n border-style: solid;\n border-width: 4px;\n position: absolute;\n top: -6px;\n}\n\n@keyframes slideIn {\n 0% {\n top: 12px;\n pointer-events: none;\n }\n 100% {\n top: 0;\n opacity: 1;\n pointer-events: all;\n }\n}\n.menu-container {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.menu {\n display: block;\n position: absolute;\n top: 20px;\n right: 0;\n z-index: 2;\n background: #fff;\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);\n border-radius: 8px;\n padding: 8px;\n width: 220px;\n min-height: 120px;\n max-height: 320px;\n overflow-y: scroll;\n}\n\n.menu .input-container {\n background: #edf2f7;\n border-radius: 4px;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-start;\n height: 32px;\n margin-bottom: 4px;\n padding: 0 4px;\n}\n\n.menu .input-container:hover {\n box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2);\n}\n\n.menu .input-container:focus-within {\n box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2), 0 0 0 1px rgb(40, 151, 255);\n}\n\n.menu .input-container input {\n background: transparent;\n border: none;\n flex-grow: 1;\n height: 100%;\n}\n\n.menu .input-container input:focus {\n background: transparent;\n border: none;\n outline: none;\n}\n\n.menu-trigger:focus .menu {\n display: block;\n}\n\n.menu-container .item {\n height: 22px;\n width: 100%;\n background: transparent;\n border-radius: 4px;\n font-size: 14px;\n color: #274768;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-start;\n box-shadow: none;\n border: none;\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n}\n\n.menu-container .item:hover {\n background: #f5f9fd;\n font-weight: 500;\n border-radius: 4px;\n}\n\nspan {\n position: relative;\n z-index: 1;\n}\n\nspan.date {\n margin-right: 1px;\n}\n\nspan.time {\n margin-left: 1px;\n}\n\nspan.measure {\n display: inline-block;\n margin-right: 1px;\n}\n\nspan.unit {\n margin-left: 1px;\n display: inline-block;\n}\n\nspan[data-content]:hover::after {\n position: absolute;\n content: attr(data-content);\n background: #274768;\n color: #ffffff;\n font-size: 9px;\n line-height: 12px;\n top: -12px;\n left: 0px;\n padding: 0px 2px;\n}\n\nspan[data-content]::before {\n position: absolute;\n content: \"\";\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n opacity: 0.3;\n}\n\n.masked {\n display: none;\n}\n\n.companion {\n position: absolute;\n width: 15px;\n background-color: hsl(194, 100%, 50%);\n color: white;\n z-index: 20;\n padding: 0;\n text-align: center;\n font-size: 14px;\n font-weight: 500;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border-radius: 0 2px 2px 0;\n}\n\n.companion:hover {\n font-weight: 700;\n background: hsl(202, 100%, 50%);\n}\n\n*::selection {\n background-color: hsla(194, 100%, 50%, 0.2);\n}\n\n.suggestion-palette {\n position: absolute;\n z-index: 20;\n max-width: 380px;\n font-size: 11px;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 4px;\n border: none;\n border-radius: 8px;\n background: white;\n box-shadow: 0 1.1px 1.1px rgba(0, 0, 0, 0.022), 0 2.7px 2.7px rgba(0, 0, 0, 0.032), 0 5px 5px rgba(0, 0, 0, 0.04), 0 8.9px 8.9px rgba(0, 0, 0, 0.048), 0 16.7px 16.7px rgba(0, 0, 0, 0.058), 0 40px 40px rgba(0, 0, 0, 0.08);\n}\n\n.suggestion-palette ul {\n white-space: nowrap;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.suggestion-palette ul li {\n padding: 0 8px;\n font-size: 11px;\n height: 20px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-radius: 4px;\n color: rgb(39, 71, 104);\n}\n.suggestion-palette ul li svg {\n height: 12px;\n width: 12px;\n border-radius: 4px;\n transform-origin: center center;\n}\n.suggestion-palette ul li svg path {\n fill: rgb(128, 154, 180);\n}\n\n.suggestion-palette ul li:not(:first-child) svg.tab-icn,\n.suggestion-palette ul li:not(.focused) svg.return-icn,\n.suggestion-palette ul.focused li:first-child svg.tab-icn {\n height: 0;\n width: 0;\n transform: scale(0);\n opacity: 0;\n}\n\n.suggestion-palette ul li.focused {\n background-color: rgb(237, 242, 247);\n}\n\n.suggestion-palette ul li.focused svg.return-icn {\n animation: growIn 0.24s ease-in forwards;\n}\n\n@keyframes growIn {\n 0% {\n transform: scale(0.5);\n }\n 90% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\nspan.code-count-1::after,\nspan.code-count-1::before {\n background: var(--bg-code-color-1);\n color: var(--text-code-color-1);\n}\n\nspan.code-count-2::after,\nspan.code-count-2::before {\n background: var(--bg-code-color-1);\n color: var(--text-code-color-1);\n /* STRIPES */\n /*background: repeating-linear-gradient(*/\n /*\t45deg,*/\n /*\tvar(--bg-code-color-1),*/\n /*\tvar(--bg-code-color-1) 10px,*/\n /*\tvar(--bg-code-color-2) 10px,*/\n /*\tvar(--bg-code-color-2) 20px*/\n /*);*/\n /* PAS STRIPES */\n background: linear-gradient(90deg, var(--bg-code-color-1) 0%, var(--bg-code-color-2) 100%);\n}\n\nspan.code-count-3::after,\nspan.code-count-3::before {\n background: var(--bg-code-color-1);\n color: var(--text-code-color-1);\n /* STRIPES */\n background: repeating-linear-gradient(45deg, var(--bg-code-color-1), var(--bg-code-color-1) 10px, var(--bg-code-color-2) 10px, var(--bg-code-color-2) 20px);\n /* PAS STRIPES */\n /* background: linear-gradient(90deg, var(--bg-code-color-1) 0%, var(--bg-code-color-2) 100%);*/\n}\n\n.selected-option {\n padding: 2px;\n margin-right: 5px;\n}\n\n.options {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n position: absolute;\n top: 30px;\n left: 0;\n z-index: 2;\n background: #fff;\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);\n width: auto;\n min-width: 100%;\n overflow-y: auto;\n max-height: 280px;\n}\n\n.date-picker {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n position: absolute;\n top: 30px;\n right: 0;\n z-index: 2;\n background: #fff;\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);\n width: 260px;\n overflow-y: auto;\n max-height: 280px;\n left: 0px;\n}\n\napp-date-picker {\n --app-primary: #084B83;\n --app-hover: #5b7da2;\n --app-selected-hover: #5b7da2;\n}\n\n.option {\n height: 28px;\n min-height: 28px;\n width: 100%;\n background: transparent;\n border-radius: 4px;\n font-size: 14px;\n color: #545454;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-start;\n box-shadow: none;\n border: none;\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n padding: 4px 8px;\n -webkit-user-select: none; /* Safari */\n -ms-user-select: none; /* IE 10 and IE 11 */\n user-select: none; /* Standard syntax */\n}\n\n.option:hover {\n color: #656565;\n background-color: #ededed;\n}\n\n.select-arrow {\n border: none;\n background: 0px 0px;\n position: relative;\n top: 0px;\n opacity: 0.5;\n cursor: pointer;\n height: 20px;\n width: 10px;\n margin-left: 4px;\n margin-right: 4px;\n padding: 0px;\n}\n\n.hidden {\n display: none;\n}\n\n.container {\n position: relative;\n}\n\n.icure-form {\n background-color: rgba(0, 0, 0, 0);\n display: grid;\n gap: 0 6px;\n grid-template-columns: repeat(24, 1fr);\n}\n\n.group {\n align-items: end;\n display: grid;\n}\n\n.subform {\n align-items: end;\n display: grid;\n position: relative;\n margin: 8px -8px 8px;\n padding: 0 8px 0;\n min-height: 64px;\n background-color: #e7f0fd;\n}\n\n.icure-form hr {\n display: block;\n margin-top: 20px;\n border-top: 1px solid rgba(8, 75, 131, 0.13);\n margin-bottom: 20px;\n}\n.icure-form h2 {\n font-size: 14.4px;\n font-weight: 700;\n color: #084B83;\n padding: 2px;\n}\n.icure-form h3 {\n font-size: 13.2px;\n font-weight: 500;\n color: #084B83;\n padding: 6px;\n}\n.icure-form .group.bordered {\n background: #f6f6f6;\n border-radius: 12px;\n}\n.icure-form .float-right-btn {\n position: absolute;\n right: 10px;\n cursor: pointer;\n}\n.icure-form .float-right-btn.top {\n top: 6px;\n}\n.icure-form .float-right-btn.bottom {\n bottom: -8px;\n}\n\n.icure-form-field {\n align-items: end;\n display: grid;\n}\n\n.error {\n color: red;\n font-size: 12px;\n}\n\n.icure-text-field > .icure-label, .icure-button-group > .icure-label {\n z-index: 1;\n pointer-events: none;\n line-height: 1.4em;\n cursor: text;\n font-size: 12px;\n left: 9px;\n color: #084B83;\n align-items: center;\n height: 28px;\n max-width: 85%;\n min-width: 0;\n}\n.icure-text-field > .icure-label.float, .icure-button-group > .icure-label.float {\n display: inline-block;\n height: 1.4em;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.icure-text-field {\n position: relative;\n width: 100%;\n flex-direction: row;\n justify-content: stretch;\n align-items: center;\n}\n.icure-text-field > .icure-label {\n transition: transform 0.2s ease-out, color 0.2s ease-out;\n}\n.icure-text-field > .icure-input {\n flex: 1 1 auto;\n width: auto;\n}\n.icure-text-field > .icure-label.side {\n position: relative;\n}\n.icure-text-field > .icure-label.side.left {\n order: -1;\n margin-right: 1em;\n}\n.icure-text-field > .icure-label.side.right {\n order: 1;\n margin-left: 1em;\n}\n.icure-text-field .icure-input,\n.icure-text-field .input-container {\n border-radius: 2px;\n padding: 4px 8px;\n width: 100%;\n box-sizing: border-box;\n border-width: 1px;\n border-style: solid;\n outline: 0;\n font: inherit;\n font-size: 14px;\n line-height: 1.4em;\n display: flex;\n align-items: center;\n vertical-align: middle;\n position: relative;\n -webkit-appearance: none;\n background-color: #ffffff;\n border-color: red;\n color: #000000;\n box-sizing: border-box;\n}\n.icure-text-field .icure-input:focus, .icure-text-field .icure-input:focus-within,\n.icure-text-field .input-container:focus,\n.icure-text-field .input-container:focus-within {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.06);\n}\n.icure-text-field .icure-input:hover,\n.icure-text-field .input-container:hover {\n border-color: rgba(0, 0, 0, 0.15);\n box-shadow: none;\n}\n.icure-text-field .icure-input:hover:focus, .icure-text-field .icure-input:hover:focus-within,\n.icure-text-field .input-container:hover:focus,\n.icure-text-field .input-container:hover:focus-within {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.06);\n}\n.icure-text-field .icure-input .ProseMirror,\n.icure-text-field .input-container .ProseMirror {\n padding: 0;\n font-size: 14px;\n line-height: 1.4em;\n color: #000000;\n}\n.icure-text-field .icure-input .ProseMirror .date,\n.icure-text-field .input-container .ProseMirror .date {\n padding: 1px;\n}\n.icure-text-field .icure-input .ProseMirror .time,\n.icure-text-field .input-container .ProseMirror .time {\n padding: 1px;\n}\n.icure-text-field .icure-input .ProseMirror:focus .focused,\n.icure-text-field .input-container .ProseMirror:focus .focused {\n background-color: rgba(0, 0, 0, 0.05);\n border-radius: 3px;\n border-color: rgba(0, 0, 0, 0.1);\n}\n.icure-text-field .icure-input > svg,\n.icure-text-field .input-container > svg {\n opacity: 0.5;\n}\n.icure-text-field .icure-input > svg path,\n.icure-text-field .input-container > svg path {\n fill: #656565;\n}\n.icure-text-field .icure-input .extra,\n.icure-text-field .input-container .extra {\n height: 20px;\n}\n.icure-text-field .icure-input .extra > .info,\n.icure-text-field .input-container .extra > .info {\n color: #656565;\n opacity: 0.5;\n}\n.icure-text-field .icure-input .extra .buttons-container .btn svg path,\n.icure-text-field .input-container .extra .buttons-container .btn svg path {\n fill: #656565;\n opacity: 0.5;\n}\n.icure-text-field .icure-input .extra .buttons-container .btn svg path:hover,\n.icure-text-field .input-container .extra .buttons-container .btn svg path:hover {\n fill: #656565;\n opacity: 1;\n}\n\ninput[type=radio] {\n margin-top: -1px;\n vertical-align: middle;\n}\n\n.icure-checkbox:checked {\n accent-color: #06a070;\n}\n\n.icure-button-group > div {\n display: grid;\n}\n.icure-button-group > div > div {\n display: flex;\n align-items: center;\n}\n.icure-button-group > div > div > .icure-button-group-label {\n z-index: 1;\n line-height: 1.4em;\n cursor: text;\n font-size: 12px;\n top: calc(1.4em + 5px);\n left: 9px;\n transition: transform 0.2s ease-out, color 0.2s ease-out;\n color: #084B83;\n display: flex;\n align-items: center;\n height: 28px;\n max-width: 85%;\n min-width: 0;\n}\n.icure-button-group > div > div > .icure-button-group-label > span {\n display: block;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n padding-right: 8px;\n}\n.icure-button-group > .icure-input {\n flex: 1 1 auto;\n width: auto;\n}\n.icure-button-group > .icure-label {\n transform: translate(0, 0) scale(1);\n}\n.icure-button-group > .icure-label.above, .icure-button-group.has-content > .icure-label, .icure-button-group:focus > .icure-label, .icure-button-group:focus-within > .icure-label {\n font-weight: 500;\n height: 1.4em;\n}` \n\nexport class IcureLabel extends LitElement {\n\t@property() label?: string\n\t@property() labelPosition?: string\n\t@property() visible = true\n\n\tstatic get styles() {\n\t\treturn [baseCss]\n\t}\n\n\trender() {\n\t\tif (!this.visible) {\n\t\t\treturn html``\n\t\t}\n\t\treturn html`${generateLabel(this.label ?? '', this.labelPosition ?? 'float', 'en')}`\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../tmp/components/icure-label/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsC;AACtC,2CAA+C;AAC/C,qDAA4C;AAC5C,aAAa;AACb,6BAA0B;AAC1B,MAAM,OAAO,GAAG,IAAA,SAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAogCjB,CAAA;AAEF,MAAa,UAAW,SAAQ,gBAAU;IAA1C;;QAGa,YAAO,GAAG,IAAI,CAAA;IAY3B,CAAC;IAVA,MAAM,KAAK,MAAM;QAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC;IAED,MAAM;;QACL,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACnB,OAAO,IAAA,UAAI,EAAA,EAAE,CAAA;QACd,CAAC;QACD,OAAO,IAAA,UAAI,EAAA,GAAG,IAAA,qBAAa,EAAC,MAAA,IAAI,CAAC,KAAK,mCAAI,EAAE,EAAE,MAAA,IAAI,CAAC,aAAa,mCAAI,OAAO,EAAE,IAAI,CAAC,EAAE,CAAA;IACrF,CAAC;CACD;AAfD,gCAeC;AAdY;IAAX,IAAA,wBAAQ,GAAE;;yCAAe;AACd;IAAX,IAAA,wBAAQ,GAAE;;iDAAuB;AACtB;IAAX,IAAA,wBAAQ,GAAE;;2CAAe","sourcesContent":["import { html, LitElement } from 'lit'\nimport { generateLabel } from '../common/utils'\nimport { property } from 'lit/decorators.js'\n// @ts-ignore\nimport { css } from 'lit';\nconst baseCss = css`@charset \"UTF-8\";\n:host {\n --bg-color-1: #f44336;\n}\n\n.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n width: 100%;\n word-wrap: break-word;\n white-space: pre-wrap;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\n.ProseMirror li {\n position: relative;\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection {\n caret-color: transparent;\n}\n\n.ProseMirror-selectednode {\n outline: 2px solid #8cf;\n}\n\n/* Make sure li selections wrap around markers */\nli.ProseMirror-selectednode {\n outline: none;\n}\n\nli.ProseMirror-selectednode:after {\n content: \"\";\n position: absolute;\n left: -32px;\n right: -2px;\n top: -2px;\n bottom: -2px;\n border: 2px solid #8cf;\n pointer-events: none;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n}\n\n.ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n/* Add space around the hr to make clicking it easier */\n.ProseMirror-example-setup-style hr {\n padding: 2px 10px;\n border: none;\n margin: 1em 0;\n}\n\n.ProseMirror-example-setup-style hr:after {\n content: \"\";\n display: block;\n height: 1px;\n background: silver;\n line-height: 2px;\n}\n\n.ProseMirror ul,\n.ProseMirror ol {\n padding-left: 30px;\n}\n\n.ProseMirror blockquote {\n padding-left: 1em;\n border-left: 3px solid #eee;\n margin-left: 0;\n margin-right: 0;\n}\n\n.ProseMirror-example-setup-style img {\n cursor: default;\n}\n\n.ProseMirror-prompt {\n background: white;\n padding: 5px 10px 5px 15px;\n border: 1px solid silver;\n position: fixed;\n border-radius: 3px;\n z-index: 11;\n box-shadow: -0.5px 2px 5px rgba(0, 0, 0, 0.2);\n}\n\n.ProseMirror-prompt h5 {\n margin: 0;\n font-weight: normal;\n font-size: 100%;\n color: #444;\n}\n\n.ProseMirror-prompt input[type=text],\n.ProseMirror-prompt textarea {\n background: #eee;\n border: none;\n outline: none;\n}\n\n.ProseMirror-prompt input[type=text] {\n padding: 0 4px;\n}\n\n.ProseMirror-prompt-close {\n position: absolute;\n left: 2px;\n top: 1px;\n color: #666;\n border: none;\n background: transparent;\n padding: 0;\n}\n\n.ProseMirror-prompt-close:after {\n content: \"✕\";\n font-size: 12px;\n}\n\n.ProseMirror-invalid {\n background: #ffc;\n border: 1px solid #cc7;\n border-radius: 4px;\n padding: 5px 10px;\n position: absolute;\n min-width: 10em;\n}\n\n.ProseMirror-prompt-buttons {\n margin-top: 5px;\n display: none;\n}\n\n#editor,\n.editor {\n color: rgb(101, 101, 101);\n background-clip: padding-box;\n border-radius: 4px;\n border: 2px solid rgba(0, 0, 0, 0.2);\n padding: 5px 0;\n display: flex;\n align-items: flex-end;\n}\n\n.ProseMirror p:last-child,\n.ProseMirror h1:last-child,\n.ProseMirror h2:last-child,\n.ProseMirror h3:last-child,\n.ProseMirror h4:last-child,\n.ProseMirror h5:last-child,\n.ProseMirror h6:last-child {\n margin-bottom: 2px;\n}\n\n.ProseMirror {\n padding: 6px 8px 2px 8px;\n line-height: 1.2;\n color: #274768;\n font-size: 14px;\n font-weight: 400;\n outline: none;\n}\n\n.ProseMirror p {\n margin-bottom: 1em;\n}\n\n.icure-input {\n background: #edf2f7;\n border-radius: 8px;\n border: none;\n min-height: 28px;\n height: auto;\n display: flex;\n flex-flow: row nowrap;\n align-items: flex-start;\n justify-content: space-between;\n}\n\n#editor {\n background: transparent;\n border: none;\n padding: 0;\n flex-grow: 1;\n display: flex;\n align-items: stretch;\n}\n#editor.tokens-list .ProseMirror, #editor.styled-tokens-list .ProseMirror {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n}\n#editor.tokens-list .ProseMirror li, #editor.styled-tokens-list .ProseMirror li {\n display: inline-block;\n border-radius: 8px;\n padding: 2px 4px;\n margin-right: 2px;\n background-color: #dadada;\n border-color: rgba(42, 61, 108, 0.44);\n}\n#editor.tokens-list .ProseMirror li span, #editor.styled-tokens-list .ProseMirror li span {\n min-width: 26px;\n display: inline-block;\n}\n#editor.tokens-list .ProseMirror li span br, #editor.styled-tokens-list .ProseMirror li span br {\n display: none;\n}\n#editor.tokens-list .ProseMirror li span:after:hover, #editor.styled-tokens-list .ProseMirror li span:after:hover {\n background: transparent url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxu cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3 Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iIzAwMDAwMCIgZmlsbD0iIzAwMDAwMCIg d2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiPjxwYXRoIGQ9Ik0xNiw4YTEsMSwwLDAs MC0xLjQxNCwwTDEyLDEwLjU4Niw5LjQxNCw4QTEsMSwwLDAsMCw4LDkuNDE0TDEw LjU4NiwxMiw4LDE0LjU4NkExLDEsMCwwLDAsOS40MTQsMTZMMTIsMTMuNDE0LDE0 LjU4NiwxNkExLDEsMCwwLDAsMTYsMTQuNTg2TDEzLjQxNCwxMiwxNiw5LjQxNEEx LDEsMCwwLDAsMTYsOFoiLz48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwx MiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIs MTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48L3N2Zz4K\") no-repeat center/16px;\n}\n#editor.tokens-list .ProseMirror li span:after, #editor.styled-tokens-list .ProseMirror li span:after {\n content: \" \";\n min-width: 22px;\n background: transparent url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxu cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3 Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iIzg4ODg4OCIgZmlsbD0iIzg4ODg4OCIg d2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiPjxwYXRoIGQ9Ik0xNiw4YTEsMSwwLDAs MC0xLjQxNCwwTDEyLDEwLjU4Niw5LjQxNCw4QTEsMSwwLDAsMCw4LDkuNDE0TDEw LjU4NiwxMiw4LDE0LjU4NkExLDEsMCwwLDAsOS40MTQsMTZMMTIsMTMuNDE0LDE0 LjU4NiwxNkExLDEsMCwwLDAsMTYsMTQuNTg2TDEzLjQxNCwxMiwxNiw5LjQxNEEx LDEsMCwwLDAsMTYsOFoiLz48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwx MiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIs MTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48L3N2Zz4K\") no-repeat center/16px;\n display: inline-block;\n}\n#editor.items-list .ProseMirror {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: flex-start;\n gap: 6px;\n}\n#editor.items-list .ProseMirror li {\n list-style-type: none;\n width: 100%;\n padding-bottom: 4px;\n border-bottom: 1px dotted rgba(128, 128, 128, 0.5098039216);\n}\n#editor.items-list .ProseMirror li:last-child {\n border-bottom: none;\n}\n\n#content {\n position: relative;\n padding: 0;\n}\n\n* {\n font-family: \"Roboto\", Helvetica, sans-serif;\n}\n\np {\n margin-top: 0;\n}\n\nh3 {\n color: #274768;\n margin-top: 0;\n}\n\n.extra {\n flex-shrink: 0;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n padding: 0 8px;\n transition: all 0.24s cubic-bezier(0.42, 0.01, 1, 0.62);\n}\n\n.extra > .info {\n color: #809ab4;\n font-size: 12px;\n width: 100%;\n height: auto;\n overflow: hidden;\n pointer-events: none;\n text-align: right;\n}\n\n.extra > .info > span {\n font-weight: 700;\n}\n\n.extra .buttons-container {\n position: relative;\n display: flex;\n height: 100%;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-end;\n width: 0;\n transition: all 0.24s cubic-bezier(0.14, 0.69, 0.87, 0.54);\n}\n\n.extra:hover .buttons-container .menu-container .btn {\n animation: slideIn 0.24s ease-in forwards;\n pointer-events: none;\n display: unset !important;\n}\n\n.extra.forced:hover .buttons-container .menu-container .btn {\n animation: none;\n pointer-events: all;\n}\n\n.extra.forced .buttons-container .btn {\n opacity: 1 !important;\n display: unset !important;\n}\n\n.extra .buttons-container .btn.forced {\n opacity: 1 !important;\n display: unset !important;\n}\n\n.extra.forced .info, .extra .info.hidden {\n opacity: 0 !important;\n z-index: 0 !important;\n}\n\n.extra .buttons-container .btn {\n border: none;\n background: transparent;\n position: relative;\n top: 0;\n display: none;\n opacity: 0;\n cursor: pointer;\n height: 20px;\n width: 10px;\n margin-left: 4px;\n margin-right: 4px;\n padding: 0;\n}\n\n.extra .buttons-container .menu-container:last-child .btn {\n margin-right: 0;\n}\n\n.extra .buttons-container .btn svg path {\n fill: #809ab4;\n}\n\n.extra .buttons-container .btn.forced svg path {\n fill: crimson !important;\n}\n\n.extra .buttons-container .btn:hover svg path {\n fill: #274768;\n}\n\n.extra .buttons-container .menu-container .btn:hover::after {\n content: attr(data-content);\n position: absolute;\n top: -22px;\n height: 16px;\n left: 50%;\n transform: translateX(-50%);\n border-radius: 8px;\n background: #274768;\n color: white;\n display: flex;\n flex-flow: row wrap;\n align-items: center;\n text-transform: capitalize;\n white-space: nowrap;\n padding: 0 12px;\n font-size: 12px;\n line-height: 0;\n}\n\n.extra .buttons-container .btn:focus,\n.extra .buttons-container .btn:focus-within {\n border: none;\n outline: none;\n}\n\n.extra .buttons-container .menu-container .btn:hover::before {\n content: \"\";\n display: block;\n border-color: #274768 transparent transparent transparent;\n border-style: solid;\n border-width: 4px;\n position: absolute;\n top: -6px;\n}\n\n@keyframes slideIn {\n 0% {\n top: 0;\n opacity: 0;\n pointer-events: none;\n }\n 100% {\n top: 0;\n opacity: 1;\n pointer-events: all;\n }\n}\n.menu-container {\n display: flex;\n align-items: center;\n height: fit-content;\n}\n\n.value-date-menu {\n width: unset !important;\n}\n\n.menu {\n display: block;\n position: absolute;\n top: 20px;\n right: 0;\n z-index: 2;\n background: #fff;\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);\n border-radius: 8px;\n padding: 8px;\n width: 220px;\n min-height: 120px;\n max-height: 320px;\n overflow-y: scroll;\n}\n.menu .input-container {\n background: #edf2f7;\n border-radius: 4px;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-start;\n height: 32px;\n margin-bottom: 4px;\n padding: 0 4px;\n}\n.menu .input-container:hover {\n box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2);\n}\n.menu .input-container:focus-within {\n box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2), 0 0 0 1px rgb(40, 151, 255);\n}\n.menu .input-container input {\n background: transparent;\n border: none;\n flex-grow: 1;\n height: 100%;\n}\n.menu .input-container input:focus {\n background: transparent;\n border: none;\n outline: none;\n}\n\n.menu-trigger:focus .menu {\n display: block;\n}\n\n.menu-container .item {\n height: 22px;\n width: 100%;\n background: transparent;\n border-radius: 4px;\n font-size: 14px;\n color: #274768;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-start;\n box-shadow: none;\n border: none;\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n}\n\n.menu-container .item:hover {\n background: #f5f9fd;\n font-weight: 500;\n border-radius: 4px;\n}\n\nspan {\n position: relative;\n z-index: 1;\n}\n\nspan.date {\n margin-right: 1px;\n}\n\nspan.time {\n margin-left: 1px;\n}\n\nspan.measure {\n display: inline-block;\n margin-right: 1px;\n}\n\nspan.unit {\n margin-left: 1px;\n display: inline-block;\n}\n\nspan[data-content]:hover::after {\n position: absolute;\n content: attr(data-content);\n background: #274768;\n color: #ffffff;\n font-size: 9px;\n line-height: 12px;\n top: -12px;\n left: 0px;\n padding: 0px 2px;\n}\n\nspan[data-content]::before {\n position: absolute;\n content: \"\";\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n opacity: 0.3;\n}\n\n.masked {\n display: none;\n}\n\n.companion {\n position: absolute;\n width: 15px;\n background-color: hsl(194, 100%, 50%);\n color: white;\n z-index: 20;\n padding: 0;\n text-align: center;\n font-size: 14px;\n font-weight: 500;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border-radius: 0 2px 2px 0;\n}\n\n.companion:hover {\n font-weight: 700;\n background: hsl(202, 100%, 50%);\n}\n\n*::selection {\n background-color: hsla(194, 100%, 50%, 0.2);\n}\n\n.suggestion-palette {\n position: absolute;\n z-index: 20;\n max-width: 380px;\n font-size: 11px;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 4px;\n border: none;\n border-radius: 8px;\n background: white;\n box-shadow: 0 1.1px 1.1px rgba(0, 0, 0, 0.022), 0 2.7px 2.7px rgba(0, 0, 0, 0.032), 0 5px 5px rgba(0, 0, 0, 0.04), 0 8.9px 8.9px rgba(0, 0, 0, 0.048), 0 16.7px 16.7px rgba(0, 0, 0, 0.058), 0 40px 40px rgba(0, 0, 0, 0.08);\n}\n\n.suggestion-palette ul {\n white-space: nowrap;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.suggestion-palette ul li {\n padding: 0 8px;\n font-size: 11px;\n height: 20px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-radius: 4px;\n color: rgb(39, 71, 104);\n}\n.suggestion-palette ul li svg {\n height: 12px;\n width: 12px;\n border-radius: 4px;\n transform-origin: center center;\n}\n.suggestion-palette ul li svg path {\n fill: rgb(128, 154, 180);\n}\n\n.suggestion-palette ul li:not(:first-child) svg.tab-icn,\n.suggestion-palette ul li:not(.focused) svg.return-icn,\n.suggestion-palette ul.focused li:first-child svg.tab-icn {\n height: 0;\n width: 0;\n transform: scale(0);\n opacity: 0;\n}\n\n.suggestion-palette ul li.focused {\n background-color: rgb(237, 242, 247);\n}\n\n.suggestion-palette ul li.focused svg.return-icn {\n animation: growIn 0.24s ease-in forwards;\n}\n\n@keyframes growIn {\n 0% {\n transform: scale(0.5);\n }\n 90% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\nspan.code-count-1::after,\nspan.code-count-1::before {\n background: var(--bg-code-color-1);\n color: var(--text-code-color-1);\n}\n\nspan.code-count-2::after,\nspan.code-count-2::before {\n background: var(--bg-code-color-1);\n color: var(--text-code-color-1);\n /* STRIPES */\n /*background: repeating-linear-gradient(*/\n /*\t45deg,*/\n /*\tvar(--bg-code-color-1),*/\n /*\tvar(--bg-code-color-1) 10px,*/\n /*\tvar(--bg-code-color-2) 10px,*/\n /*\tvar(--bg-code-color-2) 20px*/\n /*);*/\n /* PAS STRIPES */\n background: linear-gradient(90deg, var(--bg-code-color-1) 0%, var(--bg-code-color-2) 100%);\n}\n\nspan.code-count-3::after,\nspan.code-count-3::before {\n background: var(--bg-code-color-1);\n color: var(--text-code-color-1);\n /* STRIPES */\n background: repeating-linear-gradient(45deg, var(--bg-code-color-1), var(--bg-code-color-1) 10px, var(--bg-code-color-2) 10px, var(--bg-code-color-2) 20px);\n /* PAS STRIPES */\n /* background: linear-gradient(90deg, var(--bg-code-color-1) 0%, var(--bg-code-color-2) 100%);*/\n}\n\n.selected-option {\n padding: 2px;\n margin-right: 5px;\n}\n\n.options {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n position: absolute;\n top: 30px;\n left: 0;\n z-index: 2;\n background: #fff;\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);\n width: auto;\n min-width: 100%;\n overflow-y: auto;\n max-height: 280px;\n}\n\n.date-picker {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n position: absolute;\n top: 30px;\n right: 0;\n z-index: 2;\n background: #fff;\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);\n width: 260px;\n overflow-y: auto;\n max-height: 280px;\n left: 0px;\n}\n\napp-date-picker {\n --app-primary: #084B83;\n --app-hover: #5b7da2;\n --app-selected-hover: #5b7da2;\n}\n\n.option {\n height: 28px;\n min-height: 28px;\n width: 100%;\n background: transparent;\n border-radius: 4px;\n font-size: 14px;\n color: #545454;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: flex-start;\n box-shadow: none;\n border: none;\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n padding: 4px 8px;\n -webkit-user-select: none; /* Safari */\n -ms-user-select: none; /* IE 10 and IE 11 */\n user-select: none; /* Standard syntax */\n}\n\n.option:hover {\n color: #656565;\n background-color: #ededed;\n}\n\n.select-arrow {\n border: none;\n background: 0px 0px;\n position: relative;\n top: 0px;\n opacity: 0.5;\n cursor: pointer;\n height: 20px;\n width: 10px;\n margin-left: 4px;\n margin-right: 4px;\n padding: 0px;\n}\n\n.hidden {\n display: none;\n}\n\n.container {\n position: relative;\n}\n\n.icure-form {\n background-color: rgba(0, 0, 0, 0);\n display: grid;\n gap: 0 6px;\n grid-template-columns: repeat(24, 1fr);\n}\n\n.group {\n align-items: end;\n display: grid;\n}\n\n.subform {\n align-items: end;\n display: grid;\n position: relative;\n margin: 8px -8px 8px;\n padding: 0 8px 0;\n min-height: 64px;\n background-color: #e7f0fd;\n}\n\n.icure-form hr {\n display: block;\n margin-top: 20px;\n border-top: 1px solid rgba(8, 75, 131, 0.13);\n margin-bottom: 20px;\n}\n.icure-form h2 {\n font-size: 14.4px;\n font-weight: 700;\n color: #084B83;\n padding: 2px;\n}\n.icure-form h3 {\n font-size: 13.2px;\n font-weight: 500;\n color: #084B83;\n padding: 6px;\n}\n.icure-form .group.bordered {\n background: #f6f6f6;\n border-radius: 12px;\n}\n.icure-form .float-right-btn {\n position: absolute;\n right: 10px;\n cursor: pointer;\n}\n.icure-form .float-right-btn.top {\n top: 6px;\n}\n.icure-form .float-right-btn.bottom {\n bottom: -8px;\n}\n\n.icure-form-field {\n align-items: end;\n display: grid;\n}\n\n.error {\n color: red;\n font-size: 12px;\n}\n\n.icure-text-field > .icure-label, .icure-button-group > .icure-label {\n z-index: 1;\n pointer-events: none;\n line-height: 1.4em;\n cursor: text;\n font-size: 12px;\n left: 9px;\n color: #084B83;\n align-items: center;\n height: 28px;\n max-width: 85%;\n min-width: 0;\n}\n.icure-text-field > .icure-label.float, .icure-button-group > .icure-label.float {\n display: inline-block;\n height: 1.4em;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.icure-text-field {\n position: relative;\n width: 100%;\n flex-direction: row;\n justify-content: stretch;\n align-items: center;\n}\n.icure-text-field > .icure-label {\n transition: transform 0.2s ease-out, color 0.2s ease-out;\n}\n.icure-text-field > .icure-input {\n flex: 1 1 auto;\n width: auto;\n}\n.icure-text-field > .icure-label.side {\n position: relative;\n}\n.icure-text-field > .icure-label.side.left {\n order: -1;\n margin-right: 1em;\n}\n.icure-text-field > .icure-label.side.right {\n order: 1;\n margin-left: 1em;\n}\n.icure-text-field .icure-input,\n.icure-text-field .input-container {\n border-radius: 2px;\n padding: 0 8px;\n width: 100%;\n box-sizing: border-box;\n border-width: 1px;\n border-style: solid;\n outline: 0;\n font: inherit;\n font-size: 14px;\n line-height: 1.4em;\n display: flex;\n align-items: center;\n vertical-align: middle;\n position: relative;\n -webkit-appearance: none;\n background-color: #ffffff;\n border-color: red;\n color: #000000;\n box-sizing: border-box;\n}\n.icure-text-field .icure-input:focus, .icure-text-field .icure-input:focus-within,\n.icure-text-field .input-container:focus,\n.icure-text-field .input-container:focus-within {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.06);\n}\n.icure-text-field .icure-input:hover,\n.icure-text-field .input-container:hover {\n border-color: rgba(0, 0, 0, 0.15);\n box-shadow: none;\n}\n.icure-text-field .icure-input:hover:focus, .icure-text-field .icure-input:hover:focus-within,\n.icure-text-field .input-container:hover:focus,\n.icure-text-field .input-container:hover:focus-within {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.06);\n}\n.icure-text-field .icure-input .ProseMirror,\n.icure-text-field .input-container .ProseMirror {\n padding: 0;\n font-size: 14px;\n line-height: 1.4em;\n color: #000000;\n}\n.icure-text-field .icure-input .ProseMirror .date,\n.icure-text-field .input-container .ProseMirror .date {\n padding: 1px;\n}\n.icure-text-field .icure-input .ProseMirror .time,\n.icure-text-field .input-container .ProseMirror .time {\n padding: 1px;\n}\n.icure-text-field .icure-input .ProseMirror:focus .focused,\n.icure-text-field .input-container .ProseMirror:focus .focused {\n background-color: rgba(0, 0, 0, 0.05);\n border-radius: 3px;\n border-color: rgba(0, 0, 0, 0.1);\n}\n.icure-text-field .icure-input > svg,\n.icure-text-field .input-container > svg {\n opacity: 0.5;\n}\n.icure-text-field .icure-input > svg path,\n.icure-text-field .input-container > svg path {\n fill: #656565;\n}\n.icure-text-field .icure-input .extra,\n.icure-text-field .input-container .extra {\n height: 20px;\n}\n.icure-text-field .icure-input .extra > .info,\n.icure-text-field .input-container .extra > .info {\n color: #656565;\n opacity: 0.5;\n}\n.icure-text-field .icure-input .extra .buttons-container .btn svg path,\n.icure-text-field .input-container .extra .buttons-container .btn svg path {\n fill: #656565;\n opacity: 0.5;\n}\n.icure-text-field .icure-input .extra .buttons-container .btn svg path:hover,\n.icure-text-field .input-container .extra .buttons-container .btn svg path:hover {\n fill: #656565;\n opacity: 1;\n}\n\ninput[type=radio] {\n margin-top: -1px;\n vertical-align: middle;\n}\n\n.icure-checkbox:checked {\n accent-color: #06a070;\n}\n\n.icure-button-group > div {\n display: grid;\n}\n.icure-button-group > div > div {\n display: flex;\n align-items: center;\n}\n.icure-button-group > div > div > .icure-button-group-label {\n z-index: 1;\n line-height: 1.4em;\n cursor: text;\n font-size: 12px;\n top: calc(1.4em + 1px);\n left: 9px;\n transition: transform 0.2s ease-out, color 0.2s ease-out;\n color: #084B83;\n display: flex;\n align-items: center;\n height: 28px;\n max-width: 85%;\n min-width: 0;\n}\n.icure-button-group > div > div > .icure-button-group-label > span {\n display: block;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n padding-right: 8px;\n}\n.icure-button-group > .icure-input {\n flex: 1 1 auto;\n width: auto;\n}\n.icure-button-group > .icure-label {\n transform: translate(0, 0) scale(1);\n}\n.icure-button-group > .icure-label.above, .icure-button-group.has-content > .icure-label, .icure-button-group:focus > .icure-label, .icure-button-group:focus-within > .icure-label {\n font-weight: 500;\n height: 1.4em;\n}` \n\nexport class IcureLabel extends LitElement {\n\t@property() label?: string\n\t@property() labelPosition?: string\n\t@property() visible = true\n\n\tstatic get styles() {\n\t\treturn [baseCss]\n\t}\n\n\trender() {\n\t\tif (!this.visible) {\n\t\t\treturn html``\n\t\t}\n\t\treturn html`${generateLabel(this.label ?? '', this.labelPosition ?? 'float', 'en')}`\n\t}\n}\n"]}
|
|
@@ -22,16 +22,6 @@ export declare class IcureTextField extends Field {
|
|
|
22
22
|
code: string;
|
|
23
23
|
}[]) => string;
|
|
24
24
|
schema: IcureTextFieldSchema;
|
|
25
|
-
protected displayOwnersMenu: boolean;
|
|
26
|
-
protected ownerInputValue: string;
|
|
27
|
-
protected availableOwners: Suggestion[];
|
|
28
|
-
protected loadedOwners: {
|
|
29
|
-
[id: string]: Suggestion;
|
|
30
|
-
};
|
|
31
|
-
protected displayLanguagesMenu: boolean;
|
|
32
|
-
protected languageInputValue: string;
|
|
33
|
-
protected displayVersionsMenu: boolean;
|
|
34
|
-
protected availableLanguages: (string | undefined)[];
|
|
35
25
|
private proseMirrorSchema?;
|
|
36
26
|
private parser?;
|
|
37
27
|
private serializer;
|
|
@@ -39,6 +29,7 @@ export declare class IcureTextField extends Field {
|
|
|
39
29
|
private primitiveTypesExtractor;
|
|
40
30
|
private codesExtractor;
|
|
41
31
|
private view?;
|
|
32
|
+
selectedLanguage?: string;
|
|
42
33
|
private container?;
|
|
43
34
|
private readonly windowListeners;
|
|
44
35
|
private suggestionPalette?;
|
|
@@ -52,10 +43,6 @@ export declare class IcureTextField extends Field {
|
|
|
52
43
|
private isMultivalued;
|
|
53
44
|
private updateValue;
|
|
54
45
|
render(): import("lit-html").TemplateResult<1>;
|
|
55
|
-
toggleOwnerMenu(ownerId?: string): void;
|
|
56
|
-
searchOwner(e: InputEvent): void;
|
|
57
|
-
handleOwnerButtonClicked(id: string): void;
|
|
58
|
-
toggleLanguageMenu(): void;
|
|
59
46
|
mouseDown(): void;
|
|
60
47
|
mouseUp(): void;
|
|
61
48
|
firstUpdated(): void;
|
|
@@ -338,7 +338,6 @@ h3 {
|
|
|
338
338
|
|
|
339
339
|
.extra {
|
|
340
340
|
flex-shrink: 0;
|
|
341
|
-
height: 28px;
|
|
342
341
|
display: flex;
|
|
343
342
|
flex-flow: row nowrap;
|
|
344
343
|
align-items: center;
|
|
@@ -361,6 +360,7 @@ h3 {
|
|
|
361
360
|
}
|
|
362
361
|
|
|
363
362
|
.extra .buttons-container {
|
|
363
|
+
position: relative;
|
|
364
364
|
display: flex;
|
|
365
365
|
height: 100%;
|
|
366
366
|
flex-flow: row nowrap;
|
|
@@ -373,14 +373,7 @@ h3 {
|
|
|
373
373
|
.extra:hover .buttons-container .menu-container .btn {
|
|
374
374
|
animation: slideIn 0.24s ease-in forwards;
|
|
375
375
|
pointer-events: none;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
.extra:hover .buttons-container .menu-container .btn {
|
|
379
|
-
animation-delay: 0.24s;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.extra:hover .buttons-container .menu-container:hover .btn {
|
|
383
|
-
animation-delay: 0.04s;
|
|
376
|
+
display: unset !important;
|
|
384
377
|
}
|
|
385
378
|
|
|
386
379
|
.extra.forced:hover .buttons-container .menu-container .btn {
|
|
@@ -390,13 +383,15 @@ h3 {
|
|
|
390
383
|
|
|
391
384
|
.extra.forced .buttons-container .btn {
|
|
392
385
|
opacity: 1 !important;
|
|
386
|
+
display: unset !important;
|
|
393
387
|
}
|
|
394
388
|
|
|
395
|
-
.extra.
|
|
396
|
-
opacity:
|
|
389
|
+
.extra .buttons-container .btn.forced {
|
|
390
|
+
opacity: 1 !important;
|
|
391
|
+
display: unset !important;
|
|
397
392
|
}
|
|
398
393
|
|
|
399
|
-
.extra
|
|
394
|
+
.extra.forced .info, .extra .info.hidden {
|
|
400
395
|
opacity: 0 !important;
|
|
401
396
|
z-index: 0 !important;
|
|
402
397
|
}
|
|
@@ -406,6 +401,7 @@ h3 {
|
|
|
406
401
|
background: transparent;
|
|
407
402
|
position: relative;
|
|
408
403
|
top: 0;
|
|
404
|
+
display: none;
|
|
409
405
|
opacity: 0;
|
|
410
406
|
cursor: pointer;
|
|
411
407
|
height: 20px;
|
|
@@ -423,6 +419,10 @@ h3 {
|
|
|
423
419
|
fill: #809ab4;
|
|
424
420
|
}
|
|
425
421
|
|
|
422
|
+
.extra .buttons-container .btn.forced svg path {
|
|
423
|
+
fill: crimson !important;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
426
|
.extra .buttons-container .btn:hover svg path {
|
|
427
427
|
fill: #274768;
|
|
428
428
|
}
|
|
@@ -465,7 +465,8 @@ h3 {
|
|
|
465
465
|
|
|
466
466
|
@keyframes slideIn {
|
|
467
467
|
0% {
|
|
468
|
-
top:
|
|
468
|
+
top: 0;
|
|
469
|
+
opacity: 0;
|
|
469
470
|
pointer-events: none;
|
|
470
471
|
}
|
|
471
472
|
100% {
|
|
@@ -475,10 +476,13 @@ h3 {
|
|
|
475
476
|
}
|
|
476
477
|
}
|
|
477
478
|
.menu-container {
|
|
478
|
-
position: relative;
|
|
479
479
|
display: flex;
|
|
480
480
|
align-items: center;
|
|
481
|
-
height:
|
|
481
|
+
height: fit-content;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.value-date-menu {
|
|
485
|
+
width: unset !important;
|
|
482
486
|
}
|
|
483
487
|
|
|
484
488
|
.menu {
|
|
@@ -496,7 +500,6 @@ h3 {
|
|
|
496
500
|
max-height: 320px;
|
|
497
501
|
overflow-y: scroll;
|
|
498
502
|
}
|
|
499
|
-
|
|
500
503
|
.menu .input-container {
|
|
501
504
|
background: #edf2f7;
|
|
502
505
|
border-radius: 4px;
|
|
@@ -508,22 +511,18 @@ h3 {
|
|
|
508
511
|
margin-bottom: 4px;
|
|
509
512
|
padding: 0 4px;
|
|
510
513
|
}
|
|
511
|
-
|
|
512
514
|
.menu .input-container:hover {
|
|
513
515
|
box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2);
|
|
514
516
|
}
|
|
515
|
-
|
|
516
517
|
.menu .input-container:focus-within {
|
|
517
518
|
box-shadow: 0 0 0 3px rgba(40, 151, 255, 0.2), 0 0 0 1px rgb(40, 151, 255);
|
|
518
519
|
}
|
|
519
|
-
|
|
520
520
|
.menu .input-container input {
|
|
521
521
|
background: transparent;
|
|
522
522
|
border: none;
|
|
523
523
|
flex-grow: 1;
|
|
524
524
|
height: 100%;
|
|
525
525
|
}
|
|
526
|
-
|
|
527
526
|
.menu .input-container input:focus {
|
|
528
527
|
background: transparent;
|
|
529
528
|
border: none;
|
|
@@ -944,7 +943,7 @@ app-date-picker {
|
|
|
944
943
|
.icure-text-field .icure-input,
|
|
945
944
|
.icure-text-field .input-container {
|
|
946
945
|
border-radius: 2px;
|
|
947
|
-
padding:
|
|
946
|
+
padding: 0 8px;
|
|
948
947
|
width: 100%;
|
|
949
948
|
box-sizing: border-box;
|
|
950
949
|
border-width: 1px;
|
|
@@ -1048,7 +1047,7 @@ input[type=radio] {
|
|
|
1048
1047
|
line-height: 1.4em;
|
|
1049
1048
|
cursor: text;
|
|
1050
1049
|
font-size: 12px;
|
|
1051
|
-
top: calc(1.4em +
|
|
1050
|
+
top: calc(1.4em + 1px);
|
|
1052
1051
|
left: 9px;
|
|
1053
1052
|
transition: transform 0.2s ease-out, color 0.2s ease-out;
|
|
1054
1053
|
color: #084B83;
|
|
@@ -1080,8 +1079,6 @@ const utils_2 = require("../icure-form/fields/utils");
|
|
|
1080
1079
|
const markdown_1 = require("../../utils/markdown");
|
|
1081
1080
|
const measure_schema_1 = require("./schema/measure-schema");
|
|
1082
1081
|
const dates_1 = require("../../utils/dates");
|
|
1083
|
-
const paths_1 = require("../common/styles/paths");
|
|
1084
|
-
const languages_1 = require("../../utils/languages");
|
|
1085
1082
|
// Extend the LitElement base class
|
|
1086
1083
|
class IcureTextField extends common_1.Field {
|
|
1087
1084
|
constructor() {
|
|
@@ -1100,14 +1097,6 @@ class IcureTextField extends common_1.Field {
|
|
|
1100
1097
|
this.linkColorProvider = () => 'cat1';
|
|
1101
1098
|
this.codeContentProvider = (codes) => codes.map((c) => c.code).join(',');
|
|
1102
1099
|
this.schema = 'styled-text-with-codes';
|
|
1103
|
-
this.displayOwnersMenu = false;
|
|
1104
|
-
this.ownerInputValue = '';
|
|
1105
|
-
this.availableOwners = [];
|
|
1106
|
-
this.loadedOwners = {};
|
|
1107
|
-
this.displayLanguagesMenu = false;
|
|
1108
|
-
this.languageInputValue = '';
|
|
1109
|
-
this.displayVersionsMenu = false;
|
|
1110
|
-
this.availableLanguages = [this.defaultLanguage];
|
|
1111
1100
|
this.serializer = {
|
|
1112
1101
|
serialize: (content) => content.textBetween(0, content.nodeSize - 2, ' '),
|
|
1113
1102
|
};
|
|
@@ -1120,9 +1109,6 @@ class IcureTextField extends common_1.Field {
|
|
|
1120
1109
|
}
|
|
1121
1110
|
_handleClickOutside(event) {
|
|
1122
1111
|
if (!event.composedPath().includes(this)) {
|
|
1123
|
-
this.displayVersionsMenu = false;
|
|
1124
|
-
this.displayLanguagesMenu = false;
|
|
1125
|
-
this.displayOwnersMenu = false;
|
|
1126
1112
|
event.stopPropagation();
|
|
1127
1113
|
}
|
|
1128
1114
|
}
|
|
@@ -1200,7 +1186,7 @@ class IcureTextField extends common_1.Field {
|
|
|
1200
1186
|
}
|
|
1201
1187
|
}
|
|
1202
1188
|
render() {
|
|
1203
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u
|
|
1189
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
1204
1190
|
let metadata;
|
|
1205
1191
|
let rev;
|
|
1206
1192
|
let revDate;
|
|
@@ -1222,12 +1208,6 @@ class IcureTextField extends common_1.Field {
|
|
|
1222
1208
|
id && rev !== undefined
|
|
1223
1209
|
? (_r = (_q = (_p = (_o = this.metadataProvider) === null || _o === void 0 ? void 0 : _o.call(this, id, versions === null || versions === void 0 ? void 0 : versions.map((v) => v.revision))) === null || _p === void 0 ? void 0 : _p[id]) === null || _q === void 0 ? void 0 : _q.find((m) => m.revision === rev)) === null || _r === void 0 ? void 0 : _r.value
|
|
1224
1210
|
: undefined;
|
|
1225
|
-
const owner = metadata === null || metadata === void 0 ? void 0 : metadata.owner;
|
|
1226
|
-
if (owner && !this.loadedOwners[owner] && this.displayMetadata) {
|
|
1227
|
-
this.loadedOwners = Object.assign(Object.assign({}, this.loadedOwners), { [owner]: { id: owner, text: '', terms: [], label: {} } }); // Make sure we do not loop endlessly
|
|
1228
|
-
this.ownersProvider &&
|
|
1229
|
-
this.ownersProvider([], [owner]).then((availableOwners) => (this.loadedOwners = availableOwners.reduce((acc, o) => (Object.assign(Object.assign({}, acc), { [o.id]: o })), this.loadedOwners)));
|
|
1230
|
-
}
|
|
1231
1211
|
}
|
|
1232
1212
|
if (parsedDoc) {
|
|
1233
1213
|
const selection = this.view.state.selection;
|
|
@@ -1259,95 +1239,25 @@ class IcureTextField extends common_1.Field {
|
|
|
1259
1239
|
${this.displayedLabels ? (0, utils_1.generateLabels)(this.displayedLabels, this.language(), this.translate ? this.translationProvider : undefined) : lit_1.nothing}
|
|
1260
1240
|
<div class="icure-input">
|
|
1261
1241
|
<div id="editor" class="${this.schema}" style="min-height: calc( ${this.lines}rem + 5px )"></div>
|
|
1262
|
-
${this.displayMetadata
|
|
1263
|
-
? (0, lit_1.html)
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
? (0, lit_1.html) `
|
|
1276
|
-
<div id="menu" class="menu">
|
|
1277
|
-
<div class="input-container">${paths_1.searchPicto} <input id="ownerSearch" @input="${this.searchOwner}" /></div>
|
|
1278
|
-
${(_v = (((_u = this.availableOwners) === null || _u === void 0 ? void 0 : _u.length) ? this.availableOwners : Object.values(this.loadedOwners))) === null || _v === void 0 ? void 0 : _v.map((x) => (0, lit_1.html) `<button @click="${() => this.handleOwnerButtonClicked(x.id)}" id="${x.id}" class="item">${x.text}</button>`)}
|
|
1279
|
-
</div>
|
|
1280
|
-
`
|
|
1281
|
-
: ''}
|
|
1282
|
-
</div>
|
|
1283
|
-
<div class="menu-container">
|
|
1284
|
-
<button data-content="${(metadata === null || metadata === void 0 ? void 0 : metadata.valueDate) ? (0, date_fns_1.format)((0, dates_1.anyDateToDate)(metadata.valueDate), 'yyyy-MM-dd HH:mm:ss') : ''}" class="btn date">${paths_1.datePicto}</button>
|
|
1285
|
-
</div>
|
|
1286
|
-
<div class="menu-container">
|
|
1287
|
-
<button
|
|
1288
|
-
data-content="${rev === null ? 'latest' : rev ? `${rev.split('-')[0]} ${revDate ? `(${(0, date_fns_1.format)(new Date(revDate), 'yyyy-MM-dd')})` : ''}` : ''}"
|
|
1289
|
-
class="btn version"
|
|
1290
|
-
>
|
|
1291
|
-
${paths_1.versionPicto}
|
|
1292
|
-
</button>
|
|
1293
|
-
</div>
|
|
1294
|
-
<div class="menu-container">
|
|
1295
|
-
<button data-content="${this.displayedLanguage}" @click="${this.toggleLanguageMenu}" class="btn menu-trigger language">${paths_1.i18nPicto}</button>
|
|
1296
|
-
${this.displayLanguagesMenu
|
|
1297
|
-
? (0, lit_1.html) `
|
|
1298
|
-
<div id="menu" class="menu">
|
|
1299
|
-
<div class="input-container">${paths_1.searchPicto} <input /></div>
|
|
1300
|
-
${(_w = this.availableLanguages) === null || _w === void 0 ? void 0 : _w.map((x) => (0, lit_1.html) `<button id="${x}" class="item">${x ? (0, languages_1.languageName)(x) : ''}</button>`)}
|
|
1301
|
-
</div>
|
|
1302
|
-
`
|
|
1303
|
-
: ''}
|
|
1304
|
-
</div>
|
|
1305
|
-
</div>
|
|
1306
|
-
</div>`
|
|
1242
|
+
${this.displayMetadata && metadata
|
|
1243
|
+
? (0, lit_1.html) `<icure-metadata-buttons-bar
|
|
1244
|
+
.metadata="${metadata}"
|
|
1245
|
+
.revision="${rev}"
|
|
1246
|
+
.revisionDate="${revDate}"
|
|
1247
|
+
.valueId="${(_t = (0, utils_2.extractSingleValue)((_s = this.valueProvider) === null || _s === void 0 ? void 0 : _s.call(this))) === null || _t === void 0 ? void 0 : _t[0]}"
|
|
1248
|
+
.defaultLanguage="${this.defaultLanguage}"
|
|
1249
|
+
.selectedLanguage="${this.selectedLanguage}"
|
|
1250
|
+
.languages="${this.languages}"
|
|
1251
|
+
.handleMetadataChanged="${this.handleMetadataChanged}"
|
|
1252
|
+
.handleLanguageSelected="${(iso) => (this.selectedLanguage = iso)}"
|
|
1253
|
+
.ownersProvider="${this.ownersProvider}"
|
|
1254
|
+
/>`
|
|
1307
1255
|
: ''}
|
|
1308
1256
|
</div>
|
|
1309
|
-
<div class="error">${(
|
|
1257
|
+
<div class="error">${(_u = this.validationErrorsProvider) === null || _u === void 0 ? void 0 : _u.call(this).map(([, error]) => { var _a; return (0, lit_1.html) `<div>${(_a = this.translationProvider) === null || _a === void 0 ? void 0 : _a.call(this, this.language(), error)}</div>`; })}</div>
|
|
1310
1258
|
</div>
|
|
1311
1259
|
`;
|
|
1312
1260
|
}
|
|
1313
|
-
toggleOwnerMenu(ownerId) {
|
|
1314
|
-
this.displayOwnersMenu = !this.displayOwnersMenu;
|
|
1315
|
-
if (this.displayOwnersMenu) {
|
|
1316
|
-
this.displayLanguagesMenu = false;
|
|
1317
|
-
this.displayVersionsMenu = false;
|
|
1318
|
-
setTimeout(() => {
|
|
1319
|
-
var _a;
|
|
1320
|
-
;
|
|
1321
|
-
(_a = this.renderRoot.querySelector('#ownerSearch')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1322
|
-
}, 0);
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
searchOwner(e) {
|
|
1326
|
-
const text = e.target.value;
|
|
1327
|
-
setTimeout(() => __awaiter(this, void 0, void 0, function* () {
|
|
1328
|
-
var _a;
|
|
1329
|
-
if (((_a = this.renderRoot.querySelector('#ownerSearch')) === null || _a === void 0 ? void 0 : _a.value) === text) {
|
|
1330
|
-
if (this.ownersProvider) {
|
|
1331
|
-
const availableOwners = yield this.ownersProvider(text.split(' '));
|
|
1332
|
-
console.log(availableOwners);
|
|
1333
|
-
this.availableOwners = availableOwners;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
}), 300);
|
|
1337
|
-
}
|
|
1338
|
-
handleOwnerButtonClicked(id) {
|
|
1339
|
-
var _a;
|
|
1340
|
-
const [valueId] = (0, utils_2.extractSingleValue)((_a = this.valueProvider) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
1341
|
-
this.handleMetadataChanged && valueId && this.handleMetadataChanged(valueId, { label: this.label, owner: id });
|
|
1342
|
-
this.displayOwnersMenu = false;
|
|
1343
|
-
}
|
|
1344
|
-
toggleLanguageMenu() {
|
|
1345
|
-
this.displayLanguagesMenu = !this.displayLanguagesMenu;
|
|
1346
|
-
if (this.displayLanguagesMenu) {
|
|
1347
|
-
this.displayOwnersMenu = false;
|
|
1348
|
-
this.displayVersionsMenu = false;
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
1261
|
mouseDown() {
|
|
1352
1262
|
this.mouseCount++;
|
|
1353
1263
|
}
|
|
@@ -1636,13 +1546,13 @@ class IcureTextField extends common_1.Field {
|
|
|
1636
1546
|
? (doc) => {
|
|
1637
1547
|
var _a, _b, _c, _d;
|
|
1638
1548
|
const unit = ((_a = doc === null || doc === void 0 ? void 0 : doc.childCount) !== null && _a !== void 0 ? _a : 0) > 1 ? (_b = doc === null || doc === void 0 ? void 0 : doc.child(1)) === null || _b === void 0 ? void 0 : _b.textContent : undefined;
|
|
1639
|
-
return unit ? [{ id: `CD-UNIT|${unit}|1`, label: { [(_d = (_c = this.
|
|
1549
|
+
return unit ? [{ id: `CD-UNIT|${unit}|1`, label: { [(_d = (_c = this.selectedLanguage) !== null && _c !== void 0 ? _c : this.defaultLanguage) !== null && _d !== void 0 ? _d : 'en']: unit } }] : [];
|
|
1640
1550
|
}
|
|
1641
1551
|
: schemaName === 'measure'
|
|
1642
1552
|
? (doc) => {
|
|
1643
1553
|
var _a, _b, _c;
|
|
1644
1554
|
const unit = (_a = doc === null || doc === void 0 ? void 0 : doc.child(1)) === null || _a === void 0 ? void 0 : _a.textContent;
|
|
1645
|
-
return unit ? [{ id: `CD-UNIT|${unit}|1`, label: { [(_c = (_b = this.
|
|
1555
|
+
return unit ? [{ id: `CD-UNIT|${unit}|1`, label: { [(_c = (_b = this.selectedLanguage) !== null && _b !== void 0 ? _b : this.defaultLanguage) !== null && _c !== void 0 ? _c : 'en']: unit } }] : [];
|
|
1646
1556
|
}
|
|
1647
1557
|
: () => [];
|
|
1648
1558
|
}
|
|
@@ -1766,41 +1676,13 @@ __decorate([
|
|
|
1766
1676
|
(0, decorators_js_1.property)(),
|
|
1767
1677
|
__metadata("design:type", String)
|
|
1768
1678
|
], IcureTextField.prototype, "schema", void 0);
|
|
1769
|
-
__decorate([
|
|
1770
|
-
(0, decorators_js_1.state)(),
|
|
1771
|
-
__metadata("design:type", Object)
|
|
1772
|
-
], IcureTextField.prototype, "displayOwnersMenu", void 0);
|
|
1773
|
-
__decorate([
|
|
1774
|
-
(0, decorators_js_1.state)(),
|
|
1775
|
-
__metadata("design:type", Object)
|
|
1776
|
-
], IcureTextField.prototype, "ownerInputValue", void 0);
|
|
1777
|
-
__decorate([
|
|
1778
|
-
(0, decorators_js_1.state)(),
|
|
1779
|
-
__metadata("design:type", Array)
|
|
1780
|
-
], IcureTextField.prototype, "availableOwners", void 0);
|
|
1781
|
-
__decorate([
|
|
1782
|
-
(0, decorators_js_1.state)(),
|
|
1783
|
-
__metadata("design:type", Object)
|
|
1784
|
-
], IcureTextField.prototype, "loadedOwners", void 0);
|
|
1785
|
-
__decorate([
|
|
1786
|
-
(0, decorators_js_1.state)(),
|
|
1787
|
-
__metadata("design:type", Object)
|
|
1788
|
-
], IcureTextField.prototype, "displayLanguagesMenu", void 0);
|
|
1789
|
-
__decorate([
|
|
1790
|
-
(0, decorators_js_1.state)(),
|
|
1791
|
-
__metadata("design:type", Object)
|
|
1792
|
-
], IcureTextField.prototype, "languageInputValue", void 0);
|
|
1793
|
-
__decorate([
|
|
1794
|
-
(0, decorators_js_1.state)(),
|
|
1795
|
-
__metadata("design:type", Object)
|
|
1796
|
-
], IcureTextField.prototype, "displayVersionsMenu", void 0);
|
|
1797
|
-
__decorate([
|
|
1798
|
-
(0, decorators_js_1.state)(),
|
|
1799
|
-
__metadata("design:type", Object)
|
|
1800
|
-
], IcureTextField.prototype, "availableLanguages", void 0);
|
|
1801
1679
|
__decorate([
|
|
1802
1680
|
(0, decorators_js_1.state)(),
|
|
1803
1681
|
__metadata("design:type", prosemirror_view_1.EditorView)
|
|
1804
1682
|
], IcureTextField.prototype, "view", void 0);
|
|
1683
|
+
__decorate([
|
|
1684
|
+
(0, decorators_js_1.state)(),
|
|
1685
|
+
__metadata("design:type", String)
|
|
1686
|
+
], IcureTextField.prototype, "selectedLanguage", void 0);
|
|
1805
1687
|
// Register the new element with the browser.
|
|
1806
1688
|
//# sourceMappingURL=index.js.map
|