diff --git a/dist/ng-select2/main.js b/dist/ng-select2/main.js index d9984be..793f8d5 100644 --- a/dist/ng-select2/main.js +++ b/dist/ng-select2/main.js @@ -252,7 +252,7 @@ var Select2Utils = /** @class */ (function () { var option = options[j]; if (findIt) { if (!option.disabled) { - return option.value; + return option; } } findIt = option.value === hoveringValue; @@ -262,13 +262,13 @@ var Select2Utils = /** @class */ (function () { var option = groupOrOption; if (findIt) { if (!option.disabled) { - return option.value; + return option; } } findIt = option.value === hoveringValue; } } - return findIt ? hoveringValue : null; + return null; }; // tslint:disable-next-line:cognitive-complexity Select2Utils.getNextOption = function (filteredData, hoveringValue) { @@ -281,7 +281,7 @@ var Select2Utils = /** @class */ (function () { var option = options_4[_a]; if (findIt) { if (!option.disabled) { - return option.value; + return option; } } else { @@ -293,7 +293,7 @@ var Select2Utils = /** @class */ (function () { var option = groupOrOption; if (findIt) { if (!option.disabled) { - return option.value; + return option; } } else { @@ -301,37 +301,11 @@ var Select2Utils = /** @class */ (function () { } } } - return findIt ? hoveringValue : null; + return null; }; Select2Utils.isNullOrUndefined = function (value) { return value === null || value === undefined; }; - Select2Utils.getLastScrollTopIndex = function (hoveringValue, results, filteredData, lastScrollTopIndex) { - if (Select2Utils.isNullOrUndefined(hoveringValue)) { - results.scrollTop = 0; - return 0; - } - else { - var scrollTop = Select2Utils.getScrollUpIndex(filteredData, hoveringValue); - if (scrollTop - lastScrollTopIndex > 5) { - lastScrollTopIndex += scrollTop - lastScrollTopIndex - 5; - var item = results.querySelectorAll('li').item(scrollTop); - if (item) { - results.scrollTop = item.offsetTop - results.offsetHeight; - } - return lastScrollTopIndex; - } - if (lastScrollTopIndex - scrollTop > 0) { - lastScrollTopIndex -= lastScrollTopIndex - scrollTop; - var item = results.querySelectorAll('li').item(lastScrollTopIndex - 1); - if (item) { - results.scrollTop = item.offsetTop; - } - return lastScrollTopIndex; - } - return null; - } - }; Select2Utils.containSearchText = function (label, searchText, editPattern) { return searchText ? Select2Utils @@ -440,7 +414,7 @@ var Select2Utils = /** @class */ (function () { /*! no static exports found */ /***/ (function(module, exports) { -module.exports = "
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n  \r\n {{select2Option.label}}\r\n {{placeholder}}\r\n \r\n \r\n \r\n \r\n
    \r\n 0\"\r\n class=\"select2-selection__placeholder\">{{placeholder}}\r\n
  • \r\n ×\r\n {{op.label}}\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
    \r\n \r\n
  • \r\n {{groupOrOption.label}}\r\n
      \r\n
    • {{option.label}}
    • \r\n
    \r\n
  • \r\n
  • \r\n {{groupOrOption.label}}\r\n
  • \r\n
    \r\n
\r\n
\r\n
\r\n
\r\n
" +module.exports = "
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n  \r\n {{select2Option.label}}\r\n {{placeholder}}\r\n \r\n \r\n \r\n \r\n
    \r\n 0\"\r\n class=\"select2-selection__placeholder\">{{placeholder}}\r\n
  • \r\n ×\r\n {{op.label}}\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
    \r\n \r\n
  • \r\n {{groupOrOption.label}}\r\n
      \r\n
    • {{option.label}}
    • \r\n
    \r\n
  • \r\n
  • \r\n {{groupOrOption.label}}\r\n
  • \r\n
    \r\n
\r\n
\r\n
\r\n
\r\n
" /***/ }), @@ -451,7 +425,7 @@ module.exports = "
op.value === value);\r\n if (valueIndex !== -1) {\r\n return index + valueIndex;\r\n } else {\r\n index += options.length;\r\n }\r\n } else {\r\n if ((groupOrOption as Select2Option).value === value) {\r\n return index;\r\n } else {\r\n index++;\r\n }\r\n }\r\n }\r\n return 0;\r\n }\r\n\r\n static getOptionByValue(data: Select2Data, value: Select2Value | null | undefined) {\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (option.value === value) {\r\n return option;\r\n }\r\n }\r\n } else {\r\n if ((groupOrOption as Select2Option).value === value) {\r\n return groupOrOption as Select2Option;\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n static getOptionsByValue(\r\n data: Select2Data,\r\n value: Select2UpdateValue | null | undefined,\r\n multiple: boolean | null | undefined\r\n ) {\r\n if (multiple) {\r\n const values: Select2Value[] = Array.isArray(value) ? value : [];\r\n const result: Select2Option[] = [];\r\n for (const v of values) {\r\n const option = Select2Utils.getOptionByValue(data, v);\r\n if (option) {\r\n result.push(option);\r\n }\r\n }\r\n return result;\r\n }\r\n return Select2Utils.getOptionByValue(data, value as Select2Value | null | undefined);\r\n }\r\n\r\n static getFirstAvailableOption(data: Select2Data) {\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n }\r\n } else {\r\n const option = groupOrOption as Select2Option;\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n private static getOptionsCount(data: Select2Data) {\r\n let count = 0;\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n count += options.length;\r\n } else {\r\n count++;\r\n }\r\n }\r\n return count;\r\n }\r\n\r\n static valueIsNotInFilteredData(filteredData: Select2Data, value: Select2Value | null | undefined) {\r\n if (Select2Utils.isNullOrUndefined(value)) {\r\n return true;\r\n }\r\n for (const groupOrOption of filteredData) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (option.value === value) {\r\n return false;\r\n }\r\n }\r\n } else {\r\n if ((groupOrOption as Select2Option).value === value) {\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n // tslint:disable-next-line:cognitive-complexity\r\n static getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined) {\r\n let findIt = Select2Utils.isNullOrUndefined(hoveringValue);\r\n for (let i = filteredData.length - 1; i >= 0; i--) {\r\n const groupOrOption = filteredData[i];\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (let j = options.length - 1; j >= 0; j--) {\r\n const option = options[j];\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n }\r\n findIt = option.value === hoveringValue;\r\n }\r\n } else {\r\n const option = groupOrOption as Select2Option;\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n }\r\n findIt = option.value === hoveringValue;\r\n }\r\n }\r\n return findIt ? hoveringValue : null;\r\n }\r\n // tslint:disable-next-line:cognitive-complexity\r\n static getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined) {\r\n let findIt = Select2Utils.isNullOrUndefined(hoveringValue);\r\n for (const groupOrOption of filteredData) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n } else {\r\n findIt = option.value === hoveringValue;\r\n }\r\n }\r\n } else {\r\n const option = groupOrOption as Select2Option;\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n } else {\r\n findIt = option.value === hoveringValue;\r\n }\r\n }\r\n }\r\n return findIt ? hoveringValue : null;\r\n }\r\n\r\n private static isNullOrUndefined(value: any) {\r\n return value === null || value === undefined;\r\n }\r\n\r\n static getLastScrollTopIndex(\r\n hoveringValue: Select2Value | null | undefined,\r\n results: HTMLElement,\r\n filteredData: Select2Data,\r\n lastScrollTopIndex: number\r\n ) {\r\n if (Select2Utils.isNullOrUndefined(hoveringValue)) {\r\n results.scrollTop = 0;\r\n return 0;\r\n } else {\r\n const scrollTop = Select2Utils.getScrollUpIndex(filteredData, hoveringValue!);\r\n if (scrollTop - lastScrollTopIndex > 5) {\r\n lastScrollTopIndex += scrollTop - lastScrollTopIndex - 5;\r\n const item = results.querySelectorAll('li').item(scrollTop);\r\n if (item) {\r\n results.scrollTop = item.offsetTop - results.offsetHeight;\r\n }\r\n return lastScrollTopIndex;\r\n }\r\n if (lastScrollTopIndex - scrollTop > 0) {\r\n lastScrollTopIndex -= lastScrollTopIndex - scrollTop;\r\n const item = results.querySelectorAll('li').item(lastScrollTopIndex - 1);\r\n if (item) {\r\n results.scrollTop = item.offsetTop;\r\n }\r\n return lastScrollTopIndex;\r\n }\r\n return null;\r\n }\r\n }\r\n\r\n private static containSearchText(\r\n label: string,\r\n searchText: string | null,\r\n editPattern: ((str: string) => string) | undefined\r\n ): boolean {\r\n return searchText\r\n ? Select2Utils\r\n .formatSansUnicode(label)\r\n .match(new RegExp(Select2Utils.formatPattern(searchText, editPattern), 'i')) !== null\r\n : true;\r\n }\r\n\r\n private static protectPattern(str: string): string {\r\n return str.replace(new RegExp('[\\\\-\\\\[\\\\]\\\\/\\\\{\\\\}\\\\(\\\\)\\\\*\\\\+\\\\?\\\\.\\\\\\\\\\\\^\\\\$\\\\|]', 'g'), '\\\\$&');\r\n }\r\n\r\n private static formatSansUnicode(str: string): string {\r\n for (const unicodePattern of unicodePatterns) {\r\n str = str.replace(unicodePattern.s, unicodePattern.l);\r\n }\r\n return str;\r\n }\r\n\r\n private static formatPattern(str: string, editPattern: ((str: string) => string) | undefined): string {\r\n str = Select2Utils.formatSansUnicode(Select2Utils.protectPattern(str));\r\n\r\n if (editPattern && typeof editPattern === 'function') {\r\n str = editPattern(str);\r\n }\r\n return str;\r\n }\r\n\r\n static getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): Select2Data {\r\n if (searchText) {\r\n const result: Select2Data = [];\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n if (options.some(group => Select2Utils.containSearchText(group.label, searchText, editPattern))) {\r\n const filteredOptions = options.filter(\r\n group => Select2Utils.containSearchText(group.label, searchText, editPattern)\r\n );\r\n result.push({\r\n label: groupOrOption.label,\r\n options: filteredOptions\r\n });\r\n }\r\n } else if (Select2Utils.containSearchText(groupOrOption.label, searchText, editPattern)) {\r\n result.push(groupOrOption);\r\n }\r\n }\r\n return result;\r\n } else {\r\n return data;\r\n }\r\n }\r\n\r\n static getOptionStyle(value: Select2Value, hoveringValue: Select2Value | null | undefined) {\r\n return value === hoveringValue\r\n ? 'select2-results__option select2-results__option--highlighted'\r\n : 'select2-results__option';\r\n }\r\n\r\n static getDropdownStyle(isOpen: boolean) {\r\n return isOpen\r\n ? 'select2-container select2-container--default select2-container-dropdown select2-container--open'\r\n : 'select2-container select2-container--default select2-container-dropdown';\r\n }\r\n\r\n static getContainerStyle(disabled: boolean | undefined, isOpen: boolean) {\r\n return `select2 select2-container select2-container--default ${disabled ? 'select2-container--disabled' : ''} `\r\n + `${isOpen ? 'select2-container--open' : ''} select2-container--below select2-container--focus`;\r\n }\r\n\r\n static getSelectionStyle(multiple: boolean | undefined) {\r\n return `select2-selection select2-selection--${multiple ? 'multiple' : 'single'}`;\r\n }\r\n\r\n\r\n static isSearchboxHiddex(data: Select2Data, minCountForSearch?: number) {\r\n if (typeof minCountForSearch !== 'number') {\r\n minCountForSearch = defaultMinCountForSearch;\r\n }\r\n const optionCount = Select2Utils.getOptionsCount(data);\r\n return optionCount < minCountForSearch;\r\n }\r\n\r\n static getSearchStyle(isHidden: boolean) {\r\n return isHidden\r\n ? 'select2-search select2-search--dropdown select2-search--hide'\r\n : 'select2-search select2-search--dropdown';\r\n }\r\n\r\n static isSelected(\r\n options: Select2Option | Select2Option[] | null,\r\n option: Select2Option,\r\n multiple: boolean | null | undefined\r\n ) {\r\n if (multiple) {\r\n return options && (options as Select2Option[]).some(op => op.value === option.value) ? 'true' : 'false';\r\n } else {\r\n return options && option.value === (options as Select2Option).value ? 'true' : 'false';\r\n }\r\n }\r\n\r\n static removeSelection(options: Select2Option | Select2Option[] | null, option: Select2Option) {\r\n for (let i = 0; i < (options as Select2Option[]).length; i++) {\r\n if ((options as Select2Option[])[i].value === option.value) {\r\n (options as Select2Option[]).splice(i, 1);\r\n return;\r\n }\r\n }\r\n }\r\n}\r\n","module.exports = \"
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n  \\r\\n {{select2Option.label}}\\r\\n {{placeholder}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n 0\\\"\\r\\n class=\\\"select2-selection__placeholder\\\">{{placeholder}}\\r\\n
  • \\r\\n ×\\r\\n {{op.label}}\\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
    \\r\\n \\r\\n
  • \\r\\n {{groupOrOption.label}}\\r\\n
      \\r\\n
    • {{option.label}}
    • \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n {{groupOrOption.label}}\\r\\n
  • \\r\\n
    \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\"","module.exports = \".select2-container {\\n box-sizing: border-box;\\n display: inline-block;\\n margin: 0;\\n position: relative;\\n vertical-align: middle;\\n width: 100%; }\\n .select2-container .select2-container-dropdown {\\n position: absolute;\\n width: 0px; }\\n .select2-container .select2-selection--single {\\n box-sizing: border-box;\\n cursor: pointer;\\n display: block;\\n height: 28px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none; }\\n .select2-container .select2-selection--single .select2-selection__rendered {\\n display: block;\\n padding-left: 8px;\\n padding-right: 20px;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap; }\\n .select2-container .select2-selection--single .select2-selection__clear {\\n position: relative; }\\n .select2-container .select2-selection--multiple {\\n box-sizing: border-box;\\n cursor: pointer;\\n display: block;\\n min-height: 32px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none; }\\n .select2-container .select2-selection--multiple .select2-selection__rendered {\\n display: inline-block;\\n overflow: hidden;\\n padding-left: 8px;\\n text-overflow: ellipsis;\\n white-space: nowrap; }\\n .select2-container .select2-search--inline {\\n float: left; }\\n .select2-container .select2-search--inline .select2-search__field {\\n box-sizing: border-box;\\n border: none;\\n font-size: 100%;\\n margin-top: 5px;\\n padding: 0; }\\n .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {\\n -webkit-appearance: none; }\\n .select2-dropdown {\\n background-color: white;\\n border: 1px solid #aaa;\\n border-radius: 4px;\\n box-sizing: border-box;\\n display: block;\\n position: absolute;\\n left: -100000px;\\n width: 100%;\\n z-index: 1051; }\\n .select2-results {\\n display: block; }\\n .select2-results__options {\\n list-style: none;\\n margin: 0;\\n padding: 0; }\\n .select2-results__option {\\n padding: 6px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none; }\\n .select2-results__option[aria-selected] {\\n cursor: pointer; }\\n .select2-container.select2-container-dropdown.select2-container--open {\\n width: 100%; }\\n .select2-container--open .select2-dropdown {\\n left: 0; }\\n .select2-container--open .select2-dropdown--above {\\n border-bottom: none;\\n border-bottom-left-radius: 0;\\n border-bottom-right-radius: 0; }\\n .select2-container--open .select2-dropdown--below {\\n border-top: none;\\n border-top-left-radius: 0;\\n border-top-right-radius: 0; }\\n .select2-search--dropdown {\\n display: block;\\n padding: 4px; }\\n .select2-search--dropdown .select2-search__field {\\n padding: 4px;\\n width: 100%;\\n box-sizing: border-box; }\\n .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {\\n -webkit-appearance: none; }\\n .select2-search--dropdown.select2-search--hide {\\n display: none; }\\n .select2-close-mask {\\n border: 0;\\n margin: 0;\\n padding: 0;\\n display: block;\\n position: fixed;\\n left: 0;\\n top: 0;\\n min-height: 100%;\\n min-width: 100%;\\n height: auto;\\n width: auto;\\n opacity: 0;\\n z-index: 99;\\n background-color: #fff;\\n filter: alpha(opacity=0); }\\n .select2-hidden-accessible {\\n border: 0 !important;\\n clip: rect(0 0 0 0) !important;\\n height: 1px !important;\\n margin: -1px !important;\\n overflow: hidden !important;\\n padding: 0 !important;\\n position: absolute !important;\\n width: 1px !important; }\\n .select2-container--default .select2-selection--single {\\n background-color: #fff;\\n border: 1px solid #aaa;\\n border-radius: 4px; }\\n .select2-container--default .select2-selection--single .select2-selection__rendered {\\n color: #444;\\n line-height: 28px; }\\n .select2-container--default .select2-selection--single .select2-selection__clear {\\n cursor: pointer;\\n float: right;\\n font-weight: bold; }\\n .select2-container--default .select2-selection--single .select2-selection__placeholder {\\n color: #999; }\\n .select2-container--default .select2-selection--single .select2-selection__placeholder__option {\\n display: none; }\\n .select2-container--default .select2-selection--single .select2-selection__arrow {\\n height: 26px;\\n position: absolute;\\n top: 1px;\\n right: 1px;\\n width: 20px; }\\n .select2-container--default .select2-selection--single .select2-selection__arrow b {\\n border-color: #888 transparent;\\n border-style: solid;\\n border-width: 5px 4px 0;\\n height: 0;\\n left: 50%;\\n margin-left: -4px;\\n margin-top: -2px;\\n position: absolute;\\n top: 50%;\\n width: 0; }\\n .select2-container--default.select2-container--disabled .select2-selection--single {\\n background-color: #eee;\\n cursor: default; }\\n .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {\\n display: none; }\\n .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {\\n border-color: transparent transparent #888;\\n border-width: 0 4px 5px; }\\n .select2-container--default .select2-selection--multiple {\\n background-color: white;\\n border: 1px solid #aaa;\\n border-radius: 4px;\\n cursor: text; }\\n .select2-container--default .select2-selection--multiple .select2-selection__rendered {\\n box-sizing: border-box;\\n list-style: none;\\n margin: 0;\\n padding: 0 5px;\\n width: 100%; }\\n .select2-container--default .select2-selection--multiple .select2-selection__rendered li {\\n list-style: none; }\\n .select2-container--default .select2-selection--multiple .select2-selection__placeholder {\\n color: #999;\\n margin-top: 5px;\\n float: left; }\\n .select2-container--default .select2-selection--multiple .select2-selection__placeholder__option {\\n display: none; }\\n .select2-container--default .select2-selection--multiple .select2-selection__clear {\\n cursor: pointer;\\n float: right;\\n font-weight: bold;\\n margin-top: 5px;\\n margin-right: 10px; }\\n .select2-container--default .select2-selection--multiple .select2-selection__choice {\\n background-color: #e4e4e4;\\n border: 1px solid #aaa;\\n border-radius: 4px;\\n cursor: default;\\n float: left;\\n margin-right: 5px;\\n margin-top: 5px;\\n padding: 0 5px; }\\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {\\n color: #999;\\n cursor: pointer;\\n display: inline-block;\\n font-weight: bold;\\n margin-right: 2px; }\\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {\\n color: #333; }\\n .select2-container--default.select2-container--focused .select2-selection--multiple {\\n border: solid black 1px;\\n outline: 0; }\\n .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single,\\n.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple {\\n border: solid black 1px;\\n outline: 0; }\\n .select2-container--default.select2-container--disabled .select2-selection--multiple {\\n background-color: #eee;\\n cursor: default; }\\n .select2-container--default.select2-container--disabled .select2-selection__choice__remove {\\n display: none; }\\n .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,\\n.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {\\n border-top-left-radius: 0;\\n border-top-right-radius: 0; }\\n .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,\\n.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {\\n border-bottom-left-radius: 0;\\n border-bottom-right-radius: 0; }\\n .select2-container--default .select2-search--dropdown .select2-search__field {\\n border: 1px solid #aaa; }\\n .select2-container--default .select2-search--inline .select2-search__field {\\n background: transparent;\\n border: none;\\n outline: 0;\\n box-shadow: none;\\n -webkit-appearance: textfield; }\\n .select2-container--default .select2-results > .select2-results__options {\\n max-height: 200px;\\n overflow-y: auto; }\\n .select2-container--default .select2-results__option[role=group] {\\n padding: 0; }\\n .select2-container--default .select2-results__option[aria-disabled=true] {\\n color: #999; }\\n .select2-container--default .select2-results__option[aria-selected=true] {\\n background-color: #ddd; }\\n .select2-container--default .select2-results__option .select2-results__option {\\n padding-left: 1em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__group {\\n padding-left: 0; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -1em;\\n padding-left: 2em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -2em;\\n padding-left: 3em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -3em;\\n padding-left: 4em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -4em;\\n padding-left: 5em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -5em;\\n padding-left: 6em; }\\n .select2-container--default .select2-results__option--highlighted[aria-selected] {\\n background-color: #5897fb;\\n color: white; }\\n .select2-container--default .select2-results__group {\\n cursor: default;\\n display: block;\\n padding: 6px;\\n color: gray; }\\n /* stylelint-disable-next-line selector-type-no-unknown */\\n :host.material {\\n display: inline-block;\\n width: 300px; }\\n :host.material > .select2-container {\\n padding-bottom: 1.29688em;\\n vertical-align: inherit; }\\n :host.material > .select2-container .selection {\\n padding: 0.4375em 0;\\n border-top: 0.84375em solid transparent;\\n display: inline-flex;\\n align-items: baseline;\\n width: 100%;\\n height: auto; }\\n :host.material .select2-container--default .select2-selection--single,\\n :host.material .select2-container--default .select2-selection--multiple {\\n width: 100%;\\n border: 0;\\n border-radius: 0;\\n height: 24px;\\n box-sizing: border-box; }\\n :host.material .select2-container--default .select2-selection--single::before,\\n :host.material .select2-container--default .select2-selection--multiple::before {\\n content: ' ';\\n display: block;\\n position: absolute;\\n bottom: 1.65em;\\n background-color: #ddd;\\n height: 1px;\\n width: 100%; }\\n :host.material .select2-container--default .select2-selection--single::after,\\n :host.material .select2-container--default .select2-selection--multiple::after {\\n content: ' ';\\n display: block;\\n position: absolute;\\n bottom: 1.63em;\\n background-color: #5a419e;\\n height: 2px;\\n width: 0%;\\n left: 50%;\\n transition: none; }\\n :host.material .select2-container--default .select2-selection--single .select2-selection__rendered,\\n :host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered {\\n padding-left: 1px;\\n line-height: inherit; }\\n :host.material .select2-container--default .select2-selection--single .select2-selection__placeholder,\\n :host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder {\\n display: block;\\n color: rgba(0, 0, 0, 0.38);\\n transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transition: transform 0.3s, -webkit-transform 0.3s;\\n position: absolute;\\n -webkit-transform-origin: 0 21px;\\n transform-origin: 0 21px;\\n left: 0;\\n top: 20px; }\\n :host.material .select2-container--default .select2-container--open {\\n left: 0;\\n bottom: 1.6em; }\\n :host.material .select2-container--default .select2-selection__placeholder__option {\\n -webkit-transform: translateY(-1.5em) scale(0.75) perspective(100px) translateZ(0.001px);\\n transform: translateY(-1.5em) scale(0.75) perspective(100px) translateZ(0.001px);\\n width: 133.33333%; }\\n :host.material .select2-container--default .select2-selection__arrow {\\n top: 20px; }\\n :host.material .select2-container--default.select2-container--open .select2-selection--single::after,\\n :host.material .select2-container--default.select2-container--open .select2-selection--multiple::after,\\n :host.material .select2-container--default .select2-focused .select2-selection--single::after,\\n :host.material .select2-container--default .select2-focused .select2-selection--multiple::after {\\n transition: width 0.3s cubic-bezier(0.12, 1, 0.77, 1), left 0.3s cubic-bezier(0.12, 1, 0.77, 1);\\n width: 100%;\\n left: 0%; }\\n :host.material .select2-container--default .select2-dropdown {\\n border-radius: 0;\\n border: 0;\\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5); }\\n :host.material .select2-container--default .select2-results__option[aria-selected=true],\\n :host.material .select2-container--default .select2-results__option--highlighted[aria-selected] {\\n background-color: rgba(0, 0, 0, 0.04);\\n color: #000; }\\n :host.material .select2-container--default .select2-results__option[aria-selected=true] {\\n color: #ff5722; }\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--single,\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--multiple {\\n background-color: transparent; }\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--single::before,\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--multiple::before {\\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.26) 0, rgba(0, 0, 0, 0.26) 33%, transparent 0);\\n background-size: 4px 1px;\\n background-repeat: repeat-x;\\n background-color: transparent;\\n background-position: 0 bottom; }\\n :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::before, :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::after,\\n :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::before,\\n :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::after {\\n background-color: red; }\\n :host.material:not(.select2-container--open) .select2-focused .select2-selection--single,\\n :host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple {\\n border: 0; }\\n :host.material .select2-subscript-wrapper {\\n position: absolute;\\n top: calc(100% - 1.72917em);\\n font-size: 75%; }\\n /* stylelint-disable selector-type-no-unknown */\\n @supports (-moz-appearance: none) {\\n select2.material .select2-container--default .select2-selection--single,\\n select2.material .select2-container--default .select2-selection--multiple {\\n height: 26px; } }\\n @supports (-ms-scroll-limit: 0) {\\n select2.material .select2-container--default .select2-selection--single,\\n select2.material .select2-container--default .select2-selection--multiple {\\n height: 25px; } }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3RzL25nLXNlbGVjdDItY29tcG9uZW50L3NyYy9saWIvYzpcXERhdGFcXHNvdXJjZXMtc3ZuXFxwaXRjaFxcbmctc2VsZWN0Mi9wcm9qZWN0c1xcbmctc2VsZWN0Mi1jb21wb25lbnRcXHNyY1xcbGliXFxzZWxlY3QyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksdUJBQXNCO0VBQ3RCLHNCQUFxQjtFQUNyQ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1xyXG4gICAgfVxyXG5cclxuICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tc2luZ2xlIHtcclxuICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xyXG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICBoZWlnaHQ6IDI4cHg7XHJcbiAgICAgICAgdXNlci1zZWxlY3Q6IG5vbmU7XHJcblxyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fcmVuZGVyZWQge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA4cHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDIwcHg7XHJcbiAgICAgICAgICAgIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jbGVhciB7XHJcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItc2VsZWN0aW9uLS1tdWx0aXBsZSB7XHJcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgbWluLWhlaWdodDogMzJweDtcclxuICAgICAgICB1c2VyLXNlbGVjdDogbm9uZTtcclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19yZW5kZXJlZCB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA4cHg7XHJcbiAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1zZWFyY2gtLWlubGluZSB7XHJcbiAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcblxyXG4gICAgICAgIC5zZWxlY3QyLXNlYXJjaF9fZmllbGQge1xyXG4gICAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xyXG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTAwJTtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogNXB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xyXG5cclxuICAgICAgICAgICAgJjo6LXdlYmtpdC1zZWFyY2gtY2FuY2VsLWJ1dHRvbiB7XHJcbiAgICAgICAgICAgICAgICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuXHJcbi5zZWxlY3QyLWRyb3Bkb3duIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG4gICAgYm9yZGVyOiAxcHggc29saWQgI2FhYTtcclxuICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgICBkaXNwbGF5OiBibG9jaztcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGxlZnQ6IC0xMDAwMDBweDtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgei1pbmRleDogMTA1MTtcclxufVxyXG5cclxuLnNlbGVjdDItcmVzdWx0cyB7X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iBub25lO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19hcnJvdyB7XHJcbiAgICAgICAgICAgIGhlaWdodDogMjZweDtcclxuICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICB0b3A6IDFweDtcclxuICAgICAgICAgICAgcmlnaHQ6IDFweDtcclxuICAgICAgICAgICAgd2lkdGg6IDIwcHg7XHJcblxyXG4gICAgICAgICAgICBiIHtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1jb2xvcjogIzg4OCB0cmFuc3BhcmVudDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1zdHlsZTogc29saWQ7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItd2lkdGg6IDVweCA0cHggMDtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMDtcclxuICAgICAgICAgICAgICAgIGxlZnQ6IDUwJTtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAtNHB4O1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogLTJweDtcclxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgIHRvcDogNTAlO1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDA7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgJi5zZWxlY3QyLWNvbnRhaW5lci0tZGlzYWJsZWQge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tc2luZ2xlIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTtcclxuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG5cclxuICAgICAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jbGVhciB7XHJcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLW9wZW4ge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tc2luZ2xlIHtcclxuICAgICAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19hcnJvdyB7XHJcbiAgICAgICAgICAgICAgICBiIHtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItY29sb3I6IHRyYW5zcGFyZW50IHRyYW5zcGFyZW50ICM4ODg7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXdpZHRoOiAwIDRweCA1cHg7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItc2VsZWN0aW9uLS1tdWx0aXBsZSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2FhYTtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XHJcbiAgICAgICAgY3Vyc29yOiB0ZXh0O1xyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3JlbmRlcmVkIHtcclxuICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcclxuICAgICAgICAgICAgbWFyZ2luOiAwO1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwIDVweDtcclxuICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcblxyXG4gICAgICAgICAgICBsaSB7XHJcbiAgICAgICAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3BsYWNlaG9sZGVyIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDVweDtcclxuICAgICAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3BsYWNlaG9sZGVyX19vcHRpb24ge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jbGVhciB7XHJcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICAgICAgZmxvYXQ6IHJpZ2h0O1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogNXB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDEwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX2Nob2ljZSB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlNGU0ZTQ7XHJcbiAgICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNhYWE7XHJcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiA1cHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDVweDtcclxuICAgICAgICAgICAgcGFkZGluZzogMCA1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX2Nob2ljZV9fcmVtb3ZlIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAycHg7XHJcblxyXG4gICAgICAgICAgICAmOmhvdmVyIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAjMzMzO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLWZvY3VzZWQge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tbXVsdGlwbGUge1xyXG4gICAgICAgICAgICBib3JkZXI6IHNvbGlkIGJsYWNrIDFweDtcclxuICAgICAgICAgICAgb3V0bGluZTogMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgJjpub3QoLnNlbGVjdDItY29udGFpbmVyLS1vcGVuKSAuc2VsZWN0Mi1mb2N1c2VkIHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYm9yZGVyOiBzb2xpZCBibGFjayAxcHg7XHJcbiAgICAgICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLWRpc2FibGVkIHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTtcclxuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jaG9pY2VfX3JlbW92ZSB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLW9wZW4uc2VsZWN0Mi1jb250YWluZXItLWFib3ZlIHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogMDtcclxuICAgICAgICAgICAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLW9wZW4uc2VsZWN0Mi1jb250YWluZXItLWJlbG93IHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogMDtcclxuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5zZWxlY3QyLXNlYXJjaC0tZHJvcGRvd24ge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlYXJjaF9fZmllbGQge1xyXG4gICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYWFhO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1zZWFyY2gtLWlubGluZSB7XHJcbiAgICAgICAgLnNlbGVjdDItc2VhcmNoX19maWVsZCB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xyXG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XHJcbiAgICAgICAgICAgIC13ZWJraXQtYXBwZWFyYW5jZTogdGV4dGZpZWxkO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1yZXN1bHRzID4gLnNlbGVjdDItcmVzdWx0c19fb3B0aW9ucyB7XHJcbiAgICAgICAgbWF4LWhlaWdodDogMjAwcHg7XHJcbiAgICAgICAgb3ZlcmZsb3cteTogYXV0bztcclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1yZXN1bHRzX19vcHRpb24ge1xyXG4gICAgICAgICZbcm9sZT1ncm91cF0ge1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJlthcmlhLWRpc2FibGVkPXRydWVdIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAmW2FyaWEtc2VsZWN0ZWQ9dHJ1ZV0ge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZGRkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItcmVzdWx0c19fb3B0aW9uIHtcclxuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAxZW07XHJcblxyXG4gICAgICAgICAgICAuc2VsZWN0Mi1yZXN1bHRzX19ncm91cCB7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogLTFlbTtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMmVtO1xyXG5cclxuICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IC0yZW07XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAzZW07XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAtM2VtO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDRlbTtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogLTRlbTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogNWVtO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IC01ZW07XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA2ZW07XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItcmVzdWx0c19fb3B0aW9uLS1oaWdobGlnaHRlZFthcmlhLXNlbGVjdGVkXSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzU4OTdmYjtcclxuICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItcmVzdWx0c19fZ3JvdXAge1xyXG4gICAgICAgIGN1cnNvcjogZGV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M6IDA7XHJcbiAgICAgICAgICAgIGhlaWdodDogMjRweDtcclxuICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuXHJcbiAgICAgICAgICAgICY6OmJlZm9yZSB7XHJcbiAgICAgICAgICAgICAgICBjb250ZW50OiAnICc7XHJcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgIGJvdHRvbTogMS42NWVtO1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2RkZDtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMXB4O1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICY6OmFmdGVyIHtcclxuICAgICAgICAgICAgICAgIGNvbnRlbnQ6ICcgJztcclxuICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgYm90dG9tOiAxLjYzZW07XHJcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjNWE0MTllO1xyXG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAycHg7XHJcbiAgICAgICAgICAgICAgICB3aWR0aDogMCU7XHJcbiAgICAgICAgICAgICAgICBsZWZ0OiA1MCU7XHJcbiAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBub25lO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3JlbmRlcmVkIHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMXB4O1xyXG4gICAgICAgICAgICAgICAgbGluZS1oZWlnaHQ6IGluaGVyaXQ7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fcGxhY2Vob2xkZXIge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogcmdiYSgwLCAwLCAwLCAwLjM4KTtcclxuICAgICAgICAgICAgICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSAwLjNzO1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgdHJhbnNmb3JtLW9yaWdpbjogMCAyMXB4O1xyXG4gICAgICAgICAgICAgICAgbGVmdDogMDtcclxuICAgICAgICAgICAgICAgIHRvcDogMjBweDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItY29udGFpbmVyLS1vcGVuIHtcclxuICAgICAgICAgICAgbGVmdDogMDtcclxuICAgICAgICAgICAgYm90dG9tOiAxLjZlbTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fcGxhY2Vob2xkZXJfX29wdGlvbiB7XHJcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtMS41ZW0pIHNjYWxlKDAuNzUpIHBlcnNwZWN0aXZlKDEwMHB4KSB0cmFuc2xhdGVaKDAuMDAxcHgpO1xyXG4gICAgICAgICAgICB3aWR0aDogMTMzLjMzMzMzJTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fYXJyb3cge1xyXG4gICAgICAgICAgICB0b3A6IDIwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAmLnNlbGVjdDItY29udGFpbmVyLS1vcGVuLFxyXG4gICAgICAgIC5zZWxlY3QyLWZvY3VzZWQge1xyXG4gICAgICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZTo6YWZ0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0IC5zZWxlY3QyLXNlbGVjdGlvbi0tbXVsdGlwbGUge1xyXG4gICAgICAgIGhlaWdodDogMjVweDtcclxuICAgIH1cclxufVxyXG4iXX0= */\"","import {\r\n Component, Input, Output, EventEmitter, ElementRef, ViewChild, Optional, Self, ChangeDetectorRef,\r\n Attribute, OnInit, OnDestroy, DoCheck, AfterViewInit, HostBinding\r\n} from '@angular/core';\r\nimport {\r\n FormGroupDirective, NgControl, NgForm, ControlValueAccessor\r\n} from '@angular/forms';\r\n\r\nimport { Subject } from 'rxjs';\r\n\r\nimport {\r\n Select2Data, Select2Option, Select2Value, Select2Utils, Select2UpdateValue, timeout\r\n} from './select2-utils';\r\n\r\nlet nextUniqueId = 0;\r\n\r\n@Component({\r\n selector: 'select2',\r\n templateUrl: './select2.component.html',\r\n styleUrls: ['./select2.component.scss']\r\n})\r\nexport class Select2 implements ControlValueAccessor, OnInit, OnDestroy, DoCheck, AfterViewInit {\r\n\r\n /** data of options & optiongrps */\r\n @Input() data!: Select2Data;\r\n /** minimal data of show the search field */\r\n @Input() minCountForSearch?: number;\r\n @Input() placeholder?: string;\r\n @Input() customSearchEnabled?: boolean;\r\n @Input() multiple?: boolean;\r\n\r\n /** use the material style */\r\n @Input() material?: '' | true;\r\n\r\n /** use it for change the pattern of the filter search */\r\n @Input() editPattern!: (str: string) => string;\r\n\r\n @Output() update = new EventEmitter();\r\n @Output() open = new EventEmitter();\r\n @Output() search = new EventEmitter();\r\n\r\n option: Select2Option | Select2Option[] | null = null;\r\n isOpen = false;\r\n searchStyle!: string;\r\n\r\n @ViewChild('selection') selection!: ElementRef;\r\n @ViewChild('results') private results!: ElementRef;\r\n @ViewChild('searchInput') private searchInput!: ElementRef;\r\n private hoveringValue: Select2Value | null | undefined = null;\r\n private innerSearchText = '';\r\n private lastScrollTopIndex = 0;\r\n private isSearchboxHidden!: boolean;\r\n private selectionElement!: HTMLElement;\r\n private searchInputElement!: HTMLElement;\r\n private resultsElement!: HTMLElement;\r\n\r\n // tslint:disable:member-ordering\r\n private _stateChanges = new Subject();\r\n\r\n /** Whether the element is focused or not. */\r\n focused = false;\r\n\r\n /** View -> model callback called when select has been touched */\r\n private _onTouched = () => {\r\n // do nothing\r\n }\r\n\r\n /** View -> model callback called when value changes */\r\n private _onChange: (value: any) => void = () => {\r\n // do nothing\r\n }\r\n\r\n get select2Options() {\r\n return this.multiple ? this.option as Select2Option[] : null;\r\n }\r\n get select2Option() {\r\n return this.multiple ? null : this.option as Select2Option;\r\n }\r\n get searchText() {\r\n return this.innerSearchText;\r\n }\r\n set searchText(text: string) {\r\n if (this.customSearchEnabled) {\r\n this.search.emit(text);\r\n }\r\n this.innerSearchText = text;\r\n }\r\n\r\n get dropdownStyle() {\r\n return Select2Utils.getDropdownStyle(this.isOpen);\r\n }\r\n\r\n get filteredData(): Select2Data {\r\n const result = this.customSearchEnabled\r\n ? this.data\r\n : Select2Utils.getFilteredData(this.data, this.searchText, this.editPattern);\r\n\r\n if (Select2Utils.valueIsNotInFilteredData(result, this.hoveringValue)) {\r\n this.hoveringValue = Select2Utils.getFirstAvailableOption(result);\r\n\r\n if (this.resultsElement) {\r\n const lastScrollTopIndex = Select2Utils.getLastScrollTopIndex(\r\n this.hoveringValue,\r\n this.resultsElement,\r\n result,\r\n this.lastScrollTopIndex\r\n );\r\n if (lastScrollTopIndex !== null) {\r\n this.lastScrollTopIndex = lastScrollTopIndex;\r\n }\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n get containerStyle() {\r\n return Select2Utils.getContainerStyle(this.disabled, this.isOpen);\r\n }\r\n\r\n get selectionStyle() {\r\n return Select2Utils.getSelectionStyle(this.multiple);\r\n }\r\n\r\n /** Unique id of the element. */\r\n @Input()\r\n @HostBinding('id')\r\n get id() { return this._id; }\r\n set id(value: string) { this._id = value || this._uid; }\r\n\r\n /** Whether the element is required. */\r\n @Input()\r\n get required() { return this._required; }\r\n set required(value: any) { this._required = this._coerceBooleanProperty(value); }\r\n\r\n /** Whether the element is disabled. */\r\n @Input()\r\n get disabled() { return this._control ? this._control.disabled : this._disabled; }\r\n set disabled(value: any) { this._disabled = this._coerceBooleanProperty(value); }\r\n\r\n /** Whether the element is readonly. */\r\n @Input()\r\n get readonly() { return this._readonly; }\r\n set readonly(value: any) { this._readonly = this._coerceBooleanProperty(value); }\r\n\r\n /** The input element's value. */\r\n @Input()\r\n get value() { return this._value; }\r\n set value(value: Select2UpdateValue) {\r\n setTimeout(() => {\r\n this._value = value;\r\n this.writeValue(value);\r\n });\r\n }\r\n\r\n /** Tab index for the select2 element. */\r\n @Input()\r\n get tabIndex(): number { return this.disabled ? -1 : this._tabIndex; }\r\n set tabIndex(value: number) {\r\n if (typeof value !== 'undefined') {\r\n this._tabIndex = value;\r\n }\r\n }\r\n\r\n @HostBinding('attr.aria-invalid')\r\n get ariaInvalid() {\r\n return this._isErrorState();\r\n }\r\n\r\n @HostBinding('class.material')\r\n get classMaterial() {\r\n return this.material === '' || this.material === true;\r\n }\r\n\r\n /** Tab index for the element. */\r\n private _tabIndex: number;\r\n\r\n private _disabled = false;\r\n private _required = false;\r\n private _readonly = false;\r\n private _clickDetection = false;\r\n private _clickDetectionFc: (e: MouseEvent) => void;\r\n private _id!: string;\r\n private _uid = `select2-${nextUniqueId++}`;\r\n private _value!: Select2UpdateValue;\r\n private _previousNativeValue: Select2UpdateValue = this._value;\r\n\r\n constructor(\r\n private _changeDetectorRef: ChangeDetectorRef,\r\n @Optional() private _parentForm: NgForm,\r\n @Optional() private _parentFormGroup: FormGroupDirective,\r\n @Self() @Optional() public _control: NgControl,\r\n @Attribute('tabindex') tabIndex: string\r\n ) {\r\n this.id = this.id;\r\n this._tabIndex = parseInt(tabIndex, 10) || 0;\r\n\r\n if (this._control) {\r\n this._control.valueAccessor = this;\r\n }\r\n\r\n this._clickDetectionFc = this.clickDetection.bind(this);\r\n }\r\n\r\n ngOnInit() {\r\n const option = Select2Utils.getOptionsByValue(\r\n this.data,\r\n this._control ? this._control.value : this.value,\r\n this.multiple\r\n );\r\n if (option !== null) {\r\n this.option = option;\r\n }\r\n if (!Array.isArray(option)) {\r\n this.hoveringValue = this.value as string | undefined;\r\n }\r\n this.isSearchboxHidden = this.customSearchEnabled\r\n ? false\r\n : Select2Utils.isSearchboxHiddex(this.data, this.minCountForSearch);\r\n this.searchStyle = Select2Utils.getSearchStyle(this.isSearchboxHidden);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.selectionElement = this.selection.nativeElement as HTMLElement;\r\n this.searchInputElement = this.searchInput.nativeElement as HTMLElement;\r\n this.resultsElement = this.results.nativeElement as HTMLElement;\r\n }\r\n\r\n ngDoCheck() {\r\n this._dirtyCheckNativeValue();\r\n }\r\n\r\n ngOnDestroy() {\r\n window.document.body.removeEventListener('click', this._clickDetectionFc);\r\n }\r\n\r\n getOptionStyle(option: Select2Option) {\r\n return Select2Utils.getOptionStyle(option.value, this.hoveringValue)\r\n + (option.classes ? ' ' + option.classes : '');\r\n }\r\n\r\n mouseenter(option: Select2Option) {\r\n if (!option.disabled) {\r\n this.hoveringValue = option.value;\r\n }\r\n }\r\n\r\n click(option: Select2Option) {\r\n if (!option.disabled) {\r\n this.select(option);\r\n }\r\n }\r\n\r\n toggleOpenAndClose() {\r\n if (this.disabled) {\r\n return;\r\n }\r\n this.focused = true;\r\n this.isOpen = !this.isOpen;\r\n if (this.isOpen) {\r\n this.innerSearchText = '';\r\n this.focusSearchboxOrResultsElement();\r\n\r\n if (this.resultsElement) {\r\n const lastScrollTopIndex = Select2Utils.getLastScrollTopIndex(\r\n this.hoveringValue,\r\n this.resultsElement,\r\n this.data,\r\n this.lastScrollTopIndex\r\n );\r\n if (lastScrollTopIndex !== null) {\r\n this.lastScrollTopIndex = lastScrollTopIndex;\r\n }\r\n }\r\n this.open.emit();\r\n }\r\n\r\n if (this.isOpen && !this._clickDetection) {\r\n setTimeout(() => {\r\n window.document.body.addEventListener('click', this._clickDetectionFc, false);\r\n this._clickDetection = true;\r\n }, timeout);\r\n }\r\n\r\n this._changeDetectorRef.markForCheck();\r\n }\r\n\r\n private clickDetection(e: MouseEvent) {\r\n if (!this.ifParentContainsClass(e.target as HTMLElement, 'selection')) {\r\n if (this.isOpen && !this.ifParentContainsClass(e.target as HTMLElement, 'select2-dropdown')) {\r\n this.toggleOpenAndClose();\r\n }\r\n if (!this.ifParentContainsId(e.target as HTMLElement, this._id)) {\r\n this.clickExit();\r\n }\r\n } else if (this.isOpen && !this.ifParentContainsId(e.target as HTMLElement, this._id)) {\r\n this.toggleOpenAndClose();\r\n this.clickExit();\r\n }\r\n }\r\n\r\n private clickExit() {\r\n this.focused = false;\r\n window.document.body.removeEventListener('click', this._clickDetectionFc);\r\n this._clickDetection = false;\r\n }\r\n\r\n private ifParentContainsClass(element: HTMLElement, cssClass: string): boolean {\r\n return this.getParentElementByClass(element, cssClass) !== null;\r\n }\r\n\r\n private ifParentContainsId(element: HTMLElement, id: string): boolean {\r\n return this.getParentElementById(element, id) !== null;\r\n }\r\n\r\n private getParentElementByClass(element: HTMLElement, cssClass: string): HTMLElement | null {\r\n if (this.containClasses(element, cssClass.trim().split(/\\s+/))) {\r\n return element;\r\n }\r\n return element.parentElement\r\n ? this.getParentElementByClass(element.parentElement, cssClass)\r\n : null;\r\n }\r\n\r\n private getParentElementById(element: HTMLElement, id: string): HTMLElement | null {\r\n if (element.id === id) {\r\n return element;\r\n }\r\n return element.parentElement\r\n ? this.getParentElementById(element.parentElement, id)\r\n : null;\r\n }\r\n\r\n private containClasses(element: HTMLElement, cssClasses: string[]): boolean {\r\n if (!element.classList) {\r\n return false;\r\n }\r\n for (const cssClass of cssClasses) {\r\n if (!element.classList.contains(cssClass)) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n focusin() {\r\n if (this.disabled) {\r\n return;\r\n }\r\n this.focused = true;\r\n }\r\n\r\n focusout() {\r\n if (this.selectionElement && !this.selectionElement.classList.contains('select2-focused')) {\r\n this.focused = false;\r\n this._onTouched();\r\n }\r\n }\r\n\r\n private moveUp() {\r\n this.hoveringValue = Select2Utils.getPreviousOption(this.filteredData, this.hoveringValue);\r\n\r\n if (this.resultsElement) {\r\n const lastScrollTopIndex = Select2Utils.getLastScrollTopIndex(\r\n this.hoveringValue,\r\n this.resultsElement,\r\n this.filteredData,\r\n this.lastScrollTopIndex\r\n );\r\n if (lastScrollTopIndex !== null) {\r\n this.lastScrollTopIndex = lastScrollTopIndex;\r\n }\r\n }\r\n }\r\n\r\n private moveDown() {\r\n this.hoveringValue = Select2Utils.getNextOption(this.filteredData, this.hoveringValue);\r\n\r\n if (this.resultsElement) {\r\n const lastScrollTopIndex = Select2Utils.getLastScrollTopIndex(\r\n this.hoveringValue,\r\n this.resultsElement,\r\n this.filteredData,\r\n this.lastScrollTopIndex\r\n );\r\n if (lastScrollTopIndex !== null) {\r\n this.lastScrollTopIndex = lastScrollTopIndex;\r\n }\r\n }\r\n }\r\n\r\n private selectByEnter() {\r\n if (this.hoveringValue) {\r\n const option = Select2Utils.getOptionByValue(this.data, this.hoveringValue);\r\n this.select(option);\r\n }\r\n }\r\n\r\n select(option: Select2Option | null) {\r\n let value: any;\r\n if (option !== null) {\r\n if (this.multiple) {\r\n const options = this.option as Select2Option[];\r\n const index = options.findIndex(op => op.value === option.value);\r\n if (index === -1) {\r\n options.push(option);\r\n } else {\r\n options.splice(index, 1);\r\n }\r\n value = (this.option as Select2Option[]).map(op => op.value);\r\n } else {\r\n this.option = option;\r\n this.isOpen = false;\r\n if (this.selectionElement) {\r\n this.selectionElement.focus();\r\n }\r\n value = this.option.value;\r\n }\r\n } else if (this._control) {\r\n this.option = null;\r\n }\r\n\r\n if (this._control) {\r\n\r\n this._onChange(value);\r\n }\r\n this.update.emit(value);\r\n }\r\n\r\n keyDown(e: KeyboardEvent) {\r\n if (this._testKey(e, ['ArrowDown', 40])) {\r\n this.moveDown();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['ArrowUp', 38])) {\r\n this.moveUp();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['Enter', 13])) {\r\n this.selectByEnter();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['Escape', 'Tab', 9, 27]) && this.isOpen) {\r\n this.toggleOpenAndClose();\r\n this.focused = false;\r\n }\r\n }\r\n\r\n openKey(e: KeyboardEvent) {\r\n if (this._testKey(e, ['ArrowDown', 'ArrowUp', 'Enter', 40, 38, 13])) {\r\n this.toggleOpenAndClose();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['Escape', 9])) {\r\n this.focused = false;\r\n this._onTouched();\r\n }\r\n }\r\n\r\n trackBy(_index: number, item: Select2Option): any {\r\n return item.value;\r\n }\r\n\r\n searchUpdate(e: Event) {\r\n this.searchText = (e.target as HTMLInputElement).value;\r\n }\r\n\r\n isSelected(option: Select2Option) {\r\n return Select2Utils.isSelected(this.option, option, this.multiple);\r\n }\r\n\r\n isDisabled(option: Select2Option) {\r\n return option.disabled ? 'true' : 'false';\r\n }\r\n\r\n removeSelection(e: MouseEvent, option: Select2Option) {\r\n Select2Utils.removeSelection(this.option, option);\r\n\r\n const value = (this.option as Select2Option[]).map(op => op.value);\r\n if (this._control) {\r\n this._onChange(value);\r\n }\r\n this.update.emit(value);\r\n\r\n\r\n e.preventDefault();\r\n e.stopPropagation();\r\n\r\n if (this.isOpen) {\r\n this.focusSearchboxOrResultsElement();\r\n }\r\n }\r\n\r\n /**\r\n * Sets the model value. Implemented as part of ControlValueAccessor.\r\n * @param value\r\n */\r\n writeValue(value: any) {\r\n this._setSelectionByValue(value);\r\n }\r\n\r\n /**\r\n * Saves a callback function to be invoked when the select's value\r\n * changes from user input. Part of the ControlValueAccessor interface\r\n * required to integrate with Angular's core forms API.\r\n *\r\n * @param fn Callback to be triggered when the value changes.\r\n */\r\n registerOnChange(fn: (value: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /**\r\n * Saves a callback function to be invoked when the select is blurred\r\n * by the user. Part of the ControlValueAccessor interface required\r\n * to integrate with Angular's core forms API.\r\n *\r\n * @param fn Callback to be triggered when the component has been touched.\r\n */\r\n registerOnTouched(fn: () => {}): void {\r\n this._onTouched = fn;\r\n }\r\n\r\n /**\r\n * Sets whether the component should be disabled.\r\n * Implemented as part of ControlValueAccessor.\r\n * @param isDisabled\r\n */\r\n setDisabledState(isDisabled: boolean) {\r\n this.disabled = isDisabled;\r\n }\r\n\r\n _isErrorState(): boolean {\r\n const isInvalid = this._control && this._control.invalid;\r\n const isTouched = this._control && this._control.touched;\r\n const isSubmitted = (this._parentFormGroup && this._parentFormGroup.submitted) ||\r\n (this._parentForm && this._parentForm.submitted);\r\n\r\n return !!(isInvalid && (isTouched || isSubmitted));\r\n }\r\n\r\n private _testKey(event: KeyboardEvent, refs: (number | string)[] = []): boolean {\r\n return this._isKey(this._getKey(event), refs);\r\n }\r\n\r\n\r\n private _getKey(event: KeyboardEvent): number | string {\r\n let code: number | string;\r\n\r\n if (event.key !== undefined) {\r\n code = event.key;\r\n } else if (event['keyIdentifier'] !== undefined) {\r\n code = event['keyIdentifier'];\r\n } else if (event['keyCode'] !== undefined) {\r\n code = event['keyCode'];\r\n } else {\r\n event.preventDefault();\r\n }\r\n\r\n return code;\r\n }\r\n\r\n private _isKey(code: number | string, refs: (number | string)[] = []): boolean {\r\n return refs && refs.length > 0\r\n ? refs.indexOf(code) !== -1\r\n : false;\r\n }\r\n\r\n /**\r\n * Sets the selected option based on a value. If no option can be\r\n * found with the designated value, the select trigger is cleared.\r\n */\r\n private _setSelectionByValue(value: any | any[]): void {\r\n if (this.option || (value !== undefined && value !== null)) {\r\n const isArray = Array.isArray(value);\r\n if (this.multiple && value && !isArray) {\r\n throw new Error('Non array value.');\r\n } else if (this.data) {\r\n if (this._control && this.multiple) {\r\n this.option = []; // if value is null, then empty option and return\r\n if (isArray) {\r\n // value is not null. Preselect value\r\n const selectedValues: any = Select2Utils.getOptionsByValue(this.data, value, this.multiple);\r\n selectedValues.map(\r\n item => this.select(item)\r\n );\r\n }\r\n } else {\r\n this.select(Select2Utils.getOptionByValue(this.data, value));\r\n }\r\n } else if (this._control) {\r\n this._control.viewToModelUpdate(value);\r\n }\r\n\r\n this._changeDetectorRef.markForCheck();\r\n }\r\n }\r\n\r\n /** Does some manual dirty checking on the native input `value` property. */\r\n private _dirtyCheckNativeValue() {\r\n const newValue = this.value;\r\n\r\n if (this._previousNativeValue !== newValue) {\r\n this._previousNativeValue = newValue;\r\n this._stateChanges.next();\r\n }\r\n }\r\n\r\n private _coerceBooleanProperty(value: any): boolean {\r\n return value != null && `${value}` !== 'false';\r\n }\r\n\r\n private focusSearchboxOrResultsElement() {\r\n if (!this.isSearchboxHidden) {\r\n if (this.searchInputElement) {\r\n this.searchInputElement.focus();\r\n }\r\n } else {\r\n if (this.resultsElement) {\r\n this.resultsElement.focus();\r\n }\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { Select2 } from './select2.component';\r\nimport { Select2Hint } from './select2-hint.component';\r\nimport { Select2Label } from './select2-label.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule\r\n ],\r\n declarations: [\r\n Select2Hint,\r\n Select2Label,\r\n Select2\r\n ],\r\n exports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n Select2Hint,\r\n Select2Label,\r\n Select2\r\n ]\r\n})\r\nexport class Select2Module { }\r\n","/*\r\n * Public API Surface of ng-select2-component\r\n */\r\n\r\nexport * from './lib/select2.component';\r\nexport * from './lib/select2-hint.component';\r\nexport * from './lib/select2-label.component';\r\nexport * from './lib/select2-utils';\r\nexport * from './lib/select2.module';\r\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuY3NzIn0= */\"","module.exports = \"
\\r\\n the source code of the demo\\r\\n

1. options in group ({{value1}})

\\r\\n \\r\\n \\r\\n

2. options ({{value2}})

\\r\\n \\r\\n \\r\\n

3. less options ({{value3}})

\\r\\n \\r\\n \\r\\n

4. disabled ({{value4}})

\\r\\n \\r\\n\\r\\n \\r\\n

5. hide search box ({{value5}})

\\r\\n \\r\\n \\r\\n

6. placeholder ({{value6}})

\\r\\n \\r\\n \\r\\n

7. open and search event ({{value7}})

\\r\\n \\r\\n \\r\\n

9. multiple ({{value9}})

\\r\\n \\r\\n \\r\\n

10. form binding ({{value10}})

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

11. material style ({{value11}})

\\r\\n \\r\\n \\r\\n

12. boolean value ({{value12}})

\\r\\n \\r\\n \\r\\n

13. FormControl

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

14. with label ({{value14}})

\\r\\n \\r\\n Select a state\\r\\n \\r\\n
\"","import { Component } from '@angular/core';\r\nimport { Validators, FormControl, FormBuilder, FormGroup } from '@angular/forms';\r\n\r\nimport { Select2Option, Select2Data } from 'projects/ng-select2-component/src/lib/select2-utils';\r\n\r\nimport { data1, data2, data3, data5, data12 } from './app.data';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent {\r\n data1 = data1;\r\n data2 = data2;\r\n data3 = data3;\r\n data4: Select2Data = JSON.parse(JSON.stringify(data3));\r\n data5 = data5;\r\n data6: Select2Data = JSON.parse(JSON.stringify(data3));\r\n data7: Select2Option[] = [];\r\n data9: Select2Data = JSON.parse(JSON.stringify(data1));\r\n data10: Select2Data = JSON.parse(JSON.stringify(data1));\r\n data11: Select2Data = JSON.parse(JSON.stringify(data1));\r\n data12 = data12;\r\n data14 = data2;\r\n\r\n minCountForSearch = Infinity;\r\n\r\n ctrlForm: FormGroup;\r\n\r\n value1 = 'CA';\r\n value2 = 'CA';\r\n value3 = 'foo';\r\n value4 = 'bar';\r\n value5 = 'foo3';\r\n value6 = '';\r\n value7 = '';\r\n value9: string[] = [];\r\n value10 = 'CA';\r\n value11 = 'CA';\r\n value12 = true;\r\n value14 = '';\r\n\r\n fg: FormGroup = new FormGroup({\r\n state: new FormControl()\r\n });\r\n\r\n constructor(private fb: FormBuilder) {\r\n this.ctrlForm = this.fb.group({\r\n test10: new FormControl(null, Validators.required)\r\n });\r\n\r\n this.fg.patchValue(this.formData());\r\n }\r\n\r\n update1(value: string) {\r\n this.value1 = value;\r\n }\r\n\r\n update2(value: string) {\r\n this.value2 = value;\r\n }\r\n\r\n update3(value: string) {\r\n this.value3 = value;\r\n }\r\n\r\n update5(value: string) {\r\n this.value5 = value;\r\n }\r\n\r\n update6(value: string) {\r\n this.value6 = value;\r\n }\r\n\r\n open7() {\r\n this.data7 = JSON.parse(JSON.stringify(data2));\r\n }\r\n\r\n update7(value: string) {\r\n this.value7 = value;\r\n }\r\n\r\n search7(text: string) {\r\n this.data7 = text\r\n ? (JSON.parse(JSON.stringify(data2)) as Select2Option[])\r\n .filter(option => option.label.toLowerCase().indexOf(text.toLowerCase()) > -1)\r\n : JSON.parse(JSON.stringify(data2));\r\n }\r\n\r\n update9(value: string[]) {\r\n this.value9 = value;\r\n }\r\n\r\n reset9() {\r\n this.value9 = ['CA'];\r\n }\r\n\r\n reset10() {\r\n const test10 = this.ctrlForm.get('test10');\r\n if (test10) {\r\n test10.reset();\r\n }\r\n }\r\n\r\n change10() {\r\n const test10 = this.ctrlForm.get('test10');\r\n if (test10) {\r\n test10.setValue('UT');\r\n }\r\n }\r\n\r\n update11(value: string) {\r\n this.value11 = value;\r\n }\r\n\r\n update12(value: boolean) {\r\n this.value12 = value;\r\n }\r\n\r\n update14(value: string) {\r\n this.value14 = value;\r\n }\r\n\r\n resetForm() {\r\n this.fg.reset(this.formData());\r\n }\r\n print() {\r\n console.log('FormControl', this.fg.value);\r\n }\r\n\r\n formData() {\r\n return {\r\n state: ['CA', 'NV']\r\n };\r\n }\r\n}\r\n","import { Select2Data } from 'projects/ng-select2-component/src/lib/select2-utils';\r\n\r\nexport const data1: Select2Data = [\r\n {\r\n label: 'Alaskan/Hawaiian Time Zone',\r\n options: [\r\n { value: 'AK', label: 'Alaska' },\r\n { value: 'HI', label: 'Hawaii', disabled: true }\r\n ]\r\n },\r\n {\r\n label: 'Pacific Time Zone',\r\n options: [\r\n { value: 'CA', label: 'California' },\r\n { value: 'NV', label: 'Nevada' },\r\n { value: 'OR', label: 'Oregon' },\r\n { value: 'WA', label: 'Washington' }\r\n ]\r\n },\r\n {\r\n label: 'Mountain Time Zone',\r\n options: [\r\n { value: 'AZ', label: 'Arizona' },\r\n { value: 'CO', label: 'Colorado' },\r\n { value: 'ID', label: 'Idaho' },\r\n { value: 'MT', label: 'Montana' },\r\n { value: 'NE', label: 'Nebraska' },\r\n { value: 'NM', label: 'New Mexico' },\r\n { value: 'ND', label: 'North Dakota' },\r\n { value: 'UT', label: 'Utah' },\r\n { value: 'WY', label: 'Wyoming' }\r\n ]\r\n },\r\n {\r\n label: 'Central Time Zone',\r\n options: [\r\n { value: 'AL', label: 'Alabama' },\r\n { value: 'AR', label: 'Arkansas' },\r\n { value: 'IL', label: 'Illinois' },\r\n { value: 'IA', label: 'Iowa' },\r\n { value: 'KS', label: 'Kansas' },\r\n { value: 'KY', label: 'Kentucky' },\r\n { value: 'LA', label: 'Louisiana' },\r\n { value: 'MN', label: 'Minnesota' },\r\n { value: 'MS', label: 'Mississippi' },\r\n { value: 'MO', label: 'Missouri' },\r\n { value: 'OK', label: 'Oklahoma' },\r\n { value: 'SD', label: 'South Dakota' },\r\n { value: 'TX', label: 'Texas' },\r\n { value: 'TN', label: 'Tennessee' },\r\n { value: 'WI', label: 'Wisconsin' }\r\n ]\r\n },\r\n {\r\n label: 'Eastern Time Zone',\r\n options: [\r\n { value: 'CT', label: 'Connecticut' },\r\n { value: 'DE', label: 'Delaware' },\r\n { value: 'FL', label: 'Florida' },\r\n { value: 'GA', label: 'Georgia' },\r\n { value: 'IN', label: 'Indiana' },\r\n { value: 'ME', label: 'Maine' },\r\n { value: 'MD', label: 'Maryland' },\r\n { value: 'MA', label: 'Massachusetts' },\r\n { value: 'MI', label: 'Michigan' },\r\n { value: 'NH', label: 'New Hampshire' },\r\n { value: 'NJ', label: 'New Jersey' },\r\n { value: 'NY', label: 'New York' },\r\n { value: 'NC', label: 'North Carolina' },\r\n { value: 'OH', label: 'Ohio' },\r\n { value: 'PA', label: 'Pennsylvania' },\r\n { value: 'RI', label: 'Rhode Island' },\r\n { value: 'SC', label: 'South Carolina' },\r\n { value: 'VT', label: 'Vermont' },\r\n { value: 'VA', label: 'Virginia' },\r\n { value: 'WV', label: 'West Virginia' }\r\n ]\r\n }\r\n];\r\n\r\nexport const data2: Select2Data = [\r\n { value: 'AK', label: 'Alaska' },\r\n { value: 'HI', label: 'Hawaii', disabled: true },\r\n { value: 'CA', label: 'California' },\r\n { value: 'NV', label: 'Nevada' },\r\n { value: 'OR', label: 'Oregon' },\r\n { value: 'WA', label: 'Washington' },\r\n { value: 'AZ', label: 'Arizona' },\r\n { value: 'CO', label: 'Colorado' },\r\n { value: 'ID', label: 'Idaho' },\r\n { value: 'MT', label: 'Montana' },\r\n { value: 'NE', label: 'Nebraska' },\r\n { value: 'NM', label: 'New Mexico' },\r\n { value: 'ND', label: 'North Dakota' },\r\n { value: 'UT', label: 'Utah' },\r\n { value: 'WY', label: 'Wyoming' },\r\n { value: 'AL', label: 'Alabama' },\r\n { value: 'AR', label: 'Arkansas' },\r\n { value: 'IL', label: 'Illinois' },\r\n { value: 'IA', label: 'Iowa' },\r\n { value: 'KS', label: 'Kansas' },\r\n { value: 'KY', label: 'Kentucky' },\r\n { value: 'LA', label: 'Louisiana' },\r\n { value: 'MN', label: 'Minnesota' },\r\n { value: 'MS', label: 'Mississippi' },\r\n { value: 'MO', label: 'Missouri' },\r\n { value: 'OK', label: 'Oklahoma' },\r\n { value: 'SD', label: 'South Dakota' },\r\n { value: 'TX', label: 'Texas' },\r\n { value: 'TN', label: 'Tennessee' },\r\n { value: 'WI', label: 'Wisconsin' },\r\n { value: 'CT', label: 'Connecticut' },\r\n { value: 'DE', label: 'Delaware' },\r\n { value: 'FL', label: 'Florida' },\r\n { value: 'GA', label: 'Georgia' },\r\n { value: 'IN', label: 'Indiana' },\r\n { value: 'ME', label: 'Maine' },\r\n { value: 'MD', label: 'Maryland' },\r\n { value: 'MA', label: 'Massachusetts' },\r\n { value: 'MI', label: 'Michigan' },\r\n { value: 'NH', label: 'New Hampshire' },\r\n { value: 'NJ', label: 'New Jersey' },\r\n { value: 'NY', label: 'New York' },\r\n { value: 'NC', label: 'North Carolina' },\r\n { value: 'OH', label: 'Ohio' },\r\n { value: 'PA', label: 'Pennsylvania' },\r\n { value: 'RI', label: 'Rhode Island' },\r\n { value: 'SC', label: 'South Carolina' },\r\n { value: 'VT', label: 'Vermont' },\r\n { value: 'VA', label: 'Virginia' },\r\n { value: 'WV', label: 'West Virginia' }\r\n];\r\n\r\nexport const data3: Select2Data = [\r\n { value: 'foo', label: 'foo' },\r\n { value: 'bar', label: 'bar' },\r\n { value: 'baz', label: 'baz' }\r\n];\r\n\r\nexport const data5: Select2Data = [\r\n { value: 'foo1', label: 'foo1' },\r\n { value: 'foo2', label: 'foo2' },\r\n { value: 'foo3', label: 'foo3' },\r\n { value: 'foo4', label: 'foo4' },\r\n { value: 'foo5', label: 'foo5' },\r\n { value: 'foo6', label: 'foo6' }\r\n];\r\n\r\nexport const data12: Select2Data = [\r\n { value: true, label: 'true' },\r\n { value: false, label: 'false' }\r\n];\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { AppComponent } from './app.component';\r\nimport { Select2Module } from 'projects/ng-select2-component/src/public_api';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n FormsModule,\r\n Select2Module\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * In development mode, to ignore zone related error stack frames such as\r\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\r\n * import the following file, but please comment it out in production mode\r\n * because it will have performance impact when throw error\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./projects/ng-select2-component/src/lib/select2-hint.component.ts","webpack:///./projects/ng-select2-component/src/lib/select2-label.component.ts","webpack:///./projects/ng-select2-component/src/lib/select2-utils.ts","webpack:///./projects/ng-select2-component/src/lib/select2.component.html","webpack:///./projects/ng-select2-component/src/lib/select2.component.scss","webpack:///./projects/ng-select2-component/src/lib/select2.component.ts","webpack:///./projects/ng-select2-component/src/lib/select2.module.ts","webpack:///./projects/ng-select2-component/src/public_api.ts","webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.data.ts","webpack:///./src/app/app.module.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAA0C;AAG1C;IAAA;IAA2B,CAAC;IAAf,WAAW;QADvB,+DAAS,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAC;OAC3B,WAAW,CAAI;IAAD,kBAAC;CAAA;AAAJ;;;;;;;;;;;;;;;;;;;;;;ACHkB;AAG1C;IAAA;IAA4B,CAAC;IAAhB,YAAY;QADxB,+DAAS,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC;OAC5B,YAAY,CAAI;IAAD,mBAAC;CAAA;AAAJ;;;;;;;;;;;;;ACiBzB;AAAA;AAAA;AAAO,IAAM,OAAO,GAAG,GAAG,CAAC;AAE3B,IAAM,eAAe,GAA+B;IAChD,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,wCAAwC,EAAE;IACvD,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE;IACrB,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE;IACzB,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE;IACrB,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE;IACrB,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE;IACxB,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE;IACrB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,cAAc,EAAE;IAC7B,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,kBAAkB,EAAE;IACjC,EAAE,CAAC,EAAE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,EAAE,MAAM,EAAE;IAChC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;CACnC,CAAC;AAEK,IAAM,MAAM,GAAgB;IAC/B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE;IAC9B,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE;CACnC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;ACvJwD;AACjB;AACI;AAEE;AAC8B;AAc7E;IAAA;IAAyB,CAAC;IAAb,SAAS;QAZrB,8DAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,2DAAY;aACb;YACD,OAAO,EAAE;gBACP,uEAAa;gBACb,0DAAW;gBACX,0FAAa;aACd;YACD,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC,2DAAY,CAAC;SAC1B,CAAC;OACW,SAAS,CAAI;IAAD,gBAAC;CAAA;AAAJ;;;;;;;;;;;;;ACnBtB;AAAA;AAAA,gFAAgF;AAChF,2EAA2E;AAC3E,gEAAgE;AAEzD,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;GAKG;AACH,mEAAmE;;;;;;;;;;;;;ACdnE;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAhB,CAAgB,CAAC,CAAC","file":"main.js","sourcesContent":["import { Directive } from '@angular/core';\r\n\r\n@Directive({ selector: 'select2-hint' })\r\nexport class Select2Hint { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({ selector: 'select2-label' })\r\nexport class Select2Label { }\r\n","export interface Select2Group {\r\n label: string;\r\n options: Select2Option[];\r\n classes?: string;\r\n}\r\n\r\nexport interface Select2Option {\r\n value: Select2Value;\r\n label: string;\r\n disabled?: boolean;\r\n component?: string | Function;\r\n classes?: string;\r\n}\r\n\r\nexport type Select2Value = string | number | boolean;\r\n\r\nexport type Select2UpdateValue = Select2Value | Select2Value[];\r\n\r\nexport type Select2Data = (Select2Group | Select2Option)[];\r\n\r\nexport const timeout = 200;\r\n\r\nconst unicodePatterns: { l: string, s: RegExp }[] = [\r\n { l: 'a', s: /[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi },\r\n { l: 'aa', s: /ꜳ/gi },\r\n { l: 'ae', s: /[æǽǣ]/gi },\r\n { l: 'ao', s: /ꜵ/gi },\r\n { l: 'au', s: /ꜷ/gi },\r\n { l: 'av', s: /[ꜹꜻ]/gi },\r\n { l: 'ay', s: /ꜽ/gi },\r\n { l: 'b', s: /[ⓑbḃḅḇƀƃɓ]/gi },\r\n { l: 'c', s: /[ⓒcćĉċčçḉƈȼꜿↄ]/gi },\r\n { l: 'd', s: /[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi },\r\n { l: 'dz', s: /[dzdž]/gi },\r\n { l: 'e', s: /[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi },\r\n { l: 'f', s: /[ⓕfḟƒꝼ]/gi },\r\n { l: 'g', s: /[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi },\r\n { l: 'h', s: /[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi },\r\n { l: 'hv', s: /ƕ/gi },\r\n { l: 'i', s: /[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi },\r\n { l: 'j', s: /[ⓙjĵǰɉ]/gi },\r\n { l: 'k', s: /[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi },\r\n { l: 'l', s: /[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi },\r\n { l: 'lj', s: /lj/gi },\r\n { l: 'm', s: /[ⓜmḿṁṃɱɯ]/gi },\r\n { l: 'n', s: /[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi },\r\n { l: 'nj', s: /nj/gi },\r\n { l: 'o', s: /[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi },\r\n { l: 'oi', s: /ƣ/gi },\r\n { l: 'oe', s: /œ/gi },\r\n { l: 'oo', s: /ꝏ/gi },\r\n { l: 'ou', s: /ȣ/gi },\r\n { l: 'p', s: /[ⓟpṕṗƥᵽꝑꝓꝕ]/gi },\r\n { l: 'q', s: /[ⓠqɋꝗꝙ]/gi },\r\n { l: 'r', s: /[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi },\r\n { l: 's', s: /[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi },\r\n { l: 't', s: /[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi },\r\n { l: 'tz', s: /ꜩ/gi },\r\n { l: 'u', s: /[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi },\r\n { l: 'v', s: /[ⓥvṽṿʋꝟʌ]/gi },\r\n { l: 'vy', s: /ꝡ/gi },\r\n { l: 'w', s: /[ⓦwẁẃŵẇẅẘẉⱳ]/gi },\r\n { l: 'x', s: /[ⓧxẋẍ]/gi },\r\n { l: 'y', s: /[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi },\r\n { l: 'z', s: /[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi }\r\n];\r\n\r\nconst defaultMinCountForSearch = 6;\r\n\r\nexport class Select2Utils {\r\n\r\n private static getScrollUpIndex(data: Select2Data, value: Select2Value) {\r\n let index = 0;\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n index++;\r\n const valueIndex = options.findIndex(op => op.value === value);\r\n if (valueIndex !== -1) {\r\n return index + valueIndex;\r\n } else {\r\n index += options.length;\r\n }\r\n } else {\r\n if ((groupOrOption as Select2Option).value === value) {\r\n return index;\r\n } else {\r\n index++;\r\n }\r\n }\r\n }\r\n return 0;\r\n }\r\n\r\n static getOptionByValue(data: Select2Data, value: Select2Value | null | undefined) {\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (option.value === value) {\r\n return option;\r\n }\r\n }\r\n } else {\r\n if ((groupOrOption as Select2Option).value === value) {\r\n return groupOrOption as Select2Option;\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n static getOptionsByValue(\r\n data: Select2Data,\r\n value: Select2UpdateValue | null | undefined,\r\n multiple: boolean | null | undefined\r\n ) {\r\n if (multiple) {\r\n const values: Select2Value[] = Array.isArray(value) ? value : [];\r\n const result: Select2Option[] = [];\r\n for (const v of values) {\r\n const option = Select2Utils.getOptionByValue(data, v);\r\n if (option) {\r\n result.push(option);\r\n }\r\n }\r\n return result;\r\n }\r\n return Select2Utils.getOptionByValue(data, value as Select2Value | null | undefined);\r\n }\r\n\r\n static getFirstAvailableOption(data: Select2Data) {\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n }\r\n } else {\r\n const option = groupOrOption as Select2Option;\r\n if (!option.disabled) {\r\n return option.value;\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n private static getOptionsCount(data: Select2Data) {\r\n let count = 0;\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n count += options.length;\r\n } else {\r\n count++;\r\n }\r\n }\r\n return count;\r\n }\r\n\r\n static valueIsNotInFilteredData(filteredData: Select2Data, value: Select2Value | null | undefined) {\r\n if (Select2Utils.isNullOrUndefined(value)) {\r\n return true;\r\n }\r\n for (const groupOrOption of filteredData) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (option.value === value) {\r\n return false;\r\n }\r\n }\r\n } else {\r\n if ((groupOrOption as Select2Option).value === value) {\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n // tslint:disable-next-line:cognitive-complexity\r\n static getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined) {\r\n let findIt = Select2Utils.isNullOrUndefined(hoveringValue);\r\n for (let i = filteredData.length - 1; i >= 0; i--) {\r\n const groupOrOption = filteredData[i];\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (let j = options.length - 1; j >= 0; j--) {\r\n const option = options[j];\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option;\r\n }\r\n }\r\n findIt = option.value === hoveringValue;\r\n }\r\n } else {\r\n const option = groupOrOption as Select2Option;\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option;\r\n }\r\n }\r\n findIt = option.value === hoveringValue;\r\n }\r\n }\r\n return null;\r\n }\r\n // tslint:disable-next-line:cognitive-complexity\r\n static getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined) {\r\n let findIt = Select2Utils.isNullOrUndefined(hoveringValue);\r\n for (const groupOrOption of filteredData) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n for (const option of options) {\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option;\r\n }\r\n } else {\r\n findIt = option.value === hoveringValue;\r\n }\r\n }\r\n } else {\r\n const option = groupOrOption as Select2Option;\r\n if (findIt) {\r\n if (!option.disabled) {\r\n return option;\r\n }\r\n } else {\r\n findIt = option.value === hoveringValue;\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n private static isNullOrUndefined(value: any) {\r\n return value === null || value === undefined;\r\n }\r\n\r\n private static containSearchText(\r\n label: string,\r\n searchText: string | null,\r\n editPattern: ((str: string) => string) | undefined\r\n ): boolean {\r\n return searchText\r\n ? Select2Utils\r\n .formatSansUnicode(label)\r\n .match(new RegExp(Select2Utils.formatPattern(searchText, editPattern), 'i')) !== null\r\n : true;\r\n }\r\n\r\n private static protectPattern(str: string): string {\r\n return str.replace(new RegExp('[\\\\-\\\\[\\\\]\\\\/\\\\{\\\\}\\\\(\\\\)\\\\*\\\\+\\\\?\\\\.\\\\\\\\\\\\^\\\\$\\\\|]', 'g'), '\\\\$&');\r\n }\r\n\r\n private static formatSansUnicode(str: string): string {\r\n for (const unicodePattern of unicodePatterns) {\r\n str = str.replace(unicodePattern.s, unicodePattern.l);\r\n }\r\n return str;\r\n }\r\n\r\n private static formatPattern(str: string, editPattern: ((str: string) => string) | undefined): string {\r\n str = Select2Utils.formatSansUnicode(Select2Utils.protectPattern(str));\r\n\r\n if (editPattern && typeof editPattern === 'function') {\r\n str = editPattern(str);\r\n }\r\n return str;\r\n }\r\n\r\n static getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): Select2Data {\r\n if (searchText) {\r\n const result: Select2Data = [];\r\n for (const groupOrOption of data) {\r\n const options = (groupOrOption as Select2Group).options;\r\n if (options) {\r\n if (options.some(group => Select2Utils.containSearchText(group.label, searchText, editPattern))) {\r\n const filteredOptions = options.filter(\r\n group => Select2Utils.containSearchText(group.label, searchText, editPattern)\r\n );\r\n result.push({\r\n label: groupOrOption.label,\r\n options: filteredOptions\r\n });\r\n }\r\n } else if (Select2Utils.containSearchText(groupOrOption.label, searchText, editPattern)) {\r\n result.push(groupOrOption);\r\n }\r\n }\r\n return result;\r\n } else {\r\n return data;\r\n }\r\n }\r\n\r\n static getOptionStyle(value: Select2Value, hoveringValue: Select2Value | null | undefined) {\r\n return value === hoveringValue\r\n ? 'select2-results__option select2-results__option--highlighted'\r\n : 'select2-results__option';\r\n }\r\n\r\n static getDropdownStyle(isOpen: boolean) {\r\n return isOpen\r\n ? 'select2-container select2-container--default select2-container-dropdown select2-container--open'\r\n : 'select2-container select2-container--default select2-container-dropdown';\r\n }\r\n\r\n static getContainerStyle(disabled: boolean | undefined, isOpen: boolean) {\r\n return `select2 select2-container select2-container--default ${disabled ? 'select2-container--disabled' : ''} `\r\n + `${isOpen ? 'select2-container--open' : ''} select2-container--below select2-container--focus`;\r\n }\r\n\r\n static getSelectionStyle(multiple: boolean | undefined) {\r\n return `select2-selection select2-selection--${multiple ? 'multiple' : 'single'}`;\r\n }\r\n\r\n\r\n static isSearchboxHiddex(data: Select2Data, minCountForSearch?: number) {\r\n if (typeof minCountForSearch !== 'number') {\r\n minCountForSearch = defaultMinCountForSearch;\r\n }\r\n const optionCount = Select2Utils.getOptionsCount(data);\r\n return optionCount < minCountForSearch;\r\n }\r\n\r\n static getSearchStyle(isHidden: boolean) {\r\n return isHidden\r\n ? 'select2-search select2-search--dropdown select2-search--hide'\r\n : 'select2-search select2-search--dropdown';\r\n }\r\n\r\n static isSelected(\r\n options: Select2Option | Select2Option[] | null,\r\n option: Select2Option,\r\n multiple: boolean | null | undefined\r\n ) {\r\n if (multiple) {\r\n return options && (options as Select2Option[]).some(op => op.value === option.value) ? 'true' : 'false';\r\n } else {\r\n return options && option.value === (options as Select2Option).value ? 'true' : 'false';\r\n }\r\n }\r\n\r\n static removeSelection(options: Select2Option | Select2Option[] | null, option: Select2Option) {\r\n for (let i = 0; i < (options as Select2Option[]).length; i++) {\r\n if ((options as Select2Option[])[i].value === option.value) {\r\n (options as Select2Option[]).splice(i, 1);\r\n return;\r\n }\r\n }\r\n }\r\n}\r\n","module.exports = \"
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n  \\r\\n {{select2Option.label}}\\r\\n {{placeholder}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n 0\\\"\\r\\n class=\\\"select2-selection__placeholder\\\">{{placeholder}}\\r\\n
  • \\r\\n ×\\r\\n {{op.label}}\\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
    \\r\\n \\r\\n
  • \\r\\n {{groupOrOption.label}}\\r\\n
      \\r\\n
    • {{option.label}}
    • \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n {{groupOrOption.label}}\\r\\n
  • \\r\\n
    \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\"","module.exports = \".select2-container {\\n box-sizing: border-box;\\n display: inline-block;\\n margin: 0;\\n position: relative;\\n vertical-align: middle;\\n width: 100%; }\\n .select2-container .select2-container-dropdown {\\n position: absolute;\\n width: 0px; }\\n .select2-container .select2-selection--single {\\n box-sizing: border-box;\\n cursor: pointer;\\n display: block;\\n height: 28px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none; }\\n .select2-container .select2-selection--single .select2-selection__rendered {\\n display: block;\\n padding-left: 8px;\\n padding-right: 20px;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap; }\\n .select2-container .select2-selection--single .select2-selection__clear {\\n position: relative; }\\n .select2-container .select2-selection--multiple {\\n box-sizing: border-box;\\n cursor: pointer;\\n display: block;\\n min-height: 32px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none; }\\n .select2-container .select2-selection--multiple .select2-selection__rendered {\\n display: inline-block;\\n overflow: hidden;\\n padding-left: 8px;\\n text-overflow: ellipsis;\\n white-space: nowrap; }\\n .select2-container .select2-search--inline {\\n float: left; }\\n .select2-container .select2-search--inline .select2-search__field {\\n box-sizing: border-box;\\n border: none;\\n font-size: 100%;\\n margin-top: 5px;\\n padding: 0; }\\n .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {\\n -webkit-appearance: none; }\\n .select2-dropdown {\\n background-color: white;\\n border: 1px solid #aaa;\\n border-radius: 4px;\\n box-sizing: border-box;\\n display: block;\\n position: absolute;\\n left: -100000px;\\n width: 100%;\\n z-index: 1051; }\\n .select2-results {\\n display: block; }\\n .select2-results__options {\\n list-style: none;\\n margin: 0;\\n padding: 0; }\\n .select2-results__option {\\n padding: 6px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none; }\\n .select2-results__option[aria-selected] {\\n cursor: pointer; }\\n .select2-container.select2-container-dropdown.select2-container--open {\\n width: 100%; }\\n .select2-container--open .select2-dropdown {\\n left: 0; }\\n .select2-container--open .select2-dropdown--above {\\n border-bottom: none;\\n border-bottom-left-radius: 0;\\n border-bottom-right-radius: 0; }\\n .select2-container--open .select2-dropdown--below {\\n border-top: none;\\n border-top-left-radius: 0;\\n border-top-right-radius: 0; }\\n .select2-search--dropdown {\\n display: block;\\n padding: 4px; }\\n .select2-search--dropdown .select2-search__field {\\n padding: 4px;\\n width: 100%;\\n box-sizing: border-box; }\\n .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {\\n -webkit-appearance: none; }\\n .select2-search--dropdown.select2-search--hide {\\n display: none; }\\n .select2-close-mask {\\n border: 0;\\n margin: 0;\\n padding: 0;\\n display: block;\\n position: fixed;\\n left: 0;\\n top: 0;\\n min-height: 100%;\\n min-width: 100%;\\n height: auto;\\n width: auto;\\n opacity: 0;\\n z-index: 99;\\n background-color: #fff;\\n filter: alpha(opacity=0); }\\n .select2-hidden-accessible {\\n border: 0 !important;\\n clip: rect(0 0 0 0) !important;\\n height: 1px !important;\\n margin: -1px !important;\\n overflow: hidden !important;\\n padding: 0 !important;\\n position: absolute !important;\\n width: 1px !important; }\\n .select2-container--default .select2-selection--single {\\n background-color: #fff;\\n border: 1px solid #aaa;\\n border-radius: 4px; }\\n .select2-container--default .select2-selection--single .select2-selection__rendered {\\n color: #444;\\n line-height: 28px; }\\n .select2-container--default .select2-selection--single .select2-selection__clear {\\n cursor: pointer;\\n float: right;\\n font-weight: bold; }\\n .select2-container--default .select2-selection--single .select2-selection__placeholder {\\n color: #999; }\\n .select2-container--default .select2-selection--single .select2-selection__placeholder__option {\\n display: none; }\\n .select2-container--default .select2-selection--single .select2-selection__arrow {\\n height: 26px;\\n position: absolute;\\n top: 1px;\\n right: 1px;\\n width: 20px; }\\n .select2-container--default .select2-selection--single .select2-selection__arrow b {\\n border-color: #888 transparent;\\n border-style: solid;\\n border-width: 5px 4px 0;\\n height: 0;\\n left: 50%;\\n margin-left: -4px;\\n margin-top: -2px;\\n position: absolute;\\n top: 50%;\\n width: 0; }\\n .select2-container--default.select2-container--disabled .select2-selection--single {\\n background-color: #eee;\\n cursor: default; }\\n .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {\\n display: none; }\\n .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {\\n border-color: transparent transparent #888;\\n border-width: 0 4px 5px; }\\n .select2-container--default .select2-selection--multiple {\\n background-color: white;\\n border: 1px solid #aaa;\\n border-radius: 4px;\\n cursor: text; }\\n .select2-container--default .select2-selection--multiple .select2-selection__rendered {\\n box-sizing: border-box;\\n list-style: none;\\n margin: 0;\\n padding: 0 5px;\\n width: 100%; }\\n .select2-container--default .select2-selection--multiple .select2-selection__rendered li {\\n list-style: none; }\\n .select2-container--default .select2-selection--multiple .select2-selection__placeholder {\\n color: #999;\\n margin-top: 5px;\\n float: left; }\\n .select2-container--default .select2-selection--multiple .select2-selection__placeholder__option {\\n display: none; }\\n .select2-container--default .select2-selection--multiple .select2-selection__clear {\\n cursor: pointer;\\n float: right;\\n font-weight: bold;\\n margin-top: 5px;\\n margin-right: 10px; }\\n .select2-container--default .select2-selection--multiple .select2-selection__choice {\\n background-color: #e4e4e4;\\n border: 1px solid #aaa;\\n border-radius: 4px;\\n cursor: default;\\n float: left;\\n margin-right: 5px;\\n margin-top: 5px;\\n padding: 0 5px; }\\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {\\n color: #999;\\n cursor: pointer;\\n display: inline-block;\\n font-weight: bold;\\n margin-right: 2px; }\\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {\\n color: #333; }\\n .select2-container--default.select2-container--focused .select2-selection--multiple {\\n border: solid black 1px;\\n outline: 0; }\\n .select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single,\\n.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple {\\n border: solid black 1px;\\n outline: 0; }\\n .select2-container--default.select2-container--disabled .select2-selection--multiple {\\n background-color: #eee;\\n cursor: default; }\\n .select2-container--default.select2-container--disabled .select2-selection__choice__remove {\\n display: none; }\\n .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,\\n.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {\\n border-top-left-radius: 0;\\n border-top-right-radius: 0; }\\n .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,\\n.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {\\n border-bottom-left-radius: 0;\\n border-bottom-right-radius: 0; }\\n .select2-container--default .select2-search--dropdown .select2-search__field {\\n border: 1px solid #aaa; }\\n .select2-container--default .select2-search--inline .select2-search__field {\\n background: transparent;\\n border: none;\\n outline: 0;\\n box-shadow: none;\\n -webkit-appearance: textfield; }\\n .select2-container--default .select2-results > .select2-results__options {\\n max-height: 200px;\\n overflow-y: auto; }\\n .select2-container--default .select2-results__option[role=group] {\\n padding: 0; }\\n .select2-container--default .select2-results__option[aria-disabled=true] {\\n color: #999; }\\n .select2-container--default .select2-results__option[aria-selected=true] {\\n background-color: #ddd; }\\n .select2-container--default .select2-results__option .select2-results__option {\\n padding-left: 1em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__group {\\n padding-left: 0; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -1em;\\n padding-left: 2em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -2em;\\n padding-left: 3em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -3em;\\n padding-left: 4em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -4em;\\n padding-left: 5em; }\\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\\n margin-left: -5em;\\n padding-left: 6em; }\\n .select2-container--default .select2-results__option--highlighted[aria-selected] {\\n background-color: #5897fb;\\n color: white; }\\n .select2-container--default .select2-results__group {\\n cursor: default;\\n display: block;\\n padding: 6px;\\n color: gray; }\\n /* stylelint-disable-next-line selector-type-no-unknown */\\n :host.material {\\n display: inline-block;\\n width: 300px; }\\n :host.material > .select2-container {\\n padding-bottom: 1.29688em;\\n vertical-align: inherit; }\\n :host.material > .select2-container .selection {\\n padding: 0.4375em 0;\\n border-top: 0.84375em solid transparent;\\n display: inline-flex;\\n align-items: baseline;\\n width: 100%;\\n height: auto; }\\n :host.material .select2-container--default .select2-selection--single,\\n :host.material .select2-container--default .select2-selection--multiple {\\n width: 100%;\\n border: 0;\\n border-radius: 0;\\n height: 24px;\\n box-sizing: border-box; }\\n :host.material .select2-container--default .select2-selection--single::before,\\n :host.material .select2-container--default .select2-selection--multiple::before {\\n content: ' ';\\n display: block;\\n position: absolute;\\n bottom: 1.65em;\\n background-color: #ddd;\\n height: 1px;\\n width: 100%; }\\n :host.material .select2-container--default .select2-selection--single::after,\\n :host.material .select2-container--default .select2-selection--multiple::after {\\n content: ' ';\\n display: block;\\n position: absolute;\\n bottom: 1.63em;\\n background-color: #5a419e;\\n height: 2px;\\n width: 0%;\\n left: 50%;\\n transition: none; }\\n :host.material .select2-container--default .select2-selection--single .select2-selection__rendered,\\n :host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered {\\n padding-left: 1px;\\n line-height: inherit; }\\n :host.material .select2-container--default .select2-selection--single .select2-selection__placeholder,\\n :host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder {\\n display: block;\\n color: rgba(0, 0, 0, 0.38);\\n transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transition: transform 0.3s, -webkit-transform 0.3s;\\n position: absolute;\\n -webkit-transform-origin: 0 21px;\\n transform-origin: 0 21px;\\n left: 0;\\n top: 20px; }\\n :host.material .select2-container--default .select2-container--open {\\n left: 0;\\n bottom: 1.6em; }\\n :host.material .select2-container--default .select2-selection__placeholder__option {\\n -webkit-transform: translateY(-1.5em) scale(0.75) perspective(100px) translateZ(0.001px);\\n transform: translateY(-1.5em) scale(0.75) perspective(100px) translateZ(0.001px);\\n width: 133.33333%; }\\n :host.material .select2-container--default .select2-selection__arrow {\\n top: 20px; }\\n :host.material .select2-container--default.select2-container--open .select2-selection--single::after,\\n :host.material .select2-container--default.select2-container--open .select2-selection--multiple::after,\\n :host.material .select2-container--default .select2-focused .select2-selection--single::after,\\n :host.material .select2-container--default .select2-focused .select2-selection--multiple::after {\\n transition: width 0.3s cubic-bezier(0.12, 1, 0.77, 1), left 0.3s cubic-bezier(0.12, 1, 0.77, 1);\\n width: 100%;\\n left: 0%; }\\n :host.material .select2-container--default .select2-dropdown {\\n border-radius: 0;\\n border: 0;\\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5); }\\n :host.material .select2-container--default .select2-results__option[aria-selected=true],\\n :host.material .select2-container--default .select2-results__option--highlighted[aria-selected] {\\n background-color: rgba(0, 0, 0, 0.04);\\n color: #000; }\\n :host.material .select2-container--default .select2-results__option[aria-selected=true] {\\n color: #ff5722; }\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--single,\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--multiple {\\n background-color: transparent; }\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--single::before,\\n :host.material .select2-container--default.select2-container--disabled .select2-selection--multiple::before {\\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.26) 0, rgba(0, 0, 0, 0.26) 33%, transparent 0);\\n background-size: 4px 1px;\\n background-repeat: repeat-x;\\n background-color: transparent;\\n background-position: 0 bottom; }\\n :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::before, :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::after,\\n :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::before,\\n :host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::after {\\n background-color: red; }\\n :host.material:not(.select2-container--open) .select2-focused .select2-selection--single,\\n :host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple {\\n border: 0; }\\n :host.material .select2-subscript-wrapper {\\n position: absolute;\\n top: calc(100% - 1.72917em);\\n font-size: 75%; }\\n /* stylelint-disable selector-type-no-unknown */\\n @supports (-moz-appearance: none) {\\n select2.material .select2-container--default .select2-selection--single,\\n select2.material .select2-container--default .select2-selection--multiple {\\n height: 26px; } }\\n @supports (-ms-scroll-limit: 0) {\\n select2.material .select2-container--default .select2-selection--single,\\n select2.material .select2-container--default .select2-selection--multiple {\\n height: 25px; } }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3RzL25nLXNlbGVjdDItY29tcG9uZW50L3NyYy9saWIvQzpcXERhdGFcXHNvdXJjZXMtc3ZuXFxwaXRjaFxcbmctc2VsZWN0Mi9wcm9qZWN0c1xcbmctc2VsZWN0Mi1jb21wb25lbnRcXHNyY1xcbGliXFxzZWxlY3QyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksdUJBQXNCO0VBQ3RCLHNCQUFxQjtFQUNyQixVQUFTO0VBQ1QsbUJBQWtCO0VBQ2xCLHVCQUFzQjtFQUN0QixZQUFXLEVBMkRkO0VBakVEO0lBU1EsbUJBQWtCO0lBQ2xCLFdBQVUsRUFDYjtFQVhMO0lBY1EsdUJBQXNCO0lBQ3RCLGdCQUFlO0lBQ2YsZUFBYztJQUNkLGFBQVk7SUFDWiwwQkFBaUI7T0FBakIsdUJBQWlCO1FBQWpCLHNCQUFpQjtZQUFqQixrQkFBaUIsRUFjcE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ICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fcmVuZGVyZWQge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA4cHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDIwcHg7XHJcbiAgICAgICAgICAgIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jbGVhciB7XHJcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItc2VsZWN0aW9uLS1tdWx0aXBsZSB7XHJcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgbWluLWhlaWdodDogMzJweDtcclxuICAgICAgICB1c2VyLXNlbGVjdDogbm9uZTtcclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19yZW5kZXJlZCB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA4cHg7XHJcbiAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1zZWFyY2gtLWlubGluZSB7XHJcbiAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcblxyXG4gICAgICAgIC5zZWxlY3QyLXNlYXJjaF9fZmllbGQge1xyXG4gICAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xyXG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTAwJTtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogNXB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xyXG5cclxuICAgICAgICAgICAgJjo6LXdlYmtpdC1zZWFyY2gtY2FuY2VsLWJ1dHRvbiB7XHJcbiAgICAgICAgICAgICAgICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuXHJcbi5zZWxlY3QyLWRyb3Bkb3duIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG4gICAgYm9yZGVyOiAxcHggc29saWQgI2FhYTtcclxuICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgICBkaXNwbGF5OiBibG9jaztcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGxlZnQ6IC0xMDAwMDBweDtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgei1pbmRleDogMTA1MTtcclxufVxyXG5cclxuLnNlbGVjdDItcmVzdWx0cyB7XHJcbiAgICBkaXNwbGF5OiBibG9jaztcclxufVxyXG5cclxuLnNlbGVjdDItcmVzdWx0c19fb3B0aW9ucyB7XHJcbiAgICBsaXN0LXN0eWxlOiBub25lO1xyXG4gICAgbWFyZ2luOiAwO1xyXG4gICAgcGFkZGluZzogMDtcclxufVxyXG5cclxuLnNlbGVjdDItcmVzdWx0c19fb3B0aW9uIHtcclxuICAgIHBhZGRpbmc6IDZweDtcclxuICAgIHVzZXItc2VsZWN0OiB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B4ICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi5zZWxlY3QyLWNvbnRhaW5lci0tZGVmYXVsdCB7XHJcbiAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcclxuICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYWFhO1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19yZW5kZXJlZCB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjNDQ0O1xyXG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMjhweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fY2xlYXIge1xyXG4gICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgIGZsb2F0OiByaWdodDtcclxuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3BsYWNlaG9sZGVyIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3BsYWNlaG9sZGVyX19vcHRpb24ge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19hcnJvdyB7XHJcbiAgICAgICAgICAgIGhlaWdodDogMjZweDtcclxuICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICB0b3A6IDFweDtcclxuICAgICAgICAgICAgcmlnaHQ6IDFweDtcclxuICAgICAgICAgICAgd2lkdGg6IDIwcHg7XHJcblxyXG4gICAgICAgICAgICBiIHtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1jb2xvcjogIzg4OCB0cmFuc3BhcmVudDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1zdHlsZTogc29saWQ7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItd2lkdGg6IDVweCA0cHggMDtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMDtcclxuICAgICAgICAgICAgICAgIGxlZnQ6IDUwJTtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAtNHB4O1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogLTJweDtcclxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgIHRvcDogNTAlO1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDA7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgJi5zZWxlY3QyLWNvbnRhaW5lci0tZGlzYWJsZWQge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tc2luZ2xlIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTtcclxuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG5cclxuICAgICAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jbGVhciB7XHJcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLW9wZW4ge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tc2luZ2xlIHtcclxuICAgICAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19hcnJvdyB7XHJcbiAgICAgICAgICAgICAgICBiIHtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItY29sb3I6IHRyYW5zcGFyZW50IHRyYW5zcGFyZW50ICM4ODg7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXdpZHRoOiAwIDRweCA1cHg7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItc2VsZWN0aW9uLS1tdWx0aXBsZSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2FhYTtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XHJcbiAgICAgICAgY3Vyc29yOiB0ZXh0O1xyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3JlbmRlcmVkIHtcclxuICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcclxuICAgICAgICAgICAgbWFyZ2luOiAwO1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwIDVweDtcclxuICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcblxyXG4gICAgICAgICAgICBsaSB7XHJcbiAgICAgICAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3BsYWNlaG9sZGVyIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDVweDtcclxuICAgICAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3BsYWNlaG9sZGVyX19vcHRpb24ge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jbGVhciB7XHJcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICAgICAgZmxvYXQ6IHJpZ2h0O1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogNXB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDEwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX2Nob2ljZSB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlNGU0ZTQ7XHJcbiAgICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNhYWE7XHJcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiA1cHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDVweDtcclxuICAgICAgICAgICAgcGFkZGluZzogMCA1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX2Nob2ljZV9fcmVtb3ZlIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAycHg7XHJcblxyXG4gICAgICAgICAgICAmOmhvdmVyIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAjMzMzO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLWZvY3VzZWQge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbi0tbXVsdGlwbGUge1xyXG4gICAgICAgICAgICBib3JkZXI6IHNvbGlkIGJsYWNrIDFweDtcclxuICAgICAgICAgICAgb3V0bGluZTogMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgJjpub3QoLnNlbGVjdDItY29udGFpbmVyLS1vcGVuKSAuc2VsZWN0Mi1mb2N1c2VkIHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYm9yZGVyOiBzb2xpZCBibGFjayAxcHg7XHJcbiAgICAgICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLWRpc2FibGVkIHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTtcclxuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uX19jaG9pY2VfX3JlbW92ZSB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLW9wZW4uc2VsZWN0Mi1jb250YWluZXItLWFib3ZlIHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogMDtcclxuICAgICAgICAgICAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgICYuc2VsZWN0Mi1jb250YWluZXItLW9wZW4uc2VsZWN0Mi1jb250YWluZXItLWJlbG93IHtcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb24tLW11bHRpcGxlIHtcclxuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogMDtcclxuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5zZWxlY3QyLXNlYXJjaC0tZHJvcGRvd24ge1xyXG4gICAgICAgIC5zZWxlY3QyLXNlYXJjaF9fZmllbGQge1xyXG4gICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYWFhO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1zZWFyY2gtLWlubGluZSB7XHJcbiAgICAgICAgLnNlbGVjdDItc2VhcmNoX19maWVsZCB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xyXG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XHJcbiAgICAgICAgICAgIC13ZWJraXQtYXBwZWFyYW5jZTogdGV4dGZpZWxkO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1yZXN1bHRzID4gLnNlbGVjdDItcmVzdWx0c19fb3B0aW9ucyB7XHJcbiAgICAgICAgbWF4LWhlaWdodDogMjAwcHg7XHJcbiAgICAgICAgb3ZlcmZsb3cteTogYXV0bztcclxuICAgIH1cclxuXHJcbiAgICAuc2VsZWN0Mi1yZXN1bHRzX19vcHRpb24ge1xyXG4gICAgICAgICZbcm9sZT1ncm91cF0ge1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJlthcmlhLWRpc2FibGVkPXRydWVdIHtcclxuICAgICAgICAgICAgY29sb3I6ICM5OTk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAmW2FyaWEtc2VsZWN0ZWQ9dHJ1ZV0ge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZGRkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItcmVzdWx0c19fb3B0aW9uIHtcclxuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAxZW07XHJcblxyXG4gICAgICAgICAgICAuc2VsZWN0Mi1yZXN1bHRzX19ncm91cCB7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogLTFlbTtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMmVtO1xyXG5cclxuICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IC0yZW07XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAzZW07XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAtM2VtO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDRlbTtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogLTRlbTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogNWVtO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5zZWxlY3QyLXJlc3VsdHNfX29wdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IC01ZW07XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA2ZW07XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItcmVzdWx0c19fb3B0aW9uLS1oaWdobGlnaHRlZFthcmlhLXNlbGVjdGVkXSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzU4OTdmYjtcclxuICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdDItcmVzdWx0c19fZ3JvdXAge1xyXG4gICAgICAgIGN1cnNvcjogZGVmYXVsdDtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICBwYWRkaW5nOiA2cHg7XHJcbiAgICAgICAgY29sb3I6IGdyYXk7XHJcbiAgICB9XHJcbn1cclxuXHJcbi8vIG1hdGVyaWFsIHN0eWxlXHJcbi8qIHN0eWxlbGludC1kaXNhYmxlLW5leHQtbGluZSBzZWxlY3Rvci10eXBlLW5vLXVua25vd24gKi9cclxuOmhvc3QubWF0ZXJpYWwge1xyXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgd2lkdGg6IDMwMHB4O1xyXG5cclxuICAgICYgPiAuc2VsZWN0Mi1jb250YWluZXIge1xyXG4gICAgICAgIHBhZGRpbmctYm90dG9tOiAxLjI5Njg4ZW07XHJcbiAgICAgICAgdmVydGljYWwtYWxpZ246IGluaGVyaXQ7XHJcblxyXG4gICAgICAgIC5zZWxlY3Rpb24ge1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwLjQzNzVlbSAwO1xyXG4gICAgICAgICAgICBib3JkZXItdG9wOiAwLjg0Mzc1ZW0gc29saWQgdHJhbnNwYXJlbnQ7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xyXG4gICAgICAgICAgICBhbGlnbi1pdGVtczogYmFzZWxpbmU7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICAgICAgICBoZWlnaHQ6IGF1dG87XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5zZWxlY3QyLWNvbnRhaW5lci0tZGVmYXVsdCB7XHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uLS1zaW5nbGUsXHJcbiAgICAgICAgLnNlbGVjdDItc2VsZWN0aW9uLS1tdWx0aXBsZSB7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICAgICAgICBib3JkZXI6IDA7XHJcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDA7XHJcbiAgICAgICAgICAgIGhlaWdodDogMjRweDtcclxuICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuXHJcbiAgICAgICAgICAgICY6OmJlZm9yZSB7XHJcbiAgICAgICAgICAgICAgICBjb250ZW50OiAnICc7XHJcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgIGJvdHRvbTogMS42NWVtO1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2RkZDtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMXB4O1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICY6OmFmdGVyIHtcclxuICAgICAgICAgICAgICAgIGNvbnRlbnQ6ICcgJztcclxuICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgYm90dG9tOiAxLjYzZW07XHJcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjNWE0MTllO1xyXG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAycHg7XHJcbiAgICAgICAgICAgICAgICB3aWR0aDogMCU7XHJcbiAgICAgICAgICAgICAgICBsZWZ0OiA1MCU7XHJcbiAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBub25lO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuc2VsZWN0Mi1zZWxlY3Rpb25fX3JlbmRlcmVkIHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMXB4O1xyXG4gICAgICAgICAgICAgICAgbGluZS1oZWlnaHQ6IGluaGVyaXQ7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5zZWxlY3QyLXNlbGVjdGlvbl9fcGxhY2Vob2xkZXIge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogcmdiYSgwLCAwLCAwLCAwLjM4KTtcclxuICAgICAgICAgICAgICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSAwLjNzO1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sd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6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICBsZWZ0OiAwJTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlbGVjdDItZHJvcGRvd24ge1xyXG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xyXG4gICAgICAgICAgICBib3JkZXI6IDA7XHJcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IDAgNXB4IDVweCByZ2JhKDAsIDAsIDAsIDAuNSk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1yZXN1bHRzX19vcHRpb25bYXJpYS1zZWxlY3RlZD10cnVlXSxcclxuICAgICAgICAuc2VsZWN0Mi1yZXN1bHRzX19vcHRpb24tLWhpZ2hsaWdodGVkW2FyaWEtc2VsZWN0ZWRdIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAwLjA0KTtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VsZWN0Mi1yZXN1bHRzX19vcHRpb25bYXJpYS1zZWxlY3RlZD10cnVlXSB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjZmY1NzIyO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJi5zZWxlY3QyLWNvbnRhaW5lci0tZGlzYWJsZWQgLnNlbGVjdDItc2VsZWN0aW9uLS1zaW5nbGUsXHJcbiAgICAgICAgJi5zZWxlY3QyLWNvbnRhaW5lci0tZGlzYWJsZWQgLnNlbGVjdDItc2VsZWN0aW9uLS1tdWx0aXBsZSB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xyXG5cclxuICAgICAgICAgICAgJjo6YmVmb3JlIHtcclxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtaW1hZ2U6IGxpbmVhci1ncmFkaWVudCh0byByaWdodCwgcm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NvbHV0ZTtcclxuICAgICAgICB0b3A6IGNhbGMoMTAwJSAtIDEuNzI5MTdlbSk7XHJcbiAgICAgICAgZm9udC1zaXplOiA3NSU7XHJcbiAgICB9XHJcbn1cclxuXHJcbi8vIG1hdGVyaWFsIGZpeCAoZmlyZWZveClcclxuLyogc3R5bGVsaW50LWRpc2FibGUgc2VsZWN0b3ItdHlwZS1uby11bmtub3duICovXHJcbkBzdXBwb3J0cyAoLW1vei1hcHBlYXJhbmNlOiBub25lKSB7XHJcbiAgICBzZWxlY3QyLm1hdGVyaWFsIC5zZWxlY3QyLWNvbnRhaW5lci0tZGVmYXVsdCAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgIHNlbGVjdDIubWF0ZXJpYWwgLnNlbGVjdDItY29udGFpbmVyLS1kZWZhdWx0IC5zZWxlY3QyLXNlbGVjdGlvbi0tbXVsdGlwbGUge1xyXG4gICAgICAgIGhlaWdodDogMjZweDtcclxuICAgIH1cclxufVxyXG5cclxuLy8gbWF0ZXJpYWwgZml4IChtcyBlZGdlKVxyXG5cclxuQHN1cHBvcnRzICgtbXMtc2Nyb2xsLWxpbWl0OiAwKSB7XHJcbiAgICBzZWxlY3QyLm1hdGVyaWFsIC5zZWxlY3QyLWNvbnRhaW5lci0tZGVmYXVsdCAuc2VsZWN0Mi1zZWxlY3Rpb24tLXNpbmdsZSxcclxuICAgIHNlbGVjdDIubWF0ZXJpYWwgLnNlbGVjdDItY29udGFpbmVyLS1kZWZhdWx0IC5zZWxlY3QyLXNlbGVjdGlvbi0tbXVsdGlwbGUge1xyXG4gICAgICAgIGhlaWdodDogMjVweDtcclxuICAgIH1cclxufVxyXG4iXX0= */\"","import {\r\n Component, Input, Output, EventEmitter, ElementRef, ViewChild, Optional, Self, ChangeDetectorRef,\r\n Attribute, OnInit, OnDestroy, DoCheck, AfterViewInit, HostBinding, ViewChildren, QueryList\r\n} from '@angular/core';\r\nimport {\r\n FormGroupDirective, NgControl, NgForm, ControlValueAccessor\r\n} from '@angular/forms';\r\n\r\nimport { Subject } from 'rxjs';\r\n\r\nimport {\r\n Select2Data, Select2Option, Select2Value, Select2Utils, Select2UpdateValue, timeout\r\n} from './select2-utils';\r\n\r\nlet nextUniqueId = 0;\r\n\r\n@Component({\r\n selector: 'select2',\r\n templateUrl: './select2.component.html',\r\n styleUrls: ['./select2.component.scss']\r\n})\r\nexport class Select2 implements ControlValueAccessor, OnInit, OnDestroy, DoCheck, AfterViewInit {\r\n\r\n /** data of options & optiongrps */\r\n @Input() data!: Select2Data;\r\n /** minimal data of show the search field */\r\n @Input() minCountForSearch?: number;\r\n @Input() placeholder?: string;\r\n @Input() customSearchEnabled?: boolean;\r\n @Input() multiple?: boolean;\r\n\r\n /** use the material style */\r\n @Input() material?: '' | true;\r\n\r\n /** use it for change the pattern of the filter search */\r\n @Input() editPattern!: (str: string) => string;\r\n\r\n @Output() update = new EventEmitter();\r\n @Output() open = new EventEmitter();\r\n @Output() search = new EventEmitter();\r\n\r\n option: Select2Option | Select2Option[] | null = null;\r\n isOpen = false;\r\n searchStyle!: string;\r\n\r\n @ViewChild('selection') selection!: ElementRef;\r\n @ViewChild('results') private resultContainer!: ElementRef;\r\n @ViewChildren('result') private results!: QueryList;\r\n @ViewChild('searchInput') private searchInput!: ElementRef;\r\n private hoveringValue: Select2Value | null | undefined = null;\r\n private innerSearchText = '';\r\n private lastScrollTopIndex = 0;\r\n private isSearchboxHidden!: boolean;\r\n private selectionElement!: HTMLElement;\r\n private searchInputElement!: HTMLElement;\r\n private resultsElement!: HTMLElement;\r\n\r\n // tslint:disable:member-ordering\r\n private _stateChanges = new Subject();\r\n\r\n /** Whether the element is focused or not. */\r\n focused = false;\r\n\r\n filteredData: Select2Data;\r\n\r\n /** View -> model callback called when select has been touched */\r\n private _onTouched = () => {\r\n // do nothing\r\n }\r\n\r\n /** View -> model callback called when value changes */\r\n private _onChange: (value: any) => void = () => {\r\n // do nothing\r\n }\r\n\r\n get select2Options() {\r\n return this.multiple ? this.option as Select2Option[] : null;\r\n }\r\n get select2Option() {\r\n return this.multiple ? null : this.option as Select2Option;\r\n }\r\n get searchText() {\r\n return this.innerSearchText;\r\n }\r\n set searchText(text: string) {\r\n if (this.customSearchEnabled) {\r\n this.search.emit(text);\r\n }\r\n this.innerSearchText = text;\r\n }\r\n\r\n get dropdownStyle() {\r\n return Select2Utils.getDropdownStyle(this.isOpen);\r\n }\r\n\r\n get containerStyle() {\r\n return Select2Utils.getContainerStyle(this.disabled, this.isOpen);\r\n }\r\n\r\n get selectionStyle() {\r\n return Select2Utils.getSelectionStyle(this.multiple);\r\n }\r\n\r\n /** Unique id of the element. */\r\n @Input()\r\n @HostBinding('id')\r\n get id() { return this._id; }\r\n set id(value: string) { this._id = value || this._uid; }\r\n\r\n /** Whether the element is required. */\r\n @Input()\r\n get required() { return this._required; }\r\n set required(value: any) { this._required = this._coerceBooleanProperty(value); }\r\n\r\n /** Whether the element is disabled. */\r\n @Input()\r\n get disabled() { return this._control ? this._control.disabled : this._disabled; }\r\n set disabled(value: any) { this._disabled = this._coerceBooleanProperty(value); }\r\n\r\n /** Whether the element is readonly. */\r\n @Input()\r\n get readonly() { return this._readonly; }\r\n set readonly(value: any) { this._readonly = this._coerceBooleanProperty(value); }\r\n\r\n /** The input element's value. */\r\n @Input()\r\n get value() { return this._value; }\r\n set value(value: Select2UpdateValue) {\r\n setTimeout(() => {\r\n this._value = value;\r\n this.writeValue(value);\r\n });\r\n }\r\n\r\n /** Tab index for the select2 element. */\r\n @Input()\r\n get tabIndex(): number { return this.disabled ? -1 : this._tabIndex; }\r\n set tabIndex(value: number) {\r\n if (typeof value !== 'undefined') {\r\n this._tabIndex = value;\r\n }\r\n }\r\n\r\n @HostBinding('attr.aria-invalid')\r\n get ariaInvalid() {\r\n return this._isErrorState();\r\n }\r\n\r\n @HostBinding('class.material')\r\n get classMaterial() {\r\n return this.material === '' || this.material === true;\r\n }\r\n\r\n /** Tab index for the element. */\r\n private _tabIndex: number;\r\n\r\n private _disabled = false;\r\n private _required = false;\r\n private _readonly = false;\r\n private _clickDetection = false;\r\n private _clickDetectionFc: (e: MouseEvent) => void;\r\n private _id!: string;\r\n private _uid = `select2-${nextUniqueId++}`;\r\n private _value!: Select2UpdateValue;\r\n private _previousNativeValue: Select2UpdateValue = this._value;\r\n\r\n constructor(\r\n private _changeDetectorRef: ChangeDetectorRef,\r\n @Optional() private _parentForm: NgForm,\r\n @Optional() private _parentFormGroup: FormGroupDirective,\r\n @Self() @Optional() public _control: NgControl,\r\n @Attribute('tabindex') tabIndex: string\r\n ) {\r\n this.id = this.id;\r\n this._tabIndex = parseInt(tabIndex, 10) || 0;\r\n\r\n if (this._control) {\r\n this._control.valueAccessor = this;\r\n }\r\n\r\n this._clickDetectionFc = this.clickDetection.bind(this);\r\n }\r\n\r\n ngOnInit() {\r\n const option = Select2Utils.getOptionsByValue(\r\n this.data,\r\n this._control ? this._control.value : this.value,\r\n this.multiple\r\n );\r\n if (option !== null) {\r\n this.option = option;\r\n }\r\n if (!Array.isArray(option)) {\r\n this.hoveringValue = this.value as string | undefined;\r\n }\r\n this.isSearchboxHidden = this.customSearchEnabled\r\n ? false\r\n : Select2Utils.isSearchboxHiddex(this.data, this.minCountForSearch);\r\n this.searchStyle = Select2Utils.getSearchStyle(this.isSearchboxHidden);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.selectionElement = this.selection.nativeElement as HTMLElement;\r\n this.searchInputElement = this.searchInput.nativeElement as HTMLElement;\r\n this.resultsElement = this.resultContainer.nativeElement as HTMLElement;\r\n }\r\n\r\n ngDoCheck() {\r\n this._dirtyCheckNativeValue();\r\n }\r\n\r\n ngOnDestroy() {\r\n window.document.body.removeEventListener('click', this._clickDetectionFc);\r\n }\r\n\r\n getOptionStyle(option: Select2Option) {\r\n return Select2Utils.getOptionStyle(option.value, this.hoveringValue)\r\n + (option.classes ? ' ' + option.classes : '');\r\n }\r\n\r\n mouseenter(option: Select2Option) {\r\n if (!option.disabled) {\r\n this.hoveringValue = option.value;\r\n }\r\n }\r\n\r\n click(option: Select2Option) {\r\n if (!option.disabled) {\r\n this.select(option);\r\n }\r\n }\r\n\r\n toggleOpenAndClose() {\r\n if (this.disabled) {\r\n return;\r\n }\r\n this.focused = true;\r\n this.isOpen = !this.isOpen;\r\n if (this.isOpen) {\r\n this.innerSearchText = '';\r\n this.updateFilteredData();\r\n this.focusSearchboxOrResultsElement();\r\n\r\n if (this.resultsElement && this.lastScrollTopIndex) {\r\n this.resultsElement.scrollTop = this.lastScrollTopIndex;\r\n }\r\n\r\n this.open.emit();\r\n }\r\n\r\n if (this.isOpen && !this._clickDetection) {\r\n setTimeout(() => {\r\n window.document.body.addEventListener('click', this._clickDetectionFc, false);\r\n this._clickDetection = true;\r\n }, timeout);\r\n }\r\n\r\n this._changeDetectorRef.markForCheck();\r\n }\r\n\r\n private updateFilteredData() {\r\n const result = this.customSearchEnabled\r\n ? this.data\r\n : Select2Utils.getFilteredData(this.data, this.searchText, this.editPattern);\r\n\r\n if (Select2Utils.valueIsNotInFilteredData(result, this.hoveringValue)) {\r\n this.hoveringValue = Select2Utils.getFirstAvailableOption(result);\r\n }\r\n this.filteredData = result;\r\n }\r\n\r\n private clickDetection(e: MouseEvent) {\r\n if (!this.ifParentContainsClass(e.target as HTMLElement, 'selection')) {\r\n if (this.isOpen && !this.ifParentContainsClass(e.target as HTMLElement, 'select2-dropdown')) {\r\n this.toggleOpenAndClose();\r\n }\r\n if (!this.ifParentContainsId(e.target as HTMLElement, this._id)) {\r\n this.clickExit();\r\n }\r\n } else if (this.isOpen && !this.ifParentContainsId(e.target as HTMLElement, this._id)) {\r\n this.toggleOpenAndClose();\r\n this.clickExit();\r\n }\r\n }\r\n\r\n private clickExit() {\r\n this.focused = false;\r\n window.document.body.removeEventListener('click', this._clickDetectionFc);\r\n this._clickDetection = false;\r\n }\r\n\r\n private ifParentContainsClass(element: HTMLElement, cssClass: string): boolean {\r\n return this.getParentElementByClass(element, cssClass) !== null;\r\n }\r\n\r\n private ifParentContainsId(element: HTMLElement, id: string): boolean {\r\n return this.getParentElementById(element, id) !== null;\r\n }\r\n\r\n private getParentElementByClass(element: HTMLElement, cssClass: string): HTMLElement | null {\r\n if (this.containClasses(element, cssClass.trim().split(/\\s+/))) {\r\n return element;\r\n }\r\n return element.parentElement\r\n ? this.getParentElementByClass(element.parentElement, cssClass)\r\n : null;\r\n }\r\n\r\n private getParentElementById(element: HTMLElement, id: string): HTMLElement | null {\r\n if (element.id === id) {\r\n return element;\r\n }\r\n return element.parentElement\r\n ? this.getParentElementById(element.parentElement, id)\r\n : null;\r\n }\r\n\r\n private containClasses(element: HTMLElement, cssClasses: string[]): boolean {\r\n if (!element.classList) {\r\n return false;\r\n }\r\n for (const cssClass of cssClasses) {\r\n if (!element.classList.contains(cssClass)) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n focusin() {\r\n if (this.disabled) {\r\n return;\r\n }\r\n this.focused = true;\r\n }\r\n\r\n focusout() {\r\n if (this.selectionElement && !this.selectionElement.classList.contains('select2-focused')) {\r\n this.focused = false;\r\n this._onTouched();\r\n }\r\n }\r\n\r\n private moveUp() {\r\n this.updateScrollFromOption(Select2Utils.getPreviousOption(this.filteredData, this.hoveringValue));\r\n }\r\n\r\n private moveDown() {\r\n this.updateScrollFromOption(Select2Utils.getNextOption(this.filteredData, this.hoveringValue));\r\n }\r\n\r\n private updateScrollFromOption(option: Select2Option) {\r\n if (option) {\r\n this.hoveringValue = option.value;\r\n const domElement = this.results.find(r => r.nativeElement.innerText.trim() === option.label);\r\n if (domElement) {\r\n const rect = domElement.nativeElement.getBoundingClientRect();\r\n this.lastScrollTopIndex =\r\n rect.top +\r\n this.resultsElement.scrollTop -\r\n this.resultsElement.getBoundingClientRect().height -\r\n this.selection.nativeElement.getBoundingClientRect().top +\r\n rect.height * 2;\r\n this.resultsElement.scrollTop = this.lastScrollTopIndex;\r\n }\r\n }\r\n }\r\n\r\n private selectByEnter() {\r\n if (this.hoveringValue) {\r\n const option = Select2Utils.getOptionByValue(this.data, this.hoveringValue);\r\n this.select(option);\r\n }\r\n }\r\n\r\n select(option: Select2Option | null) {\r\n let value: any;\r\n if (option !== null) {\r\n if (this.multiple) {\r\n const options = this.option as Select2Option[];\r\n const index = options.findIndex(op => op.value === option.value);\r\n if (index === -1) {\r\n options.push(option);\r\n } else {\r\n options.splice(index, 1);\r\n }\r\n value = (this.option as Select2Option[]).map(op => op.value);\r\n } else {\r\n this.option = option;\r\n this.isOpen = false;\r\n if (this.selectionElement) {\r\n this.selectionElement.focus();\r\n }\r\n value = this.option.value;\r\n }\r\n } else if (this._control) {\r\n this.option = null;\r\n }\r\n\r\n if (this._control) {\r\n\r\n this._onChange(value);\r\n }\r\n this.update.emit(value);\r\n }\r\n\r\n keyDown(e: KeyboardEvent) {\r\n if (this._testKey(e, ['ArrowDown', 40])) {\r\n this.moveDown();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['ArrowUp', 38])) {\r\n this.moveUp();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['Enter', 13])) {\r\n this.selectByEnter();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['Escape', 'Tab', 9, 27]) && this.isOpen) {\r\n this.toggleOpenAndClose();\r\n this.focused = false;\r\n }\r\n }\r\n\r\n openKey(e: KeyboardEvent) {\r\n if (this._testKey(e, ['ArrowDown', 'ArrowUp', 'Enter', 40, 38, 13])) {\r\n this.toggleOpenAndClose();\r\n e.preventDefault();\r\n } else if (this._testKey(e, ['Escape', 9])) {\r\n this.focused = false;\r\n this._onTouched();\r\n }\r\n }\r\n\r\n trackBy(_index: number, item: Select2Option): any {\r\n return item.value;\r\n }\r\n\r\n searchUpdate(e: Event) {\r\n this.searchText = (e.target as HTMLInputElement).value;\r\n this.updateFilteredData();\r\n }\r\n\r\n isSelected(option: Select2Option) {\r\n return Select2Utils.isSelected(this.option, option, this.multiple);\r\n }\r\n\r\n isDisabled(option: Select2Option) {\r\n return option.disabled ? 'true' : 'false';\r\n }\r\n\r\n removeSelection(e: MouseEvent, option: Select2Option) {\r\n Select2Utils.removeSelection(this.option, option);\r\n\r\n const value = (this.option as Select2Option[]).map(op => op.value);\r\n if (this._control) {\r\n this._onChange(value);\r\n }\r\n this.update.emit(value);\r\n\r\n\r\n e.preventDefault();\r\n e.stopPropagation();\r\n\r\n if (this.isOpen) {\r\n this.focusSearchboxOrResultsElement();\r\n }\r\n }\r\n\r\n /**\r\n * Sets the model value. Implemented as part of ControlValueAccessor.\r\n * @param value\r\n */\r\n writeValue(value: any) {\r\n this._setSelectionByValue(value);\r\n }\r\n\r\n /**\r\n * Saves a callback function to be invoked when the select's value\r\n * changes from user input. Part of the ControlValueAccessor interface\r\n * required to integrate with Angular's core forms API.\r\n *\r\n * @param fn Callback to be triggered when the value changes.\r\n */\r\n registerOnChange(fn: (value: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /**\r\n * Saves a callback function to be invoked when the select is blurred\r\n * by the user. Part of the ControlValueAccessor interface required\r\n * to integrate with Angular's core forms API.\r\n *\r\n * @param fn Callback to be triggered when the component has been touched.\r\n */\r\n registerOnTouched(fn: () => {}): void {\r\n this._onTouched = fn;\r\n }\r\n\r\n /**\r\n * Sets whether the component should be disabled.\r\n * Implemented as part of ControlValueAccessor.\r\n * @param isDisabled\r\n */\r\n setDisabledState(isDisabled: boolean) {\r\n this.disabled = isDisabled;\r\n }\r\n\r\n _isErrorState(): boolean {\r\n const isInvalid = this._control && this._control.invalid;\r\n const isTouched = this._control && this._control.touched;\r\n const isSubmitted = (this._parentFormGroup && this._parentFormGroup.submitted) ||\r\n (this._parentForm && this._parentForm.submitted);\r\n\r\n return !!(isInvalid && (isTouched || isSubmitted));\r\n }\r\n\r\n private _testKey(event: KeyboardEvent, refs: (number | string)[] = []): boolean {\r\n return this._isKey(this._getKey(event), refs);\r\n }\r\n\r\n\r\n private _getKey(event: KeyboardEvent): number | string {\r\n let code: number | string;\r\n\r\n if (event.key !== undefined) {\r\n code = event.key;\r\n } else if (event['keyIdentifier'] !== undefined) {\r\n code = event['keyIdentifier'];\r\n } else if (event['keyCode'] !== undefined) {\r\n code = event['keyCode'];\r\n } else {\r\n event.preventDefault();\r\n }\r\n\r\n return code;\r\n }\r\n\r\n private _isKey(code: number | string, refs: (number | string)[] = []): boolean {\r\n return refs && refs.length > 0\r\n ? refs.indexOf(code) !== -1\r\n : false;\r\n }\r\n\r\n /**\r\n * Sets the selected option based on a value. If no option can be\r\n * found with the designated value, the select trigger is cleared.\r\n */\r\n private _setSelectionByValue(value: any | any[]): void {\r\n if (this.option || (value !== undefined && value !== null)) {\r\n const isArray = Array.isArray(value);\r\n if (this.multiple && value && !isArray) {\r\n throw new Error('Non array value.');\r\n } else if (this.data) {\r\n if (this._control && this.multiple) {\r\n this.option = []; // if value is null, then empty option and return\r\n if (isArray) {\r\n // value is not null. Preselect value\r\n const selectedValues: any = Select2Utils.getOptionsByValue(this.data, value, this.multiple);\r\n selectedValues.map(\r\n item => this.select(item)\r\n );\r\n }\r\n } else {\r\n this.select(Select2Utils.getOptionByValue(this.data, value));\r\n }\r\n } else if (this._control) {\r\n this._control.viewToModelUpdate(value);\r\n }\r\n\r\n this._changeDetectorRef.markForCheck();\r\n }\r\n }\r\n\r\n /** Does some manual dirty checking on the native input `value` property. */\r\n private _dirtyCheckNativeValue() {\r\n const newValue = this.value;\r\n\r\n if (this._previousNativeValue !== newValue) {\r\n this._previousNativeValue = newValue;\r\n this._stateChanges.next();\r\n }\r\n }\r\n\r\n private _coerceBooleanProperty(value: any): boolean {\r\n return value != null && `${value}` !== 'false';\r\n }\r\n\r\n private focusSearchboxOrResultsElement() {\r\n if (!this.isSearchboxHidden) {\r\n if (this.searchInputElement) {\r\n this.searchInputElement.focus();\r\n }\r\n } else {\r\n if (this.resultsElement) {\r\n this.resultsElement.focus();\r\n }\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { Select2 } from './select2.component';\r\nimport { Select2Hint } from './select2-hint.component';\r\nimport { Select2Label } from './select2-label.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule\r\n ],\r\n declarations: [\r\n Select2Hint,\r\n Select2Label,\r\n Select2\r\n ],\r\n exports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n Select2Hint,\r\n Select2Label,\r\n Select2\r\n ]\r\n})\r\nexport class Select2Module { }\r\n","/*\r\n * Public API Surface of ng-select2-component\r\n */\r\n\r\nexport * from './lib/select2.component';\r\nexport * from './lib/select2-hint.component';\r\nexport * from './lib/select2-label.component';\r\nexport * from './lib/select2-utils';\r\nexport * from './lib/select2.module';\r\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuY3NzIn0= */\"","module.exports = \"
\\r\\n the source code of the demo\\r\\n

1. options in group ({{value1}})

\\r\\n \\r\\n \\r\\n

2. options ({{value2}})

\\r\\n \\r\\n \\r\\n

3. less options ({{value3}})

\\r\\n \\r\\n \\r\\n

4. disabled ({{value4}})

\\r\\n \\r\\n\\r\\n \\r\\n

5. hide search box ({{value5}})

\\r\\n \\r\\n \\r\\n

6. placeholder ({{value6}})

\\r\\n \\r\\n \\r\\n

7. open and search event ({{value7}})

\\r\\n \\r\\n \\r\\n

9. multiple ({{value9}})

\\r\\n \\r\\n \\r\\n

10. form binding ({{value10}})

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

11. material style ({{value11}})

\\r\\n \\r\\n \\r\\n

12. boolean value ({{value12}})

\\r\\n \\r\\n \\r\\n

13. FormControl

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

14. with label ({{value14}})

\\r\\n \\r\\n Select a state\\r\\n \\r\\n
\"","import { Component } from '@angular/core';\r\nimport { Validators, FormControl, FormBuilder, FormGroup } from '@angular/forms';\r\n\r\nimport { Select2Option, Select2Data } from 'projects/ng-select2-component/src/lib/select2-utils';\r\n\r\nimport { data1, data2, data3, data5, data12 } from './app.data';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent {\r\n data1 = data1;\r\n data2 = data2;\r\n data3 = data3;\r\n data4: Select2Data = JSON.parse(JSON.stringify(data3));\r\n data5 = data5;\r\n data6: Select2Data = JSON.parse(JSON.stringify(data3));\r\n data7: Select2Option[] = [];\r\n data9: Select2Data = JSON.parse(JSON.stringify(data1));\r\n data10: Select2Data = JSON.parse(JSON.stringify(data1));\r\n data11: Select2Data = JSON.parse(JSON.stringify(data1));\r\n data12 = data12;\r\n data14 = data2;\r\n\r\n minCountForSearch = Infinity;\r\n\r\n ctrlForm: FormGroup;\r\n\r\n value1 = 'CA';\r\n value2 = 'CA';\r\n value3 = 'foo';\r\n value4 = 'bar';\r\n value5 = 'foo3';\r\n value6 = '';\r\n value7 = '';\r\n value9: string[] = [];\r\n value10 = 'CA';\r\n value11 = 'CA';\r\n value12 = true;\r\n value14 = '';\r\n\r\n fg: FormGroup = new FormGroup({\r\n state: new FormControl()\r\n });\r\n\r\n constructor(private fb: FormBuilder) {\r\n this.ctrlForm = this.fb.group({\r\n test10: new FormControl(null, Validators.required)\r\n });\r\n\r\n this.fg.patchValue(this.formData());\r\n }\r\n\r\n update1(value: string) {\r\n this.value1 = value;\r\n }\r\n\r\n update2(value: string) {\r\n this.value2 = value;\r\n }\r\n\r\n update3(value: string) {\r\n this.value3 = value;\r\n }\r\n\r\n update5(value: string) {\r\n this.value5 = value;\r\n }\r\n\r\n update6(value: string) {\r\n this.value6 = value;\r\n }\r\n\r\n open7() {\r\n this.data7 = JSON.parse(JSON.stringify(data2));\r\n }\r\n\r\n update7(value: string) {\r\n this.value7 = value;\r\n }\r\n\r\n search7(text: string) {\r\n this.data7 = text\r\n ? (JSON.parse(JSON.stringify(data2)) as Select2Option[])\r\n .filter(option => option.label.toLowerCase().indexOf(text.toLowerCase()) > -1)\r\n : JSON.parse(JSON.stringify(data2));\r\n }\r\n\r\n update9(value: string[]) {\r\n this.value9 = value;\r\n }\r\n\r\n reset9() {\r\n this.value9 = ['CA'];\r\n }\r\n\r\n reset10() {\r\n const test10 = this.ctrlForm.get('test10');\r\n if (test10) {\r\n test10.reset();\r\n }\r\n }\r\n\r\n change10() {\r\n const test10 = this.ctrlForm.get('test10');\r\n if (test10) {\r\n test10.setValue('UT');\r\n }\r\n }\r\n\r\n update11(value: string) {\r\n this.value11 = value;\r\n }\r\n\r\n update12(value: boolean) {\r\n this.value12 = value;\r\n }\r\n\r\n update14(value: string) {\r\n this.value14 = value;\r\n }\r\n\r\n resetForm() {\r\n this.fg.reset(this.formData());\r\n }\r\n print() {\r\n console.log('FormControl', this.fg.value);\r\n }\r\n\r\n formData() {\r\n return {\r\n state: ['CA', 'NV']\r\n };\r\n }\r\n}\r\n","import { Select2Data } from 'projects/ng-select2-component/src/lib/select2-utils';\r\n\r\nexport const data1: Select2Data = [\r\n {\r\n label: 'Alaskan/Hawaiian Time Zone',\r\n options: [\r\n { value: 'AK', label: 'Alaska' },\r\n { value: 'HI', label: 'Hawaii', disabled: true }\r\n ]\r\n },\r\n {\r\n label: 'Pacific Time Zone',\r\n options: [\r\n { value: 'CA', label: 'California' },\r\n { value: 'NV', label: 'Nevada' },\r\n { value: 'OR', label: 'Oregon' },\r\n { value: 'WA', label: 'Washington' }\r\n ]\r\n },\r\n {\r\n label: 'Mountain Time Zone',\r\n options: [\r\n { value: 'AZ', label: 'Arizona' },\r\n { value: 'CO', label: 'Colorado' },\r\n { value: 'ID', label: 'Idaho' },\r\n { value: 'MT', label: 'Montana' },\r\n { value: 'NE', label: 'Nebraska' },\r\n { value: 'NM', label: 'New Mexico' },\r\n { value: 'ND', label: 'North Dakota' },\r\n { value: 'UT', label: 'Utah' },\r\n { value: 'WY', label: 'Wyoming' }\r\n ]\r\n },\r\n {\r\n label: 'Central Time Zone',\r\n options: [\r\n { value: 'AL', label: 'Alabama' },\r\n { value: 'AR', label: 'Arkansas' },\r\n { value: 'IL', label: 'Illinois' },\r\n { value: 'IA', label: 'Iowa' },\r\n { value: 'KS', label: 'Kansas' },\r\n { value: 'KY', label: 'Kentucky' },\r\n { value: 'LA', label: 'Louisiana' },\r\n { value: 'MN', label: 'Minnesota' },\r\n { value: 'MS', label: 'Mississippi' },\r\n { value: 'MO', label: 'Missouri' },\r\n { value: 'OK', label: 'Oklahoma' },\r\n { value: 'SD', label: 'South Dakota' },\r\n { value: 'TX', label: 'Texas' },\r\n { value: 'TN', label: 'Tennessee' },\r\n { value: 'WI', label: 'Wisconsin' }\r\n ]\r\n },\r\n {\r\n label: 'Eastern Time Zone',\r\n options: [\r\n { value: 'CT', label: 'Connecticut' },\r\n { value: 'DE', label: 'Delaware' },\r\n { value: 'FL', label: 'Florida' },\r\n { value: 'GA', label: 'Georgia' },\r\n { value: 'IN', label: 'Indiana' },\r\n { value: 'ME', label: 'Maine' },\r\n { value: 'MD', label: 'Maryland' },\r\n { value: 'MA', label: 'Massachusetts' },\r\n { value: 'MI', label: 'Michigan' },\r\n { value: 'NH', label: 'New Hampshire' },\r\n { value: 'NJ', label: 'New Jersey' },\r\n { value: 'NY', label: 'New York' },\r\n { value: 'NC', label: 'North Carolina' },\r\n { value: 'OH', label: 'Ohio' },\r\n { value: 'PA', label: 'Pennsylvania' },\r\n { value: 'RI', label: 'Rhode Island' },\r\n { value: 'SC', label: 'South Carolina' },\r\n { value: 'VT', label: 'Vermont' },\r\n { value: 'VA', label: 'Virginia' },\r\n { value: 'WV', label: 'West Virginia' }\r\n ]\r\n }\r\n];\r\n\r\nexport const data2: Select2Data = [\r\n { value: 'AK', label: 'Alaska' },\r\n { value: 'HI', label: 'Hawaii', disabled: true },\r\n { value: 'CA', label: 'California' },\r\n { value: 'NV', label: 'Nevada' },\r\n { value: 'OR', label: 'Oregon' },\r\n { value: 'WA', label: 'Washington' },\r\n { value: 'AZ', label: 'Arizona' },\r\n { value: 'CO', label: 'Colorado' },\r\n { value: 'ID', label: 'Idaho' },\r\n { value: 'MT', label: 'Montana' },\r\n { value: 'NE', label: 'Nebraska' },\r\n { value: 'NM', label: 'New Mexico' },\r\n { value: 'ND', label: 'North Dakota' },\r\n { value: 'UT', label: 'Utah' },\r\n { value: 'WY', label: 'Wyoming' },\r\n { value: 'AL', label: 'Alabama' },\r\n { value: 'AR', label: 'Arkansas' },\r\n { value: 'IL', label: 'Illinois' },\r\n { value: 'IA', label: 'Iowa' },\r\n { value: 'KS', label: 'Kansas' },\r\n { value: 'KY', label: 'Kentucky' },\r\n { value: 'LA', label: 'Louisiana' },\r\n { value: 'MN', label: 'Minnesota' },\r\n { value: 'MS', label: 'Mississippi' },\r\n { value: 'MO', label: 'Missouri' },\r\n { value: 'OK', label: 'Oklahoma' },\r\n { value: 'SD', label: 'South Dakota' },\r\n { value: 'TX', label: 'Texas' },\r\n { value: 'TN', label: 'Tennessee' },\r\n { value: 'WI', label: 'Wisconsin' },\r\n { value: 'CT', label: 'Connecticut' },\r\n { value: 'DE', label: 'Delaware' },\r\n { value: 'FL', label: 'Florida' },\r\n { value: 'GA', label: 'Georgia' },\r\n { value: 'IN', label: 'Indiana' },\r\n { value: 'ME', label: 'Maine' },\r\n { value: 'MD', label: 'Maryland' },\r\n { value: 'MA', label: 'Massachusetts' },\r\n { value: 'MI', label: 'Michigan' },\r\n { value: 'NH', label: 'New Hampshire' },\r\n { value: 'NJ', label: 'New Jersey' },\r\n { value: 'NY', label: 'New York' },\r\n { value: 'NC', label: 'North Carolina' },\r\n { value: 'OH', label: 'Ohio' },\r\n { value: 'PA', label: 'Pennsylvania' },\r\n { value: 'RI', label: 'Rhode Island' },\r\n { value: 'SC', label: 'South Carolina' },\r\n { value: 'VT', label: 'Vermont' },\r\n { value: 'VA', label: 'Virginia' },\r\n { value: 'WV', label: 'West Virginia' }\r\n];\r\n\r\nexport const data3: Select2Data = [\r\n { value: 'foo', label: 'foo' },\r\n { value: 'bar', label: 'bar' },\r\n { value: 'baz', label: 'baz' }\r\n];\r\n\r\nexport const data5: Select2Data = [\r\n { value: 'foo1', label: 'foo1' },\r\n { value: 'foo2', label: 'foo2' },\r\n { value: 'foo3', label: 'foo3' },\r\n { value: 'foo4', label: 'foo4' },\r\n { value: 'foo5', label: 'foo5' },\r\n { value: 'foo6', label: 'foo6' }\r\n];\r\n\r\nexport const data12: Select2Data = [\r\n { value: true, label: 'true' },\r\n { value: false, label: 'false' }\r\n];\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { AppComponent } from './app.component';\r\nimport { Select2Module } from 'projects/ng-select2-component/src/public_api';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n FormsModule,\r\n Select2Module\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * In development mode, to ignore zone related error stack frames such as\r\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\r\n * import the following file, but please comment it out in production mode\r\n * because it will have performance impact when throw error\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/ng-select2/polyfills.js b/dist/ng-select2/polyfills.js index 7d5696f..507fb7c 100644 --- a/dist/ng-select2/polyfills.js +++ b/dist/ng-select2/polyfills.js @@ -5496,8 +5496,8 @@ __webpack_require__.r(__webpack_exports__); /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -__webpack_require__(/*! c:\Data\sources-svn\pitch\ng-select2\src\polyfills.ts */"./src/polyfills.ts"); -module.exports = __webpack_require__(/*! c:\Data\sources-svn\pitch\ng-select2\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\jit-polyfills.js */"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js"); +__webpack_require__(/*! C:\Data\sources-svn\pitch\ng-select2\src\polyfills.ts */"./src/polyfills.ts"); +module.exports = __webpack_require__(/*! C:\Data\sources-svn\pitch\ng-select2\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\jit-polyfills.js */"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js"); /***/ }) diff --git a/dist/ng-select2/styles.js b/dist/ng-select2/styles.js index 56de796..204ed02 100644 --- a/dist/ng-select2/styles.js +++ b/dist/ng-select2/styles.js @@ -557,7 +557,7 @@ if(false) {} /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(/*! c:\Data\sources-svn\pitch\ng-select2\src\styles.css */"./src/styles.css"); +module.exports = __webpack_require__(/*! C:\Data\sources-svn\pitch\ng-select2\src\styles.css */"./src/styles.css"); /***/ })