@spaziodati/atoka-design-system 2.2.39 → 2.2.40
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.
- package/AddableItems/index.js +1 -1
- package/Alert/index.js +1 -1
- package/Badge/index.js +1 -1
- package/Bs4V3Wrapper/index.js +1 -1
- package/BubbleChart/index.js +1 -1
- package/Button/index.js +1 -1
- package/ButtonDropdown/index.js +1 -1
- package/CardsPage/index.js +1 -1
- package/CursorPagination/index.js +1 -1
- package/DatePicker/index.js +1 -1
- package/DetailPage/index.js +1 -1
- package/Dropdown/index.js +1 -1
- package/EditableString/index.js +1 -1
- package/EllipsableContent/index.js +1 -1
- package/EmptyState/index.js +1 -1
- package/Facet/index.js +1 -1
- package/FacetSection/index.js +1 -1
- package/FadeAnimation/index.js +1 -1
- package/FeedbackButton/index.js +1 -1
- package/Form/index.js +1 -1
- package/Funnel/index.js +1 -1
- package/Gauge/index.js +1 -1
- package/GridCard/index.js +1 -1
- package/HighlightableText/index.js +1 -1
- package/Histogram/index.js +1 -1
- package/InlineStringEditor/index.js +1 -1
- package/InputGroup/index.js +1 -1
- package/Jumbotron/index.js +1 -1
- package/Map/index.js +1 -1
- package/Modal/index.js +1 -1
- package/Navbar/index.js +1 -1
- package/Pagination/index.js +1 -1
- package/PieChart/index.js +1 -1
- package/PublicFooter/index.js +1 -1
- package/PublicNavbar/index.js +1 -1
- package/RecordBit/index.js +1 -1
- package/ResultItemCard/index.js +1 -1
- package/RowCard/index.js +1 -1
- package/SelectDropdown/index.js +1 -1
- package/Spinner/index.js +1 -1
- package/StatisticsItemCard/index.js +1 -1
- package/StatisticsItemNumeric/index.js +1 -1
- package/StatisticsLegend/index.js +1 -1
- package/StatisticsTooltip/index.js +1 -1
- package/Suggester/index.js +1 -1
- package/SunBurst/index.js +1 -1
- package/TabSwitcher/index.js +1 -1
- package/Title/index.js +1 -1
- package/Toast/index.js +1 -1
- package/ToggleButtonGroup/index.js +1 -1
- package/Tooltip/index.js +1 -1
- package/Utils/index.js +1 -1
- package/{atoka-design-system-2.2.39.min.css → atoka-design-system-2.2.40.min.css} +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/styles/atoka-bs.less +4 -0
package/CardsPage/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Row")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/pro-light-svg-icons/faEmptySet","@fortawesome/pro-light-svg-icons/faList","@fortawesome/pro-light-svg-icons/faTh","@fortawesome/pro-regular-svg-icons/faChevronDown","@fortawesome/pro-regular-svg-icons/faEllipsisH","@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Badge","react-bootstrap/Button","react-bootstrap/ButtonGroup","react-bootstrap/Card","react-bootstrap/Col","react-bootstrap/Container","react-bootstrap/Dropdown","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/OverlayTrigger","react-bootstrap/Row"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Row")):e["atoka-design-system"]=t(e["@fortawesome/pro-light-svg-icons/faEmptySet"],e["@fortawesome/pro-light-svg-icons/faList"],e["@fortawesome/pro-light-svg-icons/faTh"],e["@fortawesome/pro-regular-svg-icons/faChevronDown"],e["@fortawesome/pro-regular-svg-icons/faEllipsisH"],e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Badge"],e["react-bootstrap/Button"],e["react-bootstrap/ButtonGroup"],e["react-bootstrap/Card"],e["react-bootstrap/Col"],e["react-bootstrap/Container"],e["react-bootstrap/Dropdown"],e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/OverlayTrigger"],e["react-bootstrap/Row"])}(self,(function(e,t,r,n,o,i,a,l,s,c,p,u,f,d,y,m,h,v,b,g){return(()=>{"use strict";var w,O={6627:(e,t,r)=>{r.d(t,{MR:()=>i,ZP:()=>l});var n=r(4329);function o(e){return o="function"==typeof Symbol&&"symbol"===(0,n.Z)(Symbol.iterator)?function(e){return(0,n.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,n.Z)(e)},o(e)}function i(e,t,r){var n=r.value;if("function"!=typeof n)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(n)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof n)return n;var r=n.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return r},set:function(e){n=e,delete this[t]}}),i=!1,r},set:function(e){n=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var r=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof r.value&&Object.defineProperty(e.prototype,t,i(e,t,r))}})),e}function l(){return 1===arguments.length?a.apply(void 0,arguments):i.apply(void 0,arguments)}},595:(e,t,r)=>{r.d(t,{Badge:()=>u});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(6997),s=r.n(l),c=r(5692),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},u=o().memo((function(e){var t=e.size,r=void 0===t?"sm":t,n=p(e,["size"]),i=a()(null==n?void 0:n.className,"atoka-badge","variant-".concat(n.variant,"-").concat(n.color),r),l=a()({"mr-2":null!=n.children}),u=null==n.icon?null:o().createElement(c.FontAwesomeIcon,{icon:n.icon,className:l});return o().createElement(s(),{className:i},u,n.children)}));u.displayName="Badge"},1294:(e,t,r)=>{r.d(t,{Bs4V3Wrapper:()=>c});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){var e=l()("bs4-v3",this.props.className);return i().createElement("div",{className:e},this.props.children)},t.displayName="Bs4V3Wrapper",t}(i().PureComponent)},4397:(e,t,r)=>{r.d(t,{z:()=>y});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=r(8926),c=r.n(s),p=r(5692),u=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(){return f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(e){return null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderChildren=function(e){return null==e?null:i().createElement("span",{className:"btn-children"},e)},t.prototype.renderLeftSide=function(e,t){return null==e?null==t?null:i().createElement(p.FontAwesomeIcon,{icon:t,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderRightSide=function(e,t){return null==t?null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:t})},t.prototype.renderContent=function(e,t){return null!=e&&null==t?this.renderIcon(e):i().createElement("div",{className:"button-content-center-container"},this.renderIcon(e),this.renderChildren(t))},t.prototype.render=function(){var e=this.props,t=e.icon,r=e.iconLeft,n=e.iconRight,o=e.children,a=e.size,s=e.className,p=d(e,["icon","iconLeft","iconRight","children","size","className"]),u=l()("atoka-btn","btn-".concat(a),s,{"btn-icon-only":null!=this.props.icon&&null==this.props.children});return i().createElement(c(),f({className:u},p),this.renderLeftSide(r,n),this.renderContent(t,o),this.renderRightSide(r,n))},t.displayName="Button",t.defaultProps={variant:"primary",size:"md",disabled:!1,block:!1},t}(i().PureComponent)},7325:(e,t,r)=>{r.d(t,{Button:()=>n.z});var n=r(4397)},1907:(e,t,r)=>{r.r(t),r.d(t,{CardsPage:()=>ve,CardsPageSelectionActions:()=>D,CardsPageSelectionActionsProps:()=>n.CardsPageSelectionActionsProps});var n={};r.r(n),r.d(n,{o:()=>D});var o=r(8156),i=r.n(o),a=r(4394),l=r.n(a),s=r(1294),c=r(3915),p=r.n(c),u=r(5315),f=r.n(u),d=r(4915),y=i().memo((function(e){return i().createElement("div",{className:"cards-page-fulltext mt-3"},e.children)}));y.displayName="CardsPageFullText";var m=i().memo((function(e){return i().createElement("div",{className:"cards-page-filters d-flex flex-column flex-lg-row"},e.children)}));m.displayName="CardsPageItemFilter";var h=r(3642),v=function(e){return i().createElement(h.l.Checkbox,{disabled:e.isDisabled,className:"checkbox-container mt-2",label:e.label,onChange:e.onToggle,checked:e.isChecked,id:"allow-selection"})};v.displayName="CardsPageSelectionToggler";var b,g=r(8310),w=r.n(g),O=r(188),C=(b=function(e,t){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},b(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),E=function(){return E=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.getOptions=function(){var e=this,t=this.props.options;if(null==t)return[];var r=[];return t.constructor===Object&&(r=Object.keys(t).reduce((function(e,r){return e.push({value:r,label:t[r]}),e}),[])),null==r?void 0:r.map((function(t){return E(E({},t),{disabled:t.value===e.props.sortValue})}))},t.prototype.render=function(){var e=w()("w-30 flex-grow-1",this.props.className);return i().createElement("span",{className:"d-flex align-items-center"},null==this.props.label&&i().createElement(h.l.Label,{className:"mr-2 mb-0"},this.props.label),i().createElement(O.SelectDropdown,{disabled:this.props.isDisabled,size:"md",className:e,options:this.getOptions(),selected:this.props.sortValue,onSelect:this.props.onSortValueSelect}))},t.displayName="CardsPageSorting",t}(i().PureComponent),P=r(1654),j=r(5797),N=r(7325),x=r(4603),S=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this;return i().createElement("div",{className:"cards-page-layout-mode-container d-flex align-items-center ml-md-3"},i().createElement(x.Tooltip,{placement:"top",content:this.props.btnGridLabel},i().createElement("div",null,i().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:w()("btn-show-as-grid",{"text-muted":"grid"!==this.props.selected}),icon:j.faTh,onClick:function(){return e.props.onSet("grid")}}))),i().createElement(x.Tooltip,{placement:"top",content:this.props.btnListLabel},i().createElement("div",null,i().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:w()("btn-show-as-list",{"text-muted":"list"!==this.props.selected}),icon:P.faList,onClick:function(){return e.props.onSet("list")}}))))},t.displayName="CardsPageLayoutMode",t}(i().PureComponent),T=r(3932),A=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){return this.props.areItemsSelectable?i().createElement("div",{className:"cards-page-selection-action my-3 p-3"},i().createElement("div",{className:"d-flex justify-content-between align-items-center mb-3"},i().createElement(T.Title,{size:"sm"},this.props.title),i().createElement("div",null,i().createElement(N.Button,{variant:"tertiary",onClick:this.props.onSelectAll},this.props.selectAllLabel),i().createElement(N.Button,{variant:"tertiary",onClick:this.props.onUnselectAll,className:"ml-3"},this.props.unselectAllLabel))),i().createElement("div",{className:"d-flex justify-content-between align-items-center"},i().createElement("div",{className:"d-flex flex-wrap align-items-center selection-action-button-and-warning"},this.props.children),i().createElement(N.Button,{variant:"tertiary",onClick:this.props.onCancel},this.props.cancelLabel))):null},t.displayName="CardsPageSelectionActions",t}(i().PureComponent),R=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutHeader",t}(i().PureComponent),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutContent",t}(i().PureComponent),q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return null==this.props.children?null:i().createElement(f(),{className:"ml-auto",xs:3},this.props.children)},t.displayName="RowCardLayoutActions",t}(i().PureComponent),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return i().createElement(p(),{className:"align-items-center"},i().createElement(f(),null,(0,d.z8)(this.props.children,F)),(0,d.z8)(this.props.children,z),(0,d.z8)(this.props.children,q))},t.displayName="RowCardLayout",t.Header=F,t.Content=z,t.Actions=q,t}(i().PureComponent),L=r(1469),B=r(6627),M=r(2494),W=r.n(M),H=r(3808),V=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderCheckbox=function(){return this.props.isSelectable?i().createElement("span",{onClick:this.stopPropagation},i().createElement(h.l.Checkbox,{className:"checkbox-container mb-0",onChange:this.props.onSelect,checked:this.props.isSelected,id:String(this.props.id)})):null},t.prototype.render=function(){return i().createElement("div",{className:"card-title d-flex m-0 align-items-center"},this.renderCheckbox(),(0,d.z8)(this.props.children,H.l))},t.displayName="RowCardHeader",t}(i().PureComponent),G=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return G(t,e),t.prototype.renderCell=function(e,t){return i().createElement(f(),{key:"row-card-content-cell-".concat(t),className:"d-none d-lg-block text-truncate",xs:3},e)},t.prototype.render=function(){var e;return(null!==(e=this.props.cellValues)&&void 0!==e?e:[]).map(this.renderCell)},t.displayName="RowCardContent",t}(i().PureComponent),$=r(2031),U=function(){return U=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U.apply(this,arguments)},J=i().memo((function(e){return i().createElement($.$,U({className:"ml-2"},e))}));J.displayName="RowCardMenu";var Y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Y(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==J&&e.push(t)})),0===e.length?null:i().createElement("div",{className:"w-100 d-flex align-items-center justify-content-end",onClick:this.stopPropagation},e)},t.prototype.render=function(){return i().createElement("div",{className:"row-card-actions text-right"},i().createElement("div",{className:"d-flex align-items-center justify-content-end"},this.renderOtherChildren(),i().createElement("span",null,(0,d.z8)(this.props.children,J))))},t.displayName="RowCardActions",t}(i().PureComponent),X=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ee=function(){return ee=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ee.apply(this,arguments)},te=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},re=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return X(t,e),t.prototype.handleClick=function(){this.props.onSelect&&this.props.onSelect()},t.prototype.render=function(){var e=w()("row-card mb-2",this.props.className,{"is-selectable cursor-pointer":this.props.isSelectable});return i().createElement(W(),{className:e,onClick:this.handleClick},i().createElement(I,null,i().createElement(I.Header,null,i().createElement(Z,ee({},this.props),(0,d.z8)(this.props.children,H.l))),i().createElement(I.Content,null,(0,d.z8)(this.props.children,K)),i().createElement(I.Actions,null,(0,d.z8)(this.props.children,Q))))},t.displayName="RowCard",t.Header=Z,t.Title=H.l,t.Menu=J,t.Content=K,t.Actions=Q,t.defaultProps={isSelected:!1,isSelectable:!1,id:"".concat(Math.random())},te([B.ZP,re("design:type",Function),re("design:paramtypes",[]),re("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().PureComponent),oe=i().memo((function(e){var t=e.children,r=e.emptyStateMessage,n=e.layoutMode,o=e.headerLabel,a=e.rowContentLabels,l=void 0===a?[]:a,s=e.hasRowActions;return null==t?i().createElement("div",{className:"pt-4 pb-5"},i().createElement(L.EmptyState,null,r)):"list"===n?i().createElement(p(),{className:"row-header-cell"},i().createElement(f(),{xs:24,className:"row-content-labels"},i().createElement("div",{className:"px-3 pb-2"},i().createElement(I,null,i().createElement(I.Header,null,o),i().createElement(I.Content,null,i().createElement(ne.Content,{cellValues:l}),s?i().createElement(f(),{xs:3}):null)))),t):i().createElement(p(),{xs:1,sm:2,md:2,lg:3,xl:4},t)}));oe.displayName="CardsPageCards";var ie=function(e){return i().createElement("div",{className:"cards-page-cards-counter mr-5"},e.count," ",e.label)};ie.displayName="CardsPageCardsCounter";var ae=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ae(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==y&&(null==t?void 0:t.type)!==m&&(null==t?void 0:t.type)!==ie&&(null==t?void 0:t.type)!==v&&(null==t?void 0:t.type)!==_&&(null==t?void 0:t.type)!==k&&(null==t?void 0:t.type)!==D&&e.push(t)})),0===e.length?null:e},t.prototype.render=function(){return i().createElement(i().Fragment,null,(0,d.z8)(this.props.children,y),i().createElement("div",{className:"cards-page-sub-filters mt-3 mb-3"},i().createElement(p(),null,i().createElement(f(),{xl:18},(0,d.z8)(this.props.children,m)),i().createElement(f(),{xl:6,className:"mt-3 mt-xl-0"},i().createElement("div",{className:"cards-page-sub-filters-right d-flex flex-column flex-sm-row align-items-start justify-content-end"},(0,d.z8)(this.props.children,_),(0,d.z8)(this.props.children,k))))),i().createElement("div",{className:"d-flex mb-3"},(0,d.z8)(this.props.children,ie),(0,d.z8)(this.props.children,v)),(0,d.z8)(this.props.children,D),this.renderOtherChildren())},t.displayName="CardsPageTabContent",t.FullText=y,t.Filters=m,t.CardsCounter=ie,t.SelectionToggler=v,t.Sorting=_,t.LayoutMode=k,t.SelectionActions=D,t.Cards=oe,t}(i().PureComponent),se=r(994),ce=i().memo((function(e){var t=e.children;return i().createElement(se.r,{fullWidth:!0},t)}));ce.displayName="CardsPageTabSwitcher";var pe=r(38),ue=i().memo((function(e){return i().createElement(pe.D,{size:"lg",className:"cards-page-title"},e.children)}));ue.displayName="CardsPageTitle";var fe=i().memo((function(e){return i().createElement(pe.D,{size:"sm",className:"cards-page-subtitle"},e.children)}));fe.displayName="CardsPageSubtitle";var de=i().memo((function(e){return i().createElement("div",{className:"cards-page-actions d-flex align-items-center"},e.children)}));de.displayName="CardsPageActions";var ye=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ye(t,e),t.prototype.render=function(){return i().createElement("div",{className:"cards-page-header d-flex justify-content-between align-items-start pt-3"},i().createElement("div",null,(0,d.z8)(this.props.children,ue),(0,d.z8)(this.props.children,fe)),i().createElement("div",{className:"cards-page-header d-flex justify-content-end"},(0,d.z8)(this.props.children,de)))},t.displayName="CardsPageHeader",t.Title=ue,t.Subtitle=fe,t.Actions=de,t}(i().PureComponent),he=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return he(t,e),t.prototype.render=function(){return i().createElement(s.Bs4V3Wrapper,null,i().createElement(l(),{className:"cards-page-container"},this.props.children))},t.displayName="CardsPage",t.Header=me,t.TabSwitcher=ce,t.TabContent=le,t}(i().PureComponent)},192:(e,t,r)=>{r.d(t,{AtokaCustomDropdownToggleWithChevron:()=>S,AtokaSimpleDropdownToggle:()=>x,Dropdown:()=>h});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=r(4976),c=r.n(s),p=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=l()("atoka-dropdown-menu",this.props.className,this.props.size);return i().createElement(c().Menu,u({},this.props,{className:e}),this.props.children)},t.displayName="DropdownMenu",t.defaultProps={size:"sm"},t}(i().PureComponent),d=i().memo((function(e){var t=e.children;return i().createElement("div",{className:"atoka-dropdown-section"},t,i().createElement(h.Divider,null))}));d.displayName="DropdownSection";var y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(){return m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(){var e=l()(this.props.className,"atoka-dropdown");return i().createElement(c(),m({},this.props,{className:e}),this.props.children)},t.displayName="DropDown",t.Toggle=c().Toggle,t.Menu=f,t.Item=c().Item,t.Divider=c().Divider,t.Header=c().Header,t.Section=d,t}(i().PureComponent),v=r(6627),b=r(3041),g=r(1349),w=r(7325),O=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},E=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function _(e,t){var r=i().forwardRef((function(e,r){return i().createElement("div",{ref:r},i().createElement(t,{disabled:e.disabled,onClick:e.onClick},e.children))}));return r.displayName=e,r}var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return O(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement(w.Button,{variant:"secondary",size:"xs",icon:b.faEllipsisH,onClick:this.props.disabled?void 0:this.handleClick,disabled:this.props.disabled})},t.displayName="AtokaSimpleDropdownToggleComponent",C([v.ZP,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==i()&&i().SyntheticEvent)?r:Object]),E("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return O(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement("div",{className:"atoka-dropdown-toggle",onClick:this.props.disabled?void 0:this.handleClick},this.props.children)},t.displayName="AtokaCustomDropdownToggleComponent",C([v.ZP,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==i()&&i().SyntheticEvent)?r:Object]),E("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return O(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){var e=l()({"atoka-dropdown-toggle":!0,disabled:this.props.disabled});return i().createElement("div",{className:e,onClick:this.props.disabled?void 0:this.handleClick},this.props.children,i().createElement("div",{className:"chevron-container"},i().createElement(w.Button,{variant:"tertiary",size:"md",icon:g.faChevronDown})))},t.displayName="AtokaCustomDropdownToggleWithChevronComponent ",C([v.ZP,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==i()&&i().SyntheticEvent)?r:Object]),E("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),x=_("AtokaSimpleDropdownToggle",P),S=(_("AtokaCustomDropdownToggle",j),_("AtokaCustomDropdownToggleWithChevron",N))},7045:(e,t,r)=>{r.d(t,{G:()=>m});var n,o=r(8310),i=r.n(o),a=r(8156),l=r.n(a),s=r(4603),c=r(4915),p=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},f=function(e){return l().createElement("div",{className:"ellipsable-content-prepend"},e.children)};f.displayName="EllipsableContent.Prepend";var d=function(e){return l().createElement("div",{className:"ellipsable-content-append"},e.children)};d.displayName="EllipsableContent.Append";var y=function(e){var t=l().createElement("div",{className:"ellipsable-content-content"},e.children);return null==e.tooltip?t:l().createElement(s.Tooltip,u({},e.tooltipProps,{content:e.tooltip}),t)};y.displayName="EllipsableContent.Content";var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.renderFullContent=function(){var e=(0,c.z8)(this.props.children,t.Prepend),r=(0,c.z8)(this.props.children,t.Content),n=(0,c.z8)(this.props.children,t.Append);return null!=r||null==e&&null==n?(null==r&&(r=l().createElement(t.Content,null,this.props.children)),null!=this.props.tooltip&&(r=l().createElement(r.type,u({},r.props,{tooltip:this.props.tooltip,tooltipProps:this.props.tooltipProps}))),l().createElement(l().Fragment,null,e,r,n)):(console.error("You must set a .Content alongside the .Append or .Prepend"),null)},t.prototype.render=function(){var e=i()("ellipsable-content-container align-items-center",this.props.className,{"ellipsable-with-tooltip":null!=this.props.tooltip}),t=this.renderFullContent();return null==t?null:l().createElement("div",{className:e,style:this.props.style},t)},t.displayName="EllipsableContent",t.Prepend=f,t.Append=d,t.Content=y,t}(l().PureComponent)},1469:(e,t,r)=>{r.d(t,{EmptyState:()=>u});var n,o=r(8156),i=r.n(o),a=r(5692),l=r(3402),s=r(8310),c=r.n(s),p=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){return i().createElement("div",{className:c()("atoka-empty-state",this.props.className)},i().createElement("div",{className:"mb-2"},i().createElement(a.FontAwesomeIcon,{icon:l.faEmptySet})),this.props.children)},t.displayName="EmptyState",t}(i().PureComponent)},3642:(e,t,r)=>{r.d(t,{l:()=>m});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=r(7269),p=r(2380),u=r(5145),f=r(8672),d=r(2722),y=function(){return y=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},m=function(e){var t=a()(null==e?void 0:e.className,"atoka-form");return o().createElement(s(),y({},e,{className:t}),e.children)};m.displayName="Form",m.Control=p.N,m.Label=c.l,m.Checkbox=u.z,m.Radio=f.w,m.File=s().File,m.Switch=s().Switch,m.Help=d.y,m.Group=s().Group},5145:(e,t,r)=>{r.d(t,{z:()=>p});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,r=a()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(s().Check,c({type:"checkbox"},e,{custom:!0,className:r,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,r)=>{r.d(t,{N:()=>f});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(1082),s=r.n(l),c=r(7605),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},u=o().forwardRef((function(e,t){var r=e.size,n=void 0===r?"md":r,i=p(e,["size"]),l=a()("atoka-form-control",null==i?void 0:i.className,{"atoka-shadow":i.withShadow,disabled:i.disabled});return o().createElement(s(),{as:i.as,rows:i.rows,cols:i.cols,placeholder:i.placeholder,className:l,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===n?void 0:n,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:t,autoComplete:"off"},i.children)}));u.displayName="FormControlComponent";var f=u;f.FeedBack=c.t,f.displayName="FormControl"},7605:(e,t,r)=>{r.d(t,{t:()=>p});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(1082),s=r.n(l),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},p=o().memo((function(e){var t=e.show,r=void 0===t||t,n=c(e,["show"]),i=a()(null==n?void 0:n.className,"atoka-form-control-feedback",{"d-block":r});return o().createElement(s().Feedback,{type:n.type,className:i},n.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,r)=>{r.d(t,{y:()=>p});var n=r(8763),o=r.n(n),i=r(8156),a=r.n(i),l=r(8310),s=r.n(l),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},p=a().memo((function(e){var t=e.children,r=c(e,["children"]),n=s()("d-block",null==r?void 0:r.className);return a().createElement(o(),{bsPrefix:"atoka-form-help",className:n},t)}));p.displayName="FormHelp"},7269:(e,t,r)=>{r.d(t,{l:()=>c});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=o().memo((function(e){var t=a()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(s().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,r)=>{r.d(t,{w:()=>p});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,r=a()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(s().Check,c({type:"radio"},e,{custom:!0,className:r,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},2031:(e,t,r)=>{r.d(t,{$:()=>s});var n=r(8310),o=r.n(n),i=r(8156),a=r.n(i),l=r(192),s=a().memo((function(e){var t=o()(e.className,"ml-1");return a().createElement("div",{className:t},a().createElement(l.Dropdown,{drop:"left"},a().createElement(l.Dropdown.Toggle,{disabled:!0===e.isDisabled,as:l.AtokaSimpleDropdownToggle}),a().createElement(l.Dropdown.Menu,null,e.children)))}));s.displayName="CardMenu"},3808:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(8156),o=r.n(n),i=r(7045),a=r(38),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},s=o().memo((function(e){var t,r=[];return o().Children.forEach(e.children,(function(e){var t;"EllipsableContent"===(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.displayName)&&r.push(e)})),r.length>0?e.children:o().createElement(i.G,{tooltip:null!==(t=e.tooltip)&&void 0!==t?t:null,tooltipProps:l({delay:200},e.tooltipProps)},o().createElement(a.D,{size:"sm",className:"mb-0"},e.children))}));s.displayName="CardTitle"},188:(e,t,r)=>{r.d(t,{SelectDropdown:()=>h});var n,o=r(6627),i=r(8156),a=r.n(i),l=r(4976),s=r.n(l),c=r(8310),p=r.n(c),u=r(192),f=r(4589),d=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),y=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r,n;return d(t,e),t.prototype.renderOptions=function(){return this.props.options.map(this.renderItem)},t.prototype.renderItem=function(e){var t,r,n,o="".concat(e.value);return e.isDivider?a().createElement(u.Dropdown.Divider,{key:o}):a().createElement(u.Dropdown.Item,{key:o,disabled:e.disabled,eventKey:o},null!==(n=null===(r=(t=this.props).renderValue)||void 0===r?void 0:r.call(t,e))&&void 0!==n?n:e.label)},t.prototype.renderSelectedValue=function(){var e,t,r,n=this,o=a().createElement("span",{className:"placeholder"},this.props.placeholder);if(null==this.props.selected)return o;var i=this.props.options.find((function(e){return e.value===n.props.selected}));return null==i?o:null!==(r=null===(t=(e=this.props).renderSelectedValue)||void 0===t?void 0:t.call(e,i))&&void 0!==r?r:i.label},Object.defineProperty(t.prototype,"popperConfig",{get:function(){if(this.props.isFixed)return{strategy:"fixed",modifiers:[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state,r=t.elements.reference;t.elements.popper.style.width="".concat(r.offsetWidth,"px")}}]}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=p()("atoka-select-dropdown",this.props.className,this.props.size,{"is-invalid":this.props.isInvalid}),t=p()("atoka-select-dropdown-menu",this.props.size,this.props.menuClassName);return a().createElement(u.Dropdown,{onSelect:this.props.onSelect,className:e,drop:this.props.direction},a().createElement(u.Dropdown.Toggle,{disabled:this.props.disabled,as:u.AtokaCustomDropdownToggleWithChevron},a().createElement("span",{className:"dropdown-toggle-text-container"},this.renderSelectedValue())),a().createElement(s().Menu,{className:t,flip:!1,popperConfig:this.popperConfig},this.renderOptions()))},t.displayName="SelectDropdown",t.defaultProps={size:"md",placeholder:"--",direction:"down"},y([o.ZP,m("design:type",Function),m("design:paramtypes",["function"==typeof(r=void 0!==f.OptionData&&f.OptionData)?r:Object]),m("design:returntype","function"==typeof(n=void 0!==a()&&a().ReactNode)?n:Object)],t.prototype,"renderItem",null),t}(a().PureComponent)},994:(e,t,r)=>{r.d(t,{r:()=>w});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=r(5901),c=r.n(s),p=r(4915),u=r(6627),f=r(4589),d=r(595),y=r(3932),m=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={width:null},t.containerRef=i().createRef(),t}var r;return m(t,e),t.prototype.componentDidMount=function(){null!=this.containerRef.current&&this.setState({width:this.containerRef.current.getBoundingClientRect().width+48})},t.prototype.renderTitle=function(){if("number"==typeof this.props.value)return i().createElement(i().Fragment,null,this.props.title,this.renderPillPresence(this.props.value,this.props.isActive));if((0,f.isStringEmpty)(this.props.value))return this.props.title;var e=this.props.isActive?"blue300":"gray300";return i().createElement(i().Fragment,null,this.props.title," ",i().createElement(d.Badge,{variant:"primary",color:e,className:"ml-2"},this.props.value))},t.prototype.renderPillPresence=function(e,t){var r=0!==e,n=l()("pill-presence ml-1",{"is-active-color":r&&t,"is-disabled-color":r&&!t,"is-invisible":!r});return i().createElement("div",{className:n})},t.prototype.render=function(){var e=l()({active:!0===this.props.isActive,"tab-switcher-choice":!0}),t=null==this.state.width?{}:{width:this.state.width};return i().createElement("div",{className:e,onClick:this.props.onClick,ref:this.containerRef,style:t},i().createElement(y.Title,{size:"xs",icon:this.props.icon,style:{paddingLeft:0,paddingRight:0}},this.renderTitle()))},t.displayName="TabSwitcherChoice",h([u.MR,v("design:type",Function),v("design:paramtypes",[]),v("design:returntype","function"==typeof(r=void 0!==i()&&i().ReactNode)?r:Object)],t.prototype,"renderTitle",null),t}(i().PureComponent),g=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={indicatorLeft:0,indicatorWidth:0},t.refObjects=[],t}return g(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout((function(){return e.calculateIndicatorPosition()}),10)},t.prototype.componentDidUpdate=function(e){(0,p.vZ)(e,this.props)||this.calculateIndicatorPosition()},t.prototype.calculateIndicatorPosition=function(){var e=this;i().Children.forEach(this.props.children,(function(t,r){var n;if((null==t?void 0:t.type)===b&&!1!==t.props.isActive){var o=null===(n=e.refObjects[r])||void 0===n?void 0:n.current;null!=o&&e.setState({indicatorLeft:o.offsetLeft,indicatorWidth:o.offsetWidth})}}))},t.prototype.renderIndicator=function(){var e={transform:"translate(".concat(this.state.indicatorLeft,"px, 0)"),width:this.state.indicatorWidth};return i().createElement("span",{className:"indicator",style:e})},t.prototype.renderChildren=function(){var e=this,t=[];return i().Children.forEach(this.props.children,(function(r,n){null==e.refObjects[n]&&(e.refObjects[n]=i().createRef()),(null==r?void 0:r.type)===b&&t.push(i().createElement("span",{ref:e.refObjects[n],key:n},r))})),t},t.prototype.renderTabSwitcherRest=function(){return this.props.fullWidth?i().createElement("span",{className:"tab-switcher-rest"}):null},t.prototype.render=function(){var e=l()("tab-switcher-container",this.props.className,{"w-100":this.props.fullWidth});return i().createElement(c(),{style:{position:"relative"},className:e},this.renderIndicator(),this.renderChildren(),this.renderTabSwitcherRest())},t.displayName="TabSwitcher",t.Choice=b,t.defaultProps={fullWidth:!1},t}(i().PureComponent)},38:(e,t,r)=>{r.d(t,{D:()=>u});var n,o=r(8156),i=r.n(o),a=r(5692),l=r(8310),s=r.n(l),c=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(){return p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){if(null==this.props.icon)return null;var e=s()({"mr-2":""!==this.props.children&&null!=this.props.children});return i().createElement(a.FontAwesomeIcon,{icon:this.props.icon,className:e,fixedWidth:!0})},t.prototype.renderContent=function(){return i().createElement(i().Fragment,null,this.renderIcon(),this.props.children)},t.prototype.render=function(){var e={className:this.props.className,style:this.props.style};switch(this.props.size){case"xs":return i().createElement("h6",p({},e),this.renderContent());case"sm":return i().createElement("h5",p({},e),this.renderContent());case"md":return i().createElement("h4",p({},e),this.renderContent());case"lg":return i().createElement("h3",p({},e),this.renderContent());case"xl":return i().createElement("h2",p({},e),this.renderContent());default:return i().createElement("h1",p({},e),this.renderContent())}},t.displayName="Title",t.defaultProps={size:"xxl"},t}(i().PureComponent)},3932:(e,t,r)=>{r.d(t,{Title:()=>n.D});var n=r(38)},4603:(e,t,r)=>{r.d(t,{Tooltip:()=>u});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(6043),s=r.n(l),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},u=o().memo((function(e){var t,r=document.querySelector(".bs4-v3-external-container"),n=null!==(t=e.placement)&&void 0!==t?t:"top",i=a()("tooltip atoka-tooltip",e.className,{"top bs-tooltip-top":0===n.indexOf("top"),"right bs-tooltip-right":0===n.indexOf("right"),"bottom bs-tooltip-bottom":0===n.indexOf("bottom"),"left bs-tooltip-left":0===n.indexOf("left")}),l=e.content,u=p(e,["content"]);return o().createElement(s(),c({},u,{container:r,overlay:function(e){var t=e.arrowProps,r=p(e,["arrowProps"]),n=(r.show,p(r,["show"]));return o().createElement("div",c({},n,{className:i,role:"tooltip"}),o().createElement("div",{className:"tooltip-inner"},o().createElement("div",c({className:"arrow arrow-back"},t)),l,o().createElement("div",c({className:"arrow arrow-front"},t))))}}),e.children)}));u.displayName="Tooltip"},3654:()=>{},5909:(e,t,r)=>{r(4915)},2394:(e,t,r)=>{r.d(t,{Wq:()=>n});function n(e){return null==e||null!==e.match(/^\s*$/)}},4915:(e,t,r)=>{r.d(t,{z8:()=>i,vZ:()=>l});r(5692);var n=r(8156),o=r.n(n);r(3642);function i(e,t){var r,n;return null!==(n=null===(r=function(e,t){var r=[];return o().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&r.push(e)})),r}(e,t))||void 0===r?void 0:r[0])&&void 0!==n?n:null}function a(e){return"object"==typeof e&&null!=e}function l(e,t){if(e===t)return!0;if(a(e)&&a(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!l(e[r],t[r]))return!1;return!0}return!1}},4589:(e,t,r)=>{r.d(t,{OptionData:()=>n.nJ,isStringEmpty:()=>o.Wq});var n=r(3654),o=(r(5909),r(4915),r(2394))},3402:t=>{t.exports=e},1654:e=>{e.exports=t},5797:e=>{e.exports=r},1349:e=>{e.exports=n},3041:e=>{e.exports=o},5692:e=>{e.exports=i},8310:e=>{e.exports=a},8156:e=>{e.exports=l},6997:e=>{e.exports=s},8926:e=>{e.exports=c},5901:e=>{e.exports=p},2494:e=>{e.exports=u},5315:e=>{e.exports=f},4394:e=>{e.exports=d},4976:e=>{e.exports=y},8721:e=>{e.exports=m},1082:e=>{e.exports=h},8763:e=>{e.exports=v},6043:e=>{e.exports=b},3915:e=>{e.exports=g},4329:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})}},C={};function E(e){var t=C[e];if(void 0!==t)return t.exports;var r=C[e]={exports:{}};return O[e](r,r.exports,E),r.exports}E.m=O,w=[],E.O=(e,t,r,n)=>{if(!t){var o=1/0;for(s=0;s<w.length;s++){for(var[t,r,n]=w[s],i=!0,a=0;a<t.length;a++)(!1&n||o>=n)&&Object.keys(E.O).every((e=>E.O[e](t[a])))?t.splice(a--,1):(i=!1,n<o&&(o=n));if(i){w.splice(s--,1);var l=r();void 0!==l&&(e=l)}}return e}n=n||0;for(var s=w.length;s>0&&w[s-1][2]>n;s--)w[s]=w[s-1];w[s]=[t,r,n]},E.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return E.d(t,{a:t}),t},E.d=(e,t)=>{for(var r in t)E.o(t,r)&&!E.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},E.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),E.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6001:0,54:0,4548:0,6615:0,8621:0,8016:0,6740:0,7564:0,2823:0,9156:0};E.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[i,a,l]=r,s=0;if(i.some((t=>0!==e[t]))){for(n in a)E.o(a,n)&&(E.m[n]=a[n]);if(l)var c=l(E)}for(t&&t(r);s<i.length;s++)o=i[s],E.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return E.O(c)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var _=E.O(void 0,[9156],(()=>E(1907)));return _=E.O(_)})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Row")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/pro-light-svg-icons/faEmptySet","@fortawesome/pro-light-svg-icons/faList","@fortawesome/pro-light-svg-icons/faTh","@fortawesome/pro-regular-svg-icons/faChevronDown","@fortawesome/pro-regular-svg-icons/faEllipsisH","@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Badge","react-bootstrap/Button","react-bootstrap/ButtonGroup","react-bootstrap/Card","react-bootstrap/Col","react-bootstrap/Container","react-bootstrap/Dropdown","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/OverlayTrigger","react-bootstrap/Row"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Row")):e["atoka-design-system"]=t(e["@fortawesome/pro-light-svg-icons/faEmptySet"],e["@fortawesome/pro-light-svg-icons/faList"],e["@fortawesome/pro-light-svg-icons/faTh"],e["@fortawesome/pro-regular-svg-icons/faChevronDown"],e["@fortawesome/pro-regular-svg-icons/faEllipsisH"],e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Badge"],e["react-bootstrap/Button"],e["react-bootstrap/ButtonGroup"],e["react-bootstrap/Card"],e["react-bootstrap/Col"],e["react-bootstrap/Container"],e["react-bootstrap/Dropdown"],e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/OverlayTrigger"],e["react-bootstrap/Row"])}(self,(function(e,t,r,n,o,i,a,l,s,c,p,u,f,d,y,m,h,v,b,g){return(()=>{"use strict";var w,O={6627:(e,t,r)=>{r.d(t,{MR:()=>i,ZP:()=>l});var n=r(4329);function o(e){return o="function"==typeof Symbol&&"symbol"===(0,n.Z)(Symbol.iterator)?function(e){return(0,n.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,n.Z)(e)},o(e)}function i(e,t,r){var n=r.value;if("function"!=typeof n)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(n)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof n)return n;var r=n.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return r},set:function(e){n=e,delete this[t]}}),i=!1,r},set:function(e){n=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var r=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof r.value&&Object.defineProperty(e.prototype,t,i(e,t,r))}})),e}function l(){return 1===arguments.length?a.apply(void 0,arguments):i.apply(void 0,arguments)}},595:(e,t,r)=>{r.d(t,{Badge:()=>u});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(6997),s=r.n(l),c=r(5692),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},u=o().memo((function(e){var t=e.size,r=void 0===t?"sm":t,n=p(e,["size"]),i=a()(null==n?void 0:n.className,"atoka-badge","variant-".concat(n.variant,"-").concat(n.color),r),l=a()({"mr-2":null!=n.children}),u=null==n.icon?null:o().createElement(c.FontAwesomeIcon,{icon:n.icon,className:l});return o().createElement(s(),{className:i},u,n.children)}));u.displayName="Badge"},1294:(e,t,r)=>{r.d(t,{Bs4V3Wrapper:()=>c});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){var e=l()("bs4-v3",this.props.className);return i().createElement("div",{className:e},this.props.children)},t.displayName="Bs4V3Wrapper",t}(i().PureComponent)},4397:(e,t,r)=>{r.d(t,{z:()=>y});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=r(8926),c=r.n(s),p=r(5692),u=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(){return f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(e){return null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderChildren=function(e){return null==e?null:i().createElement("span",{className:"btn-children"},e)},t.prototype.renderLeftSide=function(e,t){return null==e?null==t?null:i().createElement(p.FontAwesomeIcon,{icon:t,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderRightSide=function(e,t){return null==t?null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:t})},t.prototype.renderContent=function(e,t){return null!=e&&null==t?this.renderIcon(e):i().createElement("div",{className:"button-content-center-container"},this.renderIcon(e),this.renderChildren(t))},t.prototype.render=function(){var e=this.props,t=e.icon,r=e.iconLeft,n=e.iconRight,o=e.children,a=e.size,s=e.className,p=d(e,["icon","iconLeft","iconRight","children","size","className"]),u=l()("atoka-btn","btn-".concat(a),s,{"btn-icon-only":null!=this.props.icon&&null==this.props.children});return i().createElement(c(),f({className:u},p),this.renderLeftSide(r,n),this.renderContent(t,o),this.renderRightSide(r,n))},t.displayName="Button",t.defaultProps={variant:"primary",size:"md",disabled:!1,block:!1},t}(i().PureComponent)},7325:(e,t,r)=>{r.d(t,{Button:()=>n.z});var n=r(4397)},1907:(e,t,r)=>{r.r(t),r.d(t,{CardsPage:()=>ve,CardsPageSelectionActions:()=>D,CardsPageSelectionActionsProps:()=>n.CardsPageSelectionActionsProps});var n={};r.r(n),r.d(n,{o:()=>D});var o=r(8156),i=r.n(o),a=r(4394),l=r.n(a),s=r(1294),c=r(3915),p=r.n(c),u=r(5315),f=r.n(u),d=r(4915),y=i().memo((function(e){return i().createElement("div",{className:"cards-page-fulltext mt-3"},e.children)}));y.displayName="CardsPageFullText";var m=i().memo((function(e){return i().createElement("div",{className:"cards-page-filters d-flex flex-column flex-lg-row"},e.children)}));m.displayName="CardsPageItemFilter";var h=r(3642),v=function(e){return i().createElement(h.l.Checkbox,{disabled:e.isDisabled,className:"checkbox-container mt-2",label:e.label,onChange:e.onToggle,checked:e.isChecked,id:"allow-selection"})};v.displayName="CardsPageSelectionToggler";var b,g=r(8310),w=r.n(g),O=r(188),C=(b=function(e,t){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},b(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),E=function(){return E=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.getOptions=function(){var e=this,t=this.props.options;if(null==t)return[];var r=[];return t.constructor===Object&&(r=Object.keys(t).reduce((function(e,r){return e.push({value:r,label:t[r]}),e}),[])),null==r?void 0:r.map((function(t){return E(E({},t),{disabled:t.value===e.props.sortValue})}))},t.prototype.render=function(){var e=w()("w-30 flex-grow-1",this.props.className);return i().createElement("span",{className:"d-flex align-items-center"},null==this.props.label&&i().createElement(h.l.Label,{className:"mr-2 mb-0"},this.props.label),i().createElement(O.SelectDropdown,{disabled:this.props.isDisabled,size:"md",className:e,options:this.getOptions(),selected:this.props.sortValue,onSelect:this.props.onSortValueSelect}))},t.displayName="CardsPageSorting",t}(i().PureComponent),P=r(1654),j=r(5797),N=r(7325),x=r(4603),S=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this;return i().createElement("div",{className:"cards-page-layout-mode-container d-flex align-items-center ml-md-3"},i().createElement(x.Tooltip,{placement:"top",content:this.props.btnGridLabel},i().createElement("div",null,i().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:w()("btn-show-as-grid",{"text-muted":"grid"!==this.props.selected}),icon:j.faTh,onClick:function(){return e.props.onSet("grid")}}))),i().createElement(x.Tooltip,{placement:"top",content:this.props.btnListLabel},i().createElement("div",null,i().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:w()("btn-show-as-list",{"text-muted":"list"!==this.props.selected}),icon:P.faList,onClick:function(){return e.props.onSet("list")}}))))},t.displayName="CardsPageLayoutMode",t}(i().PureComponent),T=r(3932),A=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){return this.props.areItemsSelectable?i().createElement("div",{className:"cards-page-selection-action my-3 p-3"},i().createElement("div",{className:"d-flex justify-content-between align-items-center mb-3"},i().createElement(T.Title,{size:"sm"},this.props.title),i().createElement("div",null,i().createElement(N.Button,{variant:"tertiary",onClick:this.props.onSelectAll},this.props.selectAllLabel),i().createElement(N.Button,{variant:"tertiary",onClick:this.props.onUnselectAll,className:"ml-3"},this.props.unselectAllLabel))),i().createElement("div",{className:"d-flex justify-content-between align-items-center"},i().createElement("div",{className:"d-flex flex-wrap align-items-center selection-action-button-and-warning"},this.props.children),i().createElement(N.Button,{variant:"tertiary",onClick:this.props.onCancel},this.props.cancelLabel))):null},t.displayName="CardsPageSelectionActions",t}(i().PureComponent),R=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutHeader",t}(i().PureComponent),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutContent",t}(i().PureComponent),q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return null==this.props.children?null:i().createElement(f(),{className:"ml-auto",xs:3},this.props.children)},t.displayName="RowCardLayoutActions",t}(i().PureComponent),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return i().createElement(p(),{className:"align-items-center"},i().createElement(f(),null,(0,d.z8)(this.props.children,F)),(0,d.z8)(this.props.children,z),(0,d.z8)(this.props.children,q))},t.displayName="RowCardLayout",t.Header=F,t.Content=z,t.Actions=q,t}(i().PureComponent),L=r(1469),B=r(6627),M=r(2494),W=r.n(M),H=r(3808),V=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderCheckbox=function(){return this.props.isSelectable?i().createElement("span",{onClick:this.stopPropagation},i().createElement(h.l.Checkbox,{className:"checkbox-container mb-0",onChange:this.props.onSelect,checked:this.props.isSelected,id:String(this.props.id)})):null},t.prototype.render=function(){return i().createElement("div",{className:"card-title d-flex m-0 align-items-center"},this.renderCheckbox(),(0,d.z8)(this.props.children,H.l))},t.displayName="RowCardHeader",t}(i().PureComponent),G=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return G(t,e),t.prototype.renderCell=function(e,t){return i().createElement(f(),{key:"row-card-content-cell-".concat(t),className:"d-none d-lg-block text-truncate",xs:3},e)},t.prototype.render=function(){var e;return(null!==(e=this.props.cellValues)&&void 0!==e?e:[]).map(this.renderCell)},t.displayName="RowCardContent",t}(i().PureComponent),$=r(2031),U=function(){return U=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U.apply(this,arguments)},J=i().memo((function(e){return i().createElement($.$,U({className:"ml-2"},e))}));J.displayName="RowCardMenu";var Y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Y(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==J&&e.push(t)})),0===e.length?null:i().createElement("div",{className:"w-100 d-flex align-items-center justify-content-end",onClick:this.stopPropagation},e)},t.prototype.render=function(){return i().createElement("div",{className:"row-card-actions text-right"},i().createElement("div",{className:"d-flex align-items-center justify-content-end"},this.renderOtherChildren(),i().createElement("span",null,(0,d.z8)(this.props.children,J))))},t.displayName="RowCardActions",t}(i().PureComponent),X=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ee=function(){return ee=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ee.apply(this,arguments)},te=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},re=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return X(t,e),t.prototype.handleClick=function(){this.props.onSelect&&this.props.onSelect()},t.prototype.render=function(){var e=w()("row-card mb-2",this.props.className,{"is-selectable cursor-pointer":this.props.isSelectable});return i().createElement(W(),{className:e,onClick:this.handleClick},i().createElement(I,null,i().createElement(I.Header,null,i().createElement(Z,ee({},this.props),(0,d.z8)(this.props.children,H.l))),i().createElement(I.Content,null,(0,d.z8)(this.props.children,K)),i().createElement(I.Actions,null,(0,d.z8)(this.props.children,Q))))},t.displayName="RowCard",t.Header=Z,t.Title=H.l,t.Menu=J,t.Content=K,t.Actions=Q,t.defaultProps={isSelected:!1,isSelectable:!1,id:"".concat(Math.random())},te([B.ZP,re("design:type",Function),re("design:paramtypes",[]),re("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().PureComponent),oe=i().memo((function(e){var t=e.children,r=e.emptyStateMessage,n=e.layoutMode,o=e.headerLabel,a=e.rowContentLabels,l=void 0===a?[]:a,s=e.hasRowActions;return null==t?i().createElement("div",{className:"pt-4 pb-5"},i().createElement(L.EmptyState,null,r)):"list"===n?i().createElement(p(),{className:"row-header-cell"},i().createElement(f(),{xs:24,className:"row-content-labels"},i().createElement("div",{className:"px-3 pb-2"},i().createElement(I,null,i().createElement(I.Header,null,o),i().createElement(I.Content,null,i().createElement(ne.Content,{cellValues:l}),s?i().createElement(f(),{xs:3}):null)))),t):i().createElement(p(),{xs:1,sm:2,md:2,lg:3,xl:4},t)}));oe.displayName="CardsPageCards";var ie=function(e){return i().createElement("div",{className:"cards-page-cards-counter mr-5"},e.count," ",e.label)};ie.displayName="CardsPageCardsCounter";var ae=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ae(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==y&&(null==t?void 0:t.type)!==m&&(null==t?void 0:t.type)!==ie&&(null==t?void 0:t.type)!==v&&(null==t?void 0:t.type)!==_&&(null==t?void 0:t.type)!==k&&(null==t?void 0:t.type)!==D&&e.push(t)})),0===e.length?null:e},t.prototype.render=function(){return i().createElement(i().Fragment,null,(0,d.z8)(this.props.children,y),i().createElement("div",{className:"cards-page-sub-filters mt-3 mb-3"},i().createElement(p(),null,i().createElement(f(),{xl:18},(0,d.z8)(this.props.children,m)),i().createElement(f(),{xl:6,className:"mt-3 mt-xl-0"},i().createElement("div",{className:"cards-page-sub-filters-right d-flex flex-column flex-sm-row align-items-start justify-content-end"},(0,d.z8)(this.props.children,_),(0,d.z8)(this.props.children,k))))),i().createElement("div",{className:"d-flex mb-3"},(0,d.z8)(this.props.children,ie),(0,d.z8)(this.props.children,v)),(0,d.z8)(this.props.children,D),this.renderOtherChildren())},t.displayName="CardsPageTabContent",t.FullText=y,t.Filters=m,t.CardsCounter=ie,t.SelectionToggler=v,t.Sorting=_,t.LayoutMode=k,t.SelectionActions=D,t.Cards=oe,t}(i().PureComponent),se=r(994),ce=i().memo((function(e){var t=e.children;return i().createElement(se.r,{fullWidth:!0},t)}));ce.displayName="CardsPageTabSwitcher";var pe=r(38),ue=i().memo((function(e){return i().createElement(pe.D,{size:"lg",className:"cards-page-title"},e.children)}));ue.displayName="CardsPageTitle";var fe=i().memo((function(e){return i().createElement(pe.D,{size:"sm",className:"cards-page-subtitle"},e.children)}));fe.displayName="CardsPageSubtitle";var de=i().memo((function(e){return i().createElement("div",{className:"cards-page-actions d-flex align-items-center"},e.children)}));de.displayName="CardsPageActions";var ye=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ye(t,e),t.prototype.render=function(){return i().createElement("div",{className:"cards-page-header d-flex justify-content-between align-items-start pt-3"},i().createElement("div",null,(0,d.z8)(this.props.children,ue),(0,d.z8)(this.props.children,fe)),i().createElement("div",{className:"cards-page-header d-flex justify-content-end"},(0,d.z8)(this.props.children,de)))},t.displayName="CardsPageHeader",t.Title=ue,t.Subtitle=fe,t.Actions=de,t}(i().PureComponent),he=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return he(t,e),t.prototype.render=function(){return i().createElement(s.Bs4V3Wrapper,null,i().createElement(l(),{className:"cards-page-container"},this.props.children))},t.displayName="CardsPage",t.Header=me,t.TabSwitcher=ce,t.TabContent=le,t}(i().PureComponent)},192:(e,t,r)=>{r.d(t,{AtokaCustomDropdownToggleWithChevron:()=>S,AtokaSimpleDropdownToggle:()=>x,Dropdown:()=>h});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=r(4976),c=r.n(s),p=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=l()("atoka-dropdown-menu",this.props.className,this.props.size);return i().createElement(c().Menu,u({},this.props,{className:e}),this.props.children)},t.displayName="DropdownMenu",t.defaultProps={size:"sm"},t}(i().PureComponent),d=i().memo((function(e){var t=e.children;return i().createElement("div",{className:"atoka-dropdown-section"},t,i().createElement(h.Divider,null))}));d.displayName="DropdownSection";var y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(){return m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(){var e=l()(this.props.className,"atoka-dropdown");return i().createElement(c(),m({},this.props,{className:e}),this.props.children)},t.displayName="DropDown",t.Toggle=c().Toggle,t.Menu=f,t.Item=c().Item,t.Divider=c().Divider,t.Header=c().Header,t.Section=d,t}(i().PureComponent),v=r(6627),b=r(3041),g=r(1349),w=r(7325),O=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},E=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function _(e,t){var r=i().forwardRef((function(e,r){return i().createElement("div",{ref:r},i().createElement(t,{disabled:e.disabled,onClick:e.onClick},e.children))}));return r.displayName=e,r}var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return O(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement(w.Button,{variant:"secondary",size:"xs",icon:b.faEllipsisH,onClick:this.props.disabled?void 0:this.handleClick,disabled:this.props.disabled})},t.displayName="AtokaSimpleDropdownToggleComponent",C([v.ZP,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==i()&&i().SyntheticEvent)?r:Object]),E("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return O(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement("div",{className:"atoka-dropdown-toggle",onClick:this.props.disabled?void 0:this.handleClick},this.props.children)},t.displayName="AtokaCustomDropdownToggleComponent",C([v.ZP,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==i()&&i().SyntheticEvent)?r:Object]),E("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return O(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){var e=l()({"atoka-dropdown-toggle":!0,disabled:this.props.disabled});return i().createElement("div",{className:e,onClick:this.props.disabled?void 0:this.handleClick},this.props.children,i().createElement("div",{className:"chevron-container"},i().createElement(w.Button,{variant:"tertiary",size:"md",icon:g.faChevronDown})))},t.displayName="AtokaCustomDropdownToggleWithChevronComponent ",C([v.ZP,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==i()&&i().SyntheticEvent)?r:Object]),E("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),x=_("AtokaSimpleDropdownToggle",P),S=(_("AtokaCustomDropdownToggle",j),_("AtokaCustomDropdownToggleWithChevron",N))},7045:(e,t,r)=>{r.d(t,{G:()=>m});var n,o=r(8310),i=r.n(o),a=r(8156),l=r.n(a),s=r(4603),c=r(4915),p=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},f=function(e){return l().createElement("div",{className:"ellipsable-content-prepend"},e.children)};f.displayName="EllipsableContent.Prepend";var d=function(e){return l().createElement("div",{className:"ellipsable-content-append"},e.children)};d.displayName="EllipsableContent.Append";var y=function(e){var t=l().createElement("div",{className:"ellipsable-content-content"},e.children);return null==e.tooltip?t:l().createElement(s.Tooltip,u({},e.tooltipProps,{content:e.tooltip}),t)};y.displayName="EllipsableContent.Content";var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.renderFullContent=function(){var e=(0,c.z8)(this.props.children,t.Prepend),r=(0,c.z8)(this.props.children,t.Content),n=(0,c.z8)(this.props.children,t.Append);return null!=r||null==e&&null==n?(null==r&&(r=l().createElement(t.Content,null,this.props.children)),null!=this.props.tooltip&&(r=l().createElement(r.type,u({},r.props,{tooltip:this.props.tooltip,tooltipProps:this.props.tooltipProps}))),l().createElement(l().Fragment,null,e,r,n)):(console.error("You must set a .Content alongside the .Append or .Prepend"),null)},t.prototype.render=function(){var e=i()("ellipsable-content-container align-items-center",this.props.className,{"ellipsable-with-tooltip":null!=this.props.tooltip}),t=this.renderFullContent();return null==t?null:l().createElement("div",{className:e,style:this.props.style},t)},t.displayName="EllipsableContent",t.Prepend=f,t.Append=d,t.Content=y,t}(l().PureComponent)},1469:(e,t,r)=>{r.d(t,{EmptyState:()=>u});var n,o=r(8156),i=r.n(o),a=r(5692),l=r(3402),s=r(8310),c=r.n(s),p=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){return i().createElement("div",{className:c()("atoka-empty-state",this.props.className)},i().createElement("div",{className:"mb-2"},i().createElement(a.FontAwesomeIcon,{icon:l.faEmptySet})),this.props.children)},t.displayName="EmptyState",t}(i().PureComponent)},3642:(e,t,r)=>{r.d(t,{l:()=>m});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=r(7269),p=r(2380),u=r(5145),f=r(8672),d=r(2722),y=function(){return y=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},m=function(e){var t=a()(null==e?void 0:e.className,"atoka-form");return o().createElement(s(),y({},e,{className:t}),e.children)};m.displayName="Form",m.Control=p.N,m.Label=c.l,m.Checkbox=u.z,m.Radio=f.w,m.File=s().File,m.Switch=s().Switch,m.Help=d.y,m.Group=s().Group},5145:(e,t,r)=>{r.d(t,{z:()=>p});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,r=a()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(s().Check,c({type:"checkbox"},e,{custom:!0,className:r,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,r)=>{r.d(t,{N:()=>f});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(1082),s=r.n(l),c=r(7605),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},u=o().forwardRef((function(e,t){var r=e.size,n=void 0===r?"md":r,i=p(e,["size"]),l=a()("atoka-form-control",null==i?void 0:i.className,{"atoka-shadow":i.withShadow,disabled:i.disabled});return o().createElement(s(),{as:i.as,rows:i.rows,cols:i.cols,placeholder:i.placeholder,className:l,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===n?void 0:n,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:t,autoComplete:"off"},i.children)}));u.displayName="FormControlComponent";var f=u;f.FeedBack=c.t,f.displayName="FormControl"},7605:(e,t,r)=>{r.d(t,{t:()=>p});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(1082),s=r.n(l),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},p=o().memo((function(e){var t=e.show,r=void 0===t||t,n=c(e,["show"]),i=a()(null==n?void 0:n.className,"atoka-form-control-feedback",{"d-block":r});return o().createElement(s().Feedback,{type:n.type,className:i},n.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,r)=>{r.d(t,{y:()=>p});var n=r(8763),o=r.n(n),i=r(8156),a=r.n(i),l=r(8310),s=r.n(l),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},p=a().memo((function(e){var t=e.children,r=c(e,["children"]),n=s()("d-block",null==r?void 0:r.className);return a().createElement(o(),{bsPrefix:"atoka-form-help",className:n},t)}));p.displayName="FormHelp"},7269:(e,t,r)=>{r.d(t,{l:()=>c});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=o().memo((function(e){var t=a()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(s().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,r)=>{r.d(t,{w:()=>p});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(8721),s=r.n(l),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,r=a()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(s().Check,c({type:"radio"},e,{custom:!0,className:r,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},2031:(e,t,r)=>{r.d(t,{$:()=>s});var n=r(8310),o=r.n(n),i=r(8156),a=r.n(i),l=r(192),s=a().memo((function(e){var t=o()(e.className,"ml-1");return a().createElement("div",{className:t},a().createElement(l.Dropdown,{drop:"left"},a().createElement(l.Dropdown.Toggle,{disabled:!0===e.isDisabled,as:l.AtokaSimpleDropdownToggle}),a().createElement(l.Dropdown.Menu,null,e.children)))}));s.displayName="CardMenu"},3808:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(8156),o=r.n(n),i=r(7045),a=r(38),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},s=o().memo((function(e){var t,r=[];return o().Children.forEach(e.children,(function(e){var t;"EllipsableContent"===(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.displayName)&&r.push(e)})),r.length>0?e.children:o().createElement(i.G,{tooltip:null!==(t=e.tooltip)&&void 0!==t?t:null,tooltipProps:l({delay:200},e.tooltipProps)},o().createElement(a.D,{size:"sm",className:"mb-0"},e.children))}));s.displayName="CardTitle"},188:(e,t,r)=>{r.d(t,{SelectDropdown:()=>h});var n,o=r(6627),i=r(8156),a=r.n(i),l=r(4976),s=r.n(l),c=r(8310),p=r.n(c),u=r(192),f=r(4589),d=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),y=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r,n;return d(t,e),t.prototype.renderOptions=function(){return this.props.options.map(this.renderItem)},t.prototype.renderItem=function(e){var t,r,n,o="".concat(e.value);return e.isDivider?a().createElement(u.Dropdown.Divider,{key:o}):a().createElement(u.Dropdown.Item,{key:o,disabled:e.disabled,eventKey:o},null!==(n=null===(r=(t=this.props).renderValue)||void 0===r?void 0:r.call(t,e))&&void 0!==n?n:e.label)},t.prototype.renderSelectedValue=function(){var e,t,r,n=this,o=a().createElement("span",{className:"placeholder"},this.props.placeholder);if(null==this.props.selected)return o;var i=this.props.options.find((function(e){return e.value===n.props.selected}));return null==i?o:null!==(r=null===(t=(e=this.props).renderSelectedValue)||void 0===t?void 0:t.call(e,i))&&void 0!==r?r:i.label},Object.defineProperty(t.prototype,"popperConfig",{get:function(){if(this.props.isFixed)return{strategy:"fixed",modifiers:[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state,r=t.elements.reference;t.elements.popper.style.width="".concat(r.offsetWidth,"px")}}]}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=p()("atoka-select-dropdown",this.props.className,this.props.size,{"is-invalid":this.props.isInvalid}),t=p()("atoka-select-dropdown-menu",this.props.size,this.props.menuClassName);return a().createElement(u.Dropdown,{onSelect:this.props.onSelect,className:e,drop:this.props.direction},a().createElement(u.Dropdown.Toggle,{disabled:this.props.disabled,as:u.AtokaCustomDropdownToggleWithChevron},a().createElement("span",{className:"dropdown-toggle-text-container"},this.renderSelectedValue())),a().createElement(s().Menu,{className:t,flip:!1,popperConfig:this.popperConfig},this.renderOptions()))},t.displayName="SelectDropdown",t.defaultProps={size:"md",placeholder:"--",direction:"down"},y([o.ZP,m("design:type",Function),m("design:paramtypes",["function"==typeof(r=void 0!==f.OptionData&&f.OptionData)?r:Object]),m("design:returntype","function"==typeof(n=void 0!==a()&&a().ReactNode)?n:Object)],t.prototype,"renderItem",null),t}(a().PureComponent)},994:(e,t,r)=>{r.d(t,{r:()=>w});var n,o=r(8156),i=r.n(o),a=r(8310),l=r.n(a),s=r(5901),c=r.n(s),p=r(4915),u=r(6627),f=r(4589),d=r(595),y=r(3932),m=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={width:null},t.containerRef=i().createRef(),t}var r;return m(t,e),t.prototype.componentDidMount=function(){null!=this.containerRef.current&&this.setState({width:this.containerRef.current.getBoundingClientRect().width+48})},t.prototype.renderTitle=function(){if("number"==typeof this.props.value)return i().createElement(i().Fragment,null,this.props.title,this.renderPillPresence(this.props.value,this.props.isActive));if((0,f.isStringEmpty)(this.props.value))return this.props.title;var e=this.props.isActive?"blue300":"gray300";return i().createElement(i().Fragment,null,this.props.title," ",i().createElement(d.Badge,{variant:"primary",color:e,className:"ml-2"},this.props.value))},t.prototype.renderPillPresence=function(e,t){var r=0!==e,n=l()("pill-presence ml-1",{"is-active-color":r&&t,"is-disabled-color":r&&!t,"is-invisible":!r});return i().createElement("div",{className:n})},t.prototype.render=function(){var e=l()({active:!0===this.props.isActive,"tab-switcher-choice":!0}),t=null==this.state.width?{}:{width:this.state.width};return i().createElement("div",{className:e,onClick:this.props.onClick,ref:this.containerRef,style:t},i().createElement(y.Title,{size:"xs",icon:this.props.icon,style:{paddingLeft:0,paddingRight:0}},this.renderTitle()))},t.displayName="TabSwitcherChoice",h([u.MR,v("design:type",Function),v("design:paramtypes",[]),v("design:returntype","function"==typeof(r=void 0!==i()&&i().ReactNode)?r:Object)],t.prototype,"renderTitle",null),t}(i().PureComponent),g=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={indicatorLeft:0,indicatorWidth:0},t.refObjects=[],t}return g(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout((function(){return e.calculateIndicatorPosition()}),10)},t.prototype.componentDidUpdate=function(e){(0,p.vZ)(e,this.props)||this.calculateIndicatorPosition()},t.prototype.calculateIndicatorPosition=function(){var e=this;i().Children.forEach(this.props.children,(function(t,r){var n;if((null==t?void 0:t.type)===b&&!1!==t.props.isActive){var o=null===(n=e.refObjects[r])||void 0===n?void 0:n.current;null!=o&&e.setState({indicatorLeft:o.offsetLeft,indicatorWidth:o.offsetWidth})}}))},t.prototype.renderIndicator=function(){var e={transform:"translate(".concat(this.state.indicatorLeft,"px, 0)"),width:this.state.indicatorWidth};return i().createElement("span",{className:"indicator",style:e})},t.prototype.renderChildren=function(){var e=this,t=[];return i().Children.forEach(this.props.children,(function(r,n){null==e.refObjects[n]&&(e.refObjects[n]=i().createRef()),(null==r?void 0:r.type)===b&&t.push(i().createElement("span",{ref:e.refObjects[n],key:n},r))})),t},t.prototype.renderTabSwitcherRest=function(){return this.props.fullWidth?i().createElement("span",{className:"tab-switcher-rest"}):null},t.prototype.render=function(){var e=l()("tab-switcher-container",this.props.className,{"w-100":this.props.fullWidth});return i().createElement(c(),{style:{position:"relative"},className:e},this.renderIndicator(),this.renderChildren(),this.renderTabSwitcherRest())},t.displayName="TabSwitcher",t.Choice=b,t.defaultProps={fullWidth:!1},t}(i().PureComponent)},38:(e,t,r)=>{r.d(t,{D:()=>u});var n,o=r(8156),i=r.n(o),a=r(5692),l=r(8310),s=r.n(l),c=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(){return p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){if(null==this.props.icon)return null;var e=s()({"mr-2":""!==this.props.children&&null!=this.props.children});return i().createElement(a.FontAwesomeIcon,{icon:this.props.icon,className:e,fixedWidth:!0})},t.prototype.renderContent=function(){return i().createElement(i().Fragment,null,this.renderIcon(),this.props.children)},t.prototype.render=function(){var e={className:this.props.className,style:this.props.style};switch(this.props.size){case"xs":return i().createElement("h6",p({},e),this.renderContent());case"sm":return i().createElement("h5",p({},e),this.renderContent());case"md":return i().createElement("h4",p({},e),this.renderContent());case"lg":return i().createElement("h3",p({},e),this.renderContent());case"xl":return i().createElement("h2",p({},e),this.renderContent());default:return i().createElement("h1",p({},e),this.renderContent())}},t.displayName="Title",t.defaultProps={size:"xxl"},t}(i().PureComponent)},3932:(e,t,r)=>{r.d(t,{Title:()=>n.D});var n=r(38)},4603:(e,t,r)=>{r.d(t,{Tooltip:()=>u});var n=r(8156),o=r.n(n),i=r(8310),a=r.n(i),l=r(6043),s=r.n(l),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},u=o().memo((function(e){var t,r=document.querySelector(".bs4-v3-external-container"),n=null!==(t=e.placement)&&void 0!==t?t:"top",i=a()("tooltip atoka-tooltip",e.className,{"top bs-tooltip-top":0===n.indexOf("top"),"right bs-tooltip-right":0===n.indexOf("right"),"bottom bs-tooltip-bottom":0===n.indexOf("bottom"),"left bs-tooltip-left":0===n.indexOf("left")}),l=e.content,u=p(e,["content"]);return o().createElement(s(),c({},u,{container:r,overlay:function(e){var t=e.arrowProps,r=p(e,["arrowProps"]),n=(r.show,p(r,["show"]));return o().createElement("div",c({},n,{className:i,role:"tooltip"}),o().createElement("div",{className:"tooltip-inner"},o().createElement("div",c({className:"arrow arrow-back"},t)),l,o().createElement("div",c({className:"arrow arrow-front"},t))))}}),e.children)}));u.displayName="Tooltip"},3654:()=>{},5909:(e,t,r)=>{r(4915)},2394:(e,t,r)=>{r.d(t,{Wq:()=>n});function n(e){return null==e||null!==e.match(/^\s*$/)}},4915:(e,t,r)=>{r.d(t,{z8:()=>i,vZ:()=>l});r(5692);var n=r(8156),o=r.n(n);r(3642);function i(e,t){var r,n;return null!==(n=null===(r=function(e,t){var r=[];return o().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&r.push(e)})),r}(e,t))||void 0===r?void 0:r[0])&&void 0!==n?n:null}function a(e){return"object"==typeof e&&null!=e}function l(e,t){if(e===t)return!0;if(a(e)&&a(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!l(e[r],t[r]))return!1;return!0}return!1}},4589:(e,t,r)=>{r.d(t,{OptionData:()=>n.nJ,isStringEmpty:()=>o.Wq});var n=r(3654),o=(r(5909),r(4915),r(2394))},3402:t=>{t.exports=e},1654:e=>{e.exports=t},5797:e=>{e.exports=r},1349:e=>{e.exports=n},3041:e=>{e.exports=o},5692:e=>{e.exports=i},8310:e=>{e.exports=a},8156:e=>{e.exports=l},6997:e=>{e.exports=s},8926:e=>{e.exports=c},5901:e=>{e.exports=p},2494:e=>{e.exports=u},5315:e=>{e.exports=f},4394:e=>{e.exports=d},4976:e=>{e.exports=y},8721:e=>{e.exports=m},1082:e=>{e.exports=h},8763:e=>{e.exports=v},6043:e=>{e.exports=b},3915:e=>{e.exports=g},4329:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})}},C={};function E(e){var t=C[e];if(void 0!==t)return t.exports;var r=C[e]={exports:{}};return O[e](r,r.exports,E),r.exports}E.m=O,w=[],E.O=(e,t,r,n)=>{if(!t){var o=1/0;for(s=0;s<w.length;s++){for(var[t,r,n]=w[s],i=!0,a=0;a<t.length;a++)(!1&n||o>=n)&&Object.keys(E.O).every((e=>E.O[e](t[a])))?t.splice(a--,1):(i=!1,n<o&&(o=n));if(i){w.splice(s--,1);var l=r();void 0!==l&&(e=l)}}return e}n=n||0;for(var s=w.length;s>0&&w[s-1][2]>n;s--)w[s]=w[s-1];w[s]=[t,r,n]},E.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return E.d(t,{a:t}),t},E.d=(e,t)=>{for(var r in t)E.o(t,r)&&!E.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},E.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),E.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6001:0,54:0,4548:0,6615:0,8621:0,8016:0,6740:0,7564:0,2823:0,4802:0};E.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[i,a,l]=r,s=0;if(i.some((t=>0!==e[t]))){for(n in a)E.o(a,n)&&(E.m[n]=a[n]);if(l)var c=l(E)}for(t&&t(r);s<i.length;s++)o=i[s],E.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return E.O(c)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var _=E.O(void 0,[4802],(()=>E(1907)));return _=E.O(_)})()}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Pagination")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/pro-light-svg-icons/faChevronLeft","@fortawesome/pro-light-svg-icons/faChevronRight","@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/Pagination"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Pagination")):e["atoka-design-system"]=t(e["@fortawesome/pro-light-svg-icons/faChevronLeft"],e["@fortawesome/pro-light-svg-icons/faChevronRight"],e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/Pagination"])}(self,(function(e,t,o,r,n,a,i,l,s){return(()=>{"use strict";var c,p={6627:(e,t,o)=>{o.d(t,{ZP:()=>l});var r=o(4329);function n(e){return n="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},n(e)}function a(e,t,o){var r=o.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(n(r)));var a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var o=r.bind(this);return a=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return o},set:function(e){r=e,delete this[t]}}),a=!1,o},set:function(e){r=e}}}function i(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,a(e,t,o))}})),e}function l(){return 1===arguments.length?i.apply(void 0,arguments):a.apply(void 0,arguments)}},3871:(e,t,o)=>{o.r(t),o.d(t,{CursorPagination:()=>v});var r,n=o(6627),a=o(8310),i=o.n(a),l=o(8156),s=o.n(l),c=o(9924),p=o.n(c),u=o(4915),f=o(9255),y=o(8385),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e,t,o,r){var n,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(i=(a<3?n(i):a>3?n(t,o,i):n(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},b=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.handlePreviousPage=function(){null!=this.props.previousPage&&(this.props.onSetPage(this.props.previousPage),(0,u.k3)())},t.prototype.handleNextPage=function(){null!=this.props.nextPage&&(this.props.onSetPage(this.props.nextPage),(0,u.k3)())},t.prototype.renderPrev=function(){return null==this.props.previousPage?null:s().createElement(f.K,{handlePrevPage:this.handlePreviousPage})},t.prototype.renderNext=function(){return null==this.props.nextPage?null:s().createElement(y.$,{handleNextPage:this.handleNextPage})},t.prototype.render=function(){if(null==this.props.previousPage&&null==this.props.nextPage)return null;var e=i()(this.props.className,"atoka-pagination","justify-content-center align-items-center");return s().createElement(p(),{className:e},this.renderPrev(),this.renderNext())},t.displayName="CursorPagination",m([n.ZP,b("design:type",Function),b("design:paramtypes",[]),b("design:returntype",void 0)],t.prototype,"handlePreviousPage",null),m([n.ZP,b("design:type",Function),b("design:paramtypes",[]),b("design:returntype",void 0)],t.prototype,"handleNextPage",null),t}(s().PureComponent)},3642:(e,t,o)=>{var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=o(7269),p=o(2380),u=o(5145),f=o(8672),y=o(2722),d=function(){return d=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},d.apply(this,arguments)},m=function(e){var t=i()(null==e?void 0:e.className,"atoka-form");return n().createElement(s(),d({},e,{className:t}),e.children)};m.displayName="Form",m.Control=p.N,m.Label=c.l,m.Checkbox=u.z,m.Radio=f.w,m.File=s().File,m.Switch=s().Switch,m.Help=y.y,m.Group=s().Group},5145:(e,t,o)=>{o.d(t,{z:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=function(){return c=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},c.apply(this,arguments)},p=function(e){var t,o=i()("atoka-form-checkbox",null==e?void 0:e.className);return n().createElement(s().Check,c({type:"checkbox"},e,{custom:!0,className:o,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,o)=>{o.d(t,{N:()=>f});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(1082),s=o.n(l),c=o(7605),p=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},u=n().forwardRef((function(e,t){var o=e.size,r=void 0===o?"md":o,a=p(e,["size"]),l=i()("atoka-form-control",null==a?void 0:a.className,{"atoka-shadow":a.withShadow,disabled:a.disabled});return n().createElement(s(),{as:a.as,rows:a.rows,cols:a.cols,placeholder:a.placeholder,className:l,disabled:a.disabled,readOnly:a.readOnly,value:a.value,onChange:a.onChange,onKeyPress:a.onKeyPress,onKeyDown:a.onKeyDown,defaultValue:a.defaultValue,size:"md"===r?void 0:r,type:a.type,id:a.id,isValid:a.isValid,isInvalid:a.isInvalid,ref:t,autoComplete:"off"},a.children)}));u.displayName="FormControlComponent";var f=u;f.FeedBack=c.t,f.displayName="FormControl"},7605:(e,t,o)=>{o.d(t,{t:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(1082),s=o.n(l),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=n().memo((function(e){var t=e.show,o=void 0===t||t,r=c(e,["show"]),a=i()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":o});return n().createElement(s().Feedback,{type:r.type,className:a},r.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,o)=>{o.d(t,{y:()=>p});var r=o(8763),n=o.n(r),a=o(8156),i=o.n(a),l=o(8310),s=o.n(l),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=i().memo((function(e){var t=e.children,o=c(e,["children"]),r=s()("d-block",null==o?void 0:o.className);return i().createElement(n(),{bsPrefix:"atoka-form-help",className:r},t)}));p.displayName="FormHelp"},7269:(e,t,o)=>{o.d(t,{l:()=>c});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=n().memo((function(e){var t=i()(null==e?void 0:e.className,"atoka-form-label");return n().createElement(s().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,o)=>{o.d(t,{w:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=function(){return c=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},c.apply(this,arguments)},p=function(e){var t,o=i()(null==e?void 0:e.className,"atoka-form-radio");return n().createElement(s().Check,c({type:"radio"},e,{custom:!0,className:o,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},8385:(e,t,o)=>{o.d(t,{$:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(5692),s=o(3987),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=function(e){var t=e.show,o=void 0===t||t,r=c(e,["show"]),a=i()({"pagination-button next":!0,invisible:!o});return n().createElement("span",{className:a,onClick:r.handleNextPage},n().createElement(l.FontAwesomeIcon,{icon:s.faChevronRight}))};p.displayName="PaginationNext"},9255:(e,t,o)=>{o.d(t,{K:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(5692),s=o(2705),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=function(e){var t=e.show,o=void 0===t||t,r=c(e,["show"]),a=i()({"pagination-button prev":!0,invisible:!o});return n().createElement("span",{className:a,onClick:r.handlePrevPage},n().createElement(l.FontAwesomeIcon,{icon:s.faChevronLeft}))};p.displayName="PaginationPrev"},4915:(e,t,o)=>{o.d(t,{k3:()=>r});o(5692),o(8156),o(3642);function r(){window.scrollTo(0,0)}},2705:t=>{t.exports=e},3987:e=>{e.exports=t},5692:e=>{e.exports=o},8310:e=>{e.exports=r},8156:e=>{e.exports=n},8721:e=>{e.exports=a},1082:e=>{e.exports=i},8763:e=>{e.exports=l},9924:e=>{e.exports=s},4329:(e,t,o)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.d(t,{Z:()=>r})}},u={};function f(e){var t=u[e];if(void 0!==t)return t.exports;var o=u[e]={exports:{}};return p[e](o,o.exports,f),o.exports}f.m=p,c=[],f.O=(e,t,o,r)=>{if(!t){var n=1/0;for(s=0;s<c.length;s++){for(var[t,o,r]=c[s],a=!0,i=0;i<t.length;i++)(!1&r||n>=r)&&Object.keys(f.O).every((e=>f.O[e](t[i])))?t.splice(i--,1):(a=!1,r<n&&(n=r));if(a){c.splice(s--,1);var l=o();void 0!==l&&(e=l)}}return e}r=r||0;for(var s=c.length;s>0&&c[s-1][2]>r;s--)c[s]=c[s-1];c[s]=[t,o,r]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},f.d=(e,t)=>{for(var o in t)f.o(t,o)&&!f.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1787:0,9156:0};f.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[a,i,l]=o,s=0;if(a.some((t=>0!==e[t]))){for(r in i)f.o(i,r)&&(f.m[r]=i[r]);if(l)var c=l(f)}for(t&&t(o);s<a.length;s++)n=a[s],f.o(e,n)&&e[n]&&e[n][0](),e[a[s]]=0;return f.O(c)},o=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var y=f.O(void 0,[9156],(()=>f(3871)));return y=f.O(y)})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Pagination")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/pro-light-svg-icons/faChevronLeft","@fortawesome/pro-light-svg-icons/faChevronRight","@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/Pagination"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Pagination")):e["atoka-design-system"]=t(e["@fortawesome/pro-light-svg-icons/faChevronLeft"],e["@fortawesome/pro-light-svg-icons/faChevronRight"],e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/Pagination"])}(self,(function(e,t,o,r,n,a,i,l,s){return(()=>{"use strict";var c,p={6627:(e,t,o)=>{o.d(t,{ZP:()=>l});var r=o(4329);function n(e){return n="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},n(e)}function a(e,t,o){var r=o.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(n(r)));var a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var o=r.bind(this);return a=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return o},set:function(e){r=e,delete this[t]}}),a=!1,o},set:function(e){r=e}}}function i(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,a(e,t,o))}})),e}function l(){return 1===arguments.length?i.apply(void 0,arguments):a.apply(void 0,arguments)}},3871:(e,t,o)=>{o.r(t),o.d(t,{CursorPagination:()=>v});var r,n=o(6627),a=o(8310),i=o.n(a),l=o(8156),s=o.n(l),c=o(9924),p=o.n(c),u=o(4915),f=o(9255),y=o(8385),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e,t,o,r){var n,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(i=(a<3?n(i):a>3?n(t,o,i):n(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},b=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.handlePreviousPage=function(){null!=this.props.previousPage&&(this.props.onSetPage(this.props.previousPage),(0,u.k3)())},t.prototype.handleNextPage=function(){null!=this.props.nextPage&&(this.props.onSetPage(this.props.nextPage),(0,u.k3)())},t.prototype.renderPrev=function(){return null==this.props.previousPage?null:s().createElement(f.K,{handlePrevPage:this.handlePreviousPage})},t.prototype.renderNext=function(){return null==this.props.nextPage?null:s().createElement(y.$,{handleNextPage:this.handleNextPage})},t.prototype.render=function(){if(null==this.props.previousPage&&null==this.props.nextPage)return null;var e=i()(this.props.className,"atoka-pagination","justify-content-center align-items-center");return s().createElement(p(),{className:e},this.renderPrev(),this.renderNext())},t.displayName="CursorPagination",m([n.ZP,b("design:type",Function),b("design:paramtypes",[]),b("design:returntype",void 0)],t.prototype,"handlePreviousPage",null),m([n.ZP,b("design:type",Function),b("design:paramtypes",[]),b("design:returntype",void 0)],t.prototype,"handleNextPage",null),t}(s().PureComponent)},3642:(e,t,o)=>{var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=o(7269),p=o(2380),u=o(5145),f=o(8672),y=o(2722),d=function(){return d=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},d.apply(this,arguments)},m=function(e){var t=i()(null==e?void 0:e.className,"atoka-form");return n().createElement(s(),d({},e,{className:t}),e.children)};m.displayName="Form",m.Control=p.N,m.Label=c.l,m.Checkbox=u.z,m.Radio=f.w,m.File=s().File,m.Switch=s().Switch,m.Help=y.y,m.Group=s().Group},5145:(e,t,o)=>{o.d(t,{z:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=function(){return c=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},c.apply(this,arguments)},p=function(e){var t,o=i()("atoka-form-checkbox",null==e?void 0:e.className);return n().createElement(s().Check,c({type:"checkbox"},e,{custom:!0,className:o,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,o)=>{o.d(t,{N:()=>f});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(1082),s=o.n(l),c=o(7605),p=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},u=n().forwardRef((function(e,t){var o=e.size,r=void 0===o?"md":o,a=p(e,["size"]),l=i()("atoka-form-control",null==a?void 0:a.className,{"atoka-shadow":a.withShadow,disabled:a.disabled});return n().createElement(s(),{as:a.as,rows:a.rows,cols:a.cols,placeholder:a.placeholder,className:l,disabled:a.disabled,readOnly:a.readOnly,value:a.value,onChange:a.onChange,onKeyPress:a.onKeyPress,onKeyDown:a.onKeyDown,defaultValue:a.defaultValue,size:"md"===r?void 0:r,type:a.type,id:a.id,isValid:a.isValid,isInvalid:a.isInvalid,ref:t,autoComplete:"off"},a.children)}));u.displayName="FormControlComponent";var f=u;f.FeedBack=c.t,f.displayName="FormControl"},7605:(e,t,o)=>{o.d(t,{t:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(1082),s=o.n(l),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=n().memo((function(e){var t=e.show,o=void 0===t||t,r=c(e,["show"]),a=i()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":o});return n().createElement(s().Feedback,{type:r.type,className:a},r.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,o)=>{o.d(t,{y:()=>p});var r=o(8763),n=o.n(r),a=o(8156),i=o.n(a),l=o(8310),s=o.n(l),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=i().memo((function(e){var t=e.children,o=c(e,["children"]),r=s()("d-block",null==o?void 0:o.className);return i().createElement(n(),{bsPrefix:"atoka-form-help",className:r},t)}));p.displayName="FormHelp"},7269:(e,t,o)=>{o.d(t,{l:()=>c});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=n().memo((function(e){var t=i()(null==e?void 0:e.className,"atoka-form-label");return n().createElement(s().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,o)=>{o.d(t,{w:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(8721),s=o.n(l),c=function(){return c=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},c.apply(this,arguments)},p=function(e){var t,o=i()(null==e?void 0:e.className,"atoka-form-radio");return n().createElement(s().Check,c({type:"radio"},e,{custom:!0,className:o,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},8385:(e,t,o)=>{o.d(t,{$:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(5692),s=o(3987),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=function(e){var t=e.show,o=void 0===t||t,r=c(e,["show"]),a=i()({"pagination-button next":!0,invisible:!o});return n().createElement("span",{className:a,onClick:r.handleNextPage},n().createElement(l.FontAwesomeIcon,{icon:s.faChevronRight}))};p.displayName="PaginationNext"},9255:(e,t,o)=>{o.d(t,{K:()=>p});var r=o(8156),n=o.n(r),a=o(8310),i=o.n(a),l=o(5692),s=o(2705),c=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o},p=function(e){var t=e.show,o=void 0===t||t,r=c(e,["show"]),a=i()({"pagination-button prev":!0,invisible:!o});return n().createElement("span",{className:a,onClick:r.handlePrevPage},n().createElement(l.FontAwesomeIcon,{icon:s.faChevronLeft}))};p.displayName="PaginationPrev"},4915:(e,t,o)=>{o.d(t,{k3:()=>r});o(5692),o(8156),o(3642);function r(){window.scrollTo(0,0)}},2705:t=>{t.exports=e},3987:e=>{e.exports=t},5692:e=>{e.exports=o},8310:e=>{e.exports=r},8156:e=>{e.exports=n},8721:e=>{e.exports=a},1082:e=>{e.exports=i},8763:e=>{e.exports=l},9924:e=>{e.exports=s},4329:(e,t,o)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.d(t,{Z:()=>r})}},u={};function f(e){var t=u[e];if(void 0!==t)return t.exports;var o=u[e]={exports:{}};return p[e](o,o.exports,f),o.exports}f.m=p,c=[],f.O=(e,t,o,r)=>{if(!t){var n=1/0;for(s=0;s<c.length;s++){for(var[t,o,r]=c[s],a=!0,i=0;i<t.length;i++)(!1&r||n>=r)&&Object.keys(f.O).every((e=>f.O[e](t[i])))?t.splice(i--,1):(a=!1,r<n&&(n=r));if(a){c.splice(s--,1);var l=o();void 0!==l&&(e=l)}}return e}r=r||0;for(var s=c.length;s>0&&c[s-1][2]>r;s--)c[s]=c[s-1];c[s]=[t,o,r]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},f.d=(e,t)=>{for(var o in t)f.o(t,o)&&!f.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1787:0,4802:0};f.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[a,i,l]=o,s=0;if(a.some((t=>0!==e[t]))){for(r in i)f.o(i,r)&&(f.m[r]=i[r]);if(l)var c=l(f)}for(t&&t(o);s<a.length;s++)n=a[s],f.o(e,n)&&e[n]&&e[n][0](),e[a[s]]=0;return f.O(c)},o=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var y=f.O(void 0,[4802],(()=>f(3871)));return y=f.O(y)})()}));
|
package/DatePicker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("classnames"),require("react"),require("react-datepicker")):"function"==typeof define&&define.amd?define("atoka-design-system",["classnames","react","react-datepicker"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("classnames"),require("react"),require("react-datepicker")):e["atoka-design-system"]=t(e.classnames,e.react,e["react-datepicker"])}(self,(function(e,t,o){return(()=>{"use strict";var r,n={6627:(e,t,o)=>{o.d(t,{MR:()=>a});var r=o(4329);function n(e){return n="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},n(e)}function a(e,t,o){var r=o.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(n(r)));var a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var o=r.bind(this);return a=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return o},set:function(e){r=e,delete this[t]}}),a=!1,o},set:function(e){r=e}}}},1514:(e,t,o)=>{o.r(t),o.d(t,{DatePicker:()=>b});var r,n=o(8310),a=o.n(n),i=o(8156),c=o.n(i),s=o(4731),l=o.n(s),u=o(6627),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(){return f=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},f.apply(this,arguments)},y=function(e,t,o,r){var n,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(i=(a<3?n(i):a>3?n(t,o,i):n(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(t){var o,r;return o=e.call(this,t)||this,(null!==(r=null==t?void 0:t.preLoadedLocales)&&void 0!==r?r:[]).forEach((function(e){return(0,s.registerLocale)(e.localeName,e.localeData)})),o}return p(t,e),t.prototype.handleChange=function(e,t){var o;null===(o=null==t?void 0:t.persist)||void 0===o||o.call(t),this.props.onChange(e,t)},t.prototype.render=function(){var e=a()("atoka-date-picker",this.props.className,{block:this.props.block,"is-invalid":this.props.isInvalid,"with-shadow":this.props.withShadow});return c().createElement("div",{className:e},c().createElement(l(),f({},this.props,{onChange:this.handleChange})))},t.displayName="DatePicker",t.defaultProps={withShadow:!0,disabledKeyboardNavigation:!0,autoFocus:!1},y([u.MR,d("design:type",Function),d("design:paramtypes",[Object,Object]),d("design:returntype",void 0)],t.prototype,"handleChange",null),t}(c().Component)},8310:t=>{t.exports=e},8156:e=>{e.exports=t},4731:e=>{e.exports=o},4329:(e,t,o)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.d(t,{Z:()=>r})}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var o=a[e]={exports:{}};return n[e](o,o.exports,i),o.exports}i.m=n,r=[],i.O=(e,t,o,n)=>{if(!t){var a=1/0;for(u=0;u<r.length;u++){for(var[t,o,n]=r[u],c=!0,s=0;s<t.length;s++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[s])))?t.splice(s--,1):(c=!1,n<a&&(a=n));if(c){r.splice(u--,1);var l=o();void 0!==l&&(e=l)}}return e}n=n||0;for(var u=r.length;u>0&&r[u-1][2]>n;u--)r[u]=r[u-1];r[u]=[t,o,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={5821:0,
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("classnames"),require("react"),require("react-datepicker")):"function"==typeof define&&define.amd?define("atoka-design-system",["classnames","react","react-datepicker"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("classnames"),require("react"),require("react-datepicker")):e["atoka-design-system"]=t(e.classnames,e.react,e["react-datepicker"])}(self,(function(e,t,o){return(()=>{"use strict";var r,n={6627:(e,t,o)=>{o.d(t,{MR:()=>a});var r=o(4329);function n(e){return n="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},n(e)}function a(e,t,o){var r=o.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(n(r)));var a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var o=r.bind(this);return a=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return o},set:function(e){r=e,delete this[t]}}),a=!1,o},set:function(e){r=e}}}},1514:(e,t,o)=>{o.r(t),o.d(t,{DatePicker:()=>b});var r,n=o(8310),a=o.n(n),i=o(8156),c=o.n(i),s=o(4731),l=o.n(s),u=o(6627),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(){return f=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},f.apply(this,arguments)},y=function(e,t,o,r){var n,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(i=(a<3?n(i):a>3?n(t,o,i):n(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(t){var o,r;return o=e.call(this,t)||this,(null!==(r=null==t?void 0:t.preLoadedLocales)&&void 0!==r?r:[]).forEach((function(e){return(0,s.registerLocale)(e.localeName,e.localeData)})),o}return p(t,e),t.prototype.handleChange=function(e,t){var o;null===(o=null==t?void 0:t.persist)||void 0===o||o.call(t),this.props.onChange(e,t)},t.prototype.render=function(){var e=a()("atoka-date-picker",this.props.className,{block:this.props.block,"is-invalid":this.props.isInvalid,"with-shadow":this.props.withShadow});return c().createElement("div",{className:e},c().createElement(l(),f({},this.props,{onChange:this.handleChange})))},t.displayName="DatePicker",t.defaultProps={withShadow:!0,disabledKeyboardNavigation:!0,autoFocus:!1},y([u.MR,d("design:type",Function),d("design:paramtypes",[Object,Object]),d("design:returntype",void 0)],t.prototype,"handleChange",null),t}(c().Component)},8310:t=>{t.exports=e},8156:e=>{e.exports=t},4731:e=>{e.exports=o},4329:(e,t,o)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.d(t,{Z:()=>r})}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var o=a[e]={exports:{}};return n[e](o,o.exports,i),o.exports}i.m=n,r=[],i.O=(e,t,o,n)=>{if(!t){var a=1/0;for(u=0;u<r.length;u++){for(var[t,o,n]=r[u],c=!0,s=0;s<t.length;s++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[s])))?t.splice(s--,1):(c=!1,n<a&&(a=n));if(c){r.splice(u--,1);var l=o();void 0!==l&&(e=l)}}return e}n=n||0;for(var u=r.length;u>0&&r[u-1][2]>n;u--)r[u]=r[u-1];r[u]=[t,o,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={5821:0,4802:0};i.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[a,c,s]=o,l=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)var u=s(i)}for(t&&t(o);l<a.length;l++)n=a[l],i.o(e,n)&&e[n]&&e[n][0](),e[a[l]]=0;return i.O(u)},o=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var c=i.O(void 0,[4802],(()=>i(1514)));return c=i.O(c)})()}));
|
package/DetailPage/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Nav"),require("react-bootstrap/Row"),require("react-dom")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Col","react-bootstrap/Container","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/Nav","react-bootstrap/Row","react-dom"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Nav"),require("react-bootstrap/Row"),require("react-dom")):e["atoka-design-system"]=t(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Col"],e["react-bootstrap/Container"],e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/Nav"],e["react-bootstrap/Row"],e["react-dom"])}(self,(function(e,t,n,r,o,a,s,i,l,c,p){return(()=>{"use strict";var u,d={9114:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(32),o=n(7038),a=n(7581);function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var i=n(8156),l=n.n(i),c=n(6113),p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=s(n.className,r):n.setAttribute("class",s(n.className&&n.className.baseVal||"",r)));var n,r}))},u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,a.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&p(e,r),o&&p(e,o),a&&p(e,a)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return l().createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l().Component);u.defaultProps={classNames:""},u.propTypes={};const d=u},6113:(e,t,n)=>{n.d(t,{ZP:()=>b});var r=n(7038),o=n(7581),a=n(8156),s=n.n(a),i=n(7111),l=n.n(i);const c=!1;var p=n(3493),u="unmounted",d="exited",f="entering",m="entered",h="exiting",v=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=f):o=m:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==m&&(t=f):n!==f&&n!==m||(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===f?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l().findDOMNode(this),r],a=o[0],s=o[1],i=this.getTimeouts(),p=r?i.appear:i.enter;!e&&!n||c?this.safeSetState({status:m},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,s),this.safeSetState({status:f},(function(){t.props.onEntering(a,s),t.onTransitionEnd(p,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(a,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l().findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:h},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(p.Z.Provider,{value:null},"function"==typeof n?n(e,o):s().cloneElement(s().Children.only(n),o))},t}(s().Component);function y(){}v.contextType=p.Z,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},v.UNMOUNTED=u,v.EXITED=d,v.ENTERING=f,v.ENTERED=m,v.EXITING=h;const b=v},3493:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(8156);const o=n.n(r)().createContext(null)},1294:(e,t,n)=>{n.d(t,{Bs4V3Wrapper:()=>c});var r,o=n(8156),a=n.n(o),s=n(8310),i=n.n(s),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=i()("bs4-v3",this.props.className);return a().createElement("div",{className:e},this.props.children)},t.displayName="Bs4V3Wrapper",t}(a().PureComponent)},4716:(e,t,n)=>{n.r(t),n.d(t,{DetailPage:()=>j});var r,o=n(8156),a=n.n(o),s=n(4394),i=n.n(s),l=n(3915),c=n.n(l),p=n(5315),u=n.n(p),d=n(1294),f=n(4915),m=n(577),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){return a().createElement("div",{className:"detail-page-header-container"},a().createElement(m.FadeAnimation,null,a().createElement(i(),null,this.props.children)))},t.displayName="DetailPageHeaderContainer",t}(a().PureComponent),y=n(573),b=n.n(y),E=function(e){return a().createElement("div",{className:"atoka-detail-page-menu"},a().createElement(b(),{className:"flex-column"},e.children))};E.displayName="DetailPageMenuUI";var x=function(e){return a().createElement("div",{className:"atoka-detail-page-sub-menu"},e.children)};x.displayName="DetailPageSubMenu";var g=function(e){return a().createElement(u(),null,e.children)};g.displayName="DetailPageBodyContainer";var O=n(6216),N=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.prototype.render=function(){var e,t;return this.props.isLoading?a().createElement("div",{className:"user-pages-spinner-container d-flex h-100 justify-content-center align-items-center"},a().createElement(O.Spinner,{size:O.SpinnerSize.small})):a().createElement(c(),null,a().createElement(u(),{xs:null!==(e=this.props.leftColumns)&&void 0!==e?e:4},this.props.leftContent),a().createElement(u(),{className:"h-100 align-items-center"},this.props.children),a().createElement(u(),{xs:null!==(t=this.props.rightColumns)&&void 0!==t?t:4},this.props.rightContent))},t.displayName="DetailPageHeaderUI",t}(a().PureComponent),w=function(e){return a().createElement(u(),{xs:4},e.children)};w.displayName="DetailPageMenuContainer";var _=n(8310),S=n.n(_),k=function(e){var t,n=S()("atoka-detail-page-body-section",((t={})["custom-size size-".concat(e.size)]=null!=e.size,t));return a().createElement("div",{className:n},e.children)};k.displayName="DetailPageBodySection";var P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.renderOtherChildren=function(){var e=[];return a().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==w&&(null==t?void 0:t.type)!==v&&(null==t?void 0:t.type)!==g&&e.push(t)})),0===e.length?null:a().createElement(u(),null,e)},t.prototype.render=function(){return a().createElement(d.Bs4V3Wrapper,null,a().createElement("div",{className:"atoka-detail-page-container"},(0,f.z8)(this.props.children,v),a().createElement(i(),null,a().createElement(c(),null,(0,f.z8)(this.props.children,w),(0,f.z8)(this.props.children,g)),this.renderOtherChildren())))},t.displayName="DetailPage",t.HeaderContainer=v,t.HeaderUI=C,t.MenuContainer=w,t.MenuUI=E,t.SubMenu=x,t.BodyContainer=g,t.BodySection=k,t}(a().PureComponent)},577:(e,t,n)=>{n.d(t,{FadeAnimation:()=>l});var r,o=n(8156),a=n.n(o),s=n(9114),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.duration,n=e.appearDelay,r="atoka-fadein-".concat(t,"-").concat(n);return a().createElement(s.Z,{timeout:t+n,classNames:r,in:this.props.in,appear:!0},this.props.children)},t.displayName="FadeAnimation",t.defaultProps={duration:600,appearDelay:0,in:!0},t}(a().PureComponent)},3642:(e,t,n)=>{var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=n(7269),p=n(2380),u=n(5145),d=n(8672),f=n(2722),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},h=function(e){var t=s()(null==e?void 0:e.className,"atoka-form");return o().createElement(l(),m({},e,{className:t}),e.children)};h.displayName="Form",h.Control=p.N,h.Label=c.l,h.Checkbox=u.z,h.Radio=d.w,h.File=l().File,h.Switch=l().Switch,h.Help=f.y,h.Group=l().Group},5145:(e,t,n)=>{n.d(t,{z:()=>p});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=s()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(l().Check,c({type:"checkbox"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,n)=>{n.d(t,{N:()=>d});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(1082),l=n.n(i),c=n(7605),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().forwardRef((function(e,t){var n=e.size,r=void 0===n?"md":n,a=p(e,["size"]),i=s()("atoka-form-control",null==a?void 0:a.className,{"atoka-shadow":a.withShadow,disabled:a.disabled});return o().createElement(l(),{as:a.as,rows:a.rows,cols:a.cols,placeholder:a.placeholder,className:i,disabled:a.disabled,readOnly:a.readOnly,value:a.value,onChange:a.onChange,onKeyPress:a.onKeyPress,onKeyDown:a.onKeyDown,defaultValue:a.defaultValue,size:"md"===r?void 0:r,type:a.type,id:a.id,isValid:a.isValid,isInvalid:a.isInvalid,ref:t,autoComplete:"off"},a.children)}));u.displayName="FormControlComponent";var d=u;d.FeedBack=c.t,d.displayName="FormControl"},7605:(e,t,n)=>{n.d(t,{t:()=>p});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(1082),l=n.n(i),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=o().memo((function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),a=s()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":n});return o().createElement(l().Feedback,{type:r.type,className:a},r.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,n)=>{n.d(t,{y:()=>p});var r=n(8763),o=n.n(r),a=n(8156),s=n.n(a),i=n(8310),l=n.n(i),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=s().memo((function(e){var t=e.children,n=c(e,["children"]),r=l()("d-block",null==n?void 0:n.className);return s().createElement(o(),{bsPrefix:"atoka-form-help",className:r},t)}));p.displayName="FormHelp"},7269:(e,t,n)=>{n.d(t,{l:()=>c});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=o().memo((function(e){var t=s()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(l().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,n)=>{n.d(t,{w:()=>p});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=s()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(l().Check,c({type:"radio"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},6216:(e,t,n)=>{n.d(t,{Spinner:()=>p,SpinnerSize:()=>o});var r,o,a=n(8310),s=n.n(a),i=n(8156),l=n.n(i),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.mini=0]="mini",e[e.small=1]="small",e[e.big=2]="big",e[e.modal=3]="modal"}(o||(o={}));var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderOnlyDotsSpinner=function(e){var t="atoka-spinner spinner-"+e+" "+this.props.className;return l().createElement("div",{className:t},l().createElement("div",{className:"spinner-dot1"},l().createElement("div",{className:"spinner-leaf"})),l().createElement("div",{className:"spinner-dot2"},l().createElement("div",{className:"spinner-leaf"})),l().createElement("div",{className:"spinner-dot3"},l().createElement("div",{className:"spinner-leaf"})))},t.prototype.renderSmall=function(){return this.renderOnlyDotsSpinner("small")},t.prototype.renderMini=function(){return this.renderOnlyDotsSpinner("mini")},t.prototype.renderLeaf=function(){return l().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},l().createElement("g",{id:"leaf"},l().createElement("path",{d:"M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z"})))},t.prototype.renderLetter=function(){return l().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},l().createElement("g",{id:"logo-vector"},l().createElement("path",{d:"M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z"})))},t.prototype.renderBig=function(){var e=s()(this.props.className,{"atoka-spinner":!0,"spinner-big":this.props.size===o.big,"spinner-medium":this.props.size===o.modal}),t=s()({"container-fluid spinner-modal":this.props.size===o.modal});return l().createElement("div",{className:t},l().createElement("div",{className:e},l().createElement("div",{className:"spinner-dot1"},l().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),l().createElement("div",{className:"spinner-dot2"},l().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),l().createElement("div",{className:"spinner-dot3"},l().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),l().createElement("span",{className:"spinner-letter"},this.renderLetter())))},t.prototype.render=function(){switch(this.props.size){case o.mini:return this.renderMini();case o.small:return this.renderSmall();case o.big:case o.modal:return this.renderBig();default:return null}},t.displayName="Spinner",t.defaultProps={size:o.small,className:""},t}(l().Component)},4915:(e,t,n)=>{n.d(t,{z8:()=>a});n(5692);var r=n(8156),o=n.n(r);n(3642);function a(e,t){var n,r;return null!==(r=null===(n=function(e,t){var n=[];return o().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&n.push(e)})),n}(e,t))||void 0===n?void 0:n[0])&&void 0!==r?r:null}},5692:t=>{t.exports=e},8310:e=>{e.exports=t},8156:e=>{e.exports=n},5315:e=>{e.exports=r},4394:e=>{e.exports=o},8721:e=>{e.exports=a},1082:e=>{e.exports=s},8763:e=>{e.exports=i},573:e=>{e.exports=l},3915:e=>{e.exports=c},7111:e=>{e.exports=p},32:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7581:(e,t,n)=>{function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},7038:(e,t,n)=>{function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})}},f={};function m(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,m),n.exports}m.m=d,u=[],m.O=(e,t,n,r)=>{if(!t){var o=1/0;for(l=0;l<u.length;l++){for(var[t,n,r]=u[l],a=!0,s=0;s<t.length;s++)(!1&r||o>=r)&&Object.keys(m.O).every((e=>m.O[e](t[s])))?t.splice(s--,1):(a=!1,r<o&&(o=r));if(a){u.splice(l--,1);var i=n();void 0!==i&&(e=i)}}return e}r=r||0;for(var l=u.length;l>0&&u[l-1][2]>r;l--)u[l]=u[l-1];u[l]=[t,n,r]},m.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return m.d(t,{a:t}),t},m.d=(e,t)=>{for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={904:0,4548:0,5853:0,410:0,9156:0};m.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[a,s,i]=n,l=0;if(a.some((t=>0!==e[t]))){for(r in s)m.o(s,r)&&(m.m[r]=s[r]);if(i)var c=i(m)}for(t&&t(n);l<a.length;l++)o=a[l],m.o(e,o)&&e[o]&&e[o][0](),e[a[l]]=0;return m.O(c)},n=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var h=m.O(void 0,[9156],(()=>m(4716)));return h=m.O(h)})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Nav"),require("react-bootstrap/Row"),require("react-dom")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Col","react-bootstrap/Container","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/Nav","react-bootstrap/Row","react-dom"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Col"),require("react-bootstrap/Container"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/Nav"),require("react-bootstrap/Row"),require("react-dom")):e["atoka-design-system"]=t(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Col"],e["react-bootstrap/Container"],e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/Nav"],e["react-bootstrap/Row"],e["react-dom"])}(self,(function(e,t,n,r,o,a,s,i,l,c,p){return(()=>{"use strict";var u,d={9114:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(32),o=n(7038),a=n(7581);function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var i=n(8156),l=n.n(i),c=n(6113),p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=s(n.className,r):n.setAttribute("class",s(n.className&&n.className.baseVal||"",r)));var n,r}))},u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,a.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&p(e,r),o&&p(e,o),a&&p(e,a)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return l().createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l().Component);u.defaultProps={classNames:""},u.propTypes={};const d=u},6113:(e,t,n)=>{n.d(t,{ZP:()=>b});var r=n(7038),o=n(7581),a=n(8156),s=n.n(a),i=n(7111),l=n.n(i);const c=!1;var p=n(3493),u="unmounted",d="exited",f="entering",m="entered",h="exiting",v=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=f):o=m:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==m&&(t=f):n!==f&&n!==m||(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===f?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l().findDOMNode(this),r],a=o[0],s=o[1],i=this.getTimeouts(),p=r?i.appear:i.enter;!e&&!n||c?this.safeSetState({status:m},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,s),this.safeSetState({status:f},(function(){t.props.onEntering(a,s),t.onTransitionEnd(p,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(a,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l().findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:h},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(p.Z.Provider,{value:null},"function"==typeof n?n(e,o):s().cloneElement(s().Children.only(n),o))},t}(s().Component);function y(){}v.contextType=p.Z,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},v.UNMOUNTED=u,v.EXITED=d,v.ENTERING=f,v.ENTERED=m,v.EXITING=h;const b=v},3493:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(8156);const o=n.n(r)().createContext(null)},1294:(e,t,n)=>{n.d(t,{Bs4V3Wrapper:()=>c});var r,o=n(8156),a=n.n(o),s=n(8310),i=n.n(s),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=i()("bs4-v3",this.props.className);return a().createElement("div",{className:e},this.props.children)},t.displayName="Bs4V3Wrapper",t}(a().PureComponent)},4716:(e,t,n)=>{n.r(t),n.d(t,{DetailPage:()=>j});var r,o=n(8156),a=n.n(o),s=n(4394),i=n.n(s),l=n(3915),c=n.n(l),p=n(5315),u=n.n(p),d=n(1294),f=n(4915),m=n(577),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){return a().createElement("div",{className:"detail-page-header-container"},a().createElement(m.FadeAnimation,null,a().createElement(i(),null,this.props.children)))},t.displayName="DetailPageHeaderContainer",t}(a().PureComponent),y=n(573),b=n.n(y),E=function(e){return a().createElement("div",{className:"atoka-detail-page-menu"},a().createElement(b(),{className:"flex-column"},e.children))};E.displayName="DetailPageMenuUI";var x=function(e){return a().createElement("div",{className:"atoka-detail-page-sub-menu"},e.children)};x.displayName="DetailPageSubMenu";var g=function(e){return a().createElement(u(),null,e.children)};g.displayName="DetailPageBodyContainer";var O=n(6216),N=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.prototype.render=function(){var e,t;return this.props.isLoading?a().createElement("div",{className:"user-pages-spinner-container d-flex h-100 justify-content-center align-items-center"},a().createElement(O.Spinner,{size:O.SpinnerSize.small})):a().createElement(c(),null,a().createElement(u(),{xs:null!==(e=this.props.leftColumns)&&void 0!==e?e:4},this.props.leftContent),a().createElement(u(),{className:"h-100 align-items-center"},this.props.children),a().createElement(u(),{xs:null!==(t=this.props.rightColumns)&&void 0!==t?t:4},this.props.rightContent))},t.displayName="DetailPageHeaderUI",t}(a().PureComponent),w=function(e){return a().createElement(u(),{xs:4},e.children)};w.displayName="DetailPageMenuContainer";var _=n(8310),S=n.n(_),k=function(e){var t,n=S()("atoka-detail-page-body-section",((t={})["custom-size size-".concat(e.size)]=null!=e.size,t));return a().createElement("div",{className:n},e.children)};k.displayName="DetailPageBodySection";var P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.renderOtherChildren=function(){var e=[];return a().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==w&&(null==t?void 0:t.type)!==v&&(null==t?void 0:t.type)!==g&&e.push(t)})),0===e.length?null:a().createElement(u(),null,e)},t.prototype.render=function(){return a().createElement(d.Bs4V3Wrapper,null,a().createElement("div",{className:"atoka-detail-page-container"},(0,f.z8)(this.props.children,v),a().createElement(i(),null,a().createElement(c(),null,(0,f.z8)(this.props.children,w),(0,f.z8)(this.props.children,g)),this.renderOtherChildren())))},t.displayName="DetailPage",t.HeaderContainer=v,t.HeaderUI=C,t.MenuContainer=w,t.MenuUI=E,t.SubMenu=x,t.BodyContainer=g,t.BodySection=k,t}(a().PureComponent)},577:(e,t,n)=>{n.d(t,{FadeAnimation:()=>l});var r,o=n(8156),a=n.n(o),s=n(9114),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.duration,n=e.appearDelay,r="atoka-fadein-".concat(t,"-").concat(n);return a().createElement(s.Z,{timeout:t+n,classNames:r,in:this.props.in,appear:!0},this.props.children)},t.displayName="FadeAnimation",t.defaultProps={duration:600,appearDelay:0,in:!0},t}(a().PureComponent)},3642:(e,t,n)=>{var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=n(7269),p=n(2380),u=n(5145),d=n(8672),f=n(2722),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},h=function(e){var t=s()(null==e?void 0:e.className,"atoka-form");return o().createElement(l(),m({},e,{className:t}),e.children)};h.displayName="Form",h.Control=p.N,h.Label=c.l,h.Checkbox=u.z,h.Radio=d.w,h.File=l().File,h.Switch=l().Switch,h.Help=f.y,h.Group=l().Group},5145:(e,t,n)=>{n.d(t,{z:()=>p});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=s()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(l().Check,c({type:"checkbox"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,n)=>{n.d(t,{N:()=>d});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(1082),l=n.n(i),c=n(7605),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().forwardRef((function(e,t){var n=e.size,r=void 0===n?"md":n,a=p(e,["size"]),i=s()("atoka-form-control",null==a?void 0:a.className,{"atoka-shadow":a.withShadow,disabled:a.disabled});return o().createElement(l(),{as:a.as,rows:a.rows,cols:a.cols,placeholder:a.placeholder,className:i,disabled:a.disabled,readOnly:a.readOnly,value:a.value,onChange:a.onChange,onKeyPress:a.onKeyPress,onKeyDown:a.onKeyDown,defaultValue:a.defaultValue,size:"md"===r?void 0:r,type:a.type,id:a.id,isValid:a.isValid,isInvalid:a.isInvalid,ref:t,autoComplete:"off"},a.children)}));u.displayName="FormControlComponent";var d=u;d.FeedBack=c.t,d.displayName="FormControl"},7605:(e,t,n)=>{n.d(t,{t:()=>p});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(1082),l=n.n(i),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=o().memo((function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),a=s()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":n});return o().createElement(l().Feedback,{type:r.type,className:a},r.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,n)=>{n.d(t,{y:()=>p});var r=n(8763),o=n.n(r),a=n(8156),s=n.n(a),i=n(8310),l=n.n(i),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=s().memo((function(e){var t=e.children,n=c(e,["children"]),r=l()("d-block",null==n?void 0:n.className);return s().createElement(o(),{bsPrefix:"atoka-form-help",className:r},t)}));p.displayName="FormHelp"},7269:(e,t,n)=>{n.d(t,{l:()=>c});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=o().memo((function(e){var t=s()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(l().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,n)=>{n.d(t,{w:()=>p});var r=n(8156),o=n.n(r),a=n(8310),s=n.n(a),i=n(8721),l=n.n(i),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=s()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(l().Check,c({type:"radio"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},6216:(e,t,n)=>{n.d(t,{Spinner:()=>p,SpinnerSize:()=>o});var r,o,a=n(8310),s=n.n(a),i=n(8156),l=n.n(i),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.mini=0]="mini",e[e.small=1]="small",e[e.big=2]="big",e[e.modal=3]="modal"}(o||(o={}));var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderOnlyDotsSpinner=function(e){var t="atoka-spinner spinner-"+e+" "+this.props.className;return l().createElement("div",{className:t},l().createElement("div",{className:"spinner-dot1"},l().createElement("div",{className:"spinner-leaf"})),l().createElement("div",{className:"spinner-dot2"},l().createElement("div",{className:"spinner-leaf"})),l().createElement("div",{className:"spinner-dot3"},l().createElement("div",{className:"spinner-leaf"})))},t.prototype.renderSmall=function(){return this.renderOnlyDotsSpinner("small")},t.prototype.renderMini=function(){return this.renderOnlyDotsSpinner("mini")},t.prototype.renderLeaf=function(){return l().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},l().createElement("g",{id:"leaf"},l().createElement("path",{d:"M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z"})))},t.prototype.renderLetter=function(){return l().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},l().createElement("g",{id:"logo-vector"},l().createElement("path",{d:"M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z"})))},t.prototype.renderBig=function(){var e=s()(this.props.className,{"atoka-spinner":!0,"spinner-big":this.props.size===o.big,"spinner-medium":this.props.size===o.modal}),t=s()({"container-fluid spinner-modal":this.props.size===o.modal});return l().createElement("div",{className:t},l().createElement("div",{className:e},l().createElement("div",{className:"spinner-dot1"},l().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),l().createElement("div",{className:"spinner-dot2"},l().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),l().createElement("div",{className:"spinner-dot3"},l().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),l().createElement("span",{className:"spinner-letter"},this.renderLetter())))},t.prototype.render=function(){switch(this.props.size){case o.mini:return this.renderMini();case o.small:return this.renderSmall();case o.big:case o.modal:return this.renderBig();default:return null}},t.displayName="Spinner",t.defaultProps={size:o.small,className:""},t}(l().Component)},4915:(e,t,n)=>{n.d(t,{z8:()=>a});n(5692);var r=n(8156),o=n.n(r);n(3642);function a(e,t){var n,r;return null!==(r=null===(n=function(e,t){var n=[];return o().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&n.push(e)})),n}(e,t))||void 0===n?void 0:n[0])&&void 0!==r?r:null}},5692:t=>{t.exports=e},8310:e=>{e.exports=t},8156:e=>{e.exports=n},5315:e=>{e.exports=r},4394:e=>{e.exports=o},8721:e=>{e.exports=a},1082:e=>{e.exports=s},8763:e=>{e.exports=i},573:e=>{e.exports=l},3915:e=>{e.exports=c},7111:e=>{e.exports=p},32:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7581:(e,t,n)=>{function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},7038:(e,t,n)=>{function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})}},f={};function m(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,m),n.exports}m.m=d,u=[],m.O=(e,t,n,r)=>{if(!t){var o=1/0;for(l=0;l<u.length;l++){for(var[t,n,r]=u[l],a=!0,s=0;s<t.length;s++)(!1&r||o>=r)&&Object.keys(m.O).every((e=>m.O[e](t[s])))?t.splice(s--,1):(a=!1,r<o&&(o=r));if(a){u.splice(l--,1);var i=n();void 0!==i&&(e=i)}}return e}r=r||0;for(var l=u.length;l>0&&u[l-1][2]>r;l--)u[l]=u[l-1];u[l]=[t,n,r]},m.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return m.d(t,{a:t}),t},m.d=(e,t)=>{for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={904:0,4548:0,5853:0,410:0,4802:0};m.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[a,s,i]=n,l=0;if(a.some((t=>0!==e[t]))){for(r in s)m.o(s,r)&&(m.m[r]=s[r]);if(i)var c=i(m)}for(t&&t(n);l<a.length;l++)o=a[l],m.o(e,o)&&e[o]&&e[o][0](),e[a[l]]=0;return m.O(c)},n=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var h=m.O(void 0,[4802],(()=>m(4716)));return h=m.O(h)})()}));
|