eservices-core 1.3.310 → 1.3.312

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.
@@ -1,17 +1,17 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.justify-content-center{justify-content:center}.user-select-none{-webkit-user-select:none;user-select:none}.flex{display:flex}.flex_column,.flex-column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow,.flex-grow{flex-grow:1}.flex-align_center{align-items:center}.grid{display:grid}.grid-center{display:grid;place-content:center}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_bold,.text-bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_center{text-align:center}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.text_overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color-light{color:var(--color-light)}.color-primary{color:var(--color-primary)}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.transition-fast{transition:.1s}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_15{gap:15px}.gap_20{gap:20px}.gap-25{gap:25px}.margin-0,.margin_0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number,.widget-table-cell_money{text-align:end}.widget-list-cell-history{cursor:pointer}.widget-list-cell-history>span{color:var(--color-primary);font-size:16px;padding:0 10px}.widget-table-cell_multi-select>.container-input-wrap{align-items:center}.overflow_auto{overflow:auto}.overflow_hidden{overflow:hidden}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15{padding:15px}.padding_20{padding:20px}.padding-5{padding:5px}.padding-0{padding:0}.padding-15{padding:15px}.padding-20{padding:20px}.radius_5{border-radius:5px}.radius_10{border-radius:10px}.radius_15{border-radius:15px}.radius_20{border-radius:20px}.es-card-list{box-shadow:#959da533 0 8px 24px;border:1px solid #f1f1f1;border-radius:4px;background-color:#fff}.color-gray{color:#ccc}.es-container-full{height:100%;width:100%}.es-cursor-pointer{cursor:pointer}.es-cursor-default{cursor:default}.flex,.es-flex{display:flex}.es-flex-column{display:flex;flex-direction:column}.es-flex-center{display:flex;align-items:center;justify-content:center}.es-flex-grow{flex-grow:1}.es-flex-justify-center{justify-content:center}.es-flex-justify-between{justify-content:space-between}.es-flex-align-center{align-items:center}.es-gap-1{gap:1px}.es-gap-2{gap:2px}.es-gap-3{gap:3px}.es-gap-4{gap:4px}.es-gap-5{gap:5px}.es-gap-6{gap:6px}.es-gap-7{gap:7px}.es-gap-8{gap:8px}.es-gap-9{gap:9px}.es-gap-10{gap:10px}.es-gap-15{gap:15px}.es-gap-20{gap:20px}.gap-10{gap:10px}.gap-15{gap:15px}.gap-5{gap:5px}.gap-20{gap:20px}.es-list-container,.es-overflow-auto{overflow:auto}.es-overflow-hidden{overflow:hidden}.es-padding-2{padding:2px}.es-padding-3{padding:3px}.es-padding-4{padding:4px}.es-padding-5{padding:5px}.es-padding-10{padding:10px}.es-padding-0{padding:0}.es-padding-7{padding:7px}.es-padding-15{padding:15px}.es-padding-20{padding:20px}.es-padding-v-5{padding:5px 0}.es-padding-h-5{padding:0 5px}.es-padding-is-5{padding-inline-start:5px}.es-padding-ie-5{padding-inline-end:5px}.padding-bottom-10{padding-bottom:10px}.padding-10{padding:10px}.es-position-relative{position:relative}.es-position-absolute{position:absolute}.es-position-absolute-full{position:absolute;left:0;top:0;width:100%;height:100%}.es-position-absolute-center{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto}.es-radius-2{border-radius:2px}.es-radius-3{border-radius:3px}.es-radius-4{border-radius:4px}.es-radius-5{border-radius:5px}.es-radius-6{border-radius:6px}.es-radius-7{border-radius:7px}.es-radius-8{border-radius:8px}.es-radius-9{border-radius:9px}.es-radius-10{border-radius:10px}.es-radius-15{border-radius:15px}.es-radius-20{border-radius:20px}.es-text-xs{font-weight:400;font-size:10px;line-height:13px}.es-text-sm{font-weight:400;font-size:12px;line-height:16px}.es-text-md{font-size:14px;line-height:20px}.es-text-lg{font-size:16px;line-height:24px}.es-text-xl{font-size:18px;line-height:25px}.es-text-center{text-align:center}.es-text-bold{font-weight:700}.es-text-no-wrap{text-wrap:nowrap}.es-weight-600{font-weight:600}.es-zindex-0{z-index:0}.es-zindex-1{z-index:1}.es-zindex-2{z-index:2}.es-zindex-3{z-index:3}.es-zindex-4{z-index:4}.es-zindex-5{z-index:5}.es-grid{display:grid}.es-grid-center{display:grid;place-content:center}.es-margin-0{margin:0}.widget-table__head-cell[data-v-aa18d6fa]{padding:18px;text-align:start}.widget-table__head-label[data-v-aa18d6fa]{font-weight:600;font-size:14px;line-height:19px}.widget-filter-text[data-v-f6da3bed]{padding:20px 10px}.widget-filter-enum[data-v-4c82f6e7]{padding:3px 0;max-height:400px;max-width:340px;min-width:180px;overflow:hidden auto}.widget-filter-enum-item[data-v-4c82f6e7]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-4c82f6e7]:hover{background-color:#f1f1f1}.widget-filter-number[data-v-f9cd559e]{padding:4px 6px}[dir=rtl] .icon[data-v-8a72b45f]{transform:scaleX(-1)}.widget-spinner[data-v-0ef9ae88],.widget-spinner[data-v-0ef9ae88]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ef9ae88]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;transform:translateZ(0);animation:spinnerAnimation-0ef9ae88 1.1s infinite linear}@keyframes spinnerAnimation-0ef9ae88{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-450dc564]{position:relative}.widget-button-spinner[data-v-450dc564]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-d43a76ce]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-d43a76ce]{grid-template-columns:1fr var(--button-size);background-color:var(--primary);grid-template-rows:var(--button-size);transition:var(--fast)}.widget-multi-button_active[data-v-d43a76ce]{grid-template-rows:calc(var(--button-size) * var(--04895bf1))}.widget-multi-button-body[data-v-d43a76ce]{min-width:80px}.widget-multi-button-body-label[data-v-d43a76ce]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-d43a76ce]:hover{background-color:#223296}.widget-multi-button-side[data-v-d43a76ce]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-d43a76ce]{transform:rotate(180deg)}.widget-multi-button-side[data-v-d43a76ce]:hover{background-color:#223296}tr[data-v-344a8cc1]{border:1px solid #F3F4FC;height:30px}th[data-v-344a8cc1],td[data-v-344a8cc1]{position:relative;padding:0 11px}th[data-v-344a8cc1]{text-align:left}p[data-v-344a8cc1]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.widget-list-head-cell[data-v-bf495d6a]{padding:0 0 0 10px;display:flex}.widget-list-head-cell[data-v-bf495d6a]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-bf495d6a]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-bf495d6a]{position:absolute;inset-inline-end:22px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-bf495d6a]{transform:rotate(180deg)}.head-cell-resize[data-v-bf495d6a]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-bf495d6a]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-bf495d6a]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-ccffc6bd]{position:sticky;top:-1px;z-index:1}.test-block[data-v-ccffc6bd]{position:absolute;z-index:2;display:none;height:calc(100% + 1px);place-content:center;inset-block-start:-1px;padding-inline:10px;background-color:#e7f2ff;-webkit-user-select:none;user-select:none;white-space:nowrap}.widget-list-head th[data-v-ccffc6bd]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.widget-head-cell[data-v-d131e64e]{display:flex;gap:4px}.widget-head-cell-order[data-v-d131e64e]{display:flex;flex-direction:column;justify-content:center;gap:2px}.widget-head-cell-label[data-v-d131e64e]{cursor:pointer}.widget-fast-table-head-cell-td[data-v-d131e64e]{padding:7px}.widget-head-cell-order-icon[data-v-d131e64e]{transition:.1s;height:18px;width:18px}.widget-head-cell-order-icon_desc[data-v-d131e64e]{transform:rotate(180deg)}.widget-filter-item-container[data-v-43ed0322]{position:relative}.widget-filter-item-arrow[data-v-43ed0322]{transform:rotate(180deg)}.widget-filter-item-label_active[data-v-43ed0322]{font-weight:700}.widget-filter-item[data-v-43ed0322]{display:grid;grid-template-columns:max-content max-content;align-items:center;cursor:pointer;padding:0 10px;color:#fff}.widget-filter-item[data-v-43ed0322]:not(.widget-filter-item_active){opacity:.6}.widget-filter-item-label[data-v-43ed0322]{-webkit-user-select:none;user-select:none;padding:4px 2px 4px 8px}.widget-filter-item-popup[data-v-43ed0322]{position:absolute;z-index:2;inset-block-start:100%;inset-inline-end:0;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-filter-item-arrow[data-v-43ed0322]{transition:.2s}.widget-table-search[data-v-dbdf1e05]{gap:5px}.widget-table-search-input[data-v-dbdf1e05]{outline:none;background-color:transparent;border:0;padding:4px 5px}.widget-table-panel-filter[data-v-3a1abbf9]{justify-content:space-between;background-color:var(--color-primary)}.version-item[data-v-efd61247]{display:grid;gap:2px 10px;grid-template-rows:max-content;grid-template-columns:min-content minmax(100px,200px) 1fr 1fr}.version-item-date[data-v-efd61247]{white-space:nowrap}.line-clamp_5[data-v-efd61247]{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-header[data-v-321c2f32]{align-items:center;position:sticky;top:0;background-color:#fff;grid-template-rows:max-content;grid-template-columns:20px 210px 1fr 1fr}.container-history[data-v-321c2f32]{display:flex;flex-direction:column-reverse;overflow:auto}.wrap-modal-version-history[data-v-321c2f32]{min-height:380px}@media screen and (min-width: 756px){.wrap-modal-version-history[data-v-321c2f32]{min-width:800px;max-width:1000px}}.wrap-history[data-v-321c2f32]{height:100%;overflow:auto}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.justify-content-center{justify-content:center}.user-select-none{-webkit-user-select:none;user-select:none}.flex{display:flex}.flex_column,.flex-column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow,.flex-grow{flex-grow:1}.flex-align_center{align-items:center}.grid{display:grid}.grid-center{display:grid;place-content:center}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_bold,.text-bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_center{text-align:center}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.text_overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color-light{color:var(--color-light)}.color-primary{color:var(--color-primary)}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.transition-fast{transition:.1s}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_15{gap:15px}.gap_20{gap:20px}.gap-25{gap:25px}.margin-0,.margin_0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number,.widget-table-cell_money{text-align:end}.widget-list-cell-history{cursor:pointer}.widget-list-cell-history>span{color:var(--color-primary);font-size:16px;padding:0 10px}.widget-table-cell_multi-select>.container-input-wrap{align-items:center}.overflow_auto{overflow:auto}.overflow_hidden{overflow:hidden}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15{padding:15px}.padding_20{padding:20px}.padding-5{padding:5px}.padding-0{padding:0}.padding-15{padding:15px}.padding-20{padding:20px}.radius_5{border-radius:5px}.radius_10{border-radius:10px}.radius_15{border-radius:15px}.radius_20{border-radius:20px}.es-card-list{box-shadow:#959da533 0 8px 24px;border:1px solid #f1f1f1;border-radius:4px;background-color:#fff}.color-gray{color:#ccc}.es-container-full{height:100%;width:100%}.es-cursor-pointer{cursor:pointer}.es-cursor-default{cursor:default}.flex,.es-flex{display:flex}.es-flex-column{display:flex;flex-direction:column}.es-flex-center{display:flex;align-items:center;justify-content:center}.es-flex-grow{flex-grow:1}.es-flex-justify-center{justify-content:center}.es-flex-justify-between{justify-content:space-between}.es-flex-align-center{align-items:center}.es-gap-1{gap:1px}.es-gap-2{gap:2px}.es-gap-3{gap:3px}.es-gap-4{gap:4px}.es-gap-5{gap:5px}.es-gap-6{gap:6px}.es-gap-7{gap:7px}.es-gap-8{gap:8px}.es-gap-9{gap:9px}.es-gap-10{gap:10px}.es-gap-15{gap:15px}.es-gap-20{gap:20px}.gap-10{gap:10px}.gap-15{gap:15px}.gap-5{gap:5px}.gap-20{gap:20px}.es-list-container,.es-overflow-auto{overflow:auto}.es-overflow-hidden{overflow:hidden}.es-padding-2{padding:2px}.es-padding-3{padding:3px}.es-padding-4{padding:4px}.es-padding-5{padding:5px}.es-padding-10{padding:10px}.es-padding-0{padding:0}.es-padding-7{padding:7px}.es-padding-15{padding:15px}.es-padding-20{padding:20px}.es-padding-v-5{padding:5px 0}.es-padding-h-5{padding:0 5px}.es-padding-is-5{padding-inline-start:5px}.es-padding-ie-5{padding-inline-end:5px}.padding-bottom-10{padding-bottom:10px}.padding-10{padding:10px}.es-position-relative{position:relative}.es-position-absolute{position:absolute}.es-position-absolute-full{position:absolute;left:0;top:0;width:100%;height:100%}.es-position-absolute-center{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto}.es-radius-2{border-radius:2px}.es-radius-3{border-radius:3px}.es-radius-4{border-radius:4px}.es-radius-5{border-radius:5px}.es-radius-6{border-radius:6px}.es-radius-7{border-radius:7px}.es-radius-8{border-radius:8px}.es-radius-9{border-radius:9px}.es-radius-10{border-radius:10px}.es-radius-15{border-radius:15px}.es-radius-20{border-radius:20px}.es-text-xs{font-weight:400;font-size:10px;line-height:13px}.es-text-sm{font-weight:400;font-size:12px;line-height:16px}.es-text-md{font-size:14px;line-height:20px}.es-text-lg{font-size:16px;line-height:24px}.es-text-xl{font-size:18px;line-height:25px}.es-text-center{text-align:center}.es-text-bold{font-weight:700}.es-text-no-wrap{text-wrap:nowrap}.es-weight-600{font-weight:600}.es-zindex-0{z-index:0}.es-zindex-1{z-index:1}.es-zindex-2{z-index:2}.es-zindex-3{z-index:3}.es-zindex-4{z-index:4}.es-zindex-5{z-index:5}.es-grid{display:grid}.es-grid-center{display:grid;place-content:center}.es-margin-0{margin:0}.widget-table__head-cell[data-v-aa18d6fa]{padding:18px;text-align:start}.widget-table__head-label[data-v-aa18d6fa]{font-weight:600;font-size:14px;line-height:19px}.widget-filter-text[data-v-f6da3bed]{padding:20px 10px}.widget-filter-enum[data-v-4c82f6e7]{padding:3px 0;max-height:400px;max-width:340px;min-width:180px;overflow:hidden auto}.widget-filter-enum-item[data-v-4c82f6e7]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-4c82f6e7]:hover{background-color:#f1f1f1}.widget-filter-number[data-v-f9cd559e]{padding:4px 6px}[dir=rtl] .icon[data-v-8a72b45f]{transform:scaleX(-1)}.widget-spinner[data-v-0ef9ae88],.widget-spinner[data-v-0ef9ae88]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ef9ae88]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;transform:translateZ(0);animation:spinnerAnimation-0ef9ae88 1.1s infinite linear}@keyframes spinnerAnimation-0ef9ae88{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-450dc564]{position:relative}.widget-button-spinner[data-v-450dc564]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-d43a76ce]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-d43a76ce]{grid-template-columns:1fr var(--button-size);background-color:var(--primary);grid-template-rows:var(--button-size);transition:var(--fast)}.widget-multi-button_active[data-v-d43a76ce]{grid-template-rows:calc(var(--button-size) * var(--04895bf1))}.widget-multi-button-body[data-v-d43a76ce]{min-width:80px}.widget-multi-button-body-label[data-v-d43a76ce]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-d43a76ce]:hover{background-color:#223296}.widget-multi-button-side[data-v-d43a76ce]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-d43a76ce]{transform:rotate(180deg)}.widget-multi-button-side[data-v-d43a76ce]:hover{background-color:#223296}tr[data-v-344a8cc1]{border:1px solid #F3F4FC;height:30px}th[data-v-344a8cc1],td[data-v-344a8cc1]{position:relative;padding:0 11px}th[data-v-344a8cc1]{text-align:left}p[data-v-344a8cc1]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.widget-list-head-cell[data-v-bf495d6a]{padding:0 0 0 10px;display:flex}.widget-list-head-cell[data-v-bf495d6a]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-bf495d6a]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-bf495d6a]{position:absolute;inset-inline-end:22px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-bf495d6a]{transform:rotate(180deg)}.head-cell-resize[data-v-bf495d6a]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-bf495d6a]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-bf495d6a]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-ccffc6bd]{position:sticky;top:-1px;z-index:1}.test-block[data-v-ccffc6bd]{position:absolute;z-index:2;display:none;height:calc(100% + 1px);place-content:center;inset-block-start:-1px;padding-inline:10px;background-color:#e7f2ff;-webkit-user-select:none;user-select:none;white-space:nowrap}.widget-list-head th[data-v-ccffc6bd]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.widget-head-cell[data-v-d131e64e]{display:flex;gap:4px}.widget-head-cell-order[data-v-d131e64e]{display:flex;flex-direction:column;justify-content:center;gap:2px}.widget-head-cell-label[data-v-d131e64e]{cursor:pointer}.widget-fast-table-head-cell-td[data-v-d131e64e]{padding:7px}.widget-head-cell-order-icon[data-v-d131e64e]{transition:.1s;height:18px;width:18px}.widget-head-cell-order-icon_desc[data-v-d131e64e]{transform:rotate(180deg)}.widget-filter-item-container[data-v-43ed0322]{position:relative}.widget-filter-item-arrow[data-v-43ed0322]{transform:rotate(180deg)}.widget-filter-item-label_active[data-v-43ed0322]{font-weight:700}.widget-filter-item[data-v-43ed0322]{display:grid;grid-template-columns:max-content max-content;align-items:center;cursor:pointer;padding:0 10px;color:#fff}.widget-filter-item[data-v-43ed0322]:not(.widget-filter-item_active){opacity:.6}.widget-filter-item-label[data-v-43ed0322]{-webkit-user-select:none;user-select:none;padding:4px 2px 4px 8px}.widget-filter-item-popup[data-v-43ed0322]{position:absolute;z-index:2;inset-block-start:100%;inset-inline-end:0;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-filter-item-arrow[data-v-43ed0322]{transition:.2s}.widget-table-search[data-v-99052614]{gap:5px;padding:0 10px 0 12px}.widget-table-search-icon[data-v-99052614]{align-self:center}.widget-table-search-input[data-v-99052614]{outline:none;background-color:transparent;border:0;padding:6px 5px;font-size:16px}.widget-table-panel-filter[data-v-8f09ec8d]{justify-content:space-between;background-color:var(--color-primary)}.version-item[data-v-efd61247]{display:grid;gap:2px 10px;grid-template-rows:max-content;grid-template-columns:min-content minmax(100px,200px) 1fr 1fr}.version-item-date[data-v-efd61247]{white-space:nowrap}.line-clamp_5[data-v-efd61247]{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-header[data-v-321c2f32]{align-items:center;position:sticky;top:0;background-color:#fff;grid-template-rows:max-content;grid-template-columns:20px 210px 1fr 1fr}.container-history[data-v-321c2f32]{display:flex;flex-direction:column-reverse;overflow:auto}.wrap-modal-version-history[data-v-321c2f32]{min-height:380px}@media screen and (min-width: 756px){.wrap-modal-version-history[data-v-321c2f32]{min-width:800px;max-width:1000px}}.wrap-history[data-v-321c2f32]{height:100%;overflow:auto}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  var Nt = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
5
  var xt = (e, t, n) => t.has(e) || Nt("Cannot " + n);
6
6
  var ze = (e, t, n) => (xt(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Ke = (e, t, n) => t.has(e) ? Nt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Le = (e, t, n, r) => (xt(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
7
- import { defineComponent as x, openBlock as b, createElementBlock as S, createBlock as F, unref as C, toDisplayString as X, computed as k, Fragment as ie, renderList as de, renderSlot as it, mergeProps as Ae, onMounted as _e, watch as ue, resolveComponent as fe, createElementVNode as A, createVNode as B, withCtx as Z, createTextVNode as Fe, ref as P, reactive as Q, h as se, resolveDynamicComponent as at, useSlots as Nn, createCommentVNode as ee, normalizeStyle as Qt, useCssVars as xn, normalizeClass as we, withModifiers as Fn, pushScopeId as wt, popScopeId as bt, getCurrentInstance as Dn, provide as Ue, inject as Ie, onUnmounted as _t, withDirectives as Pn, vShow as Vn, readonly as Mn, nextTick as jn } from "vue";
7
+ import { defineComponent as x, openBlock as b, createElementBlock as S, createBlock as F, unref as C, toDisplayString as X, computed as k, Fragment as ie, renderList as pe, renderSlot as it, mergeProps as Ae, onMounted as _e, watch as ue, resolveComponent as fe, createElementVNode as A, createVNode as B, withCtx as Z, createTextVNode as Fe, ref as P, reactive as Q, h as se, resolveDynamicComponent as at, useSlots as Nn, createCommentVNode as ee, normalizeStyle as Qt, useCssVars as xn, normalizeClass as be, withModifiers as Fn, pushScopeId as wt, popScopeId as bt, getCurrentInstance as Dn, provide as Ue, inject as Ie, onUnmounted as _t, withDirectives as Pn, vShow as Vn, readonly as Mn, nextTick as jn } from "vue";
8
8
  import { FormField as ae, utils as oe, Form as Se } from "jenesius-vue-form";
9
9
  import { RouterLink as Un, useRouter as qe, useRoute as Wn } from "vue-router";
10
10
  import Bn from "date-and-time";
11
11
  import st from "debug";
12
12
  import { promptModal as Et, openModal as et, onBeforeModalClose as Hn, popModal as Ft, getComponentFromStore as Zt, pushModal as qn } from "jenesius-vue-modal";
13
13
  /*!
14
- * eservices-core v1.3.310
14
+ * eservices-core v1.3.312
15
15
  * (c) 2025 ESERVICES
16
16
  */
17
17
  const D = class D extends Error {
@@ -157,7 +157,7 @@ class Kn {
157
157
  }
158
158
  }
159
159
  new Kn();
160
- class ro {
160
+ class io {
161
161
  static invite(t, n, r) {
162
162
  return $e("/close-api/accounts/invitePerson", {
163
163
  method: "POST",
@@ -198,7 +198,7 @@ class ro {
198
198
  });
199
199
  }
200
200
  }
201
- class io {
201
+ class ao {
202
202
  static getRequiredDocuments(t, n, r) {
203
203
  const i = new URLSearchParams({
204
204
  entity: t,
@@ -311,7 +311,7 @@ const Yn = { class: "widget-table__head-cell" }, Xn = {
311
311
  },
312
312
  setup(e) {
313
313
  return k(() => en), (t, n) => (b(), S("tr", Jn, [
314
- (b(!0), S(ie, null, de(t.config, (r) => it(t.$slots, "default", Ae({ ref_for: !0 }, r), void 0, !0)), 256))
314
+ (b(!0), S(ie, null, pe(t.config, (r) => it(t.$slots, "default", Ae({ ref_for: !0 }, r), void 0, !0)), 256))
315
315
  ]));
316
316
  }
317
317
  }), Y = (e, t) => {
@@ -362,7 +362,7 @@ function ot(e, t) {
362
362
  break;
363
363
  }
364
364
  case "money": {
365
- r = Zi(r);
365
+ r = ea(r);
366
366
  break;
367
367
  }
368
368
  case "DateTime": {
@@ -460,13 +460,13 @@ const or = { class: "widget-filter-text flex-column gap_10" }, lr = { class: "fl
460
460
  type: "primary"
461
461
  }, {
462
462
  default: Z(() => [
463
- Fe(X(C(be)("Apply")), 1)
463
+ Fe(X(C(de)("Apply")), 1)
464
464
  ]),
465
465
  _: 1
466
466
  }),
467
467
  B(u, { onClick: s }, {
468
468
  default: Z(() => [
469
- Fe(X(C(be)("Clear")), 1)
469
+ Fe(X(C(de)("Clear")), 1)
470
470
  ]),
471
471
  _: 1
472
472
  })
@@ -522,7 +522,7 @@ const or = { class: "widget-filter-text flex-column gap_10" }, lr = { class: "fl
522
522
  onClick: c
523
523
  })
524
524
  ]),
525
- (b(!0), S(ie, null, de(r.value, (m) => (b(), F(C(ae), {
525
+ (b(!0), S(ie, null, pe(r.value, (m) => (b(), F(C(ae), {
526
526
  class: "widget-filter-enum-item",
527
527
  key: m.value,
528
528
  onClick: () => l(m.value),
@@ -558,7 +558,7 @@ const yr = { class: "widget-filter-number flex-column es-gap-10" }, vr = { class
558
558
  setup(e, { emit: t }) {
559
559
  const n = e, r = t, i = new Se({
560
560
  parent: !1
561
- }), a = ta(() => {
561
+ }), a = na(() => {
562
562
  const l = i.getValueByName("min"), s = i.getValueByName("max");
563
563
  return r("update:values", { min: l, max: s });
564
564
  }, 800);
@@ -611,7 +611,7 @@ const yr = { class: "widget-filter-number flex-column es-gap-10" }, vr = { class
611
611
  arrayListRowHandlers: [],
612
612
  arrayFieldParamsHandlers: []
613
613
  };
614
- function ao(e) {
614
+ function so(e) {
615
615
  mr();
616
616
  for (let t in e)
617
617
  R[t] = e[t];
@@ -828,7 +828,7 @@ const Ar = {
828
828
  }, 8, ["config"])
829
829
  ]),
830
830
  A("tbody", null, [
831
- (b(!0), S(ie, null, de(m.array, (p, v) => (b(), S(ie, { key: v }, [
831
+ (b(!0), S(ie, null, pe(m.array, (p, v) => (b(), S(ie, { key: v }, [
832
832
  B(Ar, Ae({
833
833
  config: u.value,
834
834
  values: p,
@@ -885,7 +885,7 @@ const Ar = {
885
885
  it(t.$slots, "default", {}, void 0, !0)
886
886
  ]));
887
887
  }
888
- }), so = /* @__PURE__ */ Y(Lr, [["__scopeId", "data-v-450dc564"]]), $r = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, Nr = { class: "widget-multi-button-body grid" }, xr = ["onClick"], Fr = { class: "widget-multi-button-side-wrap" }, Dr = /* @__PURE__ */ x({
888
+ }), oo = /* @__PURE__ */ Y(Lr, [["__scopeId", "data-v-450dc564"]]), $r = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, Nr = { class: "widget-multi-button-body grid" }, xr = ["onClick"], Fr = { class: "widget-multi-button-side-wrap" }, Dr = /* @__PURE__ */ x({
889
889
  __name: "widget-multi-button",
890
890
  props: {
891
891
  label: {},
@@ -910,7 +910,7 @@ const Ar = {
910
910
  }
911
911
  return (o, l) => (b(), S("div", $r, [
912
912
  A("div", {
913
- class: we(["overflow_hidden radius_20 widget-multi-button grid", n.active ? "widget-multi-button_active" : null])
913
+ class: be(["overflow_hidden radius_20 widget-multi-button grid", n.active ? "widget-multi-button_active" : null])
914
914
  }, [
915
915
  A("div", Nr, [
916
916
  o.label ? (b(), S("p", {
@@ -918,7 +918,7 @@ const Ar = {
918
918
  class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
919
919
  onClick: l[0] || (l[0] = (s) => a())
920
920
  }, X(o.label), 1)) : ee("", !0),
921
- (b(!0), S(ie, null, de(o.array, (s, c) => (b(), S("p", {
921
+ (b(!0), S(ie, null, pe(o.array, (s, c) => (b(), S("p", {
922
922
  class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
923
923
  key: c,
924
924
  onClick: (f) => {
@@ -928,7 +928,7 @@ const Ar = {
928
928
  ]),
929
929
  A("div", Fr, [
930
930
  A("div", {
931
- class: we(["grid-center widget-multi-button-side", n.active ? "widget-multi-button-side_active" : null]),
931
+ class: be(["grid-center widget-multi-button-side", n.active ? "widget-multi-button-side_active" : null]),
932
932
  onClick: l[1] || (l[1] = (s) => a())
933
933
  }, [
934
934
  n.wait ? (b(), F(C(ct), {
@@ -948,7 +948,7 @@ const Ar = {
948
948
  ], 2)
949
949
  ]));
950
950
  }
951
- }), oo = /* @__PURE__ */ Y(Dr, [["__scopeId", "data-v-d43a76ce"]]), Pr = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, Vr = { class: "text_md" }, Ct = /* @__PURE__ */ x({
951
+ }), lo = /* @__PURE__ */ Y(Dr, [["__scopeId", "data-v-d43a76ce"]]), Pr = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, Vr = { class: "text_md" }, Ct = /* @__PURE__ */ x({
952
952
  __name: "widget-loader",
953
953
  props: {
954
954
  label: {}
@@ -962,7 +962,7 @@ const Ar = {
962
962
  A("span", Vr, X(t.label), 1)
963
963
  ]));
964
964
  }
965
- }), Mr = ["alt", "src"], lo = /* @__PURE__ */ x({
965
+ }), Mr = ["alt", "src"], co = /* @__PURE__ */ x({
966
966
  __name: "widget-image",
967
967
  props: {
968
968
  src: {},
@@ -1022,7 +1022,7 @@ const Ar = {
1022
1022
  ], 4),
1023
1023
  i.name && i.order.length && i.order[0] === i.name ? (b(), F(C(We), {
1024
1024
  key: 0,
1025
- class: we(["head-cell-order", { "head-cell-order_down": i.order.length > 1 && i.order[1] === "desc" }])
1025
+ class: be(["head-cell-order", { "head-cell-order_down": i.order.length > 1 && i.order[1] === "desc" }])
1026
1026
  }, {
1027
1027
  default: Z(() => [
1028
1028
  Fe("core-arrow-up")
@@ -1078,17 +1078,17 @@ const Ar = {
1078
1078
  function v(W) {
1079
1079
  return W.screenX + h - V;
1080
1080
  }
1081
- const d = i.value, y = [...d.children].filter((W) => W.localName === "th"), h = ((M = d.offsetParent) == null ? void 0 : M.scrollLeft) || 0, E = y.map((W) => W.clientWidth), I = m(p.target), V = d.getBoundingClientRect().left, _ = v(p), T = c(E, _), $ = E.slice(0, T).reduce((W, z) => W + z, 0), U = _ - $, q = d.offsetWidth, pe = y[T].clientWidth;
1081
+ const d = i.value, y = [...d.children].filter((W) => W.localName === "th"), h = ((M = d.offsetParent) == null ? void 0 : M.scrollLeft) || 0, E = y.map((W) => W.clientWidth), I = m(p.target), V = d.getBoundingClientRect().left, _ = v(p), T = c(E, _), $ = E.slice(0, T).reduce((W, z) => W + z, 0), U = _ - $, q = d.offsetWidth, ge = y[T].clientWidth;
1082
1082
  if (n.config[T].type === "multi-select") return;
1083
- console.group("START"), console.log(), console.log("Start screenX", p.screenX), console.log("Widths", E), console.log("max width", q), console.log("Start Position", _), console.log("Position From", T), console.log("Start Position", T), console.log("Global offset (Отступ самой таблицы от края экрана)", V), console.log("Del", U), console.groupEnd(), a.value.innerText = y[T].textContent || "", a.value.style.display = "grid", a.value.style.width = pe + "px", a.value.style.cursor = "grabbing", u($), w(pe), document.addEventListener("pointermove", L, { passive: !0 }), document.addEventListener("pointerup", Ge);
1083
+ console.group("START"), console.log(), console.log("Start screenX", p.screenX), console.log("Widths", E), console.log("max width", q), console.log("Start Position", _), console.log("Position From", T), console.log("Start Position", T), console.log("Global offset (Отступ самой таблицы от края экрана)", V), console.log("Del", U), console.groupEnd(), a.value.innerText = y[T].textContent || "", a.value.style.display = "grid", a.value.style.width = ge + "px", a.value.style.cursor = "grabbing", u($), w(ge), document.addEventListener("pointermove", L, { passive: !0 }), document.addEventListener("pointerup", Ge);
1084
1084
  function Ge(W) {
1085
1085
  if (console.group("END"), document.removeEventListener("pointermove", L), document.removeEventListener("pointerup", Ge), I && (n.config[T].width = a.value.style.width, n.config[T].minWidth = a.value.style.width, n.config[T].maxWidth = a.value.style.width, o(n.config)), !I) {
1086
1086
  const z = W.screenX + h - V;
1087
1087
  console.log("ENP Position", z);
1088
1088
  const te = f(E, z);
1089
1089
  if (console.log(T, "->", te), te !== T) {
1090
- const G = n.config[T], ge = n.config;
1091
- ge.splice(T, 1), ge.splice(te, 0, G), o(ge);
1090
+ const G = n.config[T], me = n.config;
1091
+ me.splice(T, 1), me.splice(te, 0, G), o(me);
1092
1092
  } else {
1093
1093
  const G = n.config[T].name;
1094
1094
  l(G);
@@ -1098,12 +1098,12 @@ const Ar = {
1098
1098
  }
1099
1099
  function L(W) {
1100
1100
  if (I) {
1101
- const G = v(W) - _ + pe;
1101
+ const G = v(W) - _ + ge;
1102
1102
  w(G);
1103
1103
  return;
1104
1104
  }
1105
1105
  let z = W.screenX + h - V - U;
1106
- z < 0 && (z = 0), z + pe > q && (z = q - pe), u(z);
1106
+ z < 0 && (z = 0), z + ge > q && (z = q - ge), u(z);
1107
1107
  }
1108
1108
  });
1109
1109
  });
@@ -1128,7 +1128,7 @@ const Ar = {
1128
1128
  ref_key: "refHead",
1129
1129
  ref: i
1130
1130
  }, [
1131
- (b(!0), S(ie, null, de(c.config, (u, w) => (b(), F(Gr, Ae({
1131
+ (b(!0), S(ie, null, pe(c.config, (u, w) => (b(), F(Gr, Ae({
1132
1132
  key: u,
1133
1133
  ref_for: !0
1134
1134
  }, u, {
@@ -1143,7 +1143,7 @@ const Ar = {
1143
1143
  }, "test", 512)
1144
1144
  ], 512));
1145
1145
  }
1146
- }), Kr = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-ccffc6bd"]]), Yr = { class: "widget-list" }, Xr = { class: "widget-list-body position_relative" }, Jr = 50, co = /* @__PURE__ */ x({
1146
+ }), Kr = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-ccffc6bd"]]), Yr = { class: "widget-list" }, Xr = { class: "widget-list-body position_relative" }, Jr = 50, uo = /* @__PURE__ */ x({
1147
1147
  __name: "widget-list",
1148
1148
  props: {
1149
1149
  array: {},
@@ -1191,7 +1191,7 @@ const Ar = {
1191
1191
  }, null, 8, ["config", "order"])
1192
1192
  ]),
1193
1193
  A("tbody", Xr, [
1194
- (b(!0), S(ie, null, de(s.array, (f, u) => {
1194
+ (b(!0), S(ie, null, pe(s.array, (f, u) => {
1195
1195
  var w;
1196
1196
  return b(), F(Ur, {
1197
1197
  key: u,
@@ -1258,11 +1258,11 @@ function Qr(e) {
1258
1258
  var c, f;
1259
1259
  const s = (f = (c = r.value) == null ? void 0 : c.fieldsByName[a]) == null ? void 0 : f.referencedEntity;
1260
1260
  if (!s) throw new Error("---");
1261
- return ve.initEntity(s).then(() => s);
1261
+ return we.initEntity(s).then(() => s);
1262
1262
  }).then((s) => {
1263
- r.value = ve.get(s), t.entity = s, t.name = l[o + 1];
1264
- }), Promise.resolve().then(() => ve.initEntity(t.entity)).then(() => {
1265
- r.value = ve.get(t.entity);
1263
+ r.value = we.get(s), t.entity = s, t.name = l[o + 1];
1264
+ }), Promise.resolve().then(() => we.initEntity(t.entity)).then(() => {
1265
+ r.value = we.get(t.entity);
1266
1266
  })).finally(() => n.value = !0), k(() => {
1267
1267
  if (!n.value || !r.value) return;
1268
1268
  const i = r.value.fieldsByName[t.name];
@@ -1270,7 +1270,7 @@ function Qr(e) {
1270
1270
  return i;
1271
1271
  });
1272
1272
  }
1273
- const uo = /* @__PURE__ */ x({
1273
+ const fo = /* @__PURE__ */ x({
1274
1274
  __name: "widget-field",
1275
1275
  props: {
1276
1276
  name: {},
@@ -1368,7 +1368,7 @@ const ei = ["fill"], ti = /* @__PURE__ */ A("path", { d: "M440-647 244-451q-12 1
1368
1368
  var s;
1369
1369
  return b(), S("td", ii, [
1370
1370
  A("div", {
1371
- class: we(["widget-head-cell", [o.type === "multi-select" ? "justify-content-center" : ""]]),
1371
+ class: be(["widget-head-cell", [o.type === "multi-select" ? "justify-content-center" : ""]]),
1372
1372
  onClick: l[0] || (l[0] = (c) => o.$emit("order", o.name))
1373
1373
  }, [
1374
1374
  o.type === "multi-select" ? (b(), F(C(ae), {
@@ -1380,7 +1380,7 @@ const ei = ["fill"], ti = /* @__PURE__ */ A("path", { d: "M440-647 244-451q-12 1
1380
1380
  r.value === ((s = o.order) == null ? void 0 : s[0]) ? (b(), S("div", si, [
1381
1381
  B(ri, {
1382
1382
  color: "var(--color-primary)",
1383
- class: we(["widget-head-cell-order-icon", `widget-head-cell-order-icon_${o.order[1] === "desc" ? "desc" : "asc"}`])
1383
+ class: be(["widget-head-cell-order-icon", `widget-head-cell-order-icon_${o.order[1] === "desc" ? "desc" : "asc"}`])
1384
1384
  }, null, 8, ["class"])
1385
1385
  ])) : ee("", !0)
1386
1386
  ], 2)
@@ -1433,16 +1433,16 @@ const ei = ["fill"], ti = /* @__PURE__ */ A("path", { d: "M440-647 244-451q-12 1
1433
1433
  ref: a
1434
1434
  }, [
1435
1435
  A("div", {
1436
- class: we(["widget-filter-item", { "widget-filter-item_active": c.value }]),
1436
+ class: be(["widget-filter-item", { "widget-filter-item_active": c.value }]),
1437
1437
  onClick: g[0] || (g[0] = () => w())
1438
1438
  }, [
1439
1439
  A("span", {
1440
- class: we(["widget-filter-item-label", { "widget-filter-item-label_active": c.value }])
1440
+ class: be(["widget-filter-item-label", { "widget-filter-item-label_active": c.value }])
1441
1441
  }, X(m.filterItem.label || "--"), 3),
1442
1442
  s.value ? (b(), F(ct, { key: 0 })) : (b(), F(di, {
1443
1443
  key: 1,
1444
1444
  color: "white",
1445
- class: we({ "widget-filter-item-arrow": f.value })
1445
+ class: be({ "widget-filter-item-arrow": f.value })
1446
1446
  }, null, 8, ["class"]))
1447
1447
  ], 2),
1448
1448
  Pn(A("div", pi, [
@@ -1489,11 +1489,11 @@ const ei = ["fill"], ti = /* @__PURE__ */ A("path", { d: "M440-647 244-451q-12 1
1489
1489
  alt: "Searching for data in a table",
1490
1490
  value: i.modelValue,
1491
1491
  onInput: r,
1492
- placeholder: "Filter by keyword"
1492
+ placeholder: "Filter by random text"
1493
1493
  }, null, 40, yi)
1494
1494
  ]));
1495
1495
  }
1496
- }), wi = /* @__PURE__ */ Y(vi, [["__scopeId", "data-v-dbdf1e05"]]), bi = { class: "widget-table-panel-filter flex" }, _i = /* @__PURE__ */ x({
1496
+ }), wi = /* @__PURE__ */ Y(vi, [["__scopeId", "data-v-99052614"]]), bi = { class: "widget-table-panel-filter flex" }, _i = { class: "flex" }, Ei = /* @__PURE__ */ x({
1497
1497
  __name: "widget-table-panel-filters",
1498
1498
  props: {
1499
1499
  filtersConfig: {},
@@ -1521,8 +1521,8 @@ const ei = ["fill"], ti = /* @__PURE__ */ A("path", { d: "M440-647 244-451q-12 1
1521
1521
  "model-value": o.search,
1522
1522
  "onUpdate:modelValue": l[0] || (l[0] = (s) => r("update:search", s))
1523
1523
  }, null, 8, ["model-value"]),
1524
- A("div", null, [
1525
- (b(!0), S(ie, null, de(o.filtersConfig, (s, c) => {
1524
+ A("div", _i, [
1525
+ (b(!0), S(ie, null, pe(o.filtersConfig, (s, c) => {
1526
1526
  var f;
1527
1527
  return b(), F(mi, {
1528
1528
  key: c,
@@ -1537,7 +1537,7 @@ const ei = ["fill"], ti = /* @__PURE__ */ A("path", { d: "M440-647 244-451q-12 1
1537
1537
  ])
1538
1538
  ]));
1539
1539
  }
1540
- }), Ei = /* @__PURE__ */ Y(_i, [["__scopeId", "data-v-3a1abbf9"]]);
1540
+ }), Ti = /* @__PURE__ */ Y(Ei, [["__scopeId", "data-v-8f09ec8d"]]);
1541
1541
  function an(e, t) {
1542
1542
  const n = document.createElement("a");
1543
1543
  n.href = e, t != null && t.blank && (n.target = "_blank"), n.dispatchEvent(
@@ -1550,7 +1550,7 @@ function an(e, t) {
1550
1550
  n.remove();
1551
1551
  }, 100);
1552
1552
  }
1553
- const Ti = { class: "widget-fast-table-tools flex gap-15" }, Ci = /* @__PURE__ */ x({
1553
+ const Ci = { class: "widget-fast-table-tools flex gap-15" }, Ai = /* @__PURE__ */ x({
1554
1554
  __name: "widget-fast-table-tools",
1555
1555
  props: {
1556
1556
  tools: {},
@@ -1618,7 +1618,7 @@ const Ti = { class: "widget-fast-table-tools flex gap-15" }, Ci = /* @__PURE__ *
1618
1618
  primaryKey: I[h],
1619
1619
  version: p.versioned ? I.Version : void 0
1620
1620
  }));
1621
- await fa(v, {
1621
+ await da(v, {
1622
1622
  values: y,
1623
1623
  elements: E
1624
1624
  }).then((I) => {
@@ -1639,7 +1639,7 @@ const Ti = { class: "widget-fast-table-tools flex gap-15" }, Ci = /* @__PURE__ *
1639
1639
  return {
1640
1640
  ...g,
1641
1641
  callback: () => {
1642
- const p = pa(g.filename);
1642
+ const p = ga(g.filename);
1643
1643
  an(p, {
1644
1644
  blank: !0
1645
1645
  });
@@ -1685,9 +1685,9 @@ const Ti = { class: "widget-fast-table-tools flex gap-15" }, Ci = /* @__PURE__ *
1685
1685
  }
1686
1686
  return (g, p) => {
1687
1687
  const v = fe("widget-button");
1688
- return b(), S("div", Ti, [
1689
- (b(!0), S(ie, null, de(w.value, (d) => (b(), F(v, {
1690
- label: d.label,
1688
+ return b(), S("div", Ci, [
1689
+ (b(!0), S(ie, null, pe(w.value, (d) => (b(), F(v, {
1690
+ label: C(de)(d.label),
1691
1691
  title: d.name,
1692
1692
  icon: d.icon,
1693
1693
  type: d.buttonStyle,
@@ -1699,7 +1699,7 @@ const Ti = { class: "widget-fast-table-tools flex gap-15" }, Ci = /* @__PURE__ *
1699
1699
  };
1700
1700
  }
1701
1701
  });
1702
- function Ai(e, t) {
1702
+ function Si(e, t) {
1703
1703
  const n = hr(), r = qe(), i = Q({
1704
1704
  entity: null,
1705
1705
  mark: null,
@@ -1741,7 +1741,7 @@ function Ai(e, t) {
1741
1741
  }) : []
1742
1742
  ), w = Oe(async function() {
1743
1743
  if (!i.entity) return;
1744
- const E = await sa(i.entity, i.mark);
1744
+ const E = await oa(i.entity, i.mark);
1745
1745
  i.settings = Object.freeze(E), t && t();
1746
1746
  }), m = k(() => {
1747
1747
  var I;
@@ -1805,7 +1805,7 @@ function Ai(e, t) {
1805
1805
  };
1806
1806
  }
1807
1807
  var Ne;
1808
- class Si {
1808
+ class ki {
1809
1809
  constructor(t) {
1810
1810
  Ke(this, Ne);
1811
1811
  this.unloaded = !1, this.offset = 0, this.array = Q([]), Le(this, Ne, null), this.process = Oe(this.load.bind(this)), this.entity = t, this.limit = 50;
@@ -1850,10 +1850,10 @@ class Si {
1850
1850
  }
1851
1851
  }
1852
1852
  Ne = new WeakMap();
1853
- const ki = ["count"], Ii = {
1853
+ const Ii = ["count"], Oi = {
1854
1854
  key: 0,
1855
1855
  class: "title-md color-primary margin-0 widget-fast-table-label"
1856
- }, Oi = { class: "" }, fo = /* @__PURE__ */ x({
1856
+ }, Ri = { class: "" }, po = /* @__PURE__ */ x({
1857
1857
  __name: "widget-fast-table",
1858
1858
  props: {
1859
1859
  entity: {},
@@ -1870,7 +1870,7 @@ const ki = ["count"], Ii = {
1870
1870
  function o(L, M, W) {
1871
1871
  i.value = [L, M, W];
1872
1872
  }
1873
- const l = new Si(n.entity), s = P(""), c = k(
1873
+ const l = new ki(n.entity), s = P(""), c = k(
1874
1874
  () => Array.isArray(T.value) ? s.value.length === 0 ? l.array : l.array.filter((L) => !!T.value.find((W) => {
1875
1875
  const z = ot(W, L);
1876
1876
  return typeof z == "string" ? z.includes(s.value) : !1;
@@ -1927,7 +1927,7 @@ const ki = ["count"], Ii = {
1927
1927
  [L]: M
1928
1928
  });
1929
1929
  }
1930
- const V = k(() => v.wait), _ = Ai(o, () => {
1930
+ const V = k(() => v.wait), _ = Si(o, () => {
1931
1931
  l.init({
1932
1932
  customFilters: _.customFilters,
1933
1933
  fields: un(T.value).join(" "),
@@ -1963,7 +1963,7 @@ const ki = ["count"], Ii = {
1963
1963
  return i.value = [n.entity];
1964
1964
  }
1965
1965
  }
1966
- function pe() {
1966
+ function ge() {
1967
1967
  _.clean();
1968
1968
  }
1969
1969
  function Ge() {
@@ -1978,8 +1978,8 @@ const ki = ["count"], Ii = {
1978
1978
  class: "es-grid es-gap-15",
1979
1979
  count: w.value.length
1980
1980
  }, [
1981
- C(_).computedLabel.value && !L.hideLabel ? (b(), S("p", Ii, X(C(_).computedLabel.value), 1)) : ee("", !0),
1982
- C(m) && !L.hideActions ? (b(), F(Ci, {
1981
+ C(_).computedLabel.value && !L.hideLabel ? (b(), S("p", Oi, X(C(de)(C(_).computedLabel.value)), 1)) : ee("", !0),
1982
+ C(m) && !L.hideActions ? (b(), F(Ai, {
1983
1983
  key: 1,
1984
1984
  metadata: C(m),
1985
1985
  tools: C(_).computedTools.value,
@@ -1994,15 +1994,15 @@ const ki = ["count"], Ii = {
1994
1994
  it(L.$slots, "tools"),
1995
1995
  C(_).computedHasLocalConfiguration.value ? (b(), F(W, {
1996
1996
  key: 0,
1997
- onClick: pe,
1997
+ onClick: ge,
1998
1998
  type: "primary",
1999
1999
  label: "Clear all filters"
2000
2000
  })) : ee("", !0)
2001
2001
  ]),
2002
2002
  _: 3
2003
2003
  }, 8, ["metadata", "tools", "loading", "selected-rows", "onReload", "can-create"])) : ee("", !0),
2004
- A("div", Oi, [
2005
- B(Ei, {
2004
+ A("div", Ri, [
2005
+ B(Ti, {
2006
2006
  search: s.value,
2007
2007
  "onUpdate:search": M[0] || (M[0] = (G) => s.value = G),
2008
2008
  entity: L.entity,
@@ -2022,7 +2022,7 @@ const ki = ["count"], Ii = {
2022
2022
  "row-options-handler": Ge
2023
2023
  }, {
2024
2024
  "head-cell": Z((G) => {
2025
- var ge, Lt, $t;
2025
+ var me, Lt, $t;
2026
2026
  return [
2027
2027
  (b(), F(at(L.$slots["head-cell"] ? L.$slots["head-cell"] : li), Ae({
2028
2028
  label: G.label
@@ -2030,16 +2030,16 @@ const ki = ["count"], Ii = {
2030
2030
  onOrder: E,
2031
2031
  order: C(_).computedOrder.value,
2032
2032
  type: G.type,
2033
- "is-full-selected": ((ge = w.value) == null ? void 0 : ge.length) === ((Lt = c.value) == null ? void 0 : Lt.length) && (($t = c.value) == null ? void 0 : $t.length) > 0
2033
+ "is-full-selected": ((me = w.value) == null ? void 0 : me.length) === ((Lt = c.value) == null ? void 0 : Lt.length) && (($t = c.value) == null ? void 0 : $t.length) > 0
2034
2034
  }), null, 16, ["label", "order", "type", "is-full-selected"]))
2035
2035
  ];
2036
2036
  }),
2037
2037
  default: Z(() => {
2038
- var G, ge;
2038
+ var G, me;
2039
2039
  return [
2040
2040
  B(z, {
2041
2041
  entity: (G = i.value) == null ? void 0 : G[0],
2042
- "primary-key": ((ge = i.value) == null ? void 0 : ge[1]) || null,
2042
+ "primary-key": ((me = i.value) == null ? void 0 : me[1]) || null,
2043
2043
  "master-entities": L.masterEntities || void 0,
2044
2044
  binding: L.binding,
2045
2045
  onFormUpdate: M[2] || (M[2] = () => {
@@ -2051,11 +2051,11 @@ const ki = ["count"], Ii = {
2051
2051
  _: 1
2052
2052
  }, 8, ["config", "array", "active-row", "selectedRows"])
2053
2053
  ])
2054
- ], 8, ki);
2054
+ ], 8, Ii);
2055
2055
  };
2056
2056
  }
2057
2057
  });
2058
- function Ri(e, t = {}, n = {}) {
2058
+ function Li(e, t = {}, n = {}) {
2059
2059
  const r = Ie(O.PROVIDE_NAME_ACTIONS, null), i = typeof e == "string" ? e : t, a = typeof t == "string" ? n : t;
2060
2060
  return k(() => {
2061
2061
  var s;
@@ -2066,14 +2066,14 @@ function Ri(e, t = {}, n = {}) {
2066
2066
  } : null;
2067
2067
  });
2068
2068
  }
2069
- const po = /* @__PURE__ */ x({
2069
+ const go = /* @__PURE__ */ x({
2070
2070
  __name: "widget-action",
2071
2071
  props: {
2072
2072
  name: {},
2073
2073
  overrideParams: {}
2074
2074
  },
2075
2075
  setup(e) {
2076
- const t = e, n = Ri(t.name, t.overrideParams || {}), r = k(() => {
2076
+ const t = e, n = Li(t.name, t.overrideParams || {}), r = k(() => {
2077
2077
  if (n.value)
2078
2078
  return Oe(n.value.callback);
2079
2079
  });
@@ -2091,7 +2091,7 @@ const po = /* @__PURE__ */ x({
2091
2091
  }, null, 8, ["label", "loading"])) : ee("", !0);
2092
2092
  };
2093
2093
  }
2094
- }), go = /* @__PURE__ */ x({
2094
+ }), mo = /* @__PURE__ */ x({
2095
2095
  __name: "WidgetResolverEntity",
2096
2096
  setup(e) {
2097
2097
  const t = qe(), n = Wn();
@@ -2105,7 +2105,7 @@ const po = /* @__PURE__ */ x({
2105
2105
  B(Ct, { label: "Loading..." })
2106
2106
  ]));
2107
2107
  }
2108
- }), mo = /* @__PURE__ */ x({
2108
+ }), ho = /* @__PURE__ */ x({
2109
2109
  __name: "modal-list-download",
2110
2110
  props: {
2111
2111
  entity: {},
@@ -2115,7 +2115,7 @@ const po = /* @__PURE__ */ x({
2115
2115
  customFilters: {}
2116
2116
  },
2117
2117
  setup(e) {
2118
- const t = e, n = k(() => r.finished ? "Download CSV" : `Download ${r.count} records.`), { state: r, downloadFile: i, reject: a, start: o } = js({
2118
+ const t = e, n = k(() => r.finished ? "Download CSV" : `Download ${r.count} records.`), { state: r, downloadFile: i, reject: a, start: o } = Us({
2119
2119
  entity: t.entity,
2120
2120
  config: t.cellConfig,
2121
2121
  prefilters: t.prefilters,
@@ -2148,7 +2148,7 @@ const po = /* @__PURE__ */ x({
2148
2148
  });
2149
2149
  };
2150
2150
  }
2151
- }), At = (e) => (wt("data-v-efd61247"), e = e(), bt(), e), Li = { class: "version-item" }, $i = { class: "text_md" }, Ni = { class: "version-item-date text_md" }, xi = /* @__PURE__ */ At(() => /* @__PURE__ */ A("span", null, null, -1)), Fi = /* @__PURE__ */ At(() => /* @__PURE__ */ A("div", null, null, -1)), Di = /* @__PURE__ */ At(() => /* @__PURE__ */ A("span", null, null, -1)), Pi = { class: "text_sm" }, Vi = { class: "text_sm line-clamp_5" }, Mi = { class: "text_sm line-clamp_5" }, ji = /* @__PURE__ */ x({
2151
+ }), At = (e) => (wt("data-v-efd61247"), e = e(), bt(), e), $i = { class: "version-item" }, Ni = { class: "text_md" }, xi = { class: "version-item-date text_md" }, Fi = /* @__PURE__ */ At(() => /* @__PURE__ */ A("span", null, null, -1)), Di = /* @__PURE__ */ At(() => /* @__PURE__ */ A("div", null, null, -1)), Pi = /* @__PURE__ */ At(() => /* @__PURE__ */ A("span", null, null, -1)), Vi = { class: "text_sm" }, Mi = { class: "text_sm line-clamp_5" }, ji = { class: "text_sm line-clamp_5" }, Ui = /* @__PURE__ */ x({
2152
2152
  __name: "version-item",
2153
2153
  props: {
2154
2154
  selectedFields: {},
@@ -2169,29 +2169,29 @@ const po = /* @__PURE__ */ x({
2169
2169
  (a) => Array.isArray(t.selectedFields) && t.selectedFields.length !== 0 ? t.selectedFields.includes(a.name) : !0
2170
2170
  )
2171
2171
  );
2172
- return (a, o) => (b(), S("div", Li, [
2173
- A("span", $i, [
2172
+ return (a, o) => (b(), S("div", $i, [
2173
+ A("span", Ni, [
2174
2174
  A("b", null, X(a.version), 1)
2175
2175
  ]),
2176
- A("span", Ni, [
2176
+ A("span", xi, [
2177
2177
  A("b", null, X(C(sn)(a.date)), 1)
2178
2178
  ]),
2179
- xi,
2180
2179
  Fi,
2181
- (b(!0), S(ie, null, de(i.value, (l) => (b(), S(ie, {
2180
+ Di,
2181
+ (b(!0), S(ie, null, pe(i.value, (l) => (b(), S(ie, {
2182
2182
  key: l.name
2183
2183
  }, [
2184
- Di,
2185
- A("span", Pi, X(l.name), 1),
2186
- A("span", Vi, X(C(Ut)(a.entity, l.name, l.newValue)), 1),
2187
- A("span", Mi, X(C(Ut)(a.entity, l.name, l.oldValue)), 1)
2184
+ Pi,
2185
+ A("span", Vi, X(l.name), 1),
2186
+ A("span", Mi, X(C(Ut)(a.entity, l.name, l.newValue)), 1),
2187
+ A("span", ji, X(C(Ut)(a.entity, l.name, l.oldValue)), 1)
2188
2188
  ], 64))), 128))
2189
2189
  ]));
2190
2190
  }
2191
- }), Ui = /* @__PURE__ */ Y(ji, [["__scopeId", "data-v-efd61247"]]), St = (e) => (wt("data-v-321c2f32"), e = e(), bt(), e), Wi = {
2191
+ }), Wi = /* @__PURE__ */ Y(Ui, [["__scopeId", "data-v-efd61247"]]), St = (e) => (wt("data-v-321c2f32"), e = e(), bt(), e), Bi = {
2192
2192
  key: 1,
2193
2193
  class: "wrap-history"
2194
- }, Bi = { class: "history-header grid gap_10" }, Hi = /* @__PURE__ */ St(() => /* @__PURE__ */ A("span", null, null, -1)), qi = /* @__PURE__ */ St(() => /* @__PURE__ */ A("span", { class: "text_md" }, "New Value", -1)), Gi = /* @__PURE__ */ St(() => /* @__PURE__ */ A("span", { class: "text_md" }, "Old Value", -1)), zi = { class: "padding_15 grid gap_10 container-history" }, Ki = /* @__PURE__ */ x({
2194
+ }, Hi = { class: "history-header grid gap_10" }, qi = /* @__PURE__ */ St(() => /* @__PURE__ */ A("span", null, null, -1)), Gi = /* @__PURE__ */ St(() => /* @__PURE__ */ A("span", { class: "text_md" }, "New Value", -1)), zi = /* @__PURE__ */ St(() => /* @__PURE__ */ A("span", { class: "text_md" }, "Old Value", -1)), Ki = { class: "padding_15 grid gap_10 container-history" }, Yi = /* @__PURE__ */ x({
2195
2195
  __name: "modal-version-history",
2196
2196
  props: {
2197
2197
  entity: {},
@@ -2207,7 +2207,7 @@ const po = /* @__PURE__ */ x({
2207
2207
  }))), s = P(null);
2208
2208
  async function c() {
2209
2209
  try {
2210
- const u = await da({
2210
+ const u = await pa({
2211
2211
  entity: t.entity,
2212
2212
  primaryKey: t.primaryKey
2213
2213
  });
@@ -2230,9 +2230,9 @@ const po = /* @__PURE__ */ x({
2230
2230
  C(a).loading ? (b(), F(C(Ct), {
2231
2231
  key: 0,
2232
2232
  label: "Loading history..."
2233
- })) : (b(), S("div", Wi, [
2234
- A("div", Bi, [
2235
- Hi,
2233
+ })) : (b(), S("div", Bi, [
2234
+ A("div", Hi, [
2235
+ qi,
2236
2236
  B(C(ae), {
2237
2237
  type: "select",
2238
2238
  options: l.value,
@@ -2240,11 +2240,11 @@ const po = /* @__PURE__ */ x({
2240
2240
  "onUpdate:modelValue": w[0] || (w[0] = (g) => s.value = g),
2241
2241
  multiple: ""
2242
2242
  }, null, 8, ["options", "modelValue"]),
2243
- qi,
2244
- Gi
2243
+ Gi,
2244
+ zi
2245
2245
  ]),
2246
- A("div", zi, [
2247
- (b(!0), S(ie, null, de(i.value, (g, p) => (b(), F(Ui, {
2246
+ A("div", Ki, [
2247
+ (b(!0), S(ie, null, pe(i.value, (g, p) => (b(), F(Wi, {
2248
2248
  "selected-fields": s.value,
2249
2249
  date: g.utcCreated,
2250
2250
  "customer-name": "",
@@ -2260,14 +2260,14 @@ const po = /* @__PURE__ */ x({
2260
2260
  }, 8, ["label"]);
2261
2261
  };
2262
2262
  }
2263
- }), ho = /* @__PURE__ */ Y(Ki, [["__scopeId", "data-v-321c2f32"]]);
2264
- function Yi(e, t, n) {
2263
+ }), yo = /* @__PURE__ */ Y(Yi, [["__scopeId", "data-v-321c2f32"]]);
2264
+ function Xi(e, t, n) {
2265
2265
  const r = window.URL.createObjectURL(e);
2266
2266
  an(r, n), setTimeout(() => {
2267
2267
  window.URL.revokeObjectURL(r);
2268
2268
  }, 100);
2269
2269
  }
2270
- function yo(e, t) {
2270
+ function vo(e, t) {
2271
2271
  return fetch(`/close-api/document-builder/${e}`, {
2272
2272
  method: "POST",
2273
2273
  headers: {
@@ -2277,7 +2277,7 @@ function yo(e, t) {
2277
2277
  CatalogId: t
2278
2278
  })
2279
2279
  }).then((n) => n.blob()).then((n) => {
2280
- Yi(n, e + t + "-print-form.pdf", { blank: !0 });
2280
+ Xi(n, e + t + "-print-form.pdf", { blank: !0 });
2281
2281
  });
2282
2282
  }
2283
2283
  function sn(e) {
@@ -2330,14 +2330,14 @@ function Oe(e) {
2330
2330
  });
2331
2331
  return r;
2332
2332
  }
2333
- var Xi = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.loading = 1] = "loading", e[e.error = 2] = "error", e[e.done = 3] = "done", e))(Xi || {});
2333
+ var Ji = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.loading = 1] = "loading", e[e.error = 2] = "error", e[e.done = 3] = "done", e))(Ji || {});
2334
2334
  function on(e) {
2335
- return typeof e == "string" ? Ye(e) : Ji(e) ? Ye(e.message, e.children || e.details || []) : Qi(e) ? Ye(e.title, [e.detail || ""]) : Ye(O.DEFAULT_ERROR_MESSAGE);
2335
+ return typeof e == "string" ? Ye(e) : Qi(e) ? Ye(e.message, e.children || e.details || []) : Zi(e) ? Ye(e.title, [e.detail || ""]) : Ye(O.DEFAULT_ERROR_MESSAGE);
2336
2336
  }
2337
- function Ji(e) {
2337
+ function Qi(e) {
2338
2338
  return !!(typeof e == "object" && e !== null && Object.hasOwnProperty.call(e, "message"));
2339
2339
  }
2340
- function Qi(e) {
2340
+ function Zi(e) {
2341
2341
  return !!(typeof e == "object" && e !== null && Object.hasOwnProperty.call(e, "title"));
2342
2342
  }
2343
2343
  function Ye(e, t = []) {
@@ -2374,12 +2374,12 @@ function cn(e, t) {
2374
2374
  function un(e) {
2375
2375
  return e.reduce((t, n) => (n.name && (typeof n.name == "string" ? t.push(n.name) : t.push(...n.name)), t), []);
2376
2376
  }
2377
- function Zi(e, t = 2) {
2377
+ function ea(e, t = 2) {
2378
2378
  if (!(typeof e == "string" || typeof e == "number")) return "";
2379
2379
  let r = String(e).split(".");
2380
2380
  return r[0] = r[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), r.length < 2 && (r[1] = ""), r[1] = r[1].padEnd(t, "0"), r[1].length > t && (r[1] = r[1].substring(0, t)), r.join(".");
2381
2381
  }
2382
- function vo(e, t) {
2382
+ function wo(e, t) {
2383
2383
  const n = /* @__PURE__ */ new Map();
2384
2384
  return e.forEach((r) => {
2385
2385
  var a;
@@ -2387,13 +2387,13 @@ function vo(e, t) {
2387
2387
  n.has(i) || n.set(i, []), (a = n.get(i)) == null || a.push(r);
2388
2388
  }), n;
2389
2389
  }
2390
- function wo() {
2390
+ function bo() {
2391
2391
  return ("10000000-1000-4000-8000" + -1e11).replace(
2392
2392
  /[018]/g,
2393
2393
  (e) => (e ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> e / 4).toString(16)
2394
2394
  );
2395
2395
  }
2396
- function ea(e) {
2396
+ function ta(e) {
2397
2397
  return e.text().then((t) => {
2398
2398
  try {
2399
2399
  return JSON.parse(t);
@@ -2405,44 +2405,44 @@ function ea(e) {
2405
2405
  function re(e, t = {}) {
2406
2406
  return ce.isFront && (t.headers || (t.headers = {}), t.headers["Context-Id"] = ce.contextId), t.redirect = "manual", fetch(e, t).then((n) => n.type === "opaqueredirect" ? void window.location.reload() : n).catch(() => {
2407
2407
  throw new Error(O.DEFAULT_ERROR_MESSAGE);
2408
- }).then((n) => ea(n).then((r) => {
2408
+ }).then((n) => ta(n).then((r) => {
2409
2409
  if (!n.ok) throw r;
2410
2410
  return r;
2411
2411
  }));
2412
2412
  }
2413
- function ta(e, t = 1e3) {
2413
+ function na(e, t = 1e3) {
2414
2414
  let n = 0;
2415
2415
  return (...r) => {
2416
2416
  clearTimeout(n), n = window.setTimeout(() => e(...r), t);
2417
2417
  };
2418
2418
  }
2419
- function bo(e, t) {
2419
+ function _o(e, t) {
2420
2420
  let n = !1;
2421
2421
  return (...r) => {
2422
2422
  if (!n)
2423
2423
  return n = !0, setTimeout(() => n = !1, t), e(...r);
2424
2424
  };
2425
2425
  }
2426
- const na = st(lt("pretty-value-field-by-entity"));
2426
+ const ra = st(lt("pretty-value-field-by-entity"));
2427
2427
  function Ut(e, t, n) {
2428
2428
  try {
2429
- const r = ve.get(e);
2429
+ const r = we.get(e);
2430
2430
  if (!r) throw new Error("For entity metadata is not loaded");
2431
2431
  const i = r.fieldsByName[t];
2432
2432
  if (!i) throw new Error(`For entity ${e} can't found fieldMetadata for field ${t}`);
2433
2433
  return i.dataType === "DateTime" && typeof n == "string" ? new Date(n).toLocaleString() : n;
2434
2434
  } catch (r) {
2435
- return na('Error by parse pretty value for entity %o "%s", field "%s" with value "%s"', r, e, t, n), n;
2435
+ return ra('Error by parse pretty value for entity %o "%s", field "%s" with value "%s"', r, e, t, n), n;
2436
2436
  }
2437
2437
  }
2438
2438
  const Ee = st(lt("use-socket"));
2439
2439
  function H() {
2440
- return ia;
2440
+ return aa;
2441
2441
  }
2442
- function ra(e) {
2442
+ function ia(e) {
2443
2443
  return typeof e == "object" && Object.prototype.toString.call(e) === "[object Blob]";
2444
2444
  }
2445
- const ia = function() {
2445
+ const aa = function() {
2446
2446
  let e = 1, t, n;
2447
2447
  const r = /* @__PURE__ */ new Set();
2448
2448
  let i = 0;
@@ -2503,7 +2503,7 @@ const ia = function() {
2503
2503
  }, t.onmessage = (d) => {
2504
2504
  var y;
2505
2505
  try {
2506
- if (ra(d.data)) {
2506
+ if (ia(d.data)) {
2507
2507
  o();
2508
2508
  return;
2509
2509
  }
@@ -2548,7 +2548,7 @@ const ia = function() {
2548
2548
  guaranteedAnswer: !0,
2549
2549
  serializeString: I,
2550
2550
  callback: (T, $) => {
2551
- if (Ee("Promise was resolve with next data:", T), aa($)) return void _(T);
2551
+ if (Ee("Promise was resolve with next data:", T), sa($)) return void _(T);
2552
2552
  h && h(T, $), V(T);
2553
2553
  },
2554
2554
  timeToLive: O.TIME_TO_LIVE_SOCKET_REQUEST
@@ -2578,44 +2578,44 @@ const ia = function() {
2578
2578
  },
2579
2579
  getDevInfo: l
2580
2580
  };
2581
- }(), aa = (e) => !!fn(e) && e.event === tn, fn = (e) => typeof e == "object" && e !== null && "event" in e && typeof e.event == "string" && "requestId" in e && typeof e.requestId == "number" && "data" in e;
2582
- function sa(e, t) {
2581
+ }(), sa = (e) => !!fn(e) && e.event === tn, fn = (e) => typeof e == "object" && e !== null && "event" in e && typeof e.event == "string" && "requestId" in e && typeof e.requestId == "number" && "data" in e;
2582
+ function oa(e, t) {
2583
2583
  return H().emit("list-setting:read", {
2584
2584
  entity: e,
2585
2585
  mark: t
2586
2586
  });
2587
2587
  }
2588
- function _o(e, t) {
2588
+ function Eo(e, t) {
2589
2589
  return H().emit("metadata-field:treat", {
2590
2590
  entity: e,
2591
2591
  fieldName: t
2592
2592
  });
2593
2593
  }
2594
- function oa(e, t) {
2594
+ function la(e, t) {
2595
2595
  return H().emit("entity:create", {
2596
2596
  ...t,
2597
2597
  entity: e
2598
2598
  });
2599
2599
  }
2600
- function la(e, t) {
2600
+ function ca(e, t) {
2601
2601
  return H().emit("entity:delete", {
2602
2602
  ...t,
2603
2603
  entity: e
2604
2604
  });
2605
2605
  }
2606
- function ca(e, t) {
2606
+ function ua(e, t) {
2607
2607
  return H().emit("usage-context:read", {
2608
2608
  ...t,
2609
2609
  entity: e
2610
2610
  });
2611
2611
  }
2612
- function ua(e = {}) {
2612
+ function fa(e = {}) {
2613
2613
  return H().emit("tool:read", e);
2614
2614
  }
2615
- function Eo() {
2615
+ function To() {
2616
2616
  return H().emit("metadata-list:read", {});
2617
2617
  }
2618
- function fa(e, t) {
2618
+ function da(e, t) {
2619
2619
  return H().emit("batch:update", {
2620
2620
  ...t,
2621
2621
  entity: e
@@ -2627,16 +2627,16 @@ function dn(e, t) {
2627
2627
  entity: e
2628
2628
  });
2629
2629
  }
2630
- function da(e) {
2630
+ function pa(e) {
2631
2631
  return H().emit("history:read", e);
2632
2632
  }
2633
- function To(e, t) {
2633
+ function Co(e, t) {
2634
2634
  return H().emit("entity:count", {
2635
2635
  ...t,
2636
2636
  entity: e
2637
2637
  });
2638
2638
  }
2639
- function pa(e) {
2639
+ function ga(e) {
2640
2640
  return `/${ir}/${e}`;
2641
2641
  }
2642
2642
  function Be(e) {
@@ -2651,12 +2651,12 @@ function Be(e) {
2651
2651
  }
2652
2652
  };
2653
2653
  }
2654
- Be.replaceBoolean = ga;
2655
- Be.replaceRecordOperation = ma;
2656
- function ga(e, t) {
2654
+ Be.replaceBoolean = ma;
2655
+ Be.replaceRecordOperation = ha;
2656
+ function ma(e, t) {
2657
2657
  return typeof e != "boolean" ? "" : e ? t[1] : t[0];
2658
2658
  }
2659
- function ma(e) {
2659
+ function ha(e) {
2660
2660
  switch (e) {
2661
2661
  case "A":
2662
2662
  case null:
@@ -2671,12 +2671,12 @@ function ma(e) {
2671
2671
  return "?";
2672
2672
  }
2673
2673
  }
2674
- function ha(e = {}) {
2674
+ function ya(e = {}) {
2675
2675
  return H().emit("tool:execute", e);
2676
2676
  }
2677
- const ya = st(lt("wrap-tool-response"));
2678
- function va(e, t) {
2679
- return e.handleConfirmation === void 0 && (e.handleConfirmation = _a), e.handleAffectedEntity === void 0 && (e.handleAffectedEntity = Ta), e.handleCloseForm === void 0 && (e.handleCloseForm = Ca), e.handleValidationResult === void 0 && (e.handleValidationResult = Ea), {
2677
+ const va = st(lt("wrap-tool-response"));
2678
+ function wa(e, t) {
2679
+ return e.handleConfirmation === void 0 && (e.handleConfirmation = Ea), e.handleAffectedEntity === void 0 && (e.handleAffectedEntity = Ca), e.handleCloseForm === void 0 && (e.handleCloseForm = Aa), e.handleValidationResult === void 0 && (e.handleValidationResult = Ta), {
2680
2680
  ...t,
2681
2681
  label: t.title,
2682
2682
  async callback(n = {}) {
@@ -2684,7 +2684,7 @@ function va(e, t) {
2684
2684
  const r = typeof e.values == "function" ? e.values(t, e) : e.values;
2685
2685
  let i = {};
2686
2686
  t.action.targetName === "Record" && r.hasOwnProperty("Id") && (i.Id = r.Id, delete r.Id);
2687
- const a = () => ha({
2687
+ const a = () => ya({
2688
2688
  name: t.name,
2689
2689
  values: {
2690
2690
  ...r,
@@ -2694,7 +2694,7 @@ function va(e, t) {
2694
2694
  usageContext: t.usageContext
2695
2695
  }).then(async (l) => {
2696
2696
  var s, c;
2697
- if (!wa(l)) throw new Error("It is impossible to process the result of calls.");
2697
+ if (!ba(l)) throw new Error("It is impossible to process the result of calls.");
2698
2698
  if (Array.isArray(e.handlers))
2699
2699
  for await (const f of e.handlers)
2700
2700
  await f(t, l, e);
@@ -2709,7 +2709,7 @@ function va(e, t) {
2709
2709
  });
2710
2710
  if ((o = e.overrides) != null && o[t.name]) return e.overrides[t.name](t, e);
2711
2711
  if (t.paramDialog) {
2712
- const l = await Aa(t, e);
2712
+ const l = await Sa(t, e);
2713
2713
  if (l === null) return;
2714
2714
  n = Object.assign(n, l || {});
2715
2715
  }
@@ -2717,34 +2717,34 @@ function va(e, t) {
2717
2717
  }
2718
2718
  };
2719
2719
  }
2720
- function wa(e) {
2720
+ function ba(e) {
2721
2721
  return !!(e && typeof e == "object" && "affectedEntities" in e && "success" in e);
2722
2722
  }
2723
- function ba(e) {
2723
+ function _a(e) {
2724
2724
  const t = "Are you sure?";
2725
2725
  return e === !0 || typeof e == "string" && e.toLowerCase() === "true" || e === "1" ? t : typeof e == "string" ? e : t;
2726
2726
  }
2727
- async function _a(e, t) {
2728
- const n = ba(e.confirmation);
2727
+ async function Ea(e, t) {
2728
+ const n = _a(e.confirmation);
2729
2729
  if (!Zt(O.MODAL_CONFIRM)) throw new Error("The 'confirm' modal window is not installed. It provided inside 'constants.MODAL_CONFIRM'");
2730
2730
  if (await Et(O.MODAL_CONFIRM, {
2731
2731
  message: n
2732
2732
  })) return t();
2733
2733
  }
2734
- function Ea(e, t) {
2734
+ function Ta(e, t) {
2735
2735
  const n = O.MODAL_VALIDATION_EFFECT;
2736
2736
  if (!Zt(n)) throw new Error("The 'validation-effect' modal window is not installed. It provided inside 'constants.MODAL_VALIDATION_EFFECT'");
2737
2737
  return new Promise(() => {
2738
2738
  qn(n, t);
2739
2739
  });
2740
2740
  }
2741
- function Ta(e, t, n) {
2741
+ function Ca(e, t, n) {
2742
2742
  var s;
2743
2743
  function r(c) {
2744
2744
  return c !== null && typeof c == "object" && typeof c.read == "function";
2745
2745
  }
2746
2746
  function i(c, f) {
2747
- c && (ya("Affected Entity %s. Find form with name %s.", f, c.name), c.name === f && r(c) && c.read(), c instanceof Se && c.dependencies.forEach((u) => i(u, f)));
2747
+ c && (va("Affected Entity %s. Find form with name %s.", f, c.name), c.name === f && r(c) && c.read(), c instanceof Se && c.dependencies.forEach((u) => i(u, f)));
2748
2748
  }
2749
2749
  nt.emit("affected-entity", t);
2750
2750
  const { router: a, form: o } = n, l = typeof t.primaryKey == "string" ? t.primaryKey : (s = t.primaryKey) == null ? void 0 : s.Id;
@@ -2757,11 +2757,11 @@ function Ta(e, t, n) {
2757
2757
  }
2758
2758
  i(o, t.name);
2759
2759
  }
2760
- function Ca(e, t) {
2760
+ function Aa(e, t) {
2761
2761
  const { router: n } = t;
2762
2762
  n && e.closeHostForm && n.back();
2763
2763
  }
2764
- function Aa(e, t) {
2764
+ function Sa(e, t) {
2765
2765
  var n;
2766
2766
  if ((n = e.paramDialog) != null && n.name)
2767
2767
  return Et(e.paramDialog.name, {
@@ -2771,7 +2771,7 @@ function Aa(e, t) {
2771
2771
  });
2772
2772
  }
2773
2773
  let Te = {};
2774
- function be(e, ...t) {
2774
+ function de(e, ...t) {
2775
2775
  if (typeof e != "string")
2776
2776
  return console.trace(`Label is not provided for translation: ${e}`), "undefined";
2777
2777
  let n = oe.getPropFromObject((this == null ? void 0 : this.vocabulary) || Te, e);
@@ -2784,21 +2784,21 @@ function Wt(e, t) {
2784
2784
  e = e.replaceAll(new RegExp(`\\{${r}}`, "g"), n);
2785
2785
  }), e;
2786
2786
  }
2787
- be.setGlobalVocabulary = function(e) {
2787
+ de.setGlobalVocabulary = function(e) {
2788
2788
  Te = e;
2789
2789
  };
2790
- be.getScope = function(e) {
2790
+ de.getScope = function(e) {
2791
2791
  const t = typeof e == "string" ? e : "root";
2792
- return typeof e != "string" && console.warn(`SCOPE ${e} for translate is not string.`), be.bind({
2792
+ return typeof e != "string" && console.warn(`SCOPE ${e} for translate is not string.`), de.bind({
2793
2793
  vocabulary: oe.getPropFromObject(Te, t.toLowerCase())
2794
2794
  });
2795
2795
  };
2796
- be.setVocabulary = function(e) {
2797
- return typeof e == "string" && (e = oe.getPropFromObject(Te, e)), be.bind({
2796
+ de.setVocabulary = function(e) {
2797
+ return typeof e == "string" && (e = oe.getPropFromObject(Te, e)), de.bind({
2798
2798
  vocabulary: e
2799
2799
  });
2800
2800
  };
2801
- function Sa(e) {
2801
+ function ka(e) {
2802
2802
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2803
2803
  }
2804
2804
  var mt = { exports: {} }, j = {}, ht = { exports: {} }, Re = {};
@@ -2806,20 +2806,20 @@ function pn() {
2806
2806
  var e = {};
2807
2807
  return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
2808
2808
  }
2809
- function ka(e, t, n) {
2810
- }
2811
2809
  function Ia(e, t, n) {
2812
2810
  }
2813
- var Oa = /javascript\s*\:/img;
2814
- function Ra(e, t) {
2815
- return Oa.test(t) ? "" : t;
2811
+ function Oa(e, t, n) {
2812
+ }
2813
+ var Ra = /javascript\s*\:/img;
2814
+ function La(e, t) {
2815
+ return Ra.test(t) ? "" : t;
2816
2816
  }
2817
2817
  Re.whiteList = pn();
2818
2818
  Re.getDefaultWhiteList = pn;
2819
- Re.onAttr = ka;
2820
- Re.onIgnoreAttr = Ia;
2821
- Re.safeAttrValue = Ra;
2822
- var La = {
2819
+ Re.onAttr = Ia;
2820
+ Re.onIgnoreAttr = Oa;
2821
+ Re.safeAttrValue = La;
2822
+ var $a = {
2823
2823
  indexOf: function(e, t) {
2824
2824
  var n, r;
2825
2825
  if (Array.prototype.indexOf)
@@ -2842,8 +2842,8 @@ var La = {
2842
2842
  trimRight: function(e) {
2843
2843
  return String.prototype.trimRight ? e.trimRight() : e.replace(/(\s*$)/g, "");
2844
2844
  }
2845
- }, Ve = La;
2846
- function $a(e, t) {
2845
+ }, Ve = $a;
2846
+ function Na(e, t) {
2847
2847
  e = Ve.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
2848
2848
  var n = e.length, r = !1, i = 0, a = 0, o = "";
2849
2849
  function l() {
@@ -2870,22 +2870,22 @@ function $a(e, t) {
2870
2870
  }
2871
2871
  return Ve.trim(o);
2872
2872
  }
2873
- var Na = $a, Xe = Re, xa = Na;
2873
+ var xa = Na, Xe = Re, Fa = xa;
2874
2874
  function Bt(e) {
2875
2875
  return e == null;
2876
2876
  }
2877
- function Fa(e) {
2877
+ function Da(e) {
2878
2878
  var t = {};
2879
2879
  for (var n in e)
2880
2880
  t[n] = e[n];
2881
2881
  return t;
2882
2882
  }
2883
2883
  function gn(e) {
2884
- e = Fa(e || {}), e.whiteList = e.whiteList || Xe.whiteList, e.onAttr = e.onAttr || Xe.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || Xe.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || Xe.safeAttrValue, this.options = e;
2884
+ e = Da(e || {}), e.whiteList = e.whiteList || Xe.whiteList, e.onAttr = e.onAttr || Xe.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || Xe.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || Xe.safeAttrValue, this.options = e;
2885
2885
  }
2886
2886
  gn.prototype.process = function(e) {
2887
2887
  if (e = e || "", e = e.toString(), !e) return "";
2888
- var t = this, n = t.options, r = n.whiteList, i = n.onAttr, a = n.onIgnoreAttr, o = n.safeAttrValue, l = xa(e, function(s, c, f, u, w) {
2888
+ var t = this, n = t.options, r = n.whiteList, i = n.onAttr, a = n.onIgnoreAttr, o = n.safeAttrValue, l = Fa(e, function(s, c, f, u, w) {
2889
2889
  var m = r[f], g = !1;
2890
2890
  if (m === !0 ? g = m : typeof m == "function" ? g = m(u) : m instanceof RegExp && (g = m.test(u)), g !== !0 && (g = !1), u = o(f, u), !!u) {
2891
2891
  var p = {
@@ -2906,9 +2906,9 @@ gn.prototype.process = function(e) {
2906
2906
  });
2907
2907
  return l;
2908
2908
  };
2909
- var Da = gn;
2909
+ var Pa = gn;
2910
2910
  (function(e, t) {
2911
- var n = Re, r = Da;
2911
+ var n = Re, r = Pa;
2912
2912
  function i(o, l) {
2913
2913
  var s = new r(l);
2914
2914
  return s.process(o);
@@ -2941,7 +2941,7 @@ var kt = ht.exports, It = {
2941
2941
  var t = /\s|\n|\t/, n = t.exec(e);
2942
2942
  return n ? n.index : -1;
2943
2943
  }
2944
- }, Pa = kt.FilterCSS, Va = kt.getDefaultWhiteList, tt = It;
2944
+ }, Va = kt.FilterCSS, Ma = kt.getDefaultWhiteList, tt = It;
2945
2945
  function mn() {
2946
2946
  return {
2947
2947
  a: ["target", "href", "title"],
@@ -3034,19 +3034,19 @@ function mn() {
3034
3034
  ]
3035
3035
  };
3036
3036
  }
3037
- var hn = new Pa();
3038
- function Ma(e, t, n) {
3039
- }
3037
+ var hn = new Va();
3040
3038
  function ja(e, t, n) {
3041
3039
  }
3042
3040
  function Ua(e, t, n) {
3043
3041
  }
3044
3042
  function Wa(e, t, n) {
3045
3043
  }
3044
+ function Ba(e, t, n) {
3045
+ }
3046
3046
  function yn(e) {
3047
- return e.replace(Ha, "&lt;").replace(qa, "&gt;");
3047
+ return e.replace(qa, "&lt;").replace(Ga, "&gt;");
3048
3048
  }
3049
- function Ba(e, t, n, r) {
3049
+ function Ha(e, t, n, r) {
3050
3050
  if (n = Tn(n), t === "href" || t === "src") {
3051
3051
  if (n = tt.trim(n), n === "#") return "#";
3052
3052
  if (!(n.substr(0, 7) === "http://" || n.substr(0, 8) === "https://" || n.substr(0, 7) === "mailto:" || n.substr(0, 4) === "tel:" || n.substr(0, 11) === "data:image/" || n.substr(0, 6) === "ftp://" || n.substr(0, 2) === "./" || n.substr(0, 3) === "../" || n[0] === "#" || n[0] === "/"))
@@ -3061,20 +3061,20 @@ function Ba(e, t, n, r) {
3061
3061
  }
3062
3062
  return n = Cn(n), n;
3063
3063
  }
3064
- var Ha = /</g, qa = />/g, Ga = /"/g, za = /&quot;/g, Ka = /&#([a-zA-Z0-9]*);?/gim, Ya = /&colon;?/gim, Xa = /&newline;?/gim, Je = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ht = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, qt = /u\s*r\s*l\s*\(.*/gi;
3064
+ var qa = /</g, Ga = />/g, za = /"/g, Ka = /&quot;/g, Ya = /&#([a-zA-Z0-9]*);?/gim, Xa = /&colon;?/gim, Ja = /&newline;?/gim, Je = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ht = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, qt = /u\s*r\s*l\s*\(.*/gi;
3065
3065
  function vn(e) {
3066
- return e.replace(Ga, "&quot;");
3066
+ return e.replace(za, "&quot;");
3067
3067
  }
3068
3068
  function wn(e) {
3069
- return e.replace(za, '"');
3069
+ return e.replace(Ka, '"');
3070
3070
  }
3071
3071
  function bn(e) {
3072
- return e.replace(Ka, function(n, r) {
3072
+ return e.replace(Ya, function(n, r) {
3073
3073
  return r[0] === "x" || r[0] === "X" ? String.fromCharCode(parseInt(r.substr(1), 16)) : String.fromCharCode(parseInt(r, 10));
3074
3074
  });
3075
3075
  }
3076
3076
  function _n(e) {
3077
- return e.replace(Ya, ":").replace(Xa, " ");
3077
+ return e.replace(Xa, ":").replace(Ja, " ");
3078
3078
  }
3079
3079
  function En(e) {
3080
3080
  for (var t = "", n = 0, r = e.length; n < r; n++)
@@ -3087,10 +3087,10 @@ function Tn(e) {
3087
3087
  function Cn(e) {
3088
3088
  return e = vn(e), e = yn(e), e;
3089
3089
  }
3090
- function Ja() {
3090
+ function Qa() {
3091
3091
  return "";
3092
3092
  }
3093
- function Qa(e, t) {
3093
+ function Za(e, t) {
3094
3094
  typeof t != "function" && (t = function() {
3095
3095
  });
3096
3096
  var n = !Array.isArray(e);
@@ -3120,7 +3120,7 @@ function Qa(e, t) {
3120
3120
  }
3121
3121
  };
3122
3122
  }
3123
- function Za(e) {
3123
+ function es(e) {
3124
3124
  for (var t = "", n = 0; n < e.length; ) {
3125
3125
  var r = e.indexOf("<!--", n);
3126
3126
  if (r === -1) {
@@ -3135,7 +3135,7 @@ function Za(e) {
3135
3135
  }
3136
3136
  return t;
3137
3137
  }
3138
- function es(e) {
3138
+ function ts(e) {
3139
3139
  var t = e.split("");
3140
3140
  return t = t.filter(function(n) {
3141
3141
  var r = n.charCodeAt(0);
@@ -3144,11 +3144,11 @@ function es(e) {
3144
3144
  }
3145
3145
  j.whiteList = mn();
3146
3146
  j.getDefaultWhiteList = mn;
3147
- j.onTag = Ma;
3148
- j.onIgnoreTag = ja;
3149
- j.onTagAttr = Ua;
3150
- j.onIgnoreTagAttr = Wa;
3151
- j.safeAttrValue = Ba;
3147
+ j.onTag = ja;
3148
+ j.onIgnoreTag = Ua;
3149
+ j.onTagAttr = Wa;
3150
+ j.onIgnoreTagAttr = Ba;
3151
+ j.safeAttrValue = Ha;
3152
3152
  j.escapeHtml = yn;
3153
3153
  j.escapeQuote = vn;
3154
3154
  j.unescapeQuote = wn;
@@ -3157,22 +3157,22 @@ j.escapeDangerHtml5Entities = _n;
3157
3157
  j.clearNonPrintableCharacter = En;
3158
3158
  j.friendlyAttrValue = Tn;
3159
3159
  j.escapeAttrValue = Cn;
3160
- j.onIgnoreTagStripAll = Ja;
3161
- j.StripTagBody = Qa;
3162
- j.stripCommentTag = Za;
3163
- j.stripBlankChar = es;
3160
+ j.onIgnoreTagStripAll = Qa;
3161
+ j.StripTagBody = Za;
3162
+ j.stripCommentTag = es;
3163
+ j.stripBlankChar = ts;
3164
3164
  j.attributeWrapSign = '"';
3165
3165
  j.cssFilter = hn;
3166
- j.getDefaultCSSWhiteList = Va;
3167
- var ut = {}, ye = It;
3168
- function ts(e) {
3169
- var t = ye.spaceIndex(e), n;
3170
- return t === -1 ? n = e.slice(1, -1) : n = e.slice(1, t + 1), n = ye.trim(n).toLowerCase(), n.slice(0, 1) === "/" && (n = n.slice(1)), n.slice(-1) === "/" && (n = n.slice(0, -1)), n;
3171
- }
3166
+ j.getDefaultCSSWhiteList = Ma;
3167
+ var ut = {}, ve = It;
3172
3168
  function ns(e) {
3169
+ var t = ve.spaceIndex(e), n;
3170
+ return t === -1 ? n = e.slice(1, -1) : n = e.slice(1, t + 1), n = ve.trim(n).toLowerCase(), n.slice(0, 1) === "/" && (n = n.slice(1)), n.slice(-1) === "/" && (n = n.slice(0, -1)), n;
3171
+ }
3172
+ function rs(e) {
3173
3173
  return e.slice(0, 2) === "</";
3174
3174
  }
3175
- function rs(e, t, n) {
3175
+ function is(e, t, n) {
3176
3176
  var r = "", i = 0, a = !1, o = !1, l = 0, s = e.length, c = "", f = "";
3177
3177
  e: for (l = 0; l < s; l++) {
3178
3178
  var u = e.charAt(l);
@@ -3187,12 +3187,12 @@ function rs(e, t, n) {
3187
3187
  continue;
3188
3188
  }
3189
3189
  if (u === ">" || l === s - 1) {
3190
- r += n(e.slice(i, a)), f = e.slice(a, l + 1), c = ts(f), r += t(
3190
+ r += n(e.slice(i, a)), f = e.slice(a, l + 1), c = ns(f), r += t(
3191
3191
  a,
3192
3192
  r.length,
3193
3193
  c,
3194
3194
  f,
3195
- ns(f)
3195
+ rs(f)
3196
3196
  ), i = l + 1, a = !1;
3197
3197
  continue;
3198
3198
  }
@@ -3211,11 +3211,11 @@ function rs(e, t, n) {
3211
3211
  }
3212
3212
  return i < s && (r += n(e.substr(i))), r;
3213
3213
  }
3214
- var is = /[^a-zA-Z0-9\\_:.-]/gim;
3215
- function as(e, t) {
3214
+ var as = /[^a-zA-Z0-9\\_:.-]/gim;
3215
+ function ss(e, t) {
3216
3216
  var n = 0, r = 0, i = [], a = !1, o = e.length;
3217
3217
  function l(w, m) {
3218
- if (w = ye.trim(w), w = w.replace(is, "").toLowerCase(), !(w.length < 1)) {
3218
+ if (w = ve.trim(w), w = w.replace(as, "").toLowerCase(), !(w.length < 1)) {
3219
3219
  var g = t(w, m || "");
3220
3220
  g && i.push(g);
3221
3221
  }
@@ -3223,66 +3223,66 @@ function as(e, t) {
3223
3223
  for (var s = 0; s < o; s++) {
3224
3224
  var c = e.charAt(s), f, u;
3225
3225
  if (a === !1 && c === "=") {
3226
- a = e.slice(n, s), n = s + 1, r = e.charAt(n) === '"' || e.charAt(n) === "'" ? n : os(e, s + 1);
3226
+ a = e.slice(n, s), n = s + 1, r = e.charAt(n) === '"' || e.charAt(n) === "'" ? n : ls(e, s + 1);
3227
3227
  continue;
3228
3228
  }
3229
3229
  if (a !== !1 && s === r) {
3230
3230
  if (u = e.indexOf(c, s + 1), u === -1)
3231
3231
  break;
3232
- f = ye.trim(e.slice(r + 1, u)), l(a, f), a = !1, s = u, n = s + 1;
3232
+ f = ve.trim(e.slice(r + 1, u)), l(a, f), a = !1, s = u, n = s + 1;
3233
3233
  continue;
3234
3234
  }
3235
3235
  if (/\s|\n|\t/.test(c))
3236
3236
  if (e = e.replace(/\s|\n|\t/g, " "), a === !1)
3237
- if (u = ss(e, s), u === -1) {
3238
- f = ye.trim(e.slice(n, s)), l(f), a = !1, n = s + 1;
3237
+ if (u = os(e, s), u === -1) {
3238
+ f = ve.trim(e.slice(n, s)), l(f), a = !1, n = s + 1;
3239
3239
  continue;
3240
3240
  } else {
3241
3241
  s = u - 1;
3242
3242
  continue;
3243
3243
  }
3244
- else if (u = ls(e, s - 1), u === -1) {
3245
- f = ye.trim(e.slice(n, s)), f = Gt(f), l(a, f), a = !1, n = s + 1;
3244
+ else if (u = cs(e, s - 1), u === -1) {
3245
+ f = ve.trim(e.slice(n, s)), f = Gt(f), l(a, f), a = !1, n = s + 1;
3246
3246
  continue;
3247
3247
  } else
3248
3248
  continue;
3249
3249
  }
3250
- return n < e.length && (a === !1 ? l(e.slice(n)) : l(a, Gt(ye.trim(e.slice(n))))), ye.trim(i.join(" "));
3250
+ return n < e.length && (a === !1 ? l(e.slice(n)) : l(a, Gt(ve.trim(e.slice(n))))), ve.trim(i.join(" "));
3251
3251
  }
3252
- function ss(e, t) {
3252
+ function os(e, t) {
3253
3253
  for (; t < e.length; t++) {
3254
3254
  var n = e[t];
3255
3255
  if (n !== " ")
3256
3256
  return n === "=" ? t : -1;
3257
3257
  }
3258
3258
  }
3259
- function os(e, t) {
3259
+ function ls(e, t) {
3260
3260
  for (; t < e.length; t++) {
3261
3261
  var n = e[t];
3262
3262
  if (n !== " ")
3263
3263
  return n === "'" || n === '"' ? t : -1;
3264
3264
  }
3265
3265
  }
3266
- function ls(e, t) {
3266
+ function cs(e, t) {
3267
3267
  for (; t > 0; t--) {
3268
3268
  var n = e[t];
3269
3269
  if (n !== " ")
3270
3270
  return n === "=" ? t : -1;
3271
3271
  }
3272
3272
  }
3273
- function cs(e) {
3273
+ function us(e) {
3274
3274
  return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
3275
3275
  }
3276
3276
  function Gt(e) {
3277
- return cs(e) ? e.substr(1, e.length - 2) : e;
3277
+ return us(e) ? e.substr(1, e.length - 2) : e;
3278
3278
  }
3279
- ut.parseTag = rs;
3280
- ut.parseAttr = as;
3281
- var us = kt.FilterCSS, ne = j, An = ut, fs = An.parseTag, ds = An.parseAttr, Ze = It;
3279
+ ut.parseTag = is;
3280
+ ut.parseAttr = ss;
3281
+ var fs = kt.FilterCSS, ne = j, An = ut, ds = An.parseTag, ps = An.parseAttr, Ze = It;
3282
3282
  function Qe(e) {
3283
3283
  return e == null;
3284
3284
  }
3285
- function ps(e) {
3285
+ function gs(e) {
3286
3286
  var t = Ze.spaceIndex(e);
3287
3287
  if (t === -1)
3288
3288
  return {
@@ -3296,13 +3296,13 @@ function ps(e) {
3296
3296
  closing: n
3297
3297
  };
3298
3298
  }
3299
- function gs(e) {
3299
+ function ms(e) {
3300
3300
  var t = {};
3301
3301
  for (var n in e)
3302
3302
  t[n] = e[n];
3303
3303
  return t;
3304
3304
  }
3305
- function ms(e) {
3305
+ function hs(e) {
3306
3306
  var t = {};
3307
3307
  for (var n in e)
3308
3308
  Array.isArray(e[n]) ? t[n.toLowerCase()] = e[n].map(function(r) {
@@ -3311,9 +3311,9 @@ function ms(e) {
3311
3311
  return t;
3312
3312
  }
3313
3313
  function Sn(e) {
3314
- e = gs(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error(
3314
+ e = ms(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error(
3315
3315
  'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
3316
- ), e.onIgnoreTag = ne.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = ms(e.whiteList || e.allowList) : e.whiteList = ne.whiteList, this.attributeWrapSign = e.singleQuotedAttributeValue === !0 ? "'" : ne.attributeWrapSign, e.onTag = e.onTag || ne.onTag, e.onTagAttr = e.onTagAttr || ne.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || ne.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || ne.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || ne.safeAttrValue, e.escapeHtml = e.escapeHtml || ne.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new us(e.css));
3316
+ ), e.onIgnoreTag = ne.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = hs(e.whiteList || e.allowList) : e.whiteList = ne.whiteList, this.attributeWrapSign = e.singleQuotedAttributeValue === !0 ? "'" : ne.attributeWrapSign, e.onTag = e.onTag || ne.onTag, e.onTagAttr = e.onTagAttr || ne.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || ne.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || ne.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || ne.safeAttrValue, e.escapeHtml = e.escapeHtml || ne.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new fs(e.css));
3317
3317
  }
3318
3318
  Sn.prototype.process = function(e) {
3319
3319
  if (e = e || "", e = e.toString(), !e) return "";
@@ -3324,7 +3324,7 @@ Sn.prototype.process = function(e) {
3324
3324
  n.stripIgnoreTagBody,
3325
3325
  a
3326
3326
  ), a = w.onIgnoreTag);
3327
- var m = fs(
3327
+ var m = ds(
3328
3328
  e,
3329
3329
  function(g, p, v, d, y) {
3330
3330
  var h = {
@@ -3337,7 +3337,7 @@ Sn.prototype.process = function(e) {
3337
3337
  if (h.isWhite) {
3338
3338
  if (h.isClosing)
3339
3339
  return "</" + v + ">";
3340
- var I = ps(d), V = r[v], _ = ds(I.html, function(T, $) {
3340
+ var I = gs(d), V = r[v], _ = ps(I.html, function(T, $) {
3341
3341
  var U = Ze.indexOf(V, T) !== -1, q = o(v, T, $, U);
3342
3342
  return Qe(q) ? U ? ($ = s(v, T, $, u), $ ? T + "=" + f + $ + f : T) : (q = l(v, T, $, U), Qe(q) ? void 0 : q) : q;
3343
3343
  });
@@ -3349,9 +3349,9 @@ Sn.prototype.process = function(e) {
3349
3349
  );
3350
3350
  return w && (m = w.remove(m)), m;
3351
3351
  };
3352
- var hs = Sn;
3352
+ var ys = Sn;
3353
3353
  (function(e, t) {
3354
- var n = j, r = ut, i = hs;
3354
+ var n = j, r = ut, i = ys;
3355
3355
  function a(l, s) {
3356
3356
  var c = new i(s);
3357
3357
  return c.process(l);
@@ -3367,16 +3367,16 @@ var hs = Sn;
3367
3367
  }
3368
3368
  o() && (self.filterXSS = e.exports);
3369
3369
  })(mt, mt.exports);
3370
- var ys = mt.exports;
3371
- const vs = /* @__PURE__ */ Sa(ys);
3372
- function Co(e) {
3373
- return e = e.replace(/\*\*([^*]+)\*\*/g, "<b>$1</b>"), e = e.replace(/\[icon:([^\]]+)]/g, "<widget-icon>$1</widget-icon>"), e = e.replace(/\[(.*)]\((.*)\)/g, '<router-link to = "$2">$1</router-link>'), vs(e);
3370
+ var vs = mt.exports;
3371
+ const ws = /* @__PURE__ */ ka(vs);
3372
+ function Ao(e) {
3373
+ return e = e.replace(/\*\*([^*]+)\*\*/g, "<b>$1</b>"), e = e.replace(/\[icon:([^\]]+)]/g, "<widget-icon>$1</widget-icon>"), e = e.replace(/\[(.*)]\((.*)\)/g, '<router-link to = "$2">$1</router-link>'), ws(e);
3374
3374
  }
3375
- function Ao(e, t, n, r) {
3375
+ function So(e, t, n, r) {
3376
3376
  let i = e + t / 60 + n / 3600;
3377
3377
  return (r == "S" || r == "W") && (i = i * -1), i;
3378
3378
  }
3379
- function So(e, t) {
3379
+ function ko(e, t) {
3380
3380
  const n = {
3381
3381
  dir: e < 0 ? t === "long" ? "W" : "S" : t === "long" ? "E" : "N",
3382
3382
  deg: 0 | (e < 0 ? e = -e : e),
@@ -3389,19 +3389,19 @@ function kn(e, t) {
3389
3389
  const n = ["forms", e];
3390
3390
  return t && n.push(t), "/" + n.join("/");
3391
3391
  }
3392
- function ws(e, t) {
3392
+ function bs(e, t) {
3393
3393
  return "/" + [O.PATH_RESOLVER_ENTITY, e, t].join("/");
3394
3394
  }
3395
- function ko() {
3395
+ function Io() {
3396
3396
  return `/${O.PATH_RESOLVER_ENTITY}/:entity/:primaryKey`;
3397
3397
  }
3398
3398
  function In(e) {
3399
- const t = ve.get(e);
3399
+ const t = we.get(e);
3400
3400
  if (!t) throw new Error(`Metadata ${e} is still missing.`);
3401
3401
  return t.useCatalogInsteadId ? "CatalogId" : t.fieldNameForIdentification;
3402
3402
  }
3403
3403
  function zt(e, t, n) {
3404
- const r = be.getScope(e.toLowerCase());
3404
+ const r = de.getScope(e.toLowerCase());
3405
3405
  return t.map((i) => {
3406
3406
  typeof i.label == "string" && (i.label = r(i.label)), i.type === "history" && (i.onClick = (o) => et(O.MODAL_HISTORY, {
3407
3407
  primaryKey: o[In(e)],
@@ -3412,14 +3412,14 @@ function zt(e, t, n) {
3412
3412
  const o = async (l) => {
3413
3413
  try {
3414
3414
  const s = l[Ce(i)];
3415
- return [await dn(_s(i, l), s), s];
3415
+ return [await dn(Es(i, l), s), s];
3416
3416
  } catch {
3417
3417
  return [];
3418
3418
  }
3419
3419
  };
3420
3420
  a && (a === "form" ? i.link = (l) => {
3421
3421
  const s = l[Ce(i)];
3422
- return s ? ws(i.entity, s) : null;
3422
+ return s ? bs(i.entity, s) : null;
3423
3423
  } : i.onClick = async (l) => {
3424
3424
  const [s, c] = await o(l);
3425
3425
  if (!s || !c) return null;
@@ -3431,10 +3431,10 @@ function zt(e, t, n) {
3431
3431
  }
3432
3432
  }), i.class = "widget-table-cell_link cursor_pointer", typeof i.value != "string" && (i.value = (l, s) => s[i.name[1]]);
3433
3433
  }
3434
- return bs(i, i.type, i.presentation), R.listConvertCellConfigHandler && R.listConvertCellConfigHandler(e, i), i;
3434
+ return _s(i, i.type, i.presentation), R.listConvertCellConfigHandler && R.listConvertCellConfigHandler(e, i), i;
3435
3435
  });
3436
3436
  }
3437
- function bs(e, t, n) {
3437
+ function _s(e, t, n) {
3438
3438
  switch (t) {
3439
3439
  case "Decimal": {
3440
3440
  n === "Money" && (e.type = "money");
@@ -3443,34 +3443,34 @@ function bs(e, t, n) {
3443
3443
  }
3444
3444
  return e;
3445
3445
  }
3446
- const _s = (e, t) => e.useObjectTypeName ? t[e.name[2]] : e.entity ? e.entity : null;
3447
- function Es(e) {
3446
+ const Es = (e, t) => e.useObjectTypeName ? t[e.name[2]] : e.entity ? e.entity : null;
3447
+ function Ts(e) {
3448
3448
  if (!Array.isArray(R.arrayListCellHandlers))
3449
3449
  throw new Error("Configuration has mistake: arrayListCellHandlers is not an array");
3450
3450
  R.arrayListCellHandlers.push(e);
3451
3451
  }
3452
- function Ts(e, t) {
3452
+ function Cs(e, t) {
3453
3453
  const n = Ce(e);
3454
3454
  return n ? oe.getPropFromObject(t, n) : null;
3455
3455
  }
3456
- function Cs(e) {
3456
+ function As(e) {
3457
3457
  if (!Array.isArray(R.arrayFieldParamsHandlers))
3458
3458
  throw new Error("Configuration has mistake: arrayListCellHandlers is not an array");
3459
3459
  R.arrayFieldParamsHandlers.push(e);
3460
3460
  }
3461
- function As(e) {
3461
+ function Ss(e) {
3462
3462
  if (!Array.isArray(R.arrayListRowHandlers))
3463
3463
  throw new Error("Configuration has mistake: arrayListRowHandlers is not an array");
3464
3464
  R.arrayListRowHandlers.push(e);
3465
3465
  }
3466
- const Io = {
3467
- addListCellHandler: Es,
3468
- getCellModelValue: Ts,
3469
- addFieldParamsHandler: Cs,
3470
- addListRowHandler: As
3466
+ const Oo = {
3467
+ addListCellHandler: Ts,
3468
+ getCellModelValue: Cs,
3469
+ addFieldParamsHandler: As,
3470
+ addListRowHandler: Ss
3471
3471
  };
3472
- var Ss = /* @__PURE__ */ ((e) => (e.form = "form", e.inline = "inline", e.modal = "modal", e))(Ss || {});
3473
- function Oo() {
3472
+ var ks = /* @__PURE__ */ ((e) => (e.form = "form", e.inline = "inline", e.modal = "modal", e))(ks || {});
3473
+ function Ro() {
3474
3474
  const e = P(null);
3475
3475
  function t(n) {
3476
3476
  e.value = n;
@@ -3480,18 +3480,18 @@ function Oo() {
3480
3480
  activateRow: t
3481
3481
  };
3482
3482
  }
3483
- function ks(e, t) {
3483
+ function Is(e, t) {
3484
3484
  return typeof e != "object" || e === null ? !1 : Object.values(e).join().toLowerCase().includes(t);
3485
3485
  }
3486
3486
  async function On(e, t) {
3487
3487
  e() && (await t(), await On(e, t));
3488
3488
  }
3489
- function Ro(e, t, n = {}) {
3489
+ function Lo(e, t, n = {}) {
3490
3490
  let r = !1;
3491
3491
  const i = P(""), a = k(() => o.filter((_) => c(_, i.value))), o = Q([]);
3492
3492
  let l = 0;
3493
3493
  const s = P(!1);
3494
- let c = (n == null ? void 0 : n.filterSearchFn) || ((_, T) => ks(_, T));
3494
+ let c = (n == null ? void 0 : n.filterSearchFn) || ((_, T) => Is(_, T));
3495
3495
  function f() {
3496
3496
  return n.masterEntities ? typeof n.masterEntities == "function" ? n.masterEntities() : n.masterEntities : [];
3497
3497
  }
@@ -3529,14 +3529,14 @@ function Ro(e, t, n = {}) {
3529
3529
  async function v(_, T = {}) {
3530
3530
  try {
3531
3531
  const $ = E(), U = w(T, _);
3532
- delete T.Version, await la(e, { id: _, version: U, masterEntities: f() }), g(_);
3532
+ delete T.Version, await ca(e, { id: _, version: U, masterEntities: f() }), g(_);
3533
3533
  } catch ($) {
3534
3534
  K()($);
3535
3535
  }
3536
3536
  }
3537
3537
  async function d(_) {
3538
3538
  try {
3539
- await oa(e, { values: _, masterEntities: f() }), await I();
3539
+ await la(e, { values: _, masterEntities: f() }), await I();
3540
3540
  } catch (T) {
3541
3541
  K()(T);
3542
3542
  }
@@ -3554,7 +3554,7 @@ function Ro(e, t, n = {}) {
3554
3554
  }
3555
3555
  await On(() => (U > 0 ? T < U : !0) && !r && !_.signal.aborted, async () => {
3556
3556
  const q = await u();
3557
- _.signal.aborted || (o.push(...q), T += q.filter((pe) => c(pe, i.value)).length, (q.length < U || U === 0) && (r = !0));
3557
+ _.signal.aborted || (o.push(...q), T += q.filter((ge) => c(ge, i.value)).length, (q.length < U || U === 0) && (r = !0));
3558
3558
  });
3559
3559
  } catch (_) {
3560
3560
  K()(_);
@@ -3589,7 +3589,7 @@ function Ro(e, t, n = {}) {
3589
3589
  abort: V
3590
3590
  };
3591
3591
  }
3592
- function Lo() {
3592
+ function $o() {
3593
3593
  function e() {
3594
3594
  return {
3595
3595
  organizations: ce.organizations,
@@ -3605,25 +3605,25 @@ function Lo() {
3605
3605
  Object.assign(t, e());
3606
3606
  }), t;
3607
3607
  }
3608
- function Is(e, t, n) {
3608
+ function Os(e, t, n) {
3609
3609
  return H().emit("communication:create", { entityName: e, entityCatalogId: t, targetCode: n });
3610
3610
  }
3611
- function Os(e, t, n) {
3611
+ function Rs(e, t, n) {
3612
3612
  return H().emit("communication:read", { entityName: e, entityCatalogId: t, targetCode: n });
3613
3613
  }
3614
- function Rs(e, t) {
3614
+ function Ls(e, t) {
3615
3615
  return H().emit("communication-message:create", { communicationId: e, text: t });
3616
3616
  }
3617
- function Ls(e) {
3617
+ function $s(e) {
3618
3618
  return H().emit("communication-message:read", { communicationId: e });
3619
3619
  }
3620
- function $o(e) {
3620
+ function No(e) {
3621
3621
  const t = Se.getParentForm(), n = Q([]);
3622
- return t && t.subscribe(e), e.read = () => Ls(e.id).then((r) => (n.splice(0, n.length, ...r), r)), {
3622
+ return t && t.subscribe(e), e.read = () => $s(e.id).then((r) => (n.splice(0, n.length, ...r), r)), {
3623
3623
  array: n
3624
3624
  };
3625
3625
  }
3626
- function No(e, t) {
3626
+ function xo(e, t) {
3627
3627
  e.read = () => {
3628
3628
  const r = n();
3629
3629
  return Promise.resolve().then(() => {
@@ -3651,29 +3651,29 @@ function No(e, t) {
3651
3651
  }
3652
3652
  function ft(e) {
3653
3653
  if (!e) return Ie(O.PROVIDE_NAME_METADATA);
3654
- ve.initEntity(e);
3655
- const t = k(() => ve.state[e]);
3654
+ we.initEntity(e);
3655
+ const t = k(() => we.state[e]);
3656
3656
  return Ue(O.PROVIDE_NAME_METADATA, t), Ue(O.PROVIDE_ENTITY_NAME, e), t;
3657
3657
  }
3658
3658
  function Rn(e, t = {}) {
3659
3659
  if (!e) return Ie(O.PROVIDE_NAME_USAGE_CONTEXT);
3660
3660
  const n = P(null);
3661
3661
  return Ue(O.PROVIDE_NAME_USAGE_CONTEXT, n), { state: n, update: async function() {
3662
- n.value = await ca(e, $s(t || {}));
3662
+ n.value = await ua(e, Ns(t || {}));
3663
3663
  } };
3664
3664
  }
3665
- function $s(e) {
3665
+ function Ns(e) {
3666
3666
  return typeof e == "function" ? e() : e;
3667
3667
  }
3668
- function xo(e) {
3668
+ function Fo(e) {
3669
3669
  if (!e) return Ie(O.PROVIDE_NAME_ACTIONS);
3670
- const t = P(!1), n = Q([]), r = k(() => n.map((o) => va(e, o))), i = { actions: r, update: a };
3670
+ const t = P(!1), n = Q([]), r = k(() => n.map((o) => wa(e, o))), i = { actions: r, update: a };
3671
3671
  Ue(O.PROVIDE_NAME_ACTIONS, i), e.router = qe();
3672
3672
  function a() {
3673
3673
  if (t.value) return;
3674
3674
  t.value = !0, n.splice(0, n.length);
3675
3675
  const o = e == null ? void 0 : e.form;
3676
- return ua({
3676
+ return fa({
3677
3677
  masterEntities: e == null ? void 0 : e.masterEntities,
3678
3678
  id: o == null ? void 0 : o.id,
3679
3679
  entity: o == null ? void 0 : o.name
@@ -3681,7 +3681,7 @@ function xo(e) {
3681
3681
  }
3682
3682
  return { actions: r, update: a, loading: Mn(t) };
3683
3683
  }
3684
- function Fo(e) {
3684
+ function Do(e) {
3685
3685
  function t(n) {
3686
3686
  n.key === "Enter" && e();
3687
3687
  }
@@ -3691,7 +3691,7 @@ function Fo(e) {
3691
3691
  document.removeEventListener("keypress", t);
3692
3692
  });
3693
3693
  }
3694
- function Do(e, t = {}) {
3694
+ function Po(e, t = {}) {
3695
3695
  const n = Q([]), r = (s) => {
3696
3696
  const c = C(e);
3697
3697
  if (s === void 0) {
@@ -3710,7 +3710,7 @@ function Do(e, t = {}) {
3710
3710
  });
3711
3711
  return [n, r, l, a, o];
3712
3712
  }
3713
- function Po(e) {
3713
+ function Vo(e) {
3714
3714
  const t = P(""), n = k(() => {
3715
3715
  const r = t.value.toLowerCase();
3716
3716
  return C(e).filter((i) => t.value.length ? Object.values(i).join().toLowerCase().includes(r) : !0);
@@ -3743,19 +3743,19 @@ class pt {
3743
3743
  });
3744
3744
  }
3745
3745
  }
3746
- function Ns(e) {
3746
+ function xs(e) {
3747
3747
  return e.statusName === J.Completed;
3748
3748
  }
3749
- function xs(e) {
3749
+ function Fs(e) {
3750
3750
  return [J.FinalStepWithConfirmation, J.NextStepWithConfirmation].includes(e.statusName);
3751
3751
  }
3752
- function Fs(e) {
3752
+ function Ds(e) {
3753
3753
  return e.statusName === J.ValidationError;
3754
3754
  }
3755
- function Ds(e) {
3755
+ function Ps(e) {
3756
3756
  return e.statusName === J.Undefined;
3757
3757
  }
3758
- function Vo(e, t, n) {
3758
+ function Mo(e, t, n) {
3759
3759
  let r = null, i = [];
3760
3760
  const a = P(!1), o = P(null), l = k(
3761
3761
  () => u(i, o.value)
@@ -3769,12 +3769,12 @@ function Vo(e, t, n) {
3769
3769
  }
3770
3770
  async function w(y) {
3771
3771
  var h;
3772
- if (Ds(y)) {
3772
+ if (Ps(y)) {
3773
3773
  await n.onDisplayDataSet(y);
3774
3774
  return;
3775
3775
  }
3776
- if (!(xs(y) && !await n.onDisplayDataSet(y))) {
3777
- if (Fs(y))
3776
+ if (!(Fs(y) && !await n.onDisplayDataSet(y))) {
3777
+ if (Ds(y))
3778
3778
  return void n.onValidation(y.validationResults);
3779
3779
  p(y), await jn();
3780
3780
  {
@@ -3784,10 +3784,10 @@ function Vo(e, t, n) {
3784
3784
  J.NextStep,
3785
3785
  J.FinalStepWithConfirmation,
3786
3786
  J.NextStepWithConfirmation
3787
- ].includes(y.statusName) && (!E.length || Ps(E, n.presets)))
3787
+ ].includes(y.statusName) && (!E.length || Vs(E, n.presets)))
3788
3788
  return d(n.presets || {});
3789
3789
  }
3790
- Ns(y) && n.onCompleted(y);
3790
+ xs(y) && n.onCompleted(y);
3791
3791
  }
3792
3792
  }
3793
3793
  async function m() {
@@ -3850,25 +3850,25 @@ function Vo(e, t, n) {
3850
3850
  next: d
3851
3851
  };
3852
3852
  }
3853
- function Ps(e, t) {
3853
+ function Vs(e, t) {
3854
3854
  for (let n = 0; n < e.length; n++) {
3855
3855
  const r = e[n];
3856
3856
  if (!oe.getPropFromObject(t, r.name)) return !1;
3857
3857
  }
3858
3858
  return !0;
3859
3859
  }
3860
- function Vs(e, t) {
3860
+ function Ms(e, t) {
3861
3861
  const n = typeof e == "string" ? e : e.name, r = Object.assign({}, typeof e == "string" ? {} : e.arguments, t || {});
3862
3862
  return {
3863
3863
  name: n,
3864
3864
  arguments: r
3865
3865
  };
3866
3866
  }
3867
- function Ms(e) {
3867
+ function js(e) {
3868
3868
  return e.limit || (e.limit = 150), e;
3869
3869
  }
3870
- function js(e, t = {}) {
3871
- const { limit: n } = Ms(t), { prefilters: r, order: i } = e;
3870
+ function Us(e, t = {}) {
3871
+ const { limit: n } = js(t), { prefilters: r, order: i } = e;
3872
3872
  if (!e.entity) throw new Error("-");
3873
3873
  if (!e.config) throw new Error("-");
3874
3874
  const a = e.entity, o = e.config, l = e.customFilters || [], s = [o.map((p) => f(p.label)).join(",")], c = Q({
@@ -3891,7 +3891,7 @@ function js(e, t = {}) {
3891
3891
  filter: typeof r == "string" ? r : N(r || {}),
3892
3892
  customFilters: l.map((p) => {
3893
3893
  var v;
3894
- return Vs(p, (v = t.customFiltersData) == null ? void 0 : v[typeof p == "string" ? p : p.name]);
3894
+ return Ms(p, (v = t.customFiltersData) == null ? void 0 : v[typeof p == "string" ? p : p.name]);
3895
3895
  })
3896
3896
  }).then((p) => (c.offset += n, p));
3897
3897
  }
@@ -3930,7 +3930,7 @@ const Ot = new class {
3930
3930
  * @param options.timeout Время жизни уведомления в секундах. По умолчанию 10 секунд.
3931
3931
  */
3932
3932
  add(t, n, r = {}) {
3933
- const i = Us(r), a = new yt(t, n, i.timeout, i.children, i.click);
3933
+ const i = Ws(r), a = new yt(t, n, i.timeout, i.children, i.click);
3934
3934
  return this.store.push(a), i.timeout && setTimeout(this.remove.bind(this, a.id), i.timeout * 1e3), a;
3935
3935
  }
3936
3936
  /**
@@ -3942,7 +3942,7 @@ const Ot = new class {
3942
3942
  this.store.splice(n, 1);
3943
3943
  }
3944
3944
  }();
3945
- function Us(e) {
3945
+ function Ws(e) {
3946
3946
  function t(r) {
3947
3947
  return !!r && typeof r == "object";
3948
3948
  }
@@ -3982,7 +3982,7 @@ const Kt = function(e, t) {
3982
3982
  }, Jt = function() {
3983
3983
  this.events = {};
3984
3984
  };
3985
- class he {
3985
+ class ye {
3986
3986
  constructor() {
3987
3987
  this.events = {};
3988
3988
  }
@@ -3999,32 +3999,32 @@ class he {
3999
3999
  Jt.call(this);
4000
4000
  }
4001
4001
  static on(t, n) {
4002
- return Kt.call(he, t, n);
4002
+ return Kt.call(ye, t, n);
4003
4003
  }
4004
4004
  static emit(t, n) {
4005
- return Yt.call(he, t, n);
4005
+ return Yt.call(ye, t, n);
4006
4006
  }
4007
4007
  static off(t, n) {
4008
- return Xt.call(he, t, n);
4008
+ return Xt.call(ye, t, n);
4009
4009
  }
4010
4010
  static cleanEvents() {
4011
- Jt.call(he);
4011
+ Jt.call(ye);
4012
4012
  }
4013
4013
  }
4014
- he.events = {};
4015
- class jo extends he {
4014
+ ye.events = {};
4015
+ class Uo extends ye {
4016
4016
  constructor(t) {
4017
4017
  super(), this.name = "Communication", this.read = () => {
4018
4018
  }, this.id = t;
4019
4019
  }
4020
4020
  sendMessage(t) {
4021
- return Rs(this.id, t);
4021
+ return Ls(this.id, t);
4022
4022
  }
4023
4023
  static checkAndGenerate(t, n, r) {
4024
- return Os(t, n, r).then((i) => i.length === 0 ? Is(t, n, r) : i[0]);
4024
+ return Rs(t, n, r).then((i) => i.length === 0 ? Os(t, n, r) : i[0]);
4025
4025
  }
4026
4026
  }
4027
- function Ws() {
4027
+ function Bs() {
4028
4028
  return H().emit("client:read", {});
4029
4029
  }
4030
4030
  class Rt extends Error {
@@ -4033,7 +4033,7 @@ class Rt extends Error {
4033
4033
  }
4034
4034
  }
4035
4035
  var He, xe;
4036
- const le = class le extends he {
4036
+ const le = class le extends ye {
4037
4037
  constructor() {
4038
4038
  super(...arguments);
4039
4039
  Ke(this, He);
@@ -4126,7 +4126,7 @@ const le = class le extends he {
4126
4126
  * @description Метод для загрузки данных пользователя.
4127
4127
  */
4128
4128
  loadCustomerData() {
4129
- return Ws();
4129
+ return Bs();
4130
4130
  }
4131
4131
  /**
4132
4132
  * @description Method using for validate provided ID, Checking with existing person ID and each organization ID.
@@ -4142,12 +4142,12 @@ const le = class le extends he {
4142
4142
  };
4143
4143
  He = new WeakMap(), xe = new WeakMap(), le.DEFAULT_LANGUAGE = "en", le.EVENT_CONTEXT_UPDATE = "event:context-update", le.EVENT_READY_UPDATE = "event:ready-update";
4144
4144
  let vt = le;
4145
- function Bs(e) {
4145
+ function Hs(e) {
4146
4146
  return H().emit("metadata:read", {
4147
4147
  entity: e
4148
4148
  });
4149
4149
  }
4150
- const ve = function() {
4150
+ const we = function() {
4151
4151
  const t = Q({}), n = /* @__PURE__ */ new Map();
4152
4152
  function r(l) {
4153
4153
  return t[l];
@@ -4158,7 +4158,7 @@ const ve = function() {
4158
4158
  return o(l, s), r(l);
4159
4159
  }
4160
4160
  function a(l) {
4161
- const s = Bs(l).finally(() => {
4161
+ const s = Hs(l).finally(() => {
4162
4162
  n.delete(l);
4163
4163
  });
4164
4164
  return n.set(l, s), s;
@@ -4173,7 +4173,7 @@ const ve = function() {
4173
4173
  loadingFlags: n
4174
4174
  };
4175
4175
  }();
4176
- class Hs extends he {
4176
+ class qs extends ye {
4177
4177
  on(t, n) {
4178
4178
  return super.on(t, n);
4179
4179
  }
@@ -4184,7 +4184,7 @@ class Hs extends he {
4184
4184
  super.off(t, n);
4185
4185
  }
4186
4186
  }
4187
- class me {
4187
+ class he {
4188
4188
  /**
4189
4189
  * @description Simple login method, using for BAP user.
4190
4190
  * @param values
@@ -4207,16 +4207,16 @@ class me {
4207
4207
  return t;
4208
4208
  }
4209
4209
  static startRegistrationProcess(t) {
4210
- return me.requestStepRegistrationProcess("StartRegistration", t);
4210
+ return he.requestStepRegistrationProcess("StartRegistration", t);
4211
4211
  }
4212
4212
  static confirmPhoneRegistrationProcess(t) {
4213
- return me.requestStepRegistrationProcess("ConfirmPhoneNumberByRegistration", t);
4213
+ return he.requestStepRegistrationProcess("ConfirmPhoneNumberByRegistration", t);
4214
4214
  }
4215
4215
  static confirmEmailRegistrationProcess(t) {
4216
- return me.requestStepRegistrationProcess("ConfirmEmailByRegistration", t);
4216
+ return he.requestStepRegistrationProcess("ConfirmEmailByRegistration", t);
4217
4217
  }
4218
4218
  static finishEmailRegistrationProcess(t) {
4219
- return me.requestStepRegistrationProcess("FinishRegistration", t);
4219
+ return he.requestStepRegistrationProcess("FinishRegistration", t);
4220
4220
  }
4221
4221
  /**
4222
4222
  * @description Steps of registration process are the same. Current method provide one requestInterface for all
@@ -4233,13 +4233,13 @@ class me {
4233
4233
  });
4234
4234
  }
4235
4235
  static startLoginProcess(t) {
4236
- return me.requestStepLoginProcess("StartLogin", t);
4236
+ return he.requestStepLoginProcess("StartLogin", t);
4237
4237
  }
4238
4238
  static loginWithPassword(t) {
4239
- return me.requestStepLoginProcess("LoginWithPassword", t);
4239
+ return he.requestStepLoginProcess("LoginWithPassword", t);
4240
4240
  }
4241
4241
  static loginWithOtpCode(t) {
4242
- return me.requestStepLoginProcess("LoginWithOtpCode", t);
4242
+ return he.requestStepLoginProcess("LoginWithOtpCode", t);
4243
4243
  }
4244
4244
  /**
4245
4245
  * @description Method for step-to-step login process
@@ -4253,7 +4253,7 @@ class me {
4253
4253
  },
4254
4254
  credentials: "include",
4255
4255
  body: JSON.stringify(n)
4256
- }).then(me.parseLoginProcessAnswer);
4256
+ }).then(he.parseLoginProcessAnswer);
4257
4257
  }
4258
4258
  static parseLoginProcessAnswer(t) {
4259
4259
  if (t.statusCode > 3) throw Error(t.statusName.replace(/([A-Z][a-z])/g, " $1").replace(/(\d)/g, " $1"));
@@ -4323,7 +4323,7 @@ class me {
4323
4323
  });
4324
4324
  }
4325
4325
  }
4326
- class Uo {
4326
+ class Wo {
4327
4327
  static readHistoryById(t, n) {
4328
4328
  return re(`/close-api/audits/history/${t}/${n}`, {
4329
4329
  method: "GET",
@@ -4333,7 +4333,7 @@ class Uo {
4333
4333
  });
4334
4334
  }
4335
4335
  }
4336
- class Wo {
4336
+ class Bo {
4337
4337
  /**
4338
4338
  * @description Получение конфигурации веб-сервера
4339
4339
  */
@@ -4358,7 +4358,7 @@ class Wo {
4358
4358
  });
4359
4359
  }
4360
4360
  }
4361
- class Bo {
4361
+ class Ho {
4362
4362
  /**
4363
4363
  * @description Загрузка словаря для определённого языка.
4364
4364
  * */
@@ -4367,7 +4367,7 @@ class Bo {
4367
4367
  return re(`/open-api/internationalization/language/${t}`);
4368
4368
  }
4369
4369
  }
4370
- class Ho {
4370
+ class qo {
4371
4371
  /**
4372
4372
  * @description HTTP загрузка файла при помощи FormData.
4373
4373
  * @param file Загружаемый файл
@@ -4388,11 +4388,11 @@ class Ho {
4388
4388
  return `/close-api/files/${t}`;
4389
4389
  }
4390
4390
  }
4391
- var qs = /* @__PURE__ */ ((e) => (e.Add = "A", e.Delete = "D", e.Modify = "M", e.None = "N", e))(qs || {}), Gs = /* @__PURE__ */ ((e) => (e.Approved = "A", e.AwaitingFeedback = "AF", e.AssignedForExam = "AFE", e.Cancelled = "C", e.Closed = "CLS", e.Completed = "CT", e.Draft = "D", e.NotSatisfied = "NSF", e.OnClarification = "OC", e.Processing = "P", e.Rejected = "R", e.ReadyForExam = "RFE", e.Submitted = "S", e.SecurityCheck = "SCK", e.Satisfied = "SF", e.Withdrawn = "W", e))(Gs || {});
4392
- function zs(e) {
4391
+ var Gs = /* @__PURE__ */ ((e) => (e.Add = "A", e.Delete = "D", e.Modify = "M", e.None = "N", e))(Gs || {}), zs = /* @__PURE__ */ ((e) => (e.Approved = "A", e.AwaitingFeedback = "AF", e.AssignedForExam = "AFE", e.Cancelled = "C", e.Closed = "CLS", e.Completed = "CT", e.Draft = "D", e.NotSatisfied = "NSF", e.OnClarification = "OC", e.Processing = "P", e.Rejected = "R", e.ReadyForExam = "RFE", e.Submitted = "S", e.SecurityCheck = "SCK", e.Satisfied = "SF", e.Withdrawn = "W", e))(zs || {});
4392
+ function Ks(e) {
4393
4393
  return typeof e != "string" ? !1 : /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e);
4394
4394
  }
4395
- function Ks(e) {
4395
+ function Ys(e) {
4396
4396
  return typeof e != "object" || e === null ? !1 : !!(e.hasOwnProperty("start") || e.hasOwnProperty("end"));
4397
4397
  }
4398
4398
  function N(e) {
@@ -4400,7 +4400,7 @@ function N(e) {
4400
4400
  const r = e[n];
4401
4401
  if (Array.isArray(r))
4402
4402
  return t.push(N.in(n, r)), t;
4403
- if (Ln(r) && (typeof r.min == "number" && t.push(N.ge(n, r.min)), typeof r.max == "number" && t.push(N.le(n, r.max))), Ys(r)) {
4403
+ if (Ln(r) && (typeof r.min == "number" && t.push(N.ge(n, r.min)), typeof r.max == "number" && t.push(N.le(n, r.max))), Xs(r)) {
4404
4404
  if (r.text) {
4405
4405
  const a = ((o) => {
4406
4406
  switch (o) {
@@ -4416,7 +4416,7 @@ function N(e) {
4416
4416
  }
4417
4417
  return t;
4418
4418
  }
4419
- if (Ks(r)) {
4419
+ if (Ys(r)) {
4420
4420
  let i = function(a) {
4421
4421
  var o;
4422
4422
  return ((o = a.match(/([^Z]*)/)) == null ? void 0 : o[0]) + "0000Z";
@@ -4429,11 +4429,11 @@ function N(e) {
4429
4429
  function Ln(e) {
4430
4430
  return e !== null && typeof e == "object" && ("min" in e || "max" in e);
4431
4431
  }
4432
- function Ys(e) {
4432
+ function Xs(e) {
4433
4433
  return e !== null && typeof e == "object" && "text" in e && "option" in e;
4434
4434
  }
4435
4435
  function Pe(e) {
4436
- return typeof e == "string" && zs(e) ? `{${e}}` : typeof e == "string" ? `'${e}'` : `${e}`;
4436
+ return typeof e == "string" && Ks(e) ? `{${e}}` : typeof e == "string" ? `'${e}'` : `${e}`;
4437
4437
  }
4438
4438
  N.includes = function(t, n) {
4439
4439
  return `@${t} Contains ${Pe(n)}`;
@@ -4483,110 +4483,110 @@ function $n(e) {
4483
4483
  }, {});
4484
4484
  }
4485
4485
  var J = /* @__PURE__ */ ((e) => (e.Completed = "Completed", e.FinalStep = "FinalStep", e.NextStep = "NextStep", e.FinalStepWithConfirmation = "FinalStepWithConfirmation", e.NextStepWithConfirmation = "NextStepWithConfirmation", e.ValidationError = "ValidationError", e.Undefined = "Undefined", e))(J || {});
4486
- const ce = new vt(), nt = new Hs();
4486
+ const ce = new vt(), nt = new qs();
4487
4487
  export {
4488
- Gs as ApplicationStatus,
4489
- Xi as AsyncProcessStatus,
4490
- jo as Communication,
4488
+ zs as ApplicationStatus,
4489
+ Ji as AsyncProcessStatus,
4490
+ Uo as Communication,
4491
4491
  ke as CoreError,
4492
- Ss as DisplayListRow,
4492
+ ks as DisplayListRow,
4493
4493
  nt as EventBus,
4494
4494
  N as Filter,
4495
- Si as ListDataController,
4495
+ ki as ListDataController,
4496
4496
  ce as Manager,
4497
- ve as MetadataStore,
4498
- mo as ModalListDownload,
4499
- ho as ModalVersionHistory,
4497
+ we as MetadataStore,
4498
+ ho as ModalListDownload,
4499
+ yo as ModalVersionHistory,
4500
4500
  Ot as NotificationSystem,
4501
4501
  ar as OBJECT_TYPE_NAME_FIELD,
4502
- qs as RecordOperation,
4503
- po as WidgetAction,
4504
- so as WidgetButton,
4505
- fo as WidgetFastTable,
4502
+ Gs as RecordOperation,
4503
+ go as WidgetAction,
4504
+ oo as WidgetButton,
4505
+ po as WidgetFastTable,
4506
4506
  li as WidgetFastTableHeadCell,
4507
- uo as WidgetField,
4507
+ fo as WidgetField,
4508
4508
  We as WidgetIcon,
4509
- lo as WidgetImage,
4510
- co as WidgetList,
4509
+ co as WidgetImage,
4510
+ uo as WidgetList,
4511
4511
  Ct as WidgetLoader,
4512
- oo as WidgetMultiButton,
4513
- go as WidgetResolverEntity,
4512
+ lo as WidgetMultiButton,
4513
+ mo as WidgetResolverEntity,
4514
4514
  ct as WidgetSpinner,
4515
4515
  Ir as WidgetTable,
4516
4516
  mi as WidgetTablePanelFilterItem,
4517
4517
  Oe as asyncProcess,
4518
- me as authService,
4518
+ he as authService,
4519
4519
  Me as billingService,
4520
4520
  K as catchUniversal,
4521
- ao as config,
4521
+ so as config,
4522
4522
  R as configuration,
4523
4523
  O as constants,
4524
- So as convertDDToDMS,
4525
- Ao as convertDMSToDD,
4524
+ ko as convertDDToDMS,
4525
+ So as convertDMSToDD,
4526
4526
  zt as convertListConfig,
4527
- Io as coreUtils,
4528
- ta as debounce,
4529
- io as documentsService,
4530
- yo as downloadDocumentBuilderFile,
4531
- Ho as fileService,
4527
+ Oo as coreUtils,
4528
+ na as debounce,
4529
+ ao as documentsService,
4530
+ vo as downloadDocumentBuilderFile,
4531
+ qo as fileService,
4532
4532
  Be as formatter,
4533
4533
  Ce as getCellName,
4534
4534
  ot as getCellValue,
4535
4535
  kn as getEntityLink,
4536
4536
  un as getNamesFromListConfig,
4537
- ko as getPathForResolveRouter,
4537
+ Io as getPathForResolveRouter,
4538
4538
  In as getPrimaryFieldNameForEntity,
4539
4539
  Dt as getUnitValue,
4540
- vo as groupArrayByField,
4541
- Uo as historyService,
4542
- Ri as injectAction,
4543
- Bo as internationalizationService,
4544
- ro as invitationService,
4545
- zs as isUUID,
4546
- Yi as openBlobFile,
4547
- Wo as openService,
4540
+ wo as groupArrayByField,
4541
+ Wo as historyService,
4542
+ Li as injectAction,
4543
+ Ho as internationalizationService,
4544
+ io as invitationService,
4545
+ Ks as isUUID,
4546
+ Xi as openBlobFile,
4547
+ Bo as openService,
4548
4548
  on as parseError,
4549
- Co as parseTextByMarkdown,
4549
+ Ao as parseTextByMarkdown,
4550
4550
  gt as prettyDate,
4551
4551
  sn as prettyDateWithTime,
4552
- Zi as prettyMoney,
4552
+ ea as prettyMoney,
4553
4553
  Ut as prettyValueFieldByEntity,
4554
4554
  re as request,
4555
4555
  nn as setupListRow,
4556
- pa as staticLink,
4557
- be as t,
4558
- bo as throttle,
4559
- fa as universalBatchUpdate,
4560
- To as universalEntityCount,
4561
- oa as universalEntityCreate,
4562
- la as universalEntityDelete,
4556
+ ga as staticLink,
4557
+ de as t,
4558
+ _o as throttle,
4559
+ da as universalBatchUpdate,
4560
+ Co as universalEntityCount,
4561
+ la as universalEntityCreate,
4562
+ ca as universalEntityDelete,
4563
4563
  De as universalEntityRead,
4564
4564
  dn as universalEntityResolve,
4565
4565
  cn as universalEntityUpdate,
4566
- da as universalHistoryRead,
4567
- sa as universalListSettingRead,
4568
- _o as universalMetadataFieldTreat,
4569
- Eo as universalMetadataListRead,
4570
- ua as universalToolRead,
4571
- xo as useActions,
4572
- $o as useCommunication,
4573
- Fo as useEnter,
4574
- No as useFormEntity,
4575
- Oo as useListActiveRow,
4576
- js as useListDownload,
4577
- Ro as useListEntity,
4578
- Po as useListSearch,
4579
- Do as useListSelect,
4566
+ pa as universalHistoryRead,
4567
+ oa as universalListSettingRead,
4568
+ Eo as universalMetadataFieldTreat,
4569
+ To as universalMetadataListRead,
4570
+ fa as universalToolRead,
4571
+ Fo as useActions,
4572
+ No as useCommunication,
4573
+ Do as useEnter,
4574
+ xo as useFormEntity,
4575
+ Ro as useListActiveRow,
4576
+ Us as useListDownload,
4577
+ Lo as useListEntity,
4578
+ Vo as useListSearch,
4579
+ Po as useListSelect,
4580
4580
  hr as useLocalStorage,
4581
- Lo as useManagerState,
4581
+ $o as useManagerState,
4582
4582
  ft as useMetadata,
4583
4583
  Qr as useMetadataField,
4584
4584
  H as useSocket,
4585
4585
  Rn as useUsageContext,
4586
4586
  rn as useVisibleItem,
4587
- Vo as useWizard,
4588
- wo as uuidv4,
4587
+ Mo as useWizard,
4588
+ bo as uuidv4,
4589
4589
  $n as valuesToUpperCase,
4590
- va as wrapToolResponse
4590
+ wa as wrapToolResponse
4591
4591
  };
4592
4592
  //# sourceMappingURL=eservices-core.es.js.map