bkui-vue 2.0.1-beta.14 → 2.0.1-beta.15

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.
@@ -162,6 +162,7 @@ var buttonProps = {
162
162
  }
163
163
  };
164
164
  /* harmony default export */ const src_button = ((0,external_vue_namespaceObject.defineComponent)({
165
+ // eslint-disable-next-line vue/no-reserved-component-names
165
166
  name: 'Button',
166
167
  props: buttonProps,
167
168
  emits: ['click', 'mouseover'],
@@ -116,6 +116,7 @@ var colProps = {
116
116
  push: shared_namespaceObject.PropTypes.number.def(0)
117
117
  };
118
118
  /* harmony default export */ const col = ((0,external_vue_namespaceObject.defineComponent)({
119
+ // eslint-disable-next-line vue/no-reserved-component-names
119
120
  name: 'Col',
120
121
  props: colProps,
121
122
  emits: [],
@@ -3515,7 +3515,6 @@ var timeRangeProps = {
3515
3515
 
3516
3516
  function date_range_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3517
3517
  function date_range_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? date_range_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : date_range_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3518
- /* eslint-disable @typescript-eslint/no-explicit-any */
3519
3518
  /*
3520
3519
  * Tencent is pleased to support the open source community by making
3521
3520
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -56,7 +56,7 @@ declare const dateRangePanelProps: {
56
56
  readonly default: "yyyy-MM-dd";
57
57
  };
58
58
  readonly timePickerOptions: {
59
- readonly type: PropType<Record<string, unknown>>;
59
+ readonly type: PropType<Record<string, any>>;
60
60
  readonly default: () => {};
61
61
  };
62
62
  readonly shortcutSelectedIndex: {
@@ -120,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
120
120
  readonly default: "yyyy-MM-dd";
121
121
  };
122
122
  readonly timePickerOptions: {
123
- readonly type: PropType<Record<string, unknown>>;
123
+ readonly type: PropType<Record<string, any>>;
124
124
  readonly default: () => {};
125
125
  };
126
126
  readonly shortcutSelectedIndex: {
@@ -255,7 +255,7 @@ declare const _default: import("vue").DefineComponent<{
255
255
  readonly default: "yyyy-MM-dd";
256
256
  };
257
257
  readonly timePickerOptions: {
258
- readonly type: PropType<Record<string, unknown>>;
258
+ readonly type: PropType<Record<string, any>>;
259
259
  readonly default: () => {};
260
260
  };
261
261
  readonly shortcutSelectedIndex: {
@@ -273,7 +273,7 @@ declare const _default: import("vue").DefineComponent<{
273
273
  readonly confirm: boolean;
274
274
  readonly clearable: boolean;
275
275
  readonly format: string;
276
- readonly timePickerOptions: Record<string, unknown>;
276
+ readonly timePickerOptions: {};
277
277
  readonly splitPanels: boolean;
278
278
  readonly shortcuts: DatePickerShortcutsType;
279
279
  readonly shortcutClose: boolean;
package/lib/dist.index.js CHANGED
@@ -24,7 +24,5 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
  import './styles';
27
- export * from './components';
28
- export { default } from './preset';
29
- export * from './config-provider';
30
- export * from './directives';
27
+ export { default } from './index';
28
+ export * from './index';
package/lib/form/index.js CHANGED
@@ -266,6 +266,7 @@ var formEvents = {
266
266
  }
267
267
  };
268
268
  /* harmony default export */ const src_form = ((0,external_vue_namespaceObject.defineComponent)({
269
+ // eslint-disable-next-line vue/no-reserved-component-names
269
270
  name: 'Form',
270
271
  props: formProps,
271
272
  emits: formEvents,
@@ -125,6 +125,7 @@ var propsImageViever = {
125
125
 
126
126
 
127
127
  /* harmony default export */ const src_image = ((0,external_vue_namespaceObject.defineComponent)({
128
+ // eslint-disable-next-line vue/no-reserved-component-names
128
129
  name: 'Image',
129
130
  props: propsImage,
130
131
  emits: ['loaded', 'error', 'close', 'change'],
package/lib/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
+ declare global {
2
+ interface Window {
3
+ __bkui_vue_version__: string;
4
+ }
5
+ }
1
6
  export * from './components';
2
7
  export * from './hooks';
3
8
  export { default } from './preset';
4
9
  export * from './config-provider';
5
10
  export * from './directives';
6
11
  export * as plugins from './plugins';
12
+ export declare const version: string;
package/lib/index.js CHANGED
@@ -1,32 +1,8 @@
1
- /*
2
- * Tencent is pleased to support the open source community by making
3
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
- *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6
- *
7
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
- *
9
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
10
- *
11
- * ---------------------------------------------------
12
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
13
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
14
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
15
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
18
- * the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
21
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
- * IN THE SOFTWARE.
25
- */
26
- // import './styles';
27
1
  export * from './components';
28
2
  export * from './hooks';
29
3
  export { default } from './preset';
30
4
  export * from './config-provider';
31
5
  export * from './directives';
32
6
  export * as plugins from './plugins';
7
+ export const version = "2.0.1-beta.15";
8
+ window.__bkui_vue_version__ = version;
@@ -808,6 +808,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
808
808
  return true;
809
809
  }), EVENTS.INPUT, EventFunction), EVENTS.KEYPRESS, EventFunction), EVENTS.KEYDOWN, EventFunction), EVENTS.KEYUP, EventFunction), EVENTS.ENTER, EventFunction), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_inputEmitEventsType, EVENTS.PASTE, PastEventFunction), EVENTS.COMPOSITIONSTART, CompositionEventFunction), EVENTS.COMPOSITIONUPDATE, CompositionEventFunction), EVENTS.COMPOSITIONEND, CompositionEventFunction));
810
810
  /* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
811
+ // eslint-disable-next-line vue/no-reserved-component-names
811
812
  name: 'Input',
812
813
  directives: {
813
814
  bkTooltips: directives_namespaceObject.bkTooltips
@@ -3566,6 +3566,7 @@ function _isSlot(s) {
3566
3566
  /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
3567
3567
  name: 'Popover',
3568
3568
  components: {
3569
+ // eslint-disable-next-line vue/no-reserved-component-names
3569
3570
  Content: content,
3570
3571
  Arrow: src_arrow,
3571
3572
  Root: root
@@ -3569,6 +3569,7 @@ function _isSlot(s) {
3569
3569
  /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
3570
3570
  name: 'Popover',
3571
3571
  components: {
3572
+ // eslint-disable-next-line vue/no-reserved-component-names
3572
3573
  Content: content,
3573
3574
  Arrow: src_arrow,
3574
3575
  Root: root
package/lib/preset.d.ts CHANGED
@@ -288,6 +288,5 @@ declare const _default: {
288
288
  default: string;
289
289
  };
290
290
  }>>) => void;
291
- version: string;
292
291
  };
293
292
  export default _default;
package/lib/preset.js CHANGED
@@ -43,5 +43,4 @@ const createInstall = (prefix = 'Bk') => (app, options) => {
43
43
  export default {
44
44
  createInstall,
45
45
  install: createInstall(),
46
- version: '0.0.1',
47
46
  };
@@ -334,6 +334,7 @@ var progressType = {
334
334
  })
335
335
  };
336
336
  /* harmony default export */ const progress = ((0,external_vue_namespaceObject.defineComponent)({
337
+ // eslint-disable-next-line vue/no-reserved-component-names
337
338
  name: 'Progress',
338
339
  props: progressType,
339
340
  setup: function setup() {
@@ -732,6 +732,7 @@ function isInViewPort(el, client) {
732
732
 
733
733
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
734
734
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
735
+ /* eslint-disable vue/no-reserved-component-names */
735
736
  /*
736
737
  * Tencent is pleased to support the open source community by making
737
738
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -2549,6 +2550,7 @@ function select_unsupportedIterableToArray(o, minLen) { if (!o) return; if (type
2549
2550
  function select_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
2550
2551
  function select_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2551
2552
  function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? select_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : select_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2553
+ /* eslint-disable vue/no-reserved-component-names */
2552
2554
  /*
2553
2555
  * Tencent is pleased to support the open source community by making
2554
2556
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -24020,6 +24020,7 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
24020
24020
 
24021
24021
 
24022
24022
  /* harmony default export */ const table = ((0,external_vue_namespaceObject.defineComponent)({
24023
+ // eslint-disable-next-line vue/no-reserved-component-names
24023
24024
  name: 'Table',
24024
24025
  props: tableProps,
24025
24026
  emits: EMIT_EVENT_TYPES,
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.14",
4
- "workspaces": {
5
- "packages": [
6
- "packages/**",
7
- "scripts/cli",
8
- "site"
9
- ]
10
- },
3
+ "version": "2.0.1-beta.15",
4
+ "workspaces": [
5
+ "packages/**",
6
+ "scripts/cli",
7
+ "site"
8
+ ],
11
9
  "files": [
12
10
  "lib",
13
11
  "dist"