@syncfusion/ej2-vue-navigations 19.2.62 → 19.3.46
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/CHANGELOG.md +41 -0
- package/README.md +1 -164
- package/breadcrumb.d.ts +4 -0
- package/breadcrumb.js +4 -0
- package/dist/ej2-vue-navigations.umd.min.js +10 -1
- package/dist/es6/ej2-vue-navigations.es2015.js +332 -101
- package/dist/es6/ej2-vue-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-navigations.es5.js +386 -118
- package/dist/es6/ej2-vue-navigations.es5.js.map +1 -1
- package/dist/global/ej2-vue-navigations.min.js +2 -2
- package/package.json +23 -9
- package/src/accordion/accordion.component.d.ts +0 -1
- package/src/accordion/accordion.component.js +6 -6
- package/src/breadcrumb/breadcrumb.component.d.ts +38 -0
- package/src/breadcrumb/breadcrumb.component.js +181 -0
- package/src/breadcrumb/index.d.ts +2 -0
- package/src/breadcrumb/index.js +2 -0
- package/src/breadcrumb/items.directive.d.ts +31 -0
- package/src/breadcrumb/items.directive.js +88 -0
- package/src/context-menu/contextmenu.component.js +2 -1
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/menu/menu.component.js +2 -1
- package/src/sidebar/sidebar.component.js +6 -3
- package/src/tab/tab.component.js +2 -1
- package/src/toolbar/toolbar.component.js +2 -1
- package/src/treeview/treeview.component.js +2 -1
- package/styles/accordion/bootstrap5-dark.css +428 -0
- package/styles/accordion/bootstrap5-dark.scss +1 -0
- package/styles/accordion/bootstrap5.css +428 -0
- package/styles/accordion/bootstrap5.scss +1 -0
- package/styles/accordion/highcontrast-light.css +0 -1
- package/styles/accordion/highcontrast.css +0 -1
- package/styles/accordion/material-dark.css +2 -2
- package/styles/accordion/tailwind-dark.css +1 -1
- package/styles/bootstrap-dark.css +355 -62
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +352 -59
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +354 -62
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +9926 -0
- package/styles/bootstrap5-dark.scss +10 -0
- package/styles/bootstrap5.css +9926 -0
- package/styles/bootstrap5.scss +10 -0
- package/styles/breadcrumb/bootstrap-dark.css +280 -0
- package/styles/breadcrumb/bootstrap-dark.scss +1 -0
- package/styles/breadcrumb/bootstrap.css +280 -0
- package/styles/breadcrumb/bootstrap.scss +1 -0
- package/styles/breadcrumb/bootstrap4.css +280 -0
- package/styles/breadcrumb/bootstrap4.scss +1 -0
- package/styles/breadcrumb/bootstrap5-dark.css +301 -0
- package/styles/breadcrumb/bootstrap5-dark.scss +1 -0
- package/styles/breadcrumb/bootstrap5.css +301 -0
- package/styles/breadcrumb/bootstrap5.scss +1 -0
- package/styles/breadcrumb/fabric-dark.css +281 -0
- package/styles/breadcrumb/fabric-dark.scss +1 -0
- package/styles/breadcrumb/fabric.css +281 -0
- package/styles/breadcrumb/fabric.scss +1 -0
- package/styles/breadcrumb/highcontrast-light.css +289 -0
- package/styles/breadcrumb/highcontrast-light.scss +1 -0
- package/styles/breadcrumb/highcontrast.css +289 -0
- package/styles/breadcrumb/highcontrast.scss +1 -0
- package/styles/breadcrumb/material-dark.css +263 -0
- package/styles/breadcrumb/material-dark.scss +1 -0
- package/styles/breadcrumb/material.css +263 -0
- package/styles/breadcrumb/material.scss +1 -0
- package/styles/breadcrumb/tailwind-dark.css +284 -0
- package/styles/breadcrumb/tailwind-dark.scss +1 -0
- package/styles/breadcrumb/tailwind.css +284 -0
- package/styles/breadcrumb/tailwind.scss +1 -0
- package/styles/context-menu/bootstrap5-dark.css +382 -0
- package/styles/context-menu/bootstrap5-dark.scss +1 -0
- package/styles/context-menu/bootstrap5.css +382 -0
- package/styles/context-menu/bootstrap5.scss +1 -0
- package/styles/fabric-dark.css +356 -78
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +350 -72
- package/styles/fabric.scss +1 -0
- package/styles/h-scroll/bootstrap5-dark.css +328 -0
- package/styles/h-scroll/bootstrap5-dark.scss +1 -0
- package/styles/h-scroll/bootstrap5.css +328 -0
- package/styles/h-scroll/bootstrap5.scss +1 -0
- package/styles/h-scroll/fabric-dark.css +1 -1
- package/styles/h-scroll/highcontrast.css +1 -1
- package/styles/highcontrast-light.css +358 -73
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +360 -75
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +364 -105
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +328 -69
- package/styles/material.scss +1 -0
- package/styles/menu/bootstrap-dark.css +36 -36
- package/styles/menu/bootstrap.css +36 -36
- package/styles/menu/bootstrap4.css +34 -34
- package/styles/menu/bootstrap5-dark.css +1251 -0
- package/styles/menu/bootstrap5-dark.scss +1 -0
- package/styles/menu/bootstrap5.css +1251 -0
- package/styles/menu/bootstrap5.scss +1 -0
- package/styles/menu/fabric-dark.css +36 -36
- package/styles/menu/fabric.css +36 -36
- package/styles/menu/highcontrast-light.css +36 -36
- package/styles/menu/highcontrast.css +36 -36
- package/styles/menu/material-dark.css +36 -36
- package/styles/menu/material.css +36 -36
- package/styles/menu/tailwind-dark.css +36 -36
- package/styles/menu/tailwind.css +36 -36
- package/styles/sidebar/bootstrap5-dark.css +155 -0
- package/styles/sidebar/bootstrap5-dark.scss +1 -0
- package/styles/sidebar/bootstrap5.css +155 -0
- package/styles/sidebar/bootstrap5.scss +1 -0
- package/styles/sidebar/highcontrast.css +1 -1
- package/styles/tab/bootstrap-dark.css +17 -16
- package/styles/tab/bootstrap.css +14 -13
- package/styles/tab/bootstrap4.css +17 -16
- package/styles/tab/bootstrap5-dark.css +4442 -0
- package/styles/tab/bootstrap5-dark.scss +1 -0
- package/styles/tab/bootstrap5.css +4442 -0
- package/styles/tab/bootstrap5.scss +1 -0
- package/styles/tab/fabric-dark.css +16 -15
- package/styles/tab/fabric.css +14 -13
- package/styles/tab/highcontrast-light.css +14 -13
- package/styles/tab/highcontrast.css +14 -13
- package/styles/tab/material-dark.css +36 -35
- package/styles/tab/material.css +11 -10
- package/styles/tab/tailwind-dark.css +27 -39
- package/styles/tab/tailwind.css +22 -34
- package/styles/tailwind-dark.css +383 -111
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +368 -96
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/bootstrap-dark.css +13 -10
- package/styles/toolbar/bootstrap.css +13 -10
- package/styles/toolbar/bootstrap4.css +14 -12
- package/styles/toolbar/bootstrap5-dark.css +1409 -0
- package/styles/toolbar/bootstrap5-dark.scss +1 -0
- package/styles/toolbar/bootstrap5.css +1409 -0
- package/styles/toolbar/bootstrap5.scss +1 -0
- package/styles/toolbar/fabric-dark.css +13 -26
- package/styles/toolbar/fabric.css +10 -23
- package/styles/toolbar/highcontrast-light.css +10 -23
- package/styles/toolbar/highcontrast.css +10 -23
- package/styles/toolbar/material-dark.css +11 -24
- package/styles/toolbar/material.css +10 -23
- package/styles/toolbar/tailwind-dark.css +20 -29
- package/styles/toolbar/tailwind.css +16 -25
- package/styles/treeview/bootstrap-dark.css +8 -0
- package/styles/treeview/bootstrap.css +8 -0
- package/styles/treeview/bootstrap4.css +8 -0
- package/styles/treeview/bootstrap5-dark.css +974 -0
- package/styles/treeview/bootstrap5-dark.scss +1 -0
- package/styles/treeview/bootstrap5.css +974 -0
- package/styles/treeview/bootstrap5.scss +1 -0
- package/styles/treeview/fabric-dark.css +8 -0
- package/styles/treeview/fabric.css +8 -0
- package/styles/treeview/highcontrast-light.css +8 -0
- package/styles/treeview/highcontrast.css +8 -0
- package/styles/treeview/material-dark.css +15 -7
- package/styles/treeview/material.css +8 -0
- package/styles/treeview/tailwind-dark.css +10 -2
- package/styles/treeview/tailwind.css +9 -1
- package/styles/v-scroll/bootstrap5-dark.css +247 -0
- package/styles/v-scroll/bootstrap5-dark.scss +1 -0
- package/styles/v-scroll/bootstrap5.css +247 -0
- package/styles/v-scroll/bootstrap5.scss +1 -0
- package/styles/v-scroll/material-dark.css +1 -1
- package/styles/v-scroll/tailwind-dark.css +4 -4
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-navigations@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-navigations@19.3.45",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-INbNkubVi/BLioNzjCkCGpvYQXlFzCp72Qb82Vfor5CgOmFETsHJDk/JAHptff11PpbdHN2ilZRibboo3ho/AA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-19.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-19.3.45.tgz",
|
|
23
|
+
"_shasum": "0540f63a0bd61dd99ccd3a60032c64f70f0b8765",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-navigations@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~19.
|
|
35
|
-
"@syncfusion/ej2-navigations": "19.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~19.
|
|
34
|
+
"@syncfusion/ej2-base": "~19.3.43",
|
|
35
|
+
"@syncfusion/ej2-navigations": "19.3.46",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~19.3.43"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another for Vue",
|
|
@@ -81,6 +81,19 @@
|
|
|
81
81
|
"context-menu",
|
|
82
82
|
"context menu",
|
|
83
83
|
"contextmenu",
|
|
84
|
+
"breadcrumb",
|
|
85
|
+
"breadcrumb navigation",
|
|
86
|
+
"breadcrumb trail",
|
|
87
|
+
"ej2 breadcrumb",
|
|
88
|
+
"navigation links",
|
|
89
|
+
"navigational aid",
|
|
90
|
+
"previous page navigation",
|
|
91
|
+
"current page hierarchy",
|
|
92
|
+
"current page location",
|
|
93
|
+
"path of url",
|
|
94
|
+
"trace page location",
|
|
95
|
+
"list of breadcrumb links",
|
|
96
|
+
"breadcrumb routing",
|
|
84
97
|
"ej2 contextmenu",
|
|
85
98
|
"tab-directive",
|
|
86
99
|
"toolbar-directive",
|
|
@@ -139,7 +152,8 @@
|
|
|
139
152
|
"vue treeview",
|
|
140
153
|
"vue tree component",
|
|
141
154
|
"vue menu",
|
|
142
|
-
"vue menu component"
|
|
155
|
+
"vue menu component",
|
|
156
|
+
"vue breadcrumb"
|
|
143
157
|
],
|
|
144
158
|
"license": "SEE LICENSE IN license",
|
|
145
159
|
"main": "./dist/ej2-vue-navigations.umd.min.js",
|
|
@@ -149,6 +163,6 @@
|
|
|
149
163
|
"type": "git",
|
|
150
164
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
151
165
|
},
|
|
152
|
-
"version": "19.
|
|
166
|
+
"version": "19.3.46",
|
|
153
167
|
"sideEffects": false
|
|
154
168
|
}
|
|
@@ -35,7 +35,6 @@ export declare class AccordionComponent extends ComponentBase {
|
|
|
35
35
|
enableItem(index: number, isEnable: boolean): void;
|
|
36
36
|
expandItem(isExpand: boolean, index?: number): void;
|
|
37
37
|
hideItem(index: number, isHidden?: boolean): void;
|
|
38
|
-
refresh(): void;
|
|
39
38
|
removeItem(index: number): void;
|
|
40
39
|
select(index: number): void;
|
|
41
40
|
}
|
|
@@ -23,7 +23,7 @@ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
|
23
23
|
import { Accordion } from '@syncfusion/ej2-navigations';
|
|
24
24
|
import { AccordionItemsDirective, AccordionItemDirective, AccordionItemsPlugin, AccordionItemPlugin } from './items.directive';
|
|
25
25
|
import { Options } from 'vue-class-component';
|
|
26
|
-
export var properties = ['animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width', 'clicked', 'created', 'destroyed', 'expanded', 'expanding'];
|
|
26
|
+
export var properties = ['islazyUpdate', 'animation', 'dataSource', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandMode', 'expandedIndices', 'headerTemplate', 'height', 'itemTemplate', 'items', 'locale', 'width', 'clicked', 'created', 'destroyed', 'expanded', 'expanding'];
|
|
27
27
|
export var modelProps = ['expandedIndices'];
|
|
28
28
|
export var testProp = getProps({ props: properties });
|
|
29
29
|
export var props = testProp[0];
|
|
@@ -102,6 +102,7 @@ var AccordionComponent = /** @class */ (function (_super) {
|
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
104
104
|
_this.$emit('update:' + key, prop[key]);
|
|
105
|
+
_this.$emit('modelchanged', prop[key]);
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
});
|
|
@@ -121,8 +122,10 @@ var AccordionComponent = /** @class */ (function (_super) {
|
|
|
121
122
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
122
123
|
}
|
|
123
124
|
else {
|
|
124
|
-
|
|
125
|
-
|
|
125
|
+
if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
|
|
126
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
127
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
128
|
+
}
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
}
|
|
@@ -164,9 +167,6 @@ var AccordionComponent = /** @class */ (function (_super) {
|
|
|
164
167
|
AccordionComponent.prototype.hideItem = function (index, isHidden) {
|
|
165
168
|
return this.ej2Instances.hideItem(index, isHidden);
|
|
166
169
|
};
|
|
167
|
-
AccordionComponent.prototype.refresh = function () {
|
|
168
|
-
return this.ej2Instances.refresh();
|
|
169
|
-
};
|
|
170
170
|
AccordionComponent.prototype.removeItem = function (index) {
|
|
171
171
|
return this.ej2Instances.removeItem(index);
|
|
172
172
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
export declare const properties: string[];
|
|
3
|
+
export declare const modelProps: string[];
|
|
4
|
+
export declare const testProp: any;
|
|
5
|
+
export declare const props: any;
|
|
6
|
+
export declare const watch: any;
|
|
7
|
+
export declare const emitProbs: any;
|
|
8
|
+
export declare const isExecute: any;
|
|
9
|
+
/**
|
|
10
|
+
* Represents the VueJS Breadcrumb Component.
|
|
11
|
+
* ```html
|
|
12
|
+
* <ejs-breadcrumb :items='breadcrumbItems'></ejs-breadcrumb>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class BreadcrumbComponent extends ComponentBase {
|
|
16
|
+
ej2Instances: any;
|
|
17
|
+
propKeys: string[];
|
|
18
|
+
models: string[];
|
|
19
|
+
hasChildDirective: boolean;
|
|
20
|
+
protected hasInjectedModules: boolean;
|
|
21
|
+
tagMapper: {
|
|
22
|
+
[key: string]: Object;
|
|
23
|
+
};
|
|
24
|
+
tagNameMapper: Object;
|
|
25
|
+
isVue3: boolean;
|
|
26
|
+
templateCollection: any;
|
|
27
|
+
constructor();
|
|
28
|
+
clearTemplate(templateNames?: string[]): any;
|
|
29
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
30
|
+
trigger(eventName: string, eventProp: {
|
|
31
|
+
[key: string]: Object;
|
|
32
|
+
}, successHandler?: Function): void;
|
|
33
|
+
render(createElement: any): any;
|
|
34
|
+
}
|
|
35
|
+
export declare const BreadcrumbPlugin: {
|
|
36
|
+
name: string;
|
|
37
|
+
install(Vue: any): void;
|
|
38
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
import { isUndefined } from '@syncfusion/ej2-base';
|
|
21
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
22
|
+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
23
|
+
import { Breadcrumb } from '@syncfusion/ej2-navigations';
|
|
24
|
+
import { BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin } from './items.directive';
|
|
25
|
+
import { Options } from 'vue-class-component';
|
|
26
|
+
export var properties = ['islazyUpdate', 'activeItem', 'cssClass', 'enableActiveItemNavigation', 'enableNavigation', 'enablePersistence', 'enableRtl', 'itemTemplate', 'items', 'locale', 'maxItems', 'overflowMode', 'separatorTemplate', 'url', 'width', 'beforeItemRender', 'created', 'itemClick'];
|
|
27
|
+
export var modelProps = ['activeItem'];
|
|
28
|
+
export var testProp = getProps({ props: properties });
|
|
29
|
+
export var props = testProp[0];
|
|
30
|
+
export var watch = testProp[1];
|
|
31
|
+
export var emitProbs = Object.keys(watch);
|
|
32
|
+
emitProbs.push('modelchanged');
|
|
33
|
+
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
34
|
+
var props_1 = modelProps_1[_i];
|
|
35
|
+
emitProbs.push('update:' + props_1);
|
|
36
|
+
}
|
|
37
|
+
export var isExecute = gh ? false : true;
|
|
38
|
+
/**
|
|
39
|
+
* Represents the VueJS Breadcrumb Component.
|
|
40
|
+
* ```html
|
|
41
|
+
* <ejs-breadcrumb :items='breadcrumbItems'></ejs-breadcrumb>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
var BreadcrumbComponent = /** @class */ (function (_super) {
|
|
45
|
+
__extends(BreadcrumbComponent, _super);
|
|
46
|
+
function BreadcrumbComponent() {
|
|
47
|
+
var _this = _super.call(this, arguments) || this;
|
|
48
|
+
_this.propKeys = properties;
|
|
49
|
+
_this.models = modelProps;
|
|
50
|
+
_this.hasChildDirective = true;
|
|
51
|
+
_this.hasInjectedModules = false;
|
|
52
|
+
_this.tagMapper = { "e-breadcrumb-items": "e-breadcrumb-item" };
|
|
53
|
+
_this.tagNameMapper = { "e-breadcrumb-items": "e-items" };
|
|
54
|
+
_this.isVue3 = !isExecute;
|
|
55
|
+
_this.ej2Instances = new Breadcrumb({});
|
|
56
|
+
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
57
|
+
_this.ej2Instances.trigger = _this.trigger;
|
|
58
|
+
_this.bindProperties();
|
|
59
|
+
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
60
|
+
_this.ej2Instances.setProperties = _this.setProperties;
|
|
61
|
+
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
62
|
+
return _this;
|
|
63
|
+
}
|
|
64
|
+
BreadcrumbComponent.prototype.clearTemplate = function (templateNames) {
|
|
65
|
+
if (!templateNames) {
|
|
66
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
67
|
+
}
|
|
68
|
+
if (templateNames.length && this.templateCollection) {
|
|
69
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
70
|
+
var tempName = templateNames_1[_i];
|
|
71
|
+
var elementCollection = this.templateCollection[tempName];
|
|
72
|
+
if (elementCollection && elementCollection.length) {
|
|
73
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
74
|
+
var ele = elementCollection_1[_a];
|
|
75
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
76
|
+
if (destroy) {
|
|
77
|
+
ele.__vue__.$destroy();
|
|
78
|
+
}
|
|
79
|
+
if (ele.innerHTML) {
|
|
80
|
+
ele.innerHTML = '';
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
delete this.templateCollection[tempName];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
BreadcrumbComponent.prototype.setProperties = function (prop, muteOnChange) {
|
|
89
|
+
var _this = this;
|
|
90
|
+
if (this.isVue3) {
|
|
91
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
92
|
+
}
|
|
93
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
94
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
95
|
+
}
|
|
96
|
+
if (prop && this.models && this.models.length) {
|
|
97
|
+
Object.keys(prop).map(function (key) {
|
|
98
|
+
_this.models.map(function (model) {
|
|
99
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
100
|
+
if (_this.isVue3) {
|
|
101
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
_this.$emit('update:' + key, prop[key]);
|
|
105
|
+
_this.$emit('modelchanged', prop[key]);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
BreadcrumbComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
113
|
+
if (!isExecute) {
|
|
114
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
115
|
+
}
|
|
116
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
117
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
118
|
+
var propKey = key[0];
|
|
119
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
120
|
+
if (!isExecute) {
|
|
121
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
122
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
|
|
126
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
127
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
133
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
134
|
+
var propKey = key[0];
|
|
135
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
136
|
+
if (!isExecute) {
|
|
137
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
138
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
142
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
147
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
BreadcrumbComponent.prototype.render = function (createElement) {
|
|
151
|
+
var h = gh || createElement;
|
|
152
|
+
var slots = null;
|
|
153
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
154
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
155
|
+
}
|
|
156
|
+
return h('nav', slots);
|
|
157
|
+
};
|
|
158
|
+
BreadcrumbComponent = __decorate([
|
|
159
|
+
EJComponentDecorator({
|
|
160
|
+
props: properties,
|
|
161
|
+
model: {
|
|
162
|
+
event: 'modelchanged'
|
|
163
|
+
}
|
|
164
|
+
}, isExecute)
|
|
165
|
+
,Options({
|
|
166
|
+
props: props,
|
|
167
|
+
watch: watch,
|
|
168
|
+
emits: emitProbs
|
|
169
|
+
})
|
|
170
|
+
], BreadcrumbComponent);
|
|
171
|
+
return BreadcrumbComponent;
|
|
172
|
+
}(ComponentBase));
|
|
173
|
+
export { BreadcrumbComponent };
|
|
174
|
+
export var BreadcrumbPlugin = {
|
|
175
|
+
name: 'ejs-breadcrumb',
|
|
176
|
+
install: function (Vue) {
|
|
177
|
+
Vue.component(BreadcrumbPlugin.name, BreadcrumbComponent);
|
|
178
|
+
Vue.component(BreadcrumbItemPlugin.name, BreadcrumbItemDirective);
|
|
179
|
+
Vue.component(BreadcrumbItemsPlugin.name, BreadcrumbItemsDirective);
|
|
180
|
+
}
|
|
181
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const isExecute: any;
|
|
2
|
+
declare let vueImport: any;
|
|
3
|
+
export declare class BreadcrumbItemsDirective extends vueImport {
|
|
4
|
+
render(): void;
|
|
5
|
+
getTag(): string;
|
|
6
|
+
}
|
|
7
|
+
export declare const BreadcrumbItemsPlugin: {
|
|
8
|
+
name: string;
|
|
9
|
+
install(Vue: any): void;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* `e-breadcrumb-item` directive represent a item of the Vue Breadcrumb.
|
|
13
|
+
* It must be contained in a Breadcrumb component(`ejs-breadcrumb`).
|
|
14
|
+
* ```html
|
|
15
|
+
* <ejs-breadcrumb>
|
|
16
|
+
* <e-breadcrumb-items>
|
|
17
|
+
* <e-breadcrumb-item text='Home' url='/'></e-breadcrumb-item>
|
|
18
|
+
* <e-breadcrumb-item text='Index' url='./index'></e-breadcrumb-item>
|
|
19
|
+
* </e-breadcrumb-items>
|
|
20
|
+
* </ejs-breadcrumb>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class BreadcrumbItemDirective extends vueImport {
|
|
24
|
+
render(): void;
|
|
25
|
+
getTag(): string;
|
|
26
|
+
}
|
|
27
|
+
export declare const BreadcrumbItemPlugin: {
|
|
28
|
+
name: string;
|
|
29
|
+
install(Vue: any): void;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
|
+
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import Vue from 'vue';
|
|
23
|
+
export var isExecute = gh ? false : true;
|
|
24
|
+
var vueImport;
|
|
25
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
26
|
+
vueImport = Vue3.Vue;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
vueImport = Vue;
|
|
30
|
+
}
|
|
31
|
+
var BreadcrumbItemsDirective = /** @class */ (function (_super) {
|
|
32
|
+
__extends(BreadcrumbItemsDirective, _super);
|
|
33
|
+
function BreadcrumbItemsDirective() {
|
|
34
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
35
|
+
}
|
|
36
|
+
BreadcrumbItemsDirective.prototype.render = function () {
|
|
37
|
+
return;
|
|
38
|
+
};
|
|
39
|
+
BreadcrumbItemsDirective.prototype.getTag = function () {
|
|
40
|
+
return 'e-breadcrumb-items';
|
|
41
|
+
};
|
|
42
|
+
BreadcrumbItemsDirective = __decorate([
|
|
43
|
+
EJComponentDecorator({}, isExecute)
|
|
44
|
+
], BreadcrumbItemsDirective);
|
|
45
|
+
return BreadcrumbItemsDirective;
|
|
46
|
+
}(vueImport));
|
|
47
|
+
export { BreadcrumbItemsDirective };
|
|
48
|
+
export var BreadcrumbItemsPlugin = {
|
|
49
|
+
name: 'e-breadcrumb-items',
|
|
50
|
+
install: function (Vue) {
|
|
51
|
+
Vue.component(BreadcrumbItemsPlugin.name, BreadcrumbItemsDirective);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* `e-breadcrumb-item` directive represent a item of the Vue Breadcrumb.
|
|
56
|
+
* It must be contained in a Breadcrumb component(`ejs-breadcrumb`).
|
|
57
|
+
* ```html
|
|
58
|
+
* <ejs-breadcrumb>
|
|
59
|
+
* <e-breadcrumb-items>
|
|
60
|
+
* <e-breadcrumb-item text='Home' url='/'></e-breadcrumb-item>
|
|
61
|
+
* <e-breadcrumb-item text='Index' url='./index'></e-breadcrumb-item>
|
|
62
|
+
* </e-breadcrumb-items>
|
|
63
|
+
* </ejs-breadcrumb>
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
var BreadcrumbItemDirective = /** @class */ (function (_super) {
|
|
67
|
+
__extends(BreadcrumbItemDirective, _super);
|
|
68
|
+
function BreadcrumbItemDirective() {
|
|
69
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
70
|
+
}
|
|
71
|
+
BreadcrumbItemDirective.prototype.render = function () {
|
|
72
|
+
return;
|
|
73
|
+
};
|
|
74
|
+
BreadcrumbItemDirective.prototype.getTag = function () {
|
|
75
|
+
return 'e-breadcrumb-item';
|
|
76
|
+
};
|
|
77
|
+
BreadcrumbItemDirective = __decorate([
|
|
78
|
+
EJComponentDecorator({}, isExecute)
|
|
79
|
+
], BreadcrumbItemDirective);
|
|
80
|
+
return BreadcrumbItemDirective;
|
|
81
|
+
}(vueImport));
|
|
82
|
+
export { BreadcrumbItemDirective };
|
|
83
|
+
export var BreadcrumbItemPlugin = {
|
|
84
|
+
name: 'e-breadcrumb-item',
|
|
85
|
+
install: function (Vue) {
|
|
86
|
+
Vue.component(BreadcrumbItemPlugin.name, BreadcrumbItemDirective);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
@@ -21,7 +21,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
|
|
|
21
21
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
22
|
import { ContextMenu } from '@syncfusion/ej2-navigations';
|
|
23
23
|
import { Options } from 'vue-class-component';
|
|
24
|
-
export var properties = ['animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hoverDelay', 'items', 'locale', 'showItemOnClick', 'target', 'template', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
24
|
+
export var properties = ['islazyUpdate', 'animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hoverDelay', 'items', 'locale', 'showItemOnClick', 'target', 'template', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
25
25
|
export var modelProps = [];
|
|
26
26
|
export var testProp = getProps({ props: properties });
|
|
27
27
|
export var props = testProp[0];
|
|
@@ -99,6 +99,7 @@ var ContextMenuComponent = /** @class */ (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
101
101
|
_this.$emit('update:' + key, prop[key]);
|
|
102
|
+
_this.$emit('modelchanged', prop[key]);
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
});
|
package/src/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { AccordionComponent, AccordionPlugin } from './accordion/accordion.compo
|
|
|
4
4
|
export { ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin } from './toolbar/items.directive';
|
|
5
5
|
export { ToolbarComponent, ToolbarPlugin } from './toolbar/toolbar.component';
|
|
6
6
|
export { ContextMenuComponent, ContextMenuPlugin } from './context-menu/contextmenu.component';
|
|
7
|
+
export { BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin } from './breadcrumb/items.directive';
|
|
8
|
+
export { BreadcrumbComponent, BreadcrumbPlugin } from './breadcrumb/breadcrumb.component';
|
|
7
9
|
export { TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin } from './tab/items.directive';
|
|
8
10
|
export { TabComponent, TabPlugin } from './tab/tab.component';
|
|
9
11
|
export { TreeViewComponent, TreeViewPlugin } from './treeview/treeview.component';
|
package/src/index.js
CHANGED
|
@@ -4,6 +4,8 @@ export { AccordionComponent, AccordionPlugin } from './accordion/accordion.compo
|
|
|
4
4
|
export { ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin } from './toolbar/items.directive';
|
|
5
5
|
export { ToolbarComponent, ToolbarPlugin } from './toolbar/toolbar.component';
|
|
6
6
|
export { ContextMenuComponent, ContextMenuPlugin } from './context-menu/contextmenu.component';
|
|
7
|
+
export { BreadcrumbItemsDirective, BreadcrumbItemDirective, BreadcrumbItemsPlugin, BreadcrumbItemPlugin } from './breadcrumb/items.directive';
|
|
8
|
+
export { BreadcrumbComponent, BreadcrumbPlugin } from './breadcrumb/breadcrumb.component';
|
|
7
9
|
export { TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin } from './tab/items.directive';
|
|
8
10
|
export { TabComponent, TabPlugin } from './tab/tab.component';
|
|
9
11
|
export { TreeViewComponent, TreeViewPlugin } from './treeview/treeview.component';
|
|
@@ -22,7 +22,7 @@ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
|
22
22
|
import { Menu } from '@syncfusion/ej2-navigations';
|
|
23
23
|
import { MenuItemsDirective, MenuItemDirective, MenuItemsPlugin, MenuItemPlugin } from './items.directive';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var properties = ['animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hamburgerMode', 'hoverDelay', 'items', 'locale', 'orientation', 'showItemOnClick', 'target', 'template', 'title', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
25
|
+
export var properties = ['islazyUpdate', 'animationSettings', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableScrolling', 'fields', 'filter', 'hamburgerMode', 'hoverDelay', 'items', 'locale', 'orientation', 'showItemOnClick', 'target', 'template', 'title', 'beforeClose', 'beforeItemRender', 'beforeOpen', 'created', 'onClose', 'onOpen', 'select'];
|
|
26
26
|
export var modelProps = [];
|
|
27
27
|
export var testProp = getProps({ props: properties });
|
|
28
28
|
export var props = testProp[0];
|
|
@@ -99,6 +99,7 @@ var MenuComponent = /** @class */ (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
101
101
|
_this.$emit('update:' + key, prop[key]);
|
|
102
|
+
_this.$emit('modelchanged', prop[key]);
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
});
|
|
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
|
|
|
22
22
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
23
23
|
import { Sidebar } from '@syncfusion/ej2-navigations';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var properties = ['animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
25
|
+
export var properties = ['islazyUpdate', 'animate', 'closeOnDocumentClick', 'dockSize', 'enableDock', 'enableGestures', 'enablePersistence', 'enableRtl', 'height', 'isOpen', 'locale', 'mediaQuery', 'position', 'showBackdrop', 'target', 'type', 'width', 'zIndex', 'change', 'close', 'created', 'destroyed', 'open'];
|
|
26
26
|
export var modelProps = ['isOpen'];
|
|
27
27
|
export var testProp = getProps({ props: properties });
|
|
28
28
|
export var props = testProp[0];
|
|
@@ -101,6 +101,7 @@ var SidebarComponent = /** @class */ (function (_super) {
|
|
|
101
101
|
}
|
|
102
102
|
else {
|
|
103
103
|
_this.$emit('update:' + key, prop[key]);
|
|
104
|
+
_this.$emit('modelchanged', prop[key]);
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
});
|
|
@@ -120,8 +121,10 @@ var SidebarComponent = /** @class */ (function (_super) {
|
|
|
120
121
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
121
122
|
}
|
|
122
123
|
else {
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
|
|
125
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
126
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
127
|
+
}
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
}
|
package/src/tab/tab.component.js
CHANGED
|
@@ -22,7 +22,7 @@ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
|
22
22
|
import { Tab } from '@syncfusion/ej2-navigations';
|
|
23
23
|
import { TabItemsDirective, TabItemDirective, TabItemsPlugin, TabItemPlugin } from './items.directive';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var properties = ['allowDragAndDrop', 'animation', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'scrollStep', 'selectedItem', 'showCloseButton', 'width', 'added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
25
|
+
export var properties = ['islazyUpdate', 'allowDragAndDrop', 'animation', 'cssClass', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'headerPlacement', 'height', 'heightAdjustMode', 'items', 'loadOn', 'locale', 'overflowMode', 'scrollStep', 'selectedItem', 'showCloseButton', 'width', 'added', 'adding', 'created', 'destroyed', 'dragged', 'dragging', 'onDragStart', 'removed', 'removing', 'selected', 'selecting'];
|
|
26
26
|
export var modelProps = [];
|
|
27
27
|
export var testProp = getProps({ props: properties });
|
|
28
28
|
export var props = testProp[0];
|
|
@@ -99,6 +99,7 @@ var TabComponent = /** @class */ (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
101
101
|
_this.$emit('update:' + key, prop[key]);
|
|
102
|
+
_this.$emit('modelchanged', prop[key]);
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
});
|
|
@@ -22,7 +22,7 @@ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
|
22
22
|
import { Toolbar } from '@syncfusion/ej2-navigations';
|
|
23
23
|
import { ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin } from './items.directive';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var properties = ['allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed'];
|
|
25
|
+
export var properties = ['islazyUpdate', 'allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed'];
|
|
26
26
|
export var modelProps = [];
|
|
27
27
|
export var testProp = getProps({ props: properties });
|
|
28
28
|
export var props = testProp[0];
|
|
@@ -99,6 +99,7 @@ var ToolbarComponent = /** @class */ (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
101
101
|
_this.$emit('update:' + key, prop[key]);
|
|
102
|
+
_this.$emit('modelchanged', prop[key]);
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
});
|
|
@@ -21,7 +21,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
|
|
|
21
21
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
22
|
import { TreeView } from '@syncfusion/ej2-navigations';
|
|
23
23
|
import { Options } from 'vue-class-component';
|
|
24
|
-
export var properties = ['allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'animation', 'autoCheck', 'checkedNodes', 'cssClass', 'disabled', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandOn', 'expandedNodes', 'fields', 'fullRowNavigable', 'fullRowSelect', 'loadOnDemand', 'locale', 'nodeTemplate', 'selectedNodes', 'showCheckBox', 'sortOrder', 'actionFailure', 'created', 'dataBound', 'dataSourceChanged', 'destroyed', 'drawNode', 'keyPress', 'nodeChecked', 'nodeChecking', 'nodeClicked', 'nodeCollapsed', 'nodeCollapsing', 'nodeDragStart', 'nodeDragStop', 'nodeDragging', 'nodeDropped', 'nodeEdited', 'nodeEditing', 'nodeExpanded', 'nodeExpanding', 'nodeSelected', 'nodeSelecting'];
|
|
24
|
+
export var properties = ['islazyUpdate', 'allowDragAndDrop', 'allowEditing', 'allowMultiSelection', 'animation', 'autoCheck', 'checkedNodes', 'cssClass', 'disabled', 'dragArea', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'expandOn', 'expandedNodes', 'fields', 'fullRowNavigable', 'fullRowSelect', 'loadOnDemand', 'locale', 'nodeTemplate', 'selectedNodes', 'showCheckBox', 'sortOrder', 'actionFailure', 'created', 'dataBound', 'dataSourceChanged', 'destroyed', 'drawNode', 'keyPress', 'nodeChecked', 'nodeChecking', 'nodeClicked', 'nodeCollapsed', 'nodeCollapsing', 'nodeDragStart', 'nodeDragStop', 'nodeDragging', 'nodeDropped', 'nodeEdited', 'nodeEditing', 'nodeExpanded', 'nodeExpanding', 'nodeSelected', 'nodeSelecting'];
|
|
25
25
|
export var modelProps = [];
|
|
26
26
|
export var testProp = getProps({ props: properties });
|
|
27
27
|
export var props = testProp[0];
|
|
@@ -98,6 +98,7 @@ var TreeViewComponent = /** @class */ (function (_super) {
|
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
100
|
_this.$emit('update:' + key, prop[key]);
|
|
101
|
+
_this.$emit('modelchanged', prop[key]);
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
});
|