eservices-core 1.3.364 → 1.3.365
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.justify-content-center{justify-content:center}.user-select-none{-webkit-user-select:none;user-select:none}.flex{display:flex}.flex_column,.flex-column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow,.flex-grow{flex-grow:1}.flex-align_center{align-items:center}.grid{display:grid}.grid-center{display:grid;place-content:center}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_center,.text-center{text-align:center}.text_bold,.text-bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.text_overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color-light{color:var(--color-light)}.color-primary{color:var(--color-primary)}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.transition-fast{transition:.1s}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_15{gap:15px}.gap_20{gap:20px}.gap-25{gap:25px}.margin-0,.margin_0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number,.widget-table-cell_money{text-align:end}.widget-list-cell-history{cursor:pointer}.widget-list-cell-history>span{color:var(--color-primary);font-size:16px;padding:0 10px}.widget-table-cell_multi-select>.container-input-wrap{align-items:center}.overflow_auto,.overflow-auto{overflow:auto}.overflow_hidden,.overflow-hidden{overflow:hidden}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15{padding:15px}.padding_20{padding:20px}.padding-5{padding:5px}.padding-0{padding:0}.padding-15{padding:15px}.padding-20{padding:20px}.radius_5{border-radius:5px}.radius_10{border-radius:10px}.radius_15{border-radius:15px}.radius_20{border-radius:20px}.es-card-list{box-shadow:#959da533 0 8px 24px;border:1px solid #f1f1f1;border-radius:4px;background-color:#fff}.color-gray{color:#ccc}.es-container-full{height:100%;width:100%}.es-cursor-pointer{cursor:pointer}.es-cursor-default{cursor:default}.flex,.es-flex{display:flex}.es-flex-column{display:flex;flex-direction:column}.es-flex-center{display:flex;align-items:center;justify-content:center}.es-flex-grow{flex-grow:1}.es-flex-justify-center{justify-content:center}.es-flex-justify-end{justify-content:end}.es-flex-justify-between{justify-content:space-between}.es-flex-align-center{align-items:center}.es-flex-wrap{flex-wrap:wrap}.es-gap-1{gap:1px}.es-gap-2{gap:2px}.es-gap-3{gap:3px}.es-gap-4{gap:4px}.es-gap-5{gap:5px}.es-gap-6{gap:6px}.es-gap-7{gap:7px}.es-gap-8{gap:8px}.es-gap-9{gap:9px}.es-gap-10{gap:10px}.es-gap-15{gap:15px}.es-gap-20{gap:20px}.es-gap-40{gap:40px}.gap-10{gap:10px}.gap-15{gap:15px}.gap-5{gap:5px}.gap-20{gap:20px}.es-list-container,.es-overflow-auto{overflow:auto}.es-overflow-hidden{overflow:hidden}.es-padding-2{padding:2px}.es-padding-3{padding:3px}.es-padding-4{padding:4px}.es-padding-5{padding:5px}.es-padding-10{padding:10px}.es-padding-0{padding:0}.es-padding-7{padding:7px}.es-padding-15{padding:15px}.es-padding-20{padding:20px}.es-padding-v-5{padding:5px 0}.es-padding-h-5{padding:0 5px}.es-padding-is-5{padding-inline-start:5px}.es-padding-ie-5{padding-inline-end:5px}.padding-bottom-10{padding-bottom:10px}.padding-10{padding:10px}.es-position-relative{position:relative}.es-position-absolute{position:absolute}.es-position-absolute-full{position:absolute;left:0;top:0;width:100%;height:100%}.es-position-absolute-center{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto}.es-radius-2{border-radius:2px}.es-radius-3{border-radius:3px}.es-radius-4{border-radius:4px}.es-radius-5{border-radius:5px}.es-radius-6{border-radius:6px}.es-radius-7{border-radius:7px}.es-radius-8{border-radius:8px}.es-radius-9{border-radius:9px}.es-radius-10{border-radius:10px}.es-radius-15{border-radius:15px}.es-radius-20{border-radius:20px}.es-text-xs{font-weight:400;font-size:10px;line-height:13px}.es-text-sm{font-weight:400;font-size:12px;line-height:16px}.es-text-md{font-size:14px;line-height:20px}.es-text-lg{font-size:16px;line-height:24px}.es-text-xl{font-size:18px;line-height:25px}.es-text-center{text-align:center}.es-text-end{text-align:end}.es-text-bold{font-weight:700}.es-text-no-wrap{text-wrap:nowrap}.es-weight-600{font-weight:600}.es-zindex-0{z-index:0}.es-zindex-1{z-index:1}.es-zindex-2{z-index:2}.es-zindex-3{z-index:3}.es-zindex-4{z-index:4}.es-zindex-5{z-index:5}.es-grid{display:grid}.es-grid-center{display:grid;place-content:center}.es-margin-0{margin:0}.widget-table__head-cell[data-v-d95d78a7]{padding:18px;text-align:start}.widget-table__head-label[data-v-d95d78a7]{font-weight:600;font-size:14px;line-height:19px}.widget-filter-text[data-v-611720e1]{padding:20px 10px}.widget-filter-enum[data-v-d757408d]{padding:3px 0;max-height:400px;max-width:340px;min-width:180px;overflow:hidden auto}.widget-filter-enum-item[data-v-d757408d]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-d757408d]:hover{background-color:#f1f1f1}.widget-filter-number[data-v-c6ced356]{padding:4px 6px}.widget-filter-enum[data-v-97b90df5]{padding:3px 0;max-height:400px;max-width:340px;min-width:180px;overflow:hidden auto}.widget-filter-enum-item[data-v-97b90df5]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-97b90df5]:hover{background-color:#f1f1f1}.widget-calendar[data-v-2715a072]{width:250px}.widget-calendar-days-name[data-v-2715a072]{padding:10px 0 0}.widget-calendar-days-name-elem[data-v-2715a072]{width:33px}.widget-calendar-main-item[data-v-2715a072]{width:14.2857%;margin-block-start:10px;padding-inline-end:3px}.calendar-date_active[data-v-2715a072]:before{position:absolute;content:"";background-color:var(--color-primary)!important;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #3E3E3E;border-radius:2px}.calendar-date_current[data-v-2715a072]:before{position:absolute;content:"";background:#ccc;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #B3B3B3;border-radius:2px}.calendar-date_shadow[data-v-2715a072]{color:var(--gray)!important}.calendar-date_focus[data-v-2715a072]{background-color:#143d8d1a}.widget-calendar-between[data-v-6ca93cb4]{grid-template-columns:min-content min-content;grid-template-rows:min-content min-content;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-navigation[data-v-6ca93cb4]{grid-column:1 / 3}[dir=rtl] .icon[data-v-8fa10642]{transform:scaleX(-1)}.widget-spinner[data-v-0ae13719],.widget-spinner[data-v-0ae13719]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ae13719]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;transform:translateZ(0);animation:spinnerAnimation-0ae13719 1.1s infinite linear}@keyframes spinnerAnimation-0ae13719{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-76d0d8eb]{position:relative}.widget-button-spinner[data-v-76d0d8eb]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-73728b7b]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-73728b7b]{grid-template-columns:1fr var(--button-size);background-color:var(--primary);grid-template-rows:var(--button-size);transition:var(--fast)}.widget-multi-button_active[data-v-73728b7b]{grid-template-rows:calc(var(--button-size) * var(--0451c184))}.widget-multi-button-body[data-v-73728b7b]{min-width:80px}.widget-multi-button-body-label[data-v-73728b7b]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-73728b7b]:hover{background-color:#223296}.widget-multi-button-side[data-v-73728b7b]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-73728b7b]{transform:rotate(180deg)}.widget-multi-button-side[data-v-73728b7b]:hover{background-color:#223296}tr[data-v-aa0613cb]{border:1px solid #F3F4FC;height:30px}th[data-v-aa0613cb],td[data-v-aa0613cb]{position:relative;padding:0 11px}th[data-v-aa0613cb]{text-align:left}p[data-v-aa0613cb]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.widget-list-head-cell[data-v-85ce2e65]{padding:0 0 0 10px;display:flex}.widget-list-head-cell[data-v-85ce2e65]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-85ce2e65]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-85ce2e65]{position:absolute;inset-inline-end:22px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-85ce2e65]{transform:rotate(180deg)}.head-cell-resize[data-v-85ce2e65]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-85ce2e65]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-85ce2e65]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-6173c14c]{position:sticky;top:-1px;z-index:1}.test-block[data-v-6173c14c]{position:absolute;z-index:2;display:none;height:calc(100% + 1px);place-content:center;inset-block-start:-1px;padding-inline:10px;background-color:#e7f2ff;-webkit-user-select:none;user-select:none;white-space:nowrap}.widget-list-head th[data-v-6173c14c]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.widget-head-cell[data-v-d0daf271]{display:flex;gap:4px}.widget-head-cell-order[data-v-d0daf271]{display:flex;flex-direction:column;justify-content:center;gap:2px}.widget-head-cell-label[data-v-d0daf271]{cursor:pointer}.widget-fast-table-head-cell-td[data-v-d0daf271]{padding:7px}.widget-head-cell-order-icon[data-v-d0daf271]{transition:.1s;height:18px;width:18px}.widget-head-cell-order-icon_desc[data-v-d0daf271]{transform:rotate(180deg)}.widget-filter-item-container[data-v-f2c87c2f]{position:relative}.widget-filter-item-arrow[data-v-f2c87c2f]{transform:rotate(180deg)}.widget-filter-item-label_active[data-v-f2c87c2f]{font-weight:700}.widget-filter-item[data-v-f2c87c2f]{display:grid;grid-template-columns:max-content max-content;align-items:center;cursor:pointer;padding:0 10px;color:#fff}.widget-filter-item[data-v-f2c87c2f]:not(.widget-filter-item_active){opacity:.6}.widget-filter-item-label[data-v-f2c87c2f]{-webkit-user-select:none;user-select:none;padding:4px 2px 4px 8px}.widget-filter-item-popup[data-v-f2c87c2f]{position:absolute;z-index:2;inset-block-start:100%;inset-inline-end:0;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-filter-item-arrow[data-v-f2c87c2f]{transition:.2s}.widget-table-search[data-v-1e3cb116]{gap:5px;padding:0 10px 0 12px}.widget-table-search-icon[data-v-1e3cb116]{align-self:center}.widget-table-search-input[data-v-1e3cb116]{outline:none;background-color:transparent;border:0;padding:6px 5px;font-size:16px}.widget-table-panel-filter[data-v-922a8760]{justify-content:space-between;background-color:var(--color-primary)}.widget-fast-table[data-v-32a9cbb4]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr);gap:15px}.widget-fast-table-body[data-v-32a9cbb4]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr)}.widget-fast-table-head[data-v-32a9cbb4]{display:grid;gap:15px}.main-table[data-v-32a9cbb4]{overflow:auto}.input-wrapper[data-v-fe22c31f]{height:var(--vf-input-height);max-height:var(--vf-input-height);line-height:var(--vf-input-height);padding-inline-start:8px;border:var(--vf-input-border);border-radius:var(--vf-input-border-radius);color:var(--vf-input-color);background-color:#fff;outline:none;font-size:var(--vf-input-font-size);white-space:nowrap;text-overflow:ellipsis}.input-wrapper_disabled[data-v-fe22c31f]{background-color:var(--vf-input-background-disabled);cursor:default!important}.container-reference_error[data-v-fe22c31f]{border:1px solid var(--vf-input-error)}.version-item[data-v-ff2e9ee6]{display:grid;gap:2px 10px;grid-template-rows:max-content;grid-template-columns:min-content minmax(100px,200px) 1fr 1fr}.version-item-date[data-v-ff2e9ee6]{white-space:nowrap}.line-clamp_5[data-v-ff2e9ee6]{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-header[data-v-e97e099b]{align-items:center;position:sticky;top:0;background-color:#fff;grid-template-rows:max-content;grid-template-columns:20px 210px 1fr 1fr}.container-history[data-v-e97e099b]{display:flex;flex-direction:column-reverse;overflow:auto}.wrap-modal-version-history[data-v-e97e099b]{min-height:380px}@media screen and (min-width: 756px){.wrap-modal-version-history[data-v-e97e099b]{min-width:800px;max-width:1000px}}.wrap-history[data-v-e97e099b]{height:100%;overflow:auto}.widget-table[data-v-086b9594]{height:100%;min-height:350px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.justify-content-center{justify-content:center}.user-select-none{-webkit-user-select:none;user-select:none}.flex{display:flex}.flex_column,.flex-column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow,.flex-grow{flex-grow:1}.flex-align_center{align-items:center}.grid{display:grid}.grid-center{display:grid;place-content:center}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_center,.text-center{text-align:center}.text_bold,.text-bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.text_overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color-light{color:var(--color-light)}.color-primary{color:var(--color-primary)}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.transition-fast{transition:.1s}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_15{gap:15px}.gap_20{gap:20px}.gap-25{gap:25px}.margin-0,.margin_0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number,.widget-table-cell_money{text-align:end}.widget-list-cell-history{cursor:pointer}.widget-list-cell-history>span{color:var(--color-primary);font-size:16px;padding:0 10px}.widget-table-cell_multi-select>.container-input-wrap{align-items:center}.overflow_auto,.overflow-auto{overflow:auto}.overflow_hidden,.overflow-hidden{overflow:hidden}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15{padding:15px}.padding_20{padding:20px}.padding-5{padding:5px}.padding-0{padding:0}.padding-15{padding:15px}.padding-20{padding:20px}.radius_5{border-radius:5px}.radius_10{border-radius:10px}.radius_15{border-radius:15px}.radius_20{border-radius:20px}.es-card-list{box-shadow:#959da533 0 8px 24px;border:1px solid #f1f1f1;border-radius:4px;background-color:#fff}.color-gray{color:#ccc}.es-container-full{height:100%;width:100%}.es-cursor-pointer{cursor:pointer}.es-cursor-default{cursor:default}.flex,.es-flex{display:flex}.es-flex-column{display:flex;flex-direction:column}.es-flex-center{display:flex;align-items:center;justify-content:center}.es-flex-grow{flex-grow:1}.es-flex-justify-center{justify-content:center}.es-flex-justify-end{justify-content:end}.es-flex-justify-between{justify-content:space-between}.es-flex-align-center{align-items:center}.es-flex-wrap{flex-wrap:wrap}.es-gap-1{gap:1px}.es-gap-2{gap:2px}.es-gap-3{gap:3px}.es-gap-4{gap:4px}.es-gap-5{gap:5px}.es-gap-6{gap:6px}.es-gap-7{gap:7px}.es-gap-8{gap:8px}.es-gap-9{gap:9px}.es-gap-10{gap:10px}.es-gap-15{gap:15px}.es-gap-20{gap:20px}.es-gap-40{gap:40px}.gap-10{gap:10px}.gap-15{gap:15px}.gap-5{gap:5px}.gap-20{gap:20px}.es-list-container,.es-overflow-auto{overflow:auto}.es-overflow-hidden{overflow:hidden}.es-padding-2{padding:2px}.es-padding-3{padding:3px}.es-padding-4{padding:4px}.es-padding-5{padding:5px}.es-padding-10{padding:10px}.es-padding-0{padding:0}.es-padding-7{padding:7px}.es-padding-15{padding:15px}.es-padding-20{padding:20px}.es-padding-v-5{padding:5px 0}.es-padding-h-5{padding:0 5px}.es-padding-is-5{padding-inline-start:5px}.es-padding-ie-5{padding-inline-end:5px}.padding-bottom-10{padding-bottom:10px}.padding-10{padding:10px}.es-position-relative{position:relative}.es-position-absolute{position:absolute}.es-position-absolute-full{position:absolute;left:0;top:0;width:100%;height:100%}.es-position-absolute-center{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto}.es-radius-2{border-radius:2px}.es-radius-3{border-radius:3px}.es-radius-4{border-radius:4px}.es-radius-5{border-radius:5px}.es-radius-6{border-radius:6px}.es-radius-7{border-radius:7px}.es-radius-8{border-radius:8px}.es-radius-9{border-radius:9px}.es-radius-10{border-radius:10px}.es-radius-15{border-radius:15px}.es-radius-20{border-radius:20px}.es-text-xs{font-weight:400;font-size:10px;line-height:13px}.es-text-sm{font-weight:400;font-size:12px;line-height:16px}.es-text-md{font-size:14px;line-height:20px}.es-text-lg{font-size:16px;line-height:24px}.es-text-xl{font-size:18px;line-height:25px}.es-text-center{text-align:center}.es-text-end{text-align:end}.es-text-bold{font-weight:700}.es-text-no-wrap{text-wrap:nowrap}.es-weight-600{font-weight:600}.es-zindex-0{z-index:0}.es-zindex-1{z-index:1}.es-zindex-2{z-index:2}.es-zindex-3{z-index:3}.es-zindex-4{z-index:4}.es-zindex-5{z-index:5}.es-grid{display:grid}.es-grid-center{display:grid;place-content:center}.es-margin-0{margin:0}.widget-table__head-cell[data-v-d95d78a7]{padding:18px;text-align:start}.widget-table__head-label[data-v-d95d78a7]{font-weight:600;font-size:14px;line-height:19px}.widget-filter-text[data-v-611720e1]{padding:20px 10px}.widget-filter-enum[data-v-d757408d]{padding:3px 0;max-height:400px;max-width:340px;min-width:180px;overflow:hidden auto}.widget-filter-enum-item[data-v-d757408d]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-d757408d]:hover{background-color:#f1f1f1}.widget-filter-number[data-v-c6ced356]{padding:4px 6px}.widget-filter-enum[data-v-97b90df5]{padding:3px 0;max-height:400px;max-width:340px;min-width:180px;overflow:hidden auto}.widget-filter-enum-item[data-v-97b90df5]{padding:6px 11px;transition:.1s;cursor:pointer}.widget-filter-enum-item[data-v-97b90df5]:hover{background-color:#f1f1f1}.widget-calendar[data-v-9a484da9]{width:250px}.widget-calendar-days-name[data-v-9a484da9]{padding:10px 0 0}.widget-calendar-days-name-elem[data-v-9a484da9]{width:33px}.widget-calendar-main-item[data-v-9a484da9]{width:14.2857%;margin-block-start:10px;padding-inline-end:3px}.calendar-date_active[data-v-9a484da9]:before{position:absolute;content:"";background-color:var(--color-primary)!important;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #3E3E3E;border-radius:2px}.calendar-date_current[data-v-9a484da9]:before{position:absolute;content:"";background:#ccc;width:20px;height:18px;inset-inline-end:0;z-index:0;border:.5px solid #B3B3B3;border-radius:2px}.calendar-date_shadow[data-v-9a484da9]{color:var(--gray)!important}.calendar-date_focus[data-v-9a484da9]{background-color:#143d8d1a}.widget-calendar-between[data-v-6ca93cb4]{grid-template-columns:min-content min-content;grid-template-rows:min-content min-content;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-navigation[data-v-6ca93cb4]{grid-column:1 / 3}[dir=rtl] .icon[data-v-8fa10642]{transform:scaleX(-1)}.widget-spinner[data-v-0ae13719],.widget-spinner[data-v-0ae13719]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ae13719]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;transform:translateZ(0);animation:spinnerAnimation-0ae13719 1.1s infinite linear}@keyframes spinnerAnimation-0ae13719{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-76d0d8eb]{position:relative}.widget-button-spinner[data-v-76d0d8eb]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-73728b7b]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-73728b7b]{grid-template-columns:1fr var(--button-size);background-color:var(--primary);grid-template-rows:var(--button-size);transition:var(--fast)}.widget-multi-button_active[data-v-73728b7b]{grid-template-rows:calc(var(--button-size) * var(--0451c184))}.widget-multi-button-body[data-v-73728b7b]{min-width:80px}.widget-multi-button-body-label[data-v-73728b7b]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-73728b7b]:hover{background-color:#223296}.widget-multi-button-side[data-v-73728b7b]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-73728b7b]{transform:rotate(180deg)}.widget-multi-button-side[data-v-73728b7b]:hover{background-color:#223296}tr[data-v-aa0613cb]{border:1px solid #F3F4FC;height:30px}th[data-v-aa0613cb],td[data-v-aa0613cb]{position:relative;padding:0 11px}th[data-v-aa0613cb]{text-align:left}p[data-v-aa0613cb]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.widget-list-head-cell[data-v-85ce2e65]{padding:0 0 0 10px;display:flex}.widget-list-head-cell[data-v-85ce2e65]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-85ce2e65]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-85ce2e65]{position:absolute;inset-inline-end:22px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-85ce2e65]{transform:rotate(180deg)}.head-cell-resize[data-v-85ce2e65]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-85ce2e65]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-85ce2e65]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-6173c14c]{position:sticky;top:-1px;z-index:1}.test-block[data-v-6173c14c]{position:absolute;z-index:2;display:none;height:calc(100% + 1px);place-content:center;inset-block-start:-1px;padding-inline:10px;background-color:#e7f2ff;-webkit-user-select:none;user-select:none;white-space:nowrap}.widget-list-head th[data-v-6173c14c]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.widget-head-cell[data-v-d0daf271]{display:flex;gap:4px}.widget-head-cell-order[data-v-d0daf271]{display:flex;flex-direction:column;justify-content:center;gap:2px}.widget-head-cell-label[data-v-d0daf271]{cursor:pointer}.widget-fast-table-head-cell-td[data-v-d0daf271]{padding:7px}.widget-head-cell-order-icon[data-v-d0daf271]{transition:.1s;height:18px;width:18px}.widget-head-cell-order-icon_desc[data-v-d0daf271]{transform:rotate(180deg)}.widget-filter-item-container[data-v-f2c87c2f]{position:relative}.widget-filter-item-arrow[data-v-f2c87c2f]{transform:rotate(180deg)}.widget-filter-item-label_active[data-v-f2c87c2f]{font-weight:700}.widget-filter-item[data-v-f2c87c2f]{display:grid;grid-template-columns:max-content max-content;align-items:center;cursor:pointer;padding:0 10px;color:#fff}.widget-filter-item[data-v-f2c87c2f]:not(.widget-filter-item_active){opacity:.6}.widget-filter-item-label[data-v-f2c87c2f]{-webkit-user-select:none;user-select:none;padding:4px 2px 4px 8px}.widget-filter-item-popup[data-v-f2c87c2f]{position:absolute;z-index:2;inset-block-start:100%;inset-inline-end:0;box-shadow:0 2px 2px #00000040;background-color:#fff}.widget-filter-item-arrow[data-v-f2c87c2f]{transition:.2s}.widget-table-search[data-v-1e3cb116]{gap:5px;padding:0 10px 0 12px}.widget-table-search-icon[data-v-1e3cb116]{align-self:center}.widget-table-search-input[data-v-1e3cb116]{outline:none;background-color:transparent;border:0;padding:6px 5px;font-size:16px}.widget-table-panel-filter[data-v-922a8760]{justify-content:space-between;background-color:var(--color-primary)}.widget-fast-table[data-v-32a9cbb4]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr);gap:15px}.widget-fast-table-body[data-v-32a9cbb4]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr)}.widget-fast-table-head[data-v-32a9cbb4]{display:grid;gap:15px}.main-table[data-v-32a9cbb4]{overflow:auto}.input-wrapper[data-v-fe22c31f]{height:var(--vf-input-height);max-height:var(--vf-input-height);line-height:var(--vf-input-height);padding-inline-start:8px;border:var(--vf-input-border);border-radius:var(--vf-input-border-radius);color:var(--vf-input-color);background-color:#fff;outline:none;font-size:var(--vf-input-font-size);white-space:nowrap;text-overflow:ellipsis}.input-wrapper_disabled[data-v-fe22c31f]{background-color:var(--vf-input-background-disabled);cursor:default!important}.container-reference_error[data-v-fe22c31f]{border:1px solid var(--vf-input-error)}.version-item[data-v-ff2e9ee6]{display:grid;gap:2px 10px;grid-template-rows:max-content;grid-template-columns:min-content minmax(100px,200px) 1fr 1fr}.version-item-date[data-v-ff2e9ee6]{white-space:nowrap}.line-clamp_5[data-v-ff2e9ee6]{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-header[data-v-e97e099b]{align-items:center;position:sticky;top:0;background-color:#fff;grid-template-rows:max-content;grid-template-columns:20px 210px 1fr 1fr}.container-history[data-v-e97e099b]{display:flex;flex-direction:column-reverse;overflow:auto}.wrap-modal-version-history[data-v-e97e099b]{min-height:380px}@media screen and (min-width: 756px){.wrap-modal-version-history[data-v-e97e099b]{min-width:800px;max-width:1000px}}.wrap-history[data-v-e97e099b]{height:100%;overflow:auto}.widget-table[data-v-086b9594]{height:100%;min-height:350px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
var Kt = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var zt = (e, n, t) => n.has(e) || Kt("Cannot " + t);
|
|
6
6
|
var rt = (e, n, t) => (zt(e, n, "read from private field"), t ? t.call(e) : n.get(e)), at = (e, n, t) => n.has(e) ? Kt("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t), Ve = (e, n, t, r) => (zt(e, n, "write to private field"), r ? r.call(e, t) : n.set(e, t), t);
|
|
7
|
-
import { defineComponent as x, openBlock as
|
|
7
|
+
import { defineComponent as x, openBlock as v, createElementBlock as A, createBlock as D, unref as _, toDisplayString as K, computed as k, Fragment as ee, renderList as ae, renderSlot as et, mergeProps as ke, onMounted as Te, watch as ge, resolveComponent as J, createElementVNode as C, createVNode as V, withCtx as X, createTextVNode as Se, ref as F, reactive as te, normalizeClass as ye, h as fe, resolveDynamicComponent as ht, useSlots as Zn, createCommentVNode as re, normalizeStyle as yn, useCssVars as er, withModifiers as tr, pushScopeId as Nt, popScopeId as Ft, getCurrentInstance as nr, provide as Ke, inject as De, onUnmounted as yt, withDirectives as rr, vShow as ar, readonly as ir, nextTick as sr } from "vue";
|
|
8
8
|
import { FormField as ie, utils as se, Form as Ie, ComputedValue as Yt, InputField as Xt } from "jenesius-vue-form";
|
|
9
9
|
import { RouterLink as or, useRouter as tt, useRoute as lr } from "vue-router";
|
|
10
10
|
import kt from "date-and-time";
|
|
11
11
|
import vt from "debug";
|
|
12
12
|
import { promptModal as ze, openModal as ut, onBeforeModalClose as cr, popModal as Jt, Modal as ur, getComponentFromStore as vn, pushModal as dr, closeModal as fr } from "jenesius-vue-modal";
|
|
13
13
|
/*!
|
|
14
|
-
* eservices-core v1.3.
|
|
14
|
+
* eservices-core v1.3.365
|
|
15
15
|
* (c) 2025 ESERVICES
|
|
16
16
|
*/
|
|
17
17
|
const W = class W extends Error {
|
|
@@ -297,11 +297,11 @@ const hr = { class: "widget-table__head-cell" }, yr = {
|
|
|
297
297
|
function r() {
|
|
298
298
|
t("select");
|
|
299
299
|
}
|
|
300
|
-
return (a, i) => (
|
|
301
|
-
a.type === "multi-select" ? (
|
|
300
|
+
return (a, i) => (v(), A("th", hr, [
|
|
301
|
+
a.type === "multi-select" ? (v(), D(_(ie), {
|
|
302
302
|
key: 0,
|
|
303
303
|
onClick: r
|
|
304
|
-
})) : (
|
|
304
|
+
})) : (v(), A("span", yr, K(a.label), 1))
|
|
305
305
|
]));
|
|
306
306
|
}
|
|
307
307
|
}), vr = { class: "widget-table__head" }, wr = /* @__PURE__ */ x({
|
|
@@ -310,16 +310,16 @@ const hr = { class: "widget-table__head-cell" }, yr = {
|
|
|
310
310
|
config: {}
|
|
311
311
|
},
|
|
312
312
|
setup(e) {
|
|
313
|
-
return k(() => wn), (n, t) => (
|
|
314
|
-
(
|
|
313
|
+
return k(() => wn), (n, t) => (v(), A("tr", vr, [
|
|
314
|
+
(v(!0), A(ee, null, ae(n.config, (r) => et(n.$slots, "default", ke({ ref_for: !0 }, r), void 0, !0)), 256))
|
|
315
315
|
]));
|
|
316
316
|
}
|
|
317
|
-
}),
|
|
317
|
+
}), G = (e, n) => {
|
|
318
318
|
const t = e.__vccOpts || e;
|
|
319
319
|
for (const [r, a] of n)
|
|
320
320
|
t[r] = a;
|
|
321
321
|
return t;
|
|
322
|
-
}, br = /* @__PURE__ */
|
|
322
|
+
}, br = /* @__PURE__ */ G(wr, [["__scopeId", "data-v-d95d78a7"]]);
|
|
323
323
|
function Pt(e) {
|
|
324
324
|
return Array.isArray(e) ? Pt(e[0]) : typeof e != "string" ? null : e;
|
|
325
325
|
}
|
|
@@ -457,7 +457,7 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
457
457
|
}
|
|
458
458
|
return ge(() => t.values, (c) => a.setValues(c || o()), { immediate: !0 }), (c, d) => {
|
|
459
459
|
const u = J("widget-button");
|
|
460
|
-
return
|
|
460
|
+
return v(), A("div", Ir, [
|
|
461
461
|
C("div", Rr, [
|
|
462
462
|
V(_(ie), {
|
|
463
463
|
name: "text",
|
|
@@ -476,13 +476,13 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
476
476
|
type: "primary"
|
|
477
477
|
}, {
|
|
478
478
|
default: X(() => [
|
|
479
|
-
Se(
|
|
479
|
+
Se(K(_(H)("Apply")), 1)
|
|
480
480
|
]),
|
|
481
481
|
_: 1
|
|
482
482
|
}),
|
|
483
483
|
V(u, { onClick: s }, {
|
|
484
484
|
default: X(() => [
|
|
485
|
-
Se(
|
|
485
|
+
Se(K(_(H)("Clear")), 1)
|
|
486
486
|
]),
|
|
487
487
|
_: 1
|
|
488
488
|
})
|
|
@@ -490,7 +490,7 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
490
490
|
]);
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
|
-
}), Lr = /* @__PURE__ */
|
|
493
|
+
}), Lr = /* @__PURE__ */ G(Or, [["__scopeId", "data-v-611720e1"]]), $r = { class: "widget-filter-enum" }, Dr = { class: "flex gap-10 padding-10" }, xr = /* @__PURE__ */ x({
|
|
494
494
|
__name: "widget-filter-entity",
|
|
495
495
|
props: {
|
|
496
496
|
baseEntity: {},
|
|
@@ -503,7 +503,7 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
503
503
|
const t = e, r = F([]), a = Tt(t.filterMetadata.entity), i = (d) => (t.values || []).includes(d), o = n;
|
|
504
504
|
function l(d) {
|
|
505
505
|
const u = t.values || [];
|
|
506
|
-
return u.includes(d) ? o("update:values", u.filter((
|
|
506
|
+
return u.includes(d) ? o("update:values", u.filter((w) => w !== d)) : o("update:values", [...u, d]);
|
|
507
507
|
}
|
|
508
508
|
const s = _e(async () => {
|
|
509
509
|
r.value = await Ee(t.baseEntity, {
|
|
@@ -514,7 +514,7 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
514
514
|
}).then((d) => d.map((u) => ({
|
|
515
515
|
label: u[t.filterMetadata.name[1]],
|
|
516
516
|
value: u[t.filterMetadata.name[0]]
|
|
517
|
-
})).sort((u,
|
|
517
|
+
})).sort((u, w) => u.label > w.label ? 1 : -1));
|
|
518
518
|
});
|
|
519
519
|
function c() {
|
|
520
520
|
o("update:values", []);
|
|
@@ -524,21 +524,21 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
524
524
|
}, { immediate: !0 }), ge(() => a.value, () => {
|
|
525
525
|
s.loading || s.call();
|
|
526
526
|
}, { immediate: !0 }), (d, u) => {
|
|
527
|
-
const
|
|
528
|
-
return
|
|
527
|
+
const w = J("widget-button");
|
|
528
|
+
return v(), A("div", $r, [
|
|
529
529
|
C("div", Dr, [
|
|
530
|
-
V(
|
|
531
|
-
label: _(
|
|
530
|
+
V(w, {
|
|
531
|
+
label: _(H)("Reload filter"),
|
|
532
532
|
loading: _(s).loading || !1,
|
|
533
533
|
icon: "reload",
|
|
534
534
|
onClick: u[0] || (u[0] = () => _(s).call())
|
|
535
535
|
}, null, 8, ["label", "loading"]),
|
|
536
|
-
V(
|
|
537
|
-
label: _(
|
|
536
|
+
V(w, {
|
|
537
|
+
label: _(H)("Clear"),
|
|
538
538
|
onClick: c
|
|
539
539
|
}, null, 8, ["label"])
|
|
540
540
|
]),
|
|
541
|
-
(
|
|
541
|
+
(v(!0), A(ee, null, ae(r.value, (p) => (v(), D(_(ie), {
|
|
542
542
|
class: "widget-filter-enum-item",
|
|
543
543
|
key: p.value,
|
|
544
544
|
onClick: () => l(p.value),
|
|
@@ -549,7 +549,7 @@ const Ir = { class: "widget-filter-text flex-column gap_10" }, Rr = { class: "fl
|
|
|
549
549
|
]);
|
|
550
550
|
};
|
|
551
551
|
}
|
|
552
|
-
}), Nr = /* @__PURE__ */
|
|
552
|
+
}), Nr = /* @__PURE__ */ G(xr, [["__scopeId", "data-v-d757408d"]]), Ge = te({});
|
|
553
553
|
function Fr() {
|
|
554
554
|
Zt(), setInterval(Zt, 50);
|
|
555
555
|
}
|
|
@@ -586,7 +586,7 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
586
586
|
}
|
|
587
587
|
return (l, s) => {
|
|
588
588
|
const c = J("widget-button");
|
|
589
|
-
return
|
|
589
|
+
return v(), A("div", Vr, [
|
|
590
590
|
C("div", Mr, [
|
|
591
591
|
V(_(ie), {
|
|
592
592
|
name: "min",
|
|
@@ -608,7 +608,7 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
608
608
|
]);
|
|
609
609
|
};
|
|
610
610
|
}
|
|
611
|
-
}), en = /* @__PURE__ */
|
|
611
|
+
}), en = /* @__PURE__ */ G(Ur, [["__scopeId", "data-v-c6ced356"]]), Wr = { class: "widget-filter-enum" }, Br = { class: "flex gap-10 padding-10" }, Hr = /* @__PURE__ */ x({
|
|
612
612
|
__name: "widget-filter-enum",
|
|
613
613
|
props: {
|
|
614
614
|
baseEntity: {},
|
|
@@ -636,19 +636,19 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
636
636
|
}
|
|
637
637
|
return (s, c) => {
|
|
638
638
|
const d = J("widget-button");
|
|
639
|
-
return
|
|
639
|
+
return v(), A("div", Wr, [
|
|
640
640
|
C("div", Br, [
|
|
641
641
|
V(d, {
|
|
642
|
-
label: _(
|
|
642
|
+
label: _(H)("Reload filter"),
|
|
643
643
|
icon: "reload",
|
|
644
644
|
onClick: c[0] || (c[0] = () => s.readOptions.call())
|
|
645
645
|
}, null, 8, ["label"]),
|
|
646
646
|
V(d, {
|
|
647
|
-
label: _(
|
|
647
|
+
label: _(H)("Clear"),
|
|
648
648
|
onClick: l
|
|
649
649
|
}, null, 8, ["label"])
|
|
650
650
|
]),
|
|
651
|
-
(
|
|
651
|
+
(v(!0), A(ee, null, ae(r.value, (u) => (v(), D(_(ie), {
|
|
652
652
|
class: "widget-filter-enum-item",
|
|
653
653
|
key: u.value,
|
|
654
654
|
onClick: () => o(u.value),
|
|
@@ -659,7 +659,7 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
659
659
|
]);
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
}), tn = /* @__PURE__ */
|
|
662
|
+
}), tn = /* @__PURE__ */ G(Hr, [["__scopeId", "data-v-97b90df5"]]), qr = { class: "widget-calendar" }, Gr = { class: "flex gap-20" }, Kr = { class: "widget-calendar-container" }, zr = { class: "widget-calendar-days-name flex es-flex-justify-between" }, Yr = { class: "widget-calendar-main es-flex es-flex-wrap" }, Xr = ["title", "onClick"], Jr = { class: "es-position-relative" }, Qr = /* @__PURE__ */ x({
|
|
663
663
|
__name: "widget-calendar",
|
|
664
664
|
props: {
|
|
665
665
|
modelValue: {},
|
|
@@ -667,84 +667,84 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
667
667
|
},
|
|
668
668
|
emits: ["update:modelValue"],
|
|
669
669
|
setup(e, { emit: n }) {
|
|
670
|
-
const t = k(
|
|
671
|
-
() =>
|
|
672
|
-
),
|
|
673
|
-
|
|
674
|
-
month:
|
|
675
|
-
year:
|
|
670
|
+
const t = e, r = n, a = k(
|
|
671
|
+
() => t.modelValue ? new Date(t.modelValue) : /* @__PURE__ */ new Date()
|
|
672
|
+
), i = new Ie({ parent: !1 });
|
|
673
|
+
i.setValues({
|
|
674
|
+
month: a.value.getMonth(),
|
|
675
|
+
year: a.value.getFullYear()
|
|
676
676
|
});
|
|
677
|
-
const
|
|
678
|
-
function
|
|
679
|
-
const
|
|
680
|
-
return
|
|
677
|
+
const o = Yt(i, "month"), l = Yt(i, "year");
|
|
678
|
+
function s(g) {
|
|
679
|
+
const m = new Date(g).getMonth();
|
|
680
|
+
return o.value === m;
|
|
681
681
|
}
|
|
682
|
-
const
|
|
683
|
-
months:
|
|
684
|
-
days:
|
|
685
|
-
years: Array.from({ length: 60 }, (
|
|
686
|
-
value: 1990 +
|
|
687
|
-
|
|
682
|
+
const c = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], d = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sub"], u = {
|
|
683
|
+
months: c.map((g, m) => ({ label: H(g), value: m })),
|
|
684
|
+
days: d.map((g, m) => ({ label: H(g), value: m })),
|
|
685
|
+
years: Array.from({ length: 60 }, (g, m) => ({
|
|
686
|
+
value: 1990 + m,
|
|
687
|
+
label: String(1990 + m)
|
|
688
688
|
}))
|
|
689
|
-
},
|
|
690
|
-
const
|
|
691
|
-
let
|
|
692
|
-
for (let
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
value:
|
|
696
|
-
}),
|
|
697
|
-
return
|
|
689
|
+
}, w = k(() => {
|
|
690
|
+
const g = [], m = new Date(l.value, Number(o.value) + 1, 0).getDate(), E = new Date(l.value, o.value, 1).getDay(), f = new Date(l.value, Number(o.value), 1 - E);
|
|
691
|
+
let b = E + m > 35 ? 42 : 35;
|
|
692
|
+
for (let y = 0; y < b; y++)
|
|
693
|
+
g.push({
|
|
694
|
+
label: f.getDate().toString(),
|
|
695
|
+
value: f.toDateString()
|
|
696
|
+
}), f.setDate(f.getDate() + 1);
|
|
697
|
+
return g;
|
|
698
698
|
});
|
|
699
|
-
function
|
|
700
|
-
|
|
699
|
+
function p(g) {
|
|
700
|
+
r("update:modelValue", g);
|
|
701
701
|
}
|
|
702
|
-
const
|
|
703
|
-
return (
|
|
702
|
+
const h = (/* @__PURE__ */ new Date()).toDateString();
|
|
703
|
+
return (g, m) => (v(), A("div", qr, [
|
|
704
704
|
C("div", Gr, [
|
|
705
705
|
V(_(Xt), {
|
|
706
706
|
name: "month",
|
|
707
707
|
type: "select",
|
|
708
|
-
options:
|
|
708
|
+
options: u.months,
|
|
709
709
|
placeholder: "Month",
|
|
710
710
|
class: "flex-grow"
|
|
711
711
|
}, null, 8, ["options"]),
|
|
712
712
|
V(_(Xt), {
|
|
713
713
|
name: "year",
|
|
714
714
|
type: "select",
|
|
715
|
-
options:
|
|
715
|
+
options: u.years,
|
|
716
716
|
placeholder: "Year"
|
|
717
717
|
}, null, 8, ["options"])
|
|
718
718
|
]),
|
|
719
719
|
C("div", Kr, [
|
|
720
720
|
C("div", zr, [
|
|
721
|
-
(
|
|
721
|
+
(v(!0), A(ee, null, ae(u.days, (E, f) => (v(), A("span", {
|
|
722
722
|
class: "widget-calendar-days-name-elem es-text-md es-text-bold es-text-center",
|
|
723
|
-
key:
|
|
724
|
-
},
|
|
723
|
+
key: f
|
|
724
|
+
}, K(E.label), 1))), 128))
|
|
725
725
|
]),
|
|
726
726
|
C("div", Yr, [
|
|
727
|
-
(
|
|
728
|
-
var
|
|
729
|
-
return
|
|
727
|
+
(v(!0), A(ee, null, ae(w.value, (E, f) => {
|
|
728
|
+
var b;
|
|
729
|
+
return v(), A("div", {
|
|
730
730
|
class: ye(["widget-calendar-main-item es-position-relative es-cursor-pointer es-text-md es-text-end", {
|
|
731
|
-
"calendar-date_active color-light ":
|
|
732
|
-
"calendar-date_current":
|
|
733
|
-
"calendar-date_shadow": !
|
|
734
|
-
[((
|
|
731
|
+
"calendar-date_active color-light ": E.value === a.value.toDateString(),
|
|
732
|
+
"calendar-date_current": E.value === _(h),
|
|
733
|
+
"calendar-date_shadow": !s(E.value),
|
|
734
|
+
[((b = g.functionDateClass) == null ? void 0 : b.call(g, E.value)) || ""]: !0
|
|
735
735
|
}]),
|
|
736
|
-
key:
|
|
737
|
-
title:
|
|
738
|
-
onClick: (
|
|
736
|
+
key: f,
|
|
737
|
+
title: E.value,
|
|
738
|
+
onClick: (y) => p(E.value)
|
|
739
739
|
}, [
|
|
740
|
-
C("span", Jr,
|
|
740
|
+
C("span", Jr, K(E.label), 1)
|
|
741
741
|
], 10, Xr);
|
|
742
742
|
}), 128))
|
|
743
743
|
])
|
|
744
744
|
])
|
|
745
745
|
]));
|
|
746
746
|
}
|
|
747
|
-
}), nn = /* @__PURE__ */
|
|
747
|
+
}), nn = /* @__PURE__ */ G(Qr, [["__scopeId", "data-v-9a484da9"]]), Zr = { class: "widget-calendar-between grid es-gap-40 es-padding-10" }, ea = { class: "widget-navigation es-flex es-gap-20 es-flex-align-center es-flex-justify-end" }, ta = { class: "es-margin-0 text_md color-gray" }, na = /* @__PURE__ */ x({
|
|
748
748
|
__name: "widget-filter-calendar-between",
|
|
749
749
|
props: {
|
|
750
750
|
values: {}
|
|
@@ -758,8 +758,8 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
758
758
|
}), a = n;
|
|
759
759
|
function i(s) {
|
|
760
760
|
var p, h;
|
|
761
|
-
const c = (p = t.values) == null ? void 0 : p.start, d = (h = t.values) == null ? void 0 : h.end, u = c ? kt.subtract(new Date(s), new Date(c)).toDays() : 0,
|
|
762
|
-
return d ? c ? u > 0 &&
|
|
761
|
+
const c = (p = t.values) == null ? void 0 : p.start, d = (h = t.values) == null ? void 0 : h.end, u = c ? kt.subtract(new Date(s), new Date(c)).toDays() : 0, w = d ? kt.subtract(new Date(s), new Date(d)).toDays() : 0;
|
|
762
|
+
return d ? c ? u > 0 && w < 0 ? "calendar-date_focus" : "" : w < 0 ? "calendar-date_focus" : "" : u > 0 ? "calendar-date_focus" : "";
|
|
763
763
|
}
|
|
764
764
|
function o(s, c) {
|
|
765
765
|
const d = Object.assign({}, t.values || {}, {
|
|
@@ -771,32 +771,32 @@ const Vr = { class: "widget-filter-number flex-column es-gap-10" }, Mr = { class
|
|
|
771
771
|
a("update:values", void 0);
|
|
772
772
|
}
|
|
773
773
|
return (s, c) => {
|
|
774
|
-
var u,
|
|
774
|
+
var u, w;
|
|
775
775
|
const d = J("widget-button");
|
|
776
|
-
return
|
|
777
|
-
(
|
|
776
|
+
return v(), A("div", Zr, [
|
|
777
|
+
(v(), D(nn, {
|
|
778
778
|
"model-value": (u = t.values) == null ? void 0 : u.start,
|
|
779
779
|
"onUpdate:modelValue": c[0] || (c[0] = (p) => o(p, "start")),
|
|
780
780
|
key: "calendar-start",
|
|
781
781
|
functionDateClass: i
|
|
782
782
|
}, null, 8, ["model-value"])),
|
|
783
|
-
(
|
|
784
|
-
"model-value": (
|
|
783
|
+
(v(), D(nn, {
|
|
784
|
+
"model-value": (w = t.values) == null ? void 0 : w.end,
|
|
785
785
|
"onUpdate:modelValue": c[1] || (c[1] = (p) => o(p, "end")),
|
|
786
786
|
key: "calendar-end",
|
|
787
787
|
functionDateClass: i
|
|
788
788
|
}, null, 8, ["model-value"])),
|
|
789
789
|
C("div", ea, [
|
|
790
|
-
C("p", ta,
|
|
790
|
+
C("p", ta, K(r.value), 1),
|
|
791
791
|
V(d, {
|
|
792
792
|
onClick: l,
|
|
793
|
-
label: _(
|
|
793
|
+
label: _(H)("Revert")
|
|
794
794
|
}, null, 8, ["label"])
|
|
795
795
|
])
|
|
796
796
|
]);
|
|
797
797
|
};
|
|
798
798
|
}
|
|
799
|
-
}), ra = /* @__PURE__ */
|
|
799
|
+
}), ra = /* @__PURE__ */ G(na, [["__scopeId", "data-v-6ca93cb4"]]), $ = {
|
|
800
800
|
getEntityLink(e, n) {
|
|
801
801
|
return `/forms/${e}/${n}`;
|
|
802
802
|
},
|
|
@@ -843,7 +843,7 @@ const aa = {
|
|
|
843
843
|
class: $.iconHandler ? $.iconHandler(t) : `icon icon-${t}`
|
|
844
844
|
}, $.iconHandlerText(t));
|
|
845
845
|
}
|
|
846
|
-
}, Ye = /* @__PURE__ */
|
|
846
|
+
}, Ye = /* @__PURE__ */ G(aa, [["__scopeId", "data-v-8fa10642"]]), ia = vt(bt("setup-list-row"));
|
|
847
847
|
function sa(e, n) {
|
|
848
848
|
const t = e.config.map((r) => oa(r, e, n));
|
|
849
849
|
return fe("tr", { class: "widget-table__row widget-table-row" }, t);
|
|
@@ -945,13 +945,13 @@ const la = {
|
|
|
945
945
|
setTimeout(() => {
|
|
946
946
|
r.value && r.value.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth" });
|
|
947
947
|
}, 250);
|
|
948
|
-
}), (a, i) => (
|
|
948
|
+
}), (a, i) => (v(), A("tr", {
|
|
949
949
|
class: "widget-table-form",
|
|
950
950
|
ref_key: "refTableForm",
|
|
951
951
|
ref: r
|
|
952
952
|
}, [
|
|
953
953
|
C("td", { colspan: a.rowLength }, [
|
|
954
|
-
(
|
|
954
|
+
(v(), D(ht(a.component), ke(a.$attrs, {
|
|
955
955
|
values: a.values,
|
|
956
956
|
new: a.isNew,
|
|
957
957
|
onClose: i[0] || (i[0] = (o) => t("close")),
|
|
@@ -1010,7 +1010,7 @@ const la = {
|
|
|
1010
1010
|
});
|
|
1011
1011
|
}, 100);
|
|
1012
1012
|
});
|
|
1013
|
-
function
|
|
1013
|
+
function w(p) {
|
|
1014
1014
|
var g;
|
|
1015
1015
|
const h = {};
|
|
1016
1016
|
return (g = $.arrayListRowHandlers) == null || g.forEach((m) => {
|
|
@@ -1021,7 +1021,7 @@ const la = {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
}), h;
|
|
1023
1023
|
}
|
|
1024
|
-
return (p, h) => (
|
|
1024
|
+
return (p, h) => (v(), A("div", null, [
|
|
1025
1025
|
C("table", {
|
|
1026
1026
|
class: "widget-table",
|
|
1027
1027
|
ref_key: "refTable",
|
|
@@ -1033,13 +1033,13 @@ const la = {
|
|
|
1033
1033
|
onOrder: h[0] || (h[0] = (g) => p.$emit("order", g))
|
|
1034
1034
|
}, {
|
|
1035
1035
|
default: X((g) => [
|
|
1036
|
-
(
|
|
1036
|
+
(v(), D(ht(p.$slots["head-cell"] || wn), ke(g, { onSelect: l }), null, 16))
|
|
1037
1037
|
]),
|
|
1038
1038
|
_: 1
|
|
1039
1039
|
}, 8, ["config"])
|
|
1040
1040
|
]),
|
|
1041
1041
|
C("tbody", null, [
|
|
1042
|
-
(
|
|
1042
|
+
(v(!0), A(ee, null, ae(p.array, (g, m) => (v(), A(ee, { key: m }, [
|
|
1043
1043
|
V(la, ke({
|
|
1044
1044
|
test: m,
|
|
1045
1045
|
config: u.value,
|
|
@@ -1049,8 +1049,8 @@ const la = {
|
|
|
1049
1049
|
onActivate: (E) => c(m),
|
|
1050
1050
|
class: p.classCallback ? p.classCallback(g, m) : "",
|
|
1051
1051
|
ref_for: !0
|
|
1052
|
-
},
|
|
1053
|
-
o.value && p.activeRow === m ? (
|
|
1052
|
+
}, w(g)), null, 16, ["test", "config", "values", "selected", "onSelect", "onActivate", "class"]),
|
|
1053
|
+
o.value && p.activeRow === m ? (v(), D(an, {
|
|
1054
1054
|
key: 0,
|
|
1055
1055
|
component: o.value,
|
|
1056
1056
|
"row-length": p.config.length,
|
|
@@ -1060,7 +1060,7 @@ const la = {
|
|
|
1060
1060
|
"is-new": !1
|
|
1061
1061
|
}, null, 8, ["component", "row-length", "values"])) : re("", !0)
|
|
1062
1062
|
], 64))), 128)),
|
|
1063
|
-
p.activeRow === _(O).LIST_ACTIVE_NEW ? (
|
|
1063
|
+
p.activeRow === _(O).LIST_ACTIVE_NEW ? (v(), D(an, {
|
|
1064
1064
|
key: 0,
|
|
1065
1065
|
component: o.value,
|
|
1066
1066
|
"row-length": u.value.length,
|
|
@@ -1079,26 +1079,26 @@ const la = {
|
|
|
1079
1079
|
color: { default: "#fff" }
|
|
1080
1080
|
},
|
|
1081
1081
|
setup(e) {
|
|
1082
|
-
return (n, t) => (
|
|
1082
|
+
return (n, t) => (v(), A("div", {
|
|
1083
1083
|
class: "widget-spinner",
|
|
1084
1084
|
style: yn({ "border-left": `1.1em solid ${n.color}` })
|
|
1085
1085
|
}, null, 4));
|
|
1086
1086
|
}
|
|
1087
|
-
}), _t = /* @__PURE__ */
|
|
1087
|
+
}), _t = /* @__PURE__ */ G(fa, [["__scopeId", "data-v-0ae13719"]]), pa = { class: "widget-button" }, ga = /* @__PURE__ */ x({
|
|
1088
1088
|
__name: "widget-button",
|
|
1089
1089
|
props: {
|
|
1090
1090
|
wait: { type: Boolean }
|
|
1091
1091
|
},
|
|
1092
1092
|
setup(e) {
|
|
1093
|
-
return (n, t) => (
|
|
1094
|
-
n.wait ? (
|
|
1093
|
+
return (n, t) => (v(), A("button", pa, [
|
|
1094
|
+
n.wait ? (v(), D(_t, {
|
|
1095
1095
|
key: 0,
|
|
1096
1096
|
class: "widget-button-spinner"
|
|
1097
1097
|
})) : re("", !0),
|
|
1098
1098
|
et(n.$slots, "default", {}, void 0, !0)
|
|
1099
1099
|
]));
|
|
1100
1100
|
}
|
|
1101
|
-
}), tl = /* @__PURE__ */
|
|
1101
|
+
}), tl = /* @__PURE__ */ G(ga, [["__scopeId", "data-v-76d0d8eb"]]), ma = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, ha = { class: "widget-multi-button-body grid" }, ya = ["onClick"], va = { class: "widget-multi-button-side-wrap" }, wa = /* @__PURE__ */ x({
|
|
1102
1102
|
__name: "widget-multi-button",
|
|
1103
1103
|
props: {
|
|
1104
1104
|
label: {},
|
|
@@ -1121,33 +1121,33 @@ const la = {
|
|
|
1121
1121
|
function i(o = !t.active) {
|
|
1122
1122
|
t.active = o;
|
|
1123
1123
|
}
|
|
1124
|
-
return (o, l) => (
|
|
1124
|
+
return (o, l) => (v(), A("div", ma, [
|
|
1125
1125
|
C("div", {
|
|
1126
1126
|
class: ye(["overflow_hidden radius_20 widget-multi-button grid", t.active ? "widget-multi-button_active" : null])
|
|
1127
1127
|
}, [
|
|
1128
1128
|
C("div", ha, [
|
|
1129
|
-
o.label ? (
|
|
1129
|
+
o.label ? (v(), A("p", {
|
|
1130
1130
|
key: 0,
|
|
1131
1131
|
class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
|
|
1132
1132
|
onClick: l[0] || (l[0] = (s) => i())
|
|
1133
|
-
},
|
|
1134
|
-
(
|
|
1133
|
+
}, K(o.label), 1)) : re("", !0),
|
|
1134
|
+
(v(!0), A(ee, null, ae(o.array, (s, c) => (v(), A("p", {
|
|
1135
1135
|
class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
|
|
1136
1136
|
key: c,
|
|
1137
1137
|
onClick: (d) => {
|
|
1138
1138
|
a(s.callback), i(!1);
|
|
1139
1139
|
}
|
|
1140
|
-
},
|
|
1140
|
+
}, K(s.label), 9, ya))), 128))
|
|
1141
1141
|
]),
|
|
1142
1142
|
C("div", va, [
|
|
1143
1143
|
C("div", {
|
|
1144
1144
|
class: ye(["grid-center widget-multi-button-side", t.active ? "widget-multi-button-side_active" : null]),
|
|
1145
1145
|
onClick: l[1] || (l[1] = (s) => i())
|
|
1146
1146
|
}, [
|
|
1147
|
-
t.wait ? (
|
|
1147
|
+
t.wait ? (v(), D(_(_t), {
|
|
1148
1148
|
key: 0,
|
|
1149
1149
|
class: "widget-multi-button-side-spinner"
|
|
1150
|
-
})) : o.array.length > 1 ? (
|
|
1150
|
+
})) : o.array.length > 1 ? (v(), D(_(Ye), {
|
|
1151
1151
|
key: 1,
|
|
1152
1152
|
class: "widget-multi-button-side-icon"
|
|
1153
1153
|
}, {
|
|
@@ -1161,18 +1161,18 @@ const la = {
|
|
|
1161
1161
|
], 2)
|
|
1162
1162
|
]));
|
|
1163
1163
|
}
|
|
1164
|
-
}), nl = /* @__PURE__ */
|
|
1164
|
+
}), nl = /* @__PURE__ */ G(wa, [["__scopeId", "data-v-73728b7b"]]), ba = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, _a = { class: "text_md" }, Vt = /* @__PURE__ */ x({
|
|
1165
1165
|
__name: "widget-loader",
|
|
1166
1166
|
props: {
|
|
1167
1167
|
label: {}
|
|
1168
1168
|
},
|
|
1169
1169
|
setup(e) {
|
|
1170
|
-
return (n, t) => (
|
|
1170
|
+
return (n, t) => (v(), A("div", ba, [
|
|
1171
1171
|
V(_t, {
|
|
1172
1172
|
color: "var(--primary)",
|
|
1173
1173
|
class: "padding_10"
|
|
1174
1174
|
}),
|
|
1175
|
-
C("span", _a,
|
|
1175
|
+
C("span", _a, K(n.label), 1)
|
|
1176
1176
|
]));
|
|
1177
1177
|
}
|
|
1178
1178
|
}), Ea = ["alt", "src"], rl = /* @__PURE__ */ x({
|
|
@@ -1188,7 +1188,7 @@ const la = {
|
|
|
1188
1188
|
t.value && (t.value.src = n.src), t.value.onerror = function() {
|
|
1189
1189
|
n.default && (t.value.src = n.default);
|
|
1190
1190
|
};
|
|
1191
|
-
}), (r, a) => (
|
|
1191
|
+
}), (r, a) => (v(), A("img", {
|
|
1192
1192
|
alt: r.alt,
|
|
1193
1193
|
ref_key: "refImage",
|
|
1194
1194
|
ref: t,
|
|
@@ -1202,7 +1202,7 @@ const la = {
|
|
|
1202
1202
|
selected: Boolean
|
|
1203
1203
|
},
|
|
1204
1204
|
setup: _n
|
|
1205
|
-
}, Ca = /* @__PURE__ */
|
|
1205
|
+
}, Ca = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-aa0613cb"]]), Aa = (e) => (Nt("data-v-85ce2e65"), e = e(), Ft(), e), ka = { class: "widget-list-head-cell" }, Sa = /* @__PURE__ */ Aa(() => /* @__PURE__ */ C("div", { class: "head-cell-resize" }, null, -1)), Ia = /* @__PURE__ */ x({
|
|
1206
1206
|
__name: "widget-list-head-cell",
|
|
1207
1207
|
props: {
|
|
1208
1208
|
title: {},
|
|
@@ -1217,23 +1217,23 @@ const la = {
|
|
|
1217
1217
|
emits: ["select", "order"],
|
|
1218
1218
|
setup(e, { emit: n }) {
|
|
1219
1219
|
const t = e, r = n;
|
|
1220
|
-
return t.title && console.warn(`For cell ${t.name} using title,it should be replaced with label.`), (a, i) => (
|
|
1220
|
+
return t.title && console.warn(`For cell ${t.name} using title,it should be replaced with label.`), (a, i) => (v(), A("th", null, [
|
|
1221
1221
|
C("div", ka, [
|
|
1222
1222
|
C("div", {
|
|
1223
1223
|
class: "head-cell-content flex_grow",
|
|
1224
1224
|
style: yn({ "min-width": a.minWidth, "max-width": a.maxWidth, width: a.width })
|
|
1225
1225
|
}, [
|
|
1226
|
-
a.type === "multi-select" ? (
|
|
1226
|
+
a.type === "multi-select" ? (v(), D(_(ie), {
|
|
1227
1227
|
key: 0,
|
|
1228
1228
|
type: "single-checkbox",
|
|
1229
1229
|
onClick: i[0] || (i[0] = tr((o) => r("select"), ["stop", "prevent"]))
|
|
1230
|
-
})) : (
|
|
1230
|
+
})) : (v(), A("p", {
|
|
1231
1231
|
key: 1,
|
|
1232
1232
|
class: "widget-list-head-label head-cell-label list-head-cell-label text_md margin-0",
|
|
1233
1233
|
onClick: i[1] || (i[1] = (o) => r("order"))
|
|
1234
|
-
},
|
|
1234
|
+
}, K(a.title || a.label), 1))
|
|
1235
1235
|
], 4),
|
|
1236
|
-
a.name && a.order.length && a.order[0] === a.name ? (
|
|
1236
|
+
a.name && a.order.length && a.order[0] === a.name ? (v(), D(_(Ye), {
|
|
1237
1237
|
key: 0,
|
|
1238
1238
|
class: ye(["head-cell-order", { "head-cell-order_down": a.order.length > 1 && a.order[1] === "desc" }])
|
|
1239
1239
|
}, {
|
|
@@ -1246,7 +1246,7 @@ const la = {
|
|
|
1246
1246
|
])
|
|
1247
1247
|
]));
|
|
1248
1248
|
}
|
|
1249
|
-
}), Ra = /* @__PURE__ */
|
|
1249
|
+
}), Ra = /* @__PURE__ */ G(Ia, [["__scopeId", "data-v-85ce2e65"]]), Oa = /* @__PURE__ */ x({
|
|
1250
1250
|
__name: "widget-list-head",
|
|
1251
1251
|
props: {
|
|
1252
1252
|
config: {},
|
|
@@ -1276,7 +1276,7 @@ const la = {
|
|
|
1276
1276
|
console.log(g);
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function w(h) {
|
|
1280
1280
|
try {
|
|
1281
1281
|
i.value.style.width = h + "px", i.value.style.minWidth = h + "px", i.value.style.maxWidth = h + "px";
|
|
1282
1282
|
} catch (g) {
|
|
@@ -1293,7 +1293,7 @@ const la = {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
const E = a.value, f = [...E.children].filter((ne) => ne.localName === "th"), b = ((nt = E.offsetParent) == null ? void 0 : nt.scrollLeft) || 0, y = f.map((ne) => ne.clientWidth), I = p(g.target), R = E.getBoundingClientRect().left, T = m(g), S = c(y, T), P = y.slice(0, S).reduce((ne, oe) => ne + oe, 0), B = T - P, z = E.offsetWidth, ve = f[S].clientWidth;
|
|
1295
1295
|
if (t.config[S].type === "multi-select") return;
|
|
1296
|
-
console.group("START"), console.log(), console.log("Start screenX", g.screenX), console.log("Widths", y), console.log("max width", z), console.log("Start Position", T), console.log("Position From", S), console.log("Start Position", S), console.log("Global offset (Отступ самой таблицы от края экрана)", R), console.log("Del", B), console.groupEnd(), i.value.innerText = f[S].textContent || "", i.value.style.display = "grid", i.value.style.width = ve + "px", i.value.style.cursor = "grabbing", u(P),
|
|
1296
|
+
console.group("START"), console.log(), console.log("Start screenX", g.screenX), console.log("Widths", y), console.log("max width", z), console.log("Start Position", T), console.log("Position From", S), console.log("Start Position", S), console.log("Global offset (Отступ самой таблицы от края экрана)", R), console.log("Del", B), console.groupEnd(), i.value.innerText = f[S].textContent || "", i.value.style.display = "grid", i.value.style.width = ve + "px", i.value.style.cursor = "grabbing", u(P), w(ve), document.addEventListener("pointermove", Ce, { passive: !0 }), document.addEventListener("pointerup", M);
|
|
1297
1297
|
function M(ne) {
|
|
1298
1298
|
if (console.group("END"), document.removeEventListener("pointermove", Ce), document.removeEventListener("pointerup", M), I && (t.config[S].width = i.value.style.width, t.config[S].minWidth = i.value.style.width, t.config[S].maxWidth = i.value.style.width, o(t.config)), !I) {
|
|
1299
1299
|
const oe = ne.screenX + b - R;
|
|
@@ -1312,7 +1312,7 @@ const la = {
|
|
|
1312
1312
|
function Ce(ne) {
|
|
1313
1313
|
if (I) {
|
|
1314
1314
|
const Re = m(ne) - T + ve;
|
|
1315
|
-
|
|
1315
|
+
w(Re);
|
|
1316
1316
|
return;
|
|
1317
1317
|
}
|
|
1318
1318
|
let oe = ne.screenX + b - R - B;
|
|
@@ -1336,12 +1336,12 @@ const la = {
|
|
|
1336
1336
|
function s(c) {
|
|
1337
1337
|
r("update:order", c);
|
|
1338
1338
|
}
|
|
1339
|
-
return (c, d) => (
|
|
1339
|
+
return (c, d) => (v(), A("tr", {
|
|
1340
1340
|
class: "widget-list-head",
|
|
1341
1341
|
ref_key: "refHead",
|
|
1342
1342
|
ref: a
|
|
1343
1343
|
}, [
|
|
1344
|
-
(
|
|
1344
|
+
(v(!0), A(ee, null, ae(c.config, (u, w) => (v(), D(Ra, ke({
|
|
1345
1345
|
key: u,
|
|
1346
1346
|
ref_for: !0
|
|
1347
1347
|
}, u, {
|
|
@@ -1356,7 +1356,7 @@ const la = {
|
|
|
1356
1356
|
}, "test", 512)
|
|
1357
1357
|
], 512));
|
|
1358
1358
|
}
|
|
1359
|
-
}), La = /* @__PURE__ */
|
|
1359
|
+
}), La = /* @__PURE__ */ G(Oa, [["__scopeId", "data-v-6173c14c"]]), $a = { class: "widget-list" }, Da = { class: "widget-list-body position_relative" }, xa = 50, al = /* @__PURE__ */ x({
|
|
1360
1360
|
__name: "widget-list",
|
|
1361
1361
|
props: {
|
|
1362
1362
|
array: {},
|
|
@@ -1389,7 +1389,7 @@ const la = {
|
|
|
1389
1389
|
const c = s.target;
|
|
1390
1390
|
c.scrollTop + c.clientHeight + xa > c.scrollHeight && r("scrollEnd");
|
|
1391
1391
|
}
|
|
1392
|
-
return (s, c) => (
|
|
1392
|
+
return (s, c) => (v(), A("div", {
|
|
1393
1393
|
class: "es-list-container",
|
|
1394
1394
|
onScrollPassive: l
|
|
1395
1395
|
}, [
|
|
@@ -1404,14 +1404,14 @@ const la = {
|
|
|
1404
1404
|
}, null, 8, ["config", "order"])
|
|
1405
1405
|
]),
|
|
1406
1406
|
C("tbody", Da, [
|
|
1407
|
-
(
|
|
1408
|
-
var
|
|
1409
|
-
return
|
|
1407
|
+
(v(!0), A(ee, null, ae(s.array, (d, u) => {
|
|
1408
|
+
var w;
|
|
1409
|
+
return v(), D(Ca, {
|
|
1410
1410
|
key: u,
|
|
1411
1411
|
class: "widget-list-row",
|
|
1412
1412
|
values: d,
|
|
1413
1413
|
config: s.config,
|
|
1414
|
-
selected: (
|
|
1414
|
+
selected: (w = s.selectedRows) == null ? void 0 : w.includes(d),
|
|
1415
1415
|
onSelect: (p) => a(d, p)
|
|
1416
1416
|
}, null, 8, ["values", "config", "selected", "onSelect"]);
|
|
1417
1417
|
}), 128))
|
|
@@ -1498,12 +1498,12 @@ const il = /* @__PURE__ */ x({
|
|
|
1498
1498
|
Tt();
|
|
1499
1499
|
const r = Yn(), a = k(() => {
|
|
1500
1500
|
var h, g, m;
|
|
1501
|
-
const u = n.fieldMetadata || l.value,
|
|
1502
|
-
type:
|
|
1501
|
+
const u = n.fieldMetadata || l.value, w = s(u), p = {
|
|
1502
|
+
type: w,
|
|
1503
1503
|
disabled: n.usageContext ? !((h = o.value) != null && h.canSet) : !1,
|
|
1504
1504
|
label: n.label
|
|
1505
1505
|
};
|
|
1506
|
-
return
|
|
1506
|
+
return w === "Decimal" && ((m = (g = u == null ? void 0 : u.presentationType) == null ? void 0 : g.toLowerCase) == null ? void 0 : m.call(g)) === "money" && (p.money = !0), u && Object.assign(p, {
|
|
1507
1507
|
valueUnit: u.valueUnit,
|
|
1508
1508
|
suffix: u.valueUnit || void 0,
|
|
1509
1509
|
// required: SINGLE_BOOLEAN_FIELDS.includes(type || "") ? false : fieldMetadata.required,
|
|
@@ -1535,7 +1535,7 @@ const il = /* @__PURE__ */ x({
|
|
|
1535
1535
|
var u;
|
|
1536
1536
|
return n.usageContext ? ((u = o.value) == null ? void 0 : u.canGet) === !0 : !0;
|
|
1537
1537
|
}), { controller: d } = En();
|
|
1538
|
-
return ge(() => c.value, (u) => u ? d.show() : d.hide(), { immediate: !0 }), yt(() => d.remove()), (u,
|
|
1538
|
+
return ge(() => c.value, (u) => u ? d.show() : d.hide(), { immediate: !0 }), yt(() => d.remove()), (u, w) => c.value ? (v(), D(_(ie), ke({ key: 0 }, { ...u.$attrs, ...a.value }, { name: u.name }), null, 16, ["name"])) : re("", !0);
|
|
1539
1539
|
}
|
|
1540
1540
|
});
|
|
1541
1541
|
function Fa(e) {
|
|
@@ -1549,7 +1549,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1549
1549
|
color: {}
|
|
1550
1550
|
},
|
|
1551
1551
|
setup(e) {
|
|
1552
|
-
return (n, t) => (
|
|
1552
|
+
return (n, t) => (v(), A("svg", {
|
|
1553
1553
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1554
1554
|
height: "24px",
|
|
1555
1555
|
viewBox: "0 -960 960 960",
|
|
@@ -1582,18 +1582,18 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1582
1582
|
}
|
|
1583
1583
|
return (o, l) => {
|
|
1584
1584
|
var s;
|
|
1585
|
-
return
|
|
1585
|
+
return v(), A("td", Ua, [
|
|
1586
1586
|
C("div", {
|
|
1587
1587
|
class: ye(["widget-head-cell", [o.type === "multi-select" ? "justify-content-center" : ""]]),
|
|
1588
1588
|
onClick: l[0] || (l[0] = (c) => o.$emit("order", o.name))
|
|
1589
1589
|
}, [
|
|
1590
|
-
o.type === "multi-select" ? (
|
|
1590
|
+
o.type === "multi-select" ? (v(), D(_(ie), {
|
|
1591
1591
|
key: 0,
|
|
1592
1592
|
"model-value": o.isFullSelected,
|
|
1593
1593
|
onClick: i,
|
|
1594
1594
|
type: "single-checkbox"
|
|
1595
|
-
}, null, 8, ["model-value"])) : (
|
|
1596
|
-
r.value === ((s = o.order) == null ? void 0 : s[0]) ? (
|
|
1595
|
+
}, null, 8, ["model-value"])) : (v(), A("span", Wa, K(o.label), 1)),
|
|
1596
|
+
r.value === ((s = o.order) == null ? void 0 : s[0]) ? (v(), A("div", Ba, [
|
|
1597
1597
|
V(ja, {
|
|
1598
1598
|
color: "var(--color-primary)",
|
|
1599
1599
|
class: ye(["widget-head-cell-order-icon", `widget-head-cell-order-icon_${o.order[1] === "desc" ? "desc" : "asc"}`])
|
|
@@ -1603,7 +1603,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1603
1603
|
]);
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
}), qa = /* @__PURE__ */
|
|
1606
|
+
}), qa = /* @__PURE__ */ G(Ha, [["__scopeId", "data-v-d0daf271"]]), Ga = ["fill"], Ka = /* @__PURE__ */ C("path", { d: "M480-361q-8 0-15-2.5t-13-8.5L268-556q-11-11-11-28t11-28q11-11 28-11t28 11l156 156 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L508-372q-6 6-13 8.5t-15 2.5Z" }, null, -1), za = [
|
|
1607
1607
|
Ka
|
|
1608
1608
|
], Ya = /* @__PURE__ */ x({
|
|
1609
1609
|
__name: "widget-icon-keyboard-arrow-down",
|
|
@@ -1611,7 +1611,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1611
1611
|
color: {}
|
|
1612
1612
|
},
|
|
1613
1613
|
setup(e) {
|
|
1614
|
-
return (n, t) => (
|
|
1614
|
+
return (n, t) => (v(), A("svg", {
|
|
1615
1615
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1616
1616
|
height: "24px",
|
|
1617
1617
|
viewBox: "0 -960 960 960",
|
|
@@ -1638,24 +1638,24 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1638
1638
|
}
|
|
1639
1639
|
const s = F(!1), c = k(() => Array.isArray(t.values) || typeof t.values == "string" ? t.values.length > 0 : !!t.values), d = F(!1);
|
|
1640
1640
|
let u = null;
|
|
1641
|
-
function
|
|
1642
|
-
d.value = p, !d.value && u ? (u(), u = null) : i.value && (u = se.clickOutside(i.value,
|
|
1641
|
+
function w(p = !d.value) {
|
|
1642
|
+
d.value = p, !d.value && u ? (u(), u = null) : i.value && (u = se.clickOutside(i.value, w.bind(null, !1)));
|
|
1643
1643
|
}
|
|
1644
1644
|
return (p, h) => {
|
|
1645
1645
|
var g;
|
|
1646
|
-
return
|
|
1646
|
+
return v(), A("div", {
|
|
1647
1647
|
class: "widget-filter-item-container grid",
|
|
1648
1648
|
ref_key: "refFilterItem",
|
|
1649
1649
|
ref: i
|
|
1650
1650
|
}, [
|
|
1651
1651
|
C("div", {
|
|
1652
1652
|
class: ye(["widget-filter-item", { "widget-filter-item_active": c.value }]),
|
|
1653
|
-
onClick: h[0] || (h[0] = () =>
|
|
1653
|
+
onClick: h[0] || (h[0] = () => w())
|
|
1654
1654
|
}, [
|
|
1655
1655
|
C("span", {
|
|
1656
1656
|
class: ye(["widget-filter-item-label", { "widget-filter-item-label_active": c.value }])
|
|
1657
|
-
},
|
|
1658
|
-
s.value ? (
|
|
1657
|
+
}, K(_(H)(p.filterItem.label)), 3),
|
|
1658
|
+
s.value ? (v(), D(_t, { key: 0 })) : (v(), D(Ya, {
|
|
1659
1659
|
key: 1,
|
|
1660
1660
|
color: "white",
|
|
1661
1661
|
class: ye({ "widget-filter-item-arrow": d.value })
|
|
@@ -1665,7 +1665,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1665
1665
|
class: "widget-filter-item-popup",
|
|
1666
1666
|
type: o.value
|
|
1667
1667
|
}, [
|
|
1668
|
-
o.value ? (
|
|
1668
|
+
o.value ? (v(), D(ht((g = _(a)) == null ? void 0 : g[o.value]), {
|
|
1669
1669
|
key: 0,
|
|
1670
1670
|
"filter-metadata": p.filterItem,
|
|
1671
1671
|
values: p.values,
|
|
@@ -1681,7 +1681,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1681
1681
|
], 512);
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
|
-
}), Qa = /* @__PURE__ */
|
|
1684
|
+
}), Qa = /* @__PURE__ */ G(Ja, [["__scopeId", "data-v-f2c87c2f"]]), Za = { class: "widget-table-search flex" }, ei = ["value", "placeholder"], ti = /* @__PURE__ */ x({
|
|
1685
1685
|
__name: "widget-table-search",
|
|
1686
1686
|
props: {
|
|
1687
1687
|
modelValue: {}
|
|
@@ -1695,7 +1695,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1695
1695
|
const o = i.value;
|
|
1696
1696
|
t("update:modelValue", o);
|
|
1697
1697
|
}
|
|
1698
|
-
return (a, i) => (
|
|
1698
|
+
return (a, i) => (v(), A("div", Za, [
|
|
1699
1699
|
V(Ye, { class: "widget-table-search-icon" }, {
|
|
1700
1700
|
default: X(() => [
|
|
1701
1701
|
Se("search")
|
|
@@ -1708,11 +1708,11 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1708
1708
|
alt: "Searching for data in a table",
|
|
1709
1709
|
value: a.modelValue,
|
|
1710
1710
|
onInput: r,
|
|
1711
|
-
placeholder: _(
|
|
1711
|
+
placeholder: _(H)("Filter by random text")
|
|
1712
1712
|
}, null, 40, ei)
|
|
1713
1713
|
]));
|
|
1714
1714
|
}
|
|
1715
|
-
}), ni = /* @__PURE__ */
|
|
1715
|
+
}), ni = /* @__PURE__ */ G(ti, [["__scopeId", "data-v-1e3cb116"]]), ri = { class: "widget-table-panel-filter flex" }, ai = { class: "flex" }, ii = /* @__PURE__ */ x({
|
|
1716
1716
|
__name: "widget-table-panel-filters",
|
|
1717
1717
|
props: {
|
|
1718
1718
|
filtersConfig: {},
|
|
@@ -1735,15 +1735,15 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1735
1735
|
};
|
|
1736
1736
|
delete l[o], r("update:filters", l);
|
|
1737
1737
|
}
|
|
1738
|
-
return (o, l) => (
|
|
1738
|
+
return (o, l) => (v(), A("div", ri, [
|
|
1739
1739
|
V(ni, {
|
|
1740
1740
|
"model-value": o.search,
|
|
1741
1741
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => r("update:search", s))
|
|
1742
1742
|
}, null, 8, ["model-value"]),
|
|
1743
1743
|
C("div", ai, [
|
|
1744
|
-
(
|
|
1744
|
+
(v(!0), A(ee, null, ae(o.filtersConfig, (s, c) => {
|
|
1745
1745
|
var d;
|
|
1746
|
-
return
|
|
1746
|
+
return v(), D(Qa, {
|
|
1747
1747
|
key: c,
|
|
1748
1748
|
entity: o.entity,
|
|
1749
1749
|
"filter-item": s,
|
|
@@ -1756,7 +1756,7 @@ const Pa = ["fill"], Va = /* @__PURE__ */ C("path", { d: "M440-647 244-451q-12 1
|
|
|
1756
1756
|
])
|
|
1757
1757
|
]));
|
|
1758
1758
|
}
|
|
1759
|
-
}), si = /* @__PURE__ */
|
|
1759
|
+
}), si = /* @__PURE__ */ G(ii, [["__scopeId", "data-v-922a8760"]]);
|
|
1760
1760
|
function Tn(e, n) {
|
|
1761
1761
|
const t = document.createElement("a");
|
|
1762
1762
|
t.href = e, n != null && n.blank && (t.target = "_blank"), t.dispatchEvent(
|
|
@@ -1862,7 +1862,7 @@ const li = { class: "widget-fast-table-tools flex gap-15" }, ci = /* @__PURE__ *
|
|
|
1862
1862
|
label: g.label || "Batch update",
|
|
1863
1863
|
callback: async () => {
|
|
1864
1864
|
const m = t.metadata, E = m.name, f = t.selectedRows || [];
|
|
1865
|
-
if (t.selectedRows.length === 0) return pt.add("error",
|
|
1865
|
+
if (t.selectedRows.length === 0) return pt.add("error", H("Kindly select at least one record to update"));
|
|
1866
1866
|
const b = await ze(O.MODAL_BATCH_VALUES, {
|
|
1867
1867
|
entity: E,
|
|
1868
1868
|
availableFields: g.availableFields || []
|
|
@@ -1889,7 +1889,7 @@ const li = { class: "widget-fast-table-tools flex gap-15" }, ci = /* @__PURE__ *
|
|
|
1889
1889
|
callback: () => r.push(g.to)
|
|
1890
1890
|
};
|
|
1891
1891
|
}
|
|
1892
|
-
function
|
|
1892
|
+
function w(g) {
|
|
1893
1893
|
return {
|
|
1894
1894
|
...g,
|
|
1895
1895
|
callback: () => {
|
|
@@ -1918,7 +1918,7 @@ const li = { class: "widget-fast-table-tools flex gap-15" }, ci = /* @__PURE__ *
|
|
|
1918
1918
|
if (f.name === "redirect") return m.push(u(f));
|
|
1919
1919
|
if (f.name === "batch-update") return m.push(d(f));
|
|
1920
1920
|
if (f.name === "batch-delete" && t.metadata.canDelete) return m.push(c(f));
|
|
1921
|
-
if (f.name === "static-file") return m.push(
|
|
1921
|
+
if (f.name === "static-file") return m.push(w(f));
|
|
1922
1922
|
{
|
|
1923
1923
|
const b = g.find((y) => y.name === f.name);
|
|
1924
1924
|
if (b)
|
|
@@ -1945,9 +1945,9 @@ const li = { class: "widget-fast-table-tools flex gap-15" }, ci = /* @__PURE__ *
|
|
|
1945
1945
|
}
|
|
1946
1946
|
return (g, m) => {
|
|
1947
1947
|
const E = J("widget-button");
|
|
1948
|
-
return
|
|
1949
|
-
(
|
|
1950
|
-
label: _(
|
|
1948
|
+
return v(), A("div", li, [
|
|
1949
|
+
(v(!0), A(ee, null, ae(p.value, (f) => (v(), D(E, {
|
|
1950
|
+
label: _(H)(f.label),
|
|
1951
1951
|
title: f.name,
|
|
1952
1952
|
icon: f.icon,
|
|
1953
1953
|
type: f.buttonStyle,
|
|
@@ -1996,7 +1996,7 @@ function ui(e, n) {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
const u = k(
|
|
1998
1998
|
() => i.entity ? JSON.parse(t[d(i.entity, a.value)] || "{}") : null
|
|
1999
|
-
),
|
|
1999
|
+
), w = k(
|
|
2000
2000
|
() => i.settings ? fn(i.entity, i.settings.config, {
|
|
2001
2001
|
router: r,
|
|
2002
2002
|
activate: e
|
|
@@ -2056,7 +2056,7 @@ function ui(e, n) {
|
|
|
2056
2056
|
clean() {
|
|
2057
2057
|
localStorage.removeItem(d(i.entity, a.value)), n && n();
|
|
2058
2058
|
},
|
|
2059
|
-
cellConfiguration:
|
|
2059
|
+
cellConfiguration: w,
|
|
2060
2060
|
computedLabel: E,
|
|
2061
2061
|
computedTools: f,
|
|
2062
2062
|
computedHasLocalConfiguration: b,
|
|
@@ -2159,7 +2159,7 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2159
2159
|
r("update:selectedRows", U);
|
|
2160
2160
|
}
|
|
2161
2161
|
const d = F(null), u = k(() => d.value ? g.value.indexOf(d.value[2]) : null);
|
|
2162
|
-
function
|
|
2162
|
+
function w(L, U, ue) {
|
|
2163
2163
|
d.value = [L, U, ue];
|
|
2164
2164
|
}
|
|
2165
2165
|
const p = new di(a.entity), h = F(""), g = k(
|
|
@@ -2204,7 +2204,7 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2204
2204
|
L.name === a.entity && R.call();
|
|
2205
2205
|
}),
|
|
2206
2206
|
Qe.on("display-entity", async (L) => {
|
|
2207
|
-
L.name === a.entity && (p.loading && await p.process.promise,
|
|
2207
|
+
L.name === a.entity && (p.loading && await p.process.promise, w(L.name, L.primaryKey, g.value.find((U) => U[b.value] === L.primaryKey)));
|
|
2208
2208
|
})
|
|
2209
2209
|
];
|
|
2210
2210
|
yt(() => {
|
|
@@ -2224,7 +2224,7 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2224
2224
|
[L]: U
|
|
2225
2225
|
});
|
|
2226
2226
|
}
|
|
2227
|
-
const ve = k(() => R.wait), M = ui(
|
|
2227
|
+
const ve = k(() => R.wait), M = ui(w, () => {
|
|
2228
2228
|
p.init({
|
|
2229
2229
|
customFilters: M.customFilters,
|
|
2230
2230
|
fields: $n(Ce.value).join(" "),
|
|
@@ -2282,14 +2282,14 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2282
2282
|
}), (L, U) => {
|
|
2283
2283
|
var me, Bt, Ht;
|
|
2284
2284
|
const ue = J("widget-button"), Pe = J("widget-fast-table-form");
|
|
2285
|
-
return
|
|
2285
|
+
return v(), A("div", {
|
|
2286
2286
|
class: "widget-fast-table",
|
|
2287
2287
|
count: s.value.length,
|
|
2288
2288
|
test: d.value
|
|
2289
2289
|
}, [
|
|
2290
2290
|
C("div", mi, [
|
|
2291
|
-
_(M).computedLabel.value && !L.hideLabel ? (
|
|
2292
|
-
_(f) && !L.hideActions ? (
|
|
2291
|
+
_(M).computedLabel.value && !L.hideLabel ? (v(), A("p", hi, K(_(H)(_(M).computedLabel.value)), 1)) : re("", !0),
|
|
2292
|
+
_(f) && !L.hideActions ? (v(), D(ci, {
|
|
2293
2293
|
key: 1,
|
|
2294
2294
|
metadata: _(f),
|
|
2295
2295
|
tools: _(M).computedTools.value,
|
|
@@ -2305,11 +2305,11 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2305
2305
|
}, {
|
|
2306
2306
|
default: X(() => [
|
|
2307
2307
|
et(L.$slots, "tools", {}, void 0, !0),
|
|
2308
|
-
_(M).computedHasLocalConfiguration.value ? (
|
|
2308
|
+
_(M).computedHasLocalConfiguration.value ? (v(), D(ue, {
|
|
2309
2309
|
key: 0,
|
|
2310
2310
|
onClick: Ne,
|
|
2311
2311
|
type: "primary",
|
|
2312
|
-
label: _(
|
|
2312
|
+
label: _(H)("Clear all filters")
|
|
2313
2313
|
}, null, 8, ["label"])) : re("", !0)
|
|
2314
2314
|
]),
|
|
2315
2315
|
_: 3
|
|
@@ -2338,7 +2338,7 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2338
2338
|
"head-cell": X((de) => {
|
|
2339
2339
|
var Be, qt, Gt;
|
|
2340
2340
|
return [
|
|
2341
|
-
(
|
|
2341
|
+
(v(), D(ht(L.$slots["head-cell"] ? L.$slots["head-cell"] : qa), ke({
|
|
2342
2342
|
label: de.label
|
|
2343
2343
|
}, de, {
|
|
2344
2344
|
onOrder: B,
|
|
@@ -2375,7 +2375,7 @@ const gi = ["count", "test"], mi = { class: "widget-fast-table-head" }, hi = {
|
|
|
2375
2375
|
], 8, gi);
|
|
2376
2376
|
};
|
|
2377
2377
|
}
|
|
2378
|
-
}), wi = /* @__PURE__ */
|
|
2378
|
+
}), wi = /* @__PURE__ */ G(vi, [["__scopeId", "data-v-32a9cbb4"]]);
|
|
2379
2379
|
function bi(e, n = {}, t = {}) {
|
|
2380
2380
|
const r = De(O.PROVIDE_NAME_ACTIONS, null), a = typeof e == "string" ? e : n, i = typeof n == "string" ? t : n;
|
|
2381
2381
|
return k(() => {
|
|
@@ -2401,9 +2401,9 @@ const sl = /* @__PURE__ */ x({
|
|
|
2401
2401
|
return (a, i) => {
|
|
2402
2402
|
var l;
|
|
2403
2403
|
const o = J("widget-button");
|
|
2404
|
-
return _(t) ? (
|
|
2404
|
+
return _(t) ? (v(), D(o, {
|
|
2405
2405
|
key: 0,
|
|
2406
|
-
label: _(
|
|
2406
|
+
label: _(H)(_(t).label),
|
|
2407
2407
|
loading: ((l = r.value) == null ? void 0 : l.loading) || !1,
|
|
2408
2408
|
onClick: i[0] || (i[0] = () => {
|
|
2409
2409
|
var s, c;
|
|
@@ -2422,7 +2422,7 @@ const sl = /* @__PURE__ */ x({
|
|
|
2422
2422
|
Y("error")(o), n.back();
|
|
2423
2423
|
});
|
|
2424
2424
|
}
|
|
2425
|
-
return Te(r), (a, i) => (
|
|
2425
|
+
return Te(r), (a, i) => (v(), A("div", null, [
|
|
2426
2426
|
V(Vt, { label: "Loading..." })
|
|
2427
2427
|
]));
|
|
2428
2428
|
}
|
|
@@ -2462,11 +2462,11 @@ const sl = /* @__PURE__ */ x({
|
|
|
2462
2462
|
await Z.initEntity(t.entity), i.value = await ho(t.entity, t.modelValue);
|
|
2463
2463
|
}), l = _e(async () => {
|
|
2464
2464
|
if (!t.modelValue || !Array.isArray(t.modelValue)) return i.value = "";
|
|
2465
|
-
const u = await Z.initEntity(t.entity),
|
|
2465
|
+
const u = await Z.initEntity(t.entity), w = await Ee(t.entity, {
|
|
2466
2466
|
fields: u.fieldNameForLabel,
|
|
2467
2467
|
filter: N.in(u.fieldNameForIdentification, t.modelValue)
|
|
2468
2468
|
});
|
|
2469
|
-
i.value =
|
|
2469
|
+
i.value = w.map((p) => p[u.fieldNameForLabel]).join(", ");
|
|
2470
2470
|
});
|
|
2471
2471
|
ge(() => t.modelValue, t.multiple ? l.call : o.call, { immediate: !0 });
|
|
2472
2472
|
const s = k(() => t.multiple ? !Array.isArray(t.modelValue) || t.modelValue.length === 0 : !t.modelValue);
|
|
@@ -2477,9 +2477,9 @@ const sl = /* @__PURE__ */ x({
|
|
|
2477
2477
|
function d(u) {
|
|
2478
2478
|
r("update:modelValue", u);
|
|
2479
2479
|
}
|
|
2480
|
-
return (u,
|
|
2480
|
+
return (u, w) => {
|
|
2481
2481
|
const p = J("widget-button"), h = J("field-wrap");
|
|
2482
|
-
return
|
|
2482
|
+
return v(), D(h, ke({ ...u.$props, ...u.$attrs }, { onRevert: d }), {
|
|
2483
2483
|
default: X(() => [
|
|
2484
2484
|
C("div", _i, [
|
|
2485
2485
|
C("div", {
|
|
@@ -2488,8 +2488,8 @@ const sl = /* @__PURE__ */ x({
|
|
|
2488
2488
|
"input-wrapper_disabled": u.disabled,
|
|
2489
2489
|
"container-reference_error": u.error
|
|
2490
2490
|
}])
|
|
2491
|
-
},
|
|
2492
|
-
u.disabled ? re("", !0) : (
|
|
2491
|
+
}, K(i.value), 3),
|
|
2492
|
+
u.disabled ? re("", !0) : (v(), D(p, {
|
|
2493
2493
|
key: 0,
|
|
2494
2494
|
loading: _(o).loading,
|
|
2495
2495
|
onClick: c,
|
|
@@ -2501,7 +2501,7 @@ const sl = /* @__PURE__ */ x({
|
|
|
2501
2501
|
}, 16);
|
|
2502
2502
|
};
|
|
2503
2503
|
}
|
|
2504
|
-
}), ll = /* @__PURE__ */
|
|
2504
|
+
}), ll = /* @__PURE__ */ G(Ei, [["__scopeId", "data-v-fe22c31f"]]), cl = /* @__PURE__ */ x({
|
|
2505
2505
|
__name: "modal-list-download",
|
|
2506
2506
|
props: {
|
|
2507
2507
|
entity: {},
|
|
@@ -2523,15 +2523,15 @@ const sl = /* @__PURE__ */ x({
|
|
|
2523
2523
|
a(), Jt();
|
|
2524
2524
|
}), (s, c) => {
|
|
2525
2525
|
const d = J("widget-button"), u = J("widget-modal-wrap");
|
|
2526
|
-
return
|
|
2526
|
+
return v(), D(u, null, {
|
|
2527
2527
|
footer: X(() => [
|
|
2528
2528
|
V(d, {
|
|
2529
|
-
onClick: c[0] || (c[0] = (
|
|
2529
|
+
onClick: c[0] || (c[0] = (w) => {
|
|
2530
2530
|
_(a)(), _(Jt)();
|
|
2531
2531
|
})
|
|
2532
2532
|
}, {
|
|
2533
2533
|
default: X(() => [
|
|
2534
|
-
Se(
|
|
2534
|
+
Se(K(t.value), 1)
|
|
2535
2535
|
]),
|
|
2536
2536
|
_: 1
|
|
2537
2537
|
})
|
|
@@ -2566,29 +2566,29 @@ const sl = /* @__PURE__ */ x({
|
|
|
2566
2566
|
(i) => Array.isArray(n.selectedFields) && n.selectedFields.length !== 0 ? n.selectedFields.includes(i.name) : !0
|
|
2567
2567
|
)
|
|
2568
2568
|
);
|
|
2569
|
-
return (i, o) => (
|
|
2569
|
+
return (i, o) => (v(), A("div", Ti, [
|
|
2570
2570
|
C("span", Ci, [
|
|
2571
|
-
C("b", null,
|
|
2571
|
+
C("b", null, K(i.version), 1)
|
|
2572
2572
|
]),
|
|
2573
2573
|
C("span", Ai, [
|
|
2574
|
-
C("b", null,
|
|
2574
|
+
C("b", null, K(_(In)(i.date)), 1)
|
|
2575
2575
|
]),
|
|
2576
2576
|
ki,
|
|
2577
2577
|
C("span", null, [
|
|
2578
2578
|
Se("by "),
|
|
2579
|
-
C("b", null,
|
|
2579
|
+
C("b", null, K(i.customerName), 1)
|
|
2580
2580
|
]),
|
|
2581
|
-
(
|
|
2581
|
+
(v(!0), A(ee, null, ae(a.value, (l) => (v(), A(ee, {
|
|
2582
2582
|
key: l.name
|
|
2583
2583
|
}, [
|
|
2584
2584
|
Si,
|
|
2585
|
-
C("span", Ii,
|
|
2586
|
-
C("span", Ri,
|
|
2587
|
-
C("span", Oi,
|
|
2585
|
+
C("span", Ii, K(l.name), 1),
|
|
2586
|
+
C("span", Ri, K(_(sn)(i.entity, l.name, l.newValue)), 1),
|
|
2587
|
+
C("span", Oi, K(_(sn)(i.entity, l.name, l.oldValue)), 1)
|
|
2588
2588
|
], 64))), 128))
|
|
2589
2589
|
]));
|
|
2590
2590
|
}
|
|
2591
|
-
}), $i = /* @__PURE__ */
|
|
2591
|
+
}), $i = /* @__PURE__ */ G(Li, [["__scopeId", "data-v-ff2e9ee6"]]), Mt = (e) => (Nt("data-v-e97e099b"), e = e(), Ft(), e), Di = {
|
|
2592
2592
|
key: 1,
|
|
2593
2593
|
class: "wrap-history"
|
|
2594
2594
|
}, xi = { class: "history-header grid gap_10" }, Ni = /* @__PURE__ */ Mt(() => /* @__PURE__ */ C("span", null, null, -1)), Fi = /* @__PURE__ */ Mt(() => /* @__PURE__ */ C("span", { class: "text_md" }, "New Value", -1)), Pi = /* @__PURE__ */ Mt(() => /* @__PURE__ */ C("span", { class: "text_md" }, "Old Value", -1)), Vi = { class: "padding_15 grid gap_10 container-history" }, Mi = /* @__PURE__ */ x({
|
|
@@ -2599,8 +2599,8 @@ const sl = /* @__PURE__ */ x({
|
|
|
2599
2599
|
},
|
|
2600
2600
|
setup(e) {
|
|
2601
2601
|
const n = e, t = k(() => `${o.value.description} Version History`), r = F(), a = k(() => !s.value || Array.isArray(s.value) && s.value.length === 0 ? r.value : (r.value || []).filter((u) => {
|
|
2602
|
-
var
|
|
2603
|
-
return u.action === "Insert" ? !0 : (
|
|
2602
|
+
var w;
|
|
2603
|
+
return u.action === "Insert" ? !0 : (w = u.changes) == null ? void 0 : w.find((p) => s.value && s.value.includes(p.name));
|
|
2604
2604
|
})), i = _e(c), o = Tt(n.entity), l = k(() => o.value.fields.map((u) => ({
|
|
2605
2605
|
label: u.displayName,
|
|
2606
2606
|
value: u.name
|
|
@@ -2618,33 +2618,33 @@ const sl = /* @__PURE__ */ x({
|
|
|
2618
2618
|
}
|
|
2619
2619
|
Te(() => i.call());
|
|
2620
2620
|
function d(u) {
|
|
2621
|
-
return u.currentValues.map((
|
|
2621
|
+
return u.currentValues.map((w) => ({ name: w.fieldName, newValue: w.value })).filter((w) => w.newValue);
|
|
2622
2622
|
}
|
|
2623
|
-
return (u,
|
|
2623
|
+
return (u, w) => {
|
|
2624
2624
|
const p = J("widget-modal-wrap");
|
|
2625
|
-
return
|
|
2625
|
+
return v(), D(p, {
|
|
2626
2626
|
label: t.value,
|
|
2627
2627
|
class: "wrap-modal-version-history"
|
|
2628
2628
|
}, {
|
|
2629
2629
|
default: X(() => [
|
|
2630
|
-
_(i).loading ? (
|
|
2630
|
+
_(i).loading ? (v(), D(_(Vt), {
|
|
2631
2631
|
key: 0,
|
|
2632
2632
|
label: "Loading history..."
|
|
2633
|
-
})) : (
|
|
2633
|
+
})) : (v(), A("div", Di, [
|
|
2634
2634
|
C("div", xi, [
|
|
2635
2635
|
Ni,
|
|
2636
2636
|
V(_(ie), {
|
|
2637
2637
|
type: "select",
|
|
2638
2638
|
options: l.value,
|
|
2639
2639
|
modelValue: s.value,
|
|
2640
|
-
"onUpdate:modelValue":
|
|
2640
|
+
"onUpdate:modelValue": w[0] || (w[0] = (h) => s.value = h),
|
|
2641
2641
|
multiple: ""
|
|
2642
2642
|
}, null, 8, ["options", "modelValue"]),
|
|
2643
2643
|
Fi,
|
|
2644
2644
|
Pi
|
|
2645
2645
|
]),
|
|
2646
2646
|
C("div", Vi, [
|
|
2647
|
-
(
|
|
2647
|
+
(v(!0), A(ee, null, ae(a.value, (h, g) => (v(), D($i, {
|
|
2648
2648
|
"selected-fields": s.value,
|
|
2649
2649
|
date: h.utcCreated,
|
|
2650
2650
|
"customer-name": h.userName,
|
|
@@ -2660,7 +2660,7 @@ const sl = /* @__PURE__ */ x({
|
|
|
2660
2660
|
}, 8, ["label"]);
|
|
2661
2661
|
};
|
|
2662
2662
|
}
|
|
2663
|
-
}), ul = /* @__PURE__ */
|
|
2663
|
+
}), ul = /* @__PURE__ */ G(Mi, [["__scopeId", "data-v-e97e099b"]]);
|
|
2664
2664
|
class An {
|
|
2665
2665
|
constructor(n) {
|
|
2666
2666
|
this.primaryField = n;
|
|
@@ -2698,13 +2698,13 @@ const Wi = /* @__PURE__ */ x({
|
|
|
2698
2698
|
}
|
|
2699
2699
|
return (s, c) => {
|
|
2700
2700
|
const d = J("widget-button"), u = J("widget-modal-wrap");
|
|
2701
|
-
return
|
|
2702
|
-
label: _(
|
|
2701
|
+
return v(), D(u, {
|
|
2702
|
+
label: _(H)("Select Element")
|
|
2703
2703
|
}, {
|
|
2704
2704
|
footer: X(() => [
|
|
2705
2705
|
V(d, { onClick: o }, {
|
|
2706
2706
|
default: X(() => [
|
|
2707
|
-
Se(
|
|
2707
|
+
Se(K(_(H)("Select")), 1)
|
|
2708
2708
|
]),
|
|
2709
2709
|
_: 1
|
|
2710
2710
|
})
|
|
@@ -2725,7 +2725,7 @@ const Wi = /* @__PURE__ */ x({
|
|
|
2725
2725
|
}, 8, ["label"]);
|
|
2726
2726
|
};
|
|
2727
2727
|
}
|
|
2728
|
-
}), dl = /* @__PURE__ */
|
|
2728
|
+
}), dl = /* @__PURE__ */ G(Wi, [["__scopeId", "data-v-086b9594"]]), gt = class gt {
|
|
2729
2729
|
/**
|
|
2730
2730
|
* @description
|
|
2731
2731
|
* @param eventName Название события.
|
|
@@ -3121,13 +3121,13 @@ function ds(e, n) {
|
|
|
3121
3121
|
tool: n
|
|
3122
3122
|
}), !fs(l)) throw new Error("It is impossible to process the result of calls.");
|
|
3123
3123
|
if (Array.isArray(e.handlers))
|
|
3124
|
-
for await (const
|
|
3125
|
-
await
|
|
3124
|
+
for await (const w of e.handlers)
|
|
3125
|
+
await w(n, l, e);
|
|
3126
3126
|
if (!l.success)
|
|
3127
3127
|
throw e.handleValidationResult && l.validationEffect && ((c = (s = l.validationEffect) == null ? void 0 : s.results) != null && c.length) && e.handleValidationResult(n, l.validationEffect, e), new Error(l.message);
|
|
3128
|
-
return n.showValidationResults && e.handleValidationResult && l.validationEffect && (u = (d = l.validationEffect) == null ? void 0 : d.results) != null && u.length && e.handleValidationResult(n, l.validationEffect, e), l.message && pt.add("info", l.message), Array.isArray(l.affectedEntities) && e.handleAffectedEntity && l.affectedEntities.forEach((
|
|
3128
|
+
return n.showValidationResults && e.handleValidationResult && l.validationEffect && (u = (d = l.validationEffect) == null ? void 0 : d.results) != null && u.length && e.handleValidationResult(n, l.validationEffect, e), l.message && pt.add("info", l.message), Array.isArray(l.affectedEntities) && e.handleAffectedEntity && l.affectedEntities.forEach((w) => {
|
|
3129
3129
|
var p;
|
|
3130
|
-
return (p = e.handleAffectedEntity) == null ? void 0 : p.call(e, n,
|
|
3130
|
+
return (p = e.handleAffectedEntity) == null ? void 0 : p.call(e, n, w, e);
|
|
3131
3131
|
}), n.closeHostForm && e.handleCloseForm && e.handleCloseForm(n, e), l;
|
|
3132
3132
|
}).catch((l) => {
|
|
3133
3133
|
if (Y("error")(l), e.handleReject) return e.handleReject(n, l, e);
|
|
@@ -3196,7 +3196,7 @@ function vs(e, n) {
|
|
|
3196
3196
|
});
|
|
3197
3197
|
}
|
|
3198
3198
|
let Oe = {};
|
|
3199
|
-
function
|
|
3199
|
+
function H(e, ...n) {
|
|
3200
3200
|
if (typeof e != "string")
|
|
3201
3201
|
return console.trace(`Label is not provided for translation: ${e}`), "undefined";
|
|
3202
3202
|
let t = se.getPropFromObject((this == null ? void 0 : this.vocabulary) || Oe, e);
|
|
@@ -3209,24 +3209,24 @@ function on(e, n) {
|
|
|
3209
3209
|
e = e.replaceAll(new RegExp(`\\{${r}}`, "g"), t);
|
|
3210
3210
|
}), e;
|
|
3211
3211
|
}
|
|
3212
|
-
|
|
3212
|
+
H.setGlobalVocabulary = function(e) {
|
|
3213
3213
|
Oe = e;
|
|
3214
3214
|
};
|
|
3215
|
-
|
|
3215
|
+
H.getScope = function(e) {
|
|
3216
3216
|
const n = typeof e == "string" ? e : "root";
|
|
3217
|
-
return typeof e != "string" && console.warn(`SCOPE ${e} for translate is not string.`),
|
|
3217
|
+
return typeof e != "string" && console.warn(`SCOPE ${e} for translate is not string.`), H.bind({
|
|
3218
3218
|
vocabulary: se.getPropFromObject(Oe, n.toLowerCase())
|
|
3219
3219
|
});
|
|
3220
3220
|
};
|
|
3221
|
-
|
|
3222
|
-
return typeof e == "string" && (e = se.getPropFromObject(Oe, e)),
|
|
3221
|
+
H.setVocabulary = function(e) {
|
|
3222
|
+
return typeof e == "string" && (e = se.getPropFromObject(Oe, e)), H.bind({
|
|
3223
3223
|
vocabulary: e
|
|
3224
3224
|
});
|
|
3225
3225
|
};
|
|
3226
3226
|
function ws(e) {
|
|
3227
3227
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3228
3228
|
}
|
|
3229
|
-
var Lt = { exports: {} },
|
|
3229
|
+
var Lt = { exports: {} }, q = {}, $t = { exports: {} }, xe = {};
|
|
3230
3230
|
function Dn() {
|
|
3231
3231
|
var e = {};
|
|
3232
3232
|
return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
|
|
@@ -3275,9 +3275,9 @@ function As(e, n) {
|
|
|
3275
3275
|
if (!r) {
|
|
3276
3276
|
var d = He.trim(e.slice(a, i)), u = d.indexOf(":");
|
|
3277
3277
|
if (u !== -1) {
|
|
3278
|
-
var
|
|
3279
|
-
if (
|
|
3280
|
-
var h = n(a, o.length,
|
|
3278
|
+
var w = He.trim(d.slice(0, u)), p = He.trim(d.slice(u + 1));
|
|
3279
|
+
if (w) {
|
|
3280
|
+
var h = n(a, o.length, w, p, d);
|
|
3281
3281
|
h && (o += h + "; ");
|
|
3282
3282
|
}
|
|
3283
3283
|
}
|
|
@@ -3310,13 +3310,13 @@ function xn(e) {
|
|
|
3310
3310
|
}
|
|
3311
3311
|
xn.prototype.process = function(e) {
|
|
3312
3312
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
3313
|
-
var n = this, t = n.options, r = t.whiteList, a = t.onAttr, i = t.onIgnoreAttr, o = t.safeAttrValue, l = Ss(e, function(s, c, d, u,
|
|
3313
|
+
var n = this, t = n.options, r = t.whiteList, a = t.onAttr, i = t.onIgnoreAttr, o = t.safeAttrValue, l = Ss(e, function(s, c, d, u, w) {
|
|
3314
3314
|
var p = r[d], h = !1;
|
|
3315
3315
|
if (p === !0 ? h = p : typeof p == "function" ? h = p(u) : p instanceof RegExp && (h = p.test(u)), h !== !0 && (h = !1), u = o(d, u), !!u) {
|
|
3316
3316
|
var g = {
|
|
3317
3317
|
position: c,
|
|
3318
3318
|
sourcePosition: s,
|
|
3319
|
-
source:
|
|
3319
|
+
source: w,
|
|
3320
3320
|
isWhite: h
|
|
3321
3321
|
};
|
|
3322
3322
|
if (h) {
|
|
@@ -3567,28 +3567,28 @@ function Ks(e) {
|
|
|
3567
3567
|
return r === 127 ? !1 : r <= 31 ? r === 10 || r === 13 : !0;
|
|
3568
3568
|
}), n.join("");
|
|
3569
3569
|
}
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3570
|
+
q.whiteList = Nn();
|
|
3571
|
+
q.getDefaultWhiteList = Nn;
|
|
3572
|
+
q.onTag = $s;
|
|
3573
|
+
q.onIgnoreTag = Ds;
|
|
3574
|
+
q.onTagAttr = xs;
|
|
3575
|
+
q.onIgnoreTagAttr = Ns;
|
|
3576
|
+
q.safeAttrValue = Fs;
|
|
3577
|
+
q.escapeHtml = Pn;
|
|
3578
|
+
q.escapeQuote = Vn;
|
|
3579
|
+
q.unescapeQuote = Mn;
|
|
3580
|
+
q.escapeHtmlEntities = jn;
|
|
3581
|
+
q.escapeDangerHtml5Entities = Un;
|
|
3582
|
+
q.clearNonPrintableCharacter = Wn;
|
|
3583
|
+
q.friendlyAttrValue = Bn;
|
|
3584
|
+
q.escapeAttrValue = Hn;
|
|
3585
|
+
q.onIgnoreTagStripAll = Hs;
|
|
3586
|
+
q.StripTagBody = qs;
|
|
3587
|
+
q.stripCommentTag = Gs;
|
|
3588
|
+
q.stripBlankChar = Ks;
|
|
3589
|
+
q.attributeWrapSign = '"';
|
|
3590
|
+
q.cssFilter = Fn;
|
|
3591
|
+
q.getDefaultCSSWhiteList = Ls;
|
|
3592
3592
|
var Et = {}, Ae = Ut;
|
|
3593
3593
|
function zs(e) {
|
|
3594
3594
|
var n = Ae.spaceIndex(e), t;
|
|
@@ -3622,12 +3622,12 @@ function Xs(e, n, t) {
|
|
|
3622
3622
|
continue;
|
|
3623
3623
|
}
|
|
3624
3624
|
if (u === '"' || u === "'")
|
|
3625
|
-
for (var
|
|
3625
|
+
for (var w = 1, p = e.charAt(l - w); p.trim() === "" || p === "="; ) {
|
|
3626
3626
|
if (p === "=") {
|
|
3627
3627
|
o = u;
|
|
3628
3628
|
continue e;
|
|
3629
3629
|
}
|
|
3630
|
-
p = e.charAt(l - ++
|
|
3630
|
+
p = e.charAt(l - ++w);
|
|
3631
3631
|
}
|
|
3632
3632
|
} else if (u === o) {
|
|
3633
3633
|
o = !1;
|
|
@@ -3639,9 +3639,9 @@ function Xs(e, n, t) {
|
|
|
3639
3639
|
var Js = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
3640
3640
|
function Qs(e, n) {
|
|
3641
3641
|
var t = 0, r = 0, a = [], i = !1, o = e.length;
|
|
3642
|
-
function l(
|
|
3643
|
-
if (
|
|
3644
|
-
var h = n(
|
|
3642
|
+
function l(w, p) {
|
|
3643
|
+
if (w = Ae.trim(w), w = w.replace(Js, "").toLowerCase(), !(w.length < 1)) {
|
|
3644
|
+
var h = n(w, p || "");
|
|
3645
3645
|
h && a.push(h);
|
|
3646
3646
|
}
|
|
3647
3647
|
}
|
|
@@ -3703,7 +3703,7 @@ function dn(e) {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
Et.parseTag = Xs;
|
|
3705
3705
|
Et.parseAttr = Qs;
|
|
3706
|
-
var ro = jt.FilterCSS, le =
|
|
3706
|
+
var ro = jt.FilterCSS, le = q, qn = Et, ao = qn.parseTag, io = qn.parseAttr, ct = Ut;
|
|
3707
3707
|
function lt(e) {
|
|
3708
3708
|
return e == null;
|
|
3709
3709
|
}
|
|
@@ -3744,11 +3744,11 @@ Gn.prototype.process = function(e) {
|
|
|
3744
3744
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
3745
3745
|
var n = this, t = n.options, r = t.whiteList, a = t.onTag, i = t.onIgnoreTag, o = t.onTagAttr, l = t.onIgnoreTagAttr, s = t.safeAttrValue, c = t.escapeHtml, d = n.attributeWrapSign, u = n.cssFilter;
|
|
3746
3746
|
t.stripBlankChar && (e = le.stripBlankChar(e)), t.allowCommentTag || (e = le.stripCommentTag(e));
|
|
3747
|
-
var
|
|
3748
|
-
t.stripIgnoreTagBody && (
|
|
3747
|
+
var w = !1;
|
|
3748
|
+
t.stripIgnoreTagBody && (w = le.StripTagBody(
|
|
3749
3749
|
t.stripIgnoreTagBody,
|
|
3750
3750
|
i
|
|
3751
|
-
), i =
|
|
3751
|
+
), i = w.onIgnoreTag);
|
|
3752
3752
|
var p = ao(
|
|
3753
3753
|
e,
|
|
3754
3754
|
function(h, g, m, E, f) {
|
|
@@ -3772,11 +3772,11 @@ Gn.prototype.process = function(e) {
|
|
|
3772
3772
|
},
|
|
3773
3773
|
c
|
|
3774
3774
|
);
|
|
3775
|
-
return
|
|
3775
|
+
return w && (p = w.remove(p)), p;
|
|
3776
3776
|
};
|
|
3777
3777
|
var co = Gn;
|
|
3778
3778
|
(function(e, n) {
|
|
3779
|
-
var t =
|
|
3779
|
+
var t = q, r = Et, a = co;
|
|
3780
3780
|
function i(l, s) {
|
|
3781
3781
|
var c = new a(s);
|
|
3782
3782
|
return c.process(l);
|
|
@@ -3826,7 +3826,7 @@ function Je(e) {
|
|
|
3826
3826
|
return n.useCatalogInsteadId ? "CatalogId" : n.fieldNameForIdentification;
|
|
3827
3827
|
}
|
|
3828
3828
|
function fn(e, n, t) {
|
|
3829
|
-
const r =
|
|
3829
|
+
const r = H.getScope(e.toLowerCase());
|
|
3830
3830
|
return n.map((a) => {
|
|
3831
3831
|
typeof a.label == "string" && (a.label = r(a.label)), a.type === "history" && (a.onClick = async (o) => {
|
|
3832
3832
|
const l = await Ot(e, o[Je(e)]);
|
|
@@ -3967,7 +3967,7 @@ function Rl(e, n, t = {}) {
|
|
|
3967
3967
|
const T = y();
|
|
3968
3968
|
return typeof T.limit != "number" && (T.limit = 100), T.offset = l, (t.request || Ee)(e, T).then((P) => (l += P.length, P));
|
|
3969
3969
|
}
|
|
3970
|
-
function
|
|
3970
|
+
function w(T, S) {
|
|
3971
3971
|
var B;
|
|
3972
3972
|
return typeof T.Version == "number" ? T.Version : (B = o.find((z) => z.Id === S)) == null ? void 0 : B.Version;
|
|
3973
3973
|
}
|
|
@@ -3983,7 +3983,7 @@ function Rl(e, n, t = {}) {
|
|
|
3983
3983
|
}
|
|
3984
3984
|
async function g(T, S) {
|
|
3985
3985
|
try {
|
|
3986
|
-
const P = y(), B =
|
|
3986
|
+
const P = y(), B = w(S, T);
|
|
3987
3987
|
delete S.Version, await Ln(e, { id: T, values: S, version: B, masterEntities: d() });
|
|
3988
3988
|
const z = await Ee(e, {
|
|
3989
3989
|
fields: P.fields || "",
|
|
@@ -3996,7 +3996,7 @@ function Rl(e, n, t = {}) {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
async function m(T, S = {}) {
|
|
3998
3998
|
try {
|
|
3999
|
-
const P = y(), B =
|
|
3999
|
+
const P = y(), B = w(S, T);
|
|
4000
4000
|
delete S.Version, await ts(e, { id: T, version: B, masterEntities: d() }), h(T);
|
|
4001
4001
|
} catch (P) {
|
|
4002
4002
|
Y()(P);
|
|
@@ -4235,7 +4235,7 @@ function Pl(e, n, t) {
|
|
|
4235
4235
|
function u(f, b) {
|
|
4236
4236
|
return f.find((y) => y.name === b) || null;
|
|
4237
4237
|
}
|
|
4238
|
-
async function
|
|
4238
|
+
async function w(f) {
|
|
4239
4239
|
var b;
|
|
4240
4240
|
if (Lo(f)) {
|
|
4241
4241
|
await t.onDisplayDataSet(f);
|
|
@@ -4297,13 +4297,13 @@ function Pl(e, n, t) {
|
|
|
4297
4297
|
].includes(f.statusName) ? (r = f.token, o.value = f.nextStepName) : console.log("Saving is not completed:", f), f;
|
|
4298
4298
|
}
|
|
4299
4299
|
function m() {
|
|
4300
|
-
return i.value = "Starting process", At.startProcess(n, e).then(
|
|
4300
|
+
return i.value = "Starting process", At.startProcess(n, e).then(w).catch(Y("error")).finally(() => {
|
|
4301
4301
|
i.value = null;
|
|
4302
4302
|
});
|
|
4303
4303
|
}
|
|
4304
4304
|
function E(f = {}) {
|
|
4305
4305
|
const b = o.value;
|
|
4306
|
-
return !r || !b ? Promise.reject("Not step or token.") : (i.value = "Waiting for result...", At.runStep(n, e, b, r, f).then(
|
|
4306
|
+
return !r || !b ? Promise.reject("Not step or token.") : (i.value = "Waiting for result...", At.runStep(n, e, b, r, f).then(w).then((y) => (c[c.length - 1] !== b && c.push(b), y)).catch(Y("error")).finally(() => {
|
|
4307
4307
|
i.value = !1;
|
|
4308
4308
|
}));
|
|
4309
4309
|
}
|
|
@@ -4342,7 +4342,7 @@ function xo(e, n, t, r, a, i, o, l = {}) {
|
|
|
4342
4342
|
finished: !1,
|
|
4343
4343
|
offset: 0
|
|
4344
4344
|
});
|
|
4345
|
-
function
|
|
4345
|
+
function w(f) {
|
|
4346
4346
|
f === null && (f = ""), f === void 0 && (f = "-");
|
|
4347
4347
|
let b = typeof f != "string" ? String(f) : f;
|
|
4348
4348
|
return b = b.replace(/"/g, '""'), b.search(/("|,|\n)/g) >= 0 && (b = '"' + b + '"'), b;
|
|
@@ -4380,14 +4380,14 @@ function xo(e, n, t, r, a, i, o, l = {}) {
|
|
|
4380
4380
|
[b.primaryKey]: l.selectedRows.map((y) => y[b.primaryKey])
|
|
4381
4381
|
}), c.filter.length ? c.filter += ` and ${f}` : c.filter = f;
|
|
4382
4382
|
}
|
|
4383
|
-
l.overridePrefix && typeof c.filter == "string" && (c.filter = c.filter.replaceAll("@", (f) => f + l.overridePrefix + ".")), e === "csv" && d.push(t.map((f) =>
|
|
4383
|
+
l.overridePrefix && typeof c.filter == "string" && (c.filter = c.filter.replaceAll("@", (f) => f + l.overridePrefix + ".")), e === "csv" && d.push(t.map((f) => w(f == null ? void 0 : f.label)).join(","));
|
|
4384
4384
|
}
|
|
4385
4385
|
function m() {
|
|
4386
4386
|
u.rejected = !0;
|
|
4387
4387
|
}
|
|
4388
4388
|
async function E() {
|
|
4389
4389
|
return p().then((f) => {
|
|
4390
|
-
const b = f.map((y) => t.map((I) =>
|
|
4390
|
+
const b = f.map((y) => t.map((I) => w(wt(I, y))).join(","));
|
|
4391
4391
|
return d.push(...b), u.count = d.length, f.length;
|
|
4392
4392
|
}).then((f) => {
|
|
4393
4393
|
if (f !== i && (u.finished = !0), f === i && !u.rejected) return E();
|
|
@@ -5089,6 +5089,7 @@ export {
|
|
|
5089
5089
|
jl as SocketSystem,
|
|
5090
5090
|
sl as WidgetAction,
|
|
5091
5091
|
tl as WidgetButton,
|
|
5092
|
+
nn as WidgetCalendar,
|
|
5092
5093
|
wi as WidgetFastTable,
|
|
5093
5094
|
qa as WidgetFastTableHeadCell,
|
|
5094
5095
|
il as WidgetField,
|
|
@@ -5147,7 +5148,7 @@ export {
|
|
|
5147
5148
|
_n as setupListRow,
|
|
5148
5149
|
fl as socketProcess,
|
|
5149
5150
|
ss as staticLink,
|
|
5150
|
-
|
|
5151
|
+
H as t,
|
|
5151
5152
|
hl as throttle,
|
|
5152
5153
|
oi as universalBatchDelete,
|
|
5153
5154
|
as as universalBatchUpdate,
|