(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{

/***/ "../core-ui-fabric-samples/lib/component/Picker.js":
/*!*********************************************************!*\
  !*** ../core-ui-fabric-samples/lib/component/Picker.js ***!
  \*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var StringUtils_1 = __webpack_require__(/*! @twii/core/lib/StringUtils */ "../core/lib/StringUtils.js");
var TagPicker_1 = __webpack_require__(/*! office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker */ "../../node_modules/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js");
var tags = [
    {
        key: "NSW", name: "New South Wales"
    },
    {
        key: "QLD", name: "Queensland",
    },
    {
        key: "VIC", name: "Victoria"
    },
    {
        key: "SA", name: "South Australia"
    },
    {
        key: "WA", name: "Western Australia"
    },
    {
        key: "NT", name: "Northern Territory"
    },
    {
        key: "ACT", name: "Australian Capital Territory"
    },
    {
        key: "TAS", name: "Tasmania"
    }
];
var PickerSamples = /** @class */ (function (_super) {
    __extends(PickerSamples, _super);
    function PickerSamples() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onResolveSuggestions = function (filter, selectedItems) {
            var filtered = tags.filter(function (tag) {
                return StringUtils_1.containsIgnoreCase(tag.name, filter) && !selectedItems.some(function (s) { return s.key === tag.key; });
            });
            return filtered;
        };
        return _this;
    }
    PickerSamples.prototype.render = function () {
        return (React.createElement("div", { className: "picker-samples", style: { padding: 8 } },
            React.createElement("div", { className: "tag-picker-samples-section" },
                React.createElement("h2", null, "Tag Picker Samples"),
                React.createElement(TagPicker_1.TagPicker, { onResolveSuggestions: this._onResolveSuggestions, pickerSuggestionsProps: { noResultsFoundText: "No matching states available" } }))));
    };
    return PickerSamples;
}(React.Component));
exports.PickerSamples = PickerSamples;
exports.default = PickerSamples;


/***/ })

}]);
//# sourceMappingURL=3.js.map