jky-component-lib 0.0.117 → 0.0.122
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/es/amap/style.css +12 -5
- package/dist/es/amap/style3.css +5 -12
- package/dist/es/form/Form.vue.js +76 -68
- package/dist/es/form/FormItem.vue.js +60 -46
- package/dist/es/form/style.css +0 -56
- package/dist/es/modal/Modal.vue.js +0 -1
- package/dist/es/package.json.js +1 -1
- package/dist/es/page-table/PageTable.vue.js +1 -1
- package/dist/es/style.css +10 -0
- package/dist/es/styles.css +1 -1
- package/dist/lib/amap/style.css +12 -5
- package/dist/lib/amap/style3.css +5 -12
- package/dist/lib/form/Form.vue.js +75 -67
- package/dist/lib/form/FormItem.vue.js +59 -45
- package/dist/lib/form/style.css +0 -56
- package/dist/lib/modal/Modal.vue.js +0 -1
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/page-table/PageTable.vue.js +1 -1
- package/dist/lib/style.css +10 -0
- package/dist/lib/styles.css +1 -1
- package/package.json +4 -3
- package/dist/es/add-input/AddInput.vue.d.ts +0 -27
- package/dist/es/add-input/index.d.ts +0 -5
- package/dist/es/amap/AMap.vue.d.ts +0 -61
- package/dist/es/amap/AMarker.vue.d.ts +0 -38
- package/dist/es/amap/ATrackPlayback.vue.d.ts +0 -69
- package/dist/es/amap/index.d.ts +0 -9
- package/dist/es/button/Button.vue.d.ts +0 -33
- package/dist/es/button/index.d.ts +0 -4
- package/dist/es/button-nav/ButtonNav.vue.d.ts +0 -36
- package/dist/es/button-nav/index.d.ts +0 -4
- package/dist/es/code-mirror-editor/CodeMirrorEditor.vue.d.ts +0 -25
- package/dist/es/code-mirror-editor/index.d.ts +0 -5
- package/dist/es/components.d.ts +0 -18
- package/dist/es/form/Form.vue.d.ts +0 -343
- package/dist/es/form/FormItem.vue.d.ts +0 -6
- package/dist/es/form/SelectTable.vue.d.ts +0 -38
- package/dist/es/form/index.d.ts +0 -5
- package/dist/es/index.d.ts +0 -8
- package/dist/es/menu/Menu.vue.d.ts +0 -23
- package/dist/es/menu/MenuItem.vue.d.ts +0 -7
- package/dist/es/menu/index.d.ts +0 -5
- package/dist/es/modal/Footer.vue.d.ts +0 -10
- package/dist/es/modal/Header.vue.d.ts +0 -37
- package/dist/es/modal/Modal.vue.d.ts +0 -75
- package/dist/es/modal/index.d.ts +0 -5
- package/dist/es/page-header/PageHeader.vue.d.ts +0 -31
- package/dist/es/page-header/PopoverMenu.vue.d.ts +0 -13
- package/dist/es/page-header/index.d.ts +0 -5
- package/dist/es/page-layout/PageLayout.vue.d.ts +0 -18
- package/dist/es/page-layout/index.d.ts +0 -5
- package/dist/es/page-table/ActionColumn.vue.d.ts +0 -11
- package/dist/es/page-table/PageTable.vue.d.ts +0 -5457
- package/dist/es/page-table/PageTableColumn.vue.d.ts +0 -36
- package/dist/es/page-table/Toolbar.vue.d.ts +0 -33
- package/dist/es/page-table/index.d.ts +0 -9
- package/dist/es/page-table-v2/PageTableV2.vue.d.ts +0 -966
- package/dist/es/page-table-v2/index.d.ts +0 -4
- package/dist/es/resolver.d.ts +0 -2
- package/dist/es/rich-editor/RichEditor.vue.d.ts +0 -78
- package/dist/es/rich-editor/index.d.ts +0 -5
- package/dist/es/say-hello/SayHello.vue.d.ts +0 -5
- package/dist/es/say-hello/index.d.ts +0 -4
- package/dist/es/tabs/ContextMenu.vue.d.ts +0 -30
- package/dist/es/tabs/Tabs.vue.d.ts +0 -13
- package/dist/es/tabs/config.d.ts +0 -2
- package/dist/es/tabs/createTabsGuard.d.ts +0 -5
- package/dist/es/tabs/index.d.ts +0 -7
- package/dist/es/tabs/useTabsStore.d.ts +0 -6
- package/dist/es/utils/index.d.ts +0 -5
- package/dist/es/utils/installer.d.ts +0 -13
- package/dist/es/utils/responsive-toolbar.d.ts +0 -78
- package/dist/es/utils/string.d.ts +0 -18
- package/dist/es/utils/types.d.ts +0 -12
- package/dist/es/utils/with-install.d.ts +0 -2
- package/dist/lib/add-input/AddInput.vue.d.ts +0 -27
- package/dist/lib/add-input/index.d.ts +0 -5
- package/dist/lib/amap/AMap.vue.d.ts +0 -61
- package/dist/lib/amap/AMarker.vue.d.ts +0 -38
- package/dist/lib/amap/ATrackPlayback.vue.d.ts +0 -69
- package/dist/lib/amap/index.d.ts +0 -9
- package/dist/lib/button/Button.vue.d.ts +0 -33
- package/dist/lib/button/index.d.ts +0 -4
- package/dist/lib/button-nav/ButtonNav.vue.d.ts +0 -36
- package/dist/lib/button-nav/index.d.ts +0 -4
- package/dist/lib/code-mirror-editor/CodeMirrorEditor.vue.d.ts +0 -25
- package/dist/lib/code-mirror-editor/index.d.ts +0 -5
- package/dist/lib/components.d.ts +0 -18
- package/dist/lib/form/Form.vue.d.ts +0 -343
- package/dist/lib/form/FormItem.vue.d.ts +0 -6
- package/dist/lib/form/SelectTable.vue.d.ts +0 -38
- package/dist/lib/form/index.d.ts +0 -5
- package/dist/lib/index.d.ts +0 -8
- package/dist/lib/menu/Menu.vue.d.ts +0 -23
- package/dist/lib/menu/MenuItem.vue.d.ts +0 -7
- package/dist/lib/menu/index.d.ts +0 -5
- package/dist/lib/modal/Footer.vue.d.ts +0 -10
- package/dist/lib/modal/Header.vue.d.ts +0 -37
- package/dist/lib/modal/Modal.vue.d.ts +0 -75
- package/dist/lib/modal/index.d.ts +0 -5
- package/dist/lib/page-header/PageHeader.vue.d.ts +0 -31
- package/dist/lib/page-header/PopoverMenu.vue.d.ts +0 -13
- package/dist/lib/page-header/index.d.ts +0 -5
- package/dist/lib/page-layout/PageLayout.vue.d.ts +0 -18
- package/dist/lib/page-layout/index.d.ts +0 -5
- package/dist/lib/page-table/ActionColumn.vue.d.ts +0 -11
- package/dist/lib/page-table/PageTable.vue.d.ts +0 -5457
- package/dist/lib/page-table/PageTableColumn.vue.d.ts +0 -36
- package/dist/lib/page-table/Toolbar.vue.d.ts +0 -33
- package/dist/lib/page-table/index.d.ts +0 -9
- package/dist/lib/page-table-v2/PageTableV2.vue.d.ts +0 -966
- package/dist/lib/page-table-v2/index.d.ts +0 -4
- package/dist/lib/resolver.d.ts +0 -2
- package/dist/lib/rich-editor/RichEditor.vue.d.ts +0 -78
- package/dist/lib/rich-editor/index.d.ts +0 -5
- package/dist/lib/say-hello/SayHello.vue.d.ts +0 -5
- package/dist/lib/say-hello/index.d.ts +0 -4
- package/dist/lib/tabs/ContextMenu.vue.d.ts +0 -30
- package/dist/lib/tabs/Tabs.vue.d.ts +0 -13
- package/dist/lib/tabs/config.d.ts +0 -2
- package/dist/lib/tabs/createTabsGuard.d.ts +0 -5
- package/dist/lib/tabs/index.d.ts +0 -7
- package/dist/lib/tabs/useTabsStore.d.ts +0 -6
- package/dist/lib/utils/index.d.ts +0 -5
- package/dist/lib/utils/installer.d.ts +0 -13
- package/dist/lib/utils/responsive-toolbar.d.ts +0 -78
- package/dist/lib/utils/string.d.ts +0 -18
- package/dist/lib/utils/types.d.ts +0 -12
- package/dist/lib/utils/with-install.d.ts +0 -2
package/dist/lib/style.css
CHANGED
|
@@ -1899,6 +1899,10 @@
|
|
|
1899
1899
|
justify-content: flex-end;
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
|
+
.justify-start {
|
|
1903
|
+
justify-content: flex-start;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1902
1906
|
.gap-1 {
|
|
1903
1907
|
gap: calc(var(--spacing) * 1);
|
|
1904
1908
|
}
|
|
@@ -3047,6 +3051,12 @@
|
|
|
3047
3051
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3048
3052
|
}
|
|
3049
3053
|
}
|
|
3054
|
+
|
|
3055
|
+
@media (min-width: 80rem) {
|
|
3056
|
+
.xl\:grid-cols-2 {
|
|
3057
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3050
3060
|
}
|
|
3051
3061
|
|
|
3052
3062
|
@property --tw-translate-x {
|
package/dist/lib/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.jky-add-input,:root{--jky-add-input-gap:12px;--jky-add-input-row-gap:8px;--jky-add-input-min-width:100px;--jky-add-input-action-width:80px}.jky-add-input{display:flex;flex-direction:column;gap:var(--jky-add-input-row-gap);min-width:var(--jky-add-input-min-width)}.jky-add-input__row{align-items:center;display:flex;gap:var(--jky-add-input-gap)}.jky-add-input__key,.jky-add-input__value{flex:1;min-width:0}.jky-add-input__actions{display:flex;flex-shrink:0;gap:var(--jky-add-input-gap);width:var(--jky-add-input-action-width)}.jky-amap-container{overflow:hidden;position:relative;.amap-copyright,.amap-logo{display:none!important}}:root{--jky-button-primary-bg:#007bff;--jky-button-primary-text:#fff;--jky-button-primary-hover-bg:#0056b3;--jky-button-success-bg:#28a745;--jky-button-success-text:#fff;--jky-button-success-hover-bg:#1e7e34;--jky-button-warning-bg:#ffc107;--jky-button-warning-text:#fff;--jky-button-warning-hover-bg:#e0a800;--jky-button-danger-bg:#dc3545;--jky-button-danger-text:#fff;--jky-button-danger-hover-bg:#c82333;--jky-button-info-bg:#6c757d;--jky-button-info-text:#fff;--jky-button-info-hover-bg:#5a6268;--jky-button-default-bg:#fff;--jky-button-default-text:#606266;--jky-button-default-border:#dcdfe6;--jky-button-default-hover-bg:#f5f7fa;--jky-button-font-size:14px;--jky-button-font-size-small:12px;--jky-button-font-size-large:16px;--jky-button-padding:0 16px;--jky-button-padding-small:0 12px;--jky-button-padding-large:0 20px;--jky-button-height:40px;--jky-button-height-small:32px;--jky-button-height-large:48px;--jky-button-border-radius:0.375rem;--jky-button-disabled-opacity:0.5;--jky-button-disabled-bg:#f5f7fa;--jky-button-disabled-text:#c0c4cc;--jky-button-loading-opacity:0.7;--jky-button-icon-size:1.25rem;--jky-button-icon-margin:0.5rem}.jky-button{align-items:center;background-color:var(--jky-button-default-bg);border:1px solid var(--jky-button-default-border);border-radius:var(--jky-button-border-radius);color:var(--jky-button-default-text);cursor:pointer;display:inline-flex;font-size:var(--jky-button-font-size);font-weight:500;height:var(--jky-button-height);justify-content:center;padding:var(--jky-button-padding);transition:color .2s,background-color .2s}.jky-button--primary{background-color:var(--jky-button-primary-bg);border:none;color:var(--jky-button-primary-text)}.jky-button--primary:hover{background-color:var(--jky-button-primary-hover-bg)}.jky-button--success{background-color:var(--jky-button-success-bg);border:none;color:var(--jky-button-success-text)}.jky-button--success:hover{background-color:var(--jky-button-success-hover-bg)}.jky-button--warning{background-color:var(--jky-button-warning-bg);border:none;color:var(--jky-button-warning-text)}.jky-button--warning:hover{background-color:var(--jky-button-warning-hover-bg)}.jky-button--danger{background-color:var(--jky-button-danger-bg);border:none;color:var(--jky-button-danger-text)}.jky-button--danger:hover{background-color:var(--jky-button-danger-hover-bg)}.jky-button--info{background-color:var(--jky-button-info-bg);border:none;color:var(--jky-button-info-text)}.jky-button--info:hover{background-color:var(--jky-button-info-hover-bg)}.jky-button--small{font-size:var(--jky-button-font-size-small);height:var(--jky-button-height-small);padding:var(--jky-button-padding-small)}.jky-button--large{font-size:var(--jky-button-font-size-large);height:var(--jky-button-height-large);padding:var(--jky-button-padding-large)}.jky-button.is-disabled{background-color:var(--jky-button-disabled-bg);color:var(--jky-button-disabled-text);cursor:not-allowed;opacity:var(--jky-button-disabled-opacity);pointer-events:none}.jky-button.is-loading{opacity:var(--jky-button-loading-opacity);pointer-events:none;position:relative}.jky-button__loading{display:flex;inset:0;position:absolute}.jky-button__icon,.jky-button__loading{align-items:center;justify-content:center}.jky-button__icon{display:inline-flex;font-size:1em;margin-right:var(--jky-button-icon-margin)}.jky-button__icon:only-child{margin-right:0}.jky-button--suffix .jky-button__icon{margin-left:var(--jky-button-icon-margin);margin-right:0}.jky-button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #000;outline:2px solid transparent;outline-offset:2px}.loading-spinner{animation:spin 1s linear infinite;height:var(--jky-button-icon-size);width:var(--jky-button-icon-size)}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:root{--jky-button-nav-active-bg:var(--el-color-primary);--jky-button-nav-active-text:#fff;--jky-button-nav-inactive-bg:var(--el-fill-color-light);--jky-button-nav-inactive-text:var(--el-text-color-regular);--el-dropdown-menu-margin-left:12px}.jky-button-nav{align-items:center;display:flex;flex-wrap:wrap;.el-dropdown{margin-left:var(--el-dropdown-menu-margin-left)}}.jky-button-nav-item{background-color:var(--jky-button-nav-inactive-bg);color:var(--jky-button-nav-inactive-text);&.is-active,&[aria-pressed=true]{background-color:var(--jky-button-nav-active-bg);color:var(--jky-button-nav-active-text)}}:root{--j-code-mirror-border-color:#dcdfe6;--j-code-mirror-border-radius:4px;--j-code-mirror-height:400px}.j-code-mirror-editor{border-radius:var(--j-code-mirror-border-radius);height:var(--j-code-mirror-height);overflow:hidden;width:100%}.code-mirror-container{height:100%;overflow:auto;width:100%}.code-mirror-container .cm-editor{height:100%}.code-mirror-container .cm-scroller{font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.5;overflow:auto}.code-mirror-container .cm-gutters{background-color:#2c2d2d;border-color:#4c4d4f;color:#909399}.jky-form,:root{--jky-form-item-border-width:4px;--jky-form-item-border-color:var(--el-color-primary);--jky-form-item-bg-color:rgba(var(--el-color-primary-rgb),0.5);--jky-form-grid-cols-xs:1;--jky-form-grid-cols-sm:2;--jky-form-grid-cols-md:2;--jky-form-grid-cols-lg:3;--jky-form-grid-cols-xl:3;--jky-form-grid-cols-2xl:4;--jky-form-grid-cols-3xl:4}.jky-form--grid{display:grid;gap:var(--el-form-item-gutter,16px);grid-template-columns:repeat(var(--jky-form-grid-cols-xs),minmax(0,1fr))}.el-form--inline.jky-form--grid .el-form-item{margin-right:0;.el-form-item__content{align-items:flex-start}}@media (min-width:640px){.jky-form--grid{grid-template-columns:repeat(var(--jky-form-grid-cols-sm,var(--jky-form-grid-cols-xs)),minmax(0,1fr))}}@media (min-width:768px){.jky-form--grid{grid-template-columns:repeat(var(--jky-form-grid-cols-md,var(--jky-form-grid-cols-sm)),minmax(0,1fr))}}@media (min-width:1024px){.jky-form--grid{grid-template-columns:repeat(var(--jky-form-grid-cols-lg,var(--jky-form-grid-cols-md)),minmax(0,1fr))}}@media (min-width:1280px){.jky-form--grid{grid-template-columns:repeat(var(--jky-form-grid-cols-xl,var(--jky-form-grid-cols-lg)),minmax(0,1fr))}}@media (min-width:1536px){.jky-form--grid{grid-template-columns:repeat(var(--jky-form-grid-cols-2xl,var(--jky-form-grid-cols-xl)),minmax(0,1fr))}}@media (min-width:1920px){.jky-form--grid{grid-template-columns:repeat(var(--jky-form-grid-cols-3xl,var(--jky-form-grid-cols-2xl)),minmax(0,1fr))}}:root{--jky-menu-bg-color:#fff;--jky-menu-text-color:#303133;--jky-menu-active-color:#409eff;--jky-menu-hover-bg-color:#f5f7fa;--jky-menu-hover-text-color:#606266;--jky-menu-item-height:56px;--jky-menu-item-padding:0 20px;--jky-menu-item-font-size:14px;--jky-menu-icon-size:18px;--jky-menu-icon-margin:8px;--jky-menu-border-color:#e4e7ed;--jky-menu-disabled-opacity:0.5;--jky-menu-disabled-text-color:#c0c4cc}.jky-menu{li+li{margin-top:0}}.jky-page-header,:root{--jky-page-header-title-color:#fff;--jky-page-header-text-color:hsla(0,0%,100%,.85);--jky-page-header-icon-color:#fff;--jky-page-header-bg-color:#1890ff}.jky-page-header--dark{--jky-page-header-title-color:#fff;--jky-page-header-text-color:hsla(0,0%,100%,.85);--jky-page-header-icon-color:#fff;--el-text-color-regular:#fff}.jky-page-header--light{--jky-page-header-title-color:#000;--jky-page-header-text-color:rgba(0,0,0,.85);--jky-page-header-icon-color:#000;--el-text-color-regular:#000}.jky-page-header,:root{--jky-page-header-bg-size:cover;--jky-page-header-bg-position:center;--jky-page-header-box-shadow:0 2px 8px rgba(0,0,0,.15);--jky-page-header-padding-x:24px;--jky-page-header-padding-x-mobile:16px;--jky-page-header-gap:16px;--jky-page-header-gap-mobile:12px;--jky-page-header-gap-left:12px;--jky-page-header-gap-status:12px;--jky-page-header-gap-center:24px;--jky-page-header-gap-center-mobile:12px;--jky-page-header-title-size:20px;--jky-page-header-title-size-mobile:16px;--jky-page-header-title-weight:600;--jky-page-header-text-size:16px;--jky-page-header-icon-size:20px;--jky-page-header-icon-hover-opacity:0.8;--jky-page-header-logo-height:40px;--jky-page-header-avatar-size:32px}.jky-page-header{background-color:var(--jky-page-header-bg-color);background-position:var(--jky-page-header-bg-position);background-size:var(--jky-page-header-bg-size);box-shadow:var(--jky-page-header-box-shadow);width:100%}.jky-page-header__container{align-items:center;display:flex;height:100%;justify-content:space-between;margin:0 auto;max-width:100%;padding:0 var(--jky-page-header-padding-x)}.jky-page-header__left{align-items:center;display:flex;flex-shrink:0;gap:var(--jky-page-header-gap-left)}.jky-page-header__logo{height:var(--jky-page-header-logo-height);object-fit:contain;width:auto}.jky-page-header__title{color:var(--jky-page-header-title-color);font-size:var(--jky-page-header-title-size);font-weight:var(--jky-page-header-title-weight);white-space:nowrap}.jky-page-header__center{align-items:center;display:flex;flex:1;justify-content:center;margin:0 var(--jky-page-header-gap-center);min-width:0}.jky-page-header__right{align-items:center;display:flex;flex-shrink:0;gap:var(--jky-page-header-gap)}.jky-page-header__status-icons{align-items:center;display:flex;gap:var(--jky-page-header-gap-status)}.jky-page-header__status-icon{color:var(--jky-page-header-icon-color);cursor:pointer;transition:opacity .2s;&:hover{opacity:var(--jky-page-header-icon-hover-opacity)}}.jky-page-header__time{color:var(--jky-page-header-text-color);font-size:var(--jky-page-header-text-size);white-space:nowrap}.jky-page-header__user{align-items:center;color:var(--jky-page-header-text-color);cursor:pointer;display:flex;gap:8px}.jky-page-header__avatar{color:var(--jky-page-header-icon-color);img{height:100%;object-fit:cover;width:100%}}.jky-page-header__username{white-space:nowrap}.jky-page-header__logout,.jky-page-header__username{color:var(--jky-page-header-text-color);font-size:var(--jky-page-header-text-size)}@media (max-width:768px){.jky-page-header__container{padding:0 var(--jky-page-header-padding-x-mobile)}.jky-page-header__title{font-size:var(--jky-page-header-title-size-mobile)}.jky-page-header__center{margin:0 var(--jky-page-header-gap-center-mobile)}.jky-page-header__right{gap:var(--jky-page-header-gap-mobile)}}:root{--jky-page-layout-gap:5}.jky-page-layout{column-gap:calc(var(--spacing)*var(--jky-page-layout-gap));.el-menu{border-right:none}.el-auto-resizer{.el-scrollbar__view{height:100%}}}.jky-page-table{--jky-page-table_pagination-position:flex-end;.jky-page-table__pagination{.el-scrollbar__view{display:flex;justify-content:var(--jky-page-table_pagination-position)}}}.jky-action-column{.el-button+.el-button{margin-left:0}}:root{--jky-rich-editor-border:#d9d9d9;--jky-rich-editor-border-hover:#409eff;--jky-rich-editor-border-radius:4px;--jky-rich-editor-box-shadow:0 0 0 1px #409eff}.jky-rich-editor{width:100%}.jky-rich-editor .tox-tinymce{border:1px solid var(--jky-rich-editor-border);border-radius:var(--jky-rich-editor-border-radius);transition:border-color .2s}.jky-rich-editor .tox-tinymce:hover{border-color:var(--jky-rich-editor-border-hover)}.jky-rich-editor .tox-tinymce:focus-within{border-color:var(--jky-rich-editor-border-hover);box-shadow:var(--jky-rich-editor-box-shadow)}.jky-rich-editor.is-disabled .tox-tinymce{background-color:#f5f7fa;cursor:not-allowed}.jky-rich-editor.is-readonly .tox-tinymce{background-color:#fafafa}:root{--jky-say-hello-bg:#42b883;--jky-say-hello-text:#fff;--jky-say-hello-hover-bg:#3aa876;--jky-say-hello-font-size:16px;--jky-say-hello-padding:8px 20px;--jky-say-hello-margin:4px 2px;--jky-say-hello-border-radius:6px}.jky-say-hello{background-color:var(--jky-say-hello-bg);border-radius:var(--jky-say-hello-border-radius);color:var(--jky-say-hello-text);cursor:pointer;display:inline-block;font-size:var(--jky-say-hello-font-size);margin:var(--jky-say-hello-margin);padding:var(--jky-say-hello-padding);text-align:center;text-decoration:none;transition:background-color .2s ease}.jky-say-hello:hover{background-color:var(--jky-say-hello-hover-bg)}@import "tailwindcss";@plugin "@iconify/tailwind4";@source "../node_modules/jky-component-lib/dist/es/";@source "../docs/**/*.md";@source "./**/*.md";@source "./**/*.vue";@source "./**/*.css";@custom-variant dark (&:is(.dark *));.jky-tabs{.el-tabs__content{display:none}.el-tabs__header{margin-bottom:0}}.jky-tabs-round{--el-tabs-header-height:32px;--el-tabs-item-background:#fff;--el-tabs-active-item-background:var(--el-color-primary);.el-tabs__header{--el-border-color-light:transparent}.el-tabs__item{background-color:var(--el-tabs-item-background);border-bottom:none!important;border-radius:999px;margin-left:1rem;&.is-active{background-color:var(--el-tabs-active-item-background);.el-icon,.jky-tabs-__item-label{color:var(--el-color-white)}}&.first-child{margin-left:0}}}.jky-tabs-context-menu{display:inline-block}
|
|
1
|
+
.jky-add-input,:root{--jky-add-input-gap:12px;--jky-add-input-row-gap:8px;--jky-add-input-min-width:100px;--jky-add-input-action-width:80px}.jky-add-input{display:flex;flex-direction:column;gap:var(--jky-add-input-row-gap);min-width:var(--jky-add-input-min-width)}.jky-add-input__row{align-items:center;display:flex;gap:var(--jky-add-input-gap)}.jky-add-input__key,.jky-add-input__value{flex:1;min-width:0}.jky-add-input__actions{display:flex;flex-shrink:0;gap:var(--jky-add-input-gap);width:var(--jky-add-input-action-width)}.jky-amap-container{overflow:hidden;position:relative;.amap-copyright,.amap-logo{display:none!important}}:root{--jky-button-primary-bg:#007bff;--jky-button-primary-text:#fff;--jky-button-primary-hover-bg:#0056b3;--jky-button-success-bg:#28a745;--jky-button-success-text:#fff;--jky-button-success-hover-bg:#1e7e34;--jky-button-warning-bg:#ffc107;--jky-button-warning-text:#fff;--jky-button-warning-hover-bg:#e0a800;--jky-button-danger-bg:#dc3545;--jky-button-danger-text:#fff;--jky-button-danger-hover-bg:#c82333;--jky-button-info-bg:#6c757d;--jky-button-info-text:#fff;--jky-button-info-hover-bg:#5a6268;--jky-button-default-bg:#fff;--jky-button-default-text:#606266;--jky-button-default-border:#dcdfe6;--jky-button-default-hover-bg:#f5f7fa;--jky-button-font-size:14px;--jky-button-font-size-small:12px;--jky-button-font-size-large:16px;--jky-button-padding:0 16px;--jky-button-padding-small:0 12px;--jky-button-padding-large:0 20px;--jky-button-height:40px;--jky-button-height-small:32px;--jky-button-height-large:48px;--jky-button-border-radius:0.375rem;--jky-button-disabled-opacity:0.5;--jky-button-disabled-bg:#f5f7fa;--jky-button-disabled-text:#c0c4cc;--jky-button-loading-opacity:0.7;--jky-button-icon-size:1.25rem;--jky-button-icon-margin:0.5rem}.jky-button{align-items:center;background-color:var(--jky-button-default-bg);border:1px solid var(--jky-button-default-border);border-radius:var(--jky-button-border-radius);color:var(--jky-button-default-text);cursor:pointer;display:inline-flex;font-size:var(--jky-button-font-size);font-weight:500;height:var(--jky-button-height);justify-content:center;padding:var(--jky-button-padding);transition:color .2s,background-color .2s}.jky-button--primary{background-color:var(--jky-button-primary-bg);border:none;color:var(--jky-button-primary-text)}.jky-button--primary:hover{background-color:var(--jky-button-primary-hover-bg)}.jky-button--success{background-color:var(--jky-button-success-bg);border:none;color:var(--jky-button-success-text)}.jky-button--success:hover{background-color:var(--jky-button-success-hover-bg)}.jky-button--warning{background-color:var(--jky-button-warning-bg);border:none;color:var(--jky-button-warning-text)}.jky-button--warning:hover{background-color:var(--jky-button-warning-hover-bg)}.jky-button--danger{background-color:var(--jky-button-danger-bg);border:none;color:var(--jky-button-danger-text)}.jky-button--danger:hover{background-color:var(--jky-button-danger-hover-bg)}.jky-button--info{background-color:var(--jky-button-info-bg);border:none;color:var(--jky-button-info-text)}.jky-button--info:hover{background-color:var(--jky-button-info-hover-bg)}.jky-button--small{font-size:var(--jky-button-font-size-small);height:var(--jky-button-height-small);padding:var(--jky-button-padding-small)}.jky-button--large{font-size:var(--jky-button-font-size-large);height:var(--jky-button-height-large);padding:var(--jky-button-padding-large)}.jky-button.is-disabled{background-color:var(--jky-button-disabled-bg);color:var(--jky-button-disabled-text);cursor:not-allowed;opacity:var(--jky-button-disabled-opacity);pointer-events:none}.jky-button.is-loading{opacity:var(--jky-button-loading-opacity);pointer-events:none;position:relative}.jky-button__loading{display:flex;inset:0;position:absolute}.jky-button__icon,.jky-button__loading{align-items:center;justify-content:center}.jky-button__icon{display:inline-flex;font-size:1em;margin-right:var(--jky-button-icon-margin)}.jky-button__icon:only-child{margin-right:0}.jky-button--suffix .jky-button__icon{margin-left:var(--jky-button-icon-margin);margin-right:0}.jky-button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #000;outline:2px solid transparent;outline-offset:2px}.loading-spinner{animation:spin 1s linear infinite;height:var(--jky-button-icon-size);width:var(--jky-button-icon-size)}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:root{--jky-button-nav-active-bg:var(--el-color-primary);--jky-button-nav-active-text:#fff;--jky-button-nav-inactive-bg:var(--el-fill-color-light);--jky-button-nav-inactive-text:var(--el-text-color-regular);--el-dropdown-menu-margin-left:12px}.jky-button-nav{align-items:center;display:flex;flex-wrap:wrap;.el-dropdown{margin-left:var(--el-dropdown-menu-margin-left)}}.jky-button-nav-item{background-color:var(--jky-button-nav-inactive-bg);color:var(--jky-button-nav-inactive-text);&.is-active,&[aria-pressed=true]{background-color:var(--jky-button-nav-active-bg);color:var(--jky-button-nav-active-text)}}:root{--j-code-mirror-border-color:#dcdfe6;--j-code-mirror-border-radius:4px;--j-code-mirror-height:400px}.j-code-mirror-editor{border-radius:var(--j-code-mirror-border-radius);height:var(--j-code-mirror-height);overflow:hidden;width:100%}.code-mirror-container{height:100%;overflow:auto;width:100%}.code-mirror-container .cm-editor{height:100%}.code-mirror-container .cm-scroller{font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.5;overflow:auto}.code-mirror-container .cm-gutters{background-color:#2c2d2d;border-color:#4c4d4f;color:#909399}.jky-form,:root{--jky-form-item-border-width:4px;--jky-form-item-border-color:var(--el-color-primary);--jky-form-item-bg-color:rgba(var(--el-color-primary-rgb),0.5)}:root{--jky-menu-bg-color:#fff;--jky-menu-text-color:#303133;--jky-menu-active-color:#409eff;--jky-menu-hover-bg-color:#f5f7fa;--jky-menu-hover-text-color:#606266;--jky-menu-item-height:56px;--jky-menu-item-padding:0 20px;--jky-menu-item-font-size:14px;--jky-menu-icon-size:18px;--jky-menu-icon-margin:8px;--jky-menu-border-color:#e4e7ed;--jky-menu-disabled-opacity:0.5;--jky-menu-disabled-text-color:#c0c4cc}.jky-menu{li+li{margin-top:0}}.jky-page-header,:root{--jky-page-header-title-color:#fff;--jky-page-header-text-color:hsla(0,0%,100%,.85);--jky-page-header-icon-color:#fff;--jky-page-header-bg-color:#1890ff}.jky-page-header--dark{--jky-page-header-title-color:#fff;--jky-page-header-text-color:hsla(0,0%,100%,.85);--jky-page-header-icon-color:#fff;--el-text-color-regular:#fff}.jky-page-header--light{--jky-page-header-title-color:#000;--jky-page-header-text-color:rgba(0,0,0,.85);--jky-page-header-icon-color:#000;--el-text-color-regular:#000}.jky-page-header,:root{--jky-page-header-bg-size:cover;--jky-page-header-bg-position:center;--jky-page-header-box-shadow:0 2px 8px rgba(0,0,0,.15);--jky-page-header-padding-x:24px;--jky-page-header-padding-x-mobile:16px;--jky-page-header-gap:16px;--jky-page-header-gap-mobile:12px;--jky-page-header-gap-left:12px;--jky-page-header-gap-status:12px;--jky-page-header-gap-center:24px;--jky-page-header-gap-center-mobile:12px;--jky-page-header-title-size:20px;--jky-page-header-title-size-mobile:16px;--jky-page-header-title-weight:600;--jky-page-header-text-size:16px;--jky-page-header-icon-size:20px;--jky-page-header-icon-hover-opacity:0.8;--jky-page-header-logo-height:40px;--jky-page-header-avatar-size:32px}.jky-page-header{background-color:var(--jky-page-header-bg-color);background-position:var(--jky-page-header-bg-position);background-size:var(--jky-page-header-bg-size);box-shadow:var(--jky-page-header-box-shadow);width:100%}.jky-page-header__container{align-items:center;display:flex;height:100%;justify-content:space-between;margin:0 auto;max-width:100%;padding:0 var(--jky-page-header-padding-x)}.jky-page-header__left{align-items:center;display:flex;flex-shrink:0;gap:var(--jky-page-header-gap-left)}.jky-page-header__logo{height:var(--jky-page-header-logo-height);object-fit:contain;width:auto}.jky-page-header__title{color:var(--jky-page-header-title-color);font-size:var(--jky-page-header-title-size);font-weight:var(--jky-page-header-title-weight);white-space:nowrap}.jky-page-header__center{align-items:center;display:flex;flex:1;justify-content:center;margin:0 var(--jky-page-header-gap-center);min-width:0}.jky-page-header__right{align-items:center;display:flex;flex-shrink:0;gap:var(--jky-page-header-gap)}.jky-page-header__status-icons{align-items:center;display:flex;gap:var(--jky-page-header-gap-status)}.jky-page-header__status-icon{color:var(--jky-page-header-icon-color);cursor:pointer;transition:opacity .2s;&:hover{opacity:var(--jky-page-header-icon-hover-opacity)}}.jky-page-header__time{color:var(--jky-page-header-text-color);font-size:var(--jky-page-header-text-size);white-space:nowrap}.jky-page-header__user{align-items:center;color:var(--jky-page-header-text-color);cursor:pointer;display:flex;gap:8px}.jky-page-header__avatar{color:var(--jky-page-header-icon-color);img{height:100%;object-fit:cover;width:100%}}.jky-page-header__username{white-space:nowrap}.jky-page-header__logout,.jky-page-header__username{color:var(--jky-page-header-text-color);font-size:var(--jky-page-header-text-size)}@media (max-width:768px){.jky-page-header__container{padding:0 var(--jky-page-header-padding-x-mobile)}.jky-page-header__title{font-size:var(--jky-page-header-title-size-mobile)}.jky-page-header__center{margin:0 var(--jky-page-header-gap-center-mobile)}.jky-page-header__right{gap:var(--jky-page-header-gap-mobile)}}:root{--jky-page-layout-gap:5}.jky-page-layout{column-gap:calc(var(--spacing)*var(--jky-page-layout-gap));.el-menu{border-right:none}.el-auto-resizer{.el-scrollbar__view{height:100%}}}.jky-page-table{--jky-page-table_pagination-position:flex-end;.jky-page-table__pagination{.el-scrollbar__view{display:flex;justify-content:var(--jky-page-table_pagination-position)}}}.jky-action-column{.el-button+.el-button{margin-left:0}}:root{--jky-rich-editor-border:#d9d9d9;--jky-rich-editor-border-hover:#409eff;--jky-rich-editor-border-radius:4px;--jky-rich-editor-box-shadow:0 0 0 1px #409eff}.jky-rich-editor{width:100%}.jky-rich-editor .tox-tinymce{border:1px solid var(--jky-rich-editor-border);border-radius:var(--jky-rich-editor-border-radius);transition:border-color .2s}.jky-rich-editor .tox-tinymce:hover{border-color:var(--jky-rich-editor-border-hover)}.jky-rich-editor .tox-tinymce:focus-within{border-color:var(--jky-rich-editor-border-hover);box-shadow:var(--jky-rich-editor-box-shadow)}.jky-rich-editor.is-disabled .tox-tinymce{background-color:#f5f7fa;cursor:not-allowed}.jky-rich-editor.is-readonly .tox-tinymce{background-color:#fafafa}:root{--jky-say-hello-bg:#42b883;--jky-say-hello-text:#fff;--jky-say-hello-hover-bg:#3aa876;--jky-say-hello-font-size:16px;--jky-say-hello-padding:8px 20px;--jky-say-hello-margin:4px 2px;--jky-say-hello-border-radius:6px}.jky-say-hello{background-color:var(--jky-say-hello-bg);border-radius:var(--jky-say-hello-border-radius);color:var(--jky-say-hello-text);cursor:pointer;display:inline-block;font-size:var(--jky-say-hello-font-size);margin:var(--jky-say-hello-margin);padding:var(--jky-say-hello-padding);text-align:center;text-decoration:none;transition:background-color .2s ease}.jky-say-hello:hover{background-color:var(--jky-say-hello-hover-bg)}@import "tailwindcss";@plugin "@iconify/tailwind4";@source "../node_modules/jky-component-lib/dist/es/";@source "../docs/**/*.md";@source "./**/*.md";@source "./**/*.vue";@source "./**/*.css";@custom-variant dark (&:is(.dark *));.jky-tabs{.el-tabs__content{display:none}.el-tabs__header{margin-bottom:0}}.jky-tabs-round{--el-tabs-header-height:32px;--el-tabs-item-background:#fff;--el-tabs-active-item-background:var(--el-color-primary);.el-tabs__header{--el-border-color-light:transparent}.el-tabs__item{background-color:var(--el-tabs-item-background);border-bottom:none!important;border-radius:999px;margin-left:1rem;&.is-active{background-color:var(--el-tabs-active-item-background);.el-icon,.jky-tabs-__item-label{color:var(--el-color-white)}}&.first-child{margin-left:0}}}.jky-tabs-context-menu{display:inline-block}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jky-component-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.122",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"preinstall": "echo 'Using bun package manager'",
|
|
60
|
-
"prepare": "bunx simple-git-hooks",
|
|
60
|
+
"prepare": "if [ \"$NETLIFY\" != \"true\" ]; then bunx simple-git-hooks; fi",
|
|
61
61
|
"dev": "vite build --watch",
|
|
62
62
|
"dev:all": "bash scripts/dev-all.sh",
|
|
63
63
|
"dev:docs": "bash scripts/docs-dev.sh",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"lint:fix": "eslint . --fix",
|
|
73
73
|
"typecheck": "vue-tsc --noEmit",
|
|
74
74
|
"clean": "rimraf dist",
|
|
75
|
-
"release": "bumpp && bun run build && bun publish"
|
|
75
|
+
"release": "bumpp && bun run build && bun publish",
|
|
76
|
+
"deploy:docs": "node scripts/deploy-docs.js"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
78
79
|
"@codemirror/lang-css": "^6.0.0",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AddInputItem, AddInputProps } from './types';
|
|
2
|
-
type __VLS_Props = AddInputProps;
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: AddInputItem[];
|
|
5
|
-
} & __VLS_Props;
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: AddInputItem[]) => any;
|
|
8
|
-
} & {
|
|
9
|
-
"update:modelValue": (value: AddInputItem[]) => any;
|
|
10
|
-
change: (value: AddInputItem[]) => any;
|
|
11
|
-
add: () => any;
|
|
12
|
-
delete: (index: number) => any;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value: AddInputItem[]) => any) | undefined;
|
|
15
|
-
onChange?: ((value: AddInputItem[]) => any) | undefined;
|
|
16
|
-
onAdd?: (() => any) | undefined;
|
|
17
|
-
onDelete?: ((index: number) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
modelValue: AddInputItem[];
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
readonly: boolean;
|
|
22
|
-
keyPlaceholder: string;
|
|
23
|
-
valuePlaceholder: string;
|
|
24
|
-
addButtonText: string;
|
|
25
|
-
deleteButtonText: string;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InstallWithSFC } from '../utils';
|
|
2
|
-
import { default as AddInput } from './AddInput.vue';
|
|
3
|
-
export type { AddInputEmits, AddInputItem, AddInputProps } from './types';
|
|
4
|
-
export declare const JkyAddInput: InstallWithSFC<typeof AddInput>;
|
|
5
|
-
export default JkyAddInput;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { AMapProps } from './types';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {
|
|
8
|
-
mapRef: HTMLDivElement;
|
|
9
|
-
};
|
|
10
|
-
rootEl: HTMLDivElement;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<AMapProps, {
|
|
14
|
-
getMapInstance: () => any;
|
|
15
|
-
addMarker: (options: any) => any;
|
|
16
|
-
removeMarker: (marker: any) => void;
|
|
17
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
-
click: (data: any) => any;
|
|
19
|
-
moveend: (center: {
|
|
20
|
-
lng: number;
|
|
21
|
-
lat: number;
|
|
22
|
-
}) => any;
|
|
23
|
-
zoomend: (zoom: number) => any;
|
|
24
|
-
ready: (map: any) => any;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<AMapProps> & Readonly<{
|
|
26
|
-
onClick?: ((data: any) => any) | undefined;
|
|
27
|
-
onMoveend?: ((center: {
|
|
28
|
-
lng: number;
|
|
29
|
-
lat: number;
|
|
30
|
-
}) => any) | undefined;
|
|
31
|
-
onZoomend?: ((zoom: number) => any) | undefined;
|
|
32
|
-
onReady?: ((map: any) => any) | undefined;
|
|
33
|
-
}>, {
|
|
34
|
-
width: string;
|
|
35
|
-
height: string;
|
|
36
|
-
token: string;
|
|
37
|
-
zoom: number;
|
|
38
|
-
viewMode: import('./types').MapViewMode;
|
|
39
|
-
showScale: boolean;
|
|
40
|
-
showHawkEye: boolean;
|
|
41
|
-
showToolbar: boolean;
|
|
42
|
-
showControlBar: boolean;
|
|
43
|
-
showGeolocation: boolean;
|
|
44
|
-
scalePosition: import('./types').ControlPosition;
|
|
45
|
-
hawkEyePosition: import('./types').ControlPosition;
|
|
46
|
-
toolbarPosition: import('./types').ControlPosition;
|
|
47
|
-
controlBarPosition: import('./types').ControlBarPosition;
|
|
48
|
-
geolocationPosition: import('./types').ControlPosition;
|
|
49
|
-
enableHighAccuracy: boolean;
|
|
50
|
-
timeout: number;
|
|
51
|
-
zoomToAccuracy: boolean;
|
|
52
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
53
|
-
mapRef: HTMLDivElement;
|
|
54
|
-
}, HTMLDivElement>;
|
|
55
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
56
|
-
export default _default;
|
|
57
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
-
new (): {
|
|
59
|
-
$slots: S;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { AMapMarkerProps, MarkerData } from './types';
|
|
2
|
-
declare function removeMarkers(): void;
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: {
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: any;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<AMapMarkerProps, {
|
|
13
|
-
getMarkers: () => any[];
|
|
14
|
-
clearMarkers: typeof removeMarkers;
|
|
15
|
-
addMarker: (data: MarkerData) => any;
|
|
16
|
-
removeMarker: (marker: any) => void;
|
|
17
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
-
click: (marker: any, data: MarkerData) => any;
|
|
19
|
-
dragend: (marker: any, data: MarkerData) => any;
|
|
20
|
-
mouseout: (marker: any, data: MarkerData) => any;
|
|
21
|
-
mouseover: (marker: any, data: MarkerData) => any;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<AMapMarkerProps> & Readonly<{
|
|
23
|
-
onClick?: ((marker: any, data: MarkerData) => any) | undefined;
|
|
24
|
-
onDragend?: ((marker: any, data: MarkerData) => any) | undefined;
|
|
25
|
-
onMouseout?: ((marker: any, data: MarkerData) => any) | undefined;
|
|
26
|
-
onMouseover?: ((marker: any, data: MarkerData) => any) | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
draggable: boolean;
|
|
29
|
-
visible: boolean;
|
|
30
|
-
updateMode: "incremental" | "full";
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { AMapTrackPlaybackProps } from './types';
|
|
2
|
-
declare function startAnimation(): void;
|
|
3
|
-
declare function pauseAnimation(): void;
|
|
4
|
-
declare function resumeAnimation(): void;
|
|
5
|
-
declare function stopAnimation(): void;
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
default?(_: {
|
|
10
|
-
isPlaying: boolean;
|
|
11
|
-
isPaused: boolean;
|
|
12
|
-
start: typeof startAnimation;
|
|
13
|
-
pause: typeof pauseAnimation;
|
|
14
|
-
resume: typeof resumeAnimation;
|
|
15
|
-
stop: typeof stopAnimation;
|
|
16
|
-
}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
rootEl: HTMLDivElement;
|
|
20
|
-
};
|
|
21
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import('vue').DefineComponent<AMapTrackPlaybackProps, {
|
|
23
|
-
start: typeof startAnimation;
|
|
24
|
-
pause: typeof pauseAnimation;
|
|
25
|
-
resume: typeof resumeAnimation;
|
|
26
|
-
stop: typeof stopAnimation;
|
|
27
|
-
isPlaying: globalThis.Ref<boolean, boolean>;
|
|
28
|
-
isPaused: globalThis.Ref<boolean, boolean>;
|
|
29
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
30
|
-
stop: () => any;
|
|
31
|
-
pause: () => any;
|
|
32
|
-
start: () => any;
|
|
33
|
-
resume: () => any;
|
|
34
|
-
end: () => any;
|
|
35
|
-
moving: (data: {
|
|
36
|
-
passedPath: import('./types').MapCenter[];
|
|
37
|
-
target: any;
|
|
38
|
-
}) => any;
|
|
39
|
-
}, string, import('vue').PublicProps, Readonly<AMapTrackPlaybackProps> & Readonly<{
|
|
40
|
-
onStop?: (() => any) | undefined;
|
|
41
|
-
onPause?: (() => any) | undefined;
|
|
42
|
-
onStart?: (() => any) | undefined;
|
|
43
|
-
onResume?: (() => any) | undefined;
|
|
44
|
-
onEnd?: (() => any) | undefined;
|
|
45
|
-
onMoving?: ((data: {
|
|
46
|
-
passedPath: import('./types').MapCenter[];
|
|
47
|
-
target: any;
|
|
48
|
-
}) => any) | undefined;
|
|
49
|
-
}>, {
|
|
50
|
-
duration: number;
|
|
51
|
-
autoPlay: boolean;
|
|
52
|
-
autoRotation: boolean;
|
|
53
|
-
loop: boolean;
|
|
54
|
-
showPath: boolean;
|
|
55
|
-
showPassedPath: boolean;
|
|
56
|
-
pathColor: string;
|
|
57
|
-
passedPathColor: string;
|
|
58
|
-
pathWeight: number;
|
|
59
|
-
carIcon: string;
|
|
60
|
-
carIconOffset: [number, number];
|
|
61
|
-
initialZoom: number;
|
|
62
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
63
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
64
|
-
export default _default;
|
|
65
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
-
new (): {
|
|
67
|
-
$slots: S;
|
|
68
|
-
};
|
|
69
|
-
};
|
package/dist/es/amap/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InstallWithSFC } from '../utils';
|
|
2
|
-
import { default as AMap } from './AMap.vue';
|
|
3
|
-
import { default as AMarker } from './AMarker.vue';
|
|
4
|
-
import { default as ATrackPlayback } from './ATrackPlayback.vue';
|
|
5
|
-
export declare const JkyAMap: InstallWithSFC<typeof AMap>;
|
|
6
|
-
export declare const JkyAMarker: InstallWithSFC<typeof AMarker>;
|
|
7
|
-
export declare const JkyATrackPlayback: InstallWithSFC<typeof ATrackPlayback>;
|
|
8
|
-
export default JkyAMap;
|
|
9
|
-
export { AMarker, ATrackPlayback };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
3
|
-
size?: 'large' | 'default' | 'small';
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
icon?: string;
|
|
7
|
-
iconPosition?: 'prefix' | 'suffix';
|
|
8
|
-
};
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: {
|
|
12
|
-
icon?(_: {}): any;
|
|
13
|
-
icon?(_: {}): any;
|
|
14
|
-
icon?(_: {}): any;
|
|
15
|
-
default?(_: {}): any;
|
|
16
|
-
default?(_: {}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
rootEl: HTMLButtonElement;
|
|
20
|
-
};
|
|
21
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
-
click: () => any;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
onClick?: (() => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from 'element-plus/es/components/button';
|
|
2
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
modelValue?: string | number;
|
|
5
|
-
items?: NavItem[];
|
|
6
|
-
limit?: number;
|
|
7
|
-
size?: ButtonProps['size'];
|
|
8
|
-
type?: ButtonProps['type'];
|
|
9
|
-
plain?: boolean;
|
|
10
|
-
buttonWidth?: string;
|
|
11
|
-
route?: boolean;
|
|
12
|
-
};
|
|
13
|
-
interface NavItem {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string | number;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
icon?: string;
|
|
18
|
-
to?: RouteLocationRaw;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
-
"update:modelValue": (value: string | number) => any;
|
|
22
|
-
change: (value: string | number) => any;
|
|
23
|
-
navClick: (item: NavItem) => any;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
26
|
-
onChange?: ((value: string | number) => any) | undefined;
|
|
27
|
-
onNavClick?: ((item: NavItem) => any) | undefined;
|
|
28
|
-
}>, {
|
|
29
|
-
size: "" | "default" | "large" | "small";
|
|
30
|
-
type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
31
|
-
plain: boolean;
|
|
32
|
-
items: NavItem[];
|
|
33
|
-
limit: number;
|
|
34
|
-
route: boolean;
|
|
35
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
36
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CodeMirrorEditorProps } from './types';
|
|
2
|
-
import { EditorView } from '@codemirror/view';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<CodeMirrorEditorProps, {
|
|
4
|
-
getEditor: () => EditorView | null;
|
|
5
|
-
getContent: () => string;
|
|
6
|
-
setContent: (content: string) => void;
|
|
7
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
-
"update:modelValue": (value: string) => any;
|
|
9
|
-
change: (value: string) => any;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<CodeMirrorEditorProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
-
onChange?: ((value: string) => any) | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
height: string;
|
|
15
|
-
modelValue: string;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
readonly: boolean;
|
|
18
|
-
language: "javascript" | "typescript" | "json" | "css" | "markdown" | "html" | "vue";
|
|
19
|
-
theme: "oneDark" | "default";
|
|
20
|
-
lineNumbers: boolean;
|
|
21
|
-
lineWrapping: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
-
editorRef: HTMLDivElement;
|
|
24
|
-
}, HTMLDivElement>;
|
|
25
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InstallWithSFC } from '../utils';
|
|
2
|
-
import { default as CodeMirrorEditor } from './CodeMirrorEditor.vue';
|
|
3
|
-
export type { CodeMirrorEditorEmits, CodeMirrorEditorProps } from './types';
|
|
4
|
-
export declare const JkyCodeMirrorEditor: InstallWithSFC<typeof CodeMirrorEditor>;
|
|
5
|
-
export default JkyCodeMirrorEditor;
|
package/dist/es/components.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Plugin } from 'vue';
|
|
2
|
-
export * from './add-input';
|
|
3
|
-
export * from './amap';
|
|
4
|
-
export * from './button';
|
|
5
|
-
export * from './button-nav';
|
|
6
|
-
export * from './code-mirror-editor';
|
|
7
|
-
export * from './form';
|
|
8
|
-
export * from './menu';
|
|
9
|
-
export * from './modal';
|
|
10
|
-
export * from './page-header';
|
|
11
|
-
export * from './page-layout';
|
|
12
|
-
export * from './page-table';
|
|
13
|
-
export * from './page-table-v2';
|
|
14
|
-
export * from './rich-editor';
|
|
15
|
-
export * from './say-hello';
|
|
16
|
-
export * from './tabs';
|
|
17
|
-
export declare const components: Plugin[];
|
|
18
|
-
export default components;
|