eservices-core 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eservices-core.cjs.js +2 -2
- package/dist/eservices-core.es.js +245 -232
- package/dist/eservices-core.umd.js +3 -3
- package/dist/frontend/core/index.d.ts +2 -2
- package/dist/frontend/src/index.d.ts +2 -1
- package/dist/frontend/src/methods/async-process.d.ts +8 -0
- package/dist/frontend/src/types/list-type.d.ts +1 -1
- package/dist/frontend/tests/unit/methods/async-process.spec.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('[dir=rtl] .icon[data-v-0d979509]{transform:scaleX(-1)}.input-text-container[data-v-65e2ee2d]{position:relative;height:var(--input-height);width:100%;background-color:var(--input-background-color);border:var(--input-border);border-radius:var(--input-border-radius)}.input-text-container[data-v-65e2ee2d]:focus-within{outline:var(--input-border-active)}.input-text__error[data-v-65e2ee2d]{position:absolute;margin:0;top:100%}.input-text[data-v-65e2ee2d]{width:100%;height:100%;padding:0 10px;background-color:transparent;border:0;color:var(--input-color);font-size:var(--input-font-size);outline:none}.input-text[data-v-65e2ee2d]::placeholder{color:var(--input-placeholder-color)}.input-text-container[disabled=true][data-v-65e2ee2d]{background-color:var(--input-background-color-disabled);border:var(--input-border-disabled)}.input-text-container[error=true][data-v-65e2ee2d]{border:var(--input-border-error)}.input-text__password[data-v-65e2ee2d]{padding:0 6px;display:flex;align-items:center}.input-title[data-v-65e2ee2d]{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.input-title_required[data-v-65e2ee2d],.input-text__error[data-v-65e2ee2d]{color:red}.input__toggle[data-v-56d58611]{position:relative;width:40px;height:20px;background-color:var(--input-toggle-background-color);border-radius:var(--input-toggle-border-radius);cursor:pointer;transition:var(--fast);border:var(--input-toggle-border)}.input__toggle[data-v-56d58611]:before{content:"";position:absolute;top:0;bottom:0;margin:auto;left:3px;height:14px;width:14px;border-radius:var(--input-toggle-round-radius);background-color:var(--input-toggle-round-background-color);transition:var(--transition-fast)}.input__toggle.active[data-v-56d58611]{background-color:var(--input-toggle-background-color-active)}.input__toggle.active[data-v-56d58611]:before{transform:translate(20px)}.input__toggle.disabled[data-v-56d58611]{background-color:var(--input-disabled-background-color);border:var(--input-disabled-border)}.input__toggle.disabled[data-v-56d58611]:before{background-color:var(--gray-1)}.input__toggle.disabled[data-v-56d58611]{cursor:auto}.item-wrap[data-v-69ab8592]{display:flex;align-items:center}.input-select__item[data-v-69ab8592]{margin:0;text-overflow:ellipsis;overflow:hidden;color:var(--text-black);transition:var(--fast);font-size:14px;line-height:19px;font-weight:400}.input-select__item.active[data-v-69ab8592]{background-color:var(--main);color:var(--text-white)}.input-select-container[data-v-c4acd469]{position:relative;width:100%;outline:none}.input-select-container.disabled>.input-select-container__current[data-v-c4acd469]{background-color:var(--input-background-color-disabled)}.input-select-container__list[data-v-c4acd469]{display:none;position:absolute;top:calc(100% - 5px);z-index:100;padding-top:4px;border:1px solid var(--gray-1);border-top:0;max-height:250px;width:100%;overflow:auto}.input-select-container.active .input-select-container__list[data-v-c4acd469]{display:block}.input-select-container.active>.input-select-container__current>img[data-v-c4acd469]{transform:rotate(-180deg)}.input-select-container__current[data-v-c4acd469]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 0;border:var(--input-border);width:100%;border-radius:var(--input-border-radius);cursor:pointer;background-color:var(--input-background-color)}.current-placeholder[data-v-c4acd469]{padding:0 10px;color:var(--input-placeholder-color)}.input-select__ico-toggle[data-v-c4acd469]{fill:var(--main)}.input-select-container.error>.input-select-container__current[data-v-c4acd469]{border:1px solid var(--error)}.input-select-container.active>.input-select-container__current[data-v-c4acd469]{outline:var(--input-border-active)}.input-select-value[data-v-c4acd469]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 16px;color:var(--input-color)}.container-input-file[data-v-bdbf1475]{height:var(--input-height);border:var(--input-border);background-color:var(--input-background-color);border-radius:var(--input-border-radius);padding:5px;display:flex;align-items:center;position:relative}.icon__file-upload[data-v-bdbf1475]{font-size:12px;color:var(--input-color)}.input-file[data-v-bdbf1475]{position:absolute;left:0;top:0;z-index:500;width:100%;height:100%;opacity:0;cursor:pointer}.input-file[data-v-bdbf1475]::-webkit-file-upload-button{visibility:hidden}.process-info[data-v-bdbf1475]{margin:4px 0}.widget-input__container[data-v-1e3f1057]{position:relative;outline:none}.widget-input__underline[data-v-1e3f1057]{height:2px;background-color:var(--input-line-color)}.widget-input__placeholder[data-v-1e3f1057]{margin:2px 0 0;color:var(--input-line-placeholder-color);font-size:var(--input-line-placeholder-font-size);line-height:var(--input-line-placeholder-line-height);-webkit-user-select:none;user-select:none}.widget-input__placeholder_error[data-v-1e3f1057]{color:var(--error)}.input-container__content[data-v-1e3f1057]{width:100%;display:flex}.input-text[data-v-212b50e2]{height:31px;width:100%;border:unset;outline:unset;background-color:transparent;color:var(--input-line-color);font-size:var(--input-line-font-size)}.input-text__password[data-v-212b50e2]{padding:0 6px;display:flex;align-items:center}.input-title[data-v-9c3e5ea6]{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.input-text-container[data-v-9c3e5ea6]{position:relative;height:32px;width:100%;background-color:var(--input-background-color);border:var(--input-border);border-radius:var(--input-border-radius)}.input-text-container[data-v-9c3e5ea6]:focus-within{border:var(--input-border-active)!important}.input-text__error[data-v-9c3e5ea6]{position:absolute;margin:0;top:100%;text-align:right}.input-text[data-v-9c3e5ea6]{width:100%;height:100%;padding:0 10px;background-color:transparent;border:0;color:var(--input-color);font-size:var(--input-font-size)}.input-text[data-v-9c3e5ea6]::placeholder{color:var(--input-placeholder-color)}.input-text-container[disabled=true][data-v-9c3e5ea6]{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.input-text-container[error=true][data-v-9c3e5ea6]{border:var(--input-border-error)}.input-text__password[data-v-9c3e5ea6]{padding:0 6px;display:flex;align-items:center}.input-text[data-v-9c3e5ea6]:focus{border:0;outline:0}.widget-button-wrap[data-v-b6be5c12]{width:fit-content;outline:none;-webkit-user-select:none;user-select:none;position:relative;--size: 30px;max-height:var(--size);height:var(--size)}.widget-button[data-v-b6be5c12]{background-color:var(--widget-button-background);color:var(--widget-button-color);border:var(--widget-button-border);border-radius:var(--widget-button-radius);height:fit-content;overflow:hidden}.widget-button__toggle[data-v-b6be5c12]{height:var(--size);width:var(--size)}.widget-button__toggle[data-v-b6be5c12]:hover{background-color:var(--widget-button-background-hover)}.widget-button__list[data-v-b6be5c12]{overflow:hidden;max-height:var(--size);transition:var(--fast);height:fit-content}.widget-button .widget-button__toggle-icon[data-v-b6be5c12]{transition:var(--fast)}.widget-button.active .widget-button__toggle-icon[data-v-b6be5c12]{transform:rotate(-180deg)}.widget-button__list-elem[data-v-b6be5c12]{line-height:var(--size);font-size:14px;padding:0 10px;transition:var(--extra-fast);min-width:80px}.widget-button__list-elem[data-v-b6be5c12]:hover{background-color:var(--widget-button-background-hover)}.function-item[data-v-73f7eb9f]{padding:10px}.form-title[data-v-c91ffa31]{flex-grow:1}.widget-form[data-v-c3e88e10]{width:100%;max-width:966px;overflow:hidden;border:var(--form-border);background-color:var(--form-background-color);box-shadow:var(--form-shadow);border-radius:var(--form-radius);border-bottom:5px solid var(--form-border-bottom)}.widget-form__head[data-v-c3e88e10]{min-height:60px;align-items:center;background-color:var(--form-head-background-color)}@media screen and (min-width: 769px){.widget-form__head[data-v-c3e88e10]{flex-wrap:nowrap;padding:0 20px 0 40px}.widget-form__head-button[data-v-c3e88e10]{margin-right:15px}}@media screen and (max-width: 768px){.widget-form[data-v-c3e88e10]{width:100%}.widget-form__head[data-v-c3e88e10]{flex-wrap:wrap}}.widget-form__head-functions[data-v-c3e88e10]{height:100%;align-items:center}.widget-form__body[data-v-c3e88e10]{overflow:auto}.form-container-item[data-v-9264f6f4]{flex-wrap:wrap;gap:10px}.form-container-item-center[data-v-9264f6f4]{flex-grow:1;max-width:240px}.form-container-item__title[data-v-9264f6f4]{min-width:180px;max-width:180px;min-height:30px;justify-content:flex-end}.form-container-item__title>span[data-v-9264f6f4]{display:flex;align-items:center;font-size:14px;height:30px;line-height:130%}.form-container-item-1 .form-container-item-center[data-v-9264f6f4]{max-width:unset}.form-container-item__right[data-v-9264f6f4]{flex-grow:1;max-width:240px}.content_double[data-v-9264f6f4]{max-width:480px}.container-auth-wrap[data-v-0b1a5e81]{display:flex;align-items:center;justify-content:center;background-color:var(--container-auth-background-color);border-radius:var(--container-auth-border-radius);box-shadow:var(--container-auth-box-shadow);overflow:hidden;max-width:900px}.container-auth-wrap[data-v-0b1a5e81]{display:flex;width:100%;height:100%}.container-auth-sidebar[data-v-0b1a5e81]{width:300px;background-color:var(--container-auth-sidebar-background-color)}.container-auth-main[data-v-0b1a5e81]{display:flex;flex-direction:column;flex-grow:1;position:relative}@media screen and (min-width: 768px){.container-auth-wrap[data-v-0b1a5e81]{height:500px}.container-auth-wrap>div[data-v-0b1a5e81]{height:100%}.container-auth-sidebar[data-v-0b1a5e81]{height:100%}}@media screen and (max-width: 768px){.container-auth-wrap[data-v-0b1a5e81]{flex-direction:column}.container-auth-sidebar[data-v-0b1a5e81]{height:220px}}.loader[data-v-661e0416],.loader[data-v-661e0416]:after{border-radius:50%;width:14px;height:14px}.loader[data-v-661e0416]{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;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8-661e0416 1.1s infinite linear;animation:load8-661e0416 1.1s infinite linear}@-webkit-keyframes load8-661e0416{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8-661e0416{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.button-wrap[data-v-3cf452e1]{position:relative}.button-spinner[data-v-3cf452e1]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.button-element[data-v-3cf452e1]{height:100%;width:100%;padding:0 20px;cursor:pointer;background-color:transparent;outline:unset;border:unset;color:unset;font-weight:unset;font-size:unset}.widget-button-wrap[data-v-3edae6ea]{--button-size: 40px;max-height:var(--button-size);z-index:1;position:relative;cursor:pointer;width:fit-content}.widget-multi-button[data-v-3edae6ea]{display:flex;background-color:#3949ab;border-radius:20px;overflow:hidden}.button__content[data-v-3edae6ea]{max-height:40px;min-width:80px;transition:.2s;overflow:hidden}.button__content_active[data-v-3edae6ea]{max-height:200px}.button__content-title[data-v-3edae6ea]{white-space:nowrap;font-size:14px;line-height:20px;padding:10px 10px 10px 20px;color:#fff;margin:0;transition:background-color .2s}.button__content-title[data-v-3edae6ea]:hover{background-color:#223296}.button__toggle_active[data-v-3edae6ea]{transform:rotate(180deg)}.button__side[data-v-3edae6ea]{min-width:var(--button-size)}.button__size-toggle[data-v-3edae6ea]{height:var(--button-size)}.button__size-toggle[data-v-3edae6ea]{cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .1s,background-color .2s;color:#fff}.button__size-toggle[data-v-3edae6ea]:hover{background-color:#223296}.button__toggle-icon[data-v-3edae6ea]{height:16px}.button__size-progress[data-v-3edae6ea]{display:flex;align-items:center;justify-content:center;height:var(--button-size)}.widget-error[data-v-8a0a0924]{height:38px;background-color:#ffb694;box-shadow:4px 4px 10px #ff500033}.widget-error-text[data-v-8a0a0924]{margin:0}.widget-error-wrap[data-v-8a0a0924]{height:100%;display:flex;align-items:center;justify-content:center}.widget-error-close[data-v-8a0a0924]{display:flex;align-items:center;justify-content:center;height:100%;width:40px;cursor:pointer}.widget-error-close[data-v-8a0a0924]:after,.widget-error-close[data-v-8a0a0924]:before{position:absolute;content:"";height:20px;width:2px;background-color:#000;border-radius:2px}.widget-error-close[data-v-8a0a0924]:after{transform:rotate(45deg)}.widget-error-close[data-v-8a0a0924]:before{transform:rotate(-45deg)}.widget-error-message[data-v-8a0a0924]{font-size:14px;line-height:130%;letter-spacing:.05em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.widget-error-main[data-v-8a0a0924]{width:700px}.widget-error__container-close[data-v-8a0a0924]{height:100%}.article-details[data-v-8a0a0924]{font-size:18px;line-height:130%;letter-spacing:.05em;text-decoration-line:underline;font-weight:700;cursor:pointer}.fade-enter-active[data-v-aa732044],.fade-leave-active[data-v-aa732044]{transition:.5s ease;max-height:38px}.fade-enter-from[data-v-aa732044],.fade-leave-to[data-v-aa732044]{opacity:0;max-height:0}.container-errors[data-v-8e9870dd]{display:flex;gap:1px;flex-direction:column;position:fixed;top:0;left:0;width:100%;z-index:11}.fade-enter-active[data-v-8e9870dd],.fade-leave-active[data-v-8e9870dd]{transition:.5s ease;max-height:38px}.fade-enter-from[data-v-8e9870dd],.fade-leave-to[data-v-8e9870dd]{opacity:0;max-height:0}.modal__wait[data-v-4d18289e]{padding:40px 30px;max-width:450px}*{--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}.flex{display:flex}.flex_column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow{flex-grow:1}.grid{display:grid}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_center{text-align:center}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.text_overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color_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}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_15{gap:15px}.gap_20{gap:20px}.margin-0,.margin_0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px;color:#4f4f4f}.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{text-align:right}.overflow_auto{overflow:auto}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15{padding:15px}.padding_20{padding:20px}.es-list-container{overflow:auto}.radius_5{border-radius:5px}.radius_10{border-radius:10px}.radius_15{border-radius:15px}.radius_20{border-radius:20px}.widget-table__head[data-v-f478f0d8]{text-align:start}.widget-table__head-cell[data-v-f478f0d8]{padding:18px;text-align:start}.widget-table__head-title[data-v-f478f0d8]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;font-size:14px;line-height:19px;margin:0}.widget-wait[data-v-2038b2ba]{align-items:center}.wait-spinner[data-v-2038b2ba]{padding:8px}.widget-table-loader{padding:10px 0}.breadcrumb[data-v-1702aee0]{gap:8px;align-items:center;color:#828282;cursor:pointer}.breadcrumb__title[data-v-1702aee0]{font-weight:400;font-size:12px;line-height:16px;margin:0}.breadcrumb__icon[data-v-1702aee0]{height:16px}.breadcrumb_active[data-v-1702aee0],.breadcrumb[data-v-1702aee0]:hover{color:#4f4f4f}.widget-breadcrumbs[data-v-1dfb2668]{display:flex;gap:14px}tr[data-v-48d3df56]{border:1px solid #F3F4FC;height:30px}th[data-v-48d3df56],td[data-v-48d3df56]{position:relative;padding:0 11px}th[data-v-48d3df56]{text-align:left}p[data-v-48d3df56]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.head-cell[data-v-03c9724f]{padding:0 15px 0 10px;display:flex}.head-cell[data-v-03c9724f]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-03c9724f]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-03c9724f]{position:absolute;inset-inline-end:4px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-03c9724f]{transform:rotate(180deg)}.head-cell-resize[data-v-03c9724f]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-03c9724f]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-03c9724f]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-11644ad4]{position:sticky;top:-1px;z-index:1}.test-block[data-v-11644ad4]{background-color:#e7f2ff;inset-block-start:-1px;position:absolute;z-index:2;-webkit-user-select:none;user-select:none;white-space:nowrap;padding:0 10px;height:calc(100% + 1px);display:none;place-content:center}.widget-list-head th[data-v-11644ad4]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.head-cell[data-v-11644ad4]{display:flex;cursor:pointer;padding:0 10px}.head-cell-label[data-v-11644ad4]{flex-grow:1;margin:0;white-space:nowrap;-webkit-user-select:none;user-select:none}.list-arrow[data-v-11644ad4]{position:relative;display:block;height:15px;width:2px;background-color:gray;border-radius:2px}.list-arrow[data-v-11644ad4]:after,.list-arrow[data-v-11644ad4]:before{position:absolute;display:block;content:"";background-color:gray;height:8px;width:2px;border-radius:2px}.list-arrow[data-v-11644ad4]:after{transform:rotate(-30deg);right:-2px}.list-arrow[data-v-11644ad4]:before{transform:rotate(30deg);left:-2px}.block-list-arrow[data-v-11644ad4]{transition:.1s}.down[data-v-11644ad4]{transform:rotate(180deg)}.head-cell-order[data-v-11644ad4]{display:grid;place-content:center}.widget-list-head-label[data-v-11644ad4]{font-weight:400;font-size:13px;line-height:16px;padding:5px 0}.head-cell-resize[data-v-11644ad4]{position:relative;padding:3px 10px;cursor:col-resize}.head-cell-resize[data-v-11644ad4]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:gray}.widget-list-body[data-v-a0fe6a42]{position:relative}.widget-list-body[data-v-a0fe6a42]:after{content:"";background-color:transparent;z-index:-1;transition:.1s}.widget-list-body_inactive[data-v-a0fe6a42]:after{z-index:0;position:absolute;top:0;background-color:#afafaf80;height:100%;width:100%}.widget-section[data-v-07232553]{background-color:var(--form-section-background-color);box-shadow:var(--form-section-box-shadow);border-radius:var(--form-section-border-radius)}.widget-section__header[data-v-07232553]{border-radius:10px 10px 0 0;display:flex;padding:8px 8px 8px 40px;background-color:var(--form-section-header-background-color)}.widget-section-title[data-v-07232553]{flex-grow:1;font-weight:var(--form-section-title-font-weight);color:var(--form-section-title-color);font-size:var(--form-section-title-font-size);line-height:var(--form-section-title-line-height);margin:0}.widget-section__body[data-v-07232553]{padding:20px 40px}.form-titles[data-v-6ea1062c]{display:flex;flex-direction:column;justify-content:center}.form-label[data-v-6ea1062c]{display:flex;gap:10px;padding:4px 7px;align-items:center}.form-container-label[data-v-6ea1062c]{margin:0 0 0 6px}.form-info[data-v-6ea1062c]{color:#828282}.form-label[data-v-6ea1062c]{background-color:#ff6262;color:#fff;border-radius:4px}.form-title[data-v-6ea1062c]{font-weight:700;font-size:18px;line-height:25px}.form-label__title[data-v-6ea1062c]{margin:0;line-height:16px}.form-label__icon[data-v-6ea1062c]{height:16px;font-size:16px}.form-label_inactive[data-v-6ea1062c]{background-color:gray}.form-label_correct[data-v-6ea1062c]{background-color:green}.form-label_warning[data-v-6ea1062c]{background-color:#ff0}.form-label_error[data-v-6ea1062c]{background-color:#ff6262}.widget-form[data-v-f076ad65]{display:flex;flex-direction:column;gap:10px}.widget-form__head[data-v-f076ad65]{display:flex;gap:16px;align-items:center;z-index:1;padding:10px 0}.widget-form__button[data-v-f076ad65]{margin-left:auto}.wrap__widget-form[data-v-f076ad65]{padding:20px}.widget-form__head[data-v-f076ad65]{position:sticky;top:0}@media screen and (max-width: 768px){.wrap__widget-form[data-v-f076ad65]{padding:10px}.widget-form__head[data-v-f076ad65]{top:15px}}.head-image[data-v-f076ad65]{padding:15px;background-color:#f3f4fc;border-radius:8px}.validation-item[data-v-e6138c02]{display:grid;grid-template-columns:70px 1fr;border:1px solid #00CCB1;border-radius:4px}.validation-item_failed[data-v-e6138c02]{border-color:#ee8030}.validation-item-header[data-v-e6138c02]{display:grid;place-content:center;background-color:#00ccb1}.validation-item_failed .validation-item-header[data-v-e6138c02]{background-color:#ee8030}.validation-item__title[data-v-e6138c02]{font-weight:700;font-size:18px;line-height:25px;color:#fff}.validation-item-content[data-v-e6138c02]{display:flex;flex-direction:column;padding:10px 16px;gap:10px}.modal-wrap[data-v-119165b9]{max-height:80%;display:flex;flex-direction:column}.modal-wrap-head[data-v-119165b9]{display:flex;align-items:center;padding:10px;background:#F3F4FC;border-radius:8px 8px 0 0}.modal-head__title[data-v-119165b9]{font-weight:700;font-size:18px;line-height:25px}.modal-wrap-body[data-v-119165b9]{background-color:#fff;border-radius:0 0 8px 8px;overflow:auto}.modal-validation-body[data-v-a39cfe2f]{display:flex;flex-direction:column;gap:10px;padding:20px}.widget-input-check[data-v-f4a3dc6c]{display:grid;place-items:center;height:20px;aspect-ratio:1/1;border:2px solid #1a1a1a;border-radius:4px;cursor:pointer;background-color:#fff}.widget-input-check_active[data-v-f4a3dc6c]{background-color:#2f2f2f}.widget-input-check>i[data-v-f4a3dc6c]{font-size:12px;height:12px;color:#fff}.widget-card[data-v-bca33c5b]{display:flex}.widget-card-toggle[data-v-bca33c5b]{padding:10px}.widget-card-wrap[data-v-bca33c5b]{display:flex;flex-grow:1;background-color:#fff;border:1px solid #cbcbcb;border-radius:8px}.widget-card-arrow[data-v-bca33c5b]{padding:10px;cursor:pointer}.card-icon-arrow[data-v-bca33c5b]{display:block;transition:transform var(--fast)}.card-icon-arrow_active[data-v-bca33c5b]{transform:rotate(90deg)}.widget-card-title[data-v-bca33c5b]{margin:0;font-weight:600;font-size:18px;line-height:20px}.widget-card-content[data-v-bca33c5b]{padding:9px 0;flex-grow:1}.widget-table__head-cell[data-v-fe89c589]{padding:18px;text-align:start}.widget-table__head-label[data-v-fe89c589]{font-weight:600;font-size:14px;line-height:19px}[dir=rtl] .icon[data-v-e287c8d9]{transform:scaleX(-1)}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { h as F, resolveComponent as q, openBlock as u, createElementBlock as
|
|
2
|
+
import { h as F, resolveComponent as q, openBlock as u, createElementBlock as f, createTextVNode as Ne, toDisplayString as $, createCommentVNode as b, createElementVNode as h, createVNode as A, normalizeClass as O, createBlock as E, Fragment as R, renderList as x, reactive as P, defineComponent as T, renderSlot as z, pushScopeId as Bt, popScopeId as qt, withCtx as me, withKeys as kn, computed as H, ref as D, normalizeStyle as ht, withModifiers as zt, onMounted as Fe, onUnmounted as An, unref as X, TransitionGroup as Gt, provide as Ht, inject as Nn, resolveDynamicComponent as Jt, mergeProps as gt, useSlots as Kt, Transition as Fn, watch as It, readonly as Yt } from "vue";
|
|
3
3
|
import { openModal as Xt } from "jenesius-vue-modal";
|
|
4
4
|
import { Form as Z, utils as ae, FormField as _e } from "jenesius-vue-form";
|
|
5
5
|
import Zt from "object-hash";
|
|
6
6
|
import { RouterLink as Qt, useRoute as Pn } from "vue-router";
|
|
7
7
|
import en from "date-and-time";
|
|
8
8
|
/*!
|
|
9
|
-
* eservices-core v1.3.
|
|
9
|
+
* eservices-core v1.3.4
|
|
10
10
|
* (c) 2023 ESERVICES
|
|
11
11
|
*/
|
|
12
12
|
const C = (t, e) => {
|
|
@@ -50,7 +50,7 @@ const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
50
50
|
numeric: et,
|
|
51
51
|
prettyNumeric: _t,
|
|
52
52
|
validPassword: Rn
|
|
53
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
53
|
+
}, Symbol.toStringTag, { value: "Module" })), pe = {
|
|
54
54
|
props: {
|
|
55
55
|
title: {
|
|
56
56
|
type: String
|
|
@@ -203,7 +203,7 @@ const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
203
203
|
}
|
|
204
204
|
}, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
205
205
|
__proto__: null,
|
|
206
|
-
MixinInput:
|
|
206
|
+
MixinInput: pe,
|
|
207
207
|
MixinInputPassword: Vn,
|
|
208
208
|
MixinInputText: tt
|
|
209
209
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -261,7 +261,7 @@ const Wn = {
|
|
|
261
261
|
this.input(e), this.$refs.input.value = this.pretty(Me(this.modelValue, this.arrayInputPrettyModifiers));
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
|
-
mixins: [
|
|
264
|
+
mixins: [pe, tt],
|
|
265
265
|
name: "InputText"
|
|
266
266
|
}, Mn = { class: "input-wrap" }, jn = {
|
|
267
267
|
key: 0,
|
|
@@ -275,10 +275,10 @@ const Wn = {
|
|
|
275
275
|
};
|
|
276
276
|
function zn(t, e, n, r, s, i) {
|
|
277
277
|
const l = q("icon");
|
|
278
|
-
return u(),
|
|
279
|
-
t.title ? (u(),
|
|
278
|
+
return u(), f("div", Mn, [
|
|
279
|
+
t.title ? (u(), f("p", jn, [
|
|
280
280
|
Ne($(t.title) + " ", 1),
|
|
281
|
-
t.required ? (u(),
|
|
281
|
+
t.required ? (u(), f("span", xn, "*")) : b("", !0)
|
|
282
282
|
])) : b("", !0),
|
|
283
283
|
h("div", {
|
|
284
284
|
class: "input-text-container input_size_md flex",
|
|
@@ -295,7 +295,7 @@ function zn(t, e, n, r, s, i) {
|
|
|
295
295
|
value: n.pretty(t.value),
|
|
296
296
|
onInput: e[0] || (e[0] = (...o) => i.onInput && i.onInput(...o))
|
|
297
297
|
}, null, 40, Bn),
|
|
298
|
-
t.password ? (u(),
|
|
298
|
+
t.password ? (u(), f("div", {
|
|
299
299
|
key: 0,
|
|
300
300
|
class: "input-text__password",
|
|
301
301
|
onClick: e[1] || (e[1] = (o) => t.togglePasswordVisible())
|
|
@@ -305,18 +305,18 @@ function zn(t, e, n, r, s, i) {
|
|
|
305
305
|
name: t.isPasswordVisible ? "eye-crossed" : "eye"
|
|
306
306
|
}, null, 8, ["name"])
|
|
307
307
|
])) : b("", !0),
|
|
308
|
-
t.errorMessage ? (u(),
|
|
308
|
+
t.errorMessage ? (u(), f("p", qn, $(t.errorMessage), 1)) : b("", !0)
|
|
309
309
|
], 8, Un)
|
|
310
310
|
]);
|
|
311
311
|
}
|
|
312
312
|
const Gn = /* @__PURE__ */ C(Wn, [["render", zn], ["__scopeId", "data-v-65e2ee2d"]]);
|
|
313
313
|
const Hn = {
|
|
314
|
-
mixins: [
|
|
314
|
+
mixins: [pe],
|
|
315
315
|
name: "InputToggle"
|
|
316
316
|
};
|
|
317
317
|
function Jn(t, e, n, r, s, i) {
|
|
318
|
-
return u(),
|
|
319
|
-
class:
|
|
318
|
+
return u(), f("div", {
|
|
319
|
+
class: O(["input__toggle widget-input", { active: t.value, disabled: t.disabled || t.isInsideDisabled }]),
|
|
320
320
|
onClick: e[0] || (e[0] = (l) => t.input(!t.value))
|
|
321
321
|
}, null, 2);
|
|
322
322
|
}
|
|
@@ -326,9 +326,9 @@ const Yn = {
|
|
|
326
326
|
name: "FragmentInputSelectItem"
|
|
327
327
|
}, Xn = { class: "item-wrap" };
|
|
328
328
|
function Zn(t, e, n, r, s, i) {
|
|
329
|
-
return u(),
|
|
329
|
+
return u(), f("div", Xn, [
|
|
330
330
|
h("p", {
|
|
331
|
-
class:
|
|
331
|
+
class: O(["input-select__item cursor_pointer", { active: n.isActive }])
|
|
332
332
|
}, $(n.title), 3)
|
|
333
333
|
]);
|
|
334
334
|
}
|
|
@@ -371,7 +371,7 @@ const er = {
|
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
373
|
components: { Icon: W, FragmentInputSelectItem: Qn },
|
|
374
|
-
mixins: [
|
|
374
|
+
mixins: [pe],
|
|
375
375
|
name: "InputSelect"
|
|
376
376
|
}, tr = { class: "input-wrap" }, nr = {
|
|
377
377
|
key: 0,
|
|
@@ -391,18 +391,18 @@ const er = {
|
|
|
391
391
|
};
|
|
392
392
|
function cr(t, e, n, r, s, i) {
|
|
393
393
|
const l = q("icon"), o = q("fragment-input-select-item");
|
|
394
|
-
return u(),
|
|
395
|
-
t.title ? (u(),
|
|
394
|
+
return u(), f("div", tr, [
|
|
395
|
+
t.title ? (u(), f("p", nr, [
|
|
396
396
|
Ne($(t.title) + " ", 1),
|
|
397
|
-
t.required ? (u(),
|
|
397
|
+
t.required ? (u(), f("span", rr, "*")) : b("", !0)
|
|
398
398
|
])) : b("", !0),
|
|
399
399
|
h("div", {
|
|
400
|
-
class:
|
|
400
|
+
class: O(["input-select-container cursor_pointer", { active: t.isActive, disabled: t.disabled || t.isInsideDisabled, error: !!t.errorMessage }]),
|
|
401
401
|
onClick: e[1] || (e[1] = (a) => i.active()),
|
|
402
402
|
ref: "input"
|
|
403
403
|
}, [
|
|
404
404
|
h("div", sr, [
|
|
405
|
-
t.value === void 0 || t.value === null ? (u(),
|
|
405
|
+
t.value === void 0 || t.value === null ? (u(), f("span", or, $(t.placeholder), 1)) : (u(), f("p", ir, $(i.titleValue), 1)),
|
|
406
406
|
t.disabled || t.isInsideDisabled ? b("", !0) : (u(), E(l, {
|
|
407
407
|
key: 2,
|
|
408
408
|
class: "input-select__ico-toggle",
|
|
@@ -414,7 +414,7 @@ function cr(t, e, n, r, s, i) {
|
|
|
414
414
|
key: 0,
|
|
415
415
|
onClick: e[0] || (e[0] = (a) => t.input(null))
|
|
416
416
|
})) : b("", !0),
|
|
417
|
-
(u(!0),
|
|
417
|
+
(u(!0), f(R, null, x(t.arrayParse, (a, d) => (u(), E(o, {
|
|
418
418
|
class: "input-select-list__item",
|
|
419
419
|
key: d,
|
|
420
420
|
"is-active": a.value === t.value,
|
|
@@ -422,7 +422,7 @@ function cr(t, e, n, r, s, i) {
|
|
|
422
422
|
onClick: (c) => t.input(a.value)
|
|
423
423
|
}, null, 8, ["is-active", "title", "onClick"]))), 128))
|
|
424
424
|
]),
|
|
425
|
-
t.errorMessage ? (u(),
|
|
425
|
+
t.errorMessage ? (u(), f("p", lr, $(t.errorMessage), 1)) : b("", !0)
|
|
426
426
|
], 2)
|
|
427
427
|
]);
|
|
428
428
|
}
|
|
@@ -441,7 +441,7 @@ class dr {
|
|
|
441
441
|
function mt(t = () => null) {
|
|
442
442
|
console.warn("ProcessWrap deprecated! Use AsyncWrap");
|
|
443
443
|
let e = t;
|
|
444
|
-
const n =
|
|
444
|
+
const n = P({
|
|
445
445
|
wait: !1,
|
|
446
446
|
error: !1,
|
|
447
447
|
ready: !1
|
|
@@ -458,7 +458,7 @@ function mt(t = () => null) {
|
|
|
458
458
|
e = r;
|
|
459
459
|
}, n;
|
|
460
460
|
}
|
|
461
|
-
const
|
|
461
|
+
const fr = T({
|
|
462
462
|
props: {
|
|
463
463
|
entityName: {
|
|
464
464
|
type: String,
|
|
@@ -481,9 +481,9 @@ const pr = T({
|
|
|
481
481
|
this.$emit("load", e), this.name && this.input(e.id);
|
|
482
482
|
}
|
|
483
483
|
},
|
|
484
|
-
mixins: [
|
|
484
|
+
mixins: [pe],
|
|
485
485
|
components: { Icon: W }
|
|
486
|
-
}),
|
|
486
|
+
}), pr = { class: "container-input-file" }, hr = {
|
|
487
487
|
key: 0,
|
|
488
488
|
class: "process-info input-file__wait text_size_sm"
|
|
489
489
|
}, gr = {
|
|
@@ -492,7 +492,7 @@ const pr = T({
|
|
|
492
492
|
};
|
|
493
493
|
function _r(t, e, n, r, s, i) {
|
|
494
494
|
const l = q("icon");
|
|
495
|
-
return u(),
|
|
495
|
+
return u(), f("div", pr, [
|
|
496
496
|
A(l, {
|
|
497
497
|
name: "plus",
|
|
498
498
|
class: "icon__file-upload"
|
|
@@ -502,11 +502,11 @@ function _r(t, e, n, r, s, i) {
|
|
|
502
502
|
class: "input-file",
|
|
503
503
|
onChange: e[0] || (e[0] = (o) => t.onChange(o.target.files[0]))
|
|
504
504
|
}, null, 32),
|
|
505
|
-
t.pw.wait ? (u(),
|
|
506
|
-
t.pw.error ? (u(),
|
|
505
|
+
t.pw.wait ? (u(), f("p", hr, "Loading...")) : b("", !0),
|
|
506
|
+
t.pw.error ? (u(), f("p", gr, "Error load file")) : b("", !0)
|
|
507
507
|
]);
|
|
508
508
|
}
|
|
509
|
-
const mr = /* @__PURE__ */ C(
|
|
509
|
+
const mr = /* @__PURE__ */ C(fr, [["render", _r], ["__scopeId", "data-v-bdbf1475"]]), yr = {
|
|
510
510
|
//InputAddress,
|
|
511
511
|
InputText: Gn,
|
|
512
512
|
InputToggle: Kn,
|
|
@@ -538,21 +538,21 @@ const vr = {
|
|
|
538
538
|
name: "WidgetInputContainer"
|
|
539
539
|
}, wr = (t) => (Bt("data-v-1e3f1057"), t = t(), qt(), t), br = { class: "widget-input__container" }, Cr = { class: "input-container__content" }, $r = /* @__PURE__ */ wr(() => /* @__PURE__ */ h("div", { class: "widget-input__underline" }, null, -1));
|
|
540
540
|
function Er(t, e, n, r, s, i) {
|
|
541
|
-
return u(),
|
|
541
|
+
return u(), f("div", br, [
|
|
542
542
|
h("div", Cr, [
|
|
543
543
|
z(t.$slots, "default", {}, void 0, !0)
|
|
544
544
|
]),
|
|
545
545
|
$r,
|
|
546
|
-
n.placeholder ? (u(),
|
|
546
|
+
n.placeholder ? (u(), f("p", {
|
|
547
547
|
key: 0,
|
|
548
|
-
class:
|
|
548
|
+
class: O(["widget-input__placeholder", { "widget-input__placeholder_error": n.error }])
|
|
549
549
|
}, $(n.placeholder), 3)) : b("", !0)
|
|
550
550
|
]);
|
|
551
551
|
}
|
|
552
552
|
const Tr = /* @__PURE__ */ C(vr, [["render", Er], ["__scopeId", "data-v-1e3f1057"]]);
|
|
553
553
|
const Sr = {
|
|
554
554
|
components: { Icon: W, WidgetInputContainer: Tr },
|
|
555
|
-
mixins: [
|
|
555
|
+
mixins: [pe, tt],
|
|
556
556
|
name: "InputText"
|
|
557
557
|
}, Ir = ["type", "value"];
|
|
558
558
|
function kr(t, e, n, r, s, i) {
|
|
@@ -569,7 +569,7 @@ function kr(t, e, n, r, s, i) {
|
|
|
569
569
|
onChange: e[0] || (e[0] = (a) => t.input(a.target.value)),
|
|
570
570
|
onKeyup: e[1] || (e[1] = kn((a) => t.$emit("enter"), ["enter"]))
|
|
571
571
|
}, null, 40, Ir),
|
|
572
|
-
t.password ? (u(),
|
|
572
|
+
t.password ? (u(), f("div", {
|
|
573
573
|
key: 0,
|
|
574
574
|
class: "input-text__password",
|
|
575
575
|
onClick: e[2] || (e[2] = (a) => t.togglePasswordVisible())
|
|
@@ -641,7 +641,7 @@ const Fr = T({
|
|
|
641
641
|
this.input(e), this.$refs.input.value = this.pretty(je(this.modelValue, this.arrayInputPrettyModifiers));
|
|
642
642
|
}
|
|
643
643
|
},
|
|
644
|
-
mixins: [
|
|
644
|
+
mixins: [pe, tt],
|
|
645
645
|
name: "InputText"
|
|
646
646
|
}), Pr = {
|
|
647
647
|
key: 0,
|
|
@@ -655,10 +655,10 @@ const Fr = T({
|
|
|
655
655
|
};
|
|
656
656
|
function Dr(t, e, n, r, s, i) {
|
|
657
657
|
const l = q("icon");
|
|
658
|
-
return u(),
|
|
659
|
-
t.title ? (u(),
|
|
658
|
+
return u(), f(R, null, [
|
|
659
|
+
t.title ? (u(), f("p", Pr, [
|
|
660
660
|
Ne($(t.title) + " ", 1),
|
|
661
|
-
t.required ? (u(),
|
|
661
|
+
t.required ? (u(), f("span", Or, "*")) : b("", !0)
|
|
662
662
|
])) : b("", !0),
|
|
663
663
|
h("div", {
|
|
664
664
|
class: "input-text-container flex",
|
|
@@ -675,7 +675,7 @@ function Dr(t, e, n, r, s, i) {
|
|
|
675
675
|
value: t.pretty(t.value),
|
|
676
676
|
onInput: e[0] || (e[0] = (...o) => t.onInput && t.onInput(...o))
|
|
677
677
|
}, null, 40, Lr),
|
|
678
|
-
t.password ? (u(),
|
|
678
|
+
t.password ? (u(), f("div", {
|
|
679
679
|
key: 0,
|
|
680
680
|
class: "input-text__password",
|
|
681
681
|
onClick: e[1] || (e[1] = (o) => t.togglePasswordVisible())
|
|
@@ -685,7 +685,7 @@ function Dr(t, e, n, r, s, i) {
|
|
|
685
685
|
name: t.isPasswordVisible ? "eye-crossed" : "eye"
|
|
686
686
|
}, null, 8, ["name"])
|
|
687
687
|
])) : b("", !0),
|
|
688
|
-
t.errorMessage ? (u(),
|
|
688
|
+
t.errorMessage ? (u(), f("p", Vr, $(t.errorMessage), 1)) : b("", !0)
|
|
689
689
|
], 8, Rr)
|
|
690
690
|
], 64);
|
|
691
691
|
}
|
|
@@ -728,27 +728,27 @@ const xr = {
|
|
|
728
728
|
}, Ur = { class: "widget-button-wrap flex" }, Br = ["onClick"];
|
|
729
729
|
function qr(t, e, n, r, s, i) {
|
|
730
730
|
const l = q("icon");
|
|
731
|
-
return u(),
|
|
731
|
+
return u(), f("div", Ur, [
|
|
732
732
|
h("div", {
|
|
733
|
-
class:
|
|
733
|
+
class: O(["widget-button flex", { active: r.isActive }]),
|
|
734
734
|
ref: "button"
|
|
735
735
|
}, [
|
|
736
736
|
h("div", {
|
|
737
737
|
class: "widget-button__list flex_column",
|
|
738
738
|
style: ht({ maxHeight: r.maxHeight })
|
|
739
739
|
}, [
|
|
740
|
-
n.title ? (u(),
|
|
740
|
+
n.title ? (u(), f("span", {
|
|
741
741
|
key: 0,
|
|
742
742
|
class: "widget-button__list-elem cursor_pointer",
|
|
743
743
|
onClick: e[0] || (e[0] = (o) => r.toggle())
|
|
744
744
|
}, $(n.title), 1)) : b("", !0),
|
|
745
|
-
(u(!0),
|
|
745
|
+
(u(!0), f(R, null, x(r.array, (o, a) => (u(), f("span", {
|
|
746
746
|
class: "widget-button__list-elem cursor_pointer",
|
|
747
747
|
onClick: (d) => (o.callback(), r.toggle(!1)),
|
|
748
748
|
key: a
|
|
749
749
|
}, $(o.title), 9, Br))), 128))
|
|
750
750
|
], 4),
|
|
751
|
-
r.array.length > 1 ? (u(),
|
|
751
|
+
r.array.length > 1 ? (u(), f("div", {
|
|
752
752
|
key: 0,
|
|
753
753
|
class: "widget-button__toggle flex flex_center cursor_pointer",
|
|
754
754
|
onClick: e[1] || (e[1] = zt((o) => r.toggle(), ["stop"]))
|
|
@@ -772,7 +772,7 @@ const Gr = {
|
|
|
772
772
|
};
|
|
773
773
|
function Hr(t, e, n, r, s, i) {
|
|
774
774
|
const l = q("icon");
|
|
775
|
-
return u(),
|
|
775
|
+
return u(), f("div", {
|
|
776
776
|
class: "function-item cursor_pointer",
|
|
777
777
|
onClick: e[0] || (e[0] = (...o) => n.func && n.func(...o))
|
|
778
778
|
}, [
|
|
@@ -787,7 +787,7 @@ const Kr = {
|
|
|
787
787
|
name: "WidgetFormTitle"
|
|
788
788
|
}, Yr = { class: "form-title" }, Xr = { class: "title_lg color__text_black margin-0" };
|
|
789
789
|
function Zr(t, e, n, r, s, i) {
|
|
790
|
-
return u(),
|
|
790
|
+
return u(), f("div", Yr, [
|
|
791
791
|
h("h2", Xr, $(n.title), 1)
|
|
792
792
|
]);
|
|
793
793
|
}
|
|
@@ -806,7 +806,7 @@ const es = {
|
|
|
806
806
|
}, ts = { class: "widget-form flex_column" }, ns = { class: "widget-form__head flex" }, rs = { class: "widget-form__head-functions flex" }, ss = { class: "widget-form__body" };
|
|
807
807
|
function is(t, e, n, r, s, i) {
|
|
808
808
|
const l = q("widget-form-title"), o = q("widget-button"), a = q("widget-form-function-item");
|
|
809
|
-
return u(),
|
|
809
|
+
return u(), f("div", ts, [
|
|
810
810
|
h("div", ns, [
|
|
811
811
|
A(l, { title: n.title }, null, 8, ["title"]),
|
|
812
812
|
Array.isArray(n.button) && n.button.length || !Array.isArray(n.button) && n.button ? (u(), E(o, {
|
|
@@ -815,7 +815,7 @@ function is(t, e, n, r, s, i) {
|
|
|
815
815
|
values: n.button
|
|
816
816
|
}, null, 8, ["values"])) : b("", !0),
|
|
817
817
|
h("div", rs, [
|
|
818
|
-
(u(!0),
|
|
818
|
+
(u(!0), f(R, null, x(n.functions, (d, c) => (u(), E(a, {
|
|
819
819
|
key: c,
|
|
820
820
|
icon: d.icon,
|
|
821
821
|
func: d.callback
|
|
@@ -846,27 +846,27 @@ const ls = {
|
|
|
846
846
|
}, cs = { class: "form-container-item__title flex" }, us = { class: "" }, ds = {
|
|
847
847
|
key: 0,
|
|
848
848
|
class: ""
|
|
849
|
-
},
|
|
849
|
+
}, fs = { class: "title_sm" }, ps = {
|
|
850
850
|
key: 1,
|
|
851
851
|
class: "form-container-item__right"
|
|
852
852
|
};
|
|
853
853
|
function hs(t, e, n, r, s, i) {
|
|
854
|
-
return u(),
|
|
855
|
-
class:
|
|
854
|
+
return u(), f("div", {
|
|
855
|
+
class: O(["form-container-item flex", [`form-container-item-${n.type}`]])
|
|
856
856
|
}, [
|
|
857
857
|
h("div", cs, [
|
|
858
858
|
h("span", us, $(n.title), 1)
|
|
859
859
|
]),
|
|
860
860
|
h("div", {
|
|
861
|
-
class:
|
|
861
|
+
class: O(["form-container-item-center flex_column", { content_double: n.double }])
|
|
862
862
|
}, [
|
|
863
863
|
z(t.$slots, "default", {}, void 0, !0)
|
|
864
864
|
], 2),
|
|
865
|
-
n.subTitle ? (u(),
|
|
866
|
-
h("span",
|
|
865
|
+
n.subTitle ? (u(), f("div", ds, [
|
|
866
|
+
h("span", fs, $(n.subTitle), 1),
|
|
867
867
|
z(t.$slots, "centerRight", {}, void 0, !0)
|
|
868
868
|
])) : b("", !0),
|
|
869
|
-
t.$slots.right ? (u(),
|
|
869
|
+
t.$slots.right ? (u(), f("div", ps, [
|
|
870
870
|
z(t.$slots, "right", {}, void 0, !0)
|
|
871
871
|
])) : b("", !0)
|
|
872
872
|
], 2);
|
|
@@ -876,7 +876,7 @@ const _s = {
|
|
|
876
876
|
name: "ContainerAuthView"
|
|
877
877
|
}, ms = { class: "container-auth-wrap" }, ys = { class: "container-auth-sidebar" }, vs = { class: "container-auth-main" };
|
|
878
878
|
function ws(t, e, n, r, s, i) {
|
|
879
|
-
return u(),
|
|
879
|
+
return u(), f("div", ms, [
|
|
880
880
|
h("div", ys, [
|
|
881
881
|
z(t.$slots, "side", {}, void 0, !0)
|
|
882
882
|
]),
|
|
@@ -894,7 +894,7 @@ const bs = /* @__PURE__ */ C(_s, [["render", ws], ["__scopeId", "data-v-0b1a5e81
|
|
|
894
894
|
color: {}
|
|
895
895
|
},
|
|
896
896
|
setup(t) {
|
|
897
|
-
return (e, n) => (u(),
|
|
897
|
+
return (e, n) => (u(), f("div", {
|
|
898
898
|
class: "loader",
|
|
899
899
|
style: ht({ "border-left": `1.1em solid ${e.color ? e.color : "#fff"}` })
|
|
900
900
|
}, null, 4));
|
|
@@ -919,7 +919,7 @@ const Oe = /* @__PURE__ */ C($s, [["__scopeId", "data-v-661e0416"]]), Es = { cla
|
|
|
919
919
|
document.removeEventListener("keypress", n);
|
|
920
920
|
});
|
|
921
921
|
const r = mt(e.callback);
|
|
922
|
-
return (s, i) => (u(),
|
|
922
|
+
return (s, i) => (u(), f("div", {
|
|
923
923
|
class: "button-wrap",
|
|
924
924
|
onClick: i[0] || (i[0] = (l) => X(r).call())
|
|
925
925
|
}, [
|
|
@@ -944,7 +944,7 @@ const Ss = /* @__PURE__ */ C(Ts, [["__scopeId", "data-v-3cf452e1"]]), Is = { cla
|
|
|
944
944
|
array: {}
|
|
945
945
|
},
|
|
946
946
|
setup(t) {
|
|
947
|
-
const e = mt(), n =
|
|
947
|
+
const e = mt(), n = P({
|
|
948
948
|
active: !1
|
|
949
949
|
});
|
|
950
950
|
function r(i = !n.active) {
|
|
@@ -953,18 +953,18 @@ const Ss = /* @__PURE__ */ C(Ts, [["__scopeId", "data-v-3cf452e1"]]), Is = { cla
|
|
|
953
953
|
function s(i) {
|
|
954
954
|
e.setFunction(i), e.call();
|
|
955
955
|
}
|
|
956
|
-
return (i, l) => (u(),
|
|
956
|
+
return (i, l) => (u(), f("div", Is, [
|
|
957
957
|
h("div", ks, [
|
|
958
958
|
h("div", {
|
|
959
|
-
class:
|
|
959
|
+
class: O(["button__content", { button__content_active: n.active }])
|
|
960
960
|
}, [
|
|
961
|
-
i.title ? (u(),
|
|
961
|
+
i.title ? (u(), f("p", {
|
|
962
962
|
key: 0,
|
|
963
963
|
class: "button__content-title widget-multi-button-row",
|
|
964
964
|
onClick: l[0] || (l[0] = (o) => r())
|
|
965
965
|
}, $(i.title), 1)) : b("", !0),
|
|
966
966
|
h("div", As, [
|
|
967
|
-
(u(!0),
|
|
967
|
+
(u(!0), f(R, null, x(i.array, (o, a) => (u(), f("p", {
|
|
968
968
|
class: "button__content-title widget-multi-button-row",
|
|
969
969
|
key: a,
|
|
970
970
|
onClick: (d) => (s(o.callback), r(!1))
|
|
@@ -972,11 +972,11 @@ const Ss = /* @__PURE__ */ C(Ts, [["__scopeId", "data-v-3cf452e1"]]), Is = { cla
|
|
|
972
972
|
])
|
|
973
973
|
], 2),
|
|
974
974
|
h("div", Fs, [
|
|
975
|
-
X(e).wait ? (u(),
|
|
975
|
+
X(e).wait ? (u(), f("div", Ps, [
|
|
976
976
|
A(Oe, { class: "button-spinner" })
|
|
977
|
-
])) : i.array && i.array.length > 1 ? (u(),
|
|
977
|
+
])) : i.array && i.array.length > 1 ? (u(), f("div", {
|
|
978
978
|
key: 1,
|
|
979
|
-
class:
|
|
979
|
+
class: O(["button__size-toggle widget-multi-button-toggle", { button__toggle_active: n.active }]),
|
|
980
980
|
onClick: l[1] || (l[1] = (o) => r())
|
|
981
981
|
}, [
|
|
982
982
|
A(W, {
|
|
@@ -996,7 +996,7 @@ const tn = /* @__PURE__ */ C(Os, [["__scopeId", "data-v-3edae6ea"]]), Rs = {
|
|
|
996
996
|
Icon: W
|
|
997
997
|
}, j = new class {
|
|
998
998
|
constructor() {
|
|
999
|
-
this.store =
|
|
999
|
+
this.store = P([]);
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
1002
|
* @description Метод используется для добавления новых уведомлений. Принимает два обязательных поля type и message,
|
|
@@ -1040,12 +1040,12 @@ const Ds = { class: "widget-error" }, Ws = { class: "widget-error-wrap" }, Ms =
|
|
|
1040
1040
|
},
|
|
1041
1041
|
emits: ["close", "toggle"],
|
|
1042
1042
|
setup(t, { emit: e }) {
|
|
1043
|
-
return (n, r) => (u(),
|
|
1043
|
+
return (n, r) => (u(), f("div", Ds, [
|
|
1044
1044
|
h("div", Ws, [
|
|
1045
1045
|
h("div", Ms, [
|
|
1046
1046
|
h("p", js, $(n.message), 1)
|
|
1047
1047
|
]),
|
|
1048
|
-
n.isGroup ? (u(),
|
|
1048
|
+
n.isGroup ? (u(), f("p", {
|
|
1049
1049
|
key: 0,
|
|
1050
1050
|
onClick: r[0] || (r[0] = (s) => e("toggle")),
|
|
1051
1051
|
class: "article-details"
|
|
@@ -1074,7 +1074,7 @@ const kt = /* @__PURE__ */ C(Us, [["__scopeId", "data-v-8a0a0924"]]), Bs = {
|
|
|
1074
1074
|
var i;
|
|
1075
1075
|
return !!((i = n.card.children) != null && i.length);
|
|
1076
1076
|
}), s = D(!0);
|
|
1077
|
-
return (i, l) => (u(),
|
|
1077
|
+
return (i, l) => (u(), f("div", null, [
|
|
1078
1078
|
(u(), E(kt, {
|
|
1079
1079
|
message: i.card.msg,
|
|
1080
1080
|
key: i.card.id,
|
|
@@ -1082,10 +1082,10 @@ const kt = /* @__PURE__ */ C(Us, [["__scopeId", "data-v-8a0a0924"]]), Bs = {
|
|
|
1082
1082
|
onToggle: l[1] || (l[1] = (o) => s.value = !s.value),
|
|
1083
1083
|
"is-group": r.value
|
|
1084
1084
|
}, null, 8, ["message", "is-group"])),
|
|
1085
|
-
!s.value && i.card.children ? (u(),
|
|
1085
|
+
!s.value && i.card.children ? (u(), f("div", Bs, [
|
|
1086
1086
|
A(Gt, { name: "fade" }, {
|
|
1087
1087
|
default: me(() => [
|
|
1088
|
-
(u(!0),
|
|
1088
|
+
(u(!0), f(R, null, x(i.card.children, (o) => (u(), E(kt, {
|
|
1089
1089
|
key: o.id,
|
|
1090
1090
|
message: o.msg,
|
|
1091
1091
|
onClose: (a) => e("closeChild", o.id)
|
|
@@ -1100,10 +1100,10 @@ const kt = /* @__PURE__ */ C(Us, [["__scopeId", "data-v-8a0a0924"]]), Bs = {
|
|
|
1100
1100
|
const zs = /* @__PURE__ */ C(qs, [["__scopeId", "data-v-aa732044"]]), Gs = { class: "container-errors" }, Hs = /* @__PURE__ */ T({
|
|
1101
1101
|
__name: "WidgetNotificationSystem",
|
|
1102
1102
|
setup(t) {
|
|
1103
|
-
return (e, n) => (u(),
|
|
1103
|
+
return (e, n) => (u(), f("div", Gs, [
|
|
1104
1104
|
A(Gt, { name: "fade" }, {
|
|
1105
1105
|
default: me(() => [
|
|
1106
|
-
(u(!0),
|
|
1106
|
+
(u(!0), f(R, null, x(X(j).store, (r) => (u(), E(zs, {
|
|
1107
1107
|
key: r.id,
|
|
1108
1108
|
card: r,
|
|
1109
1109
|
onCloseCard: (s) => X(j).remove(r.id),
|
|
@@ -1442,7 +1442,7 @@ he.CURRENT_CONTEXT_KEY = "CurrentContext";
|
|
|
1442
1442
|
let ei = he;
|
|
1443
1443
|
const S = new ei();
|
|
1444
1444
|
function Oa() {
|
|
1445
|
-
const t =
|
|
1445
|
+
const t = P({
|
|
1446
1446
|
contextType: S.contextType,
|
|
1447
1447
|
contextId: S.contextId,
|
|
1448
1448
|
context: S.context
|
|
@@ -1551,7 +1551,7 @@ const ri = {
|
|
|
1551
1551
|
}, si = { class: "modal__wait modal-default flex_column" };
|
|
1552
1552
|
function ii(t, e, n, r, s, i) {
|
|
1553
1553
|
const l = q("widget-spinner");
|
|
1554
|
-
return u(),
|
|
1554
|
+
return u(), f("div", si, [
|
|
1555
1555
|
A(l),
|
|
1556
1556
|
h("p", null, $(n.message), 1)
|
|
1557
1557
|
]);
|
|
@@ -1644,7 +1644,7 @@ const ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1644
1644
|
function di(t) {
|
|
1645
1645
|
return Array.isArray(t) && t.length === 2 && typeof t[0] == "string" && typeof t[1] == "number";
|
|
1646
1646
|
}
|
|
1647
|
-
const
|
|
1647
|
+
const fi = "masterId", pi = "masterEntity";
|
|
1648
1648
|
function Ze(t, e) {
|
|
1649
1649
|
if (!Array.isArray(e))
|
|
1650
1650
|
return;
|
|
@@ -1652,7 +1652,7 @@ function Ze(t, e) {
|
|
|
1652
1652
|
return n(e);
|
|
1653
1653
|
e.forEach(n);
|
|
1654
1654
|
function n(r) {
|
|
1655
|
-
t.append(
|
|
1655
|
+
t.append(pi, r[0]), t.append(fi, r[1].toString());
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
1658
|
class M {
|
|
@@ -1784,14 +1784,14 @@ class M {
|
|
|
1784
1784
|
});
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
var
|
|
1787
|
+
var fn = (t, e, n) => {
|
|
1788
1788
|
if (!e.has(t))
|
|
1789
1789
|
throw TypeError("Cannot " + n);
|
|
1790
|
-
}, ct = (t, e, n) => (
|
|
1790
|
+
}, ct = (t, e, n) => (fn(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Ot = (t, e, n) => {
|
|
1791
1791
|
if (e.has(t))
|
|
1792
1792
|
throw TypeError("Cannot add the same private member more than once");
|
|
1793
1793
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
1794
|
-
}, Rt = (t, e, n, r) => (
|
|
1794
|
+
}, Rt = (t, e, n, r) => (fn(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ce, ze;
|
|
1795
1795
|
const wt = class ge extends Y {
|
|
1796
1796
|
constructor(e) {
|
|
1797
1797
|
super(), Ot(this, Ce, []), Ot(this, ze, !1), this.hashParams = "", this.offset = 0, this.name = e.name;
|
|
@@ -1856,9 +1856,9 @@ Ce = /* @__PURE__ */ new WeakMap();
|
|
|
1856
1856
|
ze = /* @__PURE__ */ new WeakMap();
|
|
1857
1857
|
wt.EVENT_DATA = "LIST:DATA";
|
|
1858
1858
|
wt.EVENT_CHANGE_WAIT = "LIST:UPDATE-WAIT";
|
|
1859
|
-
let
|
|
1859
|
+
let pn = wt;
|
|
1860
1860
|
const de = Symbol("__ROW_INDEX__");
|
|
1861
|
-
let hn = class extends
|
|
1861
|
+
let hn = class extends pn {
|
|
1862
1862
|
constructor(e) {
|
|
1863
1863
|
super(e), this.rowIndex = 1, this.changes = {
|
|
1864
1864
|
new: {},
|
|
@@ -1923,10 +1923,10 @@ let hn = class extends fn {
|
|
|
1923
1923
|
};
|
|
1924
1924
|
hn.PROVIDE_NAME = "table-controller";
|
|
1925
1925
|
function La(t) {
|
|
1926
|
-
const e =
|
|
1926
|
+
const e = P(t.array);
|
|
1927
1927
|
Ht(hn.PROVIDE_NAME, t);
|
|
1928
|
-
const n =
|
|
1929
|
-
t.on(
|
|
1928
|
+
const n = P(t.changes);
|
|
1929
|
+
t.on(pn.EVENT_DATA, (l) => e.splice(0, e.length, ...l)), t.on(Z.EVENT_CHANGED, () => {
|
|
1930
1930
|
n.new = Object.keys(t.changes.new).reduce((l, o) => {
|
|
1931
1931
|
const a = Number(o);
|
|
1932
1932
|
return l[a] = t.changes.new[a], l;
|
|
@@ -2004,13 +2004,13 @@ var gn = (t, e, n) => {
|
|
|
2004
2004
|
if (e.has(t))
|
|
2005
2005
|
throw TypeError("Cannot add the same private member more than once");
|
|
2006
2006
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
2007
|
-
}, ce = (t, e, n, r) => (gn(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ge, $e, He, Je, Ee, Te,
|
|
2007
|
+
}, ce = (t, e, n, r) => (gn(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ge, $e, He, Je, Ee, Te, ft;
|
|
2008
2008
|
const ue = "_______LIST_______ROW_______INDEX________NAME_______", Le = class se extends Y {
|
|
2009
2009
|
constructor(e) {
|
|
2010
2010
|
super(), this.LIST_ROW_KEY = 1, le(this, Ge, void 0), this.array = [], le(this, $e, []), le(this, He, []), le(this, Je, new Proxy({}, {
|
|
2011
2011
|
set: (n, r, s, i) => (n[r] = s, this.emit(se.EVENT_FILTERS_UPDATE, n), !0),
|
|
2012
2012
|
deleteProperty: (n, r) => (delete n[r], this.emit(se.EVENT_FILTERS_UPDATE, n), !0)
|
|
2013
|
-
})), le(this, Ee, !1), le(this, Te, (...n) => Promise), le(this,
|
|
2013
|
+
})), le(this, Ee, !1), le(this, Te, (...n) => Promise), le(this, ft, () => {
|
|
2014
2014
|
}), ce(this, Ge, e.primaryKeys || []), this.name = e.name || void 0, e.config && ce(this, $e, e.config);
|
|
2015
2015
|
}
|
|
2016
2016
|
set config(e) {
|
|
@@ -2134,7 +2134,7 @@ const ue = "_______LIST_______ROW_______INDEX________NAME_______", Le = class se
|
|
|
2134
2134
|
ce(this, Te, e);
|
|
2135
2135
|
}
|
|
2136
2136
|
get save() {
|
|
2137
|
-
return () => Promise.resolve().then(() => this.wait = !0).then(() => re(this,
|
|
2137
|
+
return () => Promise.resolve().then(() => this.wait = !0).then(() => re(this, ft).call(this)).finally(() => this.wait = !1);
|
|
2138
2138
|
}
|
|
2139
2139
|
/**
|
|
2140
2140
|
* @description Function get all names from Config.
|
|
@@ -2181,7 +2181,7 @@ He = /* @__PURE__ */ new WeakMap();
|
|
|
2181
2181
|
Je = /* @__PURE__ */ new WeakMap();
|
|
2182
2182
|
Ee = /* @__PURE__ */ new WeakMap();
|
|
2183
2183
|
Te = /* @__PURE__ */ new WeakMap();
|
|
2184
|
-
|
|
2184
|
+
ft = /* @__PURE__ */ new WeakMap();
|
|
2185
2185
|
Le.EVENT_DATA = "list-data: update";
|
|
2186
2186
|
Le.EVENT_CONFIG_UPDATE = "list-config:update";
|
|
2187
2187
|
Le.EVENT_ORDER_UPDATE = "list-order:update";
|
|
@@ -2207,7 +2207,7 @@ function hi(t, e) {
|
|
|
2207
2207
|
};
|
|
2208
2208
|
}
|
|
2209
2209
|
function gi(t) {
|
|
2210
|
-
const e =
|
|
2210
|
+
const e = P({
|
|
2211
2211
|
wait: t.wait,
|
|
2212
2212
|
array: []
|
|
2213
2213
|
});
|
|
@@ -2233,13 +2233,13 @@ function _i(t, e) {
|
|
|
2233
2233
|
return Ht(n, s), s;
|
|
2234
2234
|
}
|
|
2235
2235
|
function Ma(t) {
|
|
2236
|
-
const e =
|
|
2236
|
+
const e = P([...t.config]);
|
|
2237
2237
|
return t.on(ie.EVENT_CONFIG_UPDATE, (n) => {
|
|
2238
2238
|
e.splice(0, e.length, ...n);
|
|
2239
2239
|
}), e;
|
|
2240
2240
|
}
|
|
2241
2241
|
function mi(t) {
|
|
2242
|
-
const e = t.order || [], n =
|
|
2242
|
+
const e = t.order || [], n = P(e);
|
|
2243
2243
|
return t.on(ie.EVENT_ORDER_UPDATE, (r) => {
|
|
2244
2244
|
n.splice(0, n.length, ...r), t.read();
|
|
2245
2245
|
}), n;
|
|
@@ -2260,13 +2260,13 @@ function _n(t, e) {
|
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
2262
|
function xa(t) {
|
|
2263
|
-
const e =
|
|
2263
|
+
const e = P(ae.copyObject(t.filters));
|
|
2264
2264
|
return t.on(ie.EVENT_FILTERS_UPDATE, (n) => {
|
|
2265
2265
|
_n(e, n), t.read();
|
|
2266
2266
|
}), e;
|
|
2267
2267
|
}
|
|
2268
2268
|
function Ua(t) {
|
|
2269
|
-
const e =
|
|
2269
|
+
const e = P([]);
|
|
2270
2270
|
function n(o) {
|
|
2271
2271
|
return e.includes(o);
|
|
2272
2272
|
}
|
|
@@ -2330,8 +2330,8 @@ const bi = {
|
|
|
2330
2330
|
name: "WidgetTableHead"
|
|
2331
2331
|
}, Ci = { class: "widget-table__head" }, $i = { class: "widget-table__head-title" };
|
|
2332
2332
|
function Ei(t, e, n, r, s, i) {
|
|
2333
|
-
return u(),
|
|
2334
|
-
(u(!0),
|
|
2333
|
+
return u(), f("tr", Ci, [
|
|
2334
|
+
(u(!0), f(R, null, x(n.config, (l, o) => (u(), f("th", {
|
|
2335
2335
|
class: "widget-table__head-cell",
|
|
2336
2336
|
key: o
|
|
2337
2337
|
}, [
|
|
@@ -2402,10 +2402,10 @@ function Ai(t, e, n) {
|
|
|
2402
2402
|
function d(g) {
|
|
2403
2403
|
Array.isArray(g) ? o.class.push(...g) : o.class.push(g);
|
|
2404
2404
|
}
|
|
2405
|
-
const c = [],
|
|
2405
|
+
const c = [], p = [];
|
|
2406
2406
|
if (ne.handleListCell)
|
|
2407
2407
|
try {
|
|
2408
|
-
ne.handleListCell(t, r, e,
|
|
2408
|
+
ne.handleListCell(t, r, e, p);
|
|
2409
2409
|
} catch (g) {
|
|
2410
2410
|
s.error("get-table-row", "handle list cell", g);
|
|
2411
2411
|
}
|
|
@@ -2427,14 +2427,14 @@ function Ai(t, e, n) {
|
|
|
2427
2427
|
break;
|
|
2428
2428
|
}
|
|
2429
2429
|
case "multi-select": {
|
|
2430
|
-
|
|
2430
|
+
p.push(F(_e, {
|
|
2431
2431
|
type: "single-checkbox",
|
|
2432
2432
|
modelValue: e.selected
|
|
2433
2433
|
})), a(Lt.bind(null, n, !0));
|
|
2434
2434
|
break;
|
|
2435
2435
|
}
|
|
2436
2436
|
case "select": {
|
|
2437
|
-
|
|
2437
|
+
p.push(F(_e, {
|
|
2438
2438
|
type: "single-radio",
|
|
2439
2439
|
modelValue: e.selected
|
|
2440
2440
|
})), a(Lt.bind(null, n, !1));
|
|
@@ -2443,7 +2443,7 @@ function Ai(t, e, n) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
if (t.checked) {
|
|
2445
2445
|
const g = t.checked(r);
|
|
2446
|
-
|
|
2446
|
+
p.push(
|
|
2447
2447
|
F(_e, {
|
|
2448
2448
|
type: "single-checkbox",
|
|
2449
2449
|
modelValue: g
|
|
@@ -2455,19 +2455,19 @@ function Ai(t, e, n) {
|
|
|
2455
2455
|
const g = t.link(r);
|
|
2456
2456
|
if (g) {
|
|
2457
2457
|
const _ = F(Qt, { to: g });
|
|
2458
|
-
|
|
2458
|
+
p.push(_), d("list-cell-link");
|
|
2459
2459
|
}
|
|
2460
2460
|
} catch (g) {
|
|
2461
2461
|
console.warn("Error handle: Add Router link to cell", g);
|
|
2462
2462
|
}
|
|
2463
|
-
return t.href && (
|
|
2463
|
+
return t.href && (p.push(F("a", {
|
|
2464
2464
|
href: t.href(r),
|
|
2465
2465
|
target: "_blank"
|
|
2466
|
-
})), d("list-cell-link")), l != null &&
|
|
2466
|
+
})), d("list-cell-link")), l != null && p.push(
|
|
2467
2467
|
F("p", {
|
|
2468
2468
|
class: "widget-list-cell-text"
|
|
2469
2469
|
}, l)
|
|
2470
|
-
), t.icon &&
|
|
2470
|
+
), t.icon && p.push(F(W, { name: t.icon })), t.class && (typeof t.class == "function" ? d(t.class(r)) : d(t.class)), c.push(F("td", o, p)), c;
|
|
2471
2471
|
}
|
|
2472
2472
|
function Lt(t, e) {
|
|
2473
2473
|
t.emit("select", e);
|
|
@@ -2502,7 +2502,7 @@ const Ni = {
|
|
|
2502
2502
|
setTimeout(() => {
|
|
2503
2503
|
r.value && r.value.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth" });
|
|
2504
2504
|
}, 250);
|
|
2505
|
-
}), (i, l) => (u(),
|
|
2505
|
+
}), (i, l) => (u(), f("tr", {
|
|
2506
2506
|
class: "widget-table-form",
|
|
2507
2507
|
ref_key: "refTableForm",
|
|
2508
2508
|
ref: r
|
|
@@ -2523,7 +2523,7 @@ const Ni = {
|
|
|
2523
2523
|
label: {}
|
|
2524
2524
|
},
|
|
2525
2525
|
setup(t) {
|
|
2526
|
-
return (e, n) => (u(),
|
|
2526
|
+
return (e, n) => (u(), f("div", Pi, [
|
|
2527
2527
|
A(Oe, {
|
|
2528
2528
|
color: "var(--primary)",
|
|
2529
2529
|
class: "wait-spinner"
|
|
@@ -2553,12 +2553,12 @@ const Li = /* @__PURE__ */ C(Ri, [["__scopeId", "data-v-2038b2ba"]]), Vi = /* @_
|
|
|
2553
2553
|
hash: Zt(a)
|
|
2554
2554
|
})));
|
|
2555
2555
|
function l(a, d = !0) {
|
|
2556
|
-
return n.selectRows ? d ? n.selectRows.indexOf(a) === -1 ? e("update:selectRows", [...n.selectRows, a]) : e("update:selectRows", n.selectRows.filter((
|
|
2556
|
+
return n.selectRows ? d ? n.selectRows.indexOf(a) === -1 ? e("update:selectRows", [...n.selectRows, a]) : e("update:selectRows", n.selectRows.filter((p) => p !== a)) : e("update:selectRows", [a]) : void 0;
|
|
2557
2557
|
}
|
|
2558
2558
|
function o(a) {
|
|
2559
2559
|
e("save", a), e("update:activeRow", null);
|
|
2560
2560
|
}
|
|
2561
|
-
return (a, d) => (u(),
|
|
2561
|
+
return (a, d) => (u(), f("div", null, [
|
|
2562
2562
|
A(Fn, { name: "move-horizontal" }, {
|
|
2563
2563
|
default: me(() => [
|
|
2564
2564
|
a.wait ? (u(), E(Li, {
|
|
@@ -2571,21 +2571,21 @@ const Li = /* @__PURE__ */ C(Ri, [["__scopeId", "data-v-2038b2ba"]]), Vi = /* @_
|
|
|
2571
2571
|
_: 1
|
|
2572
2572
|
}),
|
|
2573
2573
|
h("table", {
|
|
2574
|
-
class:
|
|
2574
|
+
class: O(["widget-table", { "widget-table_mini": a.mini }])
|
|
2575
2575
|
}, [
|
|
2576
2576
|
A(Ti, { config: a.config }, null, 8, ["config"]),
|
|
2577
2577
|
h("tbody", null, [
|
|
2578
|
-
(u(!0),
|
|
2578
|
+
(u(!0), f(R, null, x(i.value, ({ values: c, hash: p }, g) => {
|
|
2579
2579
|
var _;
|
|
2580
|
-
return u(),
|
|
2580
|
+
return u(), f(R, { key: g }, [
|
|
2581
2581
|
A(Ni, {
|
|
2582
2582
|
config: a.config,
|
|
2583
2583
|
values: c,
|
|
2584
2584
|
selected: (_ = a.selectRows) == null ? void 0 : _.includes(c),
|
|
2585
2585
|
onSelect: (y) => l(c, y),
|
|
2586
|
-
class:
|
|
2586
|
+
class: O(a.classCallback ? a.classCallback(c) : "")
|
|
2587
2587
|
}, null, 8, ["config", "values", "selected", "onSelect", "class"]),
|
|
2588
|
-
s.value && a.activeRow ===
|
|
2588
|
+
s.value && a.activeRow === p ? (u(), E(Vt, {
|
|
2589
2589
|
key: 0,
|
|
2590
2590
|
component: s.value,
|
|
2591
2591
|
"row-length": a.config.length,
|
|
@@ -2670,14 +2670,14 @@ class Ga {
|
|
|
2670
2670
|
return w(`/open-api/internationalization/language/${e}`);
|
|
2671
2671
|
}
|
|
2672
2672
|
}
|
|
2673
|
-
let
|
|
2673
|
+
let fe = {};
|
|
2674
2674
|
function Ae(t, ...e) {
|
|
2675
2675
|
if (typeof t != "string")
|
|
2676
2676
|
return console.trace(`Label is not provided for translation: ${t}`), "undefined";
|
|
2677
|
-
let n = ae.getPropFromObject((this == null ? void 0 : this.vocabulary) ||
|
|
2677
|
+
let n = ae.getPropFromObject((this == null ? void 0 : this.vocabulary) || fe, t);
|
|
2678
2678
|
if (typeof n == "string")
|
|
2679
2679
|
return Dt(n, e);
|
|
2680
|
-
const r = ae.getPropFromObject(
|
|
2680
|
+
const r = ae.getPropFromObject(fe == null ? void 0 : fe.root, t);
|
|
2681
2681
|
return typeof r == "string" ? Dt(r, e) : (typeof n === void 0 && console.warn(`Translation for label "${t}" is not founded.`), t);
|
|
2682
2682
|
}
|
|
2683
2683
|
function Dt(t, e) {
|
|
@@ -2686,16 +2686,16 @@ function Dt(t, e) {
|
|
|
2686
2686
|
}), t;
|
|
2687
2687
|
}
|
|
2688
2688
|
Ae.setGlobalVocabulary = function(t) {
|
|
2689
|
-
|
|
2689
|
+
fe = t;
|
|
2690
2690
|
};
|
|
2691
2691
|
Ae.getScope = function(t) {
|
|
2692
2692
|
const e = typeof t == "string" ? t : "root";
|
|
2693
2693
|
return typeof t != "string" && console.warn(`SCOPE ${t} for translate is not string.`), Ae.bind({
|
|
2694
|
-
vocabulary: ae.getPropFromObject(
|
|
2694
|
+
vocabulary: ae.getPropFromObject(fe, e.toLowerCase())
|
|
2695
2695
|
});
|
|
2696
2696
|
};
|
|
2697
2697
|
Ae.setVocabulary = function(t) {
|
|
2698
|
-
return typeof t == "string" && (t = ae.getPropFromObject(
|
|
2698
|
+
return typeof t == "string" && (t = ae.getPropFromObject(fe, t)), Ae.bind({
|
|
2699
2699
|
vocabulary: t
|
|
2700
2700
|
});
|
|
2701
2701
|
};
|
|
@@ -2750,7 +2750,7 @@ const Wi = function() {
|
|
|
2750
2750
|
function c(_, y) {
|
|
2751
2751
|
n.add({ event: _, callback: y, once: !0 });
|
|
2752
2752
|
}
|
|
2753
|
-
function
|
|
2753
|
+
function p() {
|
|
2754
2754
|
return e && (e == null ? void 0 : e.readyState) === 1;
|
|
2755
2755
|
}
|
|
2756
2756
|
function g(_, y, m) {
|
|
@@ -2761,7 +2761,7 @@ const Wi = function() {
|
|
|
2761
2761
|
contextId: S.contextId,
|
|
2762
2762
|
url: window.location.href
|
|
2763
2763
|
});
|
|
2764
|
-
return
|
|
2764
|
+
return p() ? a(v) : (r.add(v), s.info("use-socket", "Socket is not connected. Message was send to save-queue.", v)), new Promise((N, Q) => {
|
|
2765
2765
|
n.add({
|
|
2766
2766
|
event: _,
|
|
2767
2767
|
requestId: I,
|
|
@@ -2792,8 +2792,8 @@ const Wi = function() {
|
|
|
2792
2792
|
link: {}
|
|
2793
2793
|
},
|
|
2794
2794
|
setup(t) {
|
|
2795
|
-
return (e, n) => (u(),
|
|
2796
|
-
class:
|
|
2795
|
+
return (e, n) => (u(), f("div", {
|
|
2796
|
+
class: O(["breadcrumb flex", { breadcrumb_active: e.active }])
|
|
2797
2797
|
}, [
|
|
2798
2798
|
h("p", ji, $(e.title), 1),
|
|
2799
2799
|
e.active ? b("", !0) : (u(), E(W, {
|
|
@@ -2810,8 +2810,8 @@ const Ui = /* @__PURE__ */ C(xi, [["__scopeId", "data-v-1702aee0"]]), Bi = { cla
|
|
|
2810
2810
|
array: {}
|
|
2811
2811
|
},
|
|
2812
2812
|
setup(t) {
|
|
2813
|
-
return (e, n) => (u(),
|
|
2814
|
-
(u(!0),
|
|
2813
|
+
return (e, n) => (u(), f("div", Bi, [
|
|
2814
|
+
(u(!0), f(R, null, x(e.array, (r, s) => (u(), E(Ui, {
|
|
2815
2815
|
key: s,
|
|
2816
2816
|
title: r.title,
|
|
2817
2817
|
link: r.link,
|
|
@@ -2843,7 +2843,7 @@ const Gi = /* @__PURE__ */ C(zi, [["__scopeId", "data-v-48d3df56"]]), Hi = (t) =
|
|
|
2843
2843
|
emits: ["select", "order"],
|
|
2844
2844
|
setup(t, { emit: e }) {
|
|
2845
2845
|
const n = t;
|
|
2846
|
-
return n.title && console.warn(`For cell ${n.name} using title,it should be replaced with label.`), (r, s) => (u(),
|
|
2846
|
+
return n.title && console.warn(`For cell ${n.name} using title,it should be replaced with label.`), (r, s) => (u(), f("th", null, [
|
|
2847
2847
|
h("div", Ji, [
|
|
2848
2848
|
h("div", {
|
|
2849
2849
|
class: "head-cell-content flex_grow",
|
|
@@ -2853,7 +2853,7 @@ const Gi = /* @__PURE__ */ C(zi, [["__scopeId", "data-v-48d3df56"]]), Hi = (t) =
|
|
|
2853
2853
|
key: 0,
|
|
2854
2854
|
type: "single-checkbox",
|
|
2855
2855
|
onClick: s[0] || (s[0] = zt((i) => e("select"), ["stop", "prevent"]))
|
|
2856
|
-
})) : (u(),
|
|
2856
|
+
})) : (u(), f("p", {
|
|
2857
2857
|
key: 1,
|
|
2858
2858
|
class: "widget-list-head-label head-cell-label list-head-cell-label text_md margin-0",
|
|
2859
2859
|
onClick: s[1] || (s[1] = (i) => e("order"))
|
|
@@ -2861,7 +2861,7 @@ const Gi = /* @__PURE__ */ C(zi, [["__scopeId", "data-v-48d3df56"]]), Hi = (t) =
|
|
|
2861
2861
|
], 4),
|
|
2862
2862
|
r.name && r.order.length && r.order[0] === r.name ? (u(), E(X(In), {
|
|
2863
2863
|
key: 0,
|
|
2864
|
-
class:
|
|
2864
|
+
class: O(["head-cell-order", { "head-cell-order_down": r.order.length > 1 && r.order[1] === "desc" }])
|
|
2865
2865
|
}, {
|
|
2866
2866
|
default: me(() => [
|
|
2867
2867
|
Ne("core-arrow-up")
|
|
@@ -2903,7 +2903,7 @@ const Xi = /* @__PURE__ */ C(Yi, [["__scopeId", "data-v-03c9724f"]]), Zi = /* @_
|
|
|
2903
2903
|
console.log(y);
|
|
2904
2904
|
}
|
|
2905
2905
|
}
|
|
2906
|
-
function
|
|
2906
|
+
function p(_) {
|
|
2907
2907
|
try {
|
|
2908
2908
|
s.value.style.width = _ + "px", s.value.style.minWidth = _ + "px", s.value.style.maxWidth = _ + "px";
|
|
2909
2909
|
} catch (y) {
|
|
@@ -2921,7 +2921,7 @@ const Xi = /* @__PURE__ */ C(Yi, [["__scopeId", "data-v-03c9724f"]]), Zi = /* @_
|
|
|
2921
2921
|
const I = r.value, v = [...I.children].filter((J) => J.localName === "th"), N = ((St = I.offsetParent) == null ? void 0 : St.scrollLeft) || 0, Q = v.map((J) => J.clientWidth), V = g(y.target), U = I.getBoundingClientRect().left, oe = m(y), L = a(Q, oe), ye = Q.slice(0, L).reduce((J, te) => J + te, 0), De = oe - ye, st = I.offsetWidth, ve = v[L].clientWidth;
|
|
2922
2922
|
if (n.config[L].type === "multi-select")
|
|
2923
2923
|
return;
|
|
2924
|
-
console.group("START"), console.log(), console.log("Start screenX", y.screenX), console.log("Widths", Q), console.log("max width", st), console.log("Start Position", oe), console.log("Position From", L), console.log("Start Position", L), console.log("Global offset (Отступ самой таблицы от края экрана)", U), console.log("Del", De), console.groupEnd(), s.value.innerText = v[L].textContent || "", s.value.style.display = "grid", s.value.style.width = ve + "px", s.value.style.cursor = "grabbing", c(ye),
|
|
2924
|
+
console.group("START"), console.log(), console.log("Start screenX", y.screenX), console.log("Widths", Q), console.log("max width", st), console.log("Start Position", oe), console.log("Position From", L), console.log("Start Position", L), console.log("Global offset (Отступ самой таблицы от края экрана)", U), console.log("Del", De), console.groupEnd(), s.value.innerText = v[L].textContent || "", s.value.style.display = "grid", s.value.style.width = ve + "px", s.value.style.cursor = "grabbing", c(ye), p(ve), document.addEventListener("pointermove", Tt, { passive: !0 }), document.addEventListener("pointerup", Et);
|
|
2925
2925
|
function Et(J) {
|
|
2926
2926
|
if (console.group("END"), document.removeEventListener("pointermove", Tt), document.removeEventListener("pointerup", Et), V && (n.config[L].width = s.value.style.width, n.config[L].minWidth = s.value.style.width, n.config[L].maxWidth = s.value.style.width, i(n.config)), !V) {
|
|
2927
2927
|
const te = J.screenX + N - U;
|
|
@@ -2940,7 +2940,7 @@ const Xi = /* @__PURE__ */ C(Yi, [["__scopeId", "data-v-03c9724f"]]), Zi = /* @_
|
|
|
2940
2940
|
function Tt(J) {
|
|
2941
2941
|
if (V) {
|
|
2942
2942
|
const we = m(J) - oe + ve;
|
|
2943
|
-
|
|
2943
|
+
p(we);
|
|
2944
2944
|
return;
|
|
2945
2945
|
}
|
|
2946
2946
|
let te = J.screenX + N - U - De;
|
|
@@ -2967,12 +2967,12 @@ const Xi = /* @__PURE__ */ C(Yi, [["__scopeId", "data-v-03c9724f"]]), Zi = /* @_
|
|
|
2967
2967
|
function o(a) {
|
|
2968
2968
|
e("update:order", a);
|
|
2969
2969
|
}
|
|
2970
|
-
return (a, d) => (u(),
|
|
2970
|
+
return (a, d) => (u(), f("tr", {
|
|
2971
2971
|
class: "widget-list-head",
|
|
2972
2972
|
ref_key: "refHead",
|
|
2973
2973
|
ref: r
|
|
2974
2974
|
}, [
|
|
2975
|
-
(u(!0),
|
|
2975
|
+
(u(!0), f(R, null, x(a.config, (c, p) => (u(), E(Xi, gt({ key: c }, c, {
|
|
2976
2976
|
onOrder: (g) => l(c.name),
|
|
2977
2977
|
onSelect: d[0] || (d[0] = (g) => e("select")),
|
|
2978
2978
|
order: a.order
|
|
@@ -3021,12 +3021,12 @@ const Qi = /* @__PURE__ */ C(Zi, [["__scopeId", "data-v-11644ad4"]]), eo = 50, t
|
|
|
3021
3021
|
const a = o.target;
|
|
3022
3022
|
a.scrollTop + a.clientHeight + eo > a.scrollHeight && e("scrollEnd");
|
|
3023
3023
|
}
|
|
3024
|
-
return (o, a) => (u(),
|
|
3024
|
+
return (o, a) => (u(), f("div", {
|
|
3025
3025
|
class: "es-list-container",
|
|
3026
3026
|
onScrollPassive: l
|
|
3027
3027
|
}, [
|
|
3028
3028
|
h("table", {
|
|
3029
|
-
class:
|
|
3029
|
+
class: O(["widget-list", { "widget-list_load": o.wait }])
|
|
3030
3030
|
}, [
|
|
3031
3031
|
h("thead", null, [
|
|
3032
3032
|
A(Qi, {
|
|
@@ -3038,16 +3038,16 @@ const Qi = /* @__PURE__ */ C(Zi, [["__scopeId", "data-v-11644ad4"]]), eo = 50, t
|
|
|
3038
3038
|
}, null, 8, ["config", "order"])
|
|
3039
3039
|
]),
|
|
3040
3040
|
h("tbody", {
|
|
3041
|
-
class:
|
|
3041
|
+
class: O(["widget-list-body", { "widget-list-body_inactive": o.wait }])
|
|
3042
3042
|
}, [
|
|
3043
|
-
(u(!0),
|
|
3044
|
-
var
|
|
3043
|
+
(u(!0), f(R, null, x(o.array, (d, c) => {
|
|
3044
|
+
var p;
|
|
3045
3045
|
return u(), E(Gi, {
|
|
3046
3046
|
key: c,
|
|
3047
3047
|
class: "widget-list-row",
|
|
3048
3048
|
values: d,
|
|
3049
3049
|
config: o.config,
|
|
3050
|
-
selected: (
|
|
3050
|
+
selected: (p = o.selectedRows) == null ? void 0 : p.includes(d),
|
|
3051
3051
|
onSelect: (g) => r(d, g)
|
|
3052
3052
|
}, null, 8, ["values", "config", "selected", "onSelect"]);
|
|
3053
3053
|
}), 128))
|
|
@@ -3062,7 +3062,7 @@ const Ka = /* @__PURE__ */ C(to, [["__scopeId", "data-v-a0fe6a42"]]), no = { cla
|
|
|
3062
3062
|
title: {}
|
|
3063
3063
|
},
|
|
3064
3064
|
setup(t) {
|
|
3065
|
-
return (e, n) => (u(),
|
|
3065
|
+
return (e, n) => (u(), f("div", no, [
|
|
3066
3066
|
h("div", ro, [
|
|
3067
3067
|
h("p", so, $(e.title), 1)
|
|
3068
3068
|
]),
|
|
@@ -3072,10 +3072,10 @@ const Ka = /* @__PURE__ */ C(to, [["__scopeId", "data-v-a0fe6a42"]]), no = { cla
|
|
|
3072
3072
|
]));
|
|
3073
3073
|
}
|
|
3074
3074
|
});
|
|
3075
|
-
const Ya = /* @__PURE__ */ C(oo, [["__scopeId", "data-v-07232553"]]), ao = { class: "widget-form-info flex" }, lo = { class: "form-titles" }, co = { class: "form-title margin-0" }, uo = { class: "form-info text_size_md margin-0" },
|
|
3075
|
+
const Ya = /* @__PURE__ */ C(oo, [["__scopeId", "data-v-07232553"]]), ao = { class: "widget-form-info flex" }, lo = { class: "form-titles" }, co = { class: "form-title margin-0" }, uo = { class: "form-info text_size_md margin-0" }, fo = {
|
|
3076
3076
|
key: 0,
|
|
3077
3077
|
class: "form-container-label"
|
|
3078
|
-
},
|
|
3078
|
+
}, po = { class: "form-label__title text_size_sm" }, ho = /* @__PURE__ */ T({
|
|
3079
3079
|
__name: "WidgetFormInfo",
|
|
3080
3080
|
props: {
|
|
3081
3081
|
title: {},
|
|
@@ -3083,21 +3083,21 @@ const Ya = /* @__PURE__ */ C(oo, [["__scopeId", "data-v-07232553"]]), ao = { cla
|
|
|
3083
3083
|
label: {}
|
|
3084
3084
|
},
|
|
3085
3085
|
setup(t) {
|
|
3086
|
-
return (e, n) => (u(),
|
|
3086
|
+
return (e, n) => (u(), f("div", ao, [
|
|
3087
3087
|
h("div", lo, [
|
|
3088
3088
|
h("p", co, $(e.title), 1),
|
|
3089
3089
|
h("p", uo, $(e.info), 1)
|
|
3090
3090
|
]),
|
|
3091
|
-
e.label ? (u(),
|
|
3091
|
+
e.label ? (u(), f("div", fo, [
|
|
3092
3092
|
h("div", {
|
|
3093
|
-
class:
|
|
3093
|
+
class: O(["form-label", `form-label_${e.label.type}`])
|
|
3094
3094
|
}, [
|
|
3095
3095
|
e.label.icon ? (u(), E(W, {
|
|
3096
3096
|
key: 0,
|
|
3097
3097
|
class: "form-label__icon",
|
|
3098
3098
|
name: e.label.icon
|
|
3099
3099
|
}, null, 8, ["name"])) : b("", !0),
|
|
3100
|
-
h("p",
|
|
3100
|
+
h("p", po, $(e.label.title), 1)
|
|
3101
3101
|
], 2)
|
|
3102
3102
|
])) : b("", !0)
|
|
3103
3103
|
]));
|
|
@@ -3115,14 +3115,14 @@ const go = /* @__PURE__ */ C(ho, [["__scopeId", "data-v-6ea1062c"]]), _o = { cla
|
|
|
3115
3115
|
wait: { type: Boolean }
|
|
3116
3116
|
},
|
|
3117
3117
|
setup(t) {
|
|
3118
|
-
return (e, n) => (u(),
|
|
3118
|
+
return (e, n) => (u(), f("div", _o, [
|
|
3119
3119
|
h("div", mo, [
|
|
3120
3120
|
h("div", yo, [
|
|
3121
3121
|
h("div", vo, [
|
|
3122
3122
|
e.wait ? (u(), E(Oe, {
|
|
3123
3123
|
key: 0,
|
|
3124
3124
|
color: "#3949AB"
|
|
3125
|
-
})) : (u(),
|
|
3125
|
+
})) : (u(), f("div", wo, [
|
|
3126
3126
|
e.icon ? (u(), E(W, {
|
|
3127
3127
|
key: 0,
|
|
3128
3128
|
class: "form-image",
|
|
@@ -3158,8 +3158,8 @@ const Xa = /* @__PURE__ */ C(Co, [["__scopeId", "data-v-f076ad65"]]), $o = { cla
|
|
|
3158
3158
|
name: {}
|
|
3159
3159
|
},
|
|
3160
3160
|
setup(t) {
|
|
3161
|
-
return (e, n) => (u(),
|
|
3162
|
-
class:
|
|
3161
|
+
return (e, n) => (u(), f("div", {
|
|
3162
|
+
class: O(["validation-item", `validation-item_${e.statusName.toLowerCase()}`])
|
|
3163
3163
|
}, [
|
|
3164
3164
|
h("div", $o, [
|
|
3165
3165
|
h("p", Eo, $(e.statusName), 1)
|
|
@@ -3177,7 +3177,7 @@ const Ao = /* @__PURE__ */ C(ko, [["__scopeId", "data-v-e6138c02"]]), No = { cla
|
|
|
3177
3177
|
title: {}
|
|
3178
3178
|
},
|
|
3179
3179
|
setup(t) {
|
|
3180
|
-
return (e, n) => (u(),
|
|
3180
|
+
return (e, n) => (u(), f("div", No, [
|
|
3181
3181
|
h("div", Fo, [
|
|
3182
3182
|
h("p", Po, $(e.title), 1)
|
|
3183
3183
|
]),
|
|
@@ -3196,7 +3196,7 @@ const Lo = /* @__PURE__ */ C(Ro, [["__scopeId", "data-v-119165b9"]]), Vo = { cla
|
|
|
3196
3196
|
return (e, n) => (u(), E(Lo, { title: "Validation results" }, {
|
|
3197
3197
|
default: me(() => [
|
|
3198
3198
|
h("div", Vo, [
|
|
3199
|
-
(u(!0),
|
|
3199
|
+
(u(!0), f(R, null, x(e.array, (r, s) => (u(), E(Ao, {
|
|
3200
3200
|
key: s,
|
|
3201
3201
|
message: r.message,
|
|
3202
3202
|
name: r.name,
|
|
@@ -3223,7 +3223,7 @@ const Za = /* @__PURE__ */ C(Do, [["__scopeId", "data-v-a39cfe2f"]]), Wo = ["alt
|
|
|
3223
3223
|
n.value && (n.value.src = e.src), n.value.onerror = function() {
|
|
3224
3224
|
e.default && (n.value.src = e.default);
|
|
3225
3225
|
};
|
|
3226
|
-
}), (r, s) => (u(),
|
|
3226
|
+
}), (r, s) => (u(), f("img", {
|
|
3227
3227
|
alt: r.alt,
|
|
3228
3228
|
ref_key: "refImage",
|
|
3229
3229
|
ref: n,
|
|
@@ -3241,8 +3241,8 @@ const Za = /* @__PURE__ */ C(Do, [["__scopeId", "data-v-a39cfe2f"]]), Wo = ["alt
|
|
|
3241
3241
|
function r() {
|
|
3242
3242
|
e("update:modelValue", !n.modelValue);
|
|
3243
3243
|
}
|
|
3244
|
-
return (s, i) => (u(),
|
|
3245
|
-
class:
|
|
3244
|
+
return (s, i) => (u(), f("div", {
|
|
3245
|
+
class: O(["widget-input-check", { "widget-input-check_active": s.modelValue }]),
|
|
3246
3246
|
onClick: r
|
|
3247
3247
|
}, [
|
|
3248
3248
|
s.modelValue ? (u(), E(W, {
|
|
@@ -3261,13 +3261,13 @@ const jo = /* @__PURE__ */ C(Mo, [["__scopeId", "data-v-f4a3dc6c"]]), xo = { cla
|
|
|
3261
3261
|
title: {}
|
|
3262
3262
|
},
|
|
3263
3263
|
setup(t, { expose: e }) {
|
|
3264
|
-
const n =
|
|
3264
|
+
const n = P({
|
|
3265
3265
|
selected: !1,
|
|
3266
3266
|
hidden: !0
|
|
3267
3267
|
});
|
|
3268
3268
|
return e({
|
|
3269
3269
|
state: n
|
|
3270
|
-
}), (r, s) => (u(),
|
|
3270
|
+
}), (r, s) => (u(), f("div", xo, [
|
|
3271
3271
|
h("div", Uo, [
|
|
3272
3272
|
A(jo, {
|
|
3273
3273
|
modelValue: n.selected,
|
|
@@ -3281,11 +3281,11 @@ const jo = /* @__PURE__ */ C(Mo, [["__scopeId", "data-v-f4a3dc6c"]]), xo = { cla
|
|
|
3281
3281
|
}, [
|
|
3282
3282
|
A(W, {
|
|
3283
3283
|
name: "angle-small-right",
|
|
3284
|
-
class:
|
|
3284
|
+
class: O(["card-icon-arrow", { "card-icon-arrow_active": !n.hidden }])
|
|
3285
3285
|
}, null, 8, ["class"])
|
|
3286
3286
|
]),
|
|
3287
3287
|
h("div", qo, [
|
|
3288
|
-
r.title ? (u(),
|
|
3288
|
+
r.title ? (u(), f("p", zo, $(r.title), 1)) : b("", !0),
|
|
3289
3289
|
z(r.$slots, "main", {}, void 0, !0),
|
|
3290
3290
|
n.hidden ? b("", !0) : z(r.$slots, "sub", { key: 1 }, void 0, !0)
|
|
3291
3291
|
])
|
|
@@ -3585,7 +3585,7 @@ class Ho {
|
|
|
3585
3585
|
}
|
|
3586
3586
|
const En = class Tn extends Y {
|
|
3587
3587
|
constructor(e = []) {
|
|
3588
|
-
super(), this.array =
|
|
3588
|
+
super(), this.array = P([]), this.defaultArray = [], this.setDefault(e);
|
|
3589
3589
|
}
|
|
3590
3590
|
emitUpdate() {
|
|
3591
3591
|
this.emit(Tn.EVENT_DATA, this.array);
|
|
@@ -3636,7 +3636,7 @@ class il extends Y {
|
|
|
3636
3636
|
function ol(t) {
|
|
3637
3637
|
const e = Z.getParentForm();
|
|
3638
3638
|
e ? e.subscribe(t) : console.warn(G.ParentFormNotFound());
|
|
3639
|
-
const n =
|
|
3639
|
+
const n = P([]);
|
|
3640
3640
|
return t.read = () => Ke.readMessages(t.id).then((r) => (n.splice(0, n.length, ...r), r)), {
|
|
3641
3641
|
array: n
|
|
3642
3642
|
};
|
|
@@ -3741,7 +3741,7 @@ class Ct extends Error {
|
|
|
3741
3741
|
class Zo extends Ct {
|
|
3742
3742
|
}
|
|
3743
3743
|
function cl(t, e) {
|
|
3744
|
-
const n =
|
|
3744
|
+
const n = P([]);
|
|
3745
3745
|
async function r(i, l) {
|
|
3746
3746
|
if (!i)
|
|
3747
3747
|
throw Zo.UndefinedStatus();
|
|
@@ -3790,7 +3790,7 @@ class Qe {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
}
|
|
3792
3792
|
function ul(t) {
|
|
3793
|
-
const e =
|
|
3793
|
+
const e = P({
|
|
3794
3794
|
title: "Loading",
|
|
3795
3795
|
type: "wait"
|
|
3796
3796
|
});
|
|
@@ -3812,7 +3812,7 @@ function ul(t) {
|
|
|
3812
3812
|
}), { label: e, update: n };
|
|
3813
3813
|
}
|
|
3814
3814
|
function dl(t, e) {
|
|
3815
|
-
const n = Pn(), r = H(() => Number(n.params.id)), s =
|
|
3815
|
+
const n = Pn(), r = H(() => Number(n.params.id)), s = P({
|
|
3816
3816
|
ready: !1,
|
|
3817
3817
|
show: !1
|
|
3818
3818
|
});
|
|
@@ -3846,8 +3846,8 @@ function dl(t, e) {
|
|
|
3846
3846
|
formShadowState: s
|
|
3847
3847
|
};
|
|
3848
3848
|
}
|
|
3849
|
-
function
|
|
3850
|
-
const t =
|
|
3849
|
+
function fl() {
|
|
3850
|
+
const t = P({
|
|
3851
3851
|
contextId: S.contextId,
|
|
3852
3852
|
person: S.person,
|
|
3853
3853
|
organizations: S.organizations,
|
|
@@ -3874,8 +3874,8 @@ function pl() {
|
|
|
3874
3874
|
isPerson: n
|
|
3875
3875
|
};
|
|
3876
3876
|
}
|
|
3877
|
-
function
|
|
3878
|
-
const n =
|
|
3877
|
+
function pl(t, e) {
|
|
3878
|
+
const n = P({
|
|
3879
3879
|
ready: !1,
|
|
3880
3880
|
show: !1
|
|
3881
3881
|
});
|
|
@@ -4017,7 +4017,7 @@ function ta(t) {
|
|
|
4017
4017
|
}
|
|
4018
4018
|
function _l(t, e, n) {
|
|
4019
4019
|
let r = null;
|
|
4020
|
-
const s =
|
|
4020
|
+
const s = P({
|
|
4021
4021
|
wait: null
|
|
4022
4022
|
});
|
|
4023
4023
|
let i = [], l = null;
|
|
@@ -4036,7 +4036,7 @@ function _l(t, e, n) {
|
|
|
4036
4036
|
return I(n.presets || {});
|
|
4037
4037
|
Qo(v) && n.onCompleted(v), ea(v) && n.onConfirmation(v);
|
|
4038
4038
|
}
|
|
4039
|
-
async function
|
|
4039
|
+
async function p() {
|
|
4040
4040
|
try {
|
|
4041
4041
|
await g(), await m();
|
|
4042
4042
|
} catch (v) {
|
|
@@ -4078,7 +4078,7 @@ function _l(t, e, n) {
|
|
|
4078
4078
|
}));
|
|
4079
4079
|
}
|
|
4080
4080
|
return {
|
|
4081
|
-
initialize:
|
|
4081
|
+
initialize: p,
|
|
4082
4082
|
state: s,
|
|
4083
4083
|
currentStepConfig: Yt(o),
|
|
4084
4084
|
next: I
|
|
@@ -4112,8 +4112,8 @@ const sa = { class: "widget-table__head" }, ia = { class: "widget-table__head-la
|
|
|
4112
4112
|
config: {}
|
|
4113
4113
|
},
|
|
4114
4114
|
setup(t) {
|
|
4115
|
-
return (e, n) => (u(),
|
|
4116
|
-
(u(!0),
|
|
4115
|
+
return (e, n) => (u(), f("tr", sa, [
|
|
4116
|
+
(u(!0), f(R, null, x(e.config, (r, s) => (u(), f("th", {
|
|
4117
4117
|
class: "widget-table__head-cell",
|
|
4118
4118
|
key: s
|
|
4119
4119
|
}, [
|
|
@@ -4134,30 +4134,30 @@ function ca(t, e) {
|
|
|
4134
4134
|
function ua(t) {
|
|
4135
4135
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
4136
4136
|
}
|
|
4137
|
-
var
|
|
4137
|
+
var pt = { exports: {} }, dt, Mt;
|
|
4138
4138
|
function da() {
|
|
4139
4139
|
if (Mt)
|
|
4140
4140
|
return dt;
|
|
4141
4141
|
Mt = 1;
|
|
4142
4142
|
var t = 1e3, e = t * 60, n = e * 60, r = n * 24, s = r * 7, i = r * 365.25;
|
|
4143
|
-
dt = function(c,
|
|
4144
|
-
|
|
4143
|
+
dt = function(c, p) {
|
|
4144
|
+
p = p || {};
|
|
4145
4145
|
var g = typeof c;
|
|
4146
4146
|
if (g === "string" && c.length > 0)
|
|
4147
4147
|
return l(c);
|
|
4148
4148
|
if (g === "number" && isFinite(c))
|
|
4149
|
-
return
|
|
4149
|
+
return p.long ? a(c) : o(c);
|
|
4150
4150
|
throw new Error(
|
|
4151
4151
|
"val is not a non-empty string or a valid number. val=" + JSON.stringify(c)
|
|
4152
4152
|
);
|
|
4153
4153
|
};
|
|
4154
4154
|
function l(c) {
|
|
4155
4155
|
if (c = String(c), !(c.length > 100)) {
|
|
4156
|
-
var
|
|
4156
|
+
var p = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
4157
4157
|
c
|
|
4158
4158
|
);
|
|
4159
|
-
if (
|
|
4160
|
-
var g = parseFloat(
|
|
4159
|
+
if (p) {
|
|
4160
|
+
var g = parseFloat(p[1]), _ = (p[2] || "ms").toLowerCase();
|
|
4161
4161
|
switch (_) {
|
|
4162
4162
|
case "years":
|
|
4163
4163
|
case "year":
|
|
@@ -4204,37 +4204,37 @@ function da() {
|
|
|
4204
4204
|
}
|
|
4205
4205
|
}
|
|
4206
4206
|
function o(c) {
|
|
4207
|
-
var
|
|
4208
|
-
return
|
|
4207
|
+
var p = Math.abs(c);
|
|
4208
|
+
return p >= r ? Math.round(c / r) + "d" : p >= n ? Math.round(c / n) + "h" : p >= e ? Math.round(c / e) + "m" : p >= t ? Math.round(c / t) + "s" : c + "ms";
|
|
4209
4209
|
}
|
|
4210
4210
|
function a(c) {
|
|
4211
|
-
var
|
|
4212
|
-
return
|
|
4211
|
+
var p = Math.abs(c);
|
|
4212
|
+
return p >= r ? d(c, p, r, "day") : p >= n ? d(c, p, n, "hour") : p >= e ? d(c, p, e, "minute") : p >= t ? d(c, p, t, "second") : c + " ms";
|
|
4213
4213
|
}
|
|
4214
|
-
function d(c,
|
|
4215
|
-
var y =
|
|
4214
|
+
function d(c, p, g, _) {
|
|
4215
|
+
var y = p >= g * 1.5;
|
|
4216
4216
|
return Math.round(c / g) + " " + _ + (y ? "s" : "");
|
|
4217
4217
|
}
|
|
4218
4218
|
return dt;
|
|
4219
4219
|
}
|
|
4220
|
-
function
|
|
4220
|
+
function fa(t) {
|
|
4221
4221
|
n.debug = n, n.default = n, n.coerce = a, n.disable = i, n.enable = s, n.enabled = l, n.humanize = da(), n.destroy = d, Object.keys(t).forEach((c) => {
|
|
4222
4222
|
n[c] = t[c];
|
|
4223
4223
|
}), n.names = [], n.skips = [], n.formatters = {};
|
|
4224
4224
|
function e(c) {
|
|
4225
|
-
let
|
|
4225
|
+
let p = 0;
|
|
4226
4226
|
for (let g = 0; g < c.length; g++)
|
|
4227
|
-
|
|
4228
|
-
return n.colors[Math.abs(
|
|
4227
|
+
p = (p << 5) - p + c.charCodeAt(g), p |= 0;
|
|
4228
|
+
return n.colors[Math.abs(p) % n.colors.length];
|
|
4229
4229
|
}
|
|
4230
4230
|
n.selectColor = e;
|
|
4231
4231
|
function n(c) {
|
|
4232
|
-
let
|
|
4232
|
+
let p, g = null, _, y;
|
|
4233
4233
|
function m(...I) {
|
|
4234
4234
|
if (!m.enabled)
|
|
4235
4235
|
return;
|
|
4236
|
-
const v = m, N = Number(/* @__PURE__ */ new Date()), Q = N - (
|
|
4237
|
-
v.diff = Q, v.prev =
|
|
4236
|
+
const v = m, N = Number(/* @__PURE__ */ new Date()), Q = N - (p || N);
|
|
4237
|
+
v.diff = Q, v.prev = p, v.curr = N, p = N, I[0] = n.coerce(I[0]), typeof I[0] != "string" && I.unshift("%O");
|
|
4238
4238
|
let V = 0;
|
|
4239
4239
|
I[0] = I[0].replace(/%([a-zA-Z%])/g, (oe, L) => {
|
|
4240
4240
|
if (oe === "%%")
|
|
@@ -4257,33 +4257,33 @@ function pa(t) {
|
|
|
4257
4257
|
}
|
|
4258
4258
|
}), typeof n.init == "function" && n.init(m), m;
|
|
4259
4259
|
}
|
|
4260
|
-
function r(c,
|
|
4261
|
-
const g = n(this.namespace + (typeof
|
|
4260
|
+
function r(c, p) {
|
|
4261
|
+
const g = n(this.namespace + (typeof p > "u" ? ":" : p) + c);
|
|
4262
4262
|
return g.log = this.log, g;
|
|
4263
4263
|
}
|
|
4264
4264
|
function s(c) {
|
|
4265
4265
|
n.save(c), n.namespaces = c, n.names = [], n.skips = [];
|
|
4266
|
-
let
|
|
4266
|
+
let p;
|
|
4267
4267
|
const g = (typeof c == "string" ? c : "").split(/[\s,]+/), _ = g.length;
|
|
4268
|
-
for (
|
|
4269
|
-
g[
|
|
4268
|
+
for (p = 0; p < _; p++)
|
|
4269
|
+
g[p] && (c = g[p].replace(/\*/g, ".*?"), c[0] === "-" ? n.skips.push(new RegExp("^" + c.slice(1) + "$")) : n.names.push(new RegExp("^" + c + "$")));
|
|
4270
4270
|
}
|
|
4271
4271
|
function i() {
|
|
4272
4272
|
const c = [
|
|
4273
4273
|
...n.names.map(o),
|
|
4274
|
-
...n.skips.map(o).map((
|
|
4274
|
+
...n.skips.map(o).map((p) => "-" + p)
|
|
4275
4275
|
].join(",");
|
|
4276
4276
|
return n.enable(""), c;
|
|
4277
4277
|
}
|
|
4278
4278
|
function l(c) {
|
|
4279
4279
|
if (c[c.length - 1] === "*")
|
|
4280
4280
|
return !0;
|
|
4281
|
-
let
|
|
4282
|
-
for (
|
|
4283
|
-
if (n.skips[
|
|
4281
|
+
let p, g;
|
|
4282
|
+
for (p = 0, g = n.skips.length; p < g; p++)
|
|
4283
|
+
if (n.skips[p].test(c))
|
|
4284
4284
|
return !1;
|
|
4285
|
-
for (
|
|
4286
|
-
if (n.names[
|
|
4285
|
+
for (p = 0, g = n.names.length; p < g; p++)
|
|
4286
|
+
if (n.names[p].test(c))
|
|
4287
4287
|
return !0;
|
|
4288
4288
|
return !1;
|
|
4289
4289
|
}
|
|
@@ -4298,7 +4298,7 @@ function pa(t) {
|
|
|
4298
4298
|
}
|
|
4299
4299
|
return n.enable(n.load()), n;
|
|
4300
4300
|
}
|
|
4301
|
-
var
|
|
4301
|
+
var pa = fa;
|
|
4302
4302
|
(function(t, e) {
|
|
4303
4303
|
e.formatArgs = r, e.save = s, e.load = i, e.useColors = n, e.storage = l(), e.destroy = (() => {
|
|
4304
4304
|
let a = !1;
|
|
@@ -4395,10 +4395,10 @@ var fa = pa;
|
|
|
4395
4395
|
return;
|
|
4396
4396
|
const d = "color: " + this.color;
|
|
4397
4397
|
a.splice(1, 0, d, "color: inherit");
|
|
4398
|
-
let c = 0,
|
|
4398
|
+
let c = 0, p = 0;
|
|
4399
4399
|
a[0].replace(/%[a-zA-Z%]/g, (g) => {
|
|
4400
|
-
g !== "%%" && (c++, g === "%c" && (
|
|
4401
|
-
}), a.splice(
|
|
4400
|
+
g !== "%%" && (c++, g === "%c" && (p = c));
|
|
4401
|
+
}), a.splice(p, 0, d);
|
|
4402
4402
|
}
|
|
4403
4403
|
e.log = console.debug || console.log || (() => {
|
|
4404
4404
|
});
|
|
@@ -4422,7 +4422,7 @@ var fa = pa;
|
|
|
4422
4422
|
} catch {
|
|
4423
4423
|
}
|
|
4424
4424
|
}
|
|
4425
|
-
t.exports =
|
|
4425
|
+
t.exports = pa(e);
|
|
4426
4426
|
const { formatters: o } = t.exports;
|
|
4427
4427
|
o.j = function(a) {
|
|
4428
4428
|
try {
|
|
@@ -4431,8 +4431,8 @@ var fa = pa;
|
|
|
4431
4431
|
return "[UnexpectedJSONParseError]: " + d.message;
|
|
4432
4432
|
}
|
|
4433
4433
|
};
|
|
4434
|
-
})(
|
|
4435
|
-
var ha =
|
|
4434
|
+
})(pt, pt.exports);
|
|
4435
|
+
var ha = pt.exports;
|
|
4436
4436
|
const ga = /* @__PURE__ */ ua(ha);
|
|
4437
4437
|
function _a(t) {
|
|
4438
4438
|
return ["eservices-core", t].join(":");
|
|
@@ -4525,8 +4525,8 @@ function wa(t, e, n) {
|
|
|
4525
4525
|
try {
|
|
4526
4526
|
const c = t.link(r);
|
|
4527
4527
|
if (c) {
|
|
4528
|
-
const
|
|
4529
|
-
d.push(
|
|
4528
|
+
const p = F(Qt, { to: c });
|
|
4529
|
+
d.push(p), o("widget-table-cell_link");
|
|
4530
4530
|
}
|
|
4531
4531
|
} catch (c) {
|
|
4532
4532
|
ya("Can't add router link", c);
|
|
@@ -4570,7 +4570,7 @@ const Ca = {
|
|
|
4570
4570
|
setTimeout(() => {
|
|
4571
4571
|
n.value && n.value.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth" });
|
|
4572
4572
|
}, 250);
|
|
4573
|
-
}), (r, s) => (u(),
|
|
4573
|
+
}), (r, s) => (u(), f("tr", {
|
|
4574
4574
|
class: "widget-table-form",
|
|
4575
4575
|
ref_key: "refTableForm",
|
|
4576
4576
|
ref: n
|
|
@@ -4613,24 +4613,24 @@ const Ca = {
|
|
|
4613
4613
|
function l(o) {
|
|
4614
4614
|
e("save", o), e("update:activeRow", null);
|
|
4615
4615
|
}
|
|
4616
|
-
return (o, a) => (u(),
|
|
4616
|
+
return (o, a) => (u(), f("div", null, [
|
|
4617
4617
|
h("table", Ta, [
|
|
4618
4618
|
A(aa, { config: o.config }, null, 8, ["config"]),
|
|
4619
4619
|
h("tbody", null, [
|
|
4620
|
-
(u(!0),
|
|
4620
|
+
(u(!0), f(R, null, x(o.array, (d, c) => (u(), f(R, { key: c }, [
|
|
4621
4621
|
A(Ca, {
|
|
4622
4622
|
config: o.config,
|
|
4623
4623
|
values: d,
|
|
4624
4624
|
selected: o.selectedRows.includes(d),
|
|
4625
|
-
onSelect: (
|
|
4626
|
-
class:
|
|
4625
|
+
onSelect: (p) => i(d, p),
|
|
4626
|
+
class: O(o.classCallback ? o.classCallback(d) : "")
|
|
4627
4627
|
}, null, 8, ["config", "values", "selected", "onSelect", "class"]),
|
|
4628
4628
|
s.value && o.activeRow === d ? (u(), E(xt, {
|
|
4629
4629
|
key: 0,
|
|
4630
4630
|
component: s.value,
|
|
4631
4631
|
"row-length": o.config.length,
|
|
4632
4632
|
values: d,
|
|
4633
|
-
onClose: a[0] || (a[0] = (
|
|
4633
|
+
onClose: a[0] || (a[0] = (p) => e("update:activeRow", null)),
|
|
4634
4634
|
onSave: l,
|
|
4635
4635
|
"is-new": !1
|
|
4636
4636
|
}, null, 8, ["component", "row-length", "values"])) : b("", !0)
|
|
@@ -4648,7 +4648,19 @@ const Ca = {
|
|
|
4648
4648
|
]));
|
|
4649
4649
|
}
|
|
4650
4650
|
});
|
|
4651
|
-
function vl() {
|
|
4651
|
+
function vl(t) {
|
|
4652
|
+
function e(...r) {
|
|
4653
|
+
return n.wait ? Promise.reject("The process has already started.") : (n.wait = !0, Promise.resolve().then(() => t(...r)).finally(() => {
|
|
4654
|
+
n.wait = !1;
|
|
4655
|
+
}));
|
|
4656
|
+
}
|
|
4657
|
+
const n = P({
|
|
4658
|
+
wait: !1,
|
|
4659
|
+
call: e
|
|
4660
|
+
});
|
|
4661
|
+
return n;
|
|
4662
|
+
}
|
|
4663
|
+
function wl() {
|
|
4652
4664
|
const t = D(null);
|
|
4653
4665
|
function e(n) {
|
|
4654
4666
|
t.value = n;
|
|
@@ -4658,7 +4670,7 @@ function vl() {
|
|
|
4658
4670
|
activateRow: e
|
|
4659
4671
|
};
|
|
4660
4672
|
}
|
|
4661
|
-
const
|
|
4673
|
+
const bl = {
|
|
4662
4674
|
clickOutside: Pe,
|
|
4663
4675
|
requestHandler: vt,
|
|
4664
4676
|
valuesToUpperCase: rt,
|
|
@@ -4670,7 +4682,7 @@ const wl = {
|
|
|
4670
4682
|
uuidv4: Xo,
|
|
4671
4683
|
Request: w,
|
|
4672
4684
|
prettyMoney: un
|
|
4673
|
-
},
|
|
4685
|
+
}, Cl = {
|
|
4674
4686
|
widgets: Ys,
|
|
4675
4687
|
usage: Xs,
|
|
4676
4688
|
utils: li,
|
|
@@ -4708,6 +4720,7 @@ export {
|
|
|
4708
4720
|
yl as WidgetTable,
|
|
4709
4721
|
Li as WidgetWait,
|
|
4710
4722
|
Ho as actionService,
|
|
4723
|
+
vl as asyncProcess,
|
|
4711
4724
|
B as authService,
|
|
4712
4725
|
Ie as billingService,
|
|
4713
4726
|
Pe as clickOutside,
|
|
@@ -4717,7 +4730,7 @@ export {
|
|
|
4717
4730
|
Ea as constants,
|
|
4718
4731
|
M as dataService,
|
|
4719
4732
|
al as debounce,
|
|
4720
|
-
|
|
4733
|
+
Cl as default,
|
|
4721
4734
|
hl as documentsService,
|
|
4722
4735
|
ml as equipmentService,
|
|
4723
4736
|
dr as fileService,
|
|
@@ -4737,13 +4750,13 @@ export {
|
|
|
4737
4750
|
Ae as t,
|
|
4738
4751
|
Da as testTypes,
|
|
4739
4752
|
ol as useCommunication,
|
|
4740
|
-
|
|
4753
|
+
fl as useCustomerState,
|
|
4741
4754
|
cl as useFormAction,
|
|
4742
4755
|
ul as useFormLabel,
|
|
4743
4756
|
ll as useFormMetadata,
|
|
4744
|
-
|
|
4757
|
+
pl as useFormRequest,
|
|
4745
4758
|
dl as useFormRequestData,
|
|
4746
|
-
|
|
4759
|
+
wl as useListActiveRow,
|
|
4747
4760
|
Ma as useListConfig,
|
|
4748
4761
|
xa as useListFilter,
|
|
4749
4762
|
mi as useListOrder,
|
|
@@ -4758,7 +4771,7 @@ export {
|
|
|
4758
4771
|
Va as useTableRequest,
|
|
4759
4772
|
La as useTableState,
|
|
4760
4773
|
_l as useWizard,
|
|
4761
|
-
|
|
4774
|
+
bl as utils,
|
|
4762
4775
|
tl as viewService
|
|
4763
4776
|
};
|
|
4764
4777
|
//# sourceMappingURL=eservices-core.es.js.map
|