@yxhl/specter-pui-vtk 1.0.18 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/specter-pui-vtk.css +1 -1
- package/dist/specter-pui.es.js +40 -42
- package/dist/specter-pui.es.js.map +1 -1
- package/dist/specter-pui.umd.js +1 -1
- package/dist/specter-pui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/commons/request.js +1 -0
- package/src/components/assembly/VtkPage.vue +43 -15
package/dist/specter-pui-vtk.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.sel_box[data-v-54dfcb35]{width:164px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f]{width:100%;padding:12px 0}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs{flex-grow:1;height:36px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs-item{font-size:14px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs-divider{padding:0 8px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs-item--disabled{opacity:.6}[data-v-d5ff7884] .v-checkbox .v-selection-control{margin:0;padding:0;min-height:32px}[data-v-d5ff7884] .v-input__details{padding-inline:16px}.vtk-count[data-v-678ebca6]{display:inline-block}.count-display[data-v-678ebca6]{display:flex;align-items:center;font-family:Roboto Mono,monospace;font-size:24px;font-weight:700}.digits-container[data-v-678ebca6]{display:flex;align-items:center}.digit-wrapper[data-v-678ebca6]{position:relative;width:1em;height:1em;overflow:hidden;text-align:center;margin:0 1px}.digit-wrapper.digit-separator[data-v-678ebca6]{width:auto;animation:none}.digit-scroll[data-v-678ebca6]{position:relative;height:100%}.digit-item[data-v-678ebca6]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.separator[data-v-678ebca6]{display:flex;align-items:center;justify-content:center;height:100%;font-weight:400}.prefix[data-v-678ebca6],.suffix[data-v-678ebca6]{font-size:.8em;align-self:flex-end;margin-bottom:.1em}.prefix[data-v-678ebca6]{margin-right:4px}.suffix[data-v-678ebca6]{margin-left:4px}@media(max-width:768px){.count-display[data-v-678ebca6]{font-size:20px}}@media(max-width:480px){.count-display[data-v-678ebca6]{font-size:18px}}.vtk-date-range-picker[data-v-4f7668c4]{width:100%}.date-picker-container[data-v-4f7668c4]{display:flex;flex-direction:row;gap:0}.date-picker-item[data-v-4f7668c4]{flex:1;max-width:50%}.date-picker-item[data-v-4f7668c4]:first-child{border-right:1px solid rgba(0,0,0,.12)}[data-v-4f7668c4] .v-picker{border-radius:0}[data-v-4f7668c4] .v-date-picker-month__day--adjacent{opacity:.5}[data-v-4f7668c4] .v-date-picker-title{display:none}[data-v-288c63a3] .v-empty-state{padding:24px}[data-v-288c63a3] .v-empty-state__media{margin-bottom:16px}[data-v-288c63a3] .v-empty-state__headline,[data-v-288c63a3] .v-empty-state__title{margin-bottom:8px}[data-v-288c63a3] .v-empty-state__actions{margin-top:16px}.scroll-to-top-fab[data-v-e07d12b9]{position:fixed;bottom:24px;right:24px;z-index:1004}.slide-up-enter-active[data-v-e07d12b9]{transition:all .2s ease-out}.slide-up-leave-active[data-v-e07d12b9]{transition:all .2s ease-in}.slide-up-enter-from[data-v-e07d12b9],.slide-up-leave-to[data-v-e07d12b9]{opacity:0;transform:translateY(30px)}.box:hover>.box_help[data-v-05be0b6b]{display:inline-block!important;border-top-right-radius:24px;border-bottom-left-radius:24px}.box_help[data-v-05be0b6b]{display:none}.tips[data-v-05be0b6b]{position:absolute;right:8px;top:0;border:1px rgba(175,175,175,.341) solid}.form-item--vertical[data-v-05be0b6b]{display:block;margin-bottom:1rem}.form-item--horizontal[data-v-05be0b6b]{display:block;margin-bottom:.5rem}.vtk-img-container[data-v-fb431c84]{position:relative;display:inline-block;width:100%;height:100%}.vtk-img-card[data-v-fb431c84]{height:100%}.vtk-img-card--preview[data-v-fb431c84]{cursor:pointer;transition:transform .2s ease-in-out}.vtk-img-card--preview[data-v-fb431c84]:hover{transform:translateY(-5px)}.vtk-img[data-v-fb431c84]{width:100%}.vtk-img-info[data-v-fb431c84]{padding:0}.vtk-img-title[data-v-fb431c84],.vtk-img-description[data-v-fb431c84]{word-break:break-word}.image-viewer-card[data-v-fb431c84]{background-color:#000000e6;color:#fff}.image-viewer-content[data-v-fb431c84]{display:flex;align-items:center;justify-content:center;height:calc(100vh - 150px);position:relative}.image-container[data-v-fb431c84]{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}.viewer-image[data-v-fb431c84]{max-width:90%;max-height:80vh;transition:transform .3s ease}.nav-button[data-v-fb431c84]{position:absolute;top:50%;transform:translateY(-50%);z-index:10;background-color:#00000080;color:#fff;width:50px;height:50px}.prev-button[data-v-fb431c84]{left:20px}.next-button[data-v-fb431c84]{right:20px}.image-info[data-v-fb431c84]{padding:20px;background-color:#000000b3}.image-info p[data-v-fb431c84]{margin:5px 0}[data-v-fb431c84] .v-img__img{background:var(--v68f5692b) no-repeat center;background-size:cover}[data-v-fb431c84] .v-img__placeholder{filter:blur(0px)}.mt-1[data-v-14e6ddff]{margin-top:11px!important}.my-5[data-v-14e6ddff]{margin-top:20px!important;margin-bottom:20px!important}.m_pagination[data-v-14e6ddff]{width:100%;min-height:60px}.m_pagination .box[data-v-14e6ddff]{position:absolute;right:40px;padding-top:12px}.page-total[data-v-14e6ddff]{display:flex;align-items:center;height:40px}.page-select[data-v-14e6ddff]{max-width:120px}.page-select[data-v-14e6ddff] .v-input__control{min-height:40px!important;height:40px!important}.page-select[data-v-14e6ddff] .v-field{height:40px!important}.page-go[data-v-14e6ddff]{max-width:80px}.page-go[data-v-14e6ddff] .v-input__control{min-height:40px!important;height:40px!important}.page-go[data-v-14e6ddff] .v-field{height:40px!important}.vtk-pdf-container[data-v-a3efd31e]{position:relative;display:inline-block;width:100%;height:100%}.vtk-pdf-card[data-v-a3efd31e]{height:100%}.vtk-pdf-card--preview[data-v-a3efd31e]{cursor:pointer;transition:transform .2s ease-in-out}.vtk-pdf-card--preview[data-v-a3efd31e]:hover{transform:translateY(-5px)}.vtk-pdf-cover[data-v-a3efd31e]{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f5f5f5;border:1px solid #ddd;width:100%}.vtk-pdf-label[data-v-a3efd31e]{margin-top:8px;font-weight:500;color:#666}.vtk-pdf-info[data-v-a3efd31e]{padding:0}.vtk-pdf-title[data-v-a3efd31e],.vtk-pdf-description[data-v-a3efd31e]{word-break:break-word}.pdf-viewer-card[data-v-a3efd31e]{background-color:#e0e0e0;color:#333}.pdf-viewer-content[data-v-a3efd31e]{display:flex;align-items:center;justify-content:center;height:calc(100vh - 150px);position:relative;background-color:#555;overflow:auto}.pdf-container[data-v-a3efd31e]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}#pdf-viewer[data-v-a3efd31e]{max-width:100%;max-height:100%;box-shadow:0 0 10px #00000080;background-color:#fff;display:flex;align-items:center;justify-content:center;min-height:500px;min-width:400px}.pdf-viewer-footer[data-v-a3efd31e]{padding:16px;background-color:#f5f5f5;border-top:1px solid #ddd}.pdf-loading[data-v-a3efd31e]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#ffffffe6;padding:20px;border-radius:8px;z-index:100}.state_btg[data-v-cd48b42b]{padding-right:0;height:100%;background:url(../../assets/img/objs_btg.png) no-repeat;background-size:80px;background-position:100% 100%}[data-v-cd48b42b] .v-tab{background:url(../../assets/img/tab-2.png) no-repeat;background-size:100% 100%;width:150px;margin-left:-11px;border-top-left-radius:20px;border-top-right-radius:20px}[data-v-cd48b42b] .v-tab span{z-index:99}.v-theme--dark[data-v-cd48b42b] .v-tab{background:url(../../assets/img/tab-4.png) no-repeat;background-size:100% 100%}.v-theme--dark[data-v-cd48b42b] .v-tabs__slider{background:url(../../assets/img/tab-3.png) no-repeat!important;background-size:100% 100%!important}[data-v-cd48b42b] .v-tab:before,[data-v-cd48b42b] .v-tab:focus:before,[data-v-cd48b42b] .v-tab:hover:before{background-color:transparent!important;opacity:0!important}[data-v-cd48b42b] .v-tabs__slider{height:38px!important;background:url(../../assets/img/tab-1.png) no-repeat;background-size:100% 100%}.expBox[data-v-cd48b42b] td{border-bottom:thin solid rgba(123,123,123,.22)}.expBox[data-v-cd48b42b] .v-data-table__empty-wrapper td{border:none}.expBox[data-v-cd48b42b] .v-checkbox.v-selection-control--dirty{background-color:#2195f30f!important}.expBox[data-v-cd48b42b] .v-checkbox.v-selection-control--dirty .v-label{color:#2196f3!important}.expBox[data-v-cd48b42b] .v-checkbox.v-selection-control--dirty .active{color:#2196f3;display:inline-block!important}.expBox[data-v-cd48b42b] .v-selection-control__input{display:none}.expBox[data-v-cd48b42b] .v-checkbox{padding:4px 8px 4px 10px;border-radius:6px;background-color:#7575750f}.expBox[data-v-cd48b42b] .v-checkbox .v-label{margin-top:3px;font-size:12px}.search[data-v-e98d464e]{position:relative;min-width:380px;min-height:40px}.box[data-v-e98d464e]{min-width:380px;min-height:40px}[data-v-e98d464e] .box .v-field__append-inner{cursor:pointer;padding-left:16px!important;padding-right:4px!important;border-left:1px rgba(204,204,204,.5333333333) solid;min-width:50px;display:flex;align-items:center}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{border-radius:3px;height:100px;background-color:#007acc}.v-stepper__step[data-v-5ab53ed0]{background:#c7ccd538;position:relative}[data-v-5ab53ed0] .v-stepper__step__step{display:none!important}.stepItem[data-v-5ab53ed0]{align-items:center;display:flex;flex-direction:row;padding:24px;position:relative;background:#c7ccd538}.v-theme--dark .stepItem[data-v-5ab53ed0]{color:#ffffff80}.stepItem.selected[data-v-5ab53ed0]{background:#165dff;color:#fff!important}.stepItem.selected.last-box[data-v-5ab53ed0]:after{border-color:transparent transparent transparent #165dff}.stepItem.selected[data-v-5ab53ed0] .v-stepper__label{color:#fff!important}.colItem:first-child .first-box1[data-v-5ab53ed0]:before{border-color:transparent!important}.colItem:last-child .last-box[data-v-5ab53ed0]:after{border-color:transparent!important}.first-box1[data-v-5ab53ed0]:before{position:absolute;left:0;content:"";width:0;height:0;z-index:0;border:30px solid;border-color:transparent transparent transparent #fff}.v-theme--dark .first-box1[data-v-5ab53ed0]:before{border-color:transparent transparent transparent #1e1e1e}.last-box[data-v-5ab53ed0]:after{position:absolute;right:-70px;content:"";z-index:1;width:0;height:0;border:35px solid;border-color:transparent transparent transparent #f2f3f5}.v-theme--dark .last-box[data-v-5ab53ed0]:after{border-color:transparent transparent transparent rgba(199,204,213,.2196078431)}.theme--dark.v-stepper[data-v-5ab53ed0]{background:transparent}
|
|
1
|
+
@charset "UTF-8";.sel_box[data-v-54dfcb35]{width:164px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f]{width:100%;padding:12px 0}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs{flex-grow:1;height:36px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs-item{font-size:14px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs-divider{padding:0 8px}.vtk-breadcrumb-wrapper[data-v-e7eb4d1f] .v-breadcrumbs-item--disabled{opacity:.6}[data-v-d5ff7884] .v-checkbox .v-selection-control{margin:0;padding:0;min-height:32px}[data-v-d5ff7884] .v-input__details{padding-inline:16px}.vtk-count[data-v-678ebca6]{display:inline-block}.count-display[data-v-678ebca6]{display:flex;align-items:center;font-family:Roboto Mono,monospace;font-size:24px;font-weight:700}.digits-container[data-v-678ebca6]{display:flex;align-items:center}.digit-wrapper[data-v-678ebca6]{position:relative;width:1em;height:1em;overflow:hidden;text-align:center;margin:0 1px}.digit-wrapper.digit-separator[data-v-678ebca6]{width:auto;animation:none}.digit-scroll[data-v-678ebca6]{position:relative;height:100%}.digit-item[data-v-678ebca6]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.separator[data-v-678ebca6]{display:flex;align-items:center;justify-content:center;height:100%;font-weight:400}.prefix[data-v-678ebca6],.suffix[data-v-678ebca6]{font-size:.8em;align-self:flex-end;margin-bottom:.1em}.prefix[data-v-678ebca6]{margin-right:4px}.suffix[data-v-678ebca6]{margin-left:4px}@media(max-width:768px){.count-display[data-v-678ebca6]{font-size:20px}}@media(max-width:480px){.count-display[data-v-678ebca6]{font-size:18px}}.vtk-date-range-picker[data-v-4f7668c4]{width:100%}.date-picker-container[data-v-4f7668c4]{display:flex;flex-direction:row;gap:0}.date-picker-item[data-v-4f7668c4]{flex:1;max-width:50%}.date-picker-item[data-v-4f7668c4]:first-child{border-right:1px solid rgba(0,0,0,.12)}[data-v-4f7668c4] .v-picker{border-radius:0}[data-v-4f7668c4] .v-date-picker-month__day--adjacent{opacity:.5}[data-v-4f7668c4] .v-date-picker-title{display:none}[data-v-288c63a3] .v-empty-state{padding:24px}[data-v-288c63a3] .v-empty-state__media{margin-bottom:16px}[data-v-288c63a3] .v-empty-state__headline,[data-v-288c63a3] .v-empty-state__title{margin-bottom:8px}[data-v-288c63a3] .v-empty-state__actions{margin-top:16px}.scroll-to-top-fab[data-v-e07d12b9]{position:fixed;bottom:24px;right:24px;z-index:1004}.slide-up-enter-active[data-v-e07d12b9]{transition:all .2s ease-out}.slide-up-leave-active[data-v-e07d12b9]{transition:all .2s ease-in}.slide-up-enter-from[data-v-e07d12b9],.slide-up-leave-to[data-v-e07d12b9]{opacity:0;transform:translateY(30px)}.box:hover>.box_help[data-v-05be0b6b]{display:inline-block!important;border-top-right-radius:24px;border-bottom-left-radius:24px}.box_help[data-v-05be0b6b]{display:none}.tips[data-v-05be0b6b]{position:absolute;right:8px;top:0;border:1px rgba(175,175,175,.341) solid}.form-item--vertical[data-v-05be0b6b]{display:block;margin-bottom:1rem}.form-item--horizontal[data-v-05be0b6b]{display:block;margin-bottom:.5rem}.vtk-img-container[data-v-fb431c84]{position:relative;display:inline-block;width:100%;height:100%}.vtk-img-card[data-v-fb431c84]{height:100%}.vtk-img-card--preview[data-v-fb431c84]{cursor:pointer;transition:transform .2s ease-in-out}.vtk-img-card--preview[data-v-fb431c84]:hover{transform:translateY(-5px)}.vtk-img[data-v-fb431c84]{width:100%}.vtk-img-info[data-v-fb431c84]{padding:0}.vtk-img-title[data-v-fb431c84],.vtk-img-description[data-v-fb431c84]{word-break:break-word}.image-viewer-card[data-v-fb431c84]{background-color:#000000e6;color:#fff}.image-viewer-content[data-v-fb431c84]{display:flex;align-items:center;justify-content:center;height:calc(100vh - 150px);position:relative}.image-container[data-v-fb431c84]{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}.viewer-image[data-v-fb431c84]{max-width:90%;max-height:80vh;transition:transform .3s ease}.nav-button[data-v-fb431c84]{position:absolute;top:50%;transform:translateY(-50%);z-index:10;background-color:#00000080;color:#fff;width:50px;height:50px}.prev-button[data-v-fb431c84]{left:20px}.next-button[data-v-fb431c84]{right:20px}.image-info[data-v-fb431c84]{padding:20px;background-color:#000000b3}.image-info p[data-v-fb431c84]{margin:5px 0}[data-v-fb431c84] .v-img__img{background:var(--v68f5692b) no-repeat center;background-size:cover}[data-v-fb431c84] .v-img__placeholder{filter:blur(0px)}.mt-1[data-v-c12fb6c5]{margin-top:11px!important}.my-5[data-v-c12fb6c5]{margin-top:20px!important;margin-bottom:20px!important}.m_pagination[data-v-c12fb6c5]{width:100%;min-height:52px;display:flex;align-items:center}.m_pagination .box[data-v-c12fb6c5]{position:absolute;right:32px}.page-total[data-v-c12fb6c5]{display:flex;align-items:center;height:36px;font-size:13px;padding-top:4px}.page-select[data-v-c12fb6c5]{padding-top:4px;max-width:115px}.page-select[data-v-c12fb6c5] .v-input__control{min-height:36px!important;height:36px!important}.page-select[data-v-c12fb6c5] .v-field{height:36px!important;font-size:13px!important}.page-select[data-v-c12fb6c5] .v-field__input{padding-top:6px!important;padding-bottom:6px!important;min-height:36px!important}.page-go[data-v-c12fb6c5]{max-width:75px}.page-go[data-v-c12fb6c5] .v-input__control{min-height:36px!important;height:36px!important}.page-go[data-v-c12fb6c5] .v-field{height:36px!important;font-size:13px!important}.page-go[data-v-c12fb6c5] .v-field__input{padding-top:6px!important;padding-bottom:6px!important;min-height:36px!important}.my-2[data-v-c12fb6c5] .v-pagination__item,.my-2[data-v-c12fb6c5] .v-pagination__prev,.my-2[data-v-c12fb6c5] .v-pagination__next{min-width:32px!important;height:36px!important;font-size:13px!important}.vtk-pdf-container[data-v-a3efd31e]{position:relative;display:inline-block;width:100%;height:100%}.vtk-pdf-card[data-v-a3efd31e]{height:100%}.vtk-pdf-card--preview[data-v-a3efd31e]{cursor:pointer;transition:transform .2s ease-in-out}.vtk-pdf-card--preview[data-v-a3efd31e]:hover{transform:translateY(-5px)}.vtk-pdf-cover[data-v-a3efd31e]{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#f5f5f5;border:1px solid #ddd;width:100%}.vtk-pdf-label[data-v-a3efd31e]{margin-top:8px;font-weight:500;color:#666}.vtk-pdf-info[data-v-a3efd31e]{padding:0}.vtk-pdf-title[data-v-a3efd31e],.vtk-pdf-description[data-v-a3efd31e]{word-break:break-word}.pdf-viewer-card[data-v-a3efd31e]{background-color:#e0e0e0;color:#333}.pdf-viewer-content[data-v-a3efd31e]{display:flex;align-items:center;justify-content:center;height:calc(100vh - 150px);position:relative;background-color:#555;overflow:auto}.pdf-container[data-v-a3efd31e]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}#pdf-viewer[data-v-a3efd31e]{max-width:100%;max-height:100%;box-shadow:0 0 10px #00000080;background-color:#fff;display:flex;align-items:center;justify-content:center;min-height:500px;min-width:400px}.pdf-viewer-footer[data-v-a3efd31e]{padding:16px;background-color:#f5f5f5;border-top:1px solid #ddd}.pdf-loading[data-v-a3efd31e]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#ffffffe6;padding:20px;border-radius:8px;z-index:100}.state_btg[data-v-cd48b42b]{padding-right:0;height:100%;background:url(../../assets/img/objs_btg.png) no-repeat;background-size:80px;background-position:100% 100%}[data-v-cd48b42b] .v-tab{background:url(../../assets/img/tab-2.png) no-repeat;background-size:100% 100%;width:150px;margin-left:-11px;border-top-left-radius:20px;border-top-right-radius:20px}[data-v-cd48b42b] .v-tab span{z-index:99}.v-theme--dark[data-v-cd48b42b] .v-tab{background:url(../../assets/img/tab-4.png) no-repeat;background-size:100% 100%}.v-theme--dark[data-v-cd48b42b] .v-tabs__slider{background:url(../../assets/img/tab-3.png) no-repeat!important;background-size:100% 100%!important}[data-v-cd48b42b] .v-tab:before,[data-v-cd48b42b] .v-tab:focus:before,[data-v-cd48b42b] .v-tab:hover:before{background-color:transparent!important;opacity:0!important}[data-v-cd48b42b] .v-tabs__slider{height:38px!important;background:url(../../assets/img/tab-1.png) no-repeat;background-size:100% 100%}.expBox[data-v-cd48b42b] td{border-bottom:thin solid rgba(123,123,123,.22)}.expBox[data-v-cd48b42b] .v-data-table__empty-wrapper td{border:none}.expBox[data-v-cd48b42b] .v-checkbox.v-selection-control--dirty{background-color:#2195f30f!important}.expBox[data-v-cd48b42b] .v-checkbox.v-selection-control--dirty .v-label{color:#2196f3!important}.expBox[data-v-cd48b42b] .v-checkbox.v-selection-control--dirty .active{color:#2196f3;display:inline-block!important}.expBox[data-v-cd48b42b] .v-selection-control__input{display:none}.expBox[data-v-cd48b42b] .v-checkbox{padding:4px 8px 4px 10px;border-radius:6px;background-color:#7575750f}.expBox[data-v-cd48b42b] .v-checkbox .v-label{margin-top:3px;font-size:12px}.search[data-v-e98d464e]{position:relative;min-width:380px;min-height:40px}.box[data-v-e98d464e]{min-width:380px;min-height:40px}[data-v-e98d464e] .box .v-field__append-inner{cursor:pointer;padding-left:16px!important;padding-right:4px!important;border-left:1px rgba(204,204,204,.5333333333) solid;min-width:50px;display:flex;align-items:center}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{border-radius:3px;height:100px;background-color:#007acc}.v-stepper__step[data-v-5ab53ed0]{background:#c7ccd538;position:relative}[data-v-5ab53ed0] .v-stepper__step__step{display:none!important}.stepItem[data-v-5ab53ed0]{align-items:center;display:flex;flex-direction:row;padding:24px;position:relative;background:#c7ccd538}.v-theme--dark .stepItem[data-v-5ab53ed0]{color:#ffffff80}.stepItem.selected[data-v-5ab53ed0]{background:#165dff;color:#fff!important}.stepItem.selected.last-box[data-v-5ab53ed0]:after{border-color:transparent transparent transparent #165dff}.stepItem.selected[data-v-5ab53ed0] .v-stepper__label{color:#fff!important}.colItem:first-child .first-box1[data-v-5ab53ed0]:before{border-color:transparent!important}.colItem:last-child .last-box[data-v-5ab53ed0]:after{border-color:transparent!important}.first-box1[data-v-5ab53ed0]:before{position:absolute;left:0;content:"";width:0;height:0;z-index:0;border:30px solid;border-color:transparent transparent transparent #fff}.v-theme--dark .first-box1[data-v-5ab53ed0]:before{border-color:transparent transparent transparent #1e1e1e}.last-box[data-v-5ab53ed0]:after{position:absolute;right:-70px;content:"";z-index:1;width:0;height:0;border:35px solid;border-color:transparent transparent transparent #f2f3f5}.v-theme--dark .last-box[data-v-5ab53ed0]:after{border-color:transparent transparent transparent rgba(199,204,213,.2196078431)}.theme--dark.v-stepper[data-v-5ab53ed0]{background:transparent}
|
package/dist/specter-pui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as pe, ref as S, onMounted as re, resolveComponent as c, createElementBlock as I, openBlock as h, createVNode as a, createBlock as E, createCommentVNode as z, normalizeStyle as te, normalizeClass as
|
|
1
|
+
import { reactive as pe, ref as S, onMounted as re, resolveComponent as c, createElementBlock as I, openBlock as h, createVNode as a, createBlock as E, createCommentVNode as z, normalizeStyle as te, normalizeClass as K, inject as Ie, computed as W, withCtx as o, createTextVNode as y, toDisplayString as U, watch as le, useAttrs as Ve, mergeProps as ne, createElementVNode as V, Fragment as de, renderList as ce, nextTick as Ne, createSlots as Tt, renderSlot as ae, onBeforeUnmount as Oe, Transition as Pt, useCssVars as At, withKeys as Fe, onActivated as Dt, unref as B, isRef as jt } from "vue";
|
|
2
2
|
import It from "axios";
|
|
3
3
|
import { defineStore as Nt } from "pinia";
|
|
4
4
|
const se = {}, he = (e = "local") => e == "local" ? window.localStorage : window.sessionStorage;
|
|
@@ -86,7 +86,7 @@ const me = Nt("message", {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
}),
|
|
89
|
+
}), G = {
|
|
90
90
|
// 显示 alert
|
|
91
91
|
alert(e) {
|
|
92
92
|
me().show("alert", e);
|
|
@@ -130,14 +130,14 @@ const me = Nt("message", {
|
|
|
130
130
|
});
|
|
131
131
|
ke.interceptors.request.use(
|
|
132
132
|
(e) => (se.get("token") && (e.headers["X-Token"] = "1b0679be72ad976ad5d491ad57a5eec0", e.headers.Authorization = "Bearer " + se.get("token")), e),
|
|
133
|
-
(e) => (
|
|
133
|
+
(e) => (G.toast(e.message || "请求错误"), Promise.reject(e))
|
|
134
134
|
);
|
|
135
135
|
ke.interceptors.response.use(
|
|
136
136
|
(e) => {
|
|
137
137
|
let t = e.data, n = e.headers["content-disposition"];
|
|
138
|
-
return n != null && n.split(";")[0] == "attachment" && (t = e), e.status !== 200 ? (
|
|
138
|
+
return n != null && n.split(";")[0] == "attachment" && (t = e), e.status !== 200 ? (G.toast(t.message || "请求失败"), Promise.reject(new Error(t.message || "请求失败"))) : (!(t.meta && !t.meta.success && t.meta.message == "specter_authorize_exception") || G.confirm("对不起,您的登录信息过期!", () => window.open("about:blank", "_self").close()), Promise.resolve(t));
|
|
139
139
|
},
|
|
140
|
-
(e) => (console.log("err" + e),
|
|
140
|
+
(e) => (console.log("err" + e), G.toast(e.message || "网络错误"), Promise.reject(e))
|
|
141
141
|
);
|
|
142
142
|
const Y = {};
|
|
143
143
|
Y.http = (e, t = {}, n = "GET", l = { "content-type": "application/x-www-form-urlencoded" }, i = null) => l["content-type"] === "application/x-www-form-urlencoded" ? ke({ url: e, params: t, method: n, headers: l, responseType: i }) : ke({ url: e, data: t, method: n, headers: l, responseType: i });
|
|
@@ -263,7 +263,7 @@ const Z = (e, t) => {
|
|
|
263
263
|
items: d.area4,
|
|
264
264
|
"item-title": "areaName",
|
|
265
265
|
"item-value": "areaCode",
|
|
266
|
-
class:
|
|
266
|
+
class: K(["d-inline-block sel_box", e.maxArea > 4 && "mr-3"]),
|
|
267
267
|
"hide-details": "",
|
|
268
268
|
density: "compact",
|
|
269
269
|
variant: "outlined",
|
|
@@ -284,7 +284,7 @@ const Z = (e, t) => {
|
|
|
284
284
|
items: d.area6,
|
|
285
285
|
"item-title": "areaName",
|
|
286
286
|
"item-value": "areaCode",
|
|
287
|
-
class:
|
|
287
|
+
class: K(["d-inline-block sel_box", e.maxArea > 6 && "mr-3"]),
|
|
288
288
|
"hide-details": "",
|
|
289
289
|
density: "compact",
|
|
290
290
|
variant: "outlined",
|
|
@@ -305,7 +305,7 @@ const Z = (e, t) => {
|
|
|
305
305
|
items: d.area9,
|
|
306
306
|
"item-title": "areaName",
|
|
307
307
|
"item-value": "areaCode",
|
|
308
|
-
class:
|
|
308
|
+
class: K(["d-inline-block sel_box", e.maxArea > 9 && "mr-3"]),
|
|
309
309
|
"hide-details": "",
|
|
310
310
|
density: "compact",
|
|
311
311
|
variant: "outlined",
|
|
@@ -413,7 +413,7 @@ const Z = (e, t) => {
|
|
|
413
413
|
title: $.title,
|
|
414
414
|
to: $.to,
|
|
415
415
|
disabled: $.disabled,
|
|
416
|
-
class:
|
|
416
|
+
class: K({ "text-primary": !$.disabled })
|
|
417
417
|
}, {
|
|
418
418
|
default: o(() => [
|
|
419
419
|
y(U($.title), 1)
|
|
@@ -521,7 +521,7 @@ const Z = (e, t) => {
|
|
|
521
521
|
return h(), E(b, ne(w.value, { "model-value": g.value }), {
|
|
522
522
|
default: o(() => [
|
|
523
523
|
V("div", {
|
|
524
|
-
class:
|
|
524
|
+
class: K(["checkGroup", e.inline ? "d-flex flex-wrap align-top" : "d-inline-block"])
|
|
525
525
|
}, [
|
|
526
526
|
(h(!0), I(de, null, ce(v.value, (p) => (h(), E(A, ne({
|
|
527
527
|
"hide-details": "",
|
|
@@ -672,7 +672,7 @@ const Z = (e, t) => {
|
|
|
672
672
|
}), t({
|
|
673
673
|
startAnimation: A
|
|
674
674
|
}), (p, f) => (h(), I("div", {
|
|
675
|
-
class:
|
|
675
|
+
class: K(["vtk-count", e.containerClass])
|
|
676
676
|
}, [
|
|
677
677
|
V("div", {
|
|
678
678
|
class: "count-display",
|
|
@@ -682,7 +682,7 @@ const Z = (e, t) => {
|
|
|
682
682
|
V("div", Rt, [
|
|
683
683
|
(h(!0), I(de, null, ce(r.value, (x, P) => (h(), I("div", {
|
|
684
684
|
key: `digit-${P}-${C.value}`,
|
|
685
|
-
class:
|
|
685
|
+
class: K(["digit-wrapper", { "digit-separator": isNaN(x) }])
|
|
686
686
|
}, [
|
|
687
687
|
isNaN(x) ? (h(), I("div", Et, U(x), 1)) : (h(), I("div", Lt, [
|
|
688
688
|
(h(), I(de, null, ce(10, (N) => V("div", {
|
|
@@ -1018,7 +1018,7 @@ const Z = (e, t) => {
|
|
|
1018
1018
|
default: o(() => [
|
|
1019
1019
|
t.value ? (h(), E(C, {
|
|
1020
1020
|
key: 0,
|
|
1021
|
-
class:
|
|
1021
|
+
class: K(n.value),
|
|
1022
1022
|
color: "primary",
|
|
1023
1023
|
icon: "mdi-arrow-up",
|
|
1024
1024
|
onClick: i
|
|
@@ -1088,7 +1088,7 @@ const Z = (e, t) => {
|
|
|
1088
1088
|
return t.top && t.maxWidth && (i.maxWidth = n.value), i;
|
|
1089
1089
|
});
|
|
1090
1090
|
return (i, d) => (h(), I("div", {
|
|
1091
|
-
class:
|
|
1091
|
+
class: K(["box", {
|
|
1092
1092
|
"form-item--vertical": e.top,
|
|
1093
1093
|
"form-item--horizontal": !e.top
|
|
1094
1094
|
}]),
|
|
@@ -1100,7 +1100,7 @@ const Z = (e, t) => {
|
|
|
1100
1100
|
])) : z("", !0),
|
|
1101
1101
|
e.label && !e.top ? (h(), I("div", {
|
|
1102
1102
|
key: 1,
|
|
1103
|
-
class:
|
|
1103
|
+
class: K([e.left ? "" : "vtk-width-2", "d-inline-block text-right"]),
|
|
1104
1104
|
style: te([e.Tstyle, { "min-width": "120px !important", "vertical-align": "top", "padding-top": "11px" }])
|
|
1105
1105
|
}, [
|
|
1106
1106
|
e.must ? (h(), I("span", Zt, "*")) : z("", !0),
|
|
@@ -1243,7 +1243,7 @@ const Z = (e, t) => {
|
|
|
1243
1243
|
const p = c("v-progress-circular"), f = c("v-img"), x = c("VCardTitle"), P = c("v-card-subtitle"), N = c("VCard"), M = c("VIcon"), j = c("VBtn"), D = c("v-toolbar-title"), R = c("VSpacer"), L = c("v-toolbar-items"), F = c("v-toolbar"), J = c("VDialog");
|
|
1244
1244
|
return h(), I("div", oa, [
|
|
1245
1245
|
a(N, {
|
|
1246
|
-
class:
|
|
1246
|
+
class: K(["vtk-img-card", { "vtk-img-card--preview": e.preview }]),
|
|
1247
1247
|
onClick: v
|
|
1248
1248
|
}, {
|
|
1249
1249
|
default: o(() => [
|
|
@@ -1415,10 +1415,7 @@ const Z = (e, t) => {
|
|
|
1415
1415
|
]);
|
|
1416
1416
|
};
|
|
1417
1417
|
}
|
|
1418
|
-
}), We = /* @__PURE__ */ Z(pa, [["__scopeId", "data-v-fb431c84"]]), fa = { class: "m_pagination" }, va = { class: "page-total d-none d-md-flex align-center" }, ga = {
|
|
1419
|
-
class: "my-2",
|
|
1420
|
-
style: { "font-size": "12px" }
|
|
1421
|
-
}, ba = {
|
|
1418
|
+
}), We = /* @__PURE__ */ Z(pa, [["__scopeId", "data-v-fb431c84"]]), fa = { class: "m_pagination" }, va = { class: "page-total d-none d-md-flex align-center" }, ga = { class: "my-2" }, ba = {
|
|
1422
1419
|
__name: "VtkPage",
|
|
1423
1420
|
props: {
|
|
1424
1421
|
pageData: {
|
|
@@ -1493,11 +1490,12 @@ const Z = (e, t) => {
|
|
|
1493
1490
|
u[2] || (u[2] = (p) => m.value.pageno = p),
|
|
1494
1491
|
u[3] || (u[3] = (p) => v())
|
|
1495
1492
|
],
|
|
1496
|
-
"total-visible":
|
|
1497
|
-
length: m.value.pageCount
|
|
1493
|
+
"total-visible": 5,
|
|
1494
|
+
length: m.value.pageCount,
|
|
1495
|
+
size: "small"
|
|
1498
1496
|
}, null, 8, ["modelValue", "length"])
|
|
1499
1497
|
]),
|
|
1500
|
-
u[6] || (u[6] = V("span", { class: "page-total ml-
|
|
1498
|
+
u[6] || (u[6] = V("span", { class: "page-total ml-3 d-none d-md-flex align-center" }, "到", -1)),
|
|
1501
1499
|
a(A, {
|
|
1502
1500
|
modelValue: i.pageno,
|
|
1503
1501
|
"onUpdate:modelValue": u[4] || (u[4] = (p) => i.pageno = p),
|
|
@@ -1514,7 +1512,7 @@ const Z = (e, t) => {
|
|
|
1514
1512
|
]);
|
|
1515
1513
|
};
|
|
1516
1514
|
}
|
|
1517
|
-
}, Je = /* @__PURE__ */ Z(ba, [["__scopeId", "data-v-
|
|
1515
|
+
}, Je = /* @__PURE__ */ Z(ba, [["__scopeId", "data-v-c12fb6c5"]]), ya = { class: "vtk-pdf-container" }, ka = {
|
|
1518
1516
|
key: 0,
|
|
1519
1517
|
class: "vtk-pdf-info"
|
|
1520
1518
|
}, Va = { class: "pdf-viewer-content" }, ha = {
|
|
@@ -1619,7 +1617,7 @@ const Z = (e, t) => {
|
|
|
1619
1617
|
const f = c("VIcon"), x = c("VCardTitle"), P = c("v-card-subtitle"), N = c("VCard"), M = c("VBtn"), j = c("v-toolbar-title"), D = c("VSpacer"), R = c("v-toolbar-items"), L = c("v-toolbar"), F = c("VCol"), J = c("VSlider"), q = c("VRow"), H = c("v-progress-circular"), ue = c("VDialog");
|
|
1620
1618
|
return h(), I("div", ya, [
|
|
1621
1619
|
a(N, {
|
|
1622
|
-
class:
|
|
1620
|
+
class: K(["vtk-pdf-card", { "vtk-pdf-card--preview": e.preview }]),
|
|
1623
1621
|
onClick: g
|
|
1624
1622
|
}, {
|
|
1625
1623
|
default: o(() => [
|
|
@@ -1832,7 +1830,7 @@ function Sa(e = {}) {
|
|
|
1832
1830
|
}, u = () => {
|
|
1833
1831
|
var R, L;
|
|
1834
1832
|
if (!v.list) {
|
|
1835
|
-
|
|
1833
|
+
G.toast("请先设置url.list属性", { color: "warning" });
|
|
1836
1834
|
return;
|
|
1837
1835
|
}
|
|
1838
1836
|
const D = r();
|
|
@@ -1868,32 +1866,32 @@ function Sa(e = {}) {
|
|
|
1868
1866
|
},
|
|
1869
1867
|
deleteItem: (D, R) => {
|
|
1870
1868
|
if (!v.delete) {
|
|
1871
|
-
|
|
1869
|
+
G.toast("请设置url.delete属性!", { color: "warning" });
|
|
1872
1870
|
return;
|
|
1873
1871
|
}
|
|
1874
|
-
|
|
1872
|
+
G.confirm(
|
|
1875
1873
|
{ title: "确认删除", text: R || "是否删除?" },
|
|
1876
1874
|
(L) => {
|
|
1877
1875
|
L && Y.getForm(v.delete, { id: D }).then((F) => {
|
|
1878
|
-
F.meta.success ? (
|
|
1876
|
+
F.meta.success ? (G.toast("删除成功", { color: "success" }), u()) : G.toast("删除失败", { color: "warning" });
|
|
1879
1877
|
}).catch((F) => {
|
|
1880
|
-
console.error("删除失败:", F),
|
|
1878
|
+
console.error("删除失败:", F), G.toast("删除失败", { color: "warning" });
|
|
1881
1879
|
});
|
|
1882
1880
|
}
|
|
1883
1881
|
);
|
|
1884
1882
|
},
|
|
1885
1883
|
copyItem: (D, R) => {
|
|
1886
1884
|
if (!v.copy) {
|
|
1887
|
-
|
|
1885
|
+
G.toast("请设置url.copy!", { color: "warning" });
|
|
1888
1886
|
return;
|
|
1889
1887
|
}
|
|
1890
|
-
|
|
1888
|
+
G.confirm(
|
|
1891
1889
|
{ title: "拷贝", text: R || "是否确认拷贝当前数据?" },
|
|
1892
1890
|
(L) => {
|
|
1893
1891
|
L && Y.getForm(v.copy, { id: D }).then((F) => {
|
|
1894
|
-
F.meta.success ? (
|
|
1892
|
+
F.meta.success ? (G.toast("拷贝成功", { color: "success" }), u()) : G.toast("拷贝失败", { color: "warning" });
|
|
1895
1893
|
}).catch((F) => {
|
|
1896
|
-
console.error("拷贝失败:", F),
|
|
1894
|
+
console.error("拷贝失败:", F), G.toast("拷贝失败", { color: "warning" });
|
|
1897
1895
|
});
|
|
1898
1896
|
}
|
|
1899
1897
|
);
|
|
@@ -2299,7 +2297,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2299
2297
|
])) : (h(), I("div", Pa, [
|
|
2300
2298
|
s[39] || (s[39] = V("p", { class: "mb-3 pt-3 font-weight-bold" }, "导出提示", -1)),
|
|
2301
2299
|
V("p", {
|
|
2302
|
-
class:
|
|
2300
|
+
class: K([B(g).servState == "1" ? "text-green" : "text-red", "mb-3 text-body-2"])
|
|
2303
2301
|
}, [
|
|
2304
2302
|
a(ee, {
|
|
2305
2303
|
size: "20",
|
|
@@ -2313,7 +2311,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2313
2311
|
s[37] || (s[37] = y(" 导出数据仅限已服务信息 ", -1))
|
|
2314
2312
|
], 2),
|
|
2315
2313
|
V("p", {
|
|
2316
|
-
class:
|
|
2314
|
+
class: K(["mb-2 text-body-2", O.value ? "text-green" : "text-red"])
|
|
2317
2315
|
}, [
|
|
2318
2316
|
a(ee, {
|
|
2319
2317
|
size: "20",
|
|
@@ -2517,7 +2515,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2517
2515
|
y(U(_.objsName), 1),
|
|
2518
2516
|
V("span", Ia, U(rt(_.objsCode)), 1),
|
|
2519
2517
|
a(ye, {
|
|
2520
|
-
class:
|
|
2518
|
+
class: K(["ml-2", ut(_.servState)]),
|
|
2521
2519
|
size: "small",
|
|
2522
2520
|
label: ""
|
|
2523
2521
|
}, {
|
|
@@ -2527,7 +2525,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2527
2525
|
_: 2
|
|
2528
2526
|
}, 1032, ["class"]),
|
|
2529
2527
|
a(ye, {
|
|
2530
|
-
class:
|
|
2528
|
+
class: K(["ml-2", ct(_.rateState)]),
|
|
2531
2529
|
size: "small",
|
|
2532
2530
|
label: ""
|
|
2533
2531
|
}, {
|
|
@@ -3002,7 +3000,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
3002
3000
|
}, {
|
|
3003
3001
|
default: o(() => [
|
|
3004
3002
|
V("div", {
|
|
3005
|
-
class:
|
|
3003
|
+
class: K(["first-box1 last-box pl-10 py-5 stepItem", n.value > $ ? "selected" : ""]),
|
|
3006
3004
|
complete: n.value > $,
|
|
3007
3005
|
step: $ + 1
|
|
3008
3006
|
}, U(u), 11, Ya)
|
|
@@ -3393,7 +3391,7 @@ function fl(e, t = {}) {
|
|
|
3393
3391
|
return Object.keys(n).forEach((l) => {
|
|
3394
3392
|
e.component(l, n[l]);
|
|
3395
3393
|
}), e.config.globalProperties.$vtk = {
|
|
3396
|
-
message:
|
|
3394
|
+
message: G,
|
|
3397
3395
|
request: Y,
|
|
3398
3396
|
storage: se,
|
|
3399
3397
|
themes: et,
|
|
@@ -3432,7 +3430,7 @@ const yl = {
|
|
|
3432
3430
|
request: Y,
|
|
3433
3431
|
storage: se,
|
|
3434
3432
|
themes: et,
|
|
3435
|
-
vtkMessage:
|
|
3433
|
+
vtkMessage: G
|
|
3436
3434
|
};
|
|
3437
3435
|
export {
|
|
3438
3436
|
Me as VtkArea,
|
|
@@ -3466,6 +3464,6 @@ export {
|
|
|
3466
3464
|
et as themes,
|
|
3467
3465
|
Za as txt,
|
|
3468
3466
|
Sa as useMixins,
|
|
3469
|
-
|
|
3467
|
+
G as vtkMessage
|
|
3470
3468
|
};
|
|
3471
3469
|
//# sourceMappingURL=specter-pui.es.js.map
|