@syncfusion/ej2-vue-inplace-editor 20.2.43 → 20.3.47
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/ej2-vue-inplace-editor.umd.min.js +2 -29
- package/dist/ej2-vue-inplace-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-inplace-editor.es2015.js +4 -5
- package/dist/es6/ej2-vue-inplace-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inplace-editor.es5.js +4 -5
- package/dist/es6/ej2-vue-inplace-editor.es5.js.map +1 -1
- package/package.json +11 -8
- package/src/inplace-editor/inplaceeditor.component.d.ts +0 -1
- package/src/inplace-editor/inplaceeditor.component.js +4 -5
- package/styles/bootstrap-dark.css +3 -0
- package/styles/bootstrap.css +3 -1
- package/styles/bootstrap4.css +3 -1
- package/styles/bootstrap5-dark.css +17 -1
- package/styles/bootstrap5.css +17 -1
- package/styles/fabric-dark.css +3 -0
- package/styles/fabric.css +3 -1
- package/styles/fluent-dark.css +4 -1
- package/styles/fluent.css +4 -1
- package/styles/highcontrast-light.css +6 -0
- package/styles/highcontrast.css +6 -1
- package/styles/inplace-editor/bootstrap-dark.css +3 -0
- package/styles/inplace-editor/bootstrap.css +3 -1
- package/styles/inplace-editor/bootstrap4.css +3 -1
- package/styles/inplace-editor/bootstrap5-dark.css +17 -1
- package/styles/inplace-editor/bootstrap5.css +17 -1
- package/styles/inplace-editor/fabric-dark.css +3 -0
- package/styles/inplace-editor/fabric.css +3 -1
- package/styles/inplace-editor/fluent-dark.css +4 -1
- package/styles/inplace-editor/fluent.css +4 -1
- package/styles/inplace-editor/highcontrast-light.css +6 -0
- package/styles/inplace-editor/highcontrast.css +6 -1
- package/styles/inplace-editor/material-dark.css +3 -0
- package/styles/inplace-editor/material.css +3 -1
- package/styles/inplace-editor/tailwind-dark.css +4 -1
- package/styles/inplace-editor/tailwind.css +4 -1
- package/styles/material-dark.css +3 -0
- package/styles/material.css +3 -1
- package/styles/tailwind-dark.css +4 -1
- package/styles/tailwind.css +4 -1
|
@@ -1,38 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-inplace-editor.umd.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.3.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
* filename: ej2-vue-inplace-editor.umd.min.js
|
|
12
|
-
* version : 20.1.47
|
|
13
|
-
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
|
-
* Use of this code is subject to the terms of our license.
|
|
15
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
16
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
17
|
-
* applicable laws.
|
|
18
|
-
*/
|
|
19
|
-
/*!
|
|
20
|
-
* filename: ej2-vue-inplace-editor.umd.min.js
|
|
21
|
-
* version : 19.4.38
|
|
22
|
-
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
23
|
-
* Use of this code is subject to the terms of our license.
|
|
24
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
25
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
26
|
-
* applicable laws.
|
|
27
|
-
*/
|
|
28
|
-
/*!
|
|
29
|
-
* filename: ej2-vue-inplace-editor.umd.min.js
|
|
30
|
-
* version : 19.1.63
|
|
31
|
-
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
32
|
-
* Use of this code is subject to the terms of our license.
|
|
33
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
34
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
35
|
-
* applicable laws.
|
|
36
|
-
*/
|
|
37
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-inplace-editor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-inplace-editor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2InplaceEditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,s){"use strict";var i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),o=function(e,t,n,s){var i,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(r=(o<3?i(r):o>3?i(t,n,r):i(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},r=["actionOnBlur","adaptor","cancelButton","cssClass","disabled","editableOn","emptyText","enableEditMode","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","locale","mode","model","name","popupSettings","primaryKey","saveButton","showButtons","submitOnEnter","template","textOption","type","url","validationRules","value","actionBegin","actionFailure","actionSuccess","beforeSanitizeHtml","beginEdit","cancelClick","change","created","destroyed","submitClick","validating"],a=["value"],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=r,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.InPlaceEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return i(c,e),c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.trigger=function(e,t,s){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){o=(i=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&i&&!n.isUndefined(t[o])&&(this.$emit("update:"+o,t[o]),this.$emit("modelchanged",t[o]))}}else{var i,o=(i=this.models.toString().match(/checked|value/)||[])[0];t&&i&&!n.isUndefined(t[o])&&(this.$emit("update:"+o,t[o]),this.$emit("modelchanged",t[o]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},c.prototype.render=function(e){return e("div",this.$slots.default)},c.prototype.extendModelValue=function(e){return this.ej2Instances.extendModelValue(e)},c.prototype.save=function(){return this.ej2Instances.save()},c.prototype.setValue=function(){return this.ej2Instances.setValue()},c.prototype.validate=function(){return this.ej2Instances.validate()},c=o([s.EJComponentDecorator({props:r,model:{event:"modelchanged"}})],c)}(s.ComponentBase),l={name:"ejs-inplaceeditor",install:function(e){e.component(l.name,c)}};e.InPlaceEditorComponent=c,e.InPlaceEditorPlugin=l,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-inplace-editor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-inplace-editor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2InplaceEditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,s){"use strict";var i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),o=function(e,t,n,s){var i,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(r=(o<3?i(r):o>3?i(t,n,r):i(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},r=["isLazyUpdate","plugins","actionOnBlur","adaptor","cancelButton","cssClass","disabled","editableOn","emptyText","enableEditMode","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","locale","mode","model","name","popupSettings","primaryKey","saveButton","showButtons","submitOnEnter","template","textOption","type","url","validationRules","value","actionBegin","actionFailure","actionSuccess","beforeSanitizeHtml","beginEdit","cancelClick","change","created","destroyed","endEdit","submitClick","validating"],a=["value"],c=function(e){function c(){var n=e.call(this,arguments)||this;return n.propKeys=r,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.InPlaceEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return i(c,e),c.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var i=s[t],o=this.templateCollection[i];if(o&&o.length){for(var r=0,a=o;r<a.length;r++){var c=a[r];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[i]}}},c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.trigger=function(e,t,s){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){o=(i=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&i&&!n.isUndefined(t[o])&&(this.$emit("update:"+o,t[o]),this.$emit("modelchanged",t[o]))}}else{var i,o=(i=this.models.toString().match(/checked|value/)||[])[0];t&&i&&!n.isUndefined(t[o])&&(this.$emit("update:"+o,t[o]),this.$emit("modelchanged",t[o]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},c.prototype.render=function(e){return e("div",this.$slots.default)},c.prototype.custom=function(){this.updated()},c.prototype.extendModelValue=function(e){return this.ej2Instances.extendModelValue(e)},c.prototype.save=function(){return this.ej2Instances.save()},c.prototype.setValue=function(){return this.ej2Instances.setValue()},c.prototype.validate=function(){return this.ej2Instances.validate()},c=o([s.EJComponentDecorator({props:r,model:{event:"modelchanged"}})],c)}(s.ComponentBase),l={name:"ejs-inplaceeditor",install:function(e){e.component(l.name,c)}};e.InPlaceEditorComponent=c,e.InPlaceEditorPlugin=l,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
38
11
|
//# sourceMappingURL=ej2-vue-inplace-editor.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-inplace-editor.umd.min.js","sources":["../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport var properties = ['actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nvar InPlaceEditorComponent = /** @class */ (function (_super) {\n __extends(InPlaceEditorComponent, _super);\n function InPlaceEditorComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new InPlaceEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n InPlaceEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n InPlaceEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n if (this.ej2Instances && this.ej2Instances._trigger) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n InPlaceEditorComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n InPlaceEditorComponent.prototype.extendModelValue = function (val) {\n return this.ej2Instances.extendModelValue(val);\n };\n InPlaceEditorComponent.prototype.save = function () {\n return this.ej2Instances.save();\n };\n InPlaceEditorComponent.prototype.setValue = function () {\n return this.ej2Instances.setValue();\n };\n InPlaceEditorComponent.prototype.validate = function () {\n return this.ej2Instances.validate();\n };\n InPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n })\n ], InPlaceEditorComponent);\n return InPlaceEditorComponent;\n}(ComponentBase));\nexport { InPlaceEditorComponent };\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","InPlaceEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","InPlaceEditor","_trigger","trigger","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","render","createElement","$slots","default","extendModelValue","val","save","setValue","validate","EJComponentDecorator","props","event","ComponentBase","InPlaceEditorPlugin","name","install","Vue","component"],"mappings":"saAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EA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AuBlB,UAAUwD,KAAO,WACpC,OAAO1D,KAAK8B,aAAa4B,QAE7BtC,EAAuBlB,UAAUyD,SAAW,WACxC,OAAO3D,KAAK8B,aAAa6B,YAE7BvC,EAAuBlB,UAAU0D,SAAW,WACxC,OAAO5D,KAAK8B,aAAa8B,YAE7BxC,EAAyBhB,GACrByD,wBACIC,MAAO5C,EACPuB,OACIsB,MAAO,mBAGhB3C,IAEL4C,iBAESC,GACPC,KAAM,oBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAoBC,KAAM9C"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-inplace-editor.umd.min.js","sources":["../vue2/src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nvar InPlaceEditorComponent = /** @class */ (function (_super) {\n __extends(InPlaceEditorComponent, _super);\n function InPlaceEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new InPlaceEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n InPlaceEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n InPlaceEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n InPlaceEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n if (this.ej2Instances && this.ej2Instances._trigger) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n InPlaceEditorComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n InPlaceEditorComponent.prototype.custom = function () {\n this.updated();\n };\n InPlaceEditorComponent.prototype.extendModelValue = function (val) {\n return this.ej2Instances.extendModelValue(val);\n };\n InPlaceEditorComponent.prototype.save = function () {\n return this.ej2Instances.save();\n };\n InPlaceEditorComponent.prototype.setValue = function () {\n return this.ej2Instances.setValue();\n };\n InPlaceEditorComponent.prototype.validate = function () {\n return this.ej2Instances.validate();\n };\n InPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n })\n ], InPlaceEditorComponent);\n return InPlaceEditorComponent;\n}(ComponentBase));\nexport { InPlaceEditorComponent };\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","InPlaceEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","InPlaceEditor","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","render","createElement","$slots","default","custom","extendModelValue","val","save","setValue","validate","EJComponentDecorator","props","event","ComponentBase","InPlaceEditorPlugin","name","install","Vue","component"],"mappings":"saAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IA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OAAe,CAEzHoD,GADAxD,EAAMP,KAAKyB,OAAOuC,WAAWC,MAAM,iCACrB,GACdL,GAAarD,IAAQ2D,cAAYN,EAAUG,MAC3C/D,KAAK0D,MAAM,UAAYK,EAASH,EAAUG,IAC1C/D,KAAK0D,MAAM,eAAgBE,EAAUG,UAbuD,CAChG,IAAIxD,EACAwD,GADAxD,EAAMP,KAAKyB,OAAOuC,WAAWC,MAAM,sBACrB,GACdL,GAAarD,IAAQ2D,cAAYN,EAAUG,MAC3C/D,KAAK0D,MAAM,UAAYK,EAASH,EAAUG,IAC1C/D,KAAK0D,MAAM,eAAgBE,EAAUG,KAWzC/D,KAAK8B,cAAgB9B,KAAK8B,aAAaE,UACvChC,KAAK8B,aAAaE,SAAS2B,EAAWC,EAAWC,IAGzDzC,EAAuBlB,UAAUiE,OAAS,SAAUC,GAChD,OAAOA,EAAc,MAAOpE,KAAKqE,OAAOC,UAE5ClD,EAAuBlB,UAAUqE,OAAS,WACtCvE,KAAKsC,WAETlB,EAAuBlB,UAAUsE,iBAAmB,SAAUC,GAC1D,OAAOzE,KAAK8B,aAAa0C,iBAAiBC,IAE9CrD,EAAuBlB,UAAUwE,KAAO,WACpC,OAAO1E,KAAK8B,aAAa4C,QAE7BtD,EAAuBlB,UAAUyE,SAAW,WACxC,OAAO3E,KAAK8B,aAAa6C,YAE7BvD,EAAuBlB,UAAU0E,SAAW,WACxC,OAAO5E,KAAK8B,aAAa8C,YAE7BxD,EAAyBhB,GACrByE,wBACIC,MAAO5D,EACPsC,OACIuB,MAAO,mBAGhB3D,IAEL4D,iBAESC,GACPC,KAAM,oBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAoBC,KAAM9D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
|
|
2
2
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
3
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
4
4
|
|
|
5
5
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6
6
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -15,11 +15,10 @@ const testProp = getProps({ props: properties });
|
|
|
15
15
|
const props = testProp[0];
|
|
16
16
|
const watch = testProp[1];
|
|
17
17
|
const emitProbs = Object.keys(watch);
|
|
18
|
-
emitProbs.push('modelchanged');
|
|
18
|
+
emitProbs.push('modelchanged', 'update:modelValue');
|
|
19
19
|
for (let props of modelProps) {
|
|
20
20
|
emitProbs.push('update:' + props);
|
|
21
21
|
}
|
|
22
|
-
const isExecute = gh ? false : true;
|
|
23
22
|
/**
|
|
24
23
|
* `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.
|
|
25
24
|
* ```vue
|
|
@@ -141,10 +140,10 @@ class InPlaceEditorComponent extends ComponentBase {
|
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
render(createElement) {
|
|
144
|
-
let h = gh
|
|
143
|
+
let h = !isExecute ? gh : createElement;
|
|
145
144
|
let slots = null;
|
|
146
145
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
147
|
-
slots =
|
|
146
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
148
147
|
}
|
|
149
148
|
return h('div', slots);
|
|
150
149
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-inplace-editor.es2015.js","sources":["../src/es6/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nlet InPlaceEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass InPlaceEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new InPlaceEditor({});\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n extendModelValue(val) {\n return this.ej2Instances.extendModelValue(val);\n }\n save() {\n return this.ej2Instances.save();\n }\n setValue() {\n return this.ej2Instances.setValue();\n }\n validate() {\n return this.ej2Instances.validate();\n }\n};\nInPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], InPlaceEditorComponent);\nexport { InPlaceEditorComponent };\nexport const InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install(Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAA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GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;SAC5D;QACD,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1B;IACD,MAAM,GAAG;QACL,IAAI,CAAC,OAAO,EAAE,CAAC;KAClB;IACD,gBAAgB,CAAC,GAAG,EAAE;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;KAClD;IACD,IAAI,GAAG;QACH,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KACnC;IACD,QAAQ,GAAG;QACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC;IACD,QAAQ,GAAG;QACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC;CACJ,CAAC;AACF,sBAAsB,GAAG,UAAU,CAAC;IAChC,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE;YACH,KAAK,EAAE,cAAc;SACxB;KACJ,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,sBAAsB,CAAC,CAAC;AAC3B,AACO,MAAM,mBAAmB,GAAG;IAC/B,IAAI,EAAE,mBAAmB;IACzB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-inplace-editor.es2015.js","sources":["../src/es6/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nlet InPlaceEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass InPlaceEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new InPlaceEditor({});\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n }\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n custom() {\n this.updated();\n }\n extendModelValue(val) {\n return this.ej2Instances.extendModelValue(val);\n }\n save() {\n return this.ej2Instances.save();\n }\n setValue() {\n return this.ej2Instances.setValue();\n }\n validate() {\n return this.ej2Instances.validate();\n }\n};\nInPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], InPlaceEditorComponent);\nexport { InPlaceEditorComponent };\nexport const InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install(Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF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AAC,OAAO,CAAC;SACpE;QACD,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1B;IACD,MAAM,GAAG;QACL,IAAI,CAAC,OAAO,EAAE,CAAC;KAClB;IACD,gBAAgB,CAAC,GAAG,EAAE;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;KAClD;IACD,IAAI,GAAG;QACH,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KACnC;IACD,QAAQ,GAAG;QACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC;IACD,QAAQ,GAAG;QACP,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC;CACJ,CAAC;AACF,sBAAsB,GAAG,UAAU,CAAC;IAChC,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE;YACH,KAAK,EAAE,cAAc;SACxB;KACJ,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,sBAAsB,CAAC,CAAC;AAC3B,AACO,MAAM,mBAAmB,GAAG;IAC/B,IAAI,EAAE,mBAAmB;IACzB,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
|
|
2
2
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
3
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
4
4
|
|
|
5
5
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
6
6
|
var extendStatics = function (d, b) {
|
|
@@ -28,12 +28,11 @@ var testProp = getProps({ props: properties });
|
|
|
28
28
|
var props = testProp[0];
|
|
29
29
|
var watch = testProp[1];
|
|
30
30
|
var emitProbs = Object.keys(watch);
|
|
31
|
-
emitProbs.push('modelchanged');
|
|
31
|
+
emitProbs.push('modelchanged', 'update:modelValue');
|
|
32
32
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
33
33
|
var props_1 = modelProps_1[_i];
|
|
34
34
|
emitProbs.push('update:' + props_1);
|
|
35
35
|
}
|
|
36
|
-
var isExecute = gh ? false : true;
|
|
37
36
|
/**
|
|
38
37
|
* `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.
|
|
39
38
|
* ```vue
|
|
@@ -149,10 +148,10 @@ var InPlaceEditorComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
149
148
|
}
|
|
150
149
|
};
|
|
151
150
|
InPlaceEditorComponent.prototype.render = function (createElement) {
|
|
152
|
-
var h = gh
|
|
151
|
+
var h = !isExecute ? gh : createElement;
|
|
153
152
|
var slots = null;
|
|
154
153
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
155
|
-
slots =
|
|
154
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
156
155
|
}
|
|
157
156
|
return h('div', slots);
|
|
158
157
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-inplace-editor.es5.js","sources":["../../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nvar InPlaceEditorComponent = /** @class */ (function (_super) {\n __extends(InPlaceEditorComponent, _super);\n function InPlaceEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new InPlaceEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n InPlaceEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n InPlaceEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n InPlaceEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n InPlaceEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n InPlaceEditorComponent.prototype.custom = function () {\n this.updated();\n };\n InPlaceEditorComponent.prototype.extendModelValue = function (val) {\n return this.ej2Instances.extendModelValue(val);\n };\n InPlaceEditorComponent.prototype.save = function () {\n return this.ej2Instances.save();\n };\n InPlaceEditorComponent.prototype.setValue = function () {\n return this.ej2Instances.setValue();\n };\n InPlaceEditorComponent.prototype.validate = function () {\n return this.ej2Instances.validate();\n };\n InPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], InPlaceEditorComponent);\n return InPlaceEditorComponent;\n}(ComponentBase));\nexport { InPlaceEditorComponent };\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,CAAC,YAAY;IACrD,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;QAChC,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,OAAO,UAAU,CAAC,EAAE,CAAC,EAAE;QACnB,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACpB,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;QACvC,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,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S,CAAC,gBAAgB,GAAG,UAAU,GAAG,EAAE;QAC/D,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;KAClD,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,IAAI,GAAG,YAAY;QAChD,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KACnC,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC,CAAC;IACF,sBAAsB,GAAG,UAAU,CAAC;QAChC,oBAAoB,CAAC;YACjB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE;gBACH,KAAK,EAAE,cAAc;aACxB;SACJ,EAAE,SAAS,CAAC;;;;;;;;;;;KAWhB,EAAE,sBAAsB,CAAC,CAAC;IAC3B,OAAO,sBAAsB,CAAC;CACjC,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,IAAI,mBAAmB,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-inplace-editor.es5.js","sources":["../../src/inplace-editor/inplaceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'plugins', 'actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.\n * ```vue\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\nvar InPlaceEditorComponent = /** @class */ (function (_super) {\n __extends(InPlaceEditorComponent, _super);\n function InPlaceEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new InPlaceEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n InPlaceEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n InPlaceEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n InPlaceEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n InPlaceEditorComponent.prototype.render = function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n InPlaceEditorComponent.prototype.custom = function () {\n this.updated();\n };\n InPlaceEditorComponent.prototype.extendModelValue = function (val) {\n return this.ej2Instances.extendModelValue(val);\n };\n InPlaceEditorComponent.prototype.save = function () {\n return this.ej2Instances.save();\n };\n InPlaceEditorComponent.prototype.setValue = function () {\n return this.ej2Instances.setValue();\n };\n InPlaceEditorComponent.prototype.validate = function () {\n return this.ej2Instances.validate();\n };\n InPlaceEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], InPlaceEditorComponent);\n return InPlaceEditorComponent;\n}(ComponentBase));\nexport { InPlaceEditorComponent };\nexport var InPlaceEditorPlugin = {\n name: 'ejs-inplaceeditor',\n install: function (Vue) {\n Vue.component(InPlaceEditorPlugin.name, InPlaceEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,CAAC,YAAY;IACrD,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;QAChC,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,OAAO,UAAU,CAAC,EAAE,CAAC,EAAE;QACnB,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACpB,SAAS,EAAE,GAAG,EA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AI,CAAC,OAAO,EAAE,CAAC;KAClB,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,gBAAgB,GAAG,UAAU,GAAG,EAAE;QAC/D,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;KAClD,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,IAAI,GAAG,YAAY;QAChD,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KACnC,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC,CAAC;IACF,sBAAsB,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KACvC,CAAC;IACF,sBAAsB,GAAG,UAAU,CAAC;QAChC,oBAAoB,CAAC;YACjB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE;gBACH,KAAK,EAAE,cAAc;aACxB;SACJ,EAAE,SAAS,CAAC;;;;;;;;;;;KAWhB,EAAE,sBAAsB,CAAC,CAAC;IAC3B,OAAO,sBAAsB,CAAC;CACjC,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,IAAI,mBAAmB,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACnE;CACJ;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-inplace-editor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-inplace-editor@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-inplace-editor@19.8.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ttrxxPJRFCNT7NnbMECuSOPC1phQDvsbOz38jmNphPTff2/SVOzi2RyEhqaZ4Z3nx+0bNvuT2n7N5L9lcHNlLQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-inplace-editor",
|
|
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-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-inplace-editor/-/ej2-vue-inplace-editor-19.8.3.tgz",
|
|
23
|
+
"_shasum": "c0929c3c2cc4b1936fc3b448dfbf854a97126a6c",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-inplace-editor@*",
|
|
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": "~20.
|
|
35
|
-
"@syncfusion/ej2-inplace-editor": "20.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~20.
|
|
34
|
+
"@syncfusion/ej2-base": "~20.3.47",
|
|
35
|
+
"@syncfusion/ej2-inplace-editor": "20.3.47",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.3.47"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server. for Vue",
|
|
@@ -59,6 +59,9 @@
|
|
|
59
59
|
"type": "git",
|
|
60
60
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
61
61
|
},
|
|
62
|
-
"
|
|
62
|
+
"scripts": {
|
|
63
|
+
"postinstall": "node ../ej2-vue-base/postinstall.js"
|
|
64
|
+
},
|
|
65
|
+
"version": "20.3.47",
|
|
63
66
|
"sideEffects": false
|
|
64
67
|
}
|
|
@@ -5,7 +5,6 @@ export declare const testProp: any;
|
|
|
5
5
|
export declare const props: any;
|
|
6
6
|
export declare const watch: any;
|
|
7
7
|
export declare const emitProbs: any;
|
|
8
|
-
export declare const isExecute: any;
|
|
9
8
|
/**
|
|
10
9
|
* `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.
|
|
11
10
|
* ```vue
|
|
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
20
|
import { isUndefined } from '@syncfusion/ej2-base';
|
|
21
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
21
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
22
22
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
23
23
|
import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
@@ -28,12 +28,11 @@ export var testProp = getProps({ props: properties });
|
|
|
28
28
|
export var props = testProp[0];
|
|
29
29
|
export var watch = testProp[1];
|
|
30
30
|
export var emitProbs = Object.keys(watch);
|
|
31
|
-
emitProbs.push('modelchanged');
|
|
31
|
+
emitProbs.push('modelchanged', 'update:modelValue');
|
|
32
32
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
33
33
|
var props_1 = modelProps_1[_i];
|
|
34
34
|
emitProbs.push('update:' + props_1);
|
|
35
35
|
}
|
|
36
|
-
export var isExecute = gh ? false : true;
|
|
37
36
|
/**
|
|
38
37
|
* `ejs-inplace-editor` represents the VueJS InPlaceEditor Component.
|
|
39
38
|
* ```vue
|
|
@@ -149,10 +148,10 @@ var InPlaceEditorComponent = /** @class */ (function (_super) {
|
|
|
149
148
|
}
|
|
150
149
|
};
|
|
151
150
|
InPlaceEditorComponent.prototype.render = function (createElement) {
|
|
152
|
-
var h = gh
|
|
151
|
+
var h = !isExecute ? gh : createElement;
|
|
153
152
|
var slots = null;
|
|
154
153
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
155
|
-
slots =
|
|
154
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
156
155
|
}
|
|
157
156
|
return h('div', slots);
|
|
158
157
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */
|
|
1
3
|
.e-popup.e-ddl {
|
|
2
4
|
border-radius: 4px;
|
|
3
5
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
|
|
@@ -131,6 +133,7 @@
|
|
|
131
133
|
width: 40px;
|
|
132
134
|
}
|
|
133
135
|
|
|
136
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
134
137
|
@keyframes material-spinner-rotate {
|
|
135
138
|
0% {
|
|
136
139
|
transform: rotate(0);
|
package/styles/bootstrap.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
@@ -130,6 +131,7 @@
|
|
|
130
131
|
width: 40px;
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
133
135
|
@keyframes material-spinner-rotate {
|
|
134
136
|
0% {
|
|
135
137
|
transform: rotate(0);
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap theme variables */
|
|
2
3
|
.e-input-group.e-ddl .e-control.e-autocomplete ~ .e-ddl-icon {
|
|
3
4
|
font-size: 8px;
|
|
4
5
|
}
|
|
@@ -226,6 +227,7 @@
|
|
|
226
227
|
margin-top: -3.5em;
|
|
227
228
|
}
|
|
228
229
|
|
|
230
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
229
231
|
@keyframes material-spinner-rotate {
|
|
230
232
|
0% {
|
|
231
233
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -180,6 +181,8 @@
|
|
|
180
181
|
border-left-width: 0;
|
|
181
182
|
}
|
|
182
183
|
|
|
184
|
+
/* stylelint-disable-line no-empty-source */
|
|
185
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
183
186
|
@keyframes material-spinner-rotate {
|
|
184
187
|
0% {
|
|
185
188
|
transform: rotate(0);
|
|
@@ -774,6 +777,19 @@
|
|
|
774
777
|
background-color: #5a6268;
|
|
775
778
|
border: 1px solid #545b62;
|
|
776
779
|
}
|
|
780
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
781
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
782
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
783
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
|
|
784
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
785
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
786
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
787
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
788
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
789
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
|
|
790
|
+
color: #fff;
|
|
791
|
+
}
|
|
792
|
+
|
|
777
793
|
.e-inplaceeditor .e-editable-value-wrapper {
|
|
778
794
|
background-color: transparent;
|
|
779
795
|
border-radius: 4px;
|
package/styles/bootstrap5.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -180,6 +181,8 @@
|
|
|
180
181
|
border-left-width: 0;
|
|
181
182
|
}
|
|
182
183
|
|
|
184
|
+
/* stylelint-disable-line no-empty-source */
|
|
185
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
183
186
|
@keyframes material-spinner-rotate {
|
|
184
187
|
0% {
|
|
185
188
|
transform: rotate(0);
|
|
@@ -774,6 +777,19 @@
|
|
|
774
777
|
background-color: #5a6268;
|
|
775
778
|
border: 1px solid #545b62;
|
|
776
779
|
}
|
|
780
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
781
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
782
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
783
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
|
|
784
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
785
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
786
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
787
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
788
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
789
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
|
|
790
|
+
color: #fff;
|
|
791
|
+
}
|
|
792
|
+
|
|
777
793
|
.e-inplaceeditor .e-editable-value-wrapper {
|
|
778
794
|
background-color: transparent;
|
|
779
795
|
border-radius: 4px;
|
package/styles/fabric-dark.css
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */
|
|
1
3
|
.e-ddl.e-popup {
|
|
2
4
|
border: 0;
|
|
3
5
|
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.26);
|
|
@@ -98,6 +100,7 @@
|
|
|
98
100
|
margin: 2px 2px 2px 0;
|
|
99
101
|
}
|
|
100
102
|
|
|
103
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
101
104
|
@keyframes material-spinner-rotate {
|
|
102
105
|
0% {
|
|
103
106
|
transform: rotate(0);
|
package/styles/fabric.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar fabric theme variables */
|
|
2
3
|
.e-ddl.e-popup {
|
|
3
4
|
border: 0;
|
|
4
5
|
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
margin: 2px 2px 2px 0;
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
95
97
|
@keyframes material-spinner-rotate {
|
|
96
98
|
0% {
|
|
97
99
|
transform: rotate(0);
|
package/styles/fluent-dark.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -160,6 +161,8 @@
|
|
|
160
161
|
border-left-width: 0;
|
|
161
162
|
}
|
|
162
163
|
|
|
164
|
+
/* stylelint-disable-line no-empty-source */
|
|
165
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
163
166
|
@keyframes material-spinner-rotate {
|
|
164
167
|
0% {
|
|
165
168
|
transform: rotate(0);
|
package/styles/fluent.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -160,6 +161,8 @@
|
|
|
160
161
|
border-left-width: 0;
|
|
161
162
|
}
|
|
162
163
|
|
|
164
|
+
/* stylelint-disable-line no-empty-source */
|
|
165
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
163
166
|
@keyframes material-spinner-rotate {
|
|
164
167
|
0% {
|
|
165
168
|
transform: rotate(0);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */
|
|
1
3
|
.e-bigger .e-ddl.e-popup .e-input-group .e-clear-icon {
|
|
2
4
|
height: 36px;
|
|
3
5
|
}
|
|
@@ -80,6 +82,9 @@
|
|
|
80
82
|
color: #000;
|
|
81
83
|
top: 12px;
|
|
82
84
|
}
|
|
85
|
+
.e-multiselect .e-multi-select-wrapper input {
|
|
86
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
87
|
+
}
|
|
83
88
|
.e-multiselect .e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder {
|
|
84
89
|
color: #4f4f4f;
|
|
85
90
|
font-family: inherit;
|
|
@@ -172,6 +177,7 @@
|
|
|
172
177
|
width: 30px;
|
|
173
178
|
}
|
|
174
179
|
|
|
180
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
175
181
|
@keyframes material-spinner-rotate {
|
|
176
182
|
0% {
|
|
177
183
|
transform: rotate(0);
|
package/styles/highcontrast.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar fabric theme variables */
|
|
2
3
|
.e-bigger .e-ddl.e-popup .e-input-group .e-clear-icon {
|
|
3
4
|
height: 36px;
|
|
4
5
|
}
|
|
@@ -81,6 +82,9 @@
|
|
|
81
82
|
color: #fff;
|
|
82
83
|
top: 12px;
|
|
83
84
|
}
|
|
85
|
+
.e-multiselect .e-multi-select-wrapper input {
|
|
86
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
87
|
+
}
|
|
84
88
|
.e-multiselect .e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder {
|
|
85
89
|
color: #969696;
|
|
86
90
|
font-family: inherit;
|
|
@@ -175,6 +179,7 @@
|
|
|
175
179
|
width: 30px;
|
|
176
180
|
}
|
|
177
181
|
|
|
182
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
178
183
|
@keyframes material-spinner-rotate {
|
|
179
184
|
0% {
|
|
180
185
|
transform: rotate(0);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */
|
|
1
3
|
.e-popup.e-ddl {
|
|
2
4
|
border-radius: 4px;
|
|
3
5
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
|
|
@@ -131,6 +133,7 @@
|
|
|
131
133
|
width: 40px;
|
|
132
134
|
}
|
|
133
135
|
|
|
136
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
134
137
|
@keyframes material-spinner-rotate {
|
|
135
138
|
0% {
|
|
136
139
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
@@ -130,6 +131,7 @@
|
|
|
130
131
|
width: 40px;
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
133
135
|
@keyframes material-spinner-rotate {
|
|
134
136
|
0% {
|
|
135
137
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap theme variables */
|
|
2
3
|
.e-input-group.e-ddl .e-control.e-autocomplete ~ .e-ddl-icon {
|
|
3
4
|
font-size: 8px;
|
|
4
5
|
}
|
|
@@ -226,6 +227,7 @@
|
|
|
226
227
|
margin-top: -3.5em;
|
|
227
228
|
}
|
|
228
229
|
|
|
230
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
229
231
|
@keyframes material-spinner-rotate {
|
|
230
232
|
0% {
|
|
231
233
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -180,6 +181,8 @@
|
|
|
180
181
|
border-left-width: 0;
|
|
181
182
|
}
|
|
182
183
|
|
|
184
|
+
/* stylelint-disable-line no-empty-source */
|
|
185
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
183
186
|
@keyframes material-spinner-rotate {
|
|
184
187
|
0% {
|
|
185
188
|
transform: rotate(0);
|
|
@@ -774,6 +777,19 @@
|
|
|
774
777
|
background-color: #5a6268;
|
|
775
778
|
border: 1px solid #545b62;
|
|
776
779
|
}
|
|
780
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
781
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
782
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
783
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
|
|
784
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
785
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
786
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
787
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
788
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
789
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
|
|
790
|
+
color: #fff;
|
|
791
|
+
}
|
|
792
|
+
|
|
777
793
|
.e-inplaceeditor .e-editable-value-wrapper {
|
|
778
794
|
background-color: transparent;
|
|
779
795
|
border-radius: 4px;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -180,6 +181,8 @@
|
|
|
180
181
|
border-left-width: 0;
|
|
181
182
|
}
|
|
182
183
|
|
|
184
|
+
/* stylelint-disable-line no-empty-source */
|
|
185
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
183
186
|
@keyframes material-spinner-rotate {
|
|
184
187
|
0% {
|
|
185
188
|
transform: rotate(0);
|
|
@@ -774,6 +777,19 @@
|
|
|
774
777
|
background-color: #5a6268;
|
|
775
778
|
border: 1px solid #545b62;
|
|
776
779
|
}
|
|
780
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons, .e-inplaceeditor .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
781
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
782
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
783
|
+
.e-inplaceeditor .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons,
|
|
784
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
785
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
786
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-save.e-icon-btn:active .e-btn-icon.e-icons,
|
|
787
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:hover .e-btn-icon.e-icons,
|
|
788
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:focus .e-btn-icon.e-icons,
|
|
789
|
+
.e-inplaceeditor-tip .e-editable-action-buttons .e-btn-cancel.e-icon-btn:active .e-btn-icon.e-icons {
|
|
790
|
+
color: #fff;
|
|
791
|
+
}
|
|
792
|
+
|
|
777
793
|
.e-inplaceeditor .e-editable-value-wrapper {
|
|
778
794
|
background-color: transparent;
|
|
779
795
|
border-radius: 4px;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */
|
|
1
3
|
.e-ddl.e-popup {
|
|
2
4
|
border: 0;
|
|
3
5
|
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.26);
|
|
@@ -98,6 +100,7 @@
|
|
|
98
100
|
margin: 2px 2px 2px 0;
|
|
99
101
|
}
|
|
100
102
|
|
|
103
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
101
104
|
@keyframes material-spinner-rotate {
|
|
102
105
|
0% {
|
|
103
106
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar fabric theme variables */
|
|
2
3
|
.e-ddl.e-popup {
|
|
3
4
|
border: 0;
|
|
4
5
|
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
margin: 2px 2px 2px 0;
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
95
97
|
@keyframes material-spinner-rotate {
|
|
96
98
|
0% {
|
|
97
99
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -160,6 +161,8 @@
|
|
|
160
161
|
border-left-width: 0;
|
|
161
162
|
}
|
|
162
163
|
|
|
164
|
+
/* stylelint-disable-line no-empty-source */
|
|
165
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
163
166
|
@keyframes material-spinner-rotate {
|
|
164
167
|
0% {
|
|
165
168
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar bootstrap5 theme variables */
|
|
2
3
|
.e-popup.e-ddl {
|
|
3
4
|
border-radius: 4px;
|
|
4
5
|
box-shadow: none;
|
|
@@ -160,6 +161,8 @@
|
|
|
160
161
|
border-left-width: 0;
|
|
161
162
|
}
|
|
162
163
|
|
|
164
|
+
/* stylelint-disable-line no-empty-source */
|
|
165
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
163
166
|
@keyframes material-spinner-rotate {
|
|
164
167
|
0% {
|
|
165
168
|
transform: rotate(0);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */
|
|
1
3
|
.e-bigger .e-ddl.e-popup .e-input-group .e-clear-icon {
|
|
2
4
|
height: 36px;
|
|
3
5
|
}
|
|
@@ -80,6 +82,9 @@
|
|
|
80
82
|
color: #000;
|
|
81
83
|
top: 12px;
|
|
82
84
|
}
|
|
85
|
+
.e-multiselect .e-multi-select-wrapper input {
|
|
86
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
87
|
+
}
|
|
83
88
|
.e-multiselect .e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder {
|
|
84
89
|
color: #4f4f4f;
|
|
85
90
|
font-family: inherit;
|
|
@@ -172,6 +177,7 @@
|
|
|
172
177
|
width: 30px;
|
|
173
178
|
}
|
|
174
179
|
|
|
180
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
175
181
|
@keyframes material-spinner-rotate {
|
|
176
182
|
0% {
|
|
177
183
|
transform: rotate(0);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar fabric theme variables */
|
|
2
3
|
.e-bigger .e-ddl.e-popup .e-input-group .e-clear-icon {
|
|
3
4
|
height: 36px;
|
|
4
5
|
}
|
|
@@ -81,6 +82,9 @@
|
|
|
81
82
|
color: #fff;
|
|
82
83
|
top: 12px;
|
|
83
84
|
}
|
|
85
|
+
.e-multiselect .e-multi-select-wrapper input {
|
|
86
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
87
|
+
}
|
|
84
88
|
.e-multiselect .e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder {
|
|
85
89
|
color: #969696;
|
|
86
90
|
font-family: inherit;
|
|
@@ -175,6 +179,7 @@
|
|
|
175
179
|
width: 30px;
|
|
176
180
|
}
|
|
177
181
|
|
|
182
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
178
183
|
@keyframes material-spinner-rotate {
|
|
179
184
|
0% {
|
|
180
185
|
transform: rotate(0);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
3
|
@keyframes e-input-ripple {
|
|
3
4
|
100% {
|
|
4
5
|
opacity: 0;
|
|
5
6
|
transform: scale(4);
|
|
6
7
|
}
|
|
7
8
|
}
|
|
9
|
+
/* stylelint-disable-line no-empty-source */
|
|
8
10
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
9
11
|
transform: rotate(0deg);
|
|
10
12
|
transition: transform 300ms ease;
|
|
@@ -111,6 +113,7 @@
|
|
|
111
113
|
padding: 5px 5px 5px 12px;
|
|
112
114
|
}
|
|
113
115
|
|
|
116
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
114
117
|
@keyframes material-spinner-rotate {
|
|
115
118
|
0% {
|
|
116
119
|
transform: rotate(0deg);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
3
|
@keyframes e-input-ripple {
|
|
3
4
|
100% {
|
|
4
5
|
opacity: 0;
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
transform: translate3d(0, 0, 0) scale(1);
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
|
-
/*! calendar material theme variables */
|
|
17
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar material theme variables */
|
|
17
18
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
18
19
|
transform: rotate(0deg);
|
|
19
20
|
transition: transform 300ms ease;
|
|
@@ -145,6 +146,7 @@
|
|
|
145
146
|
padding: 4px 8px;
|
|
146
147
|
}
|
|
147
148
|
|
|
149
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
148
150
|
@keyframes material-spinner-rotate {
|
|
149
151
|
0% {
|
|
150
152
|
transform: rotate(0deg);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
2
|
-
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
3
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar tailwind theme variables */
|
|
3
4
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
4
5
|
transform: rotate(0deg);
|
|
5
6
|
transition: transform 300ms ease;
|
|
@@ -125,6 +126,8 @@
|
|
|
125
126
|
height: 100%;
|
|
126
127
|
}
|
|
127
128
|
|
|
129
|
+
/* stylelint-disable-line no-empty-source */
|
|
130
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
128
131
|
@keyframes material-spinner-rotate {
|
|
129
132
|
0% {
|
|
130
133
|
transform: rotate(0);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
2
|
-
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
3
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar tailwind theme variables */
|
|
3
4
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
4
5
|
transform: rotate(0deg);
|
|
5
6
|
transition: transform 300ms ease;
|
|
@@ -125,6 +126,8 @@
|
|
|
125
126
|
height: 100%;
|
|
126
127
|
}
|
|
127
128
|
|
|
129
|
+
/* stylelint-disable-line no-empty-source */
|
|
130
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
128
131
|
@keyframes material-spinner-rotate {
|
|
129
132
|
0% {
|
|
130
133
|
transform: rotate(0);
|
package/styles/material-dark.css
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
3
|
@keyframes e-input-ripple {
|
|
3
4
|
100% {
|
|
4
5
|
opacity: 0;
|
|
5
6
|
transform: scale(4);
|
|
6
7
|
}
|
|
7
8
|
}
|
|
9
|
+
/* stylelint-disable-line no-empty-source */
|
|
8
10
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
9
11
|
transform: rotate(0deg);
|
|
10
12
|
transition: transform 300ms ease;
|
|
@@ -111,6 +113,7 @@
|
|
|
111
113
|
padding: 5px 5px 5px 12px;
|
|
112
114
|
}
|
|
113
115
|
|
|
116
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
114
117
|
@keyframes material-spinner-rotate {
|
|
115
118
|
0% {
|
|
116
119
|
transform: rotate(0deg);
|
package/styles/material.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
2
3
|
@keyframes e-input-ripple {
|
|
3
4
|
100% {
|
|
4
5
|
opacity: 0;
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
transform: translate3d(0, 0, 0) scale(1);
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
|
-
/*! calendar material theme variables */
|
|
17
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar material theme variables */
|
|
17
18
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
18
19
|
transform: rotate(0deg);
|
|
19
20
|
transition: transform 300ms ease;
|
|
@@ -145,6 +146,7 @@
|
|
|
145
146
|
padding: 4px 8px;
|
|
146
147
|
}
|
|
147
148
|
|
|
149
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
148
150
|
@keyframes material-spinner-rotate {
|
|
149
151
|
0% {
|
|
150
152
|
transform: rotate(0deg);
|
package/styles/tailwind-dark.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
2
|
-
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
3
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar tailwind theme variables */
|
|
3
4
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
4
5
|
transform: rotate(0deg);
|
|
5
6
|
transition: transform 300ms ease;
|
|
@@ -125,6 +126,8 @@
|
|
|
125
126
|
height: 100%;
|
|
126
127
|
}
|
|
127
128
|
|
|
129
|
+
/* stylelint-disable-line no-empty-source */
|
|
130
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
128
131
|
@keyframes material-spinner-rotate {
|
|
129
132
|
0% {
|
|
130
133
|
transform: rotate(0);
|
package/styles/tailwind.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
2
|
-
|
|
2
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
3
|
+
/* stylelint-disable-line no-empty-source */ /*! calendar tailwind theme variables */
|
|
3
4
|
.e-ddl.e-control-wrapper .e-ddl-icon::before {
|
|
4
5
|
transform: rotate(0deg);
|
|
5
6
|
transition: transform 300ms ease;
|
|
@@ -125,6 +126,8 @@
|
|
|
125
126
|
height: 100%;
|
|
126
127
|
}
|
|
127
128
|
|
|
129
|
+
/* stylelint-disable-line no-empty-source */
|
|
130
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
128
131
|
@keyframes material-spinner-rotate {
|
|
129
132
|
0% {
|
|
130
133
|
transform: rotate(0);
|