superdesk-ui-framework 4.0.36 → 4.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/app-typescript/components/DatePicker.tsx +1 -0
  2. package/app-typescript/components/DateTimePicker.tsx +1 -0
  3. package/app-typescript/components/DurationInput.tsx +1 -0
  4. package/app-typescript/components/Form/InputWrapper.tsx +16 -3
  5. package/app-typescript/components/FormLabel.tsx +12 -1
  6. package/app-typescript/components/Input.tsx +3 -1
  7. package/app-typescript/components/MultiSelect.tsx +1 -0
  8. package/app-typescript/components/Select.tsx +1 -0
  9. package/app-typescript/components/SelectWithTemplate.tsx +52 -49
  10. package/app-typescript/components/TagInput.tsx +1 -0
  11. package/app-typescript/components/TimePicker.tsx +1 -0
  12. package/app-typescript/components/TimePickerV2.tsx +1 -0
  13. package/app-typescript/components/TreeSelect/TreeSelect.tsx +1 -0
  14. package/app-typescript/components/card.tsx +36 -0
  15. package/dist/components/Card.tsx +24 -0
  16. package/dist/components/Index.tsx +5 -0
  17. package/dist/examples.bundle.js +253 -101
  18. package/dist/superdesk-ui.bundle.js +102 -89
  19. package/examples/pages/components/Card.tsx +24 -0
  20. package/examples/pages/components/Index.tsx +5 -0
  21. package/package.json +1 -1
  22. package/react/components/DatePicker.js +1 -1
  23. package/react/components/DateTimePicker.js +1 -1
  24. package/react/components/DurationInput.js +1 -1
  25. package/react/components/Form/InputWrapper.d.ts +10 -3
  26. package/react/components/Form/InputWrapper.js +8 -4
  27. package/react/components/FormLabel.d.ts +1 -0
  28. package/react/components/FormLabel.js +8 -1
  29. package/react/components/Input.d.ts +2 -1
  30. package/react/components/Input.js +1 -1
  31. package/react/components/MultiSelect.js +1 -1
  32. package/react/components/Select.js +1 -1
  33. package/react/components/SelectWithTemplate.js +1 -1
  34. package/react/components/TagInput.js +1 -1
  35. package/react/components/TimePicker.js +1 -1
  36. package/react/components/TimePickerV2.js +1 -1
  37. package/react/components/TreeSelect/TreeSelect.js +1 -1
@@ -70,7 +70,7 @@ return /******/ (function(modules) { // webpackBootstrap
70
70
  /******/ __webpack_require__.p = "";
71
71
  /******/
72
72
  /******/ // Load entry module and return exports
73
- /******/ return __webpack_require__(__webpack_require__.s = 978);
73
+ /******/ return __webpack_require__(__webpack_require__.s = 980);
74
74
  /******/ })
75
75
  /************************************************************************/
76
76
  /******/ ([
@@ -27786,7 +27786,7 @@ var DatePicker = /** @class */ (function (_super) {
27786
27786
  var showClearButton = this.props.required === true
27787
27787
  ? false
27788
27788
  : this.props.hideClearButton !== true;
27789
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex },
27789
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
27790
27790
  React.createElement(calendar_1.Calendar, { className: 'sd-input__input', footerTemplate: showClearButton ? function () { return (React.createElement("div", { className: 'd-flex justify-end' },
27791
27791
  React.createElement(Button_1.Button, { onClick: function () {
27792
27792
  _this.props.onChange(null);
@@ -43090,7 +43090,7 @@ var DurationInput = /** @class */ (function (_super) {
43090
43090
  React.createElement("span", { className: 'duration-input-preview' }, this.state.seconds),
43091
43091
  React.createElement("span", { className: 'sd-input__suffix' }, "s"))));
43092
43092
  }
43093
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex },
43093
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
43094
43094
  React.createElement("div", { className: 'sd-input__duration-input' },
43095
43095
  React.createElement("input", { className: "duration-input ".concat(this.state.blink === 'hour' ? 'blink_me' : ''), type: 'text', id: 'hours', autoComplete: "off", max: 99, min: 0, ref: this.hourRef, value: this.state.hours, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.minuteRef.current); }, onChange: function (event) { _this.handleChange(event, 'hours'); }, onBlur: function (event) { return _this.setState({ hours: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
43096
43096
  if (!/[0-9]/.test(event.key)) {
@@ -43221,7 +43221,7 @@ var TimePicker = /** @class */ (function (_super) {
43221
43221
  return (React.createElement("div", null,
43222
43222
  React.createElement("span", null, this.props.value)));
43223
43223
  }
43224
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex },
43224
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
43225
43225
  React.createElement("input", { value: this.props.value, type: "time", className: "sd-input__input", id: this.htmlId, "aria-labelledby": this.htmlId + 'label', step: this.props.allowSeconds ? 1 : undefined, required: this.props.required, disabled: this.props.disabled, onChange: function (event) {
43226
43226
  _this.props.onChange(event.target.value);
43227
43227
  }, "data-test-id": this.props['data-test-id'] })));
@@ -44300,8 +44300,12 @@ var InputWrapper = /** @class */ (function (_super) {
44300
44300
  }
44301
44301
  InputWrapper.prototype.render = function () {
44302
44302
  var _a;
44303
- var _b, _c;
44304
- var fullWidth = (_b = this.props.fullWidth) !== null && _b !== void 0 ? _b : true;
44303
+ var _b, _c, _d, _e;
44304
+ if (((_b = this.props.inputWrapper) === null || _b === void 0 ? void 0 : _b.kind) === 'custom') {
44305
+ var Component = this.props.inputWrapper.component;
44306
+ return (React.createElement(Component, { input: this.props.children, label: (_c = this.props.label) !== null && _c !== void 0 ? _c : '' }));
44307
+ }
44308
+ var fullWidth = (_d = this.props.fullWidth) !== null && _d !== void 0 ? _d : true;
44305
44309
  var classes = (0, classnames_1.default)('sd-input', (_a = {
44306
44310
  'sd-input--inline-label': this.props.inlineLabel,
44307
44311
  'sd-input--required': this.props.required,
@@ -44323,8 +44327,8 @@ var InputWrapper = /** @class */ (function (_super) {
44323
44327
  React.createElement("label", { className: labelClasses, htmlFor: this.props.htmlId, id: this.props.htmlId + 'label', tabIndex: this.props.tabindex === undefined ? undefined : -1 }, this.props.label),
44324
44328
  React.createElement("div", { className: "sd-input__input-container" }, this.props.children),
44325
44329
  this.props.maxLength
44326
- && React.createElement("div", { className: 'sd-input__char-count' }, (_c = this.props.value) === null || _c === void 0 ? void 0 :
44327
- _c.toString().length,
44330
+ && React.createElement("div", { className: 'sd-input__char-count' }, (_e = this.props.value) === null || _e === void 0 ? void 0 :
44331
+ _e.toString().length,
44328
44332
  " / ",
44329
44333
  this.props.maxLength),
44330
44334
  React.createElement("div", { className: 'sd-input__message-box' },
@@ -77288,7 +77292,7 @@ var TimePickerV2 = /** @class */ (function (_super) {
77288
77292
  TimePickerV2.prototype.render = function () {
77289
77293
  var _this = this;
77290
77294
  var timeUnitValuesArray = this.updatedTimeUnit();
77291
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, tabindex: this.props.tabindex },
77295
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
77292
77296
  React.createElement("div", { className: 'sd__input__time-picker-v2', "data-test-id": this.props['data-test-id'] },
77293
77297
  React.createElement("div", { className: 'input-wrapper__time-picker-v2' },
77294
77298
  React.createElement("select", { className: 'sd-input__select', value: timeUnitValuesArray[0], onChange: function (_a) {
@@ -77394,7 +77398,7 @@ var TagInput = /** @class */ (function (_super) {
77394
77398
  if (this.props.preview) {
77395
77399
  return (React.createElement(SelectPreview_1.SelectPreview, { kind: { mode: 'multi-select' }, items: this.props.value, getLabel: function (item) { return item; } }));
77396
77400
  }
77397
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex },
77401
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
77398
77402
  React.createElement(chips_1.Chips, { className: "\n tags-input--multi-select sd-input__input\n ".concat(this.props.disabled ? ' tags-input__padding-disabled' : ''), allowDuplicate: false, separator: ",", onChange: function (event) { return onChange(event.value); }, value: value, placeholder: this.props.disabled ? undefined : placeholder, disabled: this.props.disabled })));
77399
77403
  };
77400
77404
  return TagInput;
@@ -78265,7 +78269,7 @@ var TreeSelect = /** @class */ (function (_super) {
78265
78269
  var children = _a.children;
78266
78270
  return React.createElement(React.Fragment, null, children);
78267
78271
  };
78268
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, fullWidth: this.props.fullWidth, "data-test-id": this.props['data-test-id'] },
78272
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, fullWidth: this.props.fullWidth, "data-test-id": this.props['data-test-id'], inputWrapper: this.props.inputWrapper },
78269
78273
  React.createElement("div", { className: "\n tags-input sd-input__input\n tags-input--".concat(this.props.allowMultiple ? 'multi-select' : 'single-select'), ref: this.treeSelectRef, "data-test-id": this.props.allowMultiple ? undefined : 'open-popover' }, this.props.allowMultiple
78270
78274
  ? React.createElement("div", { className: "tags-input__tags" },
78271
78275
  this.props.readOnly
@@ -83297,7 +83301,7 @@ var Input = /** @class */ (function (_super) {
83297
83301
  return (React.createElement("div", null,
83298
83302
  React.createElement("span", null, this.props.value)));
83299
83303
  }
83300
- return (React.createElement(InputWrapper_1.InputWrapper, { label: this.props.label, required: this.props.required, disabled: this.props.disabled, value: this.props.value, error: this.props.error, invalid: this.props.error != null, info: this.props.info, maxLength: this.props.maxLength, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, size: (_a = this.props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: this.props.fullWidth, htmlId: this.htmlId, boxedStyle: this.props.boxedStyle, boxedLable: this.props.boxedLable, tabindex: this.props.tabindex },
83304
+ return (React.createElement(InputWrapper_1.InputWrapper, { label: this.props.label, required: this.props.required, disabled: this.props.disabled, value: this.props.value, error: this.props.error, invalid: this.props.error != null, info: this.props.info, maxLength: this.props.maxLength, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, size: (_a = this.props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: this.props.fullWidth, htmlId: this.htmlId, boxedStyle: this.props.boxedStyle, boxedLable: this.props.boxedLable, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
83301
83305
  React.createElement("input", { className: 'sd-input__input', type: (_b = this.props.type) !== null && _b !== void 0 ? _b : 'text', id: this.htmlId, value: this.props.value, "aria-describedby": this.htmlId + 'label', tabIndex: this.props.tabindex, onChange: this.handleChange, placeholder: this.props.placeholder, disabled: this.props.disabled, "data-test-id": this.props['data-test-id'] })));
83302
83306
  };
83303
83307
  return Input;
@@ -83373,7 +83377,7 @@ var Select = /** @class */ (function (_super) {
83373
83377
  return (React.createElement("div", null,
83374
83378
  React.createElement("span", null, this.props.value)));
83375
83379
  }
83376
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, readonly: this.props.readonly, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, fullWidth: this.props.fullWidth, htmlId: this.htmlId, tabindex: this.props.tabindex },
83380
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, readonly: this.props.readonly, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, fullWidth: this.props.fullWidth, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
83377
83381
  React.createElement("span", { className: 'sd-input__select-caret-wrapper' },
83378
83382
  React.createElement("select", { className: 'sd-input__select', id: this.htmlId, value: this.props.value, "aria-describedby": this.htmlId + 'label', tabIndex: this.props.tabindex, onChange: this.handleChange, disabled: this.props.disabled || this.props.readonly, "data-test-id": this.props['data-test-id'] }, this.props.children))));
83379
83383
  };
@@ -84038,7 +84042,7 @@ var SelectWithTemplate = /** @class */ (function (_super) {
84038
84042
  // needs to be passed to prime react component
84039
84043
  // or it will not be displayed at all, even if returned by itemTemplate
84040
84044
  var fakePlaceholderWithNonBreakingSpace = ' ';
84041
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, required: this.props.required, disabled: this.props.disabled, invalid: this.state.invalid, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, fullWidth: this.props.fullWidth, htmlId: this.htmlId, tabindex: this.props.tabindex },
84045
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, required: this.props.required, disabled: this.props.disabled, invalid: this.state.invalid, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, fullWidth: this.props.fullWidth, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
84042
84046
  React.createElement(dropdown_1.Dropdown, { inputId: this.htmlId, ariaLabelledBy: this.htmlId + 'label', value: valueInternal, options: optionsInternal, onChange: function (e) {
84043
84047
  onChange(e.value == null ? null : e.value.original);
84044
84048
  }, placeholder: fakePlaceholderWithNonBreakingSpace, filterPlaceholder: filterPlaceholder, filter: true, filterBy: labelKey, showClear: !required, emptyFilterMessage: emptyFilterMessage, itemTemplate: function (option) { var _a; return React.createElement(ItemTemplate, { option: (_a = option === null || option === void 0 ? void 0 : option.original) !== null && _a !== void 0 ? _a : null }); }, valueTemplate: function (option) {
@@ -124941,7 +124945,7 @@ var DateTimePicker = /** @class */ (function (_super) {
124941
124945
  var convertedTimeValue = this.props.value != null
124942
124946
  ? "".concat(this.prepareFormat(this.props.value.getHours()), ":").concat(this.prepareFormat(this.props.value.getMinutes()))
124943
124947
  : "";
124944
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, fullWidth: this.props.fullWidth, "data-test-id": this.props["data-test-id"], ref: this.props.ref },
124948
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, fullWidth: this.props.fullWidth, inputWrapper: this.props.inputWrapper, "data-test-id": this.props["data-test-id"], ref: this.props.ref },
124945
124949
  React.createElement(common_1.Spacer, { h: true, gap: "8", alignItems: "end", noWrap: true },
124946
124950
  React.createElement("div", { style: { flexGrow: 1 } },
124947
124951
  React.createElement(DatePicker_1.DatePicker, { disabled: this.props.disabled, preview: this.props.preview, required: this.props.required, hideClearButton: true, value: this.props.value, onChange: function (val) {
@@ -125020,7 +125024,14 @@ var FormLabel = /** @class */ (function (_super) {
125020
125024
  var classes = (0, classnames_1.default)('form-label form-label--block', {
125021
125025
  'form-label--light': this.props.style === 'light',
125022
125026
  });
125023
- return (React.createElement("label", { className: classes, style: this.props.noMinHeight === true ? { minHeight: 'auto' } : undefined }, this.props.text));
125027
+ var style = {};
125028
+ if (this.props.noMinWidth) {
125029
+ style.minWidth = 'auto';
125030
+ }
125031
+ if (this.props.noMinHeight) {
125032
+ style.minHeight = 'auto';
125033
+ }
125034
+ return (React.createElement("label", { className: classes, style: style }, this.props.text));
125024
125035
  };
125025
125036
  return FormLabel;
125026
125037
  }(React.PureComponent));
@@ -155521,7 +155532,7 @@ var MultiSelect = /** @class */ (function (_super) {
155521
155532
  if (this.props.preview) {
155522
155533
  return (React.createElement(SelectPreview_1.SelectPreview, { kind: { mode: 'multi-select' }, items: this.state.value, valueTemplate: this.props.selectedItemTemplate, getLabel: this.props.optionLabel }));
155523
155534
  }
155524
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex },
155535
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, invalid: this.props.error != null, required: this.props.required, disabled: this.props.disabled, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, htmlId: this.htmlId, tabindex: this.props.tabindex, inputWrapper: this.props.inputWrapper },
155525
155536
  React.createElement(multiselect_1.MultiSelect, { panelClassName: classes, value: this.props.value, options: this.props.options, onChange: function (_a) {
155526
155537
  var value = _a.value;
155527
155538
  return _this.props.onChange(value);
@@ -158976,7 +158987,9 @@ angular.module('superdesk-ui.positioner', []).component('sdPositioner', (0, _rea
158976
158987
  /* 975 */,
158977
158988
  /* 976 */,
158978
158989
  /* 977 */,
158979
- /* 978 */
158990
+ /* 978 */,
158991
+ /* 979 */,
158992
+ /* 980 */
158980
158993
  /***/ (function(module, exports, __webpack_require__) {
158981
158994
 
158982
158995
  "use strict";
@@ -159269,40 +159282,38 @@ Object.defineProperty(exports, 'CalendarWeekDayItem', {
159269
159282
  }
159270
159283
  });
159271
159284
 
159272
- __webpack_require__(979);
159285
+ __webpack_require__(981);
159273
159286
 
159274
- __webpack_require__(1014);
159287
+ __webpack_require__(1016);
159275
159288
 
159276
159289
  exports.default = angular.module('superdesk-ui', ['superdesk-ui.helper', 'superdesk-ui.carousel', 'superdesk-ui.wizard', 'superdesk-ui.dropdown', 'superdesk-ui.positioner', 'superdesk-ui.modals', 'superdesk-ui.switch', 'superdesk-ui.check', 'superdesk-ui.circularProgress', 'superdesk-ui.toggleBox', 'superdesk-ui.toggleBoxNext', 'superdesk-ui.tags', 'superdesk-ui.lineInput', 'superdesk-ui.searchHandler', 'superdesk-ui.splitter', 'superdesk-ui.mediaQuery']);
159277
159290
 
159278
159291
  /***/ }),
159279
- /* 979 */
159292
+ /* 981 */
159280
159293
  /***/ (function(module, exports, __webpack_require__) {
159281
159294
 
159282
159295
  "use strict";
159283
159296
 
159284
159297
 
159285
- __webpack_require__(980);
159286
-
159287
- __webpack_require__(994);
159298
+ __webpack_require__(982);
159288
159299
 
159289
159300
  __webpack_require__(996);
159290
159301
 
159291
- __webpack_require__(997);
159292
-
159293
- __webpack_require__(802);
159294
-
159295
159302
  __webpack_require__(998);
159296
159303
 
159297
159304
  __webpack_require__(999);
159298
159305
 
159299
- __webpack_require__(1000);
159306
+ __webpack_require__(802);
159300
159307
 
159301
- __webpack_require__(801);
159308
+ __webpack_require__(1000);
159302
159309
 
159303
159310
  __webpack_require__(1001);
159304
159311
 
159305
- __webpack_require__(1004);
159312
+ __webpack_require__(1002);
159313
+
159314
+ __webpack_require__(801);
159315
+
159316
+ __webpack_require__(1003);
159306
159317
 
159307
159318
  __webpack_require__(1006);
159308
159319
 
@@ -159312,10 +159323,12 @@ __webpack_require__(1010);
159312
159323
 
159313
159324
  __webpack_require__(1012);
159314
159325
 
159315
- __webpack_require__(1013);
159326
+ __webpack_require__(1014);
159327
+
159328
+ __webpack_require__(1015);
159316
159329
 
159317
159330
  /***/ }),
159318
- /* 980 */
159331
+ /* 982 */
159319
159332
  /***/ (function(module, exports, __webpack_require__) {
159320
159333
 
159321
159334
  "use strict";
@@ -159325,22 +159338,22 @@ Object.defineProperty(exports, "__esModule", {
159325
159338
  value: true
159326
159339
  });
159327
159340
 
159328
- __webpack_require__(981);
159341
+ __webpack_require__(983);
159329
159342
 
159330
- __webpack_require__(982);
159343
+ __webpack_require__(984);
159331
159344
 
159332
- __webpack_require__(988);
159345
+ __webpack_require__(990);
159333
159346
 
159334
- __webpack_require__(989);
159347
+ __webpack_require__(991);
159335
159348
 
159336
- __webpack_require__(992);
159349
+ __webpack_require__(994);
159337
159350
 
159338
- __webpack_require__(993);
159351
+ __webpack_require__(995);
159339
159352
 
159340
159353
  exports.default = angular.module('superdesk-ui.helper', ['superdesk-ui.helper.dropdown', 'superdesk-ui.helper.modal', 'superdesk-ui.helper.datepicker', 'superdesk-ui.helper.ngTagsInput']);
159341
159354
 
159342
159355
  /***/ }),
159343
- /* 981 */
159356
+ /* 983 */
159344
159357
  /***/ (function(module, exports, __webpack_require__) {
159345
159358
 
159346
159359
  "use strict";
@@ -159557,7 +159570,7 @@ angular.module('superdesk-ui.helper.dateparser', []).service('dateParser', ['$lo
159557
159570
  }]);
159558
159571
 
159559
159572
  /***/ }),
159560
- /* 982 */
159573
+ /* 984 */
159561
159574
  /***/ (function(module, exports, __webpack_require__) {
159562
159575
 
159563
159576
  "use strict";
@@ -159776,7 +159789,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
159776
159789
  return {
159777
159790
  restrict: 'EA',
159778
159791
  replace: true,
159779
- template: __webpack_require__(983),
159792
+ template: __webpack_require__(985),
159780
159793
  scope: {
159781
159794
  datepickerMode: '=?',
159782
159795
  dateDisabled: '&',
@@ -159798,7 +159811,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
159798
159811
  return {
159799
159812
  restrict: 'EA',
159800
159813
  replace: true,
159801
- template: __webpack_require__(984),
159814
+ template: __webpack_require__(986),
159802
159815
  require: '^datepicker',
159803
159816
  link: function link(scope, element, attrs, ctrl) {
159804
159817
  scope.showWeeks = ctrl.showWeeks;
@@ -159917,7 +159930,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
159917
159930
  return {
159918
159931
  restrict: 'EA',
159919
159932
  replace: true,
159920
- template: __webpack_require__(985),
159933
+ template: __webpack_require__(987),
159921
159934
  require: '^datepicker',
159922
159935
  link: function link(scope, element, attrs, ctrl) {
159923
159936
  ctrl.step = { years: 1 };
@@ -159974,7 +159987,7 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
159974
159987
  return {
159975
159988
  restrict: 'EA',
159976
159989
  replace: true,
159977
- template: __webpack_require__(986),
159990
+ template: __webpack_require__(988),
159978
159991
  require: '^datepicker',
159979
159992
  link: function link(scope, element, attrs, ctrl) {
159980
159993
  var range = ctrl.yearRange;
@@ -160341,42 +160354,42 @@ angular.module('superdesk-ui.helper.datepicker', ['superdesk-ui.helper.dateparse
160341
160354
  restrict: 'EA',
160342
160355
  replace: true,
160343
160356
  transclude: true,
160344
- template: __webpack_require__(987)
160357
+ template: __webpack_require__(989)
160345
160358
  };
160346
160359
  });
160347
160360
 
160348
160361
  /***/ }),
160349
- /* 983 */
160362
+ /* 985 */
160350
160363
  /***/ (function(module, exports) {
160351
160364
 
160352
160365
  module.exports = "<div ng-switch=\"datepickerMode\" role=\"application\" ng-keydown=\"keydown($event)\">\n <daypicker ng-switch-when=\"day\" tabindex=\"0\"></daypicker>\n <monthpicker ng-switch-when=\"month\" tabindex=\"0\"></monthpicker>\n <yearpicker ng-switch-when=\"year\" tabindex=\"0\"></yearpicker>\n</div>";
160353
160366
 
160354
160367
  /***/ }),
160355
- /* 984 */
160368
+ /* 986 */
160356
160369
  /***/ (function(module, exports) {
160357
160370
 
160358
160371
  module.exports = "<table role=\"grid\" aria-labelledby=\"{{::uniqueId}}-title\" aria-activedescendant=\"{{activeDateId}}\">\n <thead>\n <tr>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\" tabindex=\"-1\"><i class=\"icon-chevron-left-thin\"></i></button></th>\n <th colspan=\"{{::5 + showWeeks}}\"><button id=\"{{::uniqueId}}-title\" role=\"heading\" aria-live=\"assertive\" aria-atomic=\"true\" type=\"button\" class=\"btn btn-default btn-sm\" ng-click=\"toggleMode()\" ng-disabled=\"datepickerMode === maxMode\" tabindex=\"-1\" style=\"width:100%;\"><strong>{{title}}</strong></button></th>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-right\" ng-click=\"move(1)\" tabindex=\"-1\"><i class=\"icon-chevron-right-thin\"></i></button></th>\n </tr>\n <tr>\n <th ng-if=\"showWeeks\" class=\"text-center\"></th>\n <th ng-repeat=\"label in ::labels track by $index\" class=\"text-center\"><small aria-label=\"{{::label.full}}\">{{::label.abbr}}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"row in rows track by $index\">\n <td ng-if=\"showWeeks\" class=\"text-center h6\"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat=\"dt in row track by dt.date\" class=\"text-center\" role=\"gridcell\" id=\"{{::dt.uid}}\" ng-class=\"::dt.customClass\">\n <button type=\"button\" style=\"min-width:100%;\" class=\"btn btn-default btn-sm\" ng-class=\"{'btn-info': dt.selected, active: isActive(dt)}\" ng-click=\"select(dt.date)\" ng-disabled=\"dt.disabled\" tabindex=\"-1\"><span ng-class=\"::{'text-muted': dt.secondary, 'text-info': dt.current}\">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n";
160359
160372
 
160360
160373
  /***/ }),
160361
- /* 985 */
160374
+ /* 987 */
160362
160375
  /***/ (function(module, exports) {
160363
160376
 
160364
160377
  module.exports = "<table role=\"grid\" aria-labelledby=\"{{::uniqueId}}-title\" aria-activedescendant=\"{{activeDateId}}\">\n <thead>\n <tr>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\" tabindex=\"-1\"><i class=\"icon-chevron-left-thin\"></i></button></th>\n <th><button id=\"{{::uniqueId}}-title\" role=\"heading\" aria-live=\"assertive\" aria-atomic=\"true\" type=\"button\" class=\"btn btn-default btn-sm\" ng-click=\"toggleMode()\" ng-disabled=\"datepickerMode === maxMode\" tabindex=\"-1\" style=\"width:100%;\"><strong>{{title}}</strong></button></th>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-right\" ng-click=\"move(1)\" tabindex=\"-1\"><i class=\"icon-chevron-right-thin\"></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"row in rows track by $index\">\n <td ng-repeat=\"dt in row track by dt.date\" class=\"text-center\" role=\"gridcell\" id=\"{{::dt.uid}}\" ng-class=\"::dt.customClass\">\n <button type=\"button\" style=\"min-width:100%;\" class=\"btn btn-default\" ng-class=\"{'btn-info': dt.selected, active: isActive(dt)}\" ng-click=\"select(dt.date)\" ng-disabled=\"dt.disabled\" tabindex=\"-1\"><span ng-class=\"::{'text-info': dt.current}\">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n";
160365
160378
 
160366
160379
  /***/ }),
160367
- /* 986 */
160380
+ /* 988 */
160368
160381
  /***/ (function(module, exports) {
160369
160382
 
160370
160383
  module.exports = "<table role=\"grid\" aria-labelledby=\"{{::uniqueId}}-title\" aria-activedescendant=\"{{activeDateId}}\">\n <thead>\n <tr>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\" tabindex=\"-1\"><i class=\"icon-chevron-left-thin\"></i></button></th>\n <th colspan=\"3\"><button id=\"{{::uniqueId}}-title\" role=\"heading\" aria-live=\"assertive\" aria-atomic=\"true\" type=\"button\" class=\"btn btn-default btn-sm\" ng-click=\"toggleMode()\" ng-disabled=\"datepickerMode === maxMode\" tabindex=\"-1\" style=\"width:100%;\"><strong>{{title}}</strong></button></th>\n <th><button type=\"button\" class=\"btn btn-default btn-sm pull-right\" ng-click=\"move(1)\" tabindex=\"-1\"><i class=\"icon-chevron-right-thin\"></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"row in rows track by $index\">\n <td ng-repeat=\"dt in row track by dt.date\" class=\"text-center\" role=\"gridcell\" id=\"{{::dt.uid}}\">\n <button type=\"button\" style=\"min-width:100%;\" class=\"btn btn-default\" ng-class=\"{'btn-info': dt.selected, active: isActive(dt)}\" ng-click=\"select(dt.date)\" ng-disabled=\"dt.disabled\" tabindex=\"-1\"><span ng-class=\"::{'text-info': dt.current}\">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n";
160371
160384
 
160372
160385
  /***/ }),
160373
- /* 987 */
160386
+ /* 989 */
160374
160387
  /***/ (function(module, exports) {
160375
160388
 
160376
160389
  module.exports = "<ul class=\"dropdown-menu\" ng-if=\"isOpen\" style=\"display: block\" ng-style=\"{top: position.top+'px', left: position.left+'px'}\" ng-keydown=\"keydown($event)\" ng-click=\"$event.stopPropagation()\">\n\t<li ng-transclude></li>\n\t<li ng-if=\"showButtonBar\" style=\"padding:10px 9px 2px\">\n\t\t<span class=\"btn-group pull-left\">\n\t\t\t<button type=\"button\" class=\"btn btn-sm btn-info\" ng-click=\"select('today')\">{{ getText('current') }}</button>\n\t\t\t<button type=\"button\" class=\"btn btn-sm btn-danger\" ng-click=\"select(null)\">{{ getText('clear') }}</button>\n\t\t</span>\n\t\t<button type=\"button\" class=\"btn btn-sm btn-success pull-right\" ng-click=\"close()\">{{ getText('close') }}</button>\n\t</li>\n</ul>\n";
160377
160390
 
160378
160391
  /***/ }),
160379
- /* 988 */
160392
+ /* 990 */
160380
160393
  /***/ (function(module, exports, __webpack_require__) {
160381
160394
 
160382
160395
  "use strict";
@@ -160719,7 +160732,7 @@ angular.module('superdesk-ui.helper.dropdown', ['superdesk-ui.helper.position'])
160719
160732
  });
160720
160733
 
160721
160734
  /***/ }),
160722
- /* 989 */
160735
+ /* 991 */
160723
160736
  /***/ (function(module, exports, __webpack_require__) {
160724
160737
 
160725
160738
  "use strict";
@@ -160786,7 +160799,7 @@ angular.module('superdesk-ui.helper.modal', []).factory('$$stackedMap', function
160786
160799
  return {
160787
160800
  restrict: 'EA',
160788
160801
  replace: true,
160789
- template: __webpack_require__(990),
160802
+ template: __webpack_require__(992),
160790
160803
  compile: function compile(tElement, tAttrs) {
160791
160804
  tElement.addClass(tAttrs.backdropClass);
160792
160805
  return linkFn;
@@ -160813,7 +160826,7 @@ angular.module('superdesk-ui.helper.modal', []).factory('$$stackedMap', function
160813
160826
  // templateUrl: function templateUrl(tElement, tAttrs) {
160814
160827
  // return tAttrs.templateUrl || '../app/template/window.html';
160815
160828
  // },
160816
- template: __webpack_require__(991),
160829
+ template: __webpack_require__(993),
160817
160830
  link: function link(scope, element, attrs) {
160818
160831
  element.addClass(attrs.windowClass || '');
160819
160832
  scope.size = attrs.size;
@@ -161190,19 +161203,19 @@ angular.module('superdesk-ui.helper.modal', []).factory('$$stackedMap', function
161190
161203
  });
161191
161204
 
161192
161205
  /***/ }),
161193
- /* 990 */
161206
+ /* 992 */
161194
161207
  /***/ (function(module, exports) {
161195
161208
 
161196
161209
  module.exports = "<div class=\"modal__backdrop fade in\"></div>";
161197
161210
 
161198
161211
  /***/ }),
161199
- /* 991 */
161212
+ /* 993 */
161200
161213
  /***/ (function(module, exports) {
161201
161214
 
161202
161215
  module.exports = "<div modal-render=\"{{$isRendered}}\" tabindex=\"-1\" role=\"dialog\" class=\"modal\"\n modal-animation-class=\"fade\"\n modal-in-class=\"in\"\n ng-style=\"{'z-index': 1050 + index * 10, display: 'block'}\"\n ng-class=\"size ? 'modal--' + size : ''\">\n <div class=\"modal__dialog\">\n <div class=\"modal__content\" modal-transclude></div>\n </div>\n</div>\n";
161203
161216
 
161204
161217
  /***/ }),
161205
- /* 992 */
161218
+ /* 994 */
161206
161219
  /***/ (function(module, exports, __webpack_require__) {
161207
161220
 
161208
161221
  "use strict";
@@ -161365,7 +161378,7 @@ angular.module('superdesk-ui.helper.position', [])
161365
161378
  }]);
161366
161379
 
161367
161380
  /***/ }),
161368
- /* 993 */
161381
+ /* 995 */
161369
161382
  /***/ (function(module, exports, __webpack_require__) {
161370
161383
 
161371
161384
  "use strict";
@@ -162591,7 +162604,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
162591
162604
  })();
162592
162605
 
162593
162606
  /***/ }),
162594
- /* 994 */
162607
+ /* 996 */
162595
162608
  /***/ (function(module, exports, __webpack_require__) {
162596
162609
 
162597
162610
  "use strict";
@@ -162608,7 +162621,7 @@ function CarouselDirective() {
162608
162621
  finish: '&',
162609
162622
  model: '='
162610
162623
  },
162611
- template: __webpack_require__(995),
162624
+ template: __webpack_require__(997),
162612
162625
  transclude: true,
162613
162626
  controllerAs: 'ctrl',
162614
162627
  controller: ['$scope', '$document', function ($scope, $document) {
@@ -162730,13 +162743,13 @@ function CarouselStepDirective() {
162730
162743
  angular.module('superdesk-ui.carousel', []).directive('sdCarousel', CarouselDirective).directive('sdCarouselStep', CarouselStepDirective);
162731
162744
 
162732
162745
  /***/ }),
162733
- /* 995 */
162746
+ /* 997 */
162734
162747
  /***/ (function(module, exports) {
162735
162748
 
162736
162749
  module.exports = "<div class=\"sd-carousel__backdrop\"></div>\n<div class=\"sd-carousel\">\n <div class=\"sd-carousel__dialog\">\n <div class=\"sd-carousel__content\" ng-transclude></div>\n <a class=\"sd-carousel__nav-button sd-carousel__nav-button--prev\" ng-click=\"ctrl.previous()\" ng-hide=\"pageIndex === 0\"></a>\n <a class=\"sd-carousel__nav-button\" ng-click=\"pageIndex === steps.length-1 ? ctrl.finish() : ctrl.next()\" ng-class=\"pageIndex === steps.length-1 ? 'sd-carousel__nav-button--end' : 'sd-carousel__nav-button--next'\"></a>\n <div class=\"sd-carousel__page-indication-bar\">\n <span ng-repeat=\"step in steps\" \n class=\"sd-carousel__page-indicator\" \n ng-class=\"{'sd-carousel__page-indicator--selected': step.selected}\"\n ng-click=\"goTo(step)\">\n </span>\n </div>\n </div>\n</div>";
162737
162750
 
162738
162751
  /***/ }),
162739
- /* 996 */
162752
+ /* 998 */
162740
162753
  /***/ (function(module, exports, __webpack_require__) {
162741
162754
 
162742
162755
  "use strict";
@@ -162839,7 +162852,7 @@ function sdCheck($parse) {
162839
162852
  angular.module('superdesk-ui.check', []).directive('sdCheck', sdCheck);
162840
162853
 
162841
162854
  /***/ }),
162842
- /* 997 */
162855
+ /* 999 */
162843
162856
  /***/ (function(module, exports, __webpack_require__) {
162844
162857
 
162845
162858
  "use strict";
@@ -163019,7 +163032,7 @@ angular.module("superdesk-ui.dropdown", []).directive("dropdown", sdDropdown).di
163019
163032
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(75)))
163020
163033
 
163021
163034
  /***/ }),
163022
- /* 998 */
163035
+ /* 1000 */
163023
163036
  /***/ (function(module, exports, __webpack_require__) {
163024
163037
 
163025
163038
  "use strict";
@@ -163107,7 +163120,7 @@ function sdModal($document, $rootScope) {
163107
163120
  angular.module('superdesk-ui.modals', []).directive('sdModal', sdModal);
163108
163121
 
163109
163122
  /***/ }),
163110
- /* 999 */
163123
+ /* 1001 */
163111
163124
  /***/ (function(module, exports, __webpack_require__) {
163112
163125
 
163113
163126
  "use strict";
@@ -163192,7 +163205,7 @@ function sdSwitch() {
163192
163205
  angular.module('superdesk-ui.switch', []).directive('sdSwitch', sdSwitch);
163193
163206
 
163194
163207
  /***/ }),
163195
- /* 1000 */
163208
+ /* 1002 */
163196
163209
  /***/ (function(module, exports, __webpack_require__) {
163197
163210
 
163198
163211
  "use strict";
@@ -163230,7 +163243,7 @@ function ToggleBoxDirective() {
163230
163243
  angular.module('superdesk-ui.toggleBox', []).directive('sdToggleBox', ToggleBoxDirective);
163231
163244
 
163232
163245
  /***/ }),
163233
- /* 1001 */
163246
+ /* 1003 */
163234
163247
  /***/ (function(module, exports, __webpack_require__) {
163235
163248
 
163236
163249
  "use strict";
@@ -163265,7 +163278,7 @@ function WizardHandlerFactory() {
163265
163278
  WizardDirective.$inject = [];
163266
163279
  function WizardDirective() {
163267
163280
  return {
163268
- template: __webpack_require__(1002),
163281
+ template: __webpack_require__(1004),
163269
163282
  scope: {
163270
163283
  currentStep: '=',
163271
163284
  finish: '&',
@@ -163369,7 +163382,7 @@ function WizardDirective() {
163369
163382
  WizardStepDirective.$inject = [];
163370
163383
  function WizardStepDirective() {
163371
163384
  return {
163372
- template: __webpack_require__(1003),
163385
+ template: __webpack_require__(1005),
163373
163386
  scope: {
163374
163387
  title: '@',
163375
163388
  code: '@',
@@ -163387,19 +163400,19 @@ function WizardStepDirective() {
163387
163400
  angular.module('superdesk-ui.wizard', []).factory('WizardHandler', WizardHandlerFactory).directive('sdWizard', WizardDirective).directive('sdWizardStep', WizardStepDirective);
163388
163401
 
163389
163402
  /***/ }),
163390
- /* 1002 */
163403
+ /* 1004 */
163391
163404
  /***/ (function(module, exports) {
163392
163405
 
163393
163406
  module.exports = "<div class=\"modal__body-header\">\n <ul class=\"nav-tabs\">\n <li ng-repeat=\"step in steps\" ng-class=\"{'nav-tabs__tab--active': step.selected}\" class=\"nav-tabs__tab\">\n <button\n ng-click=\"goTo(step)\"\n ng-disabled=\"step.disabled\"\n ng-hide=\"step.hide\"\n class=\"nav-tabs__link\"\n data-test-id=\"wizard--{{step.title}}\"\n >\n {{ step.title}}\n </button>\n </li>\n </ul>\n</div>\n<div class=\"modal__body-content\" ng-transclude></div>";
163394
163407
 
163395
163408
  /***/ }),
163396
- /* 1003 */
163409
+ /* 1005 */
163397
163410
  /***/ (function(module, exports) {
163398
163411
 
163399
163412
  module.exports = "<div ng-show=\"selected\" class=\"modal-screen\" ng-transclude></div>\r\n";
163400
163413
 
163401
163414
  /***/ }),
163402
- /* 1004 */
163415
+ /* 1006 */
163403
163416
  /***/ (function(module, exports, __webpack_require__) {
163404
163417
 
163405
163418
  "use strict";
@@ -163428,7 +163441,7 @@ function TagInputDirective($q) {
163428
163441
  maxResultsToShow: '='
163429
163442
  },
163430
163443
  require: '?ngModel',
163431
- template: __webpack_require__(1005),
163444
+ template: __webpack_require__(1007),
163432
163445
  link: function link(scope) {
163433
163446
  scope.loadTags = function (query) {
163434
163447
  return $q(function (resolve, reject) {
@@ -163446,13 +163459,13 @@ function TagInputDirective($q) {
163446
163459
  angular.module('superdesk-ui.tags', []).directive('sdTagInput', TagInputDirective);
163447
163460
 
163448
163461
  /***/ }),
163449
- /* 1005 */
163462
+ /* 1007 */
163450
163463
  /***/ (function(module, exports) {
163451
163464
 
163452
163465
  module.exports = "<label class=\"tags-input__label\" ng-if=\"label\">{{label}}</label>\n<tags-input ng-model=\"model\"\n add-from-autocomplete-only=\"{{items ? !freetext : false}}\"\n show-button=\"{{!!items}}\"\n display-property=\"{{field}}\"\n key-property=\"{{keyProperty}}\"\n use-strings=\"{{!field}}\"\n ng-required=\"required\"\n on-tag-added=\"onChange($tag)\"\n on-tag-removed=\"onChange($tag)\"\n replace-spaces-with-dashes=\"{{replaceSpacesWithDashes}}\"\n min-length=\"{{minLength}}\"\n max-length=\"{{maxLength}}\"\n max-tags=\"{{maxTags}}\"\n max-items=\"{{maxItems}}\"\n boxed={{boxed}}\n placeholder=\"{{placeholder}}\">\n\n <auto-complete ng-if=\"items\"\n source=\"loadTags($query)\"\n load-on-empty=\"true\"\n min-length=\"{{minLength}}\"\n display-property=\"{{field}}\"\n key-property=\"{{keyProperty}}\"\n max-results-to-show=\"{{maxResultsToShow}}\">\n </auto-complete>\n</tags-input>\n";
163453
163466
 
163454
163467
  /***/ }),
163455
- /* 1006 */
163468
+ /* 1008 */
163456
163469
  /***/ (function(module, exports, __webpack_require__) {
163457
163470
 
163458
163471
  "use strict";
@@ -163469,7 +163482,7 @@ module.exports = "<label class=\"tags-input__label\" ng-if=\"label\">{{label}}</
163469
163482
  */
163470
163483
  function LineInputDirective() {
163471
163484
  return {
163472
- template: __webpack_require__(1007),
163485
+ template: __webpack_require__(1009),
163473
163486
  replace: true,
163474
163487
  transclude: true,
163475
163488
  require: '?ngModel',
@@ -163511,13 +163524,13 @@ function LineInputDirective() {
163511
163524
  angular.module('superdesk-ui.lineInput', []).directive('sdLineInput', LineInputDirective);
163512
163525
 
163513
163526
  /***/ }),
163514
- /* 1007 */
163527
+ /* 1009 */
163515
163528
  /***/ (function(module, exports) {
163516
163529
 
163517
163530
  module.exports = " <div class=\"sd-line-input\" ng-class=\"{'sd-line-input--dark-ui': dark, 'sd-line-input--boxed': boxed, 'sd-line-input--required': required}\">\n <label class=\"sd-line-input__label\" translate>{{label}}</label>\n\n <input class=\"sd-line-input__input\" type=\"text\" ng-model=\"modelFixed.value\" ng-change=\"update(modelFixed.value)\" ng-blur=\"onblur()\" ng-disabled=\"disabled\" placeholder=\"{{placeholder}}\" ng-if=\"!transclude && !textarea\">\n\n <textarea class=\"sd-line-input__input\"\n ng-model=\"modelFixed.value\"\n ng-change=\"update(modelFixed.value)\"\n ng-blur=\"onblur()\"\n ng-disabled=\"disabled\"\n placeholder=\"{{placeholder}}\"\n ng-if=\"textarea\"\n sd-auto-height>\n </textarea>\n\n <ng-transclude></ng-transclude>\n <div class=\"sd-line-input__char-count\" ng-if=\"maxlength\" sd-character-count data-item=\"modelFixed.value\" data-limit=\"maxlength\" data-html=\"true\"></div>\n</div>\n";
163518
163531
 
163519
163532
  /***/ }),
163520
- /* 1008 */
163533
+ /* 1010 */
163521
163534
  /***/ (function(module, exports, __webpack_require__) {
163522
163535
 
163523
163536
  "use strict";
@@ -163537,7 +163550,7 @@ module.exports = " <div class=\"sd-line-input\" ng-class=\"{'sd-line-input--dark
163537
163550
  */
163538
163551
  function SearchHandlerDirective() {
163539
163552
  return {
163540
- template: __webpack_require__(1009),
163553
+ template: __webpack_require__(1011),
163541
163554
  replace: true,
163542
163555
  transclude: true,
163543
163556
  require: '?ngModel',
@@ -163563,13 +163576,13 @@ function SearchHandlerDirective() {
163563
163576
  angular.module('superdesk-ui.searchHandler', []).directive('sdSearchHandler', SearchHandlerDirective);
163564
163577
 
163565
163578
  /***/ }),
163566
- /* 1009 */
163579
+ /* 1011 */
163567
163580
  /***/ (function(module, exports) {
163568
163581
 
163569
163582
  module.exports = "<div class=\"flat-searchbar extended\">\n <div class=\"search-handler\" ng-class=\"{'search-handler--left-border': borderleft}\">\n <label for=\"search-input\" class=\"trigger-icon\"><i class=\"icon-search\"></i></label>\n <input id=\"search-input\" type=\"text\" placeholder=\"{{ :: label || 'Search' }}\" ng-model=\"model\" ng-model-options=\"{debounce: debounce}\">\n <button class=\"search-close\" ng-if=\"model.length\" ng-click=\"clearInput()\" ng-class=\"{visible: model.length}\"><i class=\"icon-remove-sign\"></i></button>\n\n <button class=\"search-close\" ng-if=\"button && model.length\" ng-click=\"\" ng-class=\"{visible: button && model.length}\">\n <i class=\"big-icon--chevron-right\"></i>\n </button>\n </div>\n</div>\n";
163570
163583
 
163571
163584
  /***/ }),
163572
- /* 1010 */
163585
+ /* 1012 */
163573
163586
  /***/ (function(module, exports, __webpack_require__) {
163574
163587
 
163575
163588
  "use strict";
@@ -163585,7 +163598,7 @@ function sdCircularProgress() {
163585
163598
  error: '=',
163586
163599
  counter: '='
163587
163600
  },
163588
- template: __webpack_require__(1011),
163601
+ template: __webpack_require__(1013),
163589
163602
  link: function link(scope, element) {
163590
163603
  var elem = $(element).find('.progress-svg');
163591
163604
 
@@ -163631,13 +163644,13 @@ angular.module('superdesk-ui.circularProgress', []).directive('sdCircularProgres
163631
163644
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(75)))
163632
163645
 
163633
163646
  /***/ }),
163634
- /* 1011 */
163647
+ /* 1013 */
163635
163648
  /***/ (function(module, exports) {
163636
163649
 
163637
163650
  module.exports = "<div class=\"progress-bar-container\">\n <div class=\"progress-done\" ng-class=\"{'progress-done--completed': status === 'completed', 'progress-done--error': status === 'error'}\">\n <i class=\"icon-ok\" ng-hide=\"status === 'error'\"></i>\n <i class=\"icon-close-small\" ng-hide=\"status === 'completed'\"></i>\n </div>\n <span class=\"progress-text\" ng-if=\"counter\">{{value}}<em>%</em></span>\n <svg class=\"progress-svg\">\n <circle ng-attr-r=\"{{radius}}\" ng-attr-cx=\"50%\" ng-attr-cy=\"50%\"></circle>\n <circle class=\"progressbar\" ng-attr-r=\"{{radius}}\" ng-attr-cx=\"50%\" ng-attr-cy=\"50%\" ng-style=\"{'stroke-dashoffset': dashOffset, 'stroke-dasharray': circumference}\"></circle>\n </svg>\n</div>";
163638
163651
 
163639
163652
  /***/ }),
163640
- /* 1012 */
163653
+ /* 1014 */
163641
163654
  /***/ (function(module, exports, __webpack_require__) {
163642
163655
 
163643
163656
  "use strict";
@@ -163682,7 +163695,7 @@ function SplitterDirective($window) {
163682
163695
  angular.module('superdesk-ui.splitter', []).directive('sdSplitter', SplitterDirective);
163683
163696
 
163684
163697
  /***/ }),
163685
- /* 1013 */
163698
+ /* 1015 */
163686
163699
  /***/ (function(module, exports, __webpack_require__) {
163687
163700
 
163688
163701
  "use strict";
@@ -163723,16 +163736,16 @@ function MediaQuery($window) {
163723
163736
  angular.module('superdesk-ui.mediaQuery', []).directive('sdMediaQuery', MediaQuery);
163724
163737
 
163725
163738
  /***/ }),
163726
- /* 1014 */
163739
+ /* 1016 */
163727
163740
  /***/ (function(module, exports, __webpack_require__) {
163728
163741
 
163729
163742
  "use strict";
163730
163743
 
163731
163744
 
163732
- __webpack_require__(1015);
163745
+ __webpack_require__(1017);
163733
163746
 
163734
163747
  /***/ }),
163735
- /* 1015 */
163748
+ /* 1017 */
163736
163749
  /***/ (function(module, exports) {
163737
163750
 
163738
163751
  // removed by extract-text-webpack-plugin