select2-component
Advanced tools
Comparing version 3.1.9 to 3.1.10
@@ -0,1 +1,5 @@ | ||
/** | ||
* This file is generated by 'file2variable-cli' | ||
* It is not mean to be edited by hand | ||
*/ | ||
export declare const angularTemplateHtml: string; |
"use strict"; | ||
/** | ||
* This file is generated by 'file2variable-cli' | ||
* It is not mean to be edited by hand | ||
*/ | ||
export var angularTemplateHtml = "<div [class]=\"containerStyle\"><div class=\"selection\" #selection [attr.tabindex]=\"!this.isOpen ? tabIndex : '-1'\" (click)=\"toggleOpenAndClose()\" (focus)=\"focusin()\" (blur)=\"focusout()\" (keydown)=\"openKey($event)\" [class.select2-focused]=\"focused\"><div [class]=\"selectionStyle\" role=\"combobox\"><span *ngIf=\"!multiple\" class=\"select2-selection__rendered\" [title]=\"option ? option.label : ''\"><span *ngIf=\"!option\"> </span><ng-container *ngIf=\"option\">{{option.label}}</ng-container><span [class.select2-selection__placeholder__option]=\"option\" class=\"select2-selection__placeholder\">{{placeholder}}</span></span><span *ngIf=\"!multiple\" class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span><ul *ngIf=\"multiple\" class=\"select2-selection__rendered\"><span [class.select2-selection__placeholder__option]=\"option?.length > 0\" class=\"select2-selection__placeholder\">{{placeholder}}</span><li *ngFor=\"let op of option\" 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 class=\"select2-subscript-wrapper\"><ng-content select=\"select2-hint\"></ng-content></div></div><div [class]=\"dropdownStyle\"><div class=\"select2-dropdown select2-dropdown--below\"><div [class]=\"searchStyle\"><input #searchInput [id]=\"id + '-search-field'\" [(value)]=\"searchText\" (keydown)=\"keyDown($event)\" (keyup)=\"searchUpdate($event)\" class=\"select2-search__field\" type=\"search\" role=\"textbox\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\" [attr.tabindex]=\"this.isOpen ? tabIndex : '-1'\"></div><div class=\"select2-results\"><ul #results class=\"select2-results__options\" role=\"tree\" tabindex=\"-1\" (keydown)=\"keyDown($event)\"><ng-template ngFor [ngForOf]=\"filteredData\" let-groupOrOption [ngForTrackBy]=\"trackBy\"><li *ngIf=\"groupOrOption.options\" class=\"select2-results__option\" role=\"group\"><strong [attr.class]=\"'select2-results__group' + (groupOrOption.classes ? ' ' + groupOrOption.classes : '')\">{{groupOrOption.label}}</strong><ul class=\"select2-results__options select2-results__options--nested\"><li *ngFor=\"let option of groupOrOption.options; trackBy:trackBy\" [class]=\"getOptionStyle(option)\" role=\"treeitem\" [attr.aria-selected]=\"isSelected(option)\" [attr.aria-disabled]=\"isDisabled(option)\" (mouseenter)=\"mouseenter(option)\" (click)=\"click(option)\">{{option.label}}</li></ul></li><li *ngIf=\"!groupOrOption.options\" [class]=\"getOptionStyle(groupOrOption)\" role=\"treeitem\" [attr.aria-selected]=\"isSelected(groupOrOption)\" [attr.aria-disabled]=\"isDisabled(groupOrOption)\" (mouseenter)=\"mouseenter(groupOrOption)\" (click)=\"click(groupOrOption)\">{{groupOrOption.label}}</li></ng-template></ul></div></div></div></div>"; |
{ | ||
"name": "select2-component", | ||
"version": "3.1.9", | ||
"version": "3.1.10", | ||
"description": "A vuejs, reactjs and angular select component.", | ||
@@ -26,19 +26,19 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@angular/common": "4.4.4", | ||
"@angular/compiler": "4.4.4", | ||
"@angular/compiler-cli": "4.4.4", | ||
"@angular/core": "4.4.4", | ||
"@angular/forms": "4.4.4", | ||
"@angular/platform-browser": "4.4.4", | ||
"@angular/platform-browser-dynamic": "4.4.4", | ||
"@angular/common": "4.4.6", | ||
"@angular/compiler": "4.4.6", | ||
"@angular/compiler-cli": "4.4.6", | ||
"@angular/core": "4.4.6", | ||
"@angular/forms": "4.4.6", | ||
"@angular/platform-browser": "4.4.6", | ||
"@angular/platform-browser-dynamic": "4.4.6", | ||
"@types/jasmine": "2.6.0", | ||
"@types/puppeteer": "0.10.2", | ||
"@types/react": "16.0.10", | ||
"@types/react-dom": "16.0.1", | ||
"@types/puppeteer": "0.12.0", | ||
"@types/react": "16.0.15", | ||
"@types/react-dom": "16.0.2", | ||
"autoprefixer": "7.1.5", | ||
"clean-css-cli": "4.1.10", | ||
"clean-release": "1.3.5", | ||
"clean-scripts": "1.3.3", | ||
"clean-scripts": "1.4.2", | ||
"core-js": "2.5.1", | ||
"file2variable-cli": "1.5.4", | ||
"file2variable-cli": "1.6.0", | ||
"github-fork-ribbon-css": "0.2.1", | ||
@@ -51,8 +51,8 @@ "http-server": "0.10.0", | ||
"karma-jasmine": "1.1.0", | ||
"karma-webpack": "2.0.4", | ||
"less": "2.7.2", | ||
"karma-webpack": "2.0.5", | ||
"less": "3.0.0-alpha.3", | ||
"mkdirp": "0.5.1", | ||
"no-unused-export": "1.2.7", | ||
"postcss-cli": "4.1.1", | ||
"puppeteer": "0.11.0", | ||
"puppeteer": "0.12.0", | ||
"react": "16.0.0", | ||
@@ -62,3 +62,3 @@ "react-dom": "16.0.0", | ||
"rimraf": "2.6.2", | ||
"rxjs": "5.4.3", | ||
"rxjs": "5.5.0", | ||
"standard": "10.0.3", | ||
@@ -69,6 +69,6 @@ "stylelint": "8.2.0", | ||
"typescript": "2.5.3", | ||
"vue": "2.4.4", | ||
"vue-class-component": "5.0.2", | ||
"vue": "2.5.2", | ||
"vue-class-component": "6.0.0", | ||
"watch-then-execute": "1.0.2", | ||
"webpack": "3.6.0", | ||
"webpack": "3.8.1", | ||
"zone.js": "0.8.18" | ||
@@ -75,0 +75,0 @@ }, |
@@ -0,1 +1,5 @@ | ||
/** | ||
* This file is generated by 'file2variable-cli' | ||
* It is not mean to be edited by hand | ||
*/ | ||
export declare const vueTemplateHtml: string; |
"use strict"; | ||
/** | ||
* This file is generated by 'file2variable-cli' | ||
* It is not mean to be edited by hand | ||
*/ | ||
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 in option\" 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 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 in groupOrOption.options\" :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>"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
145110
2252