xrk-components 2.0.0-beta.76 → 2.0.0-beta.77

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/lib/index.css CHANGED
@@ -20227,6 +20227,11 @@
20227
20227
  width: 100%;
20228
20228
  height: 100%;
20229
20229
  overflow: auto;
20230
+ scrollbar-width: none; /* Firefox */
20231
+ -ms-overflow-style: none; /* IE/Edge */
20232
+ }
20233
+ .base-layout-menu .main-menu[data-v-1bea9a2a]::-webkit-scrollbar {
20234
+ display: none; /* Chrome/Safari/Opera */
20230
20235
  }
20231
20236
  .base-layout-menu .main-menu[data-v-1bea9a2a] .xrk-collapse-item__content {
20232
20237
  padding-bottom: 0;
@@ -20329,16 +20334,27 @@
20329
20334
  -webkit-transition: all 0.15s;
20330
20335
  transition: all 0.15s;
20331
20336
  }
20332
- .base-layout-menu .main-menu .sub-menu[data-v-1bea9a2a]:hover, .base-layout-menu .main-menu .sub-menu.active[data-v-1bea9a2a] {
20337
+ .base-layout-menu .main-menu .sub-menu[data-v-1bea9a2a]:not(.active):hover {
20338
+ color: var(--xrk-color-primary);
20339
+ -webkit-transition: all 0.15s;
20340
+ transition: all 0.15s;
20341
+ }
20342
+ .base-layout-menu .main-menu .sub-menu[data-v-1bea9a2a]:not(.active):hover::before {
20343
+ background-color: var(--xrk-color-primary);
20344
+ }
20345
+ .base-layout-menu .main-menu .sub-menu[data-v-1bea9a2a]:not(.active):hover::after {
20346
+ opacity: 0;
20347
+ }
20348
+ .base-layout-menu .main-menu .sub-menu.active[data-v-1bea9a2a] {
20333
20349
  color: var(--xrk-color-primary);
20334
20350
  background-color: var(--xrk-color-primary-light-9);
20335
20351
  -webkit-transition: all 0.15s;
20336
20352
  transition: all 0.15s;
20337
20353
  }
20338
- .base-layout-menu .main-menu .sub-menu[data-v-1bea9a2a]:hover::before, .base-layout-menu .main-menu .sub-menu.active[data-v-1bea9a2a]::before {
20354
+ .base-layout-menu .main-menu .sub-menu.active[data-v-1bea9a2a]::before {
20339
20355
  background-color: var(--xrk-color-primary);
20340
20356
  }
20341
- .base-layout-menu .main-menu .sub-menu[data-v-1bea9a2a]:hover::after, .base-layout-menu .main-menu .sub-menu.active[data-v-1bea9a2a]::after {
20357
+ .base-layout-menu .main-menu .sub-menu.active[data-v-1bea9a2a]::after {
20342
20358
  opacity: 1;
20343
20359
  -webkit-transform: translateX(0);
20344
20360
  transform: translateX(0);
@@ -20424,6 +20440,7 @@
20424
20440
  -webkit-transform: translateX(0);
20425
20441
  transform: translateX(0);
20426
20442
  }
20443
+ @charset "UTF-8";
20427
20444
  .base-layout-main[data-v-3f66cd84] {
20428
20445
  width: var(--base-layout-main-width, 100vw);
20429
20446
  height: var(--base-layout-main-height, 100vh);
@@ -20455,22 +20472,20 @@
20455
20472
  align-items: center;
20456
20473
  -webkit-box-sizing: border-box;
20457
20474
  box-sizing: border-box;
20475
+ width: 100vw;
20476
+ overflow: auto;
20477
+ overflow-y: hidden;
20478
+ scroll-behavior: smooth;
20479
+ scrollbar-width: none; /* Firefox */
20480
+ -ms-overflow-style: none; /* IE 和 Edge */
20458
20481
  }
20459
- .base-layout-main > .menu-top .home-item[data-v-3f66cd84] {
20460
- -webkit-box-sizing: border-box;
20461
- box-sizing: border-box;
20462
- padding: 5px 20px;
20463
- font-size: 16px;
20464
- color: var(--xrk-color-primary);
20465
- cursor: pointer;
20466
- }
20467
- .base-layout-main > .menu-top .home-item[data-v-3f66cd84]:hover {
20468
- color: var(--xrk-color-primary);
20469
- }
20470
- .base-layout-main > .menu-top .home-item[data-v-3f66cd84]:active {
20471
- opacity: 0.6;
20482
+ .base-layout-main > .menu-top[data-v-3f66cd84]::-webkit-scrollbar {
20483
+ display: none; /* 对于Chrome, Safari */
20472
20484
  }
20473
20485
  .base-layout-main > .menu-top .menu-top-item[data-v-3f66cd84] {
20486
+ -webkit-flex-shrink: 0;
20487
+ -ms-flex-negative: 0;
20488
+ flex-shrink: 0;
20474
20489
  -webkit-box-sizing: border-box;
20475
20490
  box-sizing: border-box;
20476
20491
  padding: 5px 20px;
package/lib/index.esm.js CHANGED
@@ -73143,7 +73143,7 @@ var script$o = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$m
73143
73143
  filterMethod: { type: Function, required: false },
73144
73144
  maxlength: { type: Number, required: false, default: 50 },
73145
73145
  remoteMethod: { type: Function, required: false },
73146
- notRemoteAutoFilter: { type: Boolean, required: true },
73146
+ notRemoteAutoFilter: { type: Boolean, required: false },
73147
73147
  loadingText: { type: String, required: false, default: '加载中' },
73148
73148
  noMatchText: { type: String, required: false, default: '暂无数据' },
73149
73149
  noDataText: { type: String, required: false, default: '暂无数据' },
@@ -75310,7 +75310,12 @@ var script$b = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$b
75310
75310
  handleStart: function (file) {
75311
75311
  var _a, _b;
75312
75312
  (_b = (_a = baseUploadRef.value) === null || _a === void 0 ? void 0 : _a.handleStart) === null || _b === void 0 ? void 0 : _b.call(_a, file);
75313
- }
75313
+ },
75314
+ inputClick: function () {
75315
+ var _a;
75316
+ baseUploadRef.value && ((_a = Reflect.get(baseUploadRef.value, 'inputClick')) === null || _a === void 0 ? void 0 : _a());
75317
+ },
75318
+ getBaseUploadRef: function () { return baseUploadRef.value; }
75314
75319
  });
75315
75320
  return function (_ctx, _cache) {
75316
75321
  return (openBlock(), createElementBlock("div", _hoisted_1$6, [
@@ -76804,8 +76809,7 @@ var script$3 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$3
76804
76809
  return (openBlock(), createElementBlock("div", {
76805
76810
  key: subIndex,
76806
76811
  class: normalizeClass(["sub-menu", {
76807
- active: activeMenus.value.includes(subMenu.url) ||
76808
- unref(activeSubMenu).url === subMenu.url
76812
+ active: activeMenus.value.includes(subMenu.url)
76809
76813
  }]),
76810
76814
  onClick: function ($event) { return (onMenuClick(subMenu)); },
76811
76815
  name: subMenu.url,
package/lib/index.umd.js CHANGED
@@ -73146,7 +73146,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
73146
73146
  filterMethod: { type: Function, required: false },
73147
73147
  maxlength: { type: Number, required: false, default: 50 },
73148
73148
  remoteMethod: { type: Function, required: false },
73149
- notRemoteAutoFilter: { type: Boolean, required: true },
73149
+ notRemoteAutoFilter: { type: Boolean, required: false },
73150
73150
  loadingText: { type: String, required: false, default: '加载中' },
73151
73151
  noMatchText: { type: String, required: false, default: '暂无数据' },
73152
73152
  noDataText: { type: String, required: false, default: '暂无数据' },
@@ -75313,7 +75313,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75313
75313
  handleStart: function (file) {
75314
75314
  var _a, _b;
75315
75315
  (_b = (_a = baseUploadRef.value) === null || _a === void 0 ? void 0 : _a.handleStart) === null || _b === void 0 ? void 0 : _b.call(_a, file);
75316
- }
75316
+ },
75317
+ inputClick: function () {
75318
+ var _a;
75319
+ baseUploadRef.value && ((_a = Reflect.get(baseUploadRef.value, 'inputClick')) === null || _a === void 0 ? void 0 : _a());
75320
+ },
75321
+ getBaseUploadRef: function () { return baseUploadRef.value; }
75317
75322
  });
75318
75323
  return function (_ctx, _cache) {
75319
75324
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
@@ -76807,8 +76812,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
76807
76812
  return (vue.openBlock(), vue.createElementBlock("div", {
76808
76813
  key: subIndex,
76809
76814
  class: vue.normalizeClass(["sub-menu", {
76810
- active: activeMenus.value.includes(subMenu.url) ||
76811
- vue.unref(activeSubMenu).url === subMenu.url
76815
+ active: activeMenus.value.includes(subMenu.url)
76812
76816
  }]),
76813
76817
  onClick: function ($event) { return (onMenuClick(subMenu)); },
76814
76818
  name: subMenu.url,
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
96
96
  };
97
97
  notRemoteAutoFilter: {
98
98
  type: BooleanConstructor;
99
- required: true;
99
+ required: false;
100
100
  };
101
101
  loadingText: {
102
102
  type: StringConstructor;
@@ -221,7 +221,7 @@ declare const _default: import("vue").DefineComponent<{
221
221
  };
222
222
  notRemoteAutoFilter: {
223
223
  type: BooleanConstructor;
224
- required: true;
224
+ required: false;
225
225
  };
226
226
  loadingText: {
227
227
  type: StringConstructor;
@@ -268,6 +268,7 @@ declare const _default: import("vue").DefineComponent<{
268
268
  allowCreate: boolean;
269
269
  fitInputWidth: boolean;
270
270
  maxlength: number;
271
+ notRemoteAutoFilter: boolean;
271
272
  loadingText: string;
272
273
  noMatchText: string;
273
274
  noDataText: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "2.0.0-beta.76",
3
+ "version": "2.0.0-beta.77",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",