@king-design/vue 3.1.2 → 3.1.3
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/__tests__/__snapshots__/Vue Next Demos.md +38 -38
- package/__tests__/components/upload.spec.ts +39 -0
- package/components/collapse/item.vdt.js +3 -3
- package/components/collapse/styles.js +4 -4
- package/components/dialog/index.spec.js +61 -1
- package/components/dialog/usePosition.js +7 -0
- package/components/dropdown/usePosition.js +14 -11
- package/components/portal.js +15 -3
- package/components/upload/useFiles.js +3 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/styles/global.js +7 -2
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {createApp, render, defineComponent, ref} from 'vue';
|
|
2
|
+
import {mount, unmount, dispatchEvent, getElement, wait} from '@/test/utils';
|
|
3
|
+
import {Upload} from '../../';
|
|
4
|
+
|
|
5
|
+
describe('Upload', () => {
|
|
6
|
+
it('should handle bi-directional data binding for files', async () => {
|
|
7
|
+
const container = document.createElement('div');
|
|
8
|
+
document.body.appendChild(container);
|
|
9
|
+
const test = shouldNotWarn():
|
|
10
|
+
const Demo = defineComponent({
|
|
11
|
+
setup() {
|
|
12
|
+
const files = ref([]);
|
|
13
|
+
return { files };
|
|
14
|
+
},
|
|
15
|
+
components: { Upload },
|
|
16
|
+
template: `<Upload v-model:files="files" :autoUpload="false" />{{ files }}`
|
|
17
|
+
});
|
|
18
|
+
const vue = createApp({
|
|
19
|
+
template: `<Demo /> `,
|
|
20
|
+
components: { Demo },
|
|
21
|
+
}).mount(container);
|
|
22
|
+
|
|
23
|
+
await wait();
|
|
24
|
+
test();
|
|
25
|
+
|
|
26
|
+
render(null, container);
|
|
27
|
+
document.body.removeChild(container);
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
function shouldNotWarn() {
|
|
32
|
+
const warn = console.warn;
|
|
33
|
+
const spy = sinon.spy((...args: any[]) => warn.apply(console, args));
|
|
34
|
+
console.warn = spy;
|
|
35
|
+
return () => {
|
|
36
|
+
expect(spy.callCount).to.eql(0);
|
|
37
|
+
console.warn = warn;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -27,7 +27,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
27
27
|
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-collapse-item"] = true, _classNameObj[makeItemStyles(k)] = true, _classNameObj[className] = className, _classNameObj[k + "-active"] = isActive, _classNameObj[k + "-disabled"] = disabled, _classNameObj);
|
|
28
28
|
return _$cv('div', _extends({
|
|
29
29
|
'className': _$cn(classNameObj)
|
|
30
|
-
}, getRestProps(this)), [_$ce(2, 'div', [(_$blocks['title'] = function ($super) {
|
|
30
|
+
}, getRestProps(this)), [_$ce(2, 'div', [_$ce(2, 'div', (_$blocks['title'] = function ($super) {
|
|
31
31
|
return title;
|
|
32
32
|
}, __$blocks['title'] = function ($super, data) {
|
|
33
33
|
var block = $blocks['title'];
|
|
@@ -37,11 +37,11 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
return block ? block.call($this, callBlock, data) : callBlock();
|
|
40
|
-
}, __$blocks['title'](_$no)), _$cc(Icon, {
|
|
40
|
+
}, __$blocks['title'](_$no)), 0, _$cn(k + "-collapse-title-wrapper")), _$cc(Icon, {
|
|
41
41
|
'className': _$cn((_$cn2 = {}, _$cn2[k + "-collapse-arrow"] = true, _$cn2[k + "-icon-right"] = true, _$cn2)),
|
|
42
42
|
'hoverable': true,
|
|
43
43
|
'disabled': disabled
|
|
44
|
-
})],
|
|
44
|
+
})], 4, _$cn(k + "-collapse-title"), {
|
|
45
45
|
'ev-click': this.toggle
|
|
46
46
|
}), _$cc(Transition, _extends({
|
|
47
47
|
'show': isActive
|
|
@@ -9,7 +9,6 @@ var defaults = {
|
|
|
9
9
|
},
|
|
10
10
|
|
|
11
11
|
fontSize: '12px',
|
|
12
|
-
titleMarginRight: '8px',
|
|
13
12
|
borderPadding: '0 24px',
|
|
14
13
|
collBorder: '1px solid #eee',
|
|
15
14
|
|
|
@@ -19,7 +18,8 @@ var defaults = {
|
|
|
19
18
|
|
|
20
19
|
item: {
|
|
21
20
|
borderBottom: '1px solid #e5e5e5',
|
|
22
|
-
titleHeight: '40px'
|
|
21
|
+
titleHeight: '40px',
|
|
22
|
+
titleGap: '8px'
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
var collapse;
|
|
@@ -31,9 +31,9 @@ setDefault(function () {
|
|
|
31
31
|
makeItemStyles == null ? void 0 : makeItemStyles.clearCache();
|
|
32
32
|
});
|
|
33
33
|
export var makeStyles = cache(function makeStyles(k) {
|
|
34
|
-
return /*#__PURE__*/css("font-size:", collapse.fontSize, ";&.", k, "-left{
|
|
34
|
+
return /*#__PURE__*/css("font-size:", collapse.fontSize, ";&.", k, "-left{>.", k, "-collapse-item>.", k, "-collapse-title{flex-direction:row-reverse;}}&.", k, "-border{border-radius:", collapse.borderRadius, ";padding:", collapse.borderPadding, ";border:", collapse.collBorder, ";}");
|
|
35
35
|
});
|
|
36
36
|
export var makeItemStyles = cache(function makeItemStyles(k) {
|
|
37
37
|
var collapseItem = collapse.item;
|
|
38
|
-
return /*#__PURE__*/css("border-bottom:", collapseItem.borderBottom, ";&:last-of-type{border-bottom-color:transparent;}>.", k, "-collapse-title{cursor:pointer;font-weight:bold;height:", collapseItem.titleHeight, ";
|
|
38
|
+
return /*#__PURE__*/css("border-bottom:", collapseItem.borderBottom, ";&:last-of-type{border-bottom-color:transparent;}>.", k, "-collapse-title{cursor:pointer;font-weight:bold;height:", collapseItem.titleHeight, ";transition:color ", collapse.transition, ";display:flex;align-items:center;gap:", collapseItem.titleGap, ";.", k, "-collapse-title-wrapper{flex:1;}.", k, "-collapse-arrow{transition:transform ", collapse.transition, ";}}&:not(.", k, "-disabled){>.", k, "-collapse-title{&:hover{color:", theme.color.primary, ";}}}&.", k, "-active{>.", k, "-collapse-title .", k, "-collapse-arrow{transform:rotate(90deg);}}&.", k, "-disabled{color:", theme.color.disabledBorder, ";>.", k, "-collapse-title{cursor:not-allowed;}}");
|
|
39
39
|
});
|
|
@@ -7,7 +7,7 @@ import _asyncToGenerator from "@babel/runtime-corejs3/helpers/asyncToGenerator";
|
|
|
7
7
|
|
|
8
8
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
9
|
|
|
10
|
-
function _unsupportedIterableToArray(o, minLen) { var
|
|
10
|
+
function _unsupportedIterableToArray(o, minLen) { var _context23; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context23 = Object.prototype.toString.call(o)).call(_context23, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
11
11
|
|
|
12
12
|
function _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; }
|
|
13
13
|
|
|
@@ -732,6 +732,66 @@ describe('Dialog', function () {
|
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
}, _callee14);
|
|
735
|
+
})));
|
|
736
|
+
it('should update position when change container', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee15() {
|
|
737
|
+
var Demo, _mount15, instance, element, dialogDom, style;
|
|
738
|
+
|
|
739
|
+
return _regeneratorRuntime.wrap(function _callee15$(_context22) {
|
|
740
|
+
while (1) {
|
|
741
|
+
switch (_context22.prev = _context22.next) {
|
|
742
|
+
case 0:
|
|
743
|
+
Demo = /*#__PURE__*/function (_Component7) {
|
|
744
|
+
_inheritsLoose(Demo, _Component7);
|
|
745
|
+
|
|
746
|
+
function Demo() {
|
|
747
|
+
var _context21;
|
|
748
|
+
|
|
749
|
+
var _this7;
|
|
750
|
+
|
|
751
|
+
for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
|
|
752
|
+
args[_key7] = arguments[_key7];
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
_this7 = _Component7.call.apply(_Component7, _concatInstanceProperty(_context21 = [this]).call(_context21, args)) || this;
|
|
756
|
+
_this7.Dialog = Dialog;
|
|
757
|
+
return _this7;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
Demo.defaults = function defaults() {
|
|
761
|
+
return {
|
|
762
|
+
container: function container(parentDom) {
|
|
763
|
+
return parentDom;
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
return Demo;
|
|
769
|
+
}(Component);
|
|
770
|
+
|
|
771
|
+
Demo.template = "\n var Dialog = this.Dialog;\n <Dialog value={true} container={this.get('container')} ref=\"dialog\">test</Dialog>\n ";
|
|
772
|
+
_mount15 = mount(Demo), instance = _mount15[0], element = _mount15[1];
|
|
773
|
+
_context22.next = 5;
|
|
774
|
+
return wait();
|
|
775
|
+
|
|
776
|
+
case 5:
|
|
777
|
+
instance.set('container', undefined);
|
|
778
|
+
_context22.next = 8;
|
|
779
|
+
return wait();
|
|
780
|
+
|
|
781
|
+
case 8:
|
|
782
|
+
dialogDom = instance.refs.dialog.dialogRef.value;
|
|
783
|
+
style = dialogDom.style;
|
|
784
|
+
expect(style.left).not.eql('');
|
|
785
|
+
expect(style.top).not.eql(''); // should append to body
|
|
786
|
+
|
|
787
|
+
expect(dialogDom.closest('.k-dialog-wrapper').parentElement).to.eql(document.body);
|
|
788
|
+
|
|
789
|
+
case 13:
|
|
790
|
+
case "end":
|
|
791
|
+
return _context22.stop();
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}, _callee15);
|
|
735
795
|
}))); // it('should handle v-if and v-model at the same time correctly in Vue', async () => {
|
|
736
796
|
// const Test = {
|
|
737
797
|
// template: `<Dialog v-model="show" v-if="show" ref="dialog">test</Dialog>`,
|
|
@@ -5,6 +5,13 @@ export function usePosition(elementRef) {
|
|
|
5
5
|
var instance = useInstance();
|
|
6
6
|
instance.on(SHOW, center);
|
|
7
7
|
instance.on('afterClose', onAfterLeave);
|
|
8
|
+
instance.watch('container', function () {
|
|
9
|
+
if (!instance.get('value')) return;
|
|
10
|
+
center();
|
|
11
|
+
}, {
|
|
12
|
+
presented: true,
|
|
13
|
+
inited: true
|
|
14
|
+
});
|
|
8
15
|
|
|
9
16
|
function center() {
|
|
10
17
|
position(elementRef.value, {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
2
2
|
import { useInstance, findDomFromVNode } from 'intact-vue-next';
|
|
3
3
|
import { position } from '../position';
|
|
4
|
-
import { noop } from 'intact-shared';
|
|
5
|
-
import { isObject } from 'intact-shared';
|
|
4
|
+
import { noop, isObject, isFunction } from 'intact-shared';
|
|
6
5
|
import { isEqualObject } from '../utils';
|
|
7
6
|
export function usePosition() {
|
|
8
7
|
var instance = useInstance();
|
|
@@ -16,19 +15,23 @@ export function usePosition() {
|
|
|
16
15
|
});
|
|
17
16
|
['of', 'position'].forEach(function (item) {
|
|
18
17
|
instance.watch(item, function (newValue, oldValue) {
|
|
19
|
-
// return if object is the same
|
|
20
|
-
|
|
21
|
-
!(newValue instanceof Event) && isEqualObject(newValue, oldValue))
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if (instance.get('value')) {
|
|
26
|
-
handle(noop);
|
|
27
|
-
}
|
|
18
|
+
if (!instance.get('value') || // return if object is the same
|
|
19
|
+
isObject(newValue) && isObject(oldValue) && // is not event object
|
|
20
|
+
!(newValue instanceof Event) && isEqualObject(newValue, oldValue)) return;
|
|
21
|
+
handle(noop);
|
|
28
22
|
}, {
|
|
29
23
|
presented: true,
|
|
30
24
|
inited: true
|
|
31
25
|
});
|
|
26
|
+
}); // watch container, it is not commonly used
|
|
27
|
+
|
|
28
|
+
instance.watch('container', function (newValue, oldValue) {
|
|
29
|
+
if (!instance.get('value') || // return if function is the same. Not rigorous!
|
|
30
|
+
isFunction(newValue) && isFunction(oldValue) && newValue.toString() === oldValue.toString()) return;
|
|
31
|
+
handle(noop);
|
|
32
|
+
}, {
|
|
33
|
+
presented: true,
|
|
34
|
+
inited: true
|
|
32
35
|
}); // if the dropdown is nested, we must show child after parent has positioned
|
|
33
36
|
|
|
34
37
|
function p(ofElement, parentFeedback) {
|
package/components/portal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
2
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
3
|
-
import { Component, createCommentVNode, createTextVNode, mount, patch, remove, inject } from 'intact-vue-next';
|
|
3
|
+
import { Component, createCommentVNode, createTextVNode, mount, patch, remove, inject, unmount, removeVNodeDom } from 'intact-vue-next';
|
|
4
4
|
import { isString } from 'intact-shared';
|
|
5
5
|
import { DIALOG } from './dialog/constants';
|
|
6
6
|
import { BaseDialog } from './dialog/base';
|
|
@@ -51,7 +51,9 @@ export var Portal = /*#__PURE__*/function (_Component) {
|
|
|
51
51
|
var nextProps = nextVNode.props;
|
|
52
52
|
var fakeContainer = document.createDocumentFragment();
|
|
53
53
|
(mountedQueue.priority || mountedQueue).push(function () {
|
|
54
|
-
var parentDom = _this2.$lastInput.dom.parentElement;
|
|
54
|
+
var parentDom = _this2.$lastInput.dom.parentElement; // maybe the <!-- portal --> has been removed by react, #938
|
|
55
|
+
|
|
56
|
+
if (!parentDom) return;
|
|
55
57
|
|
|
56
58
|
_this2.initContainer(nextProps.container, parentDom, anchor);
|
|
57
59
|
|
|
@@ -97,7 +99,14 @@ export var Portal = /*#__PURE__*/function (_Component) {
|
|
|
97
99
|
};
|
|
98
100
|
|
|
99
101
|
_proto.$unmount = function $unmount(vNode, nextVNode) {
|
|
100
|
-
|
|
102
|
+
var children = vNode.props.children;
|
|
103
|
+
unmount(children, null);
|
|
104
|
+
|
|
105
|
+
if (this.container) {
|
|
106
|
+
// maybe the <!-- portal --> has been removed by react, #938
|
|
107
|
+
// remove(children, this.container, false);
|
|
108
|
+
removeVNodeDom(children, this.container);
|
|
109
|
+
}
|
|
101
110
|
|
|
102
111
|
_Component.prototype.$unmount.call(this, vNode, nextVNode);
|
|
103
112
|
};
|
|
@@ -109,6 +118,9 @@ export var Portal = /*#__PURE__*/function (_Component) {
|
|
|
109
118
|
} else {
|
|
110
119
|
this.container = container(parentDom, anchor);
|
|
111
120
|
}
|
|
121
|
+
} else {
|
|
122
|
+
// let below logic to set container to default if container does not exist.
|
|
123
|
+
this.container = null;
|
|
112
124
|
}
|
|
113
125
|
|
|
114
126
|
if (!this.container) {
|
|
@@ -9,6 +9,7 @@ import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/spl
|
|
|
9
9
|
import { useInstance } from 'intact-vue-next';
|
|
10
10
|
import { _$ } from '../../i18n';
|
|
11
11
|
import { UploadFileStatus } from './useUpload';
|
|
12
|
+
import { isEqualArray } from '../utils';
|
|
12
13
|
var uid = 0;
|
|
13
14
|
export function useFiles(isValidType, upload) {
|
|
14
15
|
var instance = useInstance();
|
|
@@ -33,8 +34,8 @@ export function useFiles(isValidType, upload) {
|
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
instance.on("$receive:files", function (files) {
|
|
37
|
-
if (!files) return;
|
|
37
|
+
instance.on("$receive:files", function (files, oldFiles) {
|
|
38
|
+
if (!files || isEqualArray(files, oldFiles)) return;
|
|
38
39
|
instance.set('files', _mapInstanceProperty(files).call(files, normalizeFile));
|
|
39
40
|
});
|
|
40
41
|
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.1.
|
|
2
|
+
* @king-design v3.1.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -60,7 +60,7 @@ export * from './components/tree';
|
|
|
60
60
|
export * from './components/treeSelect';
|
|
61
61
|
export * from './components/upload';
|
|
62
62
|
export * from './components/wave';
|
|
63
|
-
export declare const version = "3.1.
|
|
63
|
+
export declare const version = "3.1.3";
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
export {normalize} from 'intact-vue-next';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.1.
|
|
2
|
+
* @king-design v3.1.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -62,7 +62,7 @@ export * from './components/tree';
|
|
|
62
62
|
export * from './components/treeSelect';
|
|
63
63
|
export * from './components/upload';
|
|
64
64
|
export * from './components/wave';
|
|
65
|
-
export var version = '3.1.
|
|
65
|
+
export var version = '3.1.3';
|
|
66
66
|
/* generate end */
|
|
67
67
|
|
|
68
68
|
export {normalize} from 'intact-vue-next';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/vue",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "King-Design UI components for Vue3.0.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@emotion/css": "^11.5.0",
|
|
38
38
|
"dayjs": "^1.10.7",
|
|
39
39
|
"enquire.js": "^2.1.6",
|
|
40
|
-
"intact-vue-next": "3.0.
|
|
40
|
+
"intact-vue-next": "3.0.24",
|
|
41
41
|
"monaco-editor": "^0.26.1",
|
|
42
42
|
"mxgraphx": "^4.0.7",
|
|
43
43
|
"resize-observer-polyfill": "^1.5.1",
|
package/styles/global.js
CHANGED
|
@@ -10,8 +10,13 @@ var slideDirections = {
|
|
|
10
10
|
up: 'center bottom 0',
|
|
11
11
|
left: 'right center 0',
|
|
12
12
|
right: 'left center 0'
|
|
13
|
-
};
|
|
13
|
+
};
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
if (!/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) {
|
|
16
|
+
document.body.classList.add('k-customize-scrollbar');
|
|
17
|
+
} // TODO: update global when theme changed
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
injectGlobal("html{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,SF Pro SC,SF Pro Text,Helvetica Neue,Helvetica,PingFang SC,Segoe UI,Roboto,Hiragino Sans GB,arial,microsoft yahei ui,Microsoft YaHei,sans-serif;}body{font-size:", theme.fontSize, ";line-height:", theme.lineHeight, ";margin:0;padding:0;color:", theme.color.text, ";}*,*:before,*:after{box-sizing:inherit;}.k-customize-scrollbar{&::-webkit-scrollbar,*::-webkit-scrollbar{width:10px;height:10px;background-color:#fff;}&::-webkit-scrollbar-track,*::-webkit-scrollbar-track{background-color:#fff;}&::-webkit-scrollbar-thumb,*::-webkit-scrollbar-thumb{background-color:#babac0;border-radius:16px;border:2px solid #fff;&:hover{background-color:#a0a0a5;}}&::-webkit-scroll-button,*::-webkit-scroll-button{display:none;}}", _mapInstanceProperty(_context = _Object$keys(slideDirections)).call(_context, function (direction) {
|
|
16
21
|
return /*#__PURE__*/css(".k-slide", direction, "-enter-from,.k-slide", direction, "-leave-to{transform-origin:", slideDirections[direction], ";opacity:0;transform:", direction === 'down' || direction === 'up' ? "scaleY(.8)" : 'scaleX(.8)', ";}.k-slide", direction, "-enter-active,.k-slide", direction, "-leave-active{transform-origin:", slideDirections[direction], ";transition:opacity ", theme.transition.large, ",transform ", theme.transition.large, "!important;}.k-slide", direction, "-leave-active{pointer-events:none;}");
|
|
17
22
|
}), " .k-fade-enter-from,.k-fade-leave-to{opacity:0!important;}.k-fade-enter-active,.k-fade-leave-active{transition:opacity ", theme.transition.large, "!important;}.k-fade-leave-active:not(tr){position:absolute;}.k-fade-move{transition:transform ", theme.transition.large, "!important;}.k-scale-enter-from,.k-scale-leave-to{transform:scale(0);}.k-scale-enter-active,.k-scale-leave-active{transition:transform ", theme.transition.large, ";}.k-expand-enter-from,.k-expand-leave-to{opacity:0;overflow:hidden;}.k-expand-enter-active,.k-expand-leave-active{transition:all ", theme.transition.large, "!important;overflow:hidden;}.k-expand-move{transition:transform ", theme.transition.large, ";}.k-dropdown-enter-from,.k-dropdown-leave-to{opacity:0;transform:translateY(-20px);}.k-dropdown-enter-active,.k-dropdown-leave-active,.k-dropdown-move{transition:all ", theme.transition.large, ";}.k-dropdown-leave-active{position:absolute!important;}.k-dropdown-move{transition:transform ", theme.transition.large, ";}.k-fade-in-left-enter-from,.k-fade-in-left-leave-to{opacity:0;transform:translate3d(-15px, 0, 0);}.k-fade-in-left-enter-active,.k-fade-in-left-leave-active{transition:all ", theme.transition.large, ";}.k-fade-in-left-move{transition:transform ", theme.transition.large, ";}.k-fade-expand-enter-from,.k-fade-expand-leave-to{opacity:0;}.k-fade-expand-enter-active,.k-fade-expand-leave-active{transition:all ", theme.transition.large, ";}.c-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.c-hidden{display:none!important;}.c-middle{display:inline-block;vertical-align:middle;}");
|