eservices-core 2.0.0-beta.26 → 2.0.0-beta.28

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,12 +1,12 @@
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_center,.text-center{text-align:center}.text_bold,.text-bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.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-1{gap:.25rem}.gap-2{gap:.5rem}.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-row:hover{background-color:var(--color-table-row-hover)!important}.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:auto}.overflow_hidden,.overflow-hidden{overflow:hidden}.padding-2{padding:.5rem}.padding-4{padding:1rem}.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-end{justify-content:end}.es-flex-justify-between{justify-content:space-between}.es-flex-align-center{align-items:center}.es-flex-wrap{flex-wrap:wrap}.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}.es-gap-40{gap:40px}.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;inset: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-end{text-align:end}.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}html{--border: gray;--list-even: #eaeaea;--color-foreground-primary: white;--bg-primary: black;--bg-muted: #efefef;--color-background: white;--radius: 4px;--color-table-row-hover: #e1eaff}.justify-between{justify-content:space-between}.justify-end{justify-content:end}.items-center{align-items:center}.border{border:1px solid var(--border)}table tr:nth-child(2n){background-color:var(--list-even)}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--bg-primary)}.text-foreground-primary{color:var(--color-foreground-primary)}.hover\\:bg-muted:hover{background-color:var(--bg-muted)}.rounded,.rounded-md{border-radius:var(--radius)}button{cursor:pointer;background-color:transparent;border:0;font-size:inherit}.z-20{z-index:20}.gap-4{gap:1rem}.py-2{padding-block:.5rem}.overflow-auto{overflow:auto}.widget-table__head-cell[data-v-c38f0514]{padding:18px;text-align:start}.widget-table__head-label[data-v-c38f0514]{font-weight:600;font-size:14px;line-height:19px}.widget-filter-text[data-v-fa027ed2]{padding:20px 10px}.widget-filter-enum-item[data-v-289c337f]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-289c337f]:hover{background-color:#f1f1f1}.widget-filter-number[data-v-c6ced356]{padding:4px 6px}.widget-filter-enum-item[data-v-0a58f1a9]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-0a58f1a9]:hover{background-color:#f1f1f1}.widget-calendar[data-v-d128d4e4]{width:250px;padding:10px;border-radius:var(--vf-input-border-radius);background-color:var(--vf-input-background)}.widget-calendar-days-name[data-v-d128d4e4]{padding:10px 0 0}.widget-calendar-days-name-elem[data-v-d128d4e4]{width:33px}.widget-calendar-main-item[data-v-d128d4e4]{width:14.2857%;margin-block-start:10px;padding-inline-end:3px}.calendar-date_active[data-v-d128d4e4]:before{position:absolute;content:"";background-color:var(--color-primary)!important;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #3E3E3E;border-radius:2px}.calendar-date_current[data-v-d128d4e4]:before{position:absolute;content:"";background:#ccc;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #B3B3B3;border-radius:2px}.calendar-date_shadow[data-v-d128d4e4]{color:var(--color-disabled)!important}.calendar-date_focus[data-v-d128d4e4]{background-color:#143d8d1a}.widget-calendar-between[data-v-e406768b]{grid-template-columns:min-content min-content;grid-template-rows:min-content min-content;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-navigation[data-v-e406768b]{grid-column:1 / 3}[dir=rtl] .icon[data-v-8fa10642]{transform:scaleX(-1)}.widget-spinner[data-v-0ae13719],.widget-spinner[data-v-0ae13719]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ae13719]{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-0ae13719 1.1s infinite linear}@keyframes spinnerAnimation-0ae13719{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-f1548273]{position:relative}.widget-button-spinner[data-v-f1548273]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-8355c2cc]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-8355c2cc]{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-8355c2cc]{grid-template-rows:calc(var(--button-size) * var(--v580e5706))}.widget-multi-button-body[data-v-8355c2cc]{min-width:80px}.widget-multi-button-body-label[data-v-8355c2cc]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-8355c2cc]:hover{background-color:#223296}.widget-multi-button-side[data-v-8355c2cc]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-8355c2cc]{transform:rotate(180deg)}.widget-multi-button-side[data-v-8355c2cc]:hover{background-color:#223296}.widget-head-cell[data-v-8f80639b]{display:flex;gap:4px}.widget-head-cell-order[data-v-8f80639b]{display:flex;flex-direction:column;justify-content:center;gap:2px}.widget-head-cell-label[data-v-8f80639b]{cursor:pointer}.widget-fast-table-head-cell-td[data-v-8f80639b]{padding:7px}.widget-head-cell-order-icon[data-v-8f80639b]{transition:.1s;height:18px;width:18px}.widget-head-cell-order-icon_desc[data-v-8f80639b],.widget-filter-item-arrow[data-v-7eee148c]{transform:rotate(180deg)}.widget-filter-item-label_active[data-v-7eee148c]{font-weight:700}.widget-filter-item[data-v-7eee148c]{display:grid;grid-template-columns:max-content max-content;align-items:center;cursor:pointer;padding:0 10px;color:#fff}.widget-filter-item[data-v-7eee148c]:not(.widget-filter-item_active){opacity:.6}.widget-filter-item-label[data-v-7eee148c]{-webkit-user-select:none;user-select:none;padding:4px 2px 4px 8px}.widget-filter-item-arrow[data-v-7eee148c]{transition:.2s}.widget-filter-item-popup[data-v-bf6f28a4]{box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-table-search[data-v-1e3cb116]{gap:5px;padding:0 10px 0 12px}.widget-table-search-icon[data-v-1e3cb116]{align-self:center}.widget-table-search-input[data-v-1e3cb116]{outline:none;background-color:transparent;border:0;padding:6px 5px;font-size:16px}.widget-table-panel-filter[data-v-13532976]{justify-content:space-between;background-color:var(--color-primary)}button[data-v-08398d18]{min-width:32px}.widget-fast-table[data-v-6bbf6f7c]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr);gap:15px}.widget-fast-table-body[data-v-6bbf6f7c]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr)}.widget-fast-table-head[data-v-6bbf6f7c]{display:grid;gap:15px}.main-table[data-v-6bbf6f7c]{overflow:auto}.input-wrapper[data-v-49a9392a]{height:var(--vf-input-height);max-height:var(--vf-input-height);line-height:var(--vf-input-height);padding-inline-start:8px;border:var(--vf-input-border);border-radius:var(--vf-input-border-radius);color:var(--vf-input-color);background-color:#fff;outline:none;font-size:var(--vf-input-font-size);white-space:nowrap;text-overflow:ellipsis}.input-wrapper_disabled[data-v-49a9392a]{background-color:var(--vf-input-background-disabled);cursor:default!important}.container-reference_error[data-v-49a9392a]{border:1px solid var(--vf-input-error)}.version-item[data-v-0d4940e4]{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-0d4940e4]{white-space:nowrap}.line-clamp_5[data-v-0d4940e4]{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-header[data-v-78fbd430]{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-78fbd430]{display:flex;flex-direction:column-reverse;overflow:auto}.wrap-modal-version-history[data-v-78fbd430]{min-height:380px}@media screen and (min-width: 756px){.wrap-modal-version-history[data-v-78fbd430]{min-width:800px;max-width:1000px}}.wrap-history[data-v-78fbd430]{height:100%;overflow:auto}.widget-table[data-v-177face9]{height:100%;min-height:350px}')),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('html{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box}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_center,.text-center{text-align:center}.text_bold,.text-bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.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-1{gap:.25rem}.gap-2{gap:.5rem}.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-row:hover{background-color:var(--color-table-row-hover)!important}.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:auto}.overflow_hidden,.overflow-hidden{overflow:hidden}.padding-2{padding:.5rem}.padding-4{padding:1rem}.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-end{justify-content:end}.es-flex-justify-between{justify-content:space-between}.es-flex-align-center{align-items:center}.es-flex-wrap{flex-wrap:wrap}.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}.es-gap-40{gap:40px}.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;inset: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-end{text-align:end}.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}.justify-between{justify-content:space-between}.justify-end{justify-content:end}.items-center{align-items:center}.border{border:1px solid var(--border)}table tr:nth-child(2n){background-color:var(--list-even)}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--bg-primary)}.text-foreground-primary{color:var(--color-foreground-primary)}.hover\\:bg-muted:hover{background-color:var(--bg-muted)}.rounded,.rounded-md{border-radius:var(--radius)}button{cursor:pointer;background-color:transparent;border:0;font-size:inherit}.z-20{z-index:20}.gap-4{gap:1rem}.py-2{padding-block:.5rem}.overflow-auto{overflow:auto}.widget-table__head-cell[data-v-c38f0514]{padding:18px;text-align:start}.widget-table__head-label[data-v-c38f0514]{font-weight:600;font-size:14px;line-height:19px}.widget-filter-text[data-v-fa027ed2]{padding:20px 10px}.widget-filter-enum-item[data-v-289c337f]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-289c337f]:hover{background-color:#f1f1f1}.widget-filter-number[data-v-c6ced356]{padding:4px 6px}.widget-filter-enum-item[data-v-0a58f1a9]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-0a58f1a9]:hover{background-color:#f1f1f1}.widget-calendar[data-v-d128d4e4]{width:250px;padding:10px;border-radius:var(--vf-input-border-radius);background-color:var(--vf-input-background)}.widget-calendar-days-name[data-v-d128d4e4]{padding:10px 0 0}.widget-calendar-days-name-elem[data-v-d128d4e4]{width:33px}.widget-calendar-main-item[data-v-d128d4e4]{width:14.2857%;margin-block-start:10px;padding-inline-end:3px}.calendar-date_active[data-v-d128d4e4]:before{position:absolute;content:"";background-color:var(--color-primary)!important;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #3E3E3E;border-radius:2px}.calendar-date_current[data-v-d128d4e4]:before{position:absolute;content:"";background:#ccc;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #B3B3B3;border-radius:2px}.calendar-date_shadow[data-v-d128d4e4]{color:var(--color-disabled)!important}.calendar-date_focus[data-v-d128d4e4]{background-color:#143d8d1a}.widget-calendar-between[data-v-e406768b]{grid-template-columns:min-content min-content;grid-template-rows:min-content min-content;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-navigation[data-v-e406768b]{grid-column:1 / 3}[dir=rtl] .icon[data-v-8fa10642]{transform:scaleX(-1)}.widget-spinner[data-v-0ae13719],.widget-spinner[data-v-0ae13719]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ae13719]{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-0ae13719 1.1s infinite linear}@keyframes spinnerAnimation-0ae13719{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-f1548273]{position:relative}.widget-button-spinner[data-v-f1548273]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-8355c2cc]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-8355c2cc]{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-8355c2cc]{grid-template-rows:calc(var(--button-size) * var(--v580e5706))}.widget-multi-button-body[data-v-8355c2cc]{min-width:80px}.widget-multi-button-body-label[data-v-8355c2cc]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-8355c2cc]:hover{background-color:#223296}.widget-multi-button-side[data-v-8355c2cc]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-8355c2cc]{transform:rotate(180deg)}.widget-multi-button-side[data-v-8355c2cc]:hover{background-color:#223296}.widget-head-cell[data-v-8f80639b]{display:flex;gap:4px}.widget-head-cell-order[data-v-8f80639b]{display:flex;flex-direction:column;justify-content:center;gap:2px}.widget-head-cell-label[data-v-8f80639b]{cursor:pointer}.widget-fast-table-head-cell-td[data-v-8f80639b]{padding:7px}.widget-head-cell-order-icon[data-v-8f80639b]{transition:.1s;height:18px;width:18px}.widget-head-cell-order-icon_desc[data-v-8f80639b],.widget-filter-item-arrow[data-v-7eee148c]{transform:rotate(180deg)}.widget-filter-item-label_active[data-v-7eee148c]{font-weight:700}.widget-filter-item[data-v-7eee148c]{display:grid;grid-template-columns:max-content max-content;align-items:center;cursor:pointer;padding:0 10px;color:#fff}.widget-filter-item[data-v-7eee148c]:not(.widget-filter-item_active){opacity:.6}.widget-filter-item-label[data-v-7eee148c]{-webkit-user-select:none;user-select:none;padding:4px 2px 4px 8px}.widget-filter-item-arrow[data-v-7eee148c]{transition:.2s}.widget-filter-item-popup[data-v-bf6f28a4]{box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-table-search[data-v-1e3cb116]{gap:5px;padding:0 10px 0 12px}.widget-table-search-icon[data-v-1e3cb116]{align-self:center}.widget-table-search-input[data-v-1e3cb116]{outline:none;background-color:transparent;border:0;padding:6px 5px;font-size:16px}.widget-table-panel-filter[data-v-13532976]{justify-content:space-between;background-color:var(--color-primary)}button[data-v-9f02248e]{min-width:32px}.widget-fast-table[data-v-ce82d9aa]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr);gap:15px}.widget-fast-table-body[data-v-ce82d9aa]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr)}.widget-fast-table-head[data-v-ce82d9aa]{display:grid;gap:15px}.main-table[data-v-ce82d9aa]{overflow:auto}.input-wrapper[data-v-49a9392a]{height:var(--vf-input-height);max-height:var(--vf-input-height);line-height:var(--vf-input-height);padding-inline-start:8px;border:var(--vf-input-border);border-radius:var(--vf-input-border-radius);color:var(--vf-input-color);background-color:#fff;outline:none;font-size:var(--vf-input-font-size);white-space:nowrap;text-overflow:ellipsis}.input-wrapper_disabled[data-v-49a9392a]{background-color:var(--vf-input-background-disabled);cursor:default!important}.container-reference_error[data-v-49a9392a]{border:1px solid var(--vf-input-error)}.version-item[data-v-0d4940e4]{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-0d4940e4]{white-space:nowrap}.line-clamp_5[data-v-0d4940e4]{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-header[data-v-78fbd430]{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-78fbd430]{display:flex;flex-direction:column-reverse;overflow:auto}.wrap-modal-version-history[data-v-78fbd430]{min-height:380px}@media screen and (min-width: 756px){.wrap-modal-version-history[data-v-78fbd430]{min-width:800px;max-width:1000px}}.wrap-history[data-v-78fbd430]{height:100%;overflow:auto}.widget-table[data-v-177face9]{height:100%;min-height:350px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { utils as Ee, FormField as ve, Form as $e, ComputedValue as Mt, InputField as Vt } from "jenesius-vue-form";
3
- import { defineComponent as F, createElementBlock as S, openBlock as E, createBlock as D, unref as h, toDisplayString as G, computed as I, Fragment as le, renderList as be, renderSlot as _e, mergeProps as Fe, onMounted as Ie, watch as me, resolveComponent as ae, createElementVNode as A, createVNode as L, withCtx as $, createTextVNode as ne, reactive as pe, inject as Ne, provide as qe, ref as N, normalizeClass as he, h as ue, resolveDynamicComponent as lt, useSlots as zn, createCommentVNode as re, normalizeStyle as pn, useCssVars as Xn, getCurrentInstance as gn, onUnmounted as Ze, watchEffect as Jn, onBeforeUnmount as Qn, nextTick as _t, Teleport as hn, Comment as Zn, cloneVNode as er, readonly as tr } from "vue";
3
+ import { defineComponent as F, createElementBlock as S, openBlock as E, createBlock as D, unref as g, toDisplayString as K, computed as I, Fragment as ce, renderList as be, renderSlot as _e, mergeProps as Fe, onMounted as Ie, watch as pe, resolveComponent as ae, createElementVNode as A, createVNode as L, withCtx as $, createTextVNode as ne, reactive as ge, inject as Ne, provide as qe, ref as N, normalizeClass as he, h as de, resolveDynamicComponent as lt, useSlots as zn, createCommentVNode as re, normalizeStyle as pn, useCssVars as Xn, getCurrentInstance as gn, onUnmounted as Ze, watchEffect as Jn, onBeforeUnmount as Qn, nextTick as _t, Teleport as hn, Comment as Zn, cloneVNode as er, readonly as tr } from "vue";
4
4
  import { RouterLink as nr, useRouter as et, useRoute as rr } from "vue-router";
5
5
  import { promptModal as Ge, openModal as it, getComponentFromStore as yn, pushModal as ar, Modal as vn, onBeforeModalClose as ir, popModal as Ut, closeModal as sr } from "jenesius-vue-modal";
6
6
  import Ct from "date-and-time";
7
7
  import kt from "debug";
8
8
  /*!
9
- * eservices-core v2.0.0-beta.26
9
+ * eservices-core v2.0.0-beta.28
10
10
  * (c) 2025 ESERVICES
11
11
  */
12
12
  var Ke = /* @__PURE__ */ ((t) => (t.success = "success", t.error = "error", t.info = "info", t.warning = "warning", t))(Ke || {});
@@ -551,10 +551,10 @@ const fr = { class: "widget-table__head-cell" }, mr = {
551
551
  n("select");
552
552
  }
553
553
  return (i, r) => (E(), S("th", fr, [
554
- t.type === "multi-select" ? (E(), D(h(ve), {
554
+ t.type === "multi-select" ? (E(), D(g(ve), {
555
555
  key: 0,
556
556
  onClick: a
557
- })) : (E(), S("span", mr, G(t.label), 1))
557
+ })) : (E(), S("span", mr, K(t.label), 1))
558
558
  ]));
559
559
  }
560
560
  }), pr = { class: "widget-table__head" }, gr = /* @__PURE__ */ F({
@@ -564,7 +564,7 @@ const fr = { class: "widget-table__head-cell" }, mr = {
564
564
  },
565
565
  setup(t) {
566
566
  return I(() => bn), (e, n) => (E(), S("tr", pr, [
567
- (E(!0), S(le, null, be(t.config, (a) => _e(e.$slots, "default", Fe({ ref_for: !0 }, a), void 0, !0)), 256))
567
+ (E(!0), S(ce, null, be(t.config, (a) => _e(e.$slots, "default", Fe({ ref_for: !0 }, a), void 0, !0)), 256))
568
568
  ]));
569
569
  }
570
570
  }), Z = (t, e) => {
@@ -646,17 +646,17 @@ const yr = { class: "widget-filter-text flex-column gap_10" }, vr = { class: "fl
646
646
  function c() {
647
647
  a("clear");
648
648
  }
649
- return me(() => n.values, (u) => i.setValues(u || o()), { immediate: !0 }), (u, d) => {
649
+ return pe(() => n.values, (u) => i.setValues(u || o()), { immediate: !0 }), (u, d) => {
650
650
  const s = ae("widget-button");
651
651
  return E(), S("div", yr, [
652
652
  A("div", vr, [
653
- L(h(ve), {
653
+ L(g(ve), {
654
654
  name: "text",
655
655
  type: "text",
656
656
  label: "Search"
657
657
  })
658
658
  ]),
659
- L(h(ve), {
659
+ L(g(ve), {
660
660
  name: "option",
661
661
  type: "radio",
662
662
  options: r
@@ -667,13 +667,13 @@ const yr = { class: "widget-filter-text flex-column gap_10" }, vr = { class: "fl
667
667
  type: "primary"
668
668
  }, {
669
669
  default: $(() => [
670
- ne(G(h(X)("Apply")), 1)
670
+ ne(K(g(z)("Apply")), 1)
671
671
  ]),
672
672
  _: 1
673
673
  }),
674
674
  L(s, { onClick: c }, {
675
675
  default: $(() => [
676
- ne(G(h(X)("Clear")), 1)
676
+ ne(K(g(z)("Clear")), 1)
677
677
  ]),
678
678
  _: 1
679
679
  })
@@ -864,7 +864,7 @@ class V {
864
864
  }
865
865
  }
866
866
  const En = "request-error", _r = 1, Cr = 5e3, Tr = 4e3, _n = 45e3;
867
- class fe {
867
+ class me {
868
868
  /**
869
869
  * @description Чтение одиночной записи с использованием первичного ключа.
870
870
  *
@@ -928,7 +928,7 @@ class fe {
928
928
  * @param catalogId Строковый CatalogId
929
929
  */
930
930
  static getEntityIdByCatalogId(e, n) {
931
- return fe.readOne(e, {
931
+ return me.readOne(e, {
932
932
  fields: "Id",
933
933
  primaryKey: n
934
934
  }).then((a) => a.Id);
@@ -999,8 +999,8 @@ class Ir {
999
999
  });
1000
1000
  }
1001
1001
  }
1002
- const oe = (function() {
1003
- const e = pe({}), n = /* @__PURE__ */ new Map();
1002
+ const le = (function() {
1003
+ const e = ge({}), n = /* @__PURE__ */ new Map();
1004
1004
  function a(l) {
1005
1005
  return e[l];
1006
1006
  }
@@ -1031,15 +1031,15 @@ class qt {
1031
1031
  * @param entity
1032
1032
  */
1033
1033
  static getPrimaryFieldNameForEntity(e) {
1034
- const n = oe.get(e);
1034
+ const n = le.get(e);
1035
1035
  if (!n) throw new Error(`Metadata ${e} is still missing.`);
1036
1036
  return n.useCatalogInsteadId ? "CatalogId" : n.fieldNameForIdentification;
1037
1037
  }
1038
1038
  }
1039
1039
  function dt(t) {
1040
1040
  if (!t) return Ne(P.PROVIDE_NAME_METADATA);
1041
- oe.initEntity(t);
1042
- const e = I(() => oe.state[t]);
1041
+ le.initEntity(t);
1042
+ const e = I(() => le.state[t]);
1043
1043
  return qe(P.PROVIDE_NAME_METADATA, e), qe(P.PROVIDE_ENTITY_NAME, t), e;
1044
1044
  }
1045
1045
  const xr = { class: "widget-filter-enum" }, kr = { class: "flex gap-10 padding-10" }, Rr = /* @__PURE__ */ F({
@@ -1058,7 +1058,7 @@ const xr = { class: "widget-filter-enum" }, kr = { class: "flex gap-10 padding-1
1058
1058
  return s.includes(d) ? o("update:values", s.filter((y) => y !== d)) : o("update:values", [...s, d]);
1059
1059
  }
1060
1060
  const c = Re(async () => {
1061
- a.value = await fe.readMany(n.baseEntity, {
1061
+ a.value = await me.readMany(n.baseEntity, {
1062
1062
  fields: n.filterMetadata.name.join(" "),
1063
1063
  order: [n.filterMetadata.name[1], "asc"],
1064
1064
  distinct: !0,
@@ -1071,26 +1071,26 @@ const xr = { class: "widget-filter-enum" }, kr = { class: "flex gap-10 padding-1
1071
1071
  function u() {
1072
1072
  o("update:values", []);
1073
1073
  }
1074
- return me(() => c.loading, (d) => {
1074
+ return pe(() => c.loading, (d) => {
1075
1075
  o("readProcess", d ? "start" : "end");
1076
- }, { immediate: !0 }), me(() => i.value, () => {
1076
+ }, { immediate: !0 }), pe(() => i.value, () => {
1077
1077
  c.loading || c.call();
1078
1078
  }, { immediate: !0 }), (d, s) => {
1079
1079
  const y = ae("widget-button");
1080
1080
  return E(), S("div", xr, [
1081
1081
  A("div", kr, [
1082
1082
  L(y, {
1083
- label: h(X)("Reload filter"),
1084
- loading: h(c).loading || !1,
1083
+ label: g(z)("Reload filter"),
1084
+ loading: g(c).loading || !1,
1085
1085
  icon: "reload",
1086
- onClick: s[0] || (s[0] = () => h(c).call())
1086
+ onClick: s[0] || (s[0] = () => g(c).call())
1087
1087
  }, null, 8, ["label", "loading"]),
1088
1088
  L(y, {
1089
- label: h(X)("Clear"),
1089
+ label: g(z)("Clear"),
1090
1090
  onClick: u
1091
1091
  }, null, 8, ["label"])
1092
1092
  ]),
1093
- (E(!0), S(le, null, be(a.value, (m) => (E(), D(h(ve), {
1093
+ (E(!0), S(ce, null, be(a.value, (m) => (E(), D(g(ve), {
1094
1094
  class: "widget-filter-enum-item",
1095
1095
  key: m.value,
1096
1096
  onClick: () => l(m.value),
@@ -1101,7 +1101,7 @@ const xr = { class: "widget-filter-enum" }, kr = { class: "flex gap-10 padding-1
1101
1101
  ]);
1102
1102
  };
1103
1103
  }
1104
- }), Or = /* @__PURE__ */ Z(Rr, [["__scopeId", "data-v-289c337f"]]), We = pe({});
1104
+ }), Or = /* @__PURE__ */ Z(Rr, [["__scopeId", "data-v-289c337f"]]), We = ge({});
1105
1105
  function Lr() {
1106
1106
  Wt(), setInterval(Wt, 50);
1107
1107
  }
@@ -1130,7 +1130,7 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1130
1130
  const l = i.getValueByName("min"), c = i.getValueByName("max");
1131
1131
  return a("update:values", { min: l, max: c });
1132
1132
  }, 800);
1133
- i.onvalue(r), me(() => n.values, () => {
1133
+ i.onvalue(r), pe(() => n.values, () => {
1134
1134
  n.values && i.setValues(n.values);
1135
1135
  }, { immediate: !0 });
1136
1136
  function o() {
@@ -1140,12 +1140,12 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1140
1140
  const u = ae("widget-button");
1141
1141
  return E(), S("div", Fr, [
1142
1142
  A("div", Nr, [
1143
- L(h(ve), {
1143
+ L(g(ve), {
1144
1144
  name: "min",
1145
1145
  label: "More than",
1146
1146
  type: "number"
1147
1147
  }),
1148
- L(h(ve), {
1148
+ L(g(ve), {
1149
1149
  name: "max",
1150
1150
  label: "Less than",
1151
1151
  type: "number"
@@ -1188,16 +1188,16 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1188
1188
  return E(), S("div", Mr, [
1189
1189
  A("div", Vr, [
1190
1190
  L(d, {
1191
- label: h(X)("Reload filter"),
1191
+ label: g(z)("Reload filter"),
1192
1192
  icon: "reload",
1193
1193
  onClick: u[0] || (u[0] = () => c.readOptions.call())
1194
1194
  }, null, 8, ["label"]),
1195
1195
  L(d, {
1196
- label: h(X)("Clear"),
1196
+ label: g(z)("Clear"),
1197
1197
  onClick: l
1198
1198
  }, null, 8, ["label"])
1199
1199
  ]),
1200
- (E(!0), S(le, null, be(a.value, (s) => (E(), D(h(ve), {
1200
+ (E(!0), S(ce, null, be(a.value, (s) => (E(), D(g(ve), {
1201
1201
  class: "widget-filter-enum-item",
1202
1202
  key: s.value,
1203
1203
  onClick: () => o(s.value),
@@ -1225,19 +1225,19 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1225
1225
  });
1226
1226
  const o = Mt(r, "month"), l = Mt(r, "year");
1227
1227
  function c(p) {
1228
- const g = new Date(p).getMonth();
1229
- return o.value === g;
1228
+ const h = new Date(p).getMonth();
1229
+ return o.value === h;
1230
1230
  }
1231
1231
  const u = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], d = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sub"], s = {
1232
- months: u.map((p, g) => ({ label: X(p), value: g })),
1233
- days: d.map((p, g) => ({ label: X(p), value: g })),
1234
- years: Array.from({ length: 60 }, (p, g) => ({
1235
- value: 1990 + g,
1236
- label: String(1990 + g)
1232
+ months: u.map((p, h) => ({ label: z(p), value: h })),
1233
+ days: d.map((p, h) => ({ label: z(p), value: h })),
1234
+ years: Array.from({ length: 60 }, (p, h) => ({
1235
+ value: 1990 + h,
1236
+ label: String(1990 + h)
1237
1237
  }))
1238
1238
  }, y = I(() => {
1239
- const p = [], g = new Date(l.value, Number(o.value) + 1, 0).getDate(), b = new Date(l.value, o.value, 1).getDay(), f = new Date(l.value, Number(o.value), 1 - b);
1240
- let v = b + g > 35 ? 42 : 35;
1239
+ const p = [], h = new Date(l.value, Number(o.value) + 1, 0).getDate(), b = new Date(l.value, o.value, 1).getDay(), f = new Date(l.value, Number(o.value), 1 - b);
1240
+ let v = b + h > 35 ? 42 : 35;
1241
1241
  for (let w = 0; w < v; w++)
1242
1242
  p.push({
1243
1243
  label: f.getDate().toString(),
@@ -1249,16 +1249,16 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1249
1249
  a("update:modelValue", p);
1250
1250
  }
1251
1251
  const _ = (/* @__PURE__ */ new Date()).toDateString();
1252
- return (p, g) => (E(), S("div", jr, [
1252
+ return (p, h) => (E(), S("div", jr, [
1253
1253
  A("div", Br, [
1254
- L(h(Vt), {
1254
+ L(g(Vt), {
1255
1255
  name: "month",
1256
1256
  type: "select",
1257
1257
  options: s.months,
1258
1258
  placeholder: "Month",
1259
1259
  class: "flex-grow"
1260
1260
  }, null, 8, ["options"]),
1261
- L(h(Vt), {
1261
+ L(g(Vt), {
1262
1262
  name: "year",
1263
1263
  type: "select",
1264
1264
  options: s.years,
@@ -1267,23 +1267,23 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1267
1267
  ]),
1268
1268
  A("div", qr, [
1269
1269
  A("div", Wr, [
1270
- (E(!0), S(le, null, be(s.days, (b, f) => (E(), S("span", {
1270
+ (E(!0), S(ce, null, be(s.days, (b, f) => (E(), S("span", {
1271
1271
  class: "widget-calendar-days-name-elem es-text-md es-text-bold es-text-center",
1272
1272
  key: f
1273
- }, G(b.label), 1))), 128))
1273
+ }, K(b.label), 1))), 128))
1274
1274
  ]),
1275
1275
  A("div", Hr, [
1276
- (E(!0), S(le, null, be(y.value, (b, f) => (E(), S("div", {
1276
+ (E(!0), S(ce, null, be(y.value, (b, f) => (E(), S("div", {
1277
1277
  class: he(["widget-calendar-main-item es-position-relative es-cursor-pointer es-text-md es-text-end", {
1278
1278
  "calendar-date_active color-light ": b.value === i.value.toDateString(),
1279
- "calendar-date_current": b.value === h(_),
1279
+ "calendar-date_current": b.value === g(_),
1280
1280
  "calendar-date_shadow": !c(b.value),
1281
1281
  [t.functionDateClass?.(b.value) || ""]: !0
1282
1282
  }]),
1283
1283
  key: f,
1284
1284
  onClick: (v) => m(b.value)
1285
1285
  }, [
1286
- A("span", Kr, G(b.label), 1)
1286
+ A("span", Kr, K(b.label), 1)
1287
1287
  ], 10, Gr))), 128))
1288
1288
  ])
1289
1289
  ])
@@ -1330,10 +1330,10 @@ const Fr = { class: "widget-filter-number flex-column es-gap-10" }, Nr = { class
1330
1330
  functionDateClass: r
1331
1331
  }, null, 8, ["model-value"])),
1332
1332
  A("div", Xr, [
1333
- A("p", Jr, G(a.value), 1),
1333
+ A("p", Jr, K(a.value), 1),
1334
1334
  L(d, {
1335
1335
  onClick: l,
1336
- label: h(X)("Revert")
1336
+ label: g(z)("Revert")
1337
1337
  }, null, 8, ["label"])
1338
1338
  ])
1339
1339
  ]);
@@ -1383,14 +1383,14 @@ const ea = {
1383
1383
  n = n.replace(/\s+/g, "");
1384
1384
  } catch {
1385
1385
  }
1386
- return () => ue(U.iconTag, {
1386
+ return () => de(U.iconTag, {
1387
1387
  class: U.iconHandler ? U.iconHandler(n) : `icon icon-${n}`
1388
1388
  }, U.iconHandlerText(n));
1389
1389
  }
1390
1390
  }, ze = /* @__PURE__ */ Z(ea, [["__scopeId", "data-v-8fa10642"]]), ta = kt(Ot("setup-list-row"));
1391
1391
  function na(t, e) {
1392
1392
  const n = t.config.map((a) => ra(a, t, e));
1393
- return ue("tr", { class: "widget-table__row widget-table-row" }, n);
1393
+ return de("tr", { class: "widget-table__row widget-table-row" }, n);
1394
1394
  }
1395
1395
  function ra(t, e, n) {
1396
1396
  const a = e.values;
@@ -1408,25 +1408,25 @@ function ra(t, e, n) {
1408
1408
  Array.isArray(d) ? r.class.push(...d) : r.class.push(d);
1409
1409
  }
1410
1410
  const c = [], u = [];
1411
- if (t.hide && t.hide(a)) return [ue("td")];
1411
+ if (t.hide && t.hide(a)) return [de("td")];
1412
1412
  if (t.type)
1413
1413
  switch (l(`widget-table-cell_${t.type}`), t.type) {
1414
1414
  case "multi-select": {
1415
- u.push(ue(ve, {
1415
+ u.push(de(ve, {
1416
1416
  type: "single-checkbox",
1417
1417
  modelValue: e.selected
1418
1418
  })), o(Yt.bind(null, n, !0));
1419
1419
  break;
1420
1420
  }
1421
1421
  case "select": {
1422
- u.push(ue(ve, {
1422
+ u.push(de(ve, {
1423
1423
  type: "single-radio",
1424
1424
  modelValue: e.selected
1425
1425
  })), o(Yt.bind(null, n, !1));
1426
1426
  break;
1427
1427
  }
1428
1428
  case "row-number": {
1429
- u.push(ue("p", {}, a.rowNumber));
1429
+ u.push(de("p", {}, a.rowNumber));
1430
1430
  break;
1431
1431
  }
1432
1432
  }
@@ -1434,18 +1434,18 @@ function ra(t, e, n) {
1434
1434
  try {
1435
1435
  const d = t.link(a);
1436
1436
  if (d) {
1437
- const s = ue(nr, { to: d });
1437
+ const s = de(nr, { to: d });
1438
1438
  u.push(s), l("widget-table-cell_link");
1439
1439
  }
1440
1440
  } catch (d) {
1441
1441
  ta("Can't add router link", d);
1442
1442
  }
1443
- if (t.href && (u.push(ue("a", {
1443
+ if (t.href && (u.push(de("a", {
1444
1444
  href: t.href(a),
1445
1445
  target: "_blank"
1446
- })), l("widget-table-cell_link")), (typeof i == "string" || typeof i == "number") && u.push(ue("p", { class: "widget-list-cell-text" }, i)), t.icon && (typeof t.icon == "string" && u.push(ue(ze, { name: t.icon })), typeof t.icon == "function")) {
1446
+ })), l("widget-table-cell_link")), (typeof i == "string" || typeof i == "number") && u.push(de("p", { class: "widget-list-cell-text" }, i)), t.icon && (typeof t.icon == "string" && u.push(de(ze, { name: t.icon })), typeof t.icon == "function")) {
1447
1447
  const d = t.icon(a);
1448
- d !== null && u.push(ue(ze, { name: d }));
1448
+ d !== null && u.push(de(ze, { name: d }));
1449
1449
  }
1450
1450
  return t.class && (typeof t.class == "function" ? l(t.class(a)) : l(t.class)), U.listCellHandler && (console.log("listCellHandler is deprecated. Please use coreUtils.addListCellHandler instead."), U.listCellHandler(t, a, {
1451
1451
  cellNodeChildren: u,
@@ -1457,7 +1457,7 @@ function ra(t, e, n) {
1457
1457
  addClass: l,
1458
1458
  addHandleClick: o,
1459
1459
  context: n
1460
- })), c.push(ue("td", r, u)), c;
1460
+ })), c.push(de("td", r, u)), c;
1461
1461
  }
1462
1462
  function Yt(t, e) {
1463
1463
  t.emit("select", e);
@@ -1530,8 +1530,8 @@ const ia = {
1530
1530
  if (!n.selectedRows) return;
1531
1531
  if (!_)
1532
1532
  return i(gt, n.selectedRows.includes(m) ? [] : [m]);
1533
- const p = [...n.selectedRows], g = p.indexOf(m);
1534
- return g === -1 ? p.push(m) : p.splice(g, 1), i(gt, p);
1533
+ const p = [...n.selectedRows], h = p.indexOf(m);
1534
+ return h === -1 ? p.push(m) : p.splice(h, 1), i(gt, p);
1535
1535
  }
1536
1536
  function u(m) {
1537
1537
  i(oa, m);
@@ -1545,7 +1545,7 @@ const ia = {
1545
1545
  (p) => ![null, ""].includes(ct(_, p))
1546
1546
  ) : !0) : m;
1547
1547
  });
1548
- me(() => n.activeRow, (m, _) => {
1548
+ pe(() => n.activeRow, (m, _) => {
1549
1549
  m === null && typeof _ == "number" && setTimeout(() => {
1550
1550
  if (!a.value) return;
1551
1551
  const p = a.value.querySelector(`tbody>tr:nth-child(${_ + 1})`) || a.value;
@@ -1583,17 +1583,17 @@ const ia = {
1583
1583
  }, 8, ["config"])
1584
1584
  ]),
1585
1585
  A("tbody", null, [
1586
- (E(!0), S(le, null, be(t.array, (p, g) => (E(), S(le, { key: g }, [
1586
+ (E(!0), S(ce, null, be(t.array, (p, h) => (E(), S(ce, { key: h }, [
1587
1587
  L(ia, Fe({
1588
- test: g,
1588
+ test: h,
1589
1589
  config: s.value,
1590
1590
  values: p,
1591
1591
  selected: t.selectedRows.includes(p),
1592
1592
  onSelect: (b) => c(p, b),
1593
- onActivate: (b) => u(g),
1594
- class: t.classCallback ? t.classCallback(p, g) : ""
1593
+ onActivate: (b) => u(h),
1594
+ class: t.classCallback ? t.classCallback(p, h) : ""
1595
1595
  }, { ref_for: !0 }, y(p)), null, 16, ["test", "config", "values", "selected", "onSelect", "onActivate", "class"]),
1596
- o.value && t.activeRow === g ? (E(), D(zt, {
1596
+ o.value && t.activeRow === h ? (E(), D(zt, {
1597
1597
  key: 0,
1598
1598
  component: o.value,
1599
1599
  "row-length": t.config.length,
@@ -1603,7 +1603,7 @@ const ia = {
1603
1603
  "is-new": !1
1604
1604
  }, null, 8, ["component", "row-length", "values"])) : re("", !0)
1605
1605
  ], 64))), 128)),
1606
- t.activeRow === h(P).LIST_ACTIVE_NEW ? (E(), D(zt, {
1606
+ t.activeRow === g(P).LIST_ACTIVE_NEW ? (E(), D(zt, {
1607
1607
  key: 0,
1608
1608
  component: o.value,
1609
1609
  "row-length": s.value.length,
@@ -1651,7 +1651,7 @@ const ia = {
1651
1651
  Xn((o) => ({
1652
1652
  v580e5706: a.value
1653
1653
  }));
1654
- const e = t, n = pe({
1654
+ const e = t, n = ge({
1655
1655
  active: !1,
1656
1656
  wait: !1
1657
1657
  }), a = I(() => e.array.length + (e.label ? 1 : 0));
@@ -1673,24 +1673,24 @@ const ia = {
1673
1673
  key: 0,
1674
1674
  class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
1675
1675
  onClick: l[0] || (l[0] = (c) => r())
1676
- }, G(t.label), 1)) : re("", !0),
1677
- (E(!0), S(le, null, be(t.array, (c, u) => (E(), S("p", {
1676
+ }, K(t.label), 1)) : re("", !0),
1677
+ (E(!0), S(ce, null, be(t.array, (c, u) => (E(), S("p", {
1678
1678
  class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
1679
1679
  key: u,
1680
1680
  onClick: (d) => {
1681
1681
  i(c.callback), r(!1);
1682
1682
  }
1683
- }, G(c.label), 9, pa))), 128))
1683
+ }, K(c.label), 9, pa))), 128))
1684
1684
  ]),
1685
1685
  A("div", ga, [
1686
1686
  A("div", {
1687
1687
  class: he(["grid-center widget-multi-button-side", n.active ? "widget-multi-button-side_active" : null]),
1688
1688
  onClick: l[1] || (l[1] = (c) => r())
1689
1689
  }, [
1690
- n.wait ? (E(), D(h(ft), {
1690
+ n.wait ? (E(), D(g(ft), {
1691
1691
  key: 0,
1692
1692
  class: "widget-multi-button-side-spinner"
1693
- })) : t.array.length > 1 ? (E(), D(h(ze), {
1693
+ })) : t.array.length > 1 ? (E(), D(g(ze), {
1694
1694
  key: 1,
1695
1695
  class: "widget-multi-button-side-icon"
1696
1696
  }, {
@@ -1715,7 +1715,7 @@ const ia = {
1715
1715
  color: "var(--primary)",
1716
1716
  class: "padding_10"
1717
1717
  }),
1718
- A("span", va, G(t.label), 1)
1718
+ A("span", va, K(t.label), 1)
1719
1719
  ]));
1720
1720
  }
1721
1721
  }), ba = ["alt", "src"], eo = /* @__PURE__ */ F({
@@ -1742,7 +1742,7 @@ const ia = {
1742
1742
  function Cn() {
1743
1743
  const t = I(() => Object.keys(n).length === 0 || Object.values(n).includes(!0)), e = gn()?.uid;
1744
1744
  if (!e) throw "Undefined instance. Please check it.";
1745
- const n = pe({});
1745
+ const n = ge({});
1746
1746
  qe(P.VISIBLE_ITEM_PROVIDE_NAME, {
1747
1747
  show(r) {
1748
1748
  n[r] = !0;
@@ -1789,11 +1789,11 @@ function wa(t, e = Ne(P.PROVIDE_ENTITY_NAME)) {
1789
1789
  return t.split(".").reduce((r, o, l, c) => l === c.length - 1 ? r : r.then(() => {
1790
1790
  const u = i.value?.fieldsByName[o]?.referencedEntity;
1791
1791
  if (!u) throw new Error("---");
1792
- return oe.initEntity(u).then(() => u);
1792
+ return le.initEntity(u).then(() => u);
1793
1793
  }).then((u) => {
1794
- i.value = oe.get(u), n.entity = u, n.name = c[l + 1];
1795
- }), Promise.resolve().then(() => oe.initEntity(n.entity)).then(() => {
1796
- i.value = oe.get(n.entity);
1794
+ i.value = le.get(u), n.entity = u, n.name = c[l + 1];
1795
+ }), Promise.resolve().then(() => le.initEntity(n.entity)).then(() => {
1796
+ i.value = le.get(n.entity);
1797
1797
  })).finally(() => a.value = !0), I(() => {
1798
1798
  if (!a.value || !i.value) return;
1799
1799
  const r = i.value.fieldsByName[n.name];
@@ -1845,7 +1845,7 @@ const to = /* @__PURE__ */ F({
1845
1845
  return "text";
1846
1846
  }
1847
1847
  const u = I(() => e.usageContext ? o.value?.canGet === !0 : !0), { controller: d } = Cn();
1848
- return me(() => u.value, (s) => s ? d.show() : d.hide(), { immediate: !0 }), Ze(() => d.remove()), (s, y) => u.value ? (E(), D(h(ve), Fe({ key: 0 }, { ...s.$attrs, ...i.value }, { name: t.name }), null, 16, ["name"])) : re("", !0);
1848
+ return pe(() => u.value, (s) => s ? d.show() : d.hide(), { immediate: !0 }), Ze(() => d.remove()), (s, y) => u.value ? (E(), D(g(ve), Fe({ key: 0 }, { ...s.$attrs, ...i.value }, { name: t.name }), null, 16, ["name"])) : re("", !0);
1849
1849
  }
1850
1850
  });
1851
1851
  function Ea(t) {
@@ -1895,12 +1895,12 @@ const _a = ["fill"], Ca = /* @__PURE__ */ F({
1895
1895
  class: he(["widget-head-cell", [t.type === "multi-select" ? "justify-content-center" : ""]]),
1896
1896
  onClick: l[0] || (l[0] = (c) => i("order", t.name))
1897
1897
  }, [
1898
- t.type === "multi-select" ? (E(), D(h(ve), {
1898
+ t.type === "multi-select" ? (E(), D(g(ve), {
1899
1899
  key: 0,
1900
1900
  "model-value": t.isFullSelected,
1901
1901
  onClick: r,
1902
1902
  type: "single-checkbox"
1903
- }, null, 8, ["model-value"])) : (E(), S("span", Aa, G(t.label), 1)),
1903
+ }, null, 8, ["model-value"])) : (E(), S("span", Aa, K(t.label), 1)),
1904
1904
  a.value === t.order?.[0] ? (E(), S("div", Sa, [
1905
1905
  L(Ca, {
1906
1906
  color: "var(--color-primary)",
@@ -1922,7 +1922,7 @@ function Ra(t, e, {
1922
1922
  closeOnWindowBlur: o = !1,
1923
1923
  deferClose: l = !0
1924
1924
  } = {}) {
1925
- const c = () => ka(t).map(h).filter((w) => !!w), u = (w) => {
1925
+ const c = () => ka(t).map(g).filter((w) => !!w), u = (w) => {
1926
1926
  const T = c(), x = w.composedPath?.();
1927
1927
  if (x)
1928
1928
  return T.some((R) => x.includes(R));
@@ -1940,18 +1940,18 @@ function Ra(t, e, {
1940
1940
  w.key === "Escape" && s(w);
1941
1941
  }, p = (w) => {
1942
1942
  r && (u(w) || s(w));
1943
- }, g = (w) => {
1943
+ }, h = (w) => {
1944
1944
  o && s(w);
1945
1945
  }, b = (w, T, x = !0) => {
1946
1946
  document.addEventListener(w, T, x);
1947
1947
  }, f = () => {
1948
- a.forEach((w) => b(w, y)), b("click", m), i && b("keydown", _), r && b("focusin", p), o && b("blur", g);
1948
+ a.forEach((w) => b(w, y)), b("click", m), i && b("keydown", _), r && b("focusin", p), o && b("blur", h);
1949
1949
  }, v = () => {
1950
- a.forEach((w) => document.removeEventListener(w, y, !0)), document.removeEventListener("click", m, !0), document.removeEventListener("keydown", _, !0), document.removeEventListener("focusin", p, !0), window.removeEventListener("blur", g);
1950
+ a.forEach((w) => document.removeEventListener(w, y, !0)), document.removeEventListener("click", m, !0), document.removeEventListener("keydown", _, !0), document.removeEventListener("focusin", p, !0), window.removeEventListener("blur", h);
1951
1951
  };
1952
1952
  return Ie(() => {
1953
1953
  Jn((w) => {
1954
- h(n) ? f() : v(), w(v);
1954
+ g(n) ? f() : v(), w(v);
1955
1955
  });
1956
1956
  }), Qn(v), { isEventInside: u };
1957
1957
  }
@@ -1998,8 +1998,8 @@ const [mt, Oa] = $t("popper"), Tn = /* @__PURE__ */ F({
1998
1998
  const _ = a.value?.offsetHeight ?? 300;
1999
1999
  l.bottom + _ > c && (m = l.top + d - _ - 4);
2000
2000
  let p = l.left + s;
2001
- const g = a.value?.offsetWidth || l.width;
2002
- console.log(l.left, s, g, a.value?.offsetWidth), console.log(p + g, u - y), p + g > u - y && (p = u - g - y), m = Math.max(0, Math.min(m, d + c - 50)), i.value = {
2001
+ const h = a.value?.offsetWidth || l.width;
2002
+ console.log(l.left, s, h, a.value?.offsetWidth), console.log(p + h, u - y), p + h > u - y && (p = u - h - y), m = Math.max(0, Math.min(m, d + c - 50)), i.value = {
2003
2003
  position: "fixed",
2004
2004
  top: `${m + 2}px`,
2005
2005
  left: `${p}px`,
@@ -2010,14 +2010,14 @@ const [mt, Oa] = $t("popper"), Tn = /* @__PURE__ */ F({
2010
2010
  "overflow-y": "auto"
2011
2011
  };
2012
2012
  };
2013
- return me(n, (l) => {
2013
+ return pe(n, (l) => {
2014
2014
  l ? _t(() => {
2015
2015
  o(), window.addEventListener("scroll", o, !0), window.addEventListener("resize", o);
2016
2016
  }) : (window.removeEventListener("scroll", o, !0), window.removeEventListener("resize", o));
2017
- }), me(a, () => o()), Ze(() => {
2017
+ }), pe(a, () => o()), Ze(() => {
2018
2018
  window.removeEventListener("scroll", o, !0), window.removeEventListener("resize", o);
2019
2019
  }), (l, c) => (E(), D(hn, { to: "body" }, [
2020
- h(n) ? (E(), S("div", {
2020
+ g(n) ? (E(), S("div", {
2021
2021
  key: 0,
2022
2022
  ref: r,
2023
2023
  class: "min-w-max border rounded-md bg-background shadow-md z-20",
@@ -2029,7 +2029,7 @@ const [mt, Oa] = $t("popper"), Tn = /* @__PURE__ */ F({
2029
2029
  }
2030
2030
  });
2031
2031
  function Sn(t) {
2032
- return t ? t.flatMap((e) => e.type === le ? Sn(e.children) : [e]) : [];
2032
+ return t ? t.flatMap((e) => e.type === ce ? Sn(e.children) : [e]) : [];
2033
2033
  }
2034
2034
  const La = {
2035
2035
  name: "PrimitiveSlot",
@@ -2063,7 +2063,7 @@ const La = {
2063
2063
  },
2064
2064
  setup(t, { attrs: e, slots: n }) {
2065
2065
  const a = t.asChild ? "template" : t.as;
2066
- return typeof a == "string" && $a.includes(a) ? () => ue(a, e) : a !== "template" ? () => ue(t.as, e, { default: n.default }) : () => ue(La, e, { default: n.default });
2066
+ return typeof a == "string" && $a.includes(a) ? () => de(a, e) : a !== "template" ? () => de(t.as, e, { default: n.default }) : () => de(La, e, { default: n.default });
2067
2067
  }
2068
2068
  };
2069
2069
  function Fa() {
@@ -2099,8 +2099,8 @@ const xn = /* @__PURE__ */ F({
2099
2099
  a.refTriggerElement = n;
2100
2100
  }), (i, r) => (E(), D(In, {
2101
2101
  "as-child": "",
2102
- onClick: r[0] || (r[0] = () => h(a).setOpen()),
2103
- ref: h(e)
2102
+ onClick: r[0] || (r[0] = () => g(a).setOpen()),
2103
+ ref: g(e)
2104
2104
  }, {
2105
2105
  default: $(() => [
2106
2106
  _e(i.$slots, "default")
@@ -2133,18 +2133,18 @@ const xn = /* @__PURE__ */ F({
2133
2133
  },
2134
2134
  setup(t) {
2135
2135
  const { open: e } = mt();
2136
- return (n, a) => (E(), D(h(xn), {
2136
+ return (n, a) => (E(), D(g(xn), {
2137
2137
  class: he(["widget-filter-item", { "widget-filter-item_active": t.isActiveFilter }])
2138
2138
  }, {
2139
2139
  default: $(() => [
2140
2140
  A("button", null, [
2141
2141
  A("span", {
2142
2142
  class: he(["widget-filter-item-label", { "widget-filter-item-label_active": t.isActiveFilter }])
2143
- }, G(h(X)(t.label)), 3),
2143
+ }, K(g(z)(t.label)), 3),
2144
2144
  t.loading ? (E(), D(ft, { key: 0 })) : (E(), D(Da, {
2145
2145
  key: 1,
2146
2146
  color: "white",
2147
- class: he({ "widget-filter-item-arrow": h(e) })
2147
+ class: he({ "widget-filter-item-arrow": g(e) })
2148
2148
  }, null, 8, ["class"]))
2149
2149
  ])
2150
2150
  ]),
@@ -2169,16 +2169,16 @@ const xn = /* @__PURE__ */ F({
2169
2169
  l.value = u === "start";
2170
2170
  }
2171
2171
  const l = N(!1), c = I(() => Array.isArray(n.values) || typeof n.values == "string" ? n.values.length > 0 : !!n.values);
2172
- return (u, d) => (E(), D(h(Tn), { class: "widget-filter-item-container grid" }, {
2172
+ return (u, d) => (E(), D(g(Tn), { class: "widget-filter-item-container grid" }, {
2173
2173
  default: $(() => [
2174
2174
  L(Ma, {
2175
2175
  label: t.filterItem.label,
2176
2176
  "is-active-filter": c.value,
2177
2177
  loading: l.value
2178
2178
  }, null, 8, ["label", "is-active-filter", "loading"]),
2179
- L(h(An), { class: "widget-filter-item-popup" }, {
2179
+ L(g(An), { class: "widget-filter-item-popup" }, {
2180
2180
  default: $(() => [
2181
- r.value ? (E(), D(lt(h(i)?.[r.value]), {
2181
+ r.value ? (E(), D(lt(g(i)?.[r.value]), {
2182
2182
  key: 0,
2183
2183
  "filter-metadata": t.filterItem,
2184
2184
  values: t.values,
@@ -2222,7 +2222,7 @@ const xn = /* @__PURE__ */ F({
2222
2222
  alt: "Searching for data in a table",
2223
2223
  value: t.modelValue,
2224
2224
  onInput: a,
2225
- placeholder: h(X)("Filter by random text")
2225
+ placeholder: g(z)("Filter by random text")
2226
2226
  }, null, 40, Ba)
2227
2227
  ]));
2228
2228
  }
@@ -2255,14 +2255,14 @@ const xn = /* @__PURE__ */ F({
2255
2255
  "onUpdate:modelValue": l[0] || (l[0] = (c) => a("update:search", c))
2256
2256
  }, null, 8, ["model-value"]),
2257
2257
  A("div", Ga, [
2258
- (E(!0), S(le, null, be(t.filtersConfig, (c, u) => (E(), D(Ua, {
2258
+ (E(!0), S(ce, null, be(t.filtersConfig, (c, u) => (E(), D(Ua, {
2259
2259
  key: u,
2260
2260
  entity: t.entity,
2261
2261
  "filter-item": c,
2262
- values: t.filters?.[h(je)(c)],
2262
+ values: t.filters?.[g(je)(c)],
2263
2263
  filters: t.filters,
2264
- "onUpdate:values": (d) => i(h(je)(c), d),
2265
- onClear: (d) => r(h(je)(c))
2264
+ "onUpdate:values": (d) => i(g(je)(c), d),
2265
+ onClear: (d) => r(g(je)(c))
2266
2266
  }, null, 8, ["entity", "filter-item", "values", "filters", "onUpdate:values", "onClear"]))), 128))
2267
2267
  ])
2268
2268
  ]));
@@ -2316,27 +2316,27 @@ const xn = /* @__PURE__ */ F({
2316
2316
  callback: () => i("new")
2317
2317
  }
2318
2318
  ], o = Ne(P.PROVIDE_NAME_ACTIONS, null), l = I(
2319
- () => (Array.isArray(n.tools) ? n.tools : []).reduce((p, g) => (g.name === "*" ? p.push(...r.map((b) => ({
2319
+ () => (Array.isArray(n.tools) ? n.tools : []).reduce((p, h) => (h.name === "*" ? p.push(...r.map((b) => ({
2320
2320
  ...b,
2321
2321
  system: !0
2322
- }))) : p.push(g), p), [])
2322
+ }))) : p.push(h), p), [])
2323
2323
  );
2324
2324
  function c(p) {
2325
- return r.find((g) => g.name === p.name);
2325
+ return r.find((h) => h.name === p.name);
2326
2326
  }
2327
2327
  function u(p) {
2328
2328
  return {
2329
2329
  ...p,
2330
2330
  label: p.label || "Batch delete",
2331
2331
  callback: async () => {
2332
- const g = n.metadata, b = g.name, f = n.selectedRows || [];
2332
+ const h = n.metadata, b = h.name, f = n.selectedRows || [];
2333
2333
  if (n.selectedRows.length === 0) return ot.add(Ke.error, "Kindly select at least one record to delete");
2334
2334
  if (!await Ge(P.MODAL_CONFIRM, {
2335
2335
  message: `Confirm deletion of ${n.selectedRows.length} entries.`
2336
2336
  })) return;
2337
2337
  const w = qt.getPrimaryFieldNameForEntity(b), T = f.map((x) => ({
2338
2338
  primaryKey: x[w],
2339
- version: g.versioned ? x.Version : void 0
2339
+ version: h.versioned ? x.Version : void 0
2340
2340
  }));
2341
2341
  await Bt.delete(b, {
2342
2342
  elements: T
@@ -2353,8 +2353,8 @@ const xn = /* @__PURE__ */ F({
2353
2353
  ...p,
2354
2354
  label: p.label || "Batch update",
2355
2355
  callback: async () => {
2356
- const g = n.metadata, b = g.name, f = n.selectedRows || [];
2357
- if (n.selectedRows.length === 0) return ot.add(Ke.error, X("Kindly select at least one record to update"));
2356
+ const h = n.metadata, b = h.name, f = n.selectedRows || [];
2357
+ if (n.selectedRows.length === 0) return ot.add(Ke.error, z("Kindly select at least one record to update"));
2358
2358
  const v = await Ge(P.MODAL_BATCH_VALUES, {
2359
2359
  entity: b,
2360
2360
  availableFields: p.availableFields || []
@@ -2362,7 +2362,7 @@ const xn = /* @__PURE__ */ F({
2362
2362
  if (!v) return;
2363
2363
  const w = qt.getPrimaryFieldNameForEntity(b), T = f.map((x) => ({
2364
2364
  primaryKey: x[w],
2365
- version: g.versioned ? x.Version : void 0
2365
+ version: h.versioned ? x.Version : void 0
2366
2366
  }));
2367
2367
  await Bt.update(b, {
2368
2368
  values: v,
@@ -2385,15 +2385,15 @@ const xn = /* @__PURE__ */ F({
2385
2385
  return {
2386
2386
  ...p,
2387
2387
  callback: () => {
2388
- const g = W.staticLink(p.filename);
2389
- W.downloadFile(g, {
2388
+ const h = W.staticLink(p.filename);
2389
+ W.downloadFile(h, {
2390
2390
  blank: !0
2391
2391
  });
2392
2392
  }
2393
2393
  };
2394
2394
  }
2395
2395
  const m = I(() => {
2396
- const p = o?.actions?.value || [], g = [];
2396
+ const p = o?.actions?.value || [], h = [];
2397
2397
  return l.value.forEach((b) => {
2398
2398
  if (!(typeof b.override == "string" && !p.find((f) => f.name === b.override))) {
2399
2399
  if (c(b)) {
@@ -2403,41 +2403,41 @@ const xn = /* @__PURE__ */ F({
2403
2403
  const v = Object.assign({}, f, {
2404
2404
  callback: () => f.callback(b.params || {})
2405
2405
  });
2406
- return g.push(v);
2406
+ return h.push(v);
2407
2407
  }
2408
2408
  }
2409
- if (b.name === "redirect") return g.push(s(b));
2410
- if (b.name === "batch-update") return g.push(d(b));
2411
- if (b.name === "batch-delete" && n.metadata.canDelete) return g.push(u(b));
2412
- if (b.name === "static-file") return g.push(y(b));
2409
+ if (b.name === "redirect") return h.push(s(b));
2410
+ if (b.name === "batch-update") return h.push(d(b));
2411
+ if (b.name === "batch-delete" && n.metadata.canDelete) return h.push(u(b));
2412
+ if (b.name === "static-file") return h.push(y(b));
2413
2413
  {
2414
2414
  const f = p.find((v) => v.name === b.name);
2415
2415
  if (f)
2416
- return g.push({
2416
+ return h.push({
2417
2417
  label: f.title,
2418
2418
  ...b,
2419
2419
  callback: () => _(f)
2420
2420
  });
2421
2421
  }
2422
2422
  }
2423
- }), Array.isArray(n.externalTools) && g.push(...n.externalTools), g.map((b) => ({
2423
+ }), Array.isArray(n.externalTools) && h.push(...n.externalTools), h.map((b) => ({
2424
2424
  ...b,
2425
2425
  process: Re(b.callback)
2426
2426
  }));
2427
2427
  });
2428
2428
  function _(p) {
2429
- const g = p.action.parameters.find((f) => f.dataTypeName === "IntegerArray")?.name, b = {};
2430
- return g && (b[g] = n.selectedRows.map((f) => {
2429
+ const h = p.action.parameters.find((f) => f.dataTypeName === "IntegerArray")?.name, b = {};
2430
+ return h && (b[h] = n.selectedRows.map((f) => {
2431
2431
  if (!(typeof f == "object" && f !== null)) return null;
2432
2432
  const v = n.metadata.fieldNameForIdentification;
2433
2433
  return v ? f[v] : null;
2434
2434
  })), p.callback(b);
2435
2435
  }
2436
- return (p, g) => {
2436
+ return (p, h) => {
2437
2437
  const b = ae("widget-button");
2438
2438
  return E(), S("div", za, [
2439
- (E(!0), S(le, null, be(m.value, (f) => (E(), D(b, {
2440
- label: h(X)(f.label),
2439
+ (E(!0), S(ce, null, be(m.value, (f) => (E(), D(b, {
2440
+ label: g(z)(f.label),
2441
2441
  title: f.name,
2442
2442
  icon: f.icon,
2443
2443
  type: f.buttonStyle,
@@ -2452,7 +2452,7 @@ const xn = /* @__PURE__ */ F({
2452
2452
  function Ja(t, e) {
2453
2453
  const n = $r(), a = et();
2454
2454
  let i = N(null);
2455
- const r = pe({
2455
+ const r = ge({
2456
2456
  entity: null,
2457
2457
  mark: null,
2458
2458
  settings: null
@@ -2503,7 +2503,7 @@ function Ja(t, e) {
2503
2503
  ...r.settings?.prefilters || {},
2504
2504
  ...w
2505
2505
  };
2506
- }), g = I(
2506
+ }), h = I(
2507
2507
  () => r.settings?.filters || []
2508
2508
  ), b = I(() => r.settings?.label || null), f = I(() => r.settings?.tools || []), v = I(() => !Ee.isEmptyObject(s.value));
2509
2509
  return {
@@ -2516,7 +2516,7 @@ function Ja(t, e) {
2516
2516
  configuration: s,
2517
2517
  update: o,
2518
2518
  computedPrefilter: p,
2519
- computedFiltersConfiguration: g,
2519
+ computedFiltersConfiguration: h,
2520
2520
  get cellConfig() {
2521
2521
  return r.settings ? cn(r.entity, r.settings.config, {
2522
2522
  router: a,
@@ -2569,8 +2569,8 @@ const ei = {
2569
2569
  },
2570
2570
  setup(t) {
2571
2571
  return (e, n) => (E(), S("div", null, [
2572
- t.globalCount ? (E(), S("span", ei, G(h(X)("Total number of records / on display")) + " " + G(t.globalCount) + " / " + G(t.displayedCount) + ". ", 1)) : re("", !0),
2573
- t.selectedCount ? (E(), S("span", ti, G(h(X)("Number of selected records")) + " " + G(t.selectedCount) + ".", 1)) : re("", !0)
2572
+ t.globalCount ? (E(), S("span", ei, K(g(z)("table_pagination_information", t.globalCount, t.displayedCount)) + ".", 1)) : re("", !0),
2573
+ t.selectedCount ? (E(), S("span", ti, K(g(z)("Number of selected records")) + " " + K(t.selectedCount) + ".", 1)) : re("", !0)
2574
2574
  ]));
2575
2575
  }
2576
2576
  }), [kn, ri] = $t("select"), Rn = /* @__PURE__ */ F({
@@ -2589,7 +2589,7 @@ const ei = {
2589
2589
  return ri({
2590
2590
  setValue: i,
2591
2591
  value: r
2592
- }), (o, l) => (E(), D(h(Tn), null, {
2592
+ }), (o, l) => (E(), D(g(Tn), null, {
2593
2593
  default: $(() => [
2594
2594
  _e(o.$slots, "default")
2595
2595
  ]),
@@ -2640,7 +2640,7 @@ const ei = {
2640
2640
  return (n, a) => (E(), D(xn, null, {
2641
2641
  default: $(() => [
2642
2642
  A("button", ai, [
2643
- h(e) ? (E(), S("span", ii, G(h(e)), 1)) : _e(n.$slots, "default", {
2643
+ g(e) ? (E(), S("span", ii, K(g(e)), 1)) : _e(n.$slots, "default", {
2644
2644
  key: 1,
2645
2645
  class: "text-muted-foreground"
2646
2646
  }),
@@ -2676,60 +2676,60 @@ const ei = {
2676
2676
  u[8] || (u[8] = A("span", null, null, -1)),
2677
2677
  A("div", oi, [
2678
2678
  A("button", {
2679
- class: he(["padding-2 rounded border", h(i) === 0 ? "" : "hover:bg-muted"]),
2680
- disabled: h(i) === 0,
2681
- onClick: u[0] || (u[0] = (d) => l(h(i) - 1))
2679
+ class: he(["padding-2 rounded border", g(i) === 0 ? "" : "hover:bg-muted"]),
2680
+ disabled: g(i) === 0,
2681
+ onClick: u[0] || (u[0] = (d) => l(g(i) - 1))
2682
2682
  }, " ‹ ", 10, li),
2683
- (E(!0), S(le, null, be(o.value, (d) => (E(), S("button", {
2683
+ (E(!0), S(ce, null, be(o.value, (d) => (E(), S("button", {
2684
2684
  key: d,
2685
- class: he(["padding-2 rounded border bg-background", d === h(i) ? "bg-primary text-foreground-primary" : "hover:bg-muted"]),
2685
+ class: he(["padding-2 rounded border bg-background", d === g(i) ? "bg-primary text-foreground-primary" : "hover:bg-muted"]),
2686
2686
  onClick: (s) => l(d),
2687
2687
  disabled: d === "..."
2688
- }, G(typeof d == "number" ? d + 1 : d), 11, ci))), 128)),
2688
+ }, K(typeof d == "number" ? d + 1 : d), 11, ci))), 128)),
2689
2689
  A("button", {
2690
- class: he(["padding-2 rounded border", h(i) === r.value - 1 ? "" : "hover:bg-muted"]),
2691
- disabled: h(i) === r.value - 1,
2692
- onClick: u[1] || (u[1] = (d) => l(h(i) + 1))
2690
+ class: he(["padding-2 rounded border", g(i) === r.value - 1 ? "" : "hover:bg-muted"]),
2691
+ disabled: g(i) === r.value - 1,
2692
+ onClick: u[1] || (u[1] = (d) => l(g(i) + 1))
2693
2693
  }, " › ", 10, ui)
2694
2694
  ]),
2695
2695
  A("div", null, [
2696
- L(h(Rn), {
2696
+ L(g(Rn), {
2697
2697
  "onUpdate:modelValue": u[2] || (u[2] = (d) => a.value = d)
2698
2698
  }, {
2699
2699
  default: $(() => [
2700
- L(h(Ln), { class: "widget-button-default border-primary" }, {
2700
+ L(g(Ln), { class: "widget-button-default border-primary" }, {
2701
2701
  default: $(() => [
2702
- ne(G(h(a)) + " items/page", 1)
2702
+ ne(K(g(a)) + " " + K(g(z)("items/page")), 1)
2703
2703
  ]),
2704
2704
  _: 1
2705
2705
  }),
2706
- L(h(On), null, {
2706
+ L(g(On), null, {
2707
2707
  default: $(() => [
2708
- L(h(Ve), { value: "5" }, {
2708
+ L(g(Ve), { value: "5" }, {
2709
2709
  default: $(() => [...u[3] || (u[3] = [
2710
2710
  ne("5", -1)
2711
2711
  ])]),
2712
2712
  _: 1
2713
2713
  }),
2714
- L(h(Ve), { value: "10" }, {
2714
+ L(g(Ve), { value: "10" }, {
2715
2715
  default: $(() => [...u[4] || (u[4] = [
2716
2716
  ne("10", -1)
2717
2717
  ])]),
2718
2718
  _: 1
2719
2719
  }),
2720
- L(h(Ve), { value: "25" }, {
2720
+ L(g(Ve), { value: "25" }, {
2721
2721
  default: $(() => [...u[5] || (u[5] = [
2722
2722
  ne("25", -1)
2723
2723
  ])]),
2724
2724
  _: 1
2725
2725
  }),
2726
- L(h(Ve), { value: "50" }, {
2726
+ L(g(Ve), { value: "50" }, {
2727
2727
  default: $(() => [...u[6] || (u[6] = [
2728
2728
  ne("50", -1)
2729
2729
  ])]),
2730
2730
  _: 1
2731
2731
  }),
2732
- L(h(Ve), { value: "100" }, {
2732
+ L(g(Ve), { value: "100" }, {
2733
2733
  default: $(() => [...u[7] || (u[7] = [
2734
2734
  ne("100", -1)
2735
2735
  ])]),
@@ -2744,29 +2744,29 @@ const ei = {
2744
2744
  ])
2745
2745
  ]));
2746
2746
  }
2747
- }), fi = /* @__PURE__ */ Z(di, [["__scopeId", "data-v-08398d18"]]);
2747
+ }), fi = /* @__PURE__ */ Z(di, [["__scopeId", "data-v-9f02248e"]]);
2748
2748
  function mi(t) {
2749
- const e = N(50), n = N(0), a = N(0), i = N(!1), r = N(!1), o = pe([]), l = Re(y), c = N(ye.Scroll), u = N({});
2749
+ const e = N(50), n = N(0), a = N(0), i = N(!1), r = N(!1), o = ge([]), l = Re(y), c = N(ye.Scroll), u = N({});
2750
2750
  async function d() {
2751
- const g = await ss(t, p());
2752
- return n.value = g.count, g.count;
2751
+ const h = await ss(t, p());
2752
+ return n.value = h.count, h.count;
2753
2753
  }
2754
2754
  async function s() {
2755
2755
  r.value || l.loading || await l.call();
2756
2756
  }
2757
2757
  async function y() {
2758
- const g = await fe.readMany(t, p()).then((b) => b.map((f, v) => (f.rowNumber = v + 1 + e.value * a.value, f)).map(
2758
+ const h = await me.readMany(t, p()).then((b) => b.map((f, v) => (f.rowNumber = v + 1 + e.value * a.value, f)).map(
2759
2759
  (f) => Object.freeze(f)
2760
2760
  ));
2761
2761
  c.value === ye.Scroll ? (o.push(
2762
- ...g
2763
- ), a.value++) : o.splice(0, o.length, ...g), g.length !== e.value && (r.value = !0);
2762
+ ...h
2763
+ ), a.value++) : o.splice(0, o.length, ...h), h.length !== e.value && (r.value = !0);
2764
2764
  }
2765
2765
  function m() {
2766
2766
  return o.splice(0, o.length), a.value = 0, r.value = !1, s();
2767
2767
  }
2768
- function _(g) {
2769
- u.value = g;
2768
+ function _(h) {
2769
+ u.value = h;
2770
2770
  }
2771
2771
  function p() {
2772
2772
  return Object.assign({}, u.value || {}, {
@@ -2774,10 +2774,10 @@ function mi(t) {
2774
2774
  limit: e.value
2775
2775
  });
2776
2776
  }
2777
- return me(() => e.value, () => {
2777
+ return pe(() => e.value, () => {
2778
2778
  if (c.value === ye.Pages)
2779
2779
  return m();
2780
- }), me(() => a.value, () => c.value === ye.Pages && l.call()), {
2780
+ }), pe(() => a.value, () => c.value === ye.Pages && l.call()), {
2781
2781
  init: _,
2782
2782
  countPerPage: e,
2783
2783
  totalCount: n,
@@ -2831,9 +2831,9 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2831
2831
  currentPage: c,
2832
2832
  arrayOfData: y
2833
2833
  });
2834
- const g = I(() => !Array.isArray(i.selectedRows)), b = N([]), f = I(
2834
+ const h = I(() => !Array.isArray(i.selectedRows)), b = N([]), f = I(
2835
2835
  () => {
2836
- const q = new Set(g.value ? b.value : i.selectedRows);
2836
+ const q = new Set(h.value ? b.value : i.selectedRows);
2837
2837
  return R.value.filter(
2838
2838
  (j) => q.has(Ee.getPropFromObject(j, ie.value))
2839
2839
  );
@@ -2843,7 +2843,7 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2843
2843
  const j = q.map(
2844
2844
  (Se) => Ee.getPropFromObject(Se, ie.value)
2845
2845
  );
2846
- if (g.value) return b.value = j;
2846
+ if (h.value) return b.value = j;
2847
2847
  a("update:selectedRows", j);
2848
2848
  }
2849
2849
  const w = N(null), T = I(() => w.value ? R.value.indexOf(w.value[2]) : null);
@@ -2856,25 +2856,25 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2856
2856
  if (C.value.length === 0) return y;
2857
2857
  const q = C.value.toLowerCase();
2858
2858
  return y.filter((j) => !!Te.value.find((Be) => {
2859
- const se = ct(Be, j);
2860
- return typeof se == "string" ? se.toLowerCase().includes(q) : !1;
2859
+ const oe = ct(Be, j);
2860
+ return typeof oe == "string" ? oe.toLowerCase().includes(q) : !1;
2861
2861
  }));
2862
2862
  }
2863
- ), z = N(null), ee = $e.getParentForm(), Q = dt(i.entity), ie = I(() => Q.value.fieldNameForIdentification), { state: Oe, update: Le } = Wn(i.entity, {
2863
+ ), X = N(null), ee = $e.getParentForm(), Q = dt(i.entity), ie = I(() => Q.value.fieldNameForIdentification), { state: Oe, update: Le } = Wn(i.entity, {
2864
2864
  masterEntities: i.masterEntities || []
2865
- }), ge = Re(async () => {
2865
+ }), se = Re(async () => {
2866
2866
  try {
2867
2867
  b.value = [], await u(), await s(), i.disableUsageContext || await Le();
2868
2868
  } catch (q) {
2869
2869
  const { message: j } = Dn(q);
2870
- z.value = j;
2870
+ X.value = j;
2871
2871
  }
2872
2872
  });
2873
2873
  ee instanceof $e && ee.subscribe({
2874
- read: ge.call.bind(null),
2874
+ read: se.call.bind(null),
2875
2875
  name: i.entity,
2876
2876
  type: "table"
2877
- }), me(() => i.mark, () => {
2877
+ }), pe(() => i.mark, () => {
2878
2878
  M.set(i.entity, i.mark);
2879
2879
  });
2880
2880
  function k() {
@@ -2883,36 +2883,36 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2883
2883
  B.simple(i.binding || {})
2884
2884
  );
2885
2885
  }
2886
- const { controller: K } = Cn();
2887
- me(() => Oe.value, (q) => {
2888
- q && (q.canRead ? K.show() : K.hide());
2886
+ const { controller: G } = Cn();
2887
+ pe(() => Oe.value, (q) => {
2888
+ q && (q.canRead ? G.show() : G.hide());
2889
2889
  }, { immediate: !0 });
2890
2890
  let O = [
2891
2891
  Qe.on("affected-entity", (q) => {
2892
- q.name === i.entity && ge.call();
2892
+ q.name === i.entity && se.call();
2893
2893
  }),
2894
2894
  Qe.on("display-entity", async (q) => {
2895
2895
  q.name === i.entity && (d.loading && await d.promise, x(q.name, q.primaryKey, R.value.find((j) => j[ie.value] === q.primaryKey)));
2896
2896
  })
2897
2897
  ];
2898
2898
  Ze(() => {
2899
- O.map((q) => q()), K.remove();
2899
+ O.map((q) => q()), G.remove();
2900
2900
  });
2901
2901
  function H(q) {
2902
- function j(se) {
2903
- return Array.isArray(se) ? j(se[0]) : typeof se != "string" ? null : se;
2902
+ function j(oe) {
2903
+ return Array.isArray(oe) ? j(oe[0]) : typeof oe != "string" ? null : oe;
2904
2904
  }
2905
2905
  const Se = j(q);
2906
2906
  if (!Se) return;
2907
2907
  const Be = M.order;
2908
- ce("order", Be[0] !== Se ? [Se, "asc"] : Be[1] === "desc" ? [] : [Se, "desc"]);
2908
+ ue("order", Be[0] !== Se ? [Se, "asc"] : Be[1] === "desc" ? [] : [Se, "desc"]);
2909
2909
  }
2910
- function ce(q, j) {
2910
+ function ue(q, j) {
2911
2911
  M.update({
2912
2912
  [q]: j
2913
- }), ge.call();
2913
+ }), se.call();
2914
2914
  }
2915
- const Ce = I(() => ge.wait), M = Ja(x, () => {
2915
+ const Ce = I(() => se.wait), M = Ja(x, () => {
2916
2916
  _({
2917
2917
  customFilters: M.customFilters,
2918
2918
  fields: Pn(Te.value).join(" "),
@@ -2922,8 +2922,8 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2922
2922
  useContextFilter: M.state.settings?.useContextFilter
2923
2923
  }), p.value = i.pagination || M.state.settings?.pagination || U.listPaginationType || ye.Scroll;
2924
2924
  }), Te = M.cellConfiguration;
2925
- M.set(i.entity, i.mark), me(() => M.state.settings, () => {
2926
- setTimeout(ge.call, 50);
2925
+ M.set(i.entity, i.mark), pe(() => M.state.settings, () => {
2926
+ setTimeout(se.call, 50);
2927
2927
  });
2928
2928
  const Ae = I(() => M.state.settings);
2929
2929
  e({
@@ -2956,7 +2956,7 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2956
2956
  }
2957
2957
  }
2958
2958
  function Gn() {
2959
- M.clean();
2959
+ M.clean(), se.call();
2960
2960
  }
2961
2961
  function Kn() {
2962
2962
  return {
@@ -2970,66 +2970,66 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
2970
2970
  }, Pt.value);
2971
2971
  });
2972
2972
  function Yn(q) {
2973
- p.value = q, s();
2973
+ p.value = q, se.call();
2974
2974
  }
2975
2975
  return (q, j) => {
2976
2976
  const Se = ae("widget-button"), Be = ae("widget-fast-table-form");
2977
2977
  return E(), S("div", pi, [
2978
2978
  A("div", gi, [
2979
2979
  A("div", null, [
2980
- h(M).computedLabel.value && !t.hideLabel ? (E(), S("p", hi, G(h(X)(h(M).computedLabel.value)), 1)) : re("", !0),
2980
+ g(M).computedLabel.value && !t.hideLabel ? (E(), S("p", hi, K(g(z)(g(M).computedLabel.value)), 1)) : re("", !0),
2981
2981
  t.showInformationBlock ? (E(), D(ni, {
2982
2982
  key: 1,
2983
- "global-count": h(l),
2983
+ "global-count": g(l),
2984
2984
  "selected-count": f.value.length,
2985
2985
  "displayed-count": R.value.length
2986
2986
  }, null, 8, ["global-count", "selected-count", "displayed-count"])) : re("", !0)
2987
2987
  ]),
2988
- h(Q) && !t.hideActions ? (E(), D(Xa, {
2988
+ g(Q) && !t.hideActions ? (E(), D(Xa, {
2989
2989
  key: 0,
2990
- metadata: h(Q),
2991
- tools: h(M).computedTools.value,
2990
+ metadata: g(Q),
2991
+ tools: g(M).computedTools.value,
2992
2992
  loading: Ce.value,
2993
2993
  "selected-rows": f.value || [],
2994
- onReload: h(ge).call,
2994
+ onReload: g(se).call,
2995
2995
  onExport: De,
2996
2996
  onNew: pt,
2997
- "can-create": h(Oe)?.canCreate || !1,
2998
- "can-delete": h(Oe)?.canDelete || !1,
2999
- "can-update": h(Oe)?.canUpdate || !1,
2997
+ "can-create": g(Oe)?.canCreate || !1,
2998
+ "can-delete": g(Oe)?.canDelete || !1,
2999
+ "can-update": g(Oe)?.canUpdate || !1,
3000
3000
  externalTools: t.externalTools || []
3001
3001
  }, {
3002
3002
  default: $(() => [
3003
3003
  _e(q.$slots, "tools", {}, void 0, !0),
3004
- L(h(Rn), { "onUpdate:modelValue": Yn }, {
3004
+ L(g(Rn), { "onUpdate:modelValue": Yn }, {
3005
3005
  default: $(() => [
3006
- L(h(Ln), { class: "widget-button-default border-primary" }, {
3006
+ L(g(Ln), { class: "widget-button-default border-primary" }, {
3007
3007
  default: $(() => [
3008
3008
  A("span", null, [
3009
3009
  j[4] || (j[4] = ne(" Mode: ", -1)),
3010
3010
  A("span", {
3011
- class: he({ "text-bold": h(p) === h(ye).Scroll })
3011
+ class: he({ "text-bold": g(p) === g(ye).Scroll })
3012
3012
  }, "Scroll", 2),
3013
3013
  j[5] || (j[5] = ne(" / ", -1)),
3014
3014
  A("span", {
3015
- class: he({ "text-bold": h(p) === h(ye).Pages })
3015
+ class: he({ "text-bold": g(p) === g(ye).Pages })
3016
3016
  }, "Pages", 2)
3017
3017
  ])
3018
3018
  ]),
3019
3019
  _: 1
3020
3020
  }),
3021
- L(h(On), null, {
3021
+ L(g(On), null, {
3022
3022
  default: $(() => [
3023
- L(h(Ve), {
3024
- value: h(ye).Scroll
3023
+ L(g(Ve), {
3024
+ value: g(ye).Scroll
3025
3025
  }, {
3026
3026
  default: $(() => [...j[6] || (j[6] = [
3027
3027
  ne("Scroll", -1)
3028
3028
  ])]),
3029
3029
  _: 1
3030
3030
  }, 8, ["value"]),
3031
- L(h(Ve), {
3032
- value: h(ye).Pages
3031
+ L(g(Ve), {
3032
+ value: g(ye).Pages
3033
3033
  }, {
3034
3034
  default: $(() => [...j[7] || (j[7] = [
3035
3035
  ne("Bar", -1)
@@ -3042,17 +3042,17 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
3042
3042
  ]),
3043
3043
  _: 1
3044
3044
  }),
3045
- h(M).computedHasLocalConfiguration.value ? (E(), D(Se, {
3045
+ g(M).computedHasLocalConfiguration.value ? (E(), D(Se, {
3046
3046
  key: 0,
3047
3047
  onClick: Gn,
3048
3048
  type: "primary",
3049
- label: h(X)("Clear all filters")
3049
+ label: g(z)("Clear all filters")
3050
3050
  }, null, 8, ["label"])) : re("", !0),
3051
- h(p) === h(ye).Pages && R.value.length ? (E(), D(fi, {
3051
+ g(p) === g(ye).Pages && R.value.length ? (E(), D(fi, {
3052
3052
  key: 1,
3053
3053
  class: "flex-grow",
3054
- "total-count": h(l),
3055
- "current-page": h(c)
3054
+ "total-count": g(l),
3055
+ "current-page": g(c)
3056
3056
  }, null, 8, ["total-count", "current-page"])) : re("", !0)
3057
3057
  ]),
3058
3058
  _: 3
@@ -3061,30 +3061,30 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
3061
3061
  A("div", yi, [
3062
3062
  L(Ya, {
3063
3063
  search: C.value,
3064
- "onUpdate:search": j[0] || (j[0] = (se) => C.value = se),
3064
+ "onUpdate:search": j[0] || (j[0] = (oe) => C.value = oe),
3065
3065
  entity: t.entity,
3066
- "filters-config": h(M).computedFiltersConfiguration.value,
3067
- filters: h(M).computedPrefilter.value,
3068
- "onUpdate:filters": j[1] || (j[1] = (se) => ce("prefilters", se))
3066
+ "filters-config": g(M).computedFiltersConfiguration.value,
3067
+ filters: g(M).computedPrefilter.value,
3068
+ "onUpdate:filters": j[1] || (j[1] = (oe) => ue("prefilters", oe))
3069
3069
  }, null, 8, ["search", "entity", "filters-config", "filters"]),
3070
- L(h(la), {
3071
- config: h(Te),
3070
+ L(g(la), {
3071
+ config: g(Te),
3072
3072
  array: R.value,
3073
3073
  "active-row": T.value,
3074
- "onUpdate:activeRow": j[3] || (j[3] = (se) => w.value = null),
3074
+ "onUpdate:activeRow": j[3] || (j[3] = (oe) => w.value = null),
3075
3075
  onOrder: H,
3076
3076
  class: "table main-table",
3077
3077
  "selected-rows": f.value,
3078
3078
  "onUpdate:selectedRows": v,
3079
3079
  "row-options-handler": Kn
3080
3080
  }, {
3081
- "head-cell": $((se) => [
3081
+ "head-cell": $((oe) => [
3082
3082
  (E(), D(lt(q.$slots["head-cell"] ? q.$slots["head-cell"] : xa), Fe({
3083
- label: se.label
3084
- }, se, {
3083
+ label: oe.label
3084
+ }, oe, {
3085
3085
  onOrder: H,
3086
- order: h(M).computedOrder.value,
3087
- type: se.type,
3086
+ order: g(M).computedOrder.value,
3087
+ type: oe.type,
3088
3088
  "is-full-selected": f.value?.length === R.value?.length && R.value?.length > 0
3089
3089
  }), null, 16, ["label", "order", "type", "is-full-selected"]))
3090
3090
  ]),
@@ -3102,7 +3102,7 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
3102
3102
  "master-entities": t.masterEntities || void 0,
3103
3103
  binding: t.binding,
3104
3104
  onFormUpdate: j[2] || (j[2] = () => {
3105
- w.value = null, h(s)();
3105
+ w.value = null, g(s)();
3106
3106
  })
3107
3107
  }, null, 8, ["entity", "primary-key", "master-entities", "binding"])
3108
3108
  ]),
@@ -3112,7 +3112,7 @@ const pi = { class: "widget-fast-table" }, gi = { class: "widget-fast-table-head
3112
3112
  ]);
3113
3113
  };
3114
3114
  }
3115
- }), Ei = /* @__PURE__ */ Z(wi, [["__scopeId", "data-v-6bbf6f7c"]]);
3115
+ }), Ei = /* @__PURE__ */ Z(wi, [["__scopeId", "data-v-ce82d9aa"]]);
3116
3116
  function _i(t = {}) {
3117
3117
  return V.emit("tool:read", t);
3118
3118
  }
@@ -3222,7 +3222,7 @@ function Li(t, e) {
3222
3222
  }
3223
3223
  function no(t) {
3224
3224
  if (!t) return Ne(P.PROVIDE_NAME_ACTIONS);
3225
- const e = N(!1), n = pe([]), a = I(() => n.map((o) => Ai(t, o))), i = { actions: a, update: r };
3225
+ const e = N(!1), n = ge([]), a = I(() => n.map((o) => Ai(t, o))), i = { actions: a, update: r };
3226
3226
  qe(P.PROVIDE_NAME_ACTIONS, i), t.router = et();
3227
3227
  function r() {
3228
3228
  if (e.value) return;
@@ -3239,7 +3239,7 @@ function no(t) {
3239
3239
  function $i(t, e = {}, n = {}) {
3240
3240
  const a = Ne(P.PROVIDE_NAME_ACTIONS, null), i = typeof t == "string" ? t : e, r = typeof e == "string" ? n : e;
3241
3241
  return I(() => {
3242
- const l = ((typeof t == "string" ? a?.actions?.value : h(t)) || []).find((c) => c.name === i);
3242
+ const l = ((typeof t == "string" ? a?.actions?.value : g(t)) || []).find((c) => c.name === i);
3243
3243
  return l ? {
3244
3244
  ...l,
3245
3245
  ...r
@@ -3262,13 +3262,13 @@ const ro = /* @__PURE__ */ F({
3262
3262
  }
3263
3263
  return (r, o) => {
3264
3264
  const l = ae("widget-button");
3265
- return h(n) ? (E(), D(l, {
3265
+ return g(n) ? (E(), D(l, {
3266
3266
  key: 0,
3267
3267
  loading: a.value?.loading || !1,
3268
3268
  onClick: i
3269
3269
  }, {
3270
3270
  default: $(() => [
3271
- ne(G(h(X)(h(n).label)), 1)
3271
+ ne(K(g(z)(g(n).label)), 1)
3272
3272
  ]),
3273
3273
  _: 1
3274
3274
  }, 8, ["loading"])) : re("", !0);
@@ -3311,7 +3311,7 @@ const ro = /* @__PURE__ */ F({
3311
3311
  const n = t, a = e;
3312
3312
  async function i() {
3313
3313
  if (n.disabled) return;
3314
- await oe.initEntity(n.entity);
3314
+ await le.initEntity(n.entity);
3315
3315
  const s = await (n.selectionCallback ? n.selectionCallback() : Ge(P.MODAL_ENTITY_SELECTION, {
3316
3316
  entity: n.entity,
3317
3317
  value: Array.isArray(n.modelValue) ? [...n.modelValue] : n.modelValue,
@@ -3321,16 +3321,16 @@ const ro = /* @__PURE__ */ F({
3321
3321
  s && d(s);
3322
3322
  }
3323
3323
  const r = N(""), o = Re(async () => {
3324
- await oe.initEntity(n.entity), r.value = await bs(n.entity, n.modelValue);
3324
+ await le.initEntity(n.entity), r.value = await bs(n.entity, n.modelValue);
3325
3325
  }), l = Re(async () => {
3326
3326
  if (!n.modelValue || !Array.isArray(n.modelValue)) return r.value = "";
3327
- const s = await oe.initEntity(n.entity), y = await fe.readMany(n.entity, {
3327
+ const s = await le.initEntity(n.entity), y = await me.readMany(n.entity, {
3328
3328
  fields: s.fieldNameForLabel,
3329
3329
  filter: B.in(s.fieldNameForIdentification, n.modelValue)
3330
3330
  });
3331
3331
  r.value = y.map((m) => m[s.fieldNameForLabel]).join(", ");
3332
3332
  });
3333
- me(() => n.modelValue, n.multiple ? l.call : o.call, { immediate: !0 });
3333
+ pe(() => n.modelValue, n.multiple ? l.call : o.call, { immediate: !0 });
3334
3334
  const c = I(() => n.multiple ? !Array.isArray(n.modelValue) || n.modelValue.length === 0 : !n.modelValue);
3335
3335
  function u() {
3336
3336
  if (c.value) return i();
@@ -3349,10 +3349,10 @@ const ro = /* @__PURE__ */ F({
3349
3349
  class: he(["input-wrapper es-flex-grow es-cursor-pointer es-overflow-hidden es-position-relative", {
3350
3350
  "input-wrapper_disabled": t.disabled
3351
3351
  }])
3352
- }, G(r.value), 3),
3352
+ }, K(r.value), 3),
3353
3353
  t.disabled ? re("", !0) : (E(), D(m, {
3354
3354
  key: 0,
3355
- loading: h(o).loading,
3355
+ loading: g(o).loading,
3356
3356
  onClick: u,
3357
3357
  label: c.value ? "..." : "×"
3358
3358
  }, null, 8, ["loading", "label"]))
@@ -3390,16 +3390,16 @@ const ro = /* @__PURE__ */ F({
3390
3390
  ]),
3391
3391
  default: $(() => [
3392
3392
  A("div", Di, [
3393
- (E(!0), S(le, null, be(t.array, (s, y) => (E(), S("div", {
3393
+ (E(!0), S(ce, null, be(t.array, (s, y) => (E(), S("div", {
3394
3394
  key: y,
3395
3395
  onClick: () => r(s.value),
3396
3396
  class: "flex gap-4 py-2 items-center"
3397
3397
  }, [
3398
- L(h(ve), {
3398
+ L(g(ve), {
3399
3399
  type: "single-radio",
3400
3400
  "model-value": i.value === s.value
3401
3401
  }, null, 8, ["model-value"]),
3402
- A("span", null, G(s.label), 1)
3402
+ A("span", null, K(s.label), 1)
3403
3403
  ], 8, Pi))), 128))
3404
3404
  ])
3405
3405
  ]),
@@ -3434,7 +3434,7 @@ const ro = /* @__PURE__ */ F({
3434
3434
  );
3435
3435
  return ir(r), Ie(async () => {
3436
3436
  await l(), o();
3437
- }), me(() => a.finished, () => {
3437
+ }), pe(() => a.finished, () => {
3438
3438
  i(), Ut();
3439
3439
  }), (c, u) => {
3440
3440
  const d = ae("widget-button"), s = ae("widget-modal-wrap");
@@ -3442,11 +3442,11 @@ const ro = /* @__PURE__ */ F({
3442
3442
  footer: $(() => [
3443
3443
  L(d, {
3444
3444
  onClick: u[0] || (u[0] = (y) => {
3445
- h(i)(), h(Ut)();
3445
+ g(i)(), g(Ut)();
3446
3446
  })
3447
3447
  }, {
3448
3448
  default: $(() => [
3449
- ne(G(n.value), 1)
3449
+ ne(K(n.value), 1)
3450
3450
  ]),
3451
3451
  _: 1
3452
3452
  })
@@ -3483,23 +3483,23 @@ const ro = /* @__PURE__ */ F({
3483
3483
  );
3484
3484
  return (r, o) => (E(), S("div", Mi, [
3485
3485
  A("span", Vi, [
3486
- A("b", null, G(t.version), 1)
3486
+ A("b", null, K(t.version), 1)
3487
3487
  ]),
3488
3488
  A("span", Ui, [
3489
- A("b", null, G(h(Nn)(t.date)), 1)
3489
+ A("b", null, K(g(Nn)(t.date)), 1)
3490
3490
  ]),
3491
3491
  o[2] || (o[2] = A("span", null, null, -1)),
3492
3492
  A("span", null, [
3493
3493
  o[0] || (o[0] = ne("by ", -1)),
3494
- A("b", null, G(t.customerName), 1)
3494
+ A("b", null, K(t.customerName), 1)
3495
3495
  ]),
3496
- (E(!0), S(le, null, be(i.value, (l) => (E(), S(le, {
3496
+ (E(!0), S(ce, null, be(i.value, (l) => (E(), S(ce, {
3497
3497
  key: l.name
3498
3498
  }, [
3499
3499
  o[1] || (o[1] = A("span", null, null, -1)),
3500
- A("span", ji, G(l.name), 1),
3501
- A("span", Bi, G(h(Xt)(t.entity, l.name, l.newValue)), 1),
3502
- A("span", qi, G(h(Xt)(t.entity, l.name, l.oldValue)), 1)
3500
+ A("span", ji, K(l.name), 1),
3501
+ A("span", Bi, K(g(Xt)(t.entity, l.name, l.newValue)), 1),
3502
+ A("span", qi, K(g(Xt)(t.entity, l.name, l.oldValue)), 1)
3503
3503
  ], 64))), 128))
3504
3504
  ]));
3505
3505
  }
@@ -3539,13 +3539,13 @@ const ro = /* @__PURE__ */ F({
3539
3539
  class: "wrap-modal-version-history"
3540
3540
  }, {
3541
3541
  default: $(() => [
3542
- h(r).loading ? (E(), D(h(Lt), {
3542
+ g(r).loading ? (E(), D(g(Lt), {
3543
3543
  key: 0,
3544
3544
  label: "Loading history..."
3545
3545
  })) : (E(), S("div", Gi, [
3546
3546
  A("div", Ki, [
3547
3547
  y[1] || (y[1] = A("span", null, null, -1)),
3548
- L(h(ve), {
3548
+ L(g(ve), {
3549
3549
  type: "select",
3550
3550
  options: l.value,
3551
3551
  modelValue: c.value,
@@ -3556,7 +3556,7 @@ const ro = /* @__PURE__ */ F({
3556
3556
  y[3] || (y[3] = A("span", { class: "text_md" }, "Old Value", -1))
3557
3557
  ]),
3558
3558
  A("div", Yi, [
3559
- (E(!0), S(le, null, be(i.value, (_, p) => (E(), D(Hi, {
3559
+ (E(!0), S(ce, null, be(i.value, (_, p) => (E(), D(Hi, {
3560
3560
  "selected-fields": c.value,
3561
3561
  date: _.utcCreated,
3562
3562
  "customer-name": _.userName,
@@ -3611,12 +3611,12 @@ const Qi = /* @__PURE__ */ F({
3611
3611
  return (c, u) => {
3612
3612
  const d = ae("widget-button"), s = ae("widget-modal-wrap");
3613
3613
  return E(), D(s, {
3614
- label: h(X)("Select Element")
3614
+ label: g(z)("Select Element")
3615
3615
  }, {
3616
3616
  footer: $(() => [
3617
3617
  L(d, { onClick: o }, {
3618
3618
  default: $(() => [
3619
- ne(G(h(X)("Select")), 1)
3619
+ ne(K(g(z)("Select")), 1)
3620
3620
  ]),
3621
3621
  _: 1
3622
3622
  })
@@ -3703,7 +3703,7 @@ function Re(t) {
3703
3703
  });
3704
3704
  return a.promise = r, r;
3705
3705
  }
3706
- const a = pe({
3706
+ const a = ge({
3707
3707
  status: 0,
3708
3708
  /**
3709
3709
  * @deprecated use loading
@@ -3772,7 +3772,7 @@ function go(t, e) {
3772
3772
  const as = kt(Ot("pretty-value-field-by-entity"));
3773
3773
  function Xt(t, e, n) {
3774
3774
  try {
3775
- const a = oe.get(t);
3775
+ const a = le.get(t);
3776
3776
  if (!a) throw new Error("For entity metadata is not loaded");
3777
3777
  const i = a.fieldsByName[e];
3778
3778
  if (!i) throw new Error(`For entity ${t} can't found fieldMetadata for field ${e}`);
@@ -3838,7 +3838,7 @@ function ls(t) {
3838
3838
  }
3839
3839
  }
3840
3840
  let Je = {};
3841
- function X(t, ...e) {
3841
+ function z(t, ...e) {
3842
3842
  if (typeof t != "string")
3843
3843
  return console.trace(`Label is not provided for translation: ${t}`), "undefined";
3844
3844
  let n = Ee.getPropFromObject(this?.vocabulary || Je, t);
@@ -3851,17 +3851,17 @@ function Jt(t, e) {
3851
3851
  t = t.replaceAll(new RegExp(`\\{${a}}`, "g"), n);
3852
3852
  }), t;
3853
3853
  }
3854
- X.setGlobalVocabulary = function(t) {
3854
+ z.setGlobalVocabulary = function(t) {
3855
3855
  Je = t;
3856
3856
  };
3857
- X.getScope = function(t) {
3857
+ z.getScope = function(t) {
3858
3858
  const e = typeof t == "string" ? t : "root";
3859
- return typeof t != "string" && console.warn(`SCOPE ${t} for translate is not string.`), X.bind({
3859
+ return typeof t != "string" && console.warn(`SCOPE ${t} for translate is not string.`), z.bind({
3860
3860
  vocabulary: Ee.getPropFromObject(Je, e.toLowerCase())
3861
3861
  });
3862
3862
  };
3863
- X.setVocabulary = function(t) {
3864
- return typeof t == "string" && (t = Ee.getPropFromObject(Je, t)), X.bind({
3863
+ z.setVocabulary = function(t) {
3864
+ return typeof t == "string" && (t = Ee.getPropFromObject(Je, t)), z.bind({
3865
3865
  vocabulary: t
3866
3866
  });
3867
3867
  };
@@ -3927,8 +3927,8 @@ function us() {
3927
3927
  if (m !== -1) {
3928
3928
  var _ = t.trim(y.slice(0, m)), p = t.trim(y.slice(m + 1));
3929
3929
  if (_) {
3930
- var g = a(o, c.length, _, p, y);
3931
- g && (c += g + "; ");
3930
+ var h = a(o, c.length, _, p, y);
3931
+ h && (c += h + "; ");
3932
3932
  }
3933
3933
  }
3934
3934
  }
@@ -3967,9 +3967,9 @@ function ds() {
3967
3967
  }
3968
3968
  return i.prototype.process = function(r) {
3969
3969
  if (r = r || "", r = r.toString(), !r) return "";
3970
- var o = this, l = o.options, c = l.whiteList, u = l.onAttr, d = l.onIgnoreAttr, s = l.safeAttrValue, y = e(r, function(m, _, p, g, b) {
3970
+ var o = this, l = o.options, c = l.whiteList, u = l.onAttr, d = l.onIgnoreAttr, s = l.safeAttrValue, y = e(r, function(m, _, p, h, b) {
3971
3971
  var f = c[p], v = !1;
3972
- if (f === !0 ? v = f : typeof f == "function" ? v = f(g) : f instanceof RegExp && (v = f.test(g)), v !== !0 && (v = !1), g = s(p, g), !!g) {
3972
+ if (f === !0 ? v = f : typeof f == "function" ? v = f(h) : f instanceof RegExp && (v = f.test(h)), v !== !0 && (v = !1), h = s(p, h), !!h) {
3973
3973
  var w = {
3974
3974
  position: _,
3975
3975
  sourcePosition: m,
@@ -3977,10 +3977,10 @@ function ds() {
3977
3977
  isWhite: v
3978
3978
  };
3979
3979
  if (v) {
3980
- var T = u(p, g, w);
3981
- return n(T) ? p + ":" + g : T;
3980
+ var T = u(p, h, w);
3981
+ return n(T) ? p + ":" + h : T;
3982
3982
  } else {
3983
- var T = d(p, g, w);
3983
+ var T = d(p, h, w);
3984
3984
  if (!n(T))
3985
3985
  return T;
3986
3986
  }
@@ -4128,33 +4128,33 @@ function jn() {
4128
4128
  };
4129
4129
  }
4130
4130
  var i = new t();
4131
- function r(k, K, O) {
4131
+ function r(k, G, O) {
4132
4132
  }
4133
- function o(k, K, O) {
4133
+ function o(k, G, O) {
4134
4134
  }
4135
- function l(k, K, O) {
4135
+ function l(k, G, O) {
4136
4136
  }
4137
- function c(k, K, O) {
4137
+ function c(k, G, O) {
4138
4138
  }
4139
4139
  function u(k) {
4140
4140
  return k.replace(s, "&lt;").replace(y, "&gt;");
4141
4141
  }
4142
- function d(k, K, O, H) {
4143
- if (O = ee(O), K === "href" || K === "src") {
4142
+ function d(k, G, O, H) {
4143
+ if (O = ee(O), G === "href" || G === "src") {
4144
4144
  if (O = n.trim(O), O === "#") return "#";
4145
4145
  if (!(O.substr(0, 7) === "http://" || O.substr(0, 8) === "https://" || O.substr(0, 7) === "mailto:" || O.substr(0, 4) === "tel:" || O.substr(0, 11) === "data:image/" || O.substr(0, 6) === "ftp://" || O.substr(0, 2) === "./" || O.substr(0, 3) === "../" || O[0] === "#" || O[0] === "/"))
4146
4146
  return "";
4147
- } else if (K === "background") {
4147
+ } else if (G === "background") {
4148
4148
  if (f.lastIndex = 0, f.test(O))
4149
4149
  return "";
4150
- } else if (K === "style") {
4150
+ } else if (G === "style") {
4151
4151
  if (v.lastIndex = 0, v.test(O) || (w.lastIndex = 0, w.test(O) && (f.lastIndex = 0, f.test(O))))
4152
4152
  return "";
4153
4153
  H !== !1 && (H = H || i, O = H.process(O));
4154
4154
  }
4155
4155
  return O = Q(O), O;
4156
4156
  }
4157
- var s = /</g, y = />/g, m = /"/g, _ = /&quot;/g, p = /&#([a-zA-Z0-9]*);?/gim, g = /&colon;?/gim, b = /&newline;?/gim, f = /((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, v = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, w = /u\s*r\s*l\s*\(.*/gi;
4157
+ var s = /</g, y = />/g, m = /"/g, _ = /&quot;/g, p = /&#([a-zA-Z0-9]*);?/gim, h = /&colon;?/gim, b = /&newline;?/gim, f = /((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, v = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, w = /u\s*r\s*l\s*\(.*/gi;
4158
4158
  function T(k) {
4159
4159
  return k.replace(m, "&quot;");
4160
4160
  }
@@ -4167,15 +4167,15 @@ function jn() {
4167
4167
  });
4168
4168
  }
4169
4169
  function R(k) {
4170
- return k.replace(g, ":").replace(b, " ");
4170
+ return k.replace(h, ":").replace(b, " ");
4171
4171
  }
4172
- function z(k) {
4173
- for (var K = "", O = 0, H = k.length; O < H; O++)
4174
- K += k.charCodeAt(O) < 32 ? " " : k.charAt(O);
4175
- return n.trim(K);
4172
+ function X(k) {
4173
+ for (var G = "", O = 0, H = k.length; O < H; O++)
4174
+ G += k.charCodeAt(O) < 32 ? " " : k.charAt(O);
4175
+ return n.trim(G);
4176
4176
  }
4177
4177
  function ee(k) {
4178
- return k = x(k), k = C(k), k = R(k), k = z(k), k;
4178
+ return k = x(k), k = C(k), k = R(k), k = X(k), k;
4179
4179
  }
4180
4180
  function Q(k) {
4181
4181
  return k = T(k), k = u(k), k;
@@ -4183,59 +4183,59 @@ function jn() {
4183
4183
  function ie() {
4184
4184
  return "";
4185
4185
  }
4186
- function Oe(k, K) {
4187
- typeof K != "function" && (K = function() {
4186
+ function Oe(k, G) {
4187
+ typeof G != "function" && (G = function() {
4188
4188
  });
4189
4189
  var O = !Array.isArray(k);
4190
4190
  function H(M) {
4191
4191
  return O ? !0 : n.indexOf(k, M) !== -1;
4192
4192
  }
4193
- var ce = [], Ce = !1;
4193
+ var ue = [], Ce = !1;
4194
4194
  return {
4195
4195
  onIgnoreTag: function(M, Te, Ae) {
4196
4196
  if (H(M))
4197
4197
  if (Ae.isClosing) {
4198
4198
  var De = "[/removed]", pt = Ae.position + De.length;
4199
- return ce.push([
4199
+ return ue.push([
4200
4200
  Ce !== !1 ? Ce : Ae.position,
4201
4201
  pt
4202
4202
  ]), Ce = !1, De;
4203
4203
  } else
4204
4204
  return Ce || (Ce = Ae.position), "[removed]";
4205
4205
  else
4206
- return K(M, Te, Ae);
4206
+ return G(M, Te, Ae);
4207
4207
  },
4208
4208
  remove: function(M) {
4209
4209
  var Te = "", Ae = 0;
4210
- return n.forEach(ce, function(De) {
4210
+ return n.forEach(ue, function(De) {
4211
4211
  Te += M.slice(Ae, De[0]), Ae = De[1];
4212
4212
  }), Te += M.slice(Ae), Te;
4213
4213
  }
4214
4214
  };
4215
4215
  }
4216
4216
  function Le(k) {
4217
- for (var K = "", O = 0; O < k.length; ) {
4217
+ for (var G = "", O = 0; O < k.length; ) {
4218
4218
  var H = k.indexOf("<!--", O);
4219
4219
  if (H === -1) {
4220
- K += k.slice(O);
4220
+ G += k.slice(O);
4221
4221
  break;
4222
4222
  }
4223
- K += k.slice(O, H);
4224
- var ce = k.indexOf("-->", H);
4225
- if (ce === -1)
4223
+ G += k.slice(O, H);
4224
+ var ue = k.indexOf("-->", H);
4225
+ if (ue === -1)
4226
4226
  break;
4227
- O = ce + 3;
4227
+ O = ue + 3;
4228
4228
  }
4229
- return K;
4229
+ return G;
4230
4230
  }
4231
- function ge(k) {
4232
- var K = k.split("");
4233
- return K = K.filter(function(O) {
4231
+ function se(k) {
4232
+ var G = k.split("");
4233
+ return G = G.filter(function(O) {
4234
4234
  var H = O.charCodeAt(0);
4235
4235
  return H === 127 ? !1 : H <= 31 ? H === 10 || H === 13 : !0;
4236
- }), K.join("");
4236
+ }), G.join("");
4237
4237
  }
4238
- return J.whiteList = a(), J.getDefaultWhiteList = a, J.onTag = r, J.onIgnoreTag = o, J.onTagAttr = l, J.onIgnoreTagAttr = c, J.safeAttrValue = d, J.escapeHtml = u, J.escapeQuote = T, J.unescapeQuote = x, J.escapeHtmlEntities = C, J.escapeDangerHtml5Entities = R, J.clearNonPrintableCharacter = z, J.friendlyAttrValue = ee, J.escapeAttrValue = Q, J.onIgnoreTagStripAll = ie, J.StripTagBody = Oe, J.stripCommentTag = Le, J.stripBlankChar = ge, J.attributeWrapSign = '"', J.cssFilter = i, J.getDefaultCSSWhiteList = e, J;
4238
+ return J.whiteList = a(), J.getDefaultWhiteList = a, J.onTag = r, J.onIgnoreTag = o, J.onTagAttr = l, J.onIgnoreTagAttr = c, J.safeAttrValue = d, J.escapeHtml = u, J.escapeQuote = T, J.unescapeQuote = x, J.escapeHtmlEntities = C, J.escapeDangerHtml5Entities = R, J.clearNonPrintableCharacter = X, J.friendlyAttrValue = ee, J.escapeAttrValue = Q, J.onIgnoreTagStripAll = ie, J.StripTagBody = Oe, J.stripCommentTag = Le, J.stripBlankChar = se, J.attributeWrapSign = '"', J.cssFilter = i, J.getDefaultCSSWhiteList = e, J;
4239
4239
  }
4240
4240
  var at = {}, sn;
4241
4241
  function Bn() {
@@ -4250,27 +4250,27 @@ function Bn() {
4250
4250
  return s.slice(0, 2) === "</";
4251
4251
  }
4252
4252
  function a(s, y, m) {
4253
- var _ = "", p = 0, g = !1, b = !1, f = 0, v = s.length, w = "", T = "";
4253
+ var _ = "", p = 0, h = !1, b = !1, f = 0, v = s.length, w = "", T = "";
4254
4254
  e: for (f = 0; f < v; f++) {
4255
4255
  var x = s.charAt(f);
4256
- if (g === !1) {
4256
+ if (h === !1) {
4257
4257
  if (x === "<") {
4258
- g = f;
4258
+ h = f;
4259
4259
  continue;
4260
4260
  }
4261
4261
  } else if (b === !1) {
4262
4262
  if (x === "<") {
4263
- _ += m(s.slice(p, f)), g = f, p = f;
4263
+ _ += m(s.slice(p, f)), h = f, p = f;
4264
4264
  continue;
4265
4265
  }
4266
4266
  if (x === ">" || f === v - 1) {
4267
- _ += m(s.slice(p, g)), T = s.slice(g, f + 1), w = e(T), _ += y(
4268
- g,
4267
+ _ += m(s.slice(p, h)), T = s.slice(h, f + 1), w = e(T), _ += y(
4268
+ h,
4269
4269
  _.length,
4270
4270
  w,
4271
4271
  T,
4272
4272
  n(T)
4273
- ), p = f + 1, g = !1;
4273
+ ), p = f + 1, h = !1;
4274
4274
  continue;
4275
4275
  }
4276
4276
  if (x === '"' || x === "'")
@@ -4290,41 +4290,41 @@ function Bn() {
4290
4290
  }
4291
4291
  var i = /[^a-zA-Z0-9\\_:.-]/gim;
4292
4292
  function r(s, y) {
4293
- var m = 0, _ = 0, p = [], g = !1, b = s.length;
4293
+ var m = 0, _ = 0, p = [], h = !1, b = s.length;
4294
4294
  function f(C, R) {
4295
4295
  if (C = t.trim(C), C = C.replace(i, "").toLowerCase(), !(C.length < 1)) {
4296
- var z = y(C, R || "");
4297
- z && p.push(z);
4296
+ var X = y(C, R || "");
4297
+ X && p.push(X);
4298
4298
  }
4299
4299
  }
4300
4300
  for (var v = 0; v < b; v++) {
4301
4301
  var w = s.charAt(v), T, x;
4302
- if (g === !1 && w === "=") {
4303
- g = s.slice(m, v), m = v + 1, _ = s.charAt(m) === '"' || s.charAt(m) === "'" ? m : l(s, v + 1);
4302
+ if (h === !1 && w === "=") {
4303
+ h = s.slice(m, v), m = v + 1, _ = s.charAt(m) === '"' || s.charAt(m) === "'" ? m : l(s, v + 1);
4304
4304
  continue;
4305
4305
  }
4306
- if (g !== !1 && v === _) {
4306
+ if (h !== !1 && v === _) {
4307
4307
  if (x = s.indexOf(w, v + 1), x === -1)
4308
4308
  break;
4309
- T = t.trim(s.slice(_ + 1, x)), f(g, T), g = !1, v = x, m = v + 1;
4309
+ T = t.trim(s.slice(_ + 1, x)), f(h, T), h = !1, v = x, m = v + 1;
4310
4310
  continue;
4311
4311
  }
4312
4312
  if (/\s|\n|\t/.test(w))
4313
- if (s = s.replace(/\s|\n|\t/g, " "), g === !1)
4313
+ if (s = s.replace(/\s|\n|\t/g, " "), h === !1)
4314
4314
  if (x = o(s, v), x === -1) {
4315
- T = t.trim(s.slice(m, v)), f(T), g = !1, m = v + 1;
4315
+ T = t.trim(s.slice(m, v)), f(T), h = !1, m = v + 1;
4316
4316
  continue;
4317
4317
  } else {
4318
4318
  v = x - 1;
4319
4319
  continue;
4320
4320
  }
4321
4321
  else if (x = c(s, v - 1), x === -1) {
4322
- T = t.trim(s.slice(m, v)), T = d(T), f(g, T), g = !1, m = v + 1;
4322
+ T = t.trim(s.slice(m, v)), T = d(T), f(h, T), h = !1, m = v + 1;
4323
4323
  continue;
4324
4324
  } else
4325
4325
  continue;
4326
4326
  }
4327
- return m < s.length && (g === !1 ? f(s.slice(m)) : f(g, d(t.trim(s.slice(m))))), t.trim(p.join(" "));
4327
+ return m < s.length && (h === !1 ? f(s.slice(m)) : f(h, d(t.trim(s.slice(m))))), t.trim(p.join(" "));
4328
4328
  }
4329
4329
  function o(s, y) {
4330
4330
  for (; y < s.length; y++) {
@@ -4398,33 +4398,33 @@ function fs() {
4398
4398
  }
4399
4399
  return d.prototype.process = function(s) {
4400
4400
  if (s = s || "", s = s.toString(), !s) return "";
4401
- var y = this, m = y.options, _ = m.whiteList, p = m.onTag, g = m.onIgnoreTag, b = m.onTagAttr, f = m.onIgnoreTagAttr, v = m.safeAttrValue, w = m.escapeHtml, T = y.attributeWrapSign, x = y.cssFilter;
4401
+ var y = this, m = y.options, _ = m.whiteList, p = m.onTag, h = m.onIgnoreTag, b = m.onTagAttr, f = m.onIgnoreTagAttr, v = m.safeAttrValue, w = m.escapeHtml, T = y.attributeWrapSign, x = y.cssFilter;
4402
4402
  m.stripBlankChar && (s = e.stripBlankChar(s)), m.allowCommentTag || (s = e.stripCommentTag(s));
4403
4403
  var C = !1;
4404
4404
  m.stripIgnoreTagBody && (C = e.StripTagBody(
4405
4405
  m.stripIgnoreTagBody,
4406
- g
4407
- ), g = C.onIgnoreTag);
4406
+ h
4407
+ ), h = C.onIgnoreTag);
4408
4408
  var R = a(
4409
4409
  s,
4410
- function(z, ee, Q, ie, Oe) {
4410
+ function(X, ee, Q, ie, Oe) {
4411
4411
  var Le = {
4412
- sourcePosition: z,
4412
+ sourcePosition: X,
4413
4413
  position: ee,
4414
4414
  isClosing: Oe,
4415
4415
  isWhite: Object.prototype.hasOwnProperty.call(_, Q)
4416
- }, ge = p(Q, ie, Le);
4417
- if (!o(ge)) return ge;
4416
+ }, se = p(Q, ie, Le);
4417
+ if (!o(se)) return se;
4418
4418
  if (Le.isWhite) {
4419
4419
  if (Le.isClosing)
4420
4420
  return "</" + Q + ">";
4421
- var k = l(ie), K = _[Q], O = i(k.html, function(H, ce) {
4422
- var Ce = r.indexOf(K, H) !== -1, M = b(Q, H, ce, Ce);
4423
- return o(M) ? Ce ? (ce = v(Q, H, ce, x), ce ? H + "=" + T + ce + T : H) : (M = f(Q, H, ce, Ce), o(M) ? void 0 : M) : M;
4421
+ var k = l(ie), G = _[Q], O = i(k.html, function(H, ue) {
4422
+ var Ce = r.indexOf(G, H) !== -1, M = b(Q, H, ue, Ce);
4423
+ return o(M) ? Ce ? (ue = v(Q, H, ue, x), ue ? H + "=" + T + ue + T : H) : (M = f(Q, H, ue, Ce), o(M) ? void 0 : M) : M;
4424
4424
  });
4425
4425
  return ie = "<" + Q, O && (ie += " " + O), k.closing && (ie += " /"), ie += ">", ie;
4426
4426
  } else
4427
- return ge = g(Q, ie, Le), o(ge) ? w(ie) : ge;
4427
+ return se = h(Q, ie, Le), o(se) ? w(ie) : se;
4428
4428
  },
4429
4429
  w
4430
4430
  );
@@ -4480,16 +4480,16 @@ function wo() {
4480
4480
  return `/${P.PATH_RESOLVER_ENTITY}/:entity/:primaryKey`;
4481
4481
  }
4482
4482
  function xt(t) {
4483
- const e = oe.get(t);
4483
+ const e = le.get(t);
4484
4484
  if (!e) throw new Error(`Metadata ${t} is still missing.`);
4485
4485
  return e.useCatalogInsteadId ? "CatalogId" : e.fieldNameForIdentification;
4486
4486
  }
4487
4487
  function cn(t, e, n) {
4488
- const a = X.getScope(t.toLowerCase());
4488
+ const a = z.getScope(t.toLowerCase());
4489
4489
  return e.map((i) => {
4490
4490
  typeof i.label == "string" && (i.label = a(i.label)), i.type === "history" && (i.onClick = async (o) => {
4491
4491
  const l = await St(t, o[xt(t)]);
4492
- await oe.initEntity(l), it(P.MODAL_HISTORY, {
4492
+ await le.initEntity(l), it(P.MODAL_HISTORY, {
4493
4493
  primaryKey: o[xt(t)],
4494
4494
  entity: l
4495
4495
  });
@@ -4552,11 +4552,11 @@ async function Co(t, e, n) {
4552
4552
  });
4553
4553
  }
4554
4554
  async function To(t, e) {
4555
- const n = oe.get(t);
4555
+ const n = le.get(t);
4556
4556
  if (!n) throw new Error(`Metadata for entity ${t} is not ready.`);
4557
4557
  const { fieldNameForIdentification: a, fieldNameForLabel: i } = n;
4558
4558
  if (!a || !i) throw new Error(`Metadata for entity ${t} didn't have fieldNameForIdentification or fieldNameForLabel.`);
4559
- return (await fe.readMany(t, {
4559
+ return (await me.readMany(t, {
4560
4560
  fields: [a, i].join(" "),
4561
4561
  ...e
4562
4562
  })).map((o) => ({
@@ -4565,11 +4565,11 @@ async function To(t, e) {
4565
4565
  }));
4566
4566
  }
4567
4567
  async function bs(t, e) {
4568
- const n = oe.get(t);
4568
+ const n = le.get(t);
4569
4569
  if (!n) throw new Error(`Metadata for entity ${t} is not ready.`);
4570
4570
  const a = n.fieldNameForLabel;
4571
4571
  if (!a) throw new Error(`Field for Label is not init for ${t}.`);
4572
- return fe.readOne(t, {
4572
+ return me.readOne(t, {
4573
4573
  primaryKey: e,
4574
4574
  fields: a
4575
4575
  }).then((i) => i[a]);
@@ -4611,7 +4611,7 @@ function So() {
4611
4611
  }
4612
4612
  function Io(t, e, n = {}) {
4613
4613
  let a = !1;
4614
- const i = N(""), r = I(() => o.filter((C) => u(C, i.value))), o = pe([]);
4614
+ const i = N(""), r = I(() => o.filter((C) => u(C, i.value))), o = ge([]);
4615
4615
  let l = 0;
4616
4616
  const c = N(!1);
4617
4617
  let u = n?.filterSearchFn || ((C, R) => W.searchWordInElement(C, R));
@@ -4620,45 +4620,45 @@ function Io(t, e, n = {}) {
4620
4620
  }
4621
4621
  function s() {
4622
4622
  const C = w();
4623
- return typeof C.limit != "number" && (C.limit = 100), C.offset = l, (n.request || fe.readMany)(t, C).then((z) => (l += z.length, z));
4623
+ return typeof C.limit != "number" && (C.limit = 100), C.offset = l, (n.request || me.readMany)(t, C).then((X) => (l += X.length, X));
4624
4624
  }
4625
4625
  function y(C, R) {
4626
4626
  return typeof C.Version == "number" ? C.Version : o.find((ee) => ee.Id === R)?.Version;
4627
4627
  }
4628
4628
  function m(C, R) {
4629
- const z = o.findIndex((ee) => ee.Id === C);
4630
- if (z === -1) throw new Error(`Can't found item with Id ${C}`);
4631
- o.splice(z, 1, R);
4629
+ const X = o.findIndex((ee) => ee.Id === C);
4630
+ if (X === -1) throw new Error(`Can't found item with Id ${C}`);
4631
+ o.splice(X, 1, R);
4632
4632
  }
4633
4633
  function _(C) {
4634
- const R = o.findIndex((z) => z.Id === C);
4634
+ const R = o.findIndex((X) => X.Id === C);
4635
4635
  if (R === -1) throw new Error(`Can't found item with Id ${C}`);
4636
4636
  o.splice(R, 1);
4637
4637
  }
4638
4638
  async function p(C, R) {
4639
4639
  try {
4640
- const z = w(), ee = y(R, C);
4641
- delete R.Version, await fe.updateOne(t, { primaryKey: C, values: R, version: ee, masterEntities: d() });
4642
- const Q = await fe.readOne(t, {
4643
- fields: z.fields || "",
4640
+ const X = w(), ee = y(R, C);
4641
+ delete R.Version, await me.updateOne(t, { primaryKey: C, values: R, version: ee, masterEntities: d() });
4642
+ const Q = await me.readOne(t, {
4643
+ fields: X.fields || "",
4644
4644
  primaryKey: C
4645
4645
  });
4646
4646
  m(C, Q);
4647
- } catch (z) {
4648
- W.catchUniversal()(z);
4647
+ } catch (X) {
4648
+ W.catchUniversal()(X);
4649
4649
  }
4650
4650
  }
4651
- async function g(C, R = {}) {
4651
+ async function h(C, R = {}) {
4652
4652
  try {
4653
- const z = w(), ee = y(R, C);
4654
- delete R.Version, await fe.deleteOne(t, { id: C, version: ee, masterEntities: d() }), _(C);
4655
- } catch (z) {
4656
- W.catchUniversal()(z);
4653
+ const X = w(), ee = y(R, C);
4654
+ delete R.Version, await me.deleteOne(t, { id: C, version: ee, masterEntities: d() }), _(C);
4655
+ } catch (X) {
4656
+ W.catchUniversal()(X);
4657
4657
  }
4658
4658
  }
4659
4659
  async function b(C) {
4660
4660
  try {
4661
- await fe.createOne(t, { values: C, masterEntities: d() }), await T();
4661
+ await me.createOne(t, { values: C, masterEntities: d() }), await T();
4662
4662
  } catch (R) {
4663
4663
  W.catchUniversal()(R);
4664
4664
  }
@@ -4705,7 +4705,7 @@ function Io(t, e, n = {}) {
4705
4705
  reload: T,
4706
4706
  wait: c,
4707
4707
  create: b,
4708
- deleteById: g,
4708
+ deleteById: h,
4709
4709
  textSearch: i,
4710
4710
  filteredArray: r,
4711
4711
  abort: x
@@ -4722,7 +4722,7 @@ function xo() {
4722
4722
  userId: we.userId
4723
4723
  };
4724
4724
  }
4725
- const e = pe(t());
4725
+ const e = ge(t());
4726
4726
  return we.onupdateContext(() => {
4727
4727
  Object.assign(e, t());
4728
4728
  }), e;
@@ -4803,7 +4803,7 @@ class ko extends ke {
4803
4803
  }
4804
4804
  }
4805
4805
  function Ro(t) {
4806
- const e = $e.getParentForm(), n = pe([]);
4806
+ const e = $e.getParentForm(), n = ge([]);
4807
4807
  return e && e.subscribe(t), t.read = () => Is(t.id).then((a) => (n.splice(0, n.length, ...a), a)), {
4808
4808
  array: n
4809
4809
  };
@@ -4813,13 +4813,13 @@ function Oo(t, e) {
4813
4813
  const a = n();
4814
4814
  return Promise.resolve().then(() => {
4815
4815
  if (!t.name) throw st.EntityNameIsRequired();
4816
- return fe.readOne(t.name, a);
4816
+ return me.readOne(t.name, a);
4817
4817
  }).then(Ar.valuesToUpperCase).then((i) => (i.hasOwnProperty("Version") && (t.version = i.Version), t.setValues(i), i)).catch(W.catchUniversal());
4818
4818
  }, t.save = () => {
4819
4819
  const a = n();
4820
4820
  return Promise.resolve().then(() => {
4821
4821
  if (!t.name) throw st.EntityNameIsRequired();
4822
- return fe.updateOne(t.name, {
4822
+ return me.updateOne(t.name, {
4823
4823
  primaryKey: a.primaryKey,
4824
4824
  values: t.changes,
4825
4825
  version: t.version
@@ -4855,8 +4855,8 @@ function Lo(t) {
4855
4855
  });
4856
4856
  }
4857
4857
  function $o(t, e = {}) {
4858
- const n = pe([]), a = (c) => {
4859
- const u = h(t);
4858
+ const n = ge([]), a = (c) => {
4859
+ const u = g(t);
4860
4860
  if (c === void 0) {
4861
4861
  n.length === 0 ? u.forEach(r) : u.forEach(o);
4862
4862
  return;
@@ -4868,7 +4868,7 @@ function $o(t, e = {}) {
4868
4868
  const u = n.findIndex((d) => d === c);
4869
4869
  u !== -1 && n.splice(u, 1);
4870
4870
  }, l = I(() => {
4871
- const c = h(t);
4871
+ const c = g(t);
4872
4872
  return n.length === c.length && c.length !== 0;
4873
4873
  });
4874
4874
  return [n, a, l, r, o];
@@ -4876,14 +4876,14 @@ function $o(t, e = {}) {
4876
4876
  function Fo(t) {
4877
4877
  const e = N(""), n = I(() => {
4878
4878
  const a = e.value.toLowerCase();
4879
- return h(t).filter((i) => e.value.length ? Object.values(i).join().toLowerCase().includes(a) : !0);
4879
+ return g(t).filter((i) => e.value.length ? Object.values(i).join().toLowerCase().includes(a) : !0);
4880
4880
  });
4881
4881
  return {
4882
4882
  search: e,
4883
4883
  searchArray: n
4884
4884
  };
4885
4885
  }
4886
- var de = /* @__PURE__ */ ((t) => (t.Completed = "Completed", t.FinalStep = "FinalStep", t.NextStep = "NextStep", t.FinalStepWithConfirmation = "FinalStepWithConfirmation", t.NextStepWithConfirmation = "NextStepWithConfirmation", t.ValidationError = "ValidationError", t.Undefined = "Undefined", t))(de || {});
4886
+ var fe = /* @__PURE__ */ ((t) => (t.Completed = "Completed", t.FinalStep = "FinalStep", t.NextStep = "NextStep", t.FinalStepWithConfirmation = "FinalStepWithConfirmation", t.NextStepWithConfirmation = "NextStepWithConfirmation", t.ValidationError = "ValidationError", t.Undefined = "Undefined", t))(fe || {});
4887
4887
  class Et {
4888
4888
  static async getStartConfig(e, n) {
4889
4889
  return V.emit("wizard:configuration", {
@@ -4908,22 +4908,22 @@ class Et {
4908
4908
  }
4909
4909
  }
4910
4910
  function ks(t) {
4911
- return t.statusName === de.Completed;
4911
+ return t.statusName === fe.Completed;
4912
4912
  }
4913
4913
  function Rs(t) {
4914
- return [de.FinalStepWithConfirmation, de.NextStepWithConfirmation].includes(t.statusName);
4914
+ return [fe.FinalStepWithConfirmation, fe.NextStepWithConfirmation].includes(t.statusName);
4915
4915
  }
4916
4916
  function Os(t) {
4917
- return t.statusName === de.ValidationError;
4917
+ return t.statusName === fe.ValidationError;
4918
4918
  }
4919
4919
  function Ls(t) {
4920
- return t.statusName === de.Undefined;
4920
+ return t.statusName === fe.Undefined;
4921
4921
  }
4922
4922
  function No(t, e, n) {
4923
4923
  let a = null, i = [];
4924
4924
  const r = N(!1), o = N(null), l = I(
4925
4925
  () => s(i, o.value)
4926
- ), c = N(null), u = pe([]), d = I(
4926
+ ), c = N(null), u = ge([]), d = I(
4927
4927
  () => u.map(
4928
4928
  (f) => s(i, f)
4929
4929
  )
@@ -4943,10 +4943,10 @@ function No(t, e, n) {
4943
4943
  {
4944
4944
  const v = s(i, o.value)?.fields || [];
4945
4945
  if ([
4946
- de.FinalStep,
4947
- de.NextStep,
4948
- de.FinalStepWithConfirmation,
4949
- de.NextStepWithConfirmation
4946
+ fe.FinalStep,
4947
+ fe.NextStep,
4948
+ fe.FinalStepWithConfirmation,
4949
+ fe.NextStepWithConfirmation
4950
4950
  ].includes(f.statusName) && (!v.length || $s(v, n.presets)))
4951
4951
  return b(n.presets || {});
4952
4952
  }
@@ -4955,7 +4955,7 @@ function No(t, e, n) {
4955
4955
  }
4956
4956
  async function m() {
4957
4957
  try {
4958
- await _(), await g();
4958
+ await _(), await h();
4959
4959
  } catch (f) {
4960
4960
  W.catchUniversal()(f);
4961
4961
  }
@@ -4984,14 +4984,14 @@ function No(t, e, n) {
4984
4984
  }
4985
4985
  function p(f) {
4986
4986
  return [
4987
- de.FinalStepWithConfirmation,
4988
- de.NextStepWithConfirmation,
4989
- de.NextStep,
4990
- de.Completed,
4991
- de.FinalStep
4987
+ fe.FinalStepWithConfirmation,
4988
+ fe.NextStepWithConfirmation,
4989
+ fe.NextStep,
4990
+ fe.Completed,
4991
+ fe.FinalStep
4992
4992
  ].includes(f.statusName) ? (a = f.token, o.value = f.nextStepName) : console.log("Saving is not completed:", f), f;
4993
4993
  }
4994
- function g() {
4994
+ function h() {
4995
4995
  return r.value = "Starting process", Et.startProcess(e, t).then(y).catch(W.catchUniversal()).finally(() => {
4996
4996
  r.value = null;
4997
4997
  });
@@ -5030,7 +5030,7 @@ function Fs(t, e) {
5030
5030
  function Ns(t, e, n, a, i, r, o, l = {}) {
5031
5031
  r = r || 150;
5032
5032
  let c = null;
5033
- const u = [], d = pe({
5033
+ const u = [], d = ge({
5034
5034
  count: 0,
5035
5035
  rejected: !1,
5036
5036
  finished: !1,
@@ -5043,7 +5043,7 @@ function Ns(t, e, n, a, i, r, o, l = {}) {
5043
5043
  return f = f.replace(/"/g, '""'), /("|,|\n)/.test(f) && (f = `"${f}"`), f;
5044
5044
  }
5045
5045
  function y() {
5046
- return fe.readMany(e, {
5046
+ return me.readMany(e, {
5047
5047
  offset: d.offset,
5048
5048
  ...c
5049
5049
  }).then((b) => (d.offset += r, b));
@@ -5063,7 +5063,7 @@ function Ns(t, e, n, a, i, r, o, l = {}) {
5063
5063
  filter: typeof a == "string" ? a : B.simple(a || {}),
5064
5064
  customFilters: Array.isArray(o) ? o.map((v) => Fs(v, l.customFiltersData?.[typeof v == "string" ? v : v.name])) : void 0
5065
5065
  }, l.customFilters && (c.customFilters = [...l.customFilters, ...Array.isArray(c.customFilters) ? c.customFilters : []]);
5066
- const b = await oe.initEntity(e), { fieldNameForIdentification: f } = b;
5066
+ const b = await le.initEntity(e), { fieldNameForIdentification: f } = b;
5067
5067
  if (l.useSelectedRows && Array.isArray(l.selectedRows) && l.selectedRows.length && f) {
5068
5068
  let v = "";
5069
5069
  v = B.simple({
@@ -5075,12 +5075,12 @@ function Ns(t, e, n, a, i, r, o, l = {}) {
5075
5075
  function p() {
5076
5076
  d.rejected = !0;
5077
5077
  }
5078
- async function g() {
5078
+ async function h() {
5079
5079
  return y().then((b) => {
5080
5080
  const f = b.map((v) => n.map((w) => s(ct(w, v))).join(","));
5081
5081
  return u.push(...f), d.count = u.length, b.length;
5082
5082
  }).then((b) => {
5083
- if (b !== r && (d.finished = !0), b === r && !d.rejected) return g();
5083
+ if (b !== r && (d.finished = !0), b === r && !d.rejected) return h();
5084
5084
  }).catch((b) => {
5085
5085
  W.catchUniversal()(b), sr();
5086
5086
  });
@@ -5089,7 +5089,7 @@ function Ns(t, e, n, a, i, r, o, l = {}) {
5089
5089
  downloadFile: m,
5090
5090
  reject: p,
5091
5091
  state: d,
5092
- start: g,
5092
+ start: h,
5093
5093
  init: _
5094
5094
  };
5095
5095
  }
@@ -5108,7 +5108,7 @@ const Hn = N(), ot = new class {
5108
5108
  * @description Хранилище текущих активных уведомлений. Если уведомление не является активным (время жизни его
5109
5109
  * вышло) - оно удаляется из массива безвозвратно.
5110
5110
  */
5111
- store = pe([]);
5111
+ store = ge([]);
5112
5112
  /**
5113
5113
  * @description Метод используется для добавления новых уведомлений.
5114
5114
  * @param type Тип уведомления. В данной реализации данный тип влияет на способ отображения сообщения.
@@ -5586,7 +5586,7 @@ export {
5586
5586
  Zi as AsyncProcessStatus,
5587
5587
  Bt as BatchService,
5588
5588
  ko as Communication,
5589
- fe as DataService,
5589
+ me as DataService,
5590
5590
  dr as DisplayListRow,
5591
5591
  Y as EngineError,
5592
5592
  W as EngineUtils,
@@ -5595,7 +5595,7 @@ export {
5595
5595
  Po as HistoryService,
5596
5596
  we as Manager,
5597
5597
  Ir as MetadataService,
5598
- oe as MetadataStore,
5598
+ le as MetadataStore,
5599
5599
  co as ModalEntitySelection,
5600
5600
  oo as ModalListDownload,
5601
5601
  so as ModalSelect,
@@ -5670,7 +5670,7 @@ export {
5670
5670
  aa as setupListRow,
5671
5671
  uo as socketProcess,
5672
5672
  ho as staticLink,
5673
- X as t,
5673
+ z as t,
5674
5674
  go as throttle,
5675
5675
  ss as universalEntityCount,
5676
5676
  St as universalEntityResolve,