select2-component
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "select2-component", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "A vuejs, reactjs and angular select component.", | ||
@@ -26,13 +26,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@angular/common": "5.0.0", | ||
"@angular/compiler": "5.0.0", | ||
"@angular/compiler-cli": "5.0.0", | ||
"@angular/core": "5.0.0", | ||
"@angular/forms": "5.0.0", | ||
"@angular/platform-browser": "5.0.0", | ||
"@angular/platform-browser-dynamic": "5.0.0", | ||
"@types/jasmine": "2.6.2", | ||
"@types/puppeteer": "0.12.1", | ||
"@types/react": "16.0.19", | ||
"@types/react-dom": "16.0.2", | ||
"@angular/common": "5.0.1", | ||
"@angular/compiler": "5.0.1", | ||
"@angular/compiler-cli": "5.0.1", | ||
"@angular/core": "5.0.1", | ||
"@angular/forms": "5.0.1", | ||
"@angular/platform-browser": "5.0.1", | ||
"@angular/platform-browser-dynamic": "5.0.1", | ||
"@types/jasmine": "2.8.1", | ||
"@types/puppeteer": "0.13.0", | ||
"@types/react": "16.0.22", | ||
"@types/react-dom": "16.0.3", | ||
"autoprefixer": "7.1.6", | ||
@@ -51,10 +51,10 @@ "clean-css-cli": "4.1.10", | ||
"karma-jasmine": "1.1.0", | ||
"karma-webpack": "2.0.5", | ||
"karma-webpack": "2.0.6", | ||
"less": "2.7.3", | ||
"mkdirp": "0.5.1", | ||
"no-unused-export": "1.4.0", | ||
"no-unused-export": "1.4.3", | ||
"postcss-cli": "4.1.1", | ||
"puppeteer": "0.12.0", | ||
"react": "16.0.0", | ||
"react-dom": "16.0.0", | ||
"puppeteer": "0.13.0", | ||
"react": "16.1.1", | ||
"react-dom": "16.1.1", | ||
"rev-static": "3.4.1", | ||
@@ -69,3 +69,3 @@ "rimraf": "2.6.2", | ||
"vue": "2.5.3", | ||
"vue-class-component": "6.0.0", | ||
"vue-class-component": "6.1.0", | ||
"watch-then-execute": "1.1.1", | ||
@@ -72,0 +72,0 @@ "webpack": "3.8.1", |
@@ -97,2 +97,4 @@ [![Dependency Status](https://david-dm.org/plantain-00/select2-component.svg)](https://david-dm.org/plantain-00/select2-component) | ||
the AOT online demo: https://plantain-00.github.io/select2-component/demo/aot/index.html | ||
#### properties and events of the component | ||
@@ -99,0 +101,0 @@ |
@@ -6,2 +6,2 @@ "use strict"; | ||
*/ | ||
export var vueTemplateHtml = "<div :class=\"containerStyle\"><div class=\"selection\" @click=\"toggleOpenAndClose()\"><div :class=\"selectionStyle\" role=\"combobox\"><span v-if=\"!multiple\" class=\"select2-selection__rendered\" :title=\"option ? option.label : ''\"><template v-if=\"option\"><component v-if=\"option.component\" :is=\"option.component\" :option=\"option\"></component><template v-else>{{option.label}}</template></template><span v-else class=\"select2-selection__placeholder\">{{placeholder}}</span></span><span v-if=\"!multiple\" class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span><ul v-if=\"multiple\" class=\"select2-selection__rendered\"><li v-for=\"(op, i) in option\" :key=\"i\" class=\"select2-selection__choice\" :title=\"op.label\"><span @click=\"removeSelection($event, op)\" class=\"select2-selection__choice__remove\" role=\"presentation\">\u00D7</span>{{op.label}}</li></ul></div></div><div :class=\"dropdownStyle\"><div class=\"select2-dropdown select2-dropdown--below\"><div :class=\"searchStyle\"><input ref=\"searchInput\" v-model=\"searchText\" @keydown=\"keyDown($event)\" @focusout=\"focusout()\" class=\"select2-search__field\" type=\"search\" role=\"textbox\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\"></div><div class=\"select2-results\"><ul ref=\"results\" class=\"select2-results__options\" role=\"tree\" tabindex=\"-1\" @keydown=\"keyDown($event)\" @focusout=\"focusout()\"><template v-for=\"(groupOrOption, i) in filteredData\" :key=\"i\"><li v-if=\"groupOrOption.options\" class=\"select2-results__option\" role=\"group\"><strong class=\"select2-results__group\">{{groupOrOption.label}}</strong><ul class=\"select2-results__options select2-results__options--nested\"><li v-for=\"(option, j) in groupOrOption.options\" :key=\"j\" :class=\"getOptionStyle(option.value)\" role=\"treeitem\" :aria-selected=\"isSelected(option)\" :aria-disabled=\"isDisabled(option)\" @mouseenter=\"mouseenter(option)\" @click=\"click(option)\"><component v-if=\"option.component\" :is=\"option.component\" :option=\"option\"></component><template v-else>{{option.label}}</template></li></ul></li><li v-else :class=\"getOptionStyle(groupOrOption.value)\" role=\"treeitem\" :aria-selected=\"isSelected(groupOrOption)\" :aria-disabled=\"isDisabled(groupOrOption)\" @mouseenter=\"mouseenter(groupOrOption)\" @click=\"click(groupOrOption)\"><component v-if=\"groupOrOption.component\" :is=\"groupOrOption.component\" :option=\"groupOrOption\"></component><template v-else>{{groupOrOption.label}}</template></li></template></ul></div></div></div></div>"; | ||
export var vueTemplateHtml = "<div :class=\"containerStyle\"><div class=\"selection\" @click=\"toggleOpenAndClose()\"><div :class=\"selectionStyle\" role=\"combobox\"><span v-if=\"!multiple\" class=\"select2-selection__rendered\" :title=\"option ? option.label : ''\"><template v-if=\"option\"><component v-if=\"option.component\" :is=\"option.component\" :option=\"option\"></component><template v-else>{{option.label}}</template></template><span v-else class=\"select2-selection__placeholder\">{{placeholder}}</span></span><span v-if=\"!multiple\" class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span><ul v-if=\"multiple\" class=\"select2-selection__rendered\"><li v-for=\"(op, i) in option\" :key=\"i\" class=\"select2-selection__choice\" :title=\"op.label\"><span @click=\"removeSelection($event, op)\" class=\"select2-selection__choice__remove\" role=\"presentation\">\u00D7</span>{{op.label}}</li></ul></div></div><div :class=\"dropdownStyle\"><div class=\"select2-dropdown select2-dropdown--below\"><div :class=\"searchStyle\"><input ref=\"searchInput\" v-model=\"searchText\" @keydown=\"keyDown($event)\" @focusout=\"focusout()\" class=\"select2-search__field\" type=\"search\" role=\"textbox\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\"></div><div class=\"select2-results\"><ul ref=\"results\" class=\"select2-results__options\" role=\"tree\" tabindex=\"-1\" @keydown=\"keyDown($event)\" @focusout=\"focusout()\"><template v-for=\"(groupOrOption, i) in filteredData\"><li v-if=\"groupOrOption.options\" class=\"select2-results__option\" role=\"group\"><strong class=\"select2-results__group\">{{groupOrOption.label}}</strong><ul class=\"select2-results__options select2-results__options--nested\"><li v-for=\"(option, j) in groupOrOption.options\" :key=\"j\" :class=\"getOptionStyle(option.value)\" role=\"treeitem\" :aria-selected=\"isSelected(option)\" :aria-disabled=\"isDisabled(option)\" @mouseenter=\"mouseenter(option)\" @click=\"click(option)\"><component v-if=\"option.component\" :is=\"option.component\" :option=\"option\"></component><template v-else>{{option.label}}</template></li></ul></li><li v-else :class=\"getOptionStyle(groupOrOption.value)\" role=\"treeitem\" :aria-selected=\"isSelected(groupOrOption)\" :aria-disabled=\"isDisabled(groupOrOption)\" @mouseenter=\"mouseenter(groupOrOption)\" @click=\"click(groupOrOption)\"><component v-if=\"groupOrOption.component\" :is=\"groupOrOption.component\" :option=\"groupOrOption\"></component><template v-else>{{groupOrOption.label}}</template></li></template></ul></div></div></div></div>"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220189
40
187