oga-ui 0.1.38
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/README.md +251 -0
- package/avatar/index.css +2 -0
- package/avatar/index.es.ts +1318 -0
- package/avatar/index.umd.ts +2 -0
- package/editor/index.css +2 -0
- package/editor/index.es.ts +31668 -0
- package/editor/index.umd.ts +81 -0
- package/form/index.css +2 -0
- package/form/index.es.ts +28 -0
- package/form/index.umd.ts +1 -0
- package/form-item/index.css +2 -0
- package/form-item/index.es.ts +28 -0
- package/form-item/index.umd.ts +1 -0
- package/iconfont/index.css +2 -0
- package/iconfont/index.es.ts +86 -0
- package/iconfont/index.umd.ts +1 -0
- package/image-upload/index.css +2 -0
- package/image-upload/index.es.ts +8003 -0
- package/image-upload/index.umd.ts +12 -0
- package/index.css +2 -0
- package/index.es.ts +38553 -0
- package/index.umd.ts +88 -0
- package/input/index.css +2 -0
- package/input/index.es.ts +76 -0
- package/input/index.umd.ts +1 -0
- package/layout/index.css +2 -0
- package/layout/index.es.ts +104 -0
- package/layout/index.umd.ts +1 -0
- package/package.json +17 -0
- package/page/index.css +2 -0
- package/page/index.es.ts +3232 -0
- package/page/index.umd.ts +5 -0
- package/paging/index.css +2 -0
- package/paging/index.es.ts +55 -0
- package/paging/index.umd.ts +1 -0
- package/progress/index.css +2 -0
- package/progress/index.es.ts +36 -0
- package/progress/index.umd.ts +1 -0
- package/section/index.css +2 -0
- package/section/index.es.ts +41 -0
- package/section/index.umd.ts +1 -0
- package/table/index.css +2 -0
- package/table/index.es.ts +3517 -0
- package/table/index.umd.ts +5 -0
- package/unsaved/index.css +2 -0
- package/unsaved/index.es.ts +3161 -0
- package/unsaved/index.umd.ts +5 -0
package/input/index.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
[data-v-35ebf555]:root{--inner-color:#3779eb4d;--inner-shadow:0 0 10px 0 var(--inner-color) inset}.m-0[data-v-35ebf555]{margin:0!important}.mt-0[data-v-35ebf555]{margin-top:0!important}.mr-0[data-v-35ebf555]{margin-right:0!important}.mb-0[data-v-35ebf555]{margin-bottom:0!important}.ml-0[data-v-35ebf555]{margin-left:0!important}.m-1[data-v-35ebf555]{margin:.183024rem!important}.mt-1[data-v-35ebf555]{margin-top:.183024rem!important}.mr-1[data-v-35ebf555]{margin-right:.183024rem!important}.mb-1[data-v-35ebf555]{margin-bottom:.183024rem!important}.ml-1[data-v-35ebf555]{margin-left:.183024rem!important}.m-2[data-v-35ebf555]{margin:.366047rem!important}.mt-2[data-v-35ebf555]{margin-top:.366047rem!important}.mr-2[data-v-35ebf555]{margin-right:.366047rem!important}.mb-2[data-v-35ebf555]{margin-bottom:.366047rem!important}.ml-2[data-v-35ebf555]{margin-left:.366047rem!important}.m-3[data-v-35ebf555]{margin:.732094rem!important}.mt-3[data-v-35ebf555]{margin-top:.732094rem!important}.mr-3[data-v-35ebf555]{margin-right:.732094rem!important}.mb-3[data-v-35ebf555]{margin-bottom:.732094rem!important}.ml-3[data-v-35ebf555]{margin-left:.732094rem!important}.m-4[data-v-35ebf555]{margin:1.09814rem!important}.mt-4[data-v-35ebf555]{margin-top:1.09814rem!important}.mr-4[data-v-35ebf555]{margin-right:1.09814rem!important}.mb-4[data-v-35ebf555]{margin-bottom:1.09814rem!important}.ml-4[data-v-35ebf555]{margin-left:1.09814rem!important}.m-5[data-v-35ebf555]{margin:1.46419rem!important}.mt-5[data-v-35ebf555]{margin-top:1.46419rem!important}.mr-5[data-v-35ebf555]{margin-right:1.46419rem!important}.mb-5[data-v-35ebf555]{margin-bottom:1.46419rem!important}.ml-5[data-v-35ebf555]{margin-left:1.46419rem!important}.m-6[data-v-35ebf555]{margin:1.83024rem!important}.mt-6[data-v-35ebf555]{margin-top:1.83024rem!important}.mr-6[data-v-35ebf555]{margin-right:1.83024rem!important}.mb-6[data-v-35ebf555]{margin-bottom:1.83024rem!important}.ml-6[data-v-35ebf555]{margin-left:1.83024rem!important}.m-7[data-v-35ebf555]{margin:2.19628rem!important}.mt-7[data-v-35ebf555]{margin-top:2.19628rem!important}.mr-7[data-v-35ebf555]{margin-right:2.19628rem!important}.mb-7[data-v-35ebf555]{margin-bottom:2.19628rem!important}.ml-7[data-v-35ebf555]{margin-left:2.19628rem!important}.p-0[data-v-35ebf555]{padding:0!important}.pt-0[data-v-35ebf555]{padding-top:0!important}.pr-0[data-v-35ebf555]{padding-right:0!important}.pb-0[data-v-35ebf555]{padding-bottom:0!important}.pl-0[data-v-35ebf555]{padding-left:0!important}.p-1[data-v-35ebf555]{padding:.183024rem!important}.pt-1[data-v-35ebf555]{padding-top:.183024rem!important}.pr-1[data-v-35ebf555]{padding-right:.183024rem!important}.pb-1[data-v-35ebf555]{padding-bottom:.183024rem!important}.pl-1[data-v-35ebf555]{padding-left:.183024rem!important}.p-2[data-v-35ebf555]{padding:.366047rem!important}.pt-2[data-v-35ebf555]{padding-top:.366047rem!important}.pr-2[data-v-35ebf555]{padding-right:.366047rem!important}.pb-2[data-v-35ebf555]{padding-bottom:.366047rem!important}.pl-2[data-v-35ebf555]{padding-left:.366047rem!important}.p-3[data-v-35ebf555]{padding:.732094rem!important}.pt-3[data-v-35ebf555]{padding-top:.732094rem!important}.pr-3[data-v-35ebf555]{padding-right:.732094rem!important}.pb-3[data-v-35ebf555]{padding-bottom:.732094rem!important}.pl-3[data-v-35ebf555]{padding-left:.732094rem!important}.p-4[data-v-35ebf555]{padding:1.09814rem!important}.pt-4[data-v-35ebf555]{padding-top:1.09814rem!important}.pr-4[data-v-35ebf555]{padding-right:1.09814rem!important}.pb-4[data-v-35ebf555]{padding-bottom:1.09814rem!important}.pl-4[data-v-35ebf555]{padding-left:1.09814rem!important}.p-5[data-v-35ebf555]{padding:1.46419rem!important}.pt-5[data-v-35ebf555]{padding-top:1.46419rem!important}.pr-5[data-v-35ebf555]{padding-right:1.46419rem!important}.pb-5[data-v-35ebf555]{padding-bottom:1.46419rem!important}.pl-5[data-v-35ebf555]{padding-left:1.46419rem!important}.p-6[data-v-35ebf555]{padding:1.83024rem!important}.pt-6[data-v-35ebf555]{padding-top:1.83024rem!important}.pr-6[data-v-35ebf555]{padding-right:1.83024rem!important}.pb-6[data-v-35ebf555]{padding-bottom:1.83024rem!important}.pl-6[data-v-35ebf555]{padding-left:1.83024rem!important}.p-7[data-v-35ebf555]{padding:2.19628rem!important}.pt-7[data-v-35ebf555]{padding-top:2.19628rem!important}.pr-7[data-v-35ebf555]{padding-right:2.19628rem!important}.pb-7[data-v-35ebf555]{padding-bottom:2.19628rem!important}.pl-7[data-v-35ebf555]{padding-left:2.19628rem!important}.oga-material[data-v-35ebf555]{clear:both;padding:.375rem 0;position:relative}.oga-material:has(.is-focus,.is-focused) .oga-material-label[data-v-35ebf555]{color:#409eff}.oga-material.no-tips .el-form-item__error[data-v-35ebf555],.oga-material.no-tips+.el-form-item__error[data-v-35ebf555]{opacity:0}.oga-material .el-input.is-disabled .el-input__inner[data-v-35ebf555]{background:0 0}.oga-material .el-input.is-round .el-input__wrapper[data-v-35ebf555],.oga-material .el-range-editor.is-round[data-v-35ebf555],.oga-material .is-round .el-select__wrapper[data-v-35ebf555],.oga-material .is-round .el-input__wrapper[data-v-35ebf555],.oga-material .el-input-number.is-round .el-input__wrapper[data-v-35ebf555]{border-radius:var(--el-border-radius-round)}.oga-material .el-input-number.is-round .el-input-number__decrease[data-v-35ebf555]{border-top-left-radius:var(--el-border-radius-round);border-bottom-left-radius:var(--el-border-radius-round)}.oga-material .el-input-number.is-round .el-input-number__increase[data-v-35ebf555]{border-top-right-radius:var(--el-border-radius-round);border-bottom-right-radius:var(--el-border-radius-round)}.oga-material .el-input-tag.is-round[data-v-35ebf555]{border-radius:var(--el-border-radius-round)}.oga-material .el-input-group__prepend[data-v-35ebf555],.oga-material .el-input-group__append[data-v-35ebf555]{padding:0 15px!important}.oga-material .el-date-editor .el-input__wrapper[data-v-35ebf555],.oga-material .el-select[data-v-35ebf555],.oga-material .el-cascader[data-v-35ebf555]{width:100%}.oga-material.borderless .el-input-number .el-input__inner[data-v-35ebf555]{text-align:center}.oga-material.borderless .el-input__inner[data-v-35ebf555]{border-top:0;border-left:0;border-right:0;border-radius:0;padding-left:0;padding-right:0}.oga-material.borderless [class*=el-][data-v-35ebf555]{background-color:#0000;border-top:0;border-left:0;border-right:0;border-radius:0}.oga-material.borderless .el-date-editor--date.el-input--prefix .el-input__inner[data-v-35ebf555]{padding-left:1.875rem}.oga-material-label[data-v-35ebf555]{color:#c0c4cc;z-index:2;background-color:#fff;border-radius:5px;padding-left:2px;padding-right:2px;font-size:.75rem;line-height:.75rem;transition:all .2s;position:absolute;top:0;left:1rem;opacity:1!important}.oga-material-label[data-v-35ebf555]:not(.active){opacity:0}.oga-material+.el-form-item__error[data-v-35ebf555]{padding-top:0}.oga-form .el-form-item.is-error .oga-material-label[data-v-35ebf555]{color:#f56c6c}.oga-form.gutter-less .el-form-item[data-v-35ebf555]:not(:last-child){margin-bottom:.625rem}.oga-form.gutter-less .el-form-item[data-v-35ebf555]:last-child,.oga-form.borderless .el-form-item[data-v-35ebf555]{margin-bottom:0}.oga-form .el-form-item__content[data-v-35ebf555]{line-height:normal;display:block}.oga-form .oga-material+.el-form-item__error[data-v-35ebf555]{margin-top:-.25rem}.text-truncate[data-v-35ebf555]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.btn-block[data-v-35ebf555]{width:100%;display:block}.oga-table[data-v-35ebf555]{flex-direction:column;height:100%;display:flex}.oga-table-image[data-v-35ebf555]{border:1px solid red;display:flex}.oga-table-content[data-v-35ebf555]{border:1px solid var(--el-table-border);flex:1;position:relative;overflow:auto}.oga-table .el-pagination[data-v-35ebf555]{justify-content:flex-end;padding-top:1rem;display:flex;margin:0 -11px!important}.oga-table .el-card[data-v-35ebf555],.oga-table .el-table[data-v-35ebf555]{height:100%}.oga-table .el-table__layers .cell[data-v-35ebf555]{line-height:1.3}.oga-table-batch-operation[data-v-35ebf555]{z-index:5;text-indent:.5rem;background-color:#ffffffb3;align-items:center;width:calc(100% - 55px);height:46px;transition:all .3s;display:flex;position:absolute;top:1px;left:55px}.oga-table-batch-operation .el-dropdown[data-v-35ebf555]{height:100%}.oga-table-batch-operation .el-dropdown .el-dropdown-link div[data-v-35ebf555]{cursor:pointer;background-color:#fff;align-items:center;height:100%;padding:5px 10px 5px 5px;display:flex}.oga-table-batch-operation .el-dropdown .el-dropdown-link b[data-v-35ebf555]{color:#409eff}.oga-table .el-checkbox__input[data-v-35ebf555]{line-height:0}.oga-table .el-table-column--selection[data-v-35ebf555]{position:relative}.oga-table .el-table-column--selection .cell[data-v-35ebf555]{width:100%;height:100%;position:absolute;top:0;left:0;padding:0!important}.oga-table .el-table-column--selection .cell .el-checkbox[data-v-35ebf555]{cursor:pointer;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.oga-table .fox-svg-img[data-v-35ebf555]{width:50px}.oga-table .fox-svg-icon[data-v-35ebf555]{width:50px;height:50px}.oga-table .cell[data-v-35ebf555]{white-space:nowrap;font-weight:400}.oga-table th.el-table__cell.is-sortable>.cell[data-v-35ebf555]{justify-content:space-between;align-items:center;display:flex}.oga-table .el-image[data-v-35ebf555]{width:100%;margin:0;padding:0;display:block;position:relative;overflow:hidden}.oga-table .el-image[data-v-35ebf555]:before{content:"";padding-top:100%;display:block}.oga-table .el-image .el-image__inner[data-v-35ebf555]{object-fit:cover;object-position:center;width:100%;height:100%;position:absolute;top:0;left:0}.oga-header[data-v-35ebf555]{z-index:2;color:#46a0fc;margin-left:calc(var(--asideWidth) * 1px);box-shadow:none;background-color:#030b2c;align-items:center;transition:all .3s;display:flex;position:relative}.oga-header .el-breadcrumb__inner[data-v-35ebf555],.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-35ebf555],.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-35ebf555],.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-35ebf555]:hover,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-35ebf555]:hover{color:#fffc}.oga-header .el-breadcrumb__separator[data-v-35ebf555]{color:#fff9}.oga-header-left[data-v-35ebf555]{flex:1;align-items:center;height:3.75rem;padding:.5rem 1.875rem;display:flex}.oga-header-left .oga-header-icon[data-v-35ebf555]{cursor:pointer;align-items:center;font-size:16px;display:flex}.oga-header-left .oga-header-icon .el-icon[data-v-35ebf555]{margin-right:10px}.oga-header-right[data-v-35ebf555]{align-items:center;height:3.75rem;margin-left:auto;padding:.5rem 1.875rem;display:flex}@media (max-width:768px){.oga-header[data-v-35ebf555]{margin-left:0}}.oga-header .global-header-info[data-v-35ebf555]{align-items:center;display:flex}.oga-header .user-avatar[data-v-35ebf555]{color:#909399;cursor:pointer;align-items:center;margin-left:6px;display:flex}.oga-header .user-avatar .el-avatar[data-v-35ebf555]{margin-right:5px}.oga-header .user-avatar[data-v-35ebf555]{text-transform:uppercase}.oga-header .ship-calculator[data-v-35ebf555]{width:32px;height:32px;padding:7px!important}.oga-header .ship-calculator i[data-v-35ebf555]{color:#7f7f7f;font-size:18px}.oga-header .el-breadcrumb__inner a[data-v-35ebf555],.oga-header .el-breadcrumb__inner.is-link[data-v-35ebf555]{font-weight:400}.oga-layout[data-v-35ebf555]{flex-direction:column;height:100%;margin-left:0;transition:all .3s;display:flex;position:relative;overflow:hidden}.oga-layout-footer[data-v-35ebf555]{text-align:center;color:#909399;text-indent:200px;flex-shrink:0;padding-top:6px;font-size:10px}.oga-layout-mask[data-v-35ebf555]{content:"";z-index:4;background-color:#000c;width:calc(100% - 200px);height:100%;position:absolute;top:0;left:200px}.oga-layout-mask[data-v-35ebf555]:not(.active){display:none}@media (min-width:768px){.oga-layout-mask[data-v-35ebf555]{display:none}}.oga-layout-fold[data-v-35ebf555]{cursor:pointer;z-index:11;justify-content:center;align-items:center;width:60px;height:60px;font-size:24px;display:flex;position:absolute;top:0;right:-60px}.oga-layout-fold img[data-v-35ebf555]{width:24px;height:24px}@media (min-width:768px){.oga-layout-fold[data-v-35ebf555]{display:none}}.oga-layout-aside[data-v-35ebf555]{z-index:1;height:100vh;width:calc(var(--asideWidth) * 1px);background-color:#fafafa;border-right:1px dotted #dee1e5;flex-direction:column;transition:all .3s;display:flex;position:absolute;top:0;left:0}.oga-layout-aside-logo[data-v-35ebf555]{height:3.75rem;width:calc(var(--asideWidth) * 1px);background-color:#030b2c;align-items:center;padding:.5rem 1rem;display:flex}.oga-layout-aside-logo img[data-v-35ebf555]{max-width:7.5rem;max-height:2.5rem}.oga-layout-aside-menu[data-v-35ebf555]{background:0 0;border:0;padding-top:1rem}.oga-layout-aside-menu .oga-icon[data-v-35ebf555]{margin-right:3px;font-size:20px}.oga-layout-aside-menu .el-menu[data-v-35ebf555]{background:0 0}.oga-layout-aside-menu .el-menu-item.is-active[data-v-35ebf555]{font-weight:700}.oga-layout-aside-menu .el-sub-menu .el-sub-menu__title[data-v-35ebf555]{position:relative}.oga-layout-aside-menu .el-sub-menu .el-sub-menu__title .el-sub-menu__icon-arrow[data-v-35ebf555]{display:none}.oga-layout-aside-menu .el-sub-menu .el-menu-item[data-v-35ebf555]{background:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%229%22%20width%3D%221.5%22%20height%3D%2228%22%20fill%3D%22%23CECECE%22%2F%3E%3C%2Fsvg%3E) 20px 0 repeat-y;height:1.875rem;line-height:1.875rem;position:relative;padding-left:3rem!important}.oga-layout-aside-menu .el-sub-menu .el-menu-item.is-active[data-v-35ebf555]{background:url("data:image/svg+xml,%3Csvg%20width%3D'21'%20height%3D'28'%20viewBox%3D'0%200%2021%2028'%20fill%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%2014.25H19.75V15.75H19V14.25ZM10.077%2013.362L10.7452%2013.0215V13.0215L10.077%2013.362ZM11.388%2014.673L11.7285%2014.0048H11.7285L11.388%2014.673ZM10.5%200V10.2H9V0H10.5ZM14.55%2014.25H19V15.75H14.55V14.25ZM10.5%2010.2C10.5%2011.0525%2010.5006%2011.6467%2010.5384%2012.1093C10.5755%2012.5632%2010.6446%2012.824%2010.7452%2013.0215L9.40873%2013.7025C9.18239%2013.2582%209.08803%2012.7781%209.04336%2012.2315C8.99942%2011.6936%209%2011.0277%209%2010.2H10.5ZM14.55%2015.75C13.7223%2015.75%2013.0564%2015.7506%2012.5185%2015.7066C11.9719%2015.662%2011.4918%2015.5676%2011.0475%2015.3413L11.7285%2014.0048C11.926%2014.1054%2012.1868%2014.1745%2012.6407%2014.2116C13.1033%2014.2494%2013.6975%2014.25%2014.55%2014.25V15.75ZM10.7452%2013.0215C10.9609%2013.4448%2011.3052%2013.7891%2011.7285%2014.0048L11.0475%2015.3413C10.3419%2014.9817%209.76825%2014.4081%209.40873%2013.7025L10.7452%2013.0215Z'%20fill%3D'%23CECECE'/%3E%3Cpath%20d%3D'M17%2012L20%2015L17%2018'%20stroke%3D'%23CECECE'%20stroke-width%3D'1.5'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'/%3E%3C/svg%3E%0A") 20px 0 no-repeat}.oga-layout-aside-menu .el-sub-menu .el-menu-item.is-active~.el-menu-item[data-v-35ebf555],.oga-layout-aside-menu .el-sub-menu:not(.is-active) .el-menu-item[data-v-35ebf555]{background:0 0!important}.oga-layout-aside-menu .el-sub-menu__title[data-v-35ebf555],.oga-layout-aside-menu .el-menu-item[data-v-35ebf555]{height:1.5rem;line-height:1.5rem}.oga-layout-aside-content[data-v-35ebf555]{flex:1;position:relative;overflow-y:auto}.oga-layout-aside-footer[data-v-35ebf555]{cursor:pointer;flex-shrink:0;align-items:center;padding:.5rem 1.25rem;font-size:.8125rem;display:flex}.oga-layout-aside-footer .oga-icon[data-v-35ebf555]{vertical-align:center;margin-right:.25rem;font-size:1.25rem}@media (max-width:768px){.oga-layout-aside[data-v-35ebf555]{left:calc(var(--asideWidth) * -1px)}.oga-layout-aside .global-aside-mask[data-v-35ebf555]{display:block}.oga-layout-aside.active[data-v-35ebf555]{left:0}}
|
|
2
|
+
/*$vite$:1*/
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, renderSlot, resolveComponent, toDisplayString, useAttrs, useModel, useSlots, withCtx } from "vue";
|
|
2
|
+
var _hoisted_1 = { class: "oga-material-label" }, src_default = /* @__PURE__ */ ((e, u) => {
|
|
3
|
+
let d = e.__vccOpts || e;
|
|
4
|
+
for (let [e, f] of u) d[e] = f;
|
|
5
|
+
return d;
|
|
6
|
+
})(/* @__PURE__ */ defineComponent({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: /* @__PURE__ */ mergeModels({
|
|
10
|
+
placeholder: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: ""
|
|
13
|
+
},
|
|
14
|
+
label: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
},
|
|
18
|
+
errorTips: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
},
|
|
22
|
+
round: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
}
|
|
26
|
+
}, {
|
|
27
|
+
modelValue: {},
|
|
28
|
+
modelModifiers: {}
|
|
29
|
+
}),
|
|
30
|
+
emits: ["update:modelValue"],
|
|
31
|
+
setup(p) {
|
|
32
|
+
let m = { ...useAttrs() }, _ = useModel(p, "modelValue");
|
|
33
|
+
return (h, g) => {
|
|
34
|
+
let v = resolveComponent("el-input");
|
|
35
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["oga-material", `${p.errorTips ? "" : " no-tips"}`]) }, [createElementVNode("label", _hoisted_1, toDisplayString(p.label), 1), createVNode(v, mergeProps(m, {
|
|
36
|
+
modelValue: _.value,
|
|
37
|
+
"onUpdate:modelValue": g[0] ||= (e) => _.value = e,
|
|
38
|
+
class: p.round ? "is-round" : "",
|
|
39
|
+
placeholder: p.placeholder
|
|
40
|
+
}), createSlots({ _: 2 }, [
|
|
41
|
+
useSlots().append ? {
|
|
42
|
+
name: "append",
|
|
43
|
+
fn: withCtx(() => [renderSlot(h.$slots, "append", {}, void 0, !0)]),
|
|
44
|
+
key: "0"
|
|
45
|
+
} : void 0,
|
|
46
|
+
useSlots().prepend ? {
|
|
47
|
+
name: "prepend",
|
|
48
|
+
fn: withCtx(() => [renderSlot(h.$slots, "prepend", {}, void 0, !0)]),
|
|
49
|
+
key: "1"
|
|
50
|
+
} : void 0,
|
|
51
|
+
useSlots().default ? {
|
|
52
|
+
name: "default",
|
|
53
|
+
fn: withCtx(() => [renderSlot(h.$slots, "default", {}, void 0, !0)]),
|
|
54
|
+
key: "2"
|
|
55
|
+
} : void 0,
|
|
56
|
+
useSlots().suffix ? {
|
|
57
|
+
name: "suffix",
|
|
58
|
+
fn: withCtx(() => [renderSlot(h.$slots, "suffix", {}, void 0, !0)]),
|
|
59
|
+
key: "3"
|
|
60
|
+
} : void 0,
|
|
61
|
+
useSlots().suffix ? {
|
|
62
|
+
name: "suffix",
|
|
63
|
+
fn: withCtx(() => [renderSlot(h.$slots, "suffix", {}, void 0, !0)]),
|
|
64
|
+
key: "4"
|
|
65
|
+
} : void 0
|
|
66
|
+
]), 1040, [
|
|
67
|
+
"modelValue",
|
|
68
|
+
"class",
|
|
69
|
+
"placeholder"
|
|
70
|
+
])], 2);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}), [["__scopeId", "data-v-35ebf555"]]), input_default = { install(e) {
|
|
74
|
+
e.component("OgaInput", src_default);
|
|
75
|
+
} };
|
|
76
|
+
export { input_default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?module.exports=t(require(`vue`)):typeof define==`function`&&define.amd?define([`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,e.index=t(e.Vue))})(this,function(e){var t={class:`oga-material-label`},n=((e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n})((0,e.defineComponent)({inheritAttrs:!1,__name:`index`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(n){let r={...(0,e.useAttrs)()},i=(0,e.useModel)(n,`modelValue`);return(a,o)=>{let s=(0,e.resolveComponent)(`el-input`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${n.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,t,(0,e.toDisplayString)(n.label),1),(0,e.createVNode)(s,(0,e.mergeProps)(r,{modelValue:i.value,"onUpdate:modelValue":o[0]||=e=>i.value=e,class:n.round?`is-round`:``,placeholder:n.placeholder}),(0,e.createSlots)({_:2},[(0,e.useSlots)().append?{name:`append`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(a.$slots,`append`,{},void 0,!0)]),key:`0`}:void 0,(0,e.useSlots)().prepend?{name:`prepend`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(a.$slots,`prepend`,{},void 0,!0)]),key:`1`}:void 0,(0,e.useSlots)().default?{name:`default`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(a.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0,(0,e.useSlots)().suffix?{name:`suffix`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(a.$slots,`suffix`,{},void 0,!0)]),key:`3`}:void 0,(0,e.useSlots)().suffix?{name:`suffix`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(a.$slots,`suffix`,{},void 0,!0)]),key:`4`}:void 0]),1040,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-35ebf555`]]);return{install(e){e.component(`OgaInput`,n)}}});
|
package/layout/index.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
:root{--inner-color:#3779eb4d;--inner-shadow:0 0 10px 0 var(--inner-color) inset}.m-0{margin:0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0{margin-left:0!important}.m-1{margin:.183024rem!important}.mt-1{margin-top:.183024rem!important}.mr-1{margin-right:.183024rem!important}.mb-1{margin-bottom:.183024rem!important}.ml-1{margin-left:.183024rem!important}.m-2{margin:.366047rem!important}.mt-2{margin-top:.366047rem!important}.mr-2{margin-right:.366047rem!important}.mb-2{margin-bottom:.366047rem!important}.ml-2{margin-left:.366047rem!important}.m-3{margin:.732094rem!important}.mt-3{margin-top:.732094rem!important}.mr-3{margin-right:.732094rem!important}.mb-3{margin-bottom:.732094rem!important}.ml-3{margin-left:.732094rem!important}.m-4{margin:1.09814rem!important}.mt-4{margin-top:1.09814rem!important}.mr-4{margin-right:1.09814rem!important}.mb-4{margin-bottom:1.09814rem!important}.ml-4{margin-left:1.09814rem!important}.m-5{margin:1.46419rem!important}.mt-5{margin-top:1.46419rem!important}.mr-5{margin-right:1.46419rem!important}.mb-5{margin-bottom:1.46419rem!important}.ml-5{margin-left:1.46419rem!important}.m-6{margin:1.83024rem!important}.mt-6{margin-top:1.83024rem!important}.mr-6{margin-right:1.83024rem!important}.mb-6{margin-bottom:1.83024rem!important}.ml-6{margin-left:1.83024rem!important}.m-7{margin:2.19628rem!important}.mt-7{margin-top:2.19628rem!important}.mr-7{margin-right:2.19628rem!important}.mb-7{margin-bottom:2.19628rem!important}.ml-7{margin-left:2.19628rem!important}.p-0{padding:0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.p-1{padding:.183024rem!important}.pt-1{padding-top:.183024rem!important}.pr-1{padding-right:.183024rem!important}.pb-1{padding-bottom:.183024rem!important}.pl-1{padding-left:.183024rem!important}.p-2{padding:.366047rem!important}.pt-2{padding-top:.366047rem!important}.pr-2{padding-right:.366047rem!important}.pb-2{padding-bottom:.366047rem!important}.pl-2{padding-left:.366047rem!important}.p-3{padding:.732094rem!important}.pt-3{padding-top:.732094rem!important}.pr-3{padding-right:.732094rem!important}.pb-3{padding-bottom:.732094rem!important}.pl-3{padding-left:.732094rem!important}.p-4{padding:1.09814rem!important}.pt-4{padding-top:1.09814rem!important}.pr-4{padding-right:1.09814rem!important}.pb-4{padding-bottom:1.09814rem!important}.pl-4{padding-left:1.09814rem!important}.p-5{padding:1.46419rem!important}.pt-5{padding-top:1.46419rem!important}.pr-5{padding-right:1.46419rem!important}.pb-5{padding-bottom:1.46419rem!important}.pl-5{padding-left:1.46419rem!important}.p-6{padding:1.83024rem!important}.pt-6{padding-top:1.83024rem!important}.pr-6{padding-right:1.83024rem!important}.pb-6{padding-bottom:1.83024rem!important}.pl-6{padding-left:1.83024rem!important}.p-7{padding:2.19628rem!important}.pt-7{padding-top:2.19628rem!important}.pr-7{padding-right:2.19628rem!important}.pb-7{padding-bottom:2.19628rem!important}.pl-7{padding-left:2.19628rem!important}.oga-material{clear:both;padding:.375rem 0;position:relative}.oga-material:has(.is-focus,.is-focused) .oga-material-label{color:#409eff}.oga-material.no-tips .el-form-item__error,.oga-material.no-tips+.el-form-item__error{opacity:0}.oga-material .el-input.is-disabled .el-input__inner{background:0 0}.oga-material .el-input.is-round .el-input__wrapper,.oga-material .el-range-editor.is-round,.oga-material .is-round .el-select__wrapper,.oga-material .is-round .el-input__wrapper,.oga-material .el-input-number.is-round .el-input__wrapper{border-radius:var(--el-border-radius-round)}.oga-material .el-input-number.is-round .el-input-number__decrease{border-top-left-radius:var(--el-border-radius-round);border-bottom-left-radius:var(--el-border-radius-round)}.oga-material .el-input-number.is-round .el-input-number__increase{border-top-right-radius:var(--el-border-radius-round);border-bottom-right-radius:var(--el-border-radius-round)}.oga-material .el-input-tag.is-round{border-radius:var(--el-border-radius-round)}.oga-material .el-input-group__prepend,.oga-material .el-input-group__append{padding:0 15px!important}.oga-material .el-date-editor .el-input__wrapper,.oga-material .el-select,.oga-material .el-cascader{width:100%}.oga-material.borderless .el-input-number .el-input__inner{text-align:center}.oga-material.borderless .el-input__inner{border-top:0;border-left:0;border-right:0;border-radius:0;padding-left:0;padding-right:0}.oga-material.borderless [class*=el-]{background-color:#0000;border-top:0;border-left:0;border-right:0;border-radius:0}.oga-material.borderless .el-date-editor--date.el-input--prefix .el-input__inner{padding-left:1.875rem}.oga-material-label{color:#c0c4cc;z-index:2;background-color:#fff;border-radius:5px;padding-left:2px;padding-right:2px;font-size:.75rem;line-height:.75rem;transition:all .2s;position:absolute;top:0;left:1rem;opacity:1!important}.oga-material-label:not(.active){opacity:0}.oga-material+.el-form-item__error{padding-top:0}.oga-form .el-form-item.is-error .oga-material-label{color:#f56c6c}.oga-form.gutter-less .el-form-item:not(:last-child){margin-bottom:.625rem}.oga-form.gutter-less .el-form-item:last-child,.oga-form.borderless .el-form-item{margin-bottom:0}.oga-form .el-form-item__content{line-height:normal;display:block}.oga-form .oga-material+.el-form-item__error{margin-top:-.25rem}.text-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.btn-block{width:100%;display:block}.oga-table{flex-direction:column;height:100%;display:flex}.oga-table-image{border:1px solid red;display:flex}.oga-table-content{border:1px solid var(--el-table-border);flex:1;position:relative;overflow:auto}.oga-table .el-pagination{justify-content:flex-end;padding-top:1rem;display:flex;margin:0 -11px!important}.oga-table .el-card,.oga-table .el-table{height:100%}.oga-table .el-table__layers .cell{line-height:1.3}.oga-table-batch-operation{z-index:5;text-indent:.5rem;background-color:#ffffffb3;align-items:center;width:calc(100% - 55px);height:46px;transition:all .3s;display:flex;position:absolute;top:1px;left:55px}.oga-table-batch-operation .el-dropdown{height:100%}.oga-table-batch-operation .el-dropdown .el-dropdown-link div{cursor:pointer;background-color:#fff;align-items:center;height:100%;padding:5px 10px 5px 5px;display:flex}.oga-table-batch-operation .el-dropdown .el-dropdown-link b{color:#409eff}.oga-table .el-checkbox__input{line-height:0}.oga-table .el-table-column--selection{position:relative}.oga-table .el-table-column--selection .cell{width:100%;height:100%;position:absolute;top:0;left:0;padding:0!important}.oga-table .el-table-column--selection .cell .el-checkbox{cursor:pointer;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.oga-table .fox-svg-img{width:50px}.oga-table .fox-svg-icon{width:50px;height:50px}.oga-table .cell{white-space:nowrap;font-weight:400}.oga-table th.el-table__cell.is-sortable>.cell{justify-content:space-between;align-items:center;display:flex}.oga-table .el-image{width:100%;margin:0;padding:0;display:block;position:relative;overflow:hidden}.oga-table .el-image:before{content:"";padding-top:100%;display:block}.oga-table .el-image .el-image__inner{object-fit:cover;object-position:center;width:100%;height:100%;position:absolute;top:0;left:0}.oga-header{z-index:2;color:#46a0fc;margin-left:calc(var(--asideWidth) * 1px);box-shadow:none;background-color:#030b2c;align-items:center;transition:all .3s;display:flex;position:relative}.oga-header .el-breadcrumb__inner,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner a,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:#fffc}.oga-header .el-breadcrumb__separator{color:#fff9}.oga-header-left{flex:1;align-items:center;height:3.75rem;padding:.5rem 1.875rem;display:flex}.oga-header-left .oga-header-icon{cursor:pointer;align-items:center;font-size:16px;display:flex}.oga-header-left .oga-header-icon .el-icon{margin-right:10px}.oga-header-right{align-items:center;height:3.75rem;margin-left:auto;padding:.5rem 1.875rem;display:flex}@media (max-width:768px){.oga-header{margin-left:0}}.oga-header .global-header-info{align-items:center;display:flex}.oga-header .user-avatar{color:#909399;cursor:pointer;align-items:center;margin-left:6px;display:flex}.oga-header .user-avatar .el-avatar{margin-right:5px}.oga-header .user-avatar{text-transform:uppercase}.oga-header .ship-calculator{width:32px;height:32px;padding:7px!important}.oga-header .ship-calculator i{color:#7f7f7f;font-size:18px}.oga-header .el-breadcrumb__inner a,.oga-header .el-breadcrumb__inner.is-link{font-weight:400}.oga-layout{flex-direction:column;height:100%;margin-left:0;transition:all .3s;display:flex;position:relative;overflow:hidden}.oga-layout-footer{text-align:center;color:#909399;text-indent:200px;flex-shrink:0;padding-top:6px;font-size:10px}.oga-layout-mask{content:"";z-index:4;background-color:#000c;width:calc(100% - 200px);height:100%;position:absolute;top:0;left:200px}.oga-layout-mask:not(.active){display:none}@media (min-width:768px){.oga-layout-mask{display:none}}.oga-layout-fold{cursor:pointer;z-index:11;justify-content:center;align-items:center;width:60px;height:60px;font-size:24px;display:flex;position:absolute;top:0;right:-60px}.oga-layout-fold img{width:24px;height:24px}@media (min-width:768px){.oga-layout-fold{display:none}}.oga-layout-aside{z-index:1;height:100vh;width:calc(var(--asideWidth) * 1px);background-color:#fafafa;border-right:1px dotted #dee1e5;flex-direction:column;transition:all .3s;display:flex;position:absolute;top:0;left:0}.oga-layout-aside-logo{height:3.75rem;width:calc(var(--asideWidth) * 1px);background-color:#030b2c;align-items:center;padding:.5rem 1rem;display:flex}.oga-layout-aside-logo img{max-width:7.5rem;max-height:2.5rem}.oga-layout-aside-menu{background:0 0;border:0;padding-top:1rem}.oga-layout-aside-menu .oga-icon{margin-right:3px;font-size:20px}.oga-layout-aside-menu .el-menu{background:0 0}.oga-layout-aside-menu .el-menu-item.is-active{font-weight:700}.oga-layout-aside-menu .el-sub-menu .el-sub-menu__title{position:relative}.oga-layout-aside-menu .el-sub-menu .el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.oga-layout-aside-menu .el-sub-menu .el-menu-item{background:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%229%22%20width%3D%221.5%22%20height%3D%2228%22%20fill%3D%22%23CECECE%22%2F%3E%3C%2Fsvg%3E) 20px 0 repeat-y;height:1.875rem;line-height:1.875rem;position:relative;padding-left:3rem!important}.oga-layout-aside-menu .el-sub-menu .el-menu-item.is-active{background:url("data:image/svg+xml,%3Csvg%20width%3D'21'%20height%3D'28'%20viewBox%3D'0%200%2021%2028'%20fill%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%2014.25H19.75V15.75H19V14.25ZM10.077%2013.362L10.7452%2013.0215V13.0215L10.077%2013.362ZM11.388%2014.673L11.7285%2014.0048H11.7285L11.388%2014.673ZM10.5%200V10.2H9V0H10.5ZM14.55%2014.25H19V15.75H14.55V14.25ZM10.5%2010.2C10.5%2011.0525%2010.5006%2011.6467%2010.5384%2012.1093C10.5755%2012.5632%2010.6446%2012.824%2010.7452%2013.0215L9.40873%2013.7025C9.18239%2013.2582%209.08803%2012.7781%209.04336%2012.2315C8.99942%2011.6936%209%2011.0277%209%2010.2H10.5ZM14.55%2015.75C13.7223%2015.75%2013.0564%2015.7506%2012.5185%2015.7066C11.9719%2015.662%2011.4918%2015.5676%2011.0475%2015.3413L11.7285%2014.0048C11.926%2014.1054%2012.1868%2014.1745%2012.6407%2014.2116C13.1033%2014.2494%2013.6975%2014.25%2014.55%2014.25V15.75ZM10.7452%2013.0215C10.9609%2013.4448%2011.3052%2013.7891%2011.7285%2014.0048L11.0475%2015.3413C10.3419%2014.9817%209.76825%2014.4081%209.40873%2013.7025L10.7452%2013.0215Z'%20fill%3D'%23CECECE'/%3E%3Cpath%20d%3D'M17%2012L20%2015L17%2018'%20stroke%3D'%23CECECE'%20stroke-width%3D'1.5'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'/%3E%3C/svg%3E%0A") 20px 0 no-repeat}.oga-layout-aside-menu .el-sub-menu .el-menu-item.is-active~.el-menu-item,.oga-layout-aside-menu .el-sub-menu:not(.is-active) .el-menu-item{background:0 0!important}.oga-layout-aside-menu .el-sub-menu__title,.oga-layout-aside-menu .el-menu-item{height:1.5rem;line-height:1.5rem}.oga-layout-aside-content{flex:1;position:relative;overflow-y:auto}.oga-layout-aside-footer{cursor:pointer;flex-shrink:0;align-items:center;padding:.5rem 1.25rem;font-size:.8125rem;display:flex}.oga-layout-aside-footer .oga-icon{vertical-align:center;margin-right:.25rem;font-size:1.25rem}@media (max-width:768px){.oga-layout-aside{left:calc(var(--asideWidth) * -1px)}.oga-layout-aside .global-aside-mask{display:block}.oga-layout-aside.active{left:0}}
|
|
2
|
+
/*$vite$:1*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, resolveComponent, toDisplayString, unref, useSlots } from "vue";
|
|
2
|
+
const isEmpty = (e) => e == null || e.trim().length === 0;
|
|
3
|
+
var _hoisted_1 = { class: "oga-layout" }, _hoisted_2 = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "oga-layout-aside-header"
|
|
6
|
+
}, _hoisted_3 = { class: "oga-layout-aside-content" }, _hoisted_4 = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "oga-layout-aside-footer"
|
|
9
|
+
}, src_default = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: {
|
|
12
|
+
isRouterView: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: () => !0
|
|
15
|
+
},
|
|
16
|
+
copyright: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: () => ""
|
|
19
|
+
},
|
|
20
|
+
asideCss: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: () => ""
|
|
23
|
+
},
|
|
24
|
+
asideTop: {
|
|
25
|
+
type: Number,
|
|
26
|
+
default: () => 0
|
|
27
|
+
},
|
|
28
|
+
asideBottom: {
|
|
29
|
+
type: Number,
|
|
30
|
+
default: () => 0
|
|
31
|
+
},
|
|
32
|
+
asideWidth: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: () => 200
|
|
35
|
+
},
|
|
36
|
+
foldIcon: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: () => "el-icon-s-fold"
|
|
39
|
+
},
|
|
40
|
+
foldIconHeight: {
|
|
41
|
+
type: Number,
|
|
42
|
+
default: () => 60
|
|
43
|
+
},
|
|
44
|
+
maskBackground: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: () => ""
|
|
47
|
+
},
|
|
48
|
+
headerColor: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: () => "#030b2c"
|
|
51
|
+
},
|
|
52
|
+
footerIndent: {
|
|
53
|
+
type: Number,
|
|
54
|
+
default: () => 200
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
emits: ["aside"],
|
|
58
|
+
setup(h, { emit: y }) {
|
|
59
|
+
let b = ref((/* @__PURE__ */ new Date()).getFullYear()), x = ref({}), S = ref(""), C = ref(""), w = ref(""), T = ref(""), E = ref({}), D = useSlots(), O = ref(!1), k = h, A = {};
|
|
60
|
+
k.asideTop > 0 && (A.top = `${k.asideTop}px`), (k.asideBottom > 0 || k.asideTop > 0) && (A.height = `calc(100% - ${k.asideTop + k.asideBottom}px)`), x.value = {
|
|
61
|
+
"--asideWidth": k.asideWidth,
|
|
62
|
+
...A
|
|
63
|
+
}, E.value = { "--asideWidth": k.asideWidth }, S.value = isEmpty(k.maskBackground) ? "" : `background-color: ${k.maskBackground}`, C.value = k.foldIconHeight !== 60 && k.foldIconHeight > 0 ? `width: ${k.foldIconHeight}px;height:${k.foldIconHeight}px` : "", w.value = k.foldIconHeight !== 60 && k.foldIconHeight > 0 ? `font-size: ${k.foldIconHeight / 2}px` : "", T.value = k.footerIndent > 0 && k.footerIndent !== 200 ? `text-indent:${k.footerIndent}px` : "";
|
|
64
|
+
let j = y, M = () => {
|
|
65
|
+
j("aside");
|
|
66
|
+
};
|
|
67
|
+
return (g, _) => {
|
|
68
|
+
let v = resolveComponent("router-view");
|
|
69
|
+
return openBlock(), createElementBlock("section", _hoisted_1, [
|
|
70
|
+
unref(D).aside ? (openBlock(), createElementBlock("div", {
|
|
71
|
+
key: 0,
|
|
72
|
+
style: normalizeStyle(x.value),
|
|
73
|
+
class: normalizeClass(["oga-layout-aside", `${O.value ? "active " : ""}${h.asideCss}${g.$slots.asideFooter ? " has-footer" : ""}`]),
|
|
74
|
+
onClick: M
|
|
75
|
+
}, [
|
|
76
|
+
g.$slots.asideHeader ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(g.$slots, "asideHeader")])) : createCommentVNode("v-if", !0),
|
|
77
|
+
createElementVNode("div", _hoisted_3, [renderSlot(g.$slots, "aside")]),
|
|
78
|
+
g.$slots.asideFooter ? (openBlock(), createElementBlock("div", _hoisted_4, [renderSlot(g.$slots, "asideFooter")])) : createCommentVNode("v-if", !0)
|
|
79
|
+
], 6)) : createCommentVNode("v-if", !0),
|
|
80
|
+
g.$slots.header ? (openBlock(), createElementBlock("div", {
|
|
81
|
+
key: 1,
|
|
82
|
+
class: "oga-header",
|
|
83
|
+
style: normalizeStyle(E.value)
|
|
84
|
+
}, [renderSlot(g.$slots, "header")], 4)) : createCommentVNode("v-if", !0),
|
|
85
|
+
h.isRouterView ? (openBlock(), createBlock(v, { key: 2 })) : createCommentVNode("v-if", !0),
|
|
86
|
+
renderSlot(g.$slots, "default"),
|
|
87
|
+
g.$slots.footer ? renderSlot(g.$slots, "footer", { key: 3 }) : createCommentVNode("v-if", !0),
|
|
88
|
+
h.copyright ? (openBlock(), createElementBlock("footer", {
|
|
89
|
+
key: 4,
|
|
90
|
+
class: "oga-layout-footer",
|
|
91
|
+
style: normalizeStyle(T.value)
|
|
92
|
+
}, "© " + toDisplayString(b.value) + " " + toDisplayString(h.copyright), 5)) : createCommentVNode("v-if", !0),
|
|
93
|
+
createElementVNode("div", {
|
|
94
|
+
class: normalizeClass(["oga-layout-mask", O.value ? "active" : ""]),
|
|
95
|
+
style: normalizeStyle(`width: calc(100% - ${E.value}px);${S.value}`),
|
|
96
|
+
onClick: _[0] ||= (e) => O.value = !1
|
|
97
|
+
}, null, 6)
|
|
98
|
+
]);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}), layout_default = { install(e) {
|
|
102
|
+
e.component("OgaLayout", src_default);
|
|
103
|
+
} };
|
|
104
|
+
export { layout_default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?module.exports=t(require(`vue`)):typeof define==`function`&&define.amd?define([`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,e.index=t(e.Vue))})(this,function(e){let t=e=>e==null||e.trim().length===0;var n={class:`oga-layout`},r={key:0,class:`oga-layout-aside-header`},i={class:`oga-layout-aside-content`},a={key:1,class:`oga-layout-aside-footer`},o=(0,e.defineComponent)({__name:`index`,props:{isRouterView:{type:Boolean,default:()=>!0},copyright:{type:String,default:()=>``},asideCss:{type:String,default:()=>``},asideTop:{type:Number,default:()=>0},asideBottom:{type:Number,default:()=>0},asideWidth:{type:Number,default:()=>200},foldIcon:{type:String,default:()=>`el-icon-s-fold`},foldIconHeight:{type:Number,default:()=>60},maskBackground:{type:String,default:()=>``},headerColor:{type:String,default:()=>`#030b2c`},footerIndent:{type:Number,default:()=>200}},emits:[`aside`],setup(o,{emit:s}){let c=(0,e.ref)(new Date().getFullYear()),l=(0,e.ref)({}),u=(0,e.ref)(``),d=(0,e.ref)(``),f=(0,e.ref)(``),p=(0,e.ref)(``),m=(0,e.ref)({}),h=(0,e.useSlots)(),g=(0,e.ref)(!1),_=o,v={};_.asideTop>0&&(v.top=`${_.asideTop}px`),(_.asideBottom>0||_.asideTop>0)&&(v.height=`calc(100% - ${_.asideTop+_.asideBottom}px)`),l.value={"--asideWidth":_.asideWidth,...v},m.value={"--asideWidth":_.asideWidth},u.value=t(_.maskBackground)?``:`background-color: ${_.maskBackground}`,d.value=_.foldIconHeight!==60&&_.foldIconHeight>0?`width: ${_.foldIconHeight}px;height:${_.foldIconHeight}px`:``,f.value=_.foldIconHeight!==60&&_.foldIconHeight>0?`font-size: ${_.foldIconHeight/2}px`:``,p.value=_.footerIndent>0&&_.footerIndent!==200?`text-indent:${_.footerIndent}px`:``;let y=s,b=()=>{y(`aside`)};return(t,s)=>{let d=(0,e.resolveComponent)(`router-view`);return(0,e.openBlock)(),(0,e.createElementBlock)(`section`,n,[(0,e.unref)(h).aside?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,style:(0,e.normalizeStyle)(l.value),class:(0,e.normalizeClass)([`oga-layout-aside`,`${g.value?`active `:``}${o.asideCss}${t.$slots.asideFooter?` has-footer`:``}`]),onClick:b},[t.$slots.asideHeader?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,r,[(0,e.renderSlot)(t.$slots,`asideHeader`)])):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,i,[(0,e.renderSlot)(t.$slots,`aside`)]),t.$slots.asideFooter?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,a,[(0,e.renderSlot)(t.$slots,`asideFooter`)])):(0,e.createCommentVNode)(`v-if`,!0)],6)):(0,e.createCommentVNode)(`v-if`,!0),t.$slots.header?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:1,class:`oga-header`,style:(0,e.normalizeStyle)(m.value)},[(0,e.renderSlot)(t.$slots,`header`)],4)):(0,e.createCommentVNode)(`v-if`,!0),o.isRouterView?((0,e.openBlock)(),(0,e.createBlock)(d,{key:2})):(0,e.createCommentVNode)(`v-if`,!0),(0,e.renderSlot)(t.$slots,`default`),t.$slots.footer?(0,e.renderSlot)(t.$slots,`footer`,{key:3}):(0,e.createCommentVNode)(`v-if`,!0),o.copyright?((0,e.openBlock)(),(0,e.createElementBlock)(`footer`,{key:4,class:`oga-layout-footer`,style:(0,e.normalizeStyle)(p.value)},`© `+(0,e.toDisplayString)(c.value)+` `+(0,e.toDisplayString)(o.copyright),5)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)([`oga-layout-mask`,g.value?`active`:``]),style:(0,e.normalizeStyle)(`width: calc(100% - ${m.value}px);${u.value}`),onClick:s[0]||=e=>g.value=!1},null,6)])}}});return{install(e){e.component(`OgaLayout`,o)}}});
|
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oga-ui",
|
|
3
|
+
"version": "0.1.38",
|
|
4
|
+
"description": "A Component Library for Vue3",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Joe",
|
|
7
|
+
"email": "joe.bob.xie@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/joebobxie/oga-ui.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"main": "index.umd.ts",
|
|
15
|
+
"module": "index.es.ts",
|
|
16
|
+
"style": "index.css"
|
|
17
|
+
}
|
package/page/index.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
:root{--inner-color:#3779eb4d;--inner-shadow:0 0 10px 0 var(--inner-color) inset}.m-0{margin:0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0{margin-left:0!important}.m-1{margin:.183024rem!important}.mt-1{margin-top:.183024rem!important}.mr-1{margin-right:.183024rem!important}.mb-1{margin-bottom:.183024rem!important}.ml-1{margin-left:.183024rem!important}.m-2{margin:.366047rem!important}.mt-2{margin-top:.366047rem!important}.mr-2{margin-right:.366047rem!important}.mb-2{margin-bottom:.366047rem!important}.ml-2{margin-left:.366047rem!important}.m-3{margin:.732094rem!important}.mt-3{margin-top:.732094rem!important}.mr-3{margin-right:.732094rem!important}.mb-3{margin-bottom:.732094rem!important}.ml-3{margin-left:.732094rem!important}.m-4{margin:1.09814rem!important}.mt-4{margin-top:1.09814rem!important}.mr-4{margin-right:1.09814rem!important}.mb-4{margin-bottom:1.09814rem!important}.ml-4{margin-left:1.09814rem!important}.m-5{margin:1.46419rem!important}.mt-5{margin-top:1.46419rem!important}.mr-5{margin-right:1.46419rem!important}.mb-5{margin-bottom:1.46419rem!important}.ml-5{margin-left:1.46419rem!important}.m-6{margin:1.83024rem!important}.mt-6{margin-top:1.83024rem!important}.mr-6{margin-right:1.83024rem!important}.mb-6{margin-bottom:1.83024rem!important}.ml-6{margin-left:1.83024rem!important}.m-7{margin:2.19628rem!important}.mt-7{margin-top:2.19628rem!important}.mr-7{margin-right:2.19628rem!important}.mb-7{margin-bottom:2.19628rem!important}.ml-7{margin-left:2.19628rem!important}.p-0{padding:0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.p-1{padding:.183024rem!important}.pt-1{padding-top:.183024rem!important}.pr-1{padding-right:.183024rem!important}.pb-1{padding-bottom:.183024rem!important}.pl-1{padding-left:.183024rem!important}.p-2{padding:.366047rem!important}.pt-2{padding-top:.366047rem!important}.pr-2{padding-right:.366047rem!important}.pb-2{padding-bottom:.366047rem!important}.pl-2{padding-left:.366047rem!important}.p-3{padding:.732094rem!important}.pt-3{padding-top:.732094rem!important}.pr-3{padding-right:.732094rem!important}.pb-3{padding-bottom:.732094rem!important}.pl-3{padding-left:.732094rem!important}.p-4{padding:1.09814rem!important}.pt-4{padding-top:1.09814rem!important}.pr-4{padding-right:1.09814rem!important}.pb-4{padding-bottom:1.09814rem!important}.pl-4{padding-left:1.09814rem!important}.p-5{padding:1.46419rem!important}.pt-5{padding-top:1.46419rem!important}.pr-5{padding-right:1.46419rem!important}.pb-5{padding-bottom:1.46419rem!important}.pl-5{padding-left:1.46419rem!important}.p-6{padding:1.83024rem!important}.pt-6{padding-top:1.83024rem!important}.pr-6{padding-right:1.83024rem!important}.pb-6{padding-bottom:1.83024rem!important}.pl-6{padding-left:1.83024rem!important}.p-7{padding:2.19628rem!important}.pt-7{padding-top:2.19628rem!important}.pr-7{padding-right:2.19628rem!important}.pb-7{padding-bottom:2.19628rem!important}.pl-7{padding-left:2.19628rem!important}.oga-material{clear:both;padding:.375rem 0;position:relative}.oga-material:has(.is-focus,.is-focused) .oga-material-label{color:#409eff}.oga-material.no-tips .el-form-item__error,.oga-material.no-tips+.el-form-item__error{opacity:0}.oga-material .el-input.is-disabled .el-input__inner{background:0 0}.oga-material .el-input.is-round .el-input__wrapper,.oga-material .el-range-editor.is-round,.oga-material .is-round .el-select__wrapper,.oga-material .is-round .el-input__wrapper,.oga-material .el-input-number.is-round .el-input__wrapper{border-radius:var(--el-border-radius-round)}.oga-material .el-input-number.is-round .el-input-number__decrease{border-top-left-radius:var(--el-border-radius-round);border-bottom-left-radius:var(--el-border-radius-round)}.oga-material .el-input-number.is-round .el-input-number__increase{border-top-right-radius:var(--el-border-radius-round);border-bottom-right-radius:var(--el-border-radius-round)}.oga-material .el-input-tag.is-round{border-radius:var(--el-border-radius-round)}.oga-material .el-input-group__prepend,.oga-material .el-input-group__append{padding:0 15px!important}.oga-material .el-date-editor .el-input__wrapper,.oga-material .el-select,.oga-material .el-cascader{width:100%}.oga-material.borderless .el-input-number .el-input__inner{text-align:center}.oga-material.borderless .el-input__inner{border-top:0;border-left:0;border-right:0;border-radius:0;padding-left:0;padding-right:0}.oga-material.borderless [class*=el-]{background-color:#0000;border-top:0;border-left:0;border-right:0;border-radius:0}.oga-material.borderless .el-date-editor--date.el-input--prefix .el-input__inner{padding-left:1.875rem}.oga-material-label{color:#c0c4cc;z-index:2;background-color:#fff;border-radius:5px;padding-left:2px;padding-right:2px;font-size:.75rem;line-height:.75rem;transition:all .2s;position:absolute;top:0;left:1rem;opacity:1!important}.oga-material-label:not(.active){opacity:0}.oga-material+.el-form-item__error{padding-top:0}.oga-form .el-form-item.is-error .oga-material-label{color:#f56c6c}.oga-form.gutter-less .el-form-item:not(:last-child){margin-bottom:.625rem}.oga-form.gutter-less .el-form-item:last-child,.oga-form.borderless .el-form-item{margin-bottom:0}.oga-form .el-form-item__content{line-height:normal;display:block}.oga-form .oga-material+.el-form-item__error{margin-top:-.25rem}.text-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.btn-block{width:100%;display:block}.oga-table{flex-direction:column;height:100%;display:flex}.oga-table-image{border:1px solid red;display:flex}.oga-table-content{border:1px solid var(--el-table-border);flex:1;position:relative;overflow:auto}.oga-table .el-pagination{justify-content:flex-end;padding-top:1rem;display:flex;margin:0 -11px!important}.oga-table .el-card,.oga-table .el-table{height:100%}.oga-table .el-table__layers .cell{line-height:1.3}.oga-table-batch-operation{z-index:5;text-indent:.5rem;background-color:#ffffffb3;align-items:center;width:calc(100% - 55px);height:46px;transition:all .3s;display:flex;position:absolute;top:1px;left:55px}.oga-table-batch-operation .el-dropdown{height:100%}.oga-table-batch-operation .el-dropdown .el-dropdown-link div{cursor:pointer;background-color:#fff;align-items:center;height:100%;padding:5px 10px 5px 5px;display:flex}.oga-table-batch-operation .el-dropdown .el-dropdown-link b{color:#409eff}.oga-table .el-checkbox__input{line-height:0}.oga-table .el-table-column--selection{position:relative}.oga-table .el-table-column--selection .cell{width:100%;height:100%;position:absolute;top:0;left:0;padding:0!important}.oga-table .el-table-column--selection .cell .el-checkbox{cursor:pointer;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.oga-table .fox-svg-img{width:50px}.oga-table .fox-svg-icon{width:50px;height:50px}.oga-table .cell{white-space:nowrap;font-weight:400}.oga-table th.el-table__cell.is-sortable>.cell{justify-content:space-between;align-items:center;display:flex}.oga-table .el-image{width:100%;margin:0;padding:0;display:block;position:relative;overflow:hidden}.oga-table .el-image:before{content:"";padding-top:100%;display:block}.oga-table .el-image .el-image__inner{object-fit:cover;object-position:center;width:100%;height:100%;position:absolute;top:0;left:0}.oga-header{z-index:2;color:#46a0fc;margin-left:calc(var(--asideWidth) * 1px);box-shadow:none;background-color:#030b2c;align-items:center;transition:all .3s;display:flex;position:relative}.oga-header .el-breadcrumb__inner,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner a,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.oga-header .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:#fffc}.oga-header .el-breadcrumb__separator{color:#fff9}.oga-header-left{flex:1;align-items:center;height:3.75rem;padding:.5rem 1.875rem;display:flex}.oga-header-left .oga-header-icon{cursor:pointer;align-items:center;font-size:16px;display:flex}.oga-header-left .oga-header-icon .el-icon{margin-right:10px}.oga-header-right{align-items:center;height:3.75rem;margin-left:auto;padding:.5rem 1.875rem;display:flex}@media (max-width:768px){.oga-header{margin-left:0}}.oga-header .global-header-info{align-items:center;display:flex}.oga-header .user-avatar{color:#909399;cursor:pointer;align-items:center;margin-left:6px;display:flex}.oga-header .user-avatar .el-avatar{margin-right:5px}.oga-header .user-avatar{text-transform:uppercase}.oga-header .ship-calculator{width:32px;height:32px;padding:7px!important}.oga-header .ship-calculator i{color:#7f7f7f;font-size:18px}.oga-header .el-breadcrumb__inner a,.oga-header .el-breadcrumb__inner.is-link{font-weight:400}.oga-layout{flex-direction:column;height:100%;margin-left:0;transition:all .3s;display:flex;position:relative;overflow:hidden}.oga-layout-footer{text-align:center;color:#909399;text-indent:200px;flex-shrink:0;padding-top:6px;font-size:10px}.oga-layout-mask{content:"";z-index:4;background-color:#000c;width:calc(100% - 200px);height:100%;position:absolute;top:0;left:200px}.oga-layout-mask:not(.active){display:none}@media (min-width:768px){.oga-layout-mask{display:none}}.oga-layout-fold{cursor:pointer;z-index:11;justify-content:center;align-items:center;width:60px;height:60px;font-size:24px;display:flex;position:absolute;top:0;right:-60px}.oga-layout-fold img{width:24px;height:24px}@media (min-width:768px){.oga-layout-fold{display:none}}.oga-layout-aside{z-index:1;height:100vh;width:calc(var(--asideWidth) * 1px);background-color:#fafafa;border-right:1px dotted #dee1e5;flex-direction:column;transition:all .3s;display:flex;position:absolute;top:0;left:0}.oga-layout-aside-logo{height:3.75rem;width:calc(var(--asideWidth) * 1px);background-color:#030b2c;align-items:center;padding:.5rem 1rem;display:flex}.oga-layout-aside-logo img{max-width:7.5rem;max-height:2.5rem}.oga-layout-aside-menu{background:0 0;border:0;padding-top:1rem}.oga-layout-aside-menu .oga-icon{margin-right:3px;font-size:20px}.oga-layout-aside-menu .el-menu{background:0 0}.oga-layout-aside-menu .el-menu-item.is-active{font-weight:700}.oga-layout-aside-menu .el-sub-menu .el-sub-menu__title{position:relative}.oga-layout-aside-menu .el-sub-menu .el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.oga-layout-aside-menu .el-sub-menu .el-menu-item{background:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%229%22%20width%3D%221.5%22%20height%3D%2228%22%20fill%3D%22%23CECECE%22%2F%3E%3C%2Fsvg%3E) 20px 0 repeat-y;height:1.875rem;line-height:1.875rem;position:relative;padding-left:3rem!important}.oga-layout-aside-menu .el-sub-menu .el-menu-item.is-active{background:url("data:image/svg+xml,%3Csvg%20width%3D'21'%20height%3D'28'%20viewBox%3D'0%200%2021%2028'%20fill%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%2014.25H19.75V15.75H19V14.25ZM10.077%2013.362L10.7452%2013.0215V13.0215L10.077%2013.362ZM11.388%2014.673L11.7285%2014.0048H11.7285L11.388%2014.673ZM10.5%200V10.2H9V0H10.5ZM14.55%2014.25H19V15.75H14.55V14.25ZM10.5%2010.2C10.5%2011.0525%2010.5006%2011.6467%2010.5384%2012.1093C10.5755%2012.5632%2010.6446%2012.824%2010.7452%2013.0215L9.40873%2013.7025C9.18239%2013.2582%209.08803%2012.7781%209.04336%2012.2315C8.99942%2011.6936%209%2011.0277%209%2010.2H10.5ZM14.55%2015.75C13.7223%2015.75%2013.0564%2015.7506%2012.5185%2015.7066C11.9719%2015.662%2011.4918%2015.5676%2011.0475%2015.3413L11.7285%2014.0048C11.926%2014.1054%2012.1868%2014.1745%2012.6407%2014.2116C13.1033%2014.2494%2013.6975%2014.25%2014.55%2014.25V15.75ZM10.7452%2013.0215C10.9609%2013.4448%2011.3052%2013.7891%2011.7285%2014.0048L11.0475%2015.3413C10.3419%2014.9817%209.76825%2014.4081%209.40873%2013.7025L10.7452%2013.0215Z'%20fill%3D'%23CECECE'/%3E%3Cpath%20d%3D'M17%2012L20%2015L17%2018'%20stroke%3D'%23CECECE'%20stroke-width%3D'1.5'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'/%3E%3C/svg%3E%0A") 20px 0 no-repeat}.oga-layout-aside-menu .el-sub-menu .el-menu-item.is-active~.el-menu-item,.oga-layout-aside-menu .el-sub-menu:not(.is-active) .el-menu-item{background:0 0!important}.oga-layout-aside-menu .el-sub-menu__title,.oga-layout-aside-menu .el-menu-item{height:1.5rem;line-height:1.5rem}.oga-layout-aside-content{flex:1;position:relative;overflow-y:auto}.oga-layout-aside-footer{cursor:pointer;flex-shrink:0;align-items:center;padding:.5rem 1.25rem;font-size:.8125rem;display:flex}.oga-layout-aside-footer .oga-icon{vertical-align:center;margin-right:.25rem;font-size:1.25rem}@media (max-width:768px){.oga-layout-aside{left:calc(var(--asideWidth) * -1px)}.oga-layout-aside .global-aside-mask{display:block}.oga-layout-aside.active{left:0}}.oga-page{flex-direction:column;flex:1;width:100%;height:100%;margin:0;display:flex;overflow:hidden}@media (min-width:1024px){.oga-page{margin-left:calc(var(--offset) * 1px);width:calc(100% - var(--offset) * 1px)}}.oga-page-header{padding-top:1.5rem;padding-bottom:.875rem}.oga-page-header.has-padding{padding-left:1.875rem;padding-right:1.875rem}.oga-page-header.has-padding+.has-padding{padding-top:.5rem}.oga-page-header+.oga-page .oga-page-content.has-padding{padding-top:0}.oga-page-footer{padding-top:.75rem;padding-bottom:.75rem}.oga-page-footer.has-padding{padding-left:1.875rem;padding-right:1.875rem}.oga-page-content{flex:1;overflow:hidden auto}.oga-page-content.has-padding{padding:1.875rem}.oga-filter{justify-items:center;display:flex}.oga-filter .time-select{width:150px}.oga-filter .text-count{text-indent:15px;line-height:40px}.oga-filter-item .label{word-break:keep-all;margin-right:8px;font-size:14px;line-height:40px}.oga-filter-item .search-input{width:280px}.oga-filter-item+.oga-filter-item{margin-left:10px}.oga-filter-item .el-material-button{margin-top:.375rem}.oga-navigation{z-index:3;height:60px;color:var(--color,#fff9);align-items:stretch;display:flex;position:fixed;top:0}@media (min-width:768px){.oga-navigation{width:calc(100% - var(--fixed) * 1px)}}.oga-navigation>*{align-items:center;padding-right:.5rem;display:flex}.oga-navigation>:not(:first-child){padding-left:.5rem}.oga-navigation-item.is-right{margin-left:auto}.oga-navigation .el-button.is-link{color:var(--color,#fff9)}.oga-navigation .el-button:hover{color:var(--el-color-primary)}.oga-navigation .oga-icon{font-size:1.25rem}.oga-navigation .oga-header-icon{cursor:pointer;font-size:16px;transition:all .3s}.oga-navigation .oga-header-icon .el-icon{margin-right:10px;font-size:1.25rem;transition:all .3s}.oga-navigation .oga-header-icon:hover,.oga-navigation .oga-header-icon:hover .el-icon{color:var(--el-color-primary)}.oga-navigation .el-divider--vertical{border-left:1px var(--color,#fff9) var(--el-border-style)}.oga-navigation .el-breadcrumb__inner,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner a,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--color,#fff9);font-weight:400}.oga-navigation .el-breadcrumb__inner.is-link,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner.is-link,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner a.is-link,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover.is-link,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover.is-link{cursor:pointer}.oga-navigation .el-breadcrumb__inner.is-link:hover,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner.is-link:hover,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner a.is-link:hover,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover.is-link:hover,.oga-navigation .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover.is-link:hover{color:var(--el-color-primary)}.oga-navigation .el-breadcrumb__separator{color:var(--color,#fff9)}
|
|
2
|
+
/*$vite$:1*/
|