openstack-uicore-foundation 4.1.41 → 4.1.43
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/lib/components/ajaxloader.js +184 -2
- package/lib/components/attendance-tracker.js +2066 -2
- package/lib/components/bulk-actions-selector.js +197 -2
- package/lib/components/circle-button.js +223 -2
- package/lib/components/clock.js +767 -2
- package/lib/components/exclusive-wrapper.js +151 -2
- package/lib/components/extra-questions.js +2011 -2
- package/lib/components/form-validation.js +190 -2
- package/lib/components/forms/rsvp-form.js +940 -2
- package/lib/components/forms/simple-form.js +774 -2
- package/lib/components/free-text-search.js +2154 -2
- package/lib/components/google-map.js +642 -2
- package/lib/components/index.js +13417 -2
- package/lib/components/inputs/access-levels-input.js +2381 -2
- package/lib/components/inputs/action-dropdown.js +219 -2
- package/lib/components/inputs/checkbox-list.js +339 -2
- package/lib/components/inputs/company-input.js +2416 -2
- package/lib/components/inputs/country-dropdown.js +2474 -2
- package/lib/components/inputs/country-input.js +2377 -2
- package/lib/components/inputs/datetimepicker.js +314 -2
- package/lib/components/inputs/dropdown.js +259 -2
- package/lib/components/inputs/editor-input.js +270 -2
- package/lib/components/inputs/event-input.js +2355 -2
- package/lib/components/inputs/free-multi-text-input.js +252 -2
- package/lib/components/inputs/group-input.js +2350 -2
- package/lib/components/inputs/grouped-dropdown.js +244 -2
- package/lib/components/inputs/language-input.js +2382 -2
- package/lib/components/inputs/member-input.js +2377 -2
- package/lib/components/inputs/operator-input.js +328 -2
- package/lib/components/inputs/organization-input.js +2400 -2
- package/lib/components/inputs/promocode-input.js +2385 -2
- package/lib/components/inputs/radio-list.js +297 -2
- package/lib/components/inputs/registration-company-input.js +2438 -2
- package/lib/components/inputs/speaker-input.js +2411 -2
- package/lib/components/inputs/sponsor-input.js +2359 -2
- package/lib/components/inputs/stepped-select.js +197 -2
- package/lib/components/inputs/summit-days-select.js +162 -2
- package/lib/components/inputs/summit-input.js +2357 -2
- package/lib/components/inputs/summit-venues-select.js +203 -2
- package/lib/components/inputs/tag-input.js +2427 -2
- package/lib/components/inputs/text-input.js +202 -2
- package/lib/components/inputs/textarea-input.js +174 -2
- package/lib/components/inputs/ticket-types-input.js +2415 -2
- package/lib/components/inputs/upload-input-v2.js +860 -2
- package/lib/components/inputs/upload-input.js +391 -2
- package/lib/components/progressive-img.js +296 -2
- package/lib/components/raw-html.js +125 -2
- package/lib/components/schedule-builder-constants.js +87 -2
- package/lib/components/schedule-builder-view.js +2188 -2
- package/lib/components/sections/panel.js +156 -2
- package/lib/components/simple-link-list.js +790 -2
- package/lib/components/sponsored-project-input.js +2356 -2
- package/lib/components/summit-dropdown.js +214 -2
- package/lib/components/table-editable.js +961 -2
- package/lib/components/table-selectable.js +552 -2
- package/lib/components/table-sortable.js +743 -2
- package/lib/components/table.js +510 -2
- package/lib/components/video-stream.js +226 -2
- package/lib/css/components/bulk-actions-selector.css +19 -2
- package/lib/css/components/circle-button.css +28 -1
- package/lib/css/components/extra-questions.css +35 -2
- package/lib/css/components/form-validation.css +29 -2
- package/lib/css/components/free-text-search.css +35 -2
- package/lib/css/components/index.css +1397 -3
- package/lib/css/components/inputs/action-dropdown.css +46 -2
- package/lib/css/components/inputs/datetimepicker.css +208 -2
- package/lib/css/components/inputs/grouped-dropdown.css +25 -2
- package/lib/css/components/inputs/stepped-select.css +12 -2
- package/lib/css/components/inputs/upload-input-v2.css +108 -2
- package/lib/css/components/inputs/upload-input.css +43 -2
- package/lib/css/components/progressive-img.css +18 -1
- package/lib/css/components/schedule-builder-view.css +249 -2
- package/lib/css/components/simple-link-list.css +195 -2
- package/lib/css/components/summit-dropdown.css +35 -2
- package/lib/css/components/table-editable.css +145 -2
- package/lib/css/components/table-selectable.css +147 -2
- package/lib/css/components/table-sortable.css +156 -2
- package/lib/css/components/table.css +147 -2
- package/lib/i18n.js +515 -2
- package/lib/models/index.js +238 -2
- package/lib/models/summit-event.js +210 -2
- package/lib/security/abstract-auth-callback-route.js +2192 -2
- package/lib/security/actions.js +1892 -2
- package/lib/security/constants.js +75 -2
- package/lib/security/methods.js +1892 -2
- package/lib/security/reducers.js +2035 -2
- package/lib/security/session-checker.js +2253 -2
- package/lib/utils/actions.js +1892 -2
- package/lib/utils/fragment-parser.js +207 -2
- package/lib/utils/methods.js +435 -2
- package/lib/utils/query-actions.js +2229 -2
- package/lib/utils/questions-set.js +681 -2
- package/lib/utils/reducers.js +1948 -2
- package/lib/utils/use-fit-text.js +178 -2
- package/package.json +1 -1
- package/lib/components/ajaxloader.js.map +0 -1
- package/lib/components/attendance-tracker.js.map +0 -1
- package/lib/components/bulk-actions-selector.js.map +0 -1
- package/lib/components/circle-button.js.map +0 -1
- package/lib/components/clock.js.map +0 -1
- package/lib/components/exclusive-wrapper.js.map +0 -1
- package/lib/components/extra-questions.js.map +0 -1
- package/lib/components/form-validation.js.map +0 -1
- package/lib/components/forms/rsvp-form.js.map +0 -1
- package/lib/components/forms/simple-form.js.map +0 -1
- package/lib/components/free-text-search.js.map +0 -1
- package/lib/components/google-map.js.map +0 -1
- package/lib/components/index.js.map +0 -1
- package/lib/components/inputs/access-levels-input.js.map +0 -1
- package/lib/components/inputs/action-dropdown.js.map +0 -1
- package/lib/components/inputs/checkbox-list.js.map +0 -1
- package/lib/components/inputs/company-input.js.map +0 -1
- package/lib/components/inputs/country-dropdown.js.map +0 -1
- package/lib/components/inputs/country-input.js.map +0 -1
- package/lib/components/inputs/datetimepicker.js.map +0 -1
- package/lib/components/inputs/dropdown.js.map +0 -1
- package/lib/components/inputs/editor-input.js.map +0 -1
- package/lib/components/inputs/event-input.js.map +0 -1
- package/lib/components/inputs/free-multi-text-input.js.map +0 -1
- package/lib/components/inputs/group-input.js.map +0 -1
- package/lib/components/inputs/grouped-dropdown.js.map +0 -1
- package/lib/components/inputs/language-input.js.map +0 -1
- package/lib/components/inputs/member-input.js.map +0 -1
- package/lib/components/inputs/operator-input.js.map +0 -1
- package/lib/components/inputs/organization-input.js.map +0 -1
- package/lib/components/inputs/promocode-input.js.map +0 -1
- package/lib/components/inputs/radio-list.js.map +0 -1
- package/lib/components/inputs/registration-company-input.js.map +0 -1
- package/lib/components/inputs/speaker-input.js.map +0 -1
- package/lib/components/inputs/sponsor-input.js.map +0 -1
- package/lib/components/inputs/stepped-select.js.map +0 -1
- package/lib/components/inputs/summit-days-select.js.map +0 -1
- package/lib/components/inputs/summit-input.js.map +0 -1
- package/lib/components/inputs/summit-venues-select.js.map +0 -1
- package/lib/components/inputs/tag-input.js.map +0 -1
- package/lib/components/inputs/text-input.js.map +0 -1
- package/lib/components/inputs/textarea-input.js.map +0 -1
- package/lib/components/inputs/ticket-types-input.js.map +0 -1
- package/lib/components/inputs/upload-input-v2.js.map +0 -1
- package/lib/components/inputs/upload-input.js.map +0 -1
- package/lib/components/progressive-img.js.map +0 -1
- package/lib/components/raw-html.js.map +0 -1
- package/lib/components/schedule-builder-constants.js.map +0 -1
- package/lib/components/schedule-builder-view.js.map +0 -1
- package/lib/components/sections/panel.js.map +0 -1
- package/lib/components/simple-link-list.js.map +0 -1
- package/lib/components/sponsored-project-input.js.map +0 -1
- package/lib/components/summit-dropdown.js.map +0 -1
- package/lib/components/table-editable.js.map +0 -1
- package/lib/components/table-selectable.js.map +0 -1
- package/lib/components/table-sortable.js.map +0 -1
- package/lib/components/table.js.map +0 -1
- package/lib/components/video-stream.js.map +0 -1
- package/lib/css/components/bulk-actions-selector.css.map +0 -1
- package/lib/css/components/extra-questions.css.map +0 -1
- package/lib/css/components/form-validation.css.map +0 -1
- package/lib/css/components/free-text-search.css.map +0 -1
- package/lib/css/components/index.css.map +0 -1
- package/lib/css/components/inputs/action-dropdown.css.map +0 -1
- package/lib/css/components/inputs/datetimepicker.css.map +0 -1
- package/lib/css/components/inputs/grouped-dropdown.css.map +0 -1
- package/lib/css/components/inputs/stepped-select.css.map +0 -1
- package/lib/css/components/inputs/upload-input-v2.css.map +0 -1
- package/lib/css/components/inputs/upload-input.css.map +0 -1
- package/lib/css/components/schedule-builder-view.css.map +0 -1
- package/lib/css/components/simple-link-list.css.map +0 -1
- package/lib/css/components/summit-dropdown.css.map +0 -1
- package/lib/css/components/table-editable.css.map +0 -1
- package/lib/css/components/table-selectable.css.map +0 -1
- package/lib/css/components/table-sortable.css.map +0 -1
- package/lib/css/components/table.css.map +0 -1
- package/lib/i18n.js.map +0 -1
- package/lib/models/index.js.map +0 -1
- package/lib/models/summit-event.js.map +0 -1
- package/lib/security/abstract-auth-callback-route.js.map +0 -1
- package/lib/security/actions.js.map +0 -1
- package/lib/security/constants.js.map +0 -1
- package/lib/security/methods.js.map +0 -1
- package/lib/security/reducers.js.map +0 -1
- package/lib/security/session-checker.js.map +0 -1
- package/lib/utils/actions.js.map +0 -1
- package/lib/utils/fragment-parser.js.map +0 -1
- package/lib/utils/methods.js.map +0 -1
- package/lib/utils/query-actions.js.map +0 -1
- package/lib/utils/questions-set.js.map +0 -1
- package/lib/utils/reducers.js.map +0 -1
- package/lib/utils/use-fit-text.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components/progressive-img.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,+isDCTTH,EAAOD,QAAUK,QAAQ,wC,WCAzBJ,EAAOD,QAAUK,QAAQ,iC,WCAzBJ,EAAOD,QAAUK,QAAQ,iD,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH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,cAAcC,SAAS,OAC5ChB,EAAUiB,GACNT,GAAOA,EAAIM,WAAWC,cAAcC,SAAS,OACjDhB,EAAUkB,GACNV,GAAOA,EAAIM,WAAWC,cAAcC,SAAS,OACjDhB,EAAUmB,GACNX,GAAOA,EAAIM,WAAWC,cAAcC,SAAS,OACjDhB,EAAUoB,GAEVpB,EAAUqB,GACdlB,EAAeC,GAAf,EAGG,KACHP,EAAYe,SAAU,CAAtB,CADJ,GAGD,CAACjB,IAGA,+B,iWAAA,EACUA,IAAKI,GAAWH,GAD1B,CAEI0B,IAAK1B,EAAM0B,KAAO,GAClBC,UAAY,GAAEnB,KAAgBF,MAJtC,C","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/defineProperty\"","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/extends\"","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/objectWithoutProperties\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/progressive-img/index.module.scss","webpack://openstack-uicore-foundation/./src/components/progressive-img/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/extends\");","module.exports = require(\"@babel/runtime/helpers/objectWithoutProperties\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// extracted by mini-css-extract-plugin\nexport default {\"loading\":\"T1PEDYso224efj98hUw9\",\"loaded\":\"HydBuzzegFMoqMkrptg7\",\"image\":\"Pq0tg32DAJ33TmIQMvMs\"};","/**\n * Copyright 2023 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\nimport React,{ useState, useEffect, useRef } from \"react\";\nimport styles from './index.module.scss';\nimport pdf_icon from \"../inputs/upload-input/pdf.png\";\nimport mov_icon from \"../inputs/upload-input/mov.png\";\nimport mp4_icon from \"../inputs/upload-input/mp4.png\";\nimport csv_icon from \"../inputs/upload-input/csv.png\";\nimport file_icon from \"../inputs/upload-input/file.png\";\n/**\n *\n * @param placeholderSrc\n * @param src\n * @param props\n * @returns {JSX.Element}\n * @constructor\n */\nconst ProgressiveImg = ({ placeholderSrc, src, ...props }) => {\n const isCancelled = useRef(false);\n const [imgSrc, setImgSrc] = useState(placeholderSrc || src);\n const [customClass, setCustomClass] = useState(styles.loading);\n\n useEffect(() => {\n const img = new Image();\n const ext = src ? src.split('.').pop() : null;\n img.src = src;\n\n img.onload = () => {\n if (isCancelled.current) return\n setImgSrc(src)\n setCustomClass(styles.loaded)\n };\n\n img.onerror = () => {\n if (isCancelled.current) return\n img.onerror = null;\n if(ext && ext.toString().toLowerCase().includes('pdf'))\n setImgSrc(pdf_icon)\n else if(ext && ext.toString().toLowerCase().includes('mov'))\n setImgSrc(mov_icon);\n else if(ext && ext.toString().toLowerCase().includes('mp4'))\n setImgSrc(mp4_icon);\n else if(ext && ext.toString().toLowerCase().includes('csv'))\n setImgSrc(csv_icon);\n else\n setImgSrc(file_icon);\n setCustomClass(styles.loaded)\n };\n\n return () => {\n isCancelled.current = true;\n };\n }, [src]);\n\n return (\n <img\n {...{ src: imgSrc, ...props }}\n alt={props.alt || \"\"}\n className={`${styles.image} ${customClass}`}\n />\n );\n};\nexport default ProgressiveImg;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","placeholderSrc","src","props","isCancelled","useRef","imgSrc","setImgSrc","useState","customClass","setCustomClass","styles","useEffect","img","Image","ext","split","pop","onload","current","onerror","toString","toLowerCase","includes","pdf_icon","mov_icon","mp4_icon","csv_icon","file_icon","alt","className"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components/raw-html.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,+ECH9D,MAIA,EAJgB,EAAEC,WAAUC,kBAAiB,EAAOC,YAAY,MAC5D,0BAAMA,UAAWA,EACXC,wBAAyB,CAAEC,OAAQH,EAAiBD,aAAH,EAAGA,EAAUK,QAAQ,MAAO,UAAYL,I","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/raw-html/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from 'react';\n\nconst RawHTML = ({children, replaceNewLine = false, className = \"\"}) =>\n <span className={className}\n dangerouslySetInnerHTML={{ __html: replaceNewLine ? children?.replace(/\\n/g, '<br />') : children}} />\n\nexport default RawHTML;"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","children","replaceNewLine","className","dangerouslySetInnerHTML","__html","replace"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components/schedule-builder-constants.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mBCRT,IAAIC,EAAsB,CAAC,E,MCA3BA,EAAoBC,EAAI,CAACN,EAASO,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAET,EAASQ,IAC5EE,OAAOC,eAAeX,EAASQ,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDH,EAAoBI,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFV,EAAoBc,EAAKnB,IACH,oBAAXoB,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAeX,EAASoB,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAeX,EAAS,aAAc,CAAEsB,OAAO,GAAO,C,8MCLvD,MAAMC,EAAqB,CAC9BC,gBAAiB,kBACjBC,cAAe,iBAGNC,EAAc,CAACC,GAAK,EAAGC,KAAO,MAAOC,WAAY,eACjDC,EAAkB,CAAC,EAAE,EAAE,GAAG,GAAG,GAAG,IAChCC,EAAkB,EAElBC,EAAoC,mBACpCC,EAAoC,sBACpCC,EAAoC,wBAEpCC,EAAc,CACvB,CAACb,MAAOU,EAAgBI,MAAO,QAC/B,CAACd,MAAOY,EAAqBE,MAAO,c","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/schedule-builder-view/constants.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export const DraggableItemTypes = {\n UNSCHEDULEEVENT: 'UnScheduleEvent',\n SCHEDULEEVENT: 'ScheduleEvent',\n};\n\nexport const TBALocation = {id : 0, name : 'TBD', class_name: 'SummitVenue'};\nexport const SlotSizeOptions = [1,5,10,15,30,60]; // 12 - 6 - 4 - 2 - 1\nexport const PixelsPerMinute = 3;\n\nexport const BulkActionEdit = 'BULK_ACTION_EDIT';\nexport const BulkActionPublish = 'BULK_ACTION_PUBLISH';\nexport const BulkActionUnPublish = 'BULK_ACTION_UNPUBLISH';\n\nexport const bulkOptions = [\n {value: BulkActionEdit, label: 'Edit'},\n {value: BulkActionUnPublish, label: 'Unpublish'},\n];\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","DraggableItemTypes","UNSCHEDULEEVENT","SCHEDULEEVENT","TBALocation","id","name","class_name","SlotSizeOptions","PixelsPerMinute","BulkActionEdit","BulkActionPublish","BulkActionUnPublish","bulkOptions","label"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components/schedule-builder-view.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,O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,GAAIQ,UAAW,IACrD9U,EAAMka,kBACH,yBAAK5Z,UAAU,YACX,6CACA,kBAAC,UAAD,CACIP,MAAOoE,EACP/C,SAAUpB,EAAMka,iBAChB/Y,QAASsY,EACT1K,MAAO,CAACC,QAAS,eAAgBoL,WAAY,OAIxDpa,EAAMma,WACH,yBAAK7Z,UAAU,uBACX,kBAAC,EAAD,CAAqBqD,OAAQA,EAAQmM,OAAQqI,MAK7D,yBAAK7X,UAAU,OACX,yBAAKA,UAAU,YACX,kBAAC,UAAD,CACIiC,eAAgBvC,EAAMuC,eACtBD,OAAQA,EACRN,aAAcqW,EACdpW,YAAY,iBAGpB,yBAAK3B,UAAU,YACX,kBAAC,UAAD,CACI4B,aAAclC,EAAMkC,aACpBH,KAAMA,EACNC,aAAc4N,EACd3N,YAAY,iBAIxB,kBAAC,UAAD,CACI7B,YAAaJ,EAAMqa,mBAAqBja,EAAAA,YACxCD,YAAaH,EAAMG,YACnBF,qBAAsBD,EAAMC,qBAC5BI,MAAOiY,GAAkBH,EAAexW,OAAS,IAGpDiO,GAAcyI,GACX,kBAAC,EAAD,CACIrT,UAAW0U,EACX1H,QAAS2H,EACT9J,cAAelM,EACfsB,SAAUd,EACVyL,WAAYA,EACZI,gBAAiBxM,EAAAA,gBACjByM,aAAcjQ,EAAMiQ,aACpBxE,YAAaA,EACbC,UAAWA,EACXuG,gBAAiBjS,EAAMiS,gBACvBnC,OAAQqI,EACRvM,iBAAkB5L,EAAM4L,iBACxBC,YAAa7L,EAAM6L,YACnBC,gBAAiB9L,EAAM8L,gBACvBC,wBAAyBqM,EACzBpM,YAAahM,EAAMsa,oBAhEnC,C","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/bulk-actions-selector/index.js","webpack://openstack-uicore-foundation/./src/components/inputs/stepped-select/index.module.less?b434","webpack://openstack-uicore-foundation/./src/components/inputs/stepped-select/index.jsx","webpack://openstack-uicore-foundation/./src/components/inputs/summit-days-select.js","webpack://openstack-uicore-foundation/./src/components/inputs/summit-venues-select.js","webpack://openstack-uicore-foundation/./src/components/raw-html/index.js","webpack://openstack-uicore-foundation/./src/components/schedule-builder-view/constants.js","webpack://openstack-uicore-foundation/./src/models/summit-event.js","webpack://openstack-uicore-foundation/./src/utils/methods.js","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/defineProperty\"","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/extends\"","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/objectWithoutProperties\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"moment-timezone\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/external commonjs \"react-dnd\"","webpack://openstack-uicore-foundation/external commonjs \"react-dom\"","webpack://openstack-uicore-foundation/external commonjs \"react-select\"","webpack://openstack-uicore-foundation/external commonjs \"urijs\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"react-bootstrap\"","webpack://openstack-uicore-foundation/./src/components/schedule-builder-view/schedule-event.js","webpack://openstack-uicore-foundation/./src/components/schedule-builder-view/schedule-event-list.js","webpack://openstack-uicore-foundation/external commonjs \"@react-pdf/renderer\"","webpack://openstack-uicore-foundation/./src/components/schedule-print/schedule-print-view.js","webpack://openstack-uicore-foundation/./src/components/schedule-print/styles.module.scss","webpack://openstack-uicore-foundation/./src/components/schedule-print/schedule-print-button.js","webpack://openstack-uicore-foundation/./src/components/schedule-builder-view/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React from 'react';\nimport T from \"i18n-react/dist/i18n-react\";\nimport './styles.less';\nclass ScheduleAdminsBulkActionsSelector extends React.Component {\n\n onPerformBulkAction(){\n let selectedBulkAction = this.actionTypeSelect.value;\n if(selectedBulkAction === '') return;\n this.props.onSelectedBulkAction(selectedBulkAction);\n }\n\n render(){\n let { onSelectAll, bulkOptions, show } = this.props;\n return (\n <div className=\"bulk-actions-selector-container\">\n {show &&\n <div className=\"row\">\n <div className=\"col-md-8\">\n <input type=\"checkbox\" onClick={onSelectAll}/>\n <select ref={(select) => { this.actionTypeSelect = select; }}>\n <option value=\"\">{T.translate(\"published_bulk_actions_selector.options.default\")}</option>\n {\n bulkOptions.map((option, idx) => (\n <option key={idx} value={option.value}>{option.label}</option>\n ))\n }\n </select>\n </div>\n <div className=\"col-md-4\">\n <button onClick={this.onPerformBulkAction.bind(this)} title={ T.translate(\"published_bulk_actions_selector.titles.go\")} className=\"btn btn-default btn-sm\">\n <i className=\"fa fa-play\"> {T.translate(\"published_bulk_actions_selector.buttons.go\")}</i>\n </button>\n </div>\n </div>\n }\n </div>\n )\n }\n}\n\nexport default ScheduleAdminsBulkActionsSelector;\n","// extracted by mini-css-extract-plugin\nexport default {\"wrapper\":\"tDZTa8dy9OMVyGAtxNOS\",\"valueBox\":\"VoBl8JcsRZelj8EKGKtC\"};","import React from 'react';\nimport styles from './index.module.less';\n\nexport default ({value, options, onChange, ...rest}) => {\n\n const handleChange = (increment) => {\n const currentOptionKey = options.findIndex(op => op.value === value);\n if (currentOptionKey >= 0) {\n if (increment) {\n if (currentOptionKey < options.length -1) {\n onChange(options[currentOptionKey + 1].value);\n }\n } else {\n if (currentOptionKey > 0) {\n onChange(options[currentOptionKey - 1].value);\n }\n }\n }\n };\n\n const valueLabel = options.find(op => op.value === value).label;\n\n return (\n <div className={styles.wrapper} {...rest}>\n <button className=\"btn btn-default\" onClick={() => handleChange(false)}>\n <i className=\"fa fa-minus\"/>\n </button>\n <span className={styles.valueBox}>{valueLabel}</span>\n <button className=\"btn btn-default\" onClick={() => handleChange(true)}>\n <i className=\"fa fa-plus\"/>\n </button>\n </div>\n );\n};\n","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React from 'react';\nimport Select from 'react-select';\n\nconst SummitDaysSelect = ({ days, currentValue, placeholder, onDayChanged }) => {\n const theValue = days.find(op => op.value === currentValue) || null;\n\n const onChange = (selectedOption) => {\n onDayChanged(selectedOption?.value || null);\n };\n\n return (\n <Select\n placeholder={placeholder} //T.translate(\"schedule.placeholders.select_day\")\n className=\"day-selector\"\n name=\"form-field-name\"\n value={theValue}\n onChange={onChange}\n options={days}\n />\n );\n}\n\nexport default SummitDaysSelect;\n","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React from 'react';\nimport Select from 'react-select';\n\nconst SummitVenuesSelect = ({venues, currentValue, placeholder, onVenueChanged, ...rest}) => {\n const parsedValue = venues.find(v => v.value.id === currentValue?.id) || null;\n const renderOption = (option) => {\n let location = option.value;\n if (location.class_name === 'SummitVenue')\n return (<span className=\"location-option-venue\">{location.name}</span>);\n return (<span className=\"location-option-room\">- {location.name}</span>);\n }\n\n const onChange = (selectedOption) => {\n onVenueChanged(selectedOption?.value || null);\n }\n\n return (\n <Select\n placeholder={placeholder}\n className=\"venues-selector\"\n name=\"form-field-name\"\n value={parsedValue}\n onChange={onChange}\n options={venues}\n optionRenderer={renderOption}\n {...rest}\n />\n );\n}\n\nexport default SummitVenuesSelect;\n","import React from 'react';\n\nconst RawHTML = ({children, replaceNewLine = false, className = \"\"}) =>\n <span className={className}\n dangerouslySetInnerHTML={{ __html: replaceNewLine ? children?.replace(/\\n/g, '<br />') : children}} />\n\nexport default RawHTML;","export const DraggableItemTypes = {\n UNSCHEDULEEVENT: 'UnScheduleEvent',\n SCHEDULEEVENT: 'ScheduleEvent',\n};\n\nexport const TBALocation = {id : 0, name : 'TBD', class_name: 'SummitVenue'};\nexport const SlotSizeOptions = [1,5,10,15,30,60]; // 12 - 6 - 4 - 2 - 1\nexport const PixelsPerMinute = 3;\n\nexport const BulkActionEdit = 'BULK_ACTION_EDIT';\nexport const BulkActionPublish = 'BULK_ACTION_PUBLISH';\nexport const BulkActionUnPublish = 'BULK_ACTION_UNPUBLISH';\n\nexport const bulkOptions = [\n {value: BulkActionEdit, label: 'Edit'},\n {value: BulkActionUnPublish, label: 'Unpublish'},\n];\n","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport moment from 'moment-timezone'\n\nclass SummitEvent {\n\n constructor(event, summit = null){\n this._event = event;\n this._summit = summit;\n }\n\n set summit(summit){\n this._summit = summit;\n }\n\n get summit(){\n return this._summit;\n }\n\n getId(){\n return this._event.id;\n }\n\n isPublished(){\n return this._event.hasOwnProperty('is_published') && this._event.is_published;\n }\n\n getMinutesDuration(slotSize){\n\n if(this._event.hasOwnProperty('start_date') && this._event.hasOwnProperty('end_date') && this._event.start_date != null && this._event.end_date != null ) {\n let eventStartDateTime = moment(this._event.start_date * 1000).tz(this._summit.time_zone.name);\n let eventEndDateTime = moment(this._event.end_date * 1000).tz(this._summit.time_zone.name);\n return eventEndDateTime.diff(eventStartDateTime, 'minutes');\n }\n // default\n\n return this._event.hasOwnProperty('duration') && this._event.duration > 0 ? parseInt( this._event.duration / 60 ) : slotSize;\n }\n\n canMove(siblings, day, startTime, interval){\n\n let duration = this._event.hasOwnProperty('duration') && this._event.duration > 0 ? parseInt( this._event.duration / 60 ) : interval;\n // check if published to get real duration ...\n if(this.isPublished())\n duration = this.getMinutesDuration();\n\n let startDateTime = moment.tz(day+' '+ startTime.format('HH:mm'), 'YYYY-MM-DD HH:mm', this._summit.time_zone.name);\n let endDateTime = moment.tz(day+' '+ startTime.format('HH:mm'), 'YYYY-MM-DD HH:mm', this._summit.time_zone.name);\n endDateTime = endDateTime.add(duration, 'minutes');\n\n // check siblings overlap\n for (let auxEvent of siblings.filter(item => item.id !== this.getId())) {\n let auxEventStartDateTime = moment(auxEvent.start_date * 1000).tz(this._summit.time_zone.name);\n let auxEventEndDateTime = moment(auxEvent.end_date * 1000).tz(this._summit.time_zone.name);\n\n // if time segments overlap\n if(auxEventStartDateTime.isBefore(endDateTime) && auxEventEndDateTime.isAfter(startDateTime))\n return false;\n }\n\n return true;\n }\n\n calculateNewDates(day, startTime, minutes){\n\n minutes = this._event.hasOwnProperty('duration') && this._event.duration > 0 ?\n parseInt( this._event.duration / 60 ) : minutes;\n\n let newStarDateTime = moment.tz(day+' '+startTime.format('HH:mm'), 'YYYY-MM-DD HH:mm', this._summit.time_zone.name);\n let newEndDateTime = moment.tz(day+' '+startTime.format('HH:mm'), 'YYYY-MM-DD HH:mm', this._summit.time_zone.name).add(minutes, 'minutes');\n return [newStarDateTime, newEndDateTime];\n }\n\n isValidEndDate(endDate){\n if(endDate == null) return true;\n let startDate = moment.tz(this._event.start_date * 1000, this._summit.time_zone.name);\n endDate = moment.tz(endDate * 1000, this._summit.time_zone.name);\n let summitEndDate = moment.tz(this._summit.end_date * 1000, this._summit.time_zone.name);\n return endDate.isAfter(startDate) && (endDate.isBefore(summitEndDate) || endDate.isSame(summitEndDate));\n }\n\n isValidStartDate(startDate){\n if(startDate == null) return true;\n startDate = moment.tz(startDate* 1000, this._summit.time_zone.name);\n let endDate = moment.tz(this._event.end_date * 1000, this._summit.time_zone.name);\n let summitStartDate = moment.tz(this._summit.start_date * 1000, this._summit.time_zone.name);\n return moment.isMoment(startDate) && startDate.isAfter(summitStartDate) && startDate.isBefore(endDate);\n }\n\n isValidTitle(title){\n return title.trim() !== '';\n }\n\n isValid(){\n return this.isValidTitle(this._event.title)\n && this.isValidStartDate(this._event.start_date)\n && this.isValidEndDate(this._event.end_date);\n }\n\n}\n\nexport default SummitEvent;\n","/**\n * Copyright 2018 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport moment from 'moment-timezone';\nimport URI from \"urijs\";\n\nexport const findElementPos = (obj) => {\n var curtop = -70;\n if (obj.offsetParent) {\n do {\n curtop += obj.offsetTop;\n } while (obj = obj.offsetParent);\n return [curtop];\n }\n};\n\nexport const epochToMoment = (atime) => {\n if(!atime) return atime;\n atime = atime * 1000;\n return moment(atime);\n};\n\nexport const epochToMomentTimeZone = (atime, time_zone) => {\n if(!atime) return atime;\n atime = atime * 1000;\n return moment(atime).tz(time_zone);\n};\n\nexport const formatEpoch = (atime, format = 'M/D/YYYY h:mm a') => {\n if(!atime) return atime;\n return epochToMoment(atime).format(format);\n};\n\nexport const parseLocationHour = (hour) => {\n let parsedHour = hour.toString();\n if(parsedHour.length < 4) parsedHour = `0${parsedHour}`;\n parsedHour = parsedHour.match(/.{2}/g);\n parsedHour = parsedHour.join(':');\n return parsedHour;\n}\n\nexport const objectToQueryString = (obj) => {\n var str = \"\";\n for (var key in obj) {\n if (str != \"\") {\n str += \"&\";\n }\n str += key + \"=\" + encodeURIComponent(obj[key]);\n }\n\n return str;\n};\n\nexport const getBackURL = () => {\n let url = URI(window.location.href);\n let query = url.search(true);\n let fragment = url.fragment();\n let backUrl = query.hasOwnProperty('BackUrl') ? query['BackUrl'] : null;\n if(fragment != null && fragment != ''){\n backUrl += `#${fragment}`;\n }\n return backUrl;\n};\n\nexport const toSlug = (text) =>{\n text = text.toLowerCase();\n return text.replace(/[^a-zA-Z0-9]+/g,'_');\n}\n\nexport const getAuthCallback = () => {\n if(typeof window !== 'undefined') {\n return `${window.location.origin}/auth/callback`;\n }\n return null;\n};\n\nexport const getCurrentLocation = () => {\n let location = '';\n if(typeof window !== 'undefined') {\n location = window.location;\n // check if we are on iframe\n if (window.top)\n location = window.top.location;\n }\n return location;\n};\n\nexport const getOrigin = () => {\n if(typeof window !== 'undefined') {\n return window.location.origin;\n }\n return null;\n};\n\nexport const getCurrentPathName = () => {\n if(typeof window !== 'undefined') {\n return window.location.pathname;\n }\n return null;\n};\n\nexport const getCurrentHref = () => {\n if(typeof window !== 'undefined') {\n return window.location.href;\n }\n return null;\n};\n\nexport const getAllowedUserGroups = () => {\n if(typeof window !== 'undefined') {\n return window.ALLOWED_USER_GROUPS || '';\n }\n return null;\n};\n\nexport const buildAPIBaseUrl = (relativeUrl) => {\n if(typeof window !== 'undefined'){\n return `${window.API_BASE_URL}${relativeUrl}`;\n }\n return null``;\n};\n\nexport const putOnLocalStorage = (key, value) => {\n if(typeof window !== 'undefined') {\n window.localStorage.setItem(key, value);\n }\n};\n\nexport const getFromLocalStorage = (key, removeIt) => {\n if(typeof window !== 'undefined') {\n let val = window.localStorage.getItem(key);\n if(removeIt){\n console.log(`getFromLocalStorage removing key ${key}`);\n removeFromLocalStorage(key);\n }\n return val;\n }\n return null;\n};\n\nexport const removeFromLocalStorage = (key) => {\n if(typeof window !== 'undefined') {\n window.localStorage.removeItem(key);\n }\n}\n\nexport const isClearingSessionState = () => {\n if(typeof window !== 'undefined') {\n return window.clearing_session_state;\n }\n return false;\n};\n\nexport const setSessionClearingState = (val) => {\n if(typeof window !== 'undefined') {\n window.clearing_session_state = val;\n }\n};\n\nexport const getCurrentUserLanguage = () => {\n let language = 'en';\n if(typeof navigator !== 'undefined') {\n language = (navigator.languages && navigator.languages[0]) || navigator.language || navigator.userLanguage;\n }\n return language;\n};\n\nexport const scrollToError = (errors) => {\n if(Object.keys(errors).length > 0) {\n const firstError = Object.keys(errors)[0];\n const firstNode = document.getElementById(firstError);\n if (firstNode) window.scrollTo(0, findElementPos(firstNode));\n }\n};\n\nexport const hasErrors = (field, errors) => {\n if(field in errors) {\n return errors[field];\n }\n return '';\n};\n\nexport const shallowEqual = (object1, object2) => {\n const keys1 = Object.keys(object1);\n const keys2 = Object.keys(object2);\n\n if (keys1.length !== keys2.length) {\n return false;\n }\n\n for (let key of keys1) {\n if (object1[key] !== object2[key]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const arraysEqual = (a1, a2) =>\n a1.length === a2.length && a1.every((o, idx) => shallowEqual(o, a2[idx]));\n\nexport const isEmpty = (obj) => {\n return Object.keys(obj).length === 0;\n};\n\n\nexport const base64URLEncode = (str) => {\n return str\n .toString('base64')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_')\n .replace(/=/g, '')\n}\n\nexport const retryPromise = async (\n cb,\n maxNumberOfRetries = 3\n) => {\n for (let i = 0; i < maxNumberOfRetries; i++) {\n if (await cb()) {\n return true;\n }\n }\n\n return false;\n}\n\nexport const getTimeServiceUrl = () => {\n if(typeof window !== 'undefined') {\n return window.TIMEINTERVALSINCE1970_API_URL || process.env.TIMEINTERVALSINCE1970_API_URL;\n }\n return null;\n};\n\nexport const getEventLocation = (event, summitVenueCount, summitShowLocDate = null, nowUtc = null) => {\n const shouldShowVenues = (summitShowLocDate && nowUtc) ? summitShowLocDate * 1000 < nowUtc : true;\n const locationName = [];\n const { location } = event;\n \n if (!shouldShowVenues) return 'TBA';\n \n if (!location) return 'TBA';\n \n if (summitVenueCount > 1 && location.venue?.name) locationName.push(location.venue.name);\n if (location.floor?.name) locationName.push(location.floor.name);\n if (location.name) locationName.push(location.name);\n \n return locationName.length > 0 ? locationName.join(' - ') : 'TBA';\n};\n\nexport const getEventHosts = (event) => {\n let hosts = [];\n if (event.speakers?.length > 0) {\n hosts = [...event.speakers];\n }\n if (event.moderator) hosts.push(event.moderator);\n \n return hosts;\n};\n\nconst loadImage = async url => {\n const img = document.createElement('img')\n img.src = url\n img.crossOrigin = 'anonymous'\n \n return new Promise((resolve, reject) => {\n img.onload = () => resolve(img)\n img.onerror = reject\n })\n}\n\nexport const convertSVGtoImg = async (svgUrl) => {\n const img = await loadImage(svgUrl)\n const newWidth = 100\n const newHeight = Math.floor(img.naturalHeight * 100 / img.naturalWidth)\n \n const canvas = document.createElement('canvas')\n canvas.width = newWidth\n canvas.height = newHeight\n canvas.getContext('2d').drawImage(img, 0, 0, newWidth, newHeight)\n \n const url = await canvas.toDataURL(`image/png`, 1.0)\n console.log(url, newWidth, newHeight);\n return {url, width: newWidth, height: newHeight}\n}\n","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/extends\");","module.exports = require(\"@babel/runtime/helpers/objectWithoutProperties\");","module.exports = require(\"i18n-react/dist/i18n-react\");","module.exports = require(\"moment-timezone\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"react-dnd\");","module.exports = require(\"react-dom\");","module.exports = require(\"react-select\");","module.exports = require(\"urijs\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-bootstrap\");","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React, {useState, useEffect} from 'react';\nimport {DraggableItemTypes} from './constants';\nimport {useDrag} from 'react-dnd';\nimport {Popover, OverlayTrigger} from 'react-bootstrap';\nimport RawHTML from '../raw-html';\n\nconst RESIZING_DIR_NORTH = 'N';\nconst RESIZING_DIR_SOUTH = 'S';\n\nconst ScheduleEvent = ({\n event,\n step,\n initialTop,\n initialHeight,\n minHeight,\n maxHeight,\n canResize,\n allowResize,\n allowDrag,\n onResized,\n onUnPublishEvent,\n onEditEvent,\n onClickSelected,\n selectedPublishedEvents,\n onMoveEvent\n }) => {\n const [collected, drag] = useDrag(() => ({\n type: DraggableItemTypes.SCHEDULEEVENT,\n item: {id: event.id, title: event.title, is_published: event.is_published, start_date: event.start_date, end_date: event.end_date, duration: event.duration},\n collect: (monitor) => ({\n isDragging: monitor.isDragging(),\n }),\n canDrag: allowDrag && !event.static\n }), [event.id, event.duration, event.start_date, event.end_date]);\n const [resizeInfo, setResizeInfo] = useState({resizing: false, type: null, lastYPos: null});\n const [size, setSize] = useState({top: initialTop, height: initialHeight});\n const isSelected = selectedPublishedEvents?.includes(event.id) || false;\n const canEdit = !event.static;\n const isResizable = allowResize && canEdit && size.height > 15;\n\n const popoverHoverFocus = () =>\n <Popover id=\"popover-trigger-focus\" title={event.title}>\n <RawHTML>{event.description}</RawHTML>\n </Popover>\n\n // resize behavior\n\n const onMouseDown = (evt) => {\n if (!evt.target.getAttribute('data-resizable')) return;\n\n const box = evt.target.getBoundingClientRect();\n\n let type;\n if (evt.clientY - box.top < 10) {\n type = RESIZING_DIR_NORTH;\n } else if (box.bottom - evt.clientY < 10) {\n type = RESIZING_DIR_SOUTH;\n } else {\n return;\n }\n\n setResizeInfo({resizing: true, type, lastYPos: evt.pageY});\n\n evt.preventDefault();\n }\n\n const onMouseMove = (evt) => {\n if (!resizeInfo.resizing) return;\n\n let lastYPos = resizeInfo.lastYPos;\n let newYPos = evt.pageY;\n let deltaY = newYPos - lastYPos;\n\n if (step && step > 0) {\n let steps = parseInt(Math.round(Math.abs(deltaY) / step));\n deltaY = Math.sign(deltaY) * steps * step;\n if (!deltaY) {\n evt.preventDefault();\n return false;\n }\n }\n\n let newHeight = size.height;\n let newTop = size.top;\n\n if (resizeInfo.type === RESIZING_DIR_SOUTH) {\n newHeight = size.height + deltaY;\n }\n\n if (resizeInfo.type === RESIZING_DIR_NORTH) {\n if (deltaY < 0) {\n newTop = size.top - Math.abs(deltaY);\n newHeight = size.height + Math.abs(deltaY);\n } else {\n newTop = size.top + Math.abs(deltaY);\n newHeight = size.height - Math.abs(deltaY);\n }\n }\n\n // check constraints\n if (newHeight < minHeight) {\n newHeight = minHeight;\n newYPos = lastYPos;\n newTop = size.top;\n }\n\n let maxHeightTmp = (typeof maxHeight === \"function\") ? maxHeight() : maxHeight;\n\n if (newHeight > maxHeightTmp) {\n newHeight = maxHeightTmp;\n newYPos = lastYPos;\n newTop = size.top;\n }\n\n if (newTop < 0) {\n newTop = 0;\n newHeight = size.height;\n newYPos = lastYPos;\n }\n\n if (canResize(event.id, newTop, newHeight)) {\n setResizeInfo({\n ...resizeInfo,\n resizing: true,\n lastYPos: newYPos\n });\n\n setSize({\n top: newTop,\n height: newHeight,\n });\n }\n\n evt.preventDefault();\n };\n\n const onMouseUp = (evt) => {\n evt.preventDefault();\n setResizeInfo({type: null, lastYPos: null, resizing: false});\n };\n \n const eventTitleBlock = () => {\n let block = null;\n \n if (event.description) {\n block = (<OverlayTrigger trigger={['hover']} placement=\"bottom\" overlay={popoverHoverFocus()}>\n <div className=\"event-content\">\n <span className=\"event-title withTooltip\">{`${event.id} - ${event.title}${event.duration ? ` - ${event.duration/60} minutes` : ''}`}</span>\n </div>\n </OverlayTrigger>);\n } else {\n block = (<div className=\"event-content\">\n <span className=\"event-title\">{`${event.id} - ${event.title}${event.duration ? ` - ${event.duration/60} minutes` : ''}`}</span>\n </div>);\n }\n \n return block;\n }\n\n // end resize behavior\n\n useEffect(() => {\n if (resizeInfo.resizing) {\n document.addEventListener('mousemove', onMouseMove, false);\n document.addEventListener('mouseup', onMouseUp, false);\n } else {\n document.removeEventListener('mousemove', onMouseMove, false);\n document.removeEventListener('mouseup', onMouseUp, false);\n\n if (size.top !== initialTop || size.height !== initialHeight) {\n onResized(event.id, size.top, size.height);\n }\n }\n\n return () => {\n document.removeEventListener('mousemove', onMouseMove, false);\n document.removeEventListener('mouseup', onMouseUp, false);\n }\n }, [resizeInfo.resizing])\n\n return (\n <div\n className={`row schedule-event ${isResizable ? 'is-resizable' : ''} ${canEdit ? '' : 'is-static'}`}\n data-resizable={true}\n id={`event_${event.id}`}\n onMouseDown={onMouseDown}\n ref={drag}\n style={{\n top: size.top,\n height: size.height,\n display: collected.isDragging ? 'none' : 'block',\n cursor: 'move',\n }}\n >\n {onClickSelected &&\n <div className=\"event-select-wrapper\">\n <input\n className=\"select-event-btn\"\n id={`selected_event_${event.id}`}\n type=\"checkbox\"\n checked={isSelected}\n onChange={() => onClickSelected(event)}\n />\n </div>\n }\n <div className=\"col-md-12 event-container\">\n {eventTitleBlock()}\n </div>\n <div className=\"event-actions\">\n {!event.static && onUnPublishEvent &&\n <i\n className=\"fa fa-minus-circle event-action-btn\"\n aria-hidden=\"true\"\n title=\"unpublish event\"\n onClick={() => onUnPublishEvent(event)}\n />\n }\n {onEditEvent &&\n <i\n className=\"fa fa-pencil-square-o event-action-btn\"\n title=\"edit event\"\n aria-hidden=\"true\"\n onClick={() => onEditEvent(event)}\n />\n }\n {!event.static && onMoveEvent &&\n <i\n className=\"fa fa-arrow-circle-right event-action-btn\"\n title=\"move event\"\n aria-hidden=\"true\"\n onClick={() => onMoveEvent(event)}\n />\n }\n </div>\n </div>\n );\n}\n\nexport default ScheduleEvent;\n","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributschedule-event-list'ed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React, {useEffect, useRef, useState} from 'react';\nimport moment from 'moment-timezone'\nimport {useDrop} from 'react-dnd'\nimport {DraggableItemTypes} from './constants';\nimport ScheduleEvent from './schedule-event';\nimport ReactDOM from 'react-dom';\nimport SummitEvent from '../../models/summit-event';\n\nconst TimeSlot = ({timeLabel, id}) => {\n return (\n <div id={id} className=\"row time-slot\">\n <div className=\"col-md-12\">\n <span>{timeLabel}</span>\n </div>\n </div>\n )\n}\n\nconst TimeSlotContainer = ( props ) => {\n const {currentDay, currentSummit, events, timeSlot, pixelsPerMinute, interval, canDropEvent, onDroppedEvent} = props;\n const divId = `time_slot_container_${timeSlot.format('HH_mm')}`;\n const [collectedProps, drop] = useDrop(() => ({\n accept: [DraggableItemTypes.UNSCHEDULEEVENT, DraggableItemTypes.SCHEDULEEVENT],\n collect: (monitor) => ({\n isOver: monitor.isOver(),\n canDrop: monitor.canDrop()\n }),\n canDrop: (item, monitor) => {\n if (canDropEvent) return canDropEvent(item, monitor);\n const eventModel = new SummitEvent(item, currentSummit);\n return eventModel.canMove(events, currentDay, timeSlot, interval);\n },\n drop: (item, monitor, component) => {\n onDroppedEvent(item, timeSlot);\n }\n }), [interval, timeSlot, currentDay]);\n const {isOver, canDrop} = collectedProps;\n\n const renderMinutesContainer = (interval, pixelsPerMinute) => {\n let minutesContainers = [];\n let container_count = 2;\n let container_height = pixelsPerMinute * 5;\n\n for (var i = 0; i < container_count; i++) {\n\n minutesContainers[i] = <div key={i} className=\"minute-container\" style={{\n position: 'relative',\n width: '100%',\n height: `${container_height}px`\n }}/>;\n }\n\n return minutesContainers;\n };\n\n const placeHolderStyle = () => {\n const style = {};\n\n if (isOver) {\n style.backgroundColor = canDrop ? 'green' : 'red';\n style.opacity = 0.5;\n } else if (canDrop) {\n style.backgroundColor = 'yellow';\n style.opacity = 0.5;\n }\n\n return style;\n }\n\n return (\n <div id={divId} ref={drop} className=\"row time-slot-container\" style={placeHolderStyle()}>\n <div className=\"col-md-12\">\n {renderMinutesContainer(interval, pixelsPerMinute)}\n </div>\n </div>\n );\n};\n\nconst ScheduleEventList = (props) => {\n const listRef = useRef();\n const prevIntervalRef = useRef();\n const [timeSlotsList, setTimeSlotsList] = useState([]);\n const [newScrollTop, setNewScrollTop] = useState(null);\n const scheduleEventContainer = useRef(null);\n \n // sets scrollbar position after interval change and render\n useEffect(() => {\n if (newScrollTop) {\n listRef.current.scrollTop = newScrollTop;\n setNewScrollTop(null);\n }\n }, [newScrollTop]);\n\n useEffect(() => {\n const slotChangeRatio = prevIntervalRef.current / props.interval;\n // set scroll pos to set scrollbar after render\n setNewScrollTop(listRef.current.scrollTop * slotChangeRatio);\n createSlots();\n prevIntervalRef.current = props.interval;\n }, [props.interval, props.startTime, props.endTime]);\n\n const onDroppedEvent = (event, startTime) => {\n props.onScheduleEvent(event, props.currentDay, startTime);\n }\n\n const canResize = (eventId, newTop, newHeight) => {\n const {events, currentDay, startTime, pixelsPerMinute, currentSummit} = props;\n const {height} = getBoundingBox();\n\n if (height < (newTop + newHeight)) {\n return false;\n }\n\n const filteredEvents = events.filter(evt => {\n return evt.id !== eventId;\n });\n // calculate new event start date, end date\n const minutes = Math.floor(newTop / (pixelsPerMinute * (10 / interval)));\n const duration = Math.floor(newHeight / (pixelsPerMinute * (10 / interval)));\n\n let startDateTime = moment.tz(currentDay + ' ' + startTime, 'YYYY-MM-DD HH:mm', currentSummit.time_zone.name);\n startDateTime = startDateTime.add(minutes, 'minutes');\n let endDateTime = moment.tz(currentDay + ' ' + startTime, 'YYYY-MM-DD HH:mm', currentSummit.time_zone.name);\n endDateTime = endDateTime.add(minutes + duration, 'minutes');\n\n for (const auxEvent of filteredEvents) {\n const auxEventStartDateTime = moment(auxEvent.start_date * 1000).tz(currentSummit.time_zone.name);\n const auxEventEndDateTime = moment(auxEvent.end_date * 1000).tz(currentSummit.time_zone.name);\n // if time segments overlap\n if (auxEventStartDateTime.isBefore(endDateTime) && auxEventEndDateTime.isAfter(startDateTime))\n return false;\n }\n\n return true;\n }\n\n const onResized = (eventId, newTop, newHeight) => {\n const {events, currentDay, startTime, pixelsPerMinute, currentSummit} = props;\n const event = events.filter(evt => {\n return evt.id === eventId;\n }).shift();\n const minutes = Math.floor(newTop / (pixelsPerMinute * (10 / interval)));\n const duration = Math.floor(newHeight / (pixelsPerMinute * (10 / interval)));\n let startDateTime = moment.tz(currentDay + ' ' + startTime, 'YYYY-MM-DD HH:mm', currentSummit.time_zone.name);\n startDateTime = startDateTime.add(minutes, 'minutes');\n\n props.onScheduleEvent(event, currentDay, moment(startDateTime.format('HH:mm'), 'HH:mm'), duration);\n }\n\n const getMaxHeight = () => {\n return getBoundingBox().height;\n }\n\n const getBoundingBox = () => {\n return ReactDOM.findDOMNode(scheduleEventContainer.current).getBoundingClientRect();\n }\n\n const calculateInitialTop = (event) => {\n const {currentDay, startTime, pixelsPerMinute, currentSummit} = props;\n const eventStartDateTime = moment(event.start_date * 1000).utc().tz(currentSummit.time_zone.name);\n const dayStartDateTime = moment.tz(currentDay + ' ' + startTime, 'YYYY-MM-DD HH:mm', currentSummit.time_zone.name);\n const minutes = eventStartDateTime.diff(dayStartDateTime, 'minutes');\n return minutes * pixelsPerMinute * (10 / interval);\n }\n\n const calculateInitialHeight = (event) => {\n const {pixelsPerMinute, currentSummit, interval} = props;\n const eventStartDateTime = moment(event.start_date * 1000).tz(currentSummit.time_zone.name);\n const eventEndDateTime = moment(event.end_date * 1000).tz(currentSummit.time_zone.name);\n const minutes = eventEndDateTime.diff(eventStartDateTime, 'minutes');\n return minutes * pixelsPerMinute * (10 / interval);\n }\n\n const createSlots = () => {\n const tmpList = [];\n let done = false;\n const startTimeTZ = moment.tz(startTime, 'HH:mm', currentSummit.time_zone.name);\n const endTimeTZ = moment.tz(endTime, 'HH:mm', currentSummit.time_zone.name);\n // create UI\n let slot = startTimeTZ;\n do {\n tmpList.push(slot);\n slot = slot.clone();\n slot.add(interval, 'm');\n done = slot.isAfter(endTimeTZ);\n } while (!done);\n\n setTimeSlotsList(tmpList);\n };\n\n const {\n events,\n startTime,\n endTime,\n interval,\n pixelsPerMinute,\n currentDay,\n currentSummit,\n canDropEvent,\n onEditEvent,\n onUnPublishEvent,\n onClickSelected,\n selectedPublishedEvents\n } = props;\n\n return (\n <div className=\"row outer-schedule-events-container\" ref={listRef}>\n <div className=\"col-md-2 no-margin no-padding\">\n {\n timeSlotsList.map((slot, idx) => (\n <TimeSlot timeLabel={slot.format(\"HH:mm\")} key={idx} id={slot.format(\"HH_mm\")}/>\n ))\n }\n </div>\n <div\n className=\"schedule-events-container col-md-10 no-margin no-padding\"\n ref={scheduleEventContainer}\n >\n {\n timeSlotsList.map((slot, idx) => (\n <TimeSlotContainer\n timeSlot={slot}\n canDropEvent={canDropEvent}\n onDroppedEvent={onDroppedEvent}\n key={`timeslot-${idx}`}\n events={events}\n currentSummit={currentSummit}\n interval={interval}\n pixelsPerMinute={pixelsPerMinute}\n currentDay={currentDay}>\n </TimeSlotContainer>\n ))\n }\n {\n events.map((event, idx) => {\n return (\n <ScheduleEvent\n event={event}\n selectedPublishedEvents={selectedPublishedEvents}\n key={`event-${event.id}-${event.last_edited}-${interval}`}\n type={\"MAIN\"}\n step={pixelsPerMinute * 5}\n minHeight={(pixelsPerMinute * 10)}\n initialTop={calculateInitialTop(event)}\n initialHeight={calculateInitialHeight(event)}\n canResize={canResize}\n allowResize={props.allowResize}\n allowDrag={props.allowDrag}\n onResized={onResized}\n maxHeight={getMaxHeight}\n onUnPublishEvent={onUnPublishEvent}\n onEditEvent={onEditEvent}\n onClickSelected={onClickSelected}\n currentDay={currentDay}\n onMoveEvent={props.onMoveEvent}\n >\n </ScheduleEvent>)\n })\n }\n </div>\n </div>\n );\n}\n\nexport default ScheduleEventList;\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@react-pdf/renderer\");","/**\n * Copyright 2020 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Document, Page, StyleSheet, View, Text, Image } from '@react-pdf/renderer';\nimport { convertSVGtoImg, getEventHosts, getEventLocation, epochToMomentTimeZone } from '../../utils/methods';\n\n// Create styles\nconst styles = StyleSheet.create({\n header: {\n fontSize: '18px',\n textAlign: 'center'\n },\n headlineWrapper: {\n margin: '0 10px 20px',\n display: 'flex',\n flexDirection: 'row',\n },\n headline: {\n margin: 'auto'\n },\n logo: {\n marginRight: '20px',\n backgroundColor: 'lightgray'\n },\n subtitle: {\n padding: '10px',\n fontSize: '12px',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between'\n },\n label: {\n fontSize: '8px',\n textTransform: 'uppercase'\n },\n eventList: {\n flexDirection: 'column',\n display: 'flex',\n overflow: 'hidden',\n padding: '20px'\n },\n eventWrapper: {\n margin: 5,\n padding: 5,\n border: '1px solid black'\n },\n locationWrapper: {\n marginBottom: 8,\n fontSize: '10px',\n color: '#4A4A4A',\n fontWeight: 600,\n },\n title: {\n marginBottom: 10,\n display: 'inline-flex',\n fontSize: '12px',\n color: '#4A4A4A',\n fontWeight: 600,\n },\n footer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n width: '100%'\n },\n leftCol: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n maxWidth: '65%',\n },\n speakers: {\n fontSize: '10px',\n color: '#4A4A4A',\n },\n trackWrapper: {\n fontWeight: 'bold',\n fontSize: '10px',\n position: 'relative',\n marginTop: 'auto',\n },\n rightCol: {\n maxWidth: '35%'\n },\n tagsWrapper: {\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'right'\n },\n tag: {\n backgroundColor: '#F6F6F6',\n borderRadius: '8px',\n height: '10px',\n margin: '4px 4px 0 0',\n padding: '1px 2px',\n textTransform: 'uppercase',\n fontSize: '6px',\n color: '#4A4A4A',\n }\n});\n\nconst SchedulePrintView = ({ events, summit, nowUtc }) => {\n const [imgData, setImgData] = useState(null);\n const getSpeakers = (event) => {\n const speakerTags = getEventHosts(event).map(sp => `${sp.first_name} ${sp.last_name}`);\n\n if (speakerTags.length > 0) {\n return (\n <View style={styles.speakers}>\n <Text>By {speakerTags.join(', ')}</Text>\n </View>\n );\n }\n\n return null;\n };\n\n const sortedEvents = events.sort((a,b) => a.start_date - b.start_date);\n const venue = summit.locations.find(l => l.class_name === 'SummitVenue');\n const summitStart = epochToMomentTimeZone(summit.start_date, summit.time_zone_id).format('MMMM Do YYYY');\n const summitEnd = epochToMomentTimeZone(summit.end_date, summit.time_zone_id).format('MMMM Do YYYY');\n \n useEffect(() => {\n if (summit.logo) {\n const getPngLogo = async () => {\n const _imgData = await convertSVGtoImg(summit.logo);\n setImgData(_imgData);\n }\n\n getPngLogo();\n }\n }, [summit.logo])\n\n if (!imgData) return null;\n\n return (\n <Document>\n <Page size='A4' style={styles.eventList}>\n <View style={styles.header}>\n <View style={styles.headlineWrapper}>\n <Image src={imgData.url} style={{...styles.logo, width: imgData.width, height: imgData.height}} />\n <Text style={styles.headline}>Schedule for {summit.name}</Text>\n </View>\n <View style={styles.subtitle}>\n <View>\n <Text style={styles.label}>Venue:</Text><Text>{venue?.name}</Text>\n </View>\n <View>\n <Text style={styles.label}>Start:</Text><Text>{summitStart}</Text>\n </View>\n <View>\n <Text style={styles.label}>End:</Text><Text>{summitEnd}</Text>\n </View>\n </View>\n </View>\n {sortedEvents.map(event => {\n const eventDate = epochToMomentTimeZone(event.start_date, summit.time_zone_id).format('ddd, MMMM D');\n const eventStartTime = epochToMomentTimeZone(event.start_date, summit.time_zone_id).format('h:mma');\n const eventEndTime = epochToMomentTimeZone(event.end_date, summit.time_zone_id).format('h:mma');\n const venueCount = summit.locations.filter(loc => loc.class_name === 'SummitVenue');\n const locationStr = getEventLocation(event, venueCount, summit.start_showing_venues_date, nowUtc);\n const eventColorStyle = event.eventColor ? {borderLeft: `4px solid ${event.eventColor}`} : {};\n\n return (\n <View\n style={{...styles.eventWrapper, ...eventColorStyle}}\n key={`event-${event.id}`}\n wrap={false}\n >\n <View style={styles.locationWrapper}>\n <Text>\n {`${eventDate}, ${eventStartTime} - ${eventEndTime} | ${locationStr}`}\n </Text>\n </View>\n <View style={styles.title}>\n <Text>{event.title}</Text>\n </View>\n <View style={styles.footer}>\n <View style={styles.leftCol}>\n {event.track &&\n <View style={styles.trackWrapper}>\n <Text>{event.track?.name}</Text>\n </View>\n }\n {(event.speakers?.length > 0 || event.moderator) &&\n <View>\n {getSpeakers(event)}\n </View>\n }\n </View>\n <View style={styles.rightCol}>\n <View style={styles.tagsWrapper}>\n {event.tags?.map(t =>\n <View key={`tag-${t.id}-${event.id}`} style={styles.tag}>\n <Text>{t.tag}</Text>\n </View>\n )}\n </View>\n </View>\n </View>\n </View>\n );\n })}\n </Page>\n </Document>\n );\n};\n\nSchedulePrintView.propTypes = {\n events: PropTypes.array.isRequired,\n summit: PropTypes.object.isRequired\n};\n\nexport default SchedulePrintView;\n\n","// extracted by mini-css-extract-plugin\nexport default {\"button\":\"XZyB3zy09oNiJPYXzMaR\",\"cal\":\"V8lrMEK6XXJUFDwsrtSs\"};","import React, {useState} from 'react'\nimport {PDFDownloadLink} from '@react-pdf/renderer';\nimport SchedulePrintView from \"../schedule-print/schedule-print-view\";\nimport styles from './styles.module.scss'\n\n\nconst SchedulePrintButton = ({events, summit, nowUtc = null}) => {\n const [downloadPdf, setDownloadPdf] = useState(false);\n \n return (\n <>\n {!downloadPdf &&\n <button className={`${styles.button} ${styles.cal}`} onClick={() => setDownloadPdf(true)}>\n <i className='fa fa-print' aria-hidden='true'/>\n Print\n </button>\n }\n \n {downloadPdf &&\n <PDFDownloadLink\n className={`${styles.button} ${styles.cal}`}\n document={<SchedulePrintView events={events} summit={summit} nowUtc={nowUtc}/>}\n fileName=\"schedule.pdf\"\n >\n {({blob, url, loading, error}) => {\n return (!blob || loading ? 'Creating document...' : 'Download PDF');\n }\n }\n </PDFDownloadLink>\n }\n </>\n );\n}\n\nexport default SchedulePrintButton;\n","import React, {useEffect, useMemo} from 'react';\nimport SummitDaysSelect from \"../inputs/summit-days-select\";\nimport SummitVenuesSelect from \"../inputs/summit-venues-select\";\nimport SteppedSelect from \"../inputs/stepped-select/index.jsx\";\nimport ScheduleEventList from \"./schedule-event-list\";\nimport {epochToMomentTimeZone, parseLocationHour} from \"../../utils/methods\";\nimport BulkActionsSelector from \"../bulk-actions-selector/index.js\";\nimport {bulkOptions, PixelsPerMinute, SlotSizeOptions, TBALocation} from \"./constants\";\nimport SchedulePrintButton from \"../schedule-print/schedule-print-button\";\n\nimport './schedule-builder-view.less';\n\nconst getDaysOptions = (summit, trackSpaceTime, currentLocation) => {\n const days = [];\n const summitLocalStartDate = epochToMomentTimeZone(summit.start_date, summit.time_zone_id);\n const summitLocalEndDate = epochToMomentTimeZone(summit.end_date, summit.time_zone_id);\n let currentAuxDay = summitLocalStartDate.clone();\n const allowedDays =\n trackSpaceTime\n ?.find(sp => sp.location_id === currentLocation?.id)\n ?.allowed_timeframes?.map(\n at => epochToMomentTimeZone(at.day, summit.time_zone_id).format(\"YYYY-MM-DD\")\n ) || null;\n \n do {\n const option = {\n value: currentAuxDay.format(\"YYYY-MM-DD\"),\n label: currentAuxDay.format('dddd Do , MMMM YYYY')\n };\n \n if (!allowedDays || allowedDays.length === 0 || allowedDays.includes(option.value)) {\n days.push(option);\n }\n currentAuxDay = currentAuxDay.clone();\n currentAuxDay.add(1, 'day');\n } while (!currentAuxDay.isAfter(summitLocalEndDate));\n \n return days;\n};\n\nconst getVenuesOptions = (summit, trackSpaceTime) => {\n const venues = [{value: TBALocation, label: TBALocation.name}];\n const allowedLocationIds = trackSpaceTime?.map(st => st.location_id) || null;\n \n const locations = summit.locations.filter(loc => {\n const isNotVenue = loc.class_name !== \"SummitVenue\";\n const isAllowed = allowedLocationIds ? allowedLocationIds.includes(loc.id) : true;\n return isNotVenue && isAllowed;\n })\n \n locations.forEach(loc => {\n const option = {value: loc, label: loc.name};\n venues.push(option);\n if (loc.hasOwnProperty('rooms')) {\n loc.rooms.forEach(r => {\n const subOption = {value: r, label: r.name};\n venues.push(subOption);\n })\n }\n })\n \n return venues;\n};\n\nconst getTimeframe = (currentDay, currentLocation, trackSpaceTime, summitTZ) => {\n if (currentDay && currentLocation && trackSpaceTime) {\n const allowedDays = trackSpaceTime.find(st => st.location_id === currentLocation.id)?.allowed_timeframes;\n \n if (allowedDays?.length > 0) {\n const allowedTimeFrame = allowedDays?.find(tf => epochToMomentTimeZone(tf.day, summitTZ).format(\"YYYY-MM-DD\") === currentDay);\n if (allowedTimeFrame) {\n return {open: parseLocationHour(allowedTimeFrame.opening_hour), close: parseLocationHour(allowedTimeFrame.closing_hour)};\n }\n }\n }\n \n if (currentLocation?.opening_hour && currentLocation?.closing_hour) {\n return {open: parseLocationHour(currentLocation.opening_hour), close: parseLocationHour(currentLocation.closing_hour)};\n }\n \n return {open: \"00:00\", close: \"23:50\"};\n};\n\nconst ScheduleBuilderView = ({\n summit,\n trackSpaceTime,\n scheduleEvents,\n selectedEvents,\n currentDay,\n currentVenue,\n slotSize,\n hideBulkSelect,\n ...props\n }) => {\n const days = useMemo(() => getDaysOptions(summit, trackSpaceTime, currentVenue), [summit.start_date, summit.end_date, trackSpaceTime, currentVenue]);\n const venues = useMemo(() => getVenuesOptions(summit, trackSpaceTime), [summit.locations, trackSpaceTime]);\n const slotSizeOptions = SlotSizeOptions.map(op => ({value: op, label: `${op} min.`}));\n const {allowResize = true, allowDrag = true} = props;\n const {open, close} = useMemo(() => getTimeframe(currentDay, currentVenue, trackSpaceTime, summit.time_zone_id), [currentDay, currentVenue, trackSpaceTime]);\n \n useEffect(() => {\n // if new location doesn't allow currentDay value, reset\n if (currentDay && !days.find(op => op.value === currentDay)) {\n props.onDayChanged(null);\n }\n }, [currentVenue])\n \n return (\n <div className=\"schedule-view-wrapper\">\n {(props.onSlotSizeChange || props.showPrint) &&\n <div className=\"row\" style={{marginBottom: 12, marginTop: 2}}>\n {props.onSlotSizeChange &&\n <div className=\"col-md-6\">\n <span>Slot size: </span>\n <SteppedSelect\n value={slotSize}\n onChange={props.onSlotSizeChange}\n options={slotSizeOptions}\n style={{display: 'inline-block', marginLeft: 10}}\n />\n </div>\n }\n {props.showPrint &&\n <div className=\"col-md-6 pull-right\">\n <SchedulePrintButton summit={summit} events={scheduleEvents} />\n </div>\n }\n </div>\n }\n <div className=\"row\">\n <div className=\"col-md-6\">\n <SummitVenuesSelect\n onVenueChanged={props.onVenueChanged}\n venues={venues}\n currentValue={currentVenue}\n placeholder=\"Select Room\"\n />\n </div>\n <div className=\"col-md-6\">\n <SummitDaysSelect\n onDayChanged={props.onDayChanged}\n days={days}\n currentValue={currentDay}\n placeholder=\"Select Day\"\n />\n </div>\n </div>\n <BulkActionsSelector\n bulkOptions={props.customBulkOptions || bulkOptions}\n onSelectAll={props.onSelectAll}\n onSelectedBulkAction={props.onSelectedBulkAction}\n show={!hideBulkSelect && scheduleEvents.length > 0}\n />\n \n {currentDay && currentVenue &&\n <ScheduleEventList\n startTime={open}\n endTime={close}\n currentSummit={summit}\n interval={slotSize}\n currentDay={currentDay}\n pixelsPerMinute={PixelsPerMinute}\n canDropEvent={props.canDropEvent}\n allowResize={allowResize}\n allowDrag={allowDrag}\n onScheduleEvent={props.onScheduleEvent}\n events={scheduleEvents}\n onUnPublishEvent={props.onUnPublishEvent}\n onEditEvent={props.onEditEvent}\n onClickSelected={props.onClickSelected}\n selectedPublishedEvents={selectedEvents}\n onMoveEvent={props.onMoveSingleEvent}\n />\n }\n </div>\n );\n}\n\nexport default ScheduleBuilderView;\n"],"names":["root","factory","exports","module","define","amd","this","ScheduleAdminsBulkActionsSelector","React","onPerformBulkAction","selectedBulkAction","actionTypeSelect","value","props","onSelectedBulkAction","render","onSelectAll","bulkOptions","show","className","type","onClick","ref","select","T","map","option","idx","key","label","bind","title","options","onChange","rest","handleChange","increment","currentOptionKey","findIndex","op","length","valueLabel","find","styles","days","currentValue","placeholder","onDayChanged","theValue","name","selectedOption","venues","onVenueChanged","parsedValue","v","id","optionRenderer","location","class_name","children","replaceNewLine","dangerouslySetInnerHTML","__html","replace","DraggableItemTypes","UNSCHEDULEEVENT","SCHEDULEEVENT","TBALocation","SlotSizeOptions","PixelsPerMinute","constructor","event","summit","_event","_summit","getId","isPublished","hasOwnProperty","is_published","getMinutesDuration","slotSize","start_date","end_date","eventStartDateTime","moment","tz","time_zone","diff","duration","parseInt","canMove","siblings","day","startTime","interval","startDateTime","format","endDateTime","add","auxEvent","filter","item","auxEventStartDateTime","auxEventEndDateTime","isBefore","isAfter","calculateNewDates","minutes","isValidEndDate","endDate","startDate","summitEndDate","isSame","isValidStartDate","summitStartDate","isValidTitle","trim","isValid","epochToMomentTimeZone","atime","parseLocationHour","hour","parsedHour","toString","match","join","getEventLocation","summitVenueCount","summitShowLocDate","nowUtc","shouldShowVenues","locationName","venue","push","floor","getEventHosts","hosts","speakers","moderator","convertSVGtoImg","async","img","document","createElement","src","url","crossOrigin","Promise","resolve","reject","onload","onerror","loadImage","svgUrl","newWidth","newHeight","Math","naturalHeight","naturalWidth","canvas","width","height","getContext","drawImage","toDataURL","console","log","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","call","r","Symbol","toStringTag","step","initialTop","initialHeight","minHeight","maxHeight","canResize","allowResize","allowDrag","onResized","onUnPublishEvent","onEditEvent","onClickSelected","selectedPublishedEvents","onMoveEvent","collected","drag","useDrag","collect","monitor","isDragging","canDrag","static","resizeInfo","setResizeInfo","useState","resizing","lastYPos","size","setSize","top","isSelected","includes","canEdit","isResizable","popoverHoverFocus","Popover","description","onMouseMove","evt","newYPos","pageY","deltaY","steps","round","abs","sign","preventDefault","newTop","maxHeightTmp","onMouseUp","useEffect","addEventListener","removeEventListener","onMouseDown","target","getAttribute","box","getBoundingClientRect","clientY","bottom","style","display","cursor","checked","block","OverlayTrigger","trigger","placement","overlay","eventTitleBlock","TimeSlot","timeLabel","TimeSlotContainer","currentDay","currentSummit","events","timeSlot","pixelsPerMinute","canDropEvent","onDroppedEvent","divId","collectedProps","drop","useDrop","accept","isOver","canDrop","SummitEvent","component","backgroundColor","opacity","placeHolderStyle","minutesContainers","container_height","i","position","renderMinutesContainer","listRef","useRef","prevIntervalRef","timeSlotsList","setTimeSlotsList","newScrollTop","setNewScrollTop","scheduleEventContainer","current","scrollTop","slotChangeRatio","createSlots","endTime","onScheduleEvent","eventId","getBoundingBox","filteredEvents","shift","getMaxHeight","ReactDOM","calculateInitialTop","utc","dayStartDateTime","calculateInitialHeight","tmpList","done","startTimeTZ","endTimeTZ","slot","clone","last_edited","StyleSheet","header","fontSize","textAlign","headlineWrapper","margin","flexDirection","headline","logo","marginRight","subtitle","padding","justifyContent","textTransform","eventList","overflow","eventWrapper","border","locationWrapper","marginBottom","color","fontWeight","footer","leftCol","flex","maxWidth","trackWrapper","marginTop","rightCol","tagsWrapper","flexWrap","tag","borderRadius","SchedulePrintView","imgData","setImgData","sortedEvents","sort","b","locations","l","summitStart","time_zone_id","summitEnd","_imgData","getPngLogo","Document","Page","View","Image","Text","eventDate","eventStartTime","eventEndTime","venueCount","loc","locationStr","start_showing_venues_date","eventColorStyle","eventColor","borderLeft","wrap","track","speakerTags","sp","first_name","last_name","getSpeakers","tags","t","propTypes","PropTypes","downloadPdf","setDownloadPdf","PDFDownloadLink","fileName","blob","loading","error","trackSpaceTime","scheduleEvents","selectedEvents","currentVenue","hideBulkSelect","useMemo","currentLocation","summitLocalStartDate","summitLocalEndDate","currentAuxDay","allowedDays","location_id","allowed_timeframes","at","getDaysOptions","allowedLocationIds","st","isNotVenue","isAllowed","forEach","rooms","subOption","getVenuesOptions","slotSizeOptions","open","close","summitTZ","allowedTimeFrame","tf","opening_hour","closing_hour","getTimeframe","onSlotSizeChange","showPrint","marginLeft","customBulkOptions","onMoveSingleEvent"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components/sections/panel.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,+ECW/C,MAAMC,UAAcC,IAAAA,UAE/BC,SAEI,IAAI,SAACC,EAAD,KAAWC,EAAX,MAAiBC,EAAjB,YAAwBC,EAAxB,UAAqCC,EAArC,GAAgDC,GAAMrC,KAAKsC,MAC3DC,EAAQvC,KAAKsC,MAAMf,eAAe,MAAQc,EAAM,MAAKH,IACrDM,EAAWxC,KAAKsC,MAAMf,eAAe,aAAea,EAAY,GAEpE,OACI,yBAAKA,UAAW,eAAiBI,EAAUH,GAAIE,GAC3C,yBAAKH,UAAU,uBACX,uBAAGA,UAAWH,EAAO,YAAc,GAAIQ,QAASN,GAC5C,yBAAKC,UAAU,iBACX,wBAAIA,UAAU,eACTF,KAIb,yBAAKE,UAAU,8BACVH,GACD,yBAAKG,UAAU,cACVJ,KAQxB,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/sections/panel.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * Copyright 2017 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React from 'react';\n\n\nexport default class Panel extends React.Component {\n\n render() {\n\n let {children, show, title, handleClick, className, id} = this.props;\n let theId = this.props.hasOwnProperty('id') ? id : `id_${title}`;\n let theClass = this.props.hasOwnProperty('className') ? className : '';\n\n return (\n <div className={\"panel-group \" + theClass} id={theId} >\n <div className=\"panel panel-default\">\n <a className={show ? 'collapsed' : ''} onClick={handleClick}>\n <div className=\"panel-heading\">\n <h4 className=\"panel-title\">\n {title}\n </h4>\n </div>\n </a>\n <div className=\"panel-collapse collapse in\">\n {show &&\n <div className=\"panel-body\">\n {children}\n </div>\n }\n </div>\n </div>\n </div>\n );\n\n }\n}"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","Panel","React","render","children","show","title","handleClick","className","id","props","theId","theClass","onClick"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components/simple-link-list.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD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AAU,kCACV4D,MAAO/D,KAAKwG,MAAMzC,MAClBnB,IAAKqG,KAAKC,UAAUf,GACpBgB,eAAgBC,GAAUA,EAAOZ,GACjCa,eAAgBD,GAAUA,EAAOvB,GACjCyB,SAAUtJ,KAAKyG,aACf8C,YAAavJ,KAAK0G,WAClBE,aAAc5G,KAAK4G,aACnBM,eAAgBA,IAKxB,yBAAK/G,UAAU,wBACX,yBAAKA,UAAU,mCACX,4BAAKuE,IAET,yBAAKvE,UAAU,mCACV6I,EACD,4BAAQS,KAAK,SAAStJ,UAAU,6BAA6BsB,QAASzB,KAAK2G,WAAY+C,SAAUnB,GAC5FoB,IAAAA,UAAY,iBAGrB,yBAAKxJ,UAAU,aACX,kBAAC,UAAD,CACIA,UAAU,YACVuD,QAASgF,EACTxE,KAAMiE,EACNxE,QAASA,KAM5B,EAGL4C,EAAe5E,UAAY,CACvBwG,OAAQvG,IAAAA,MAAAA,WACR8B,QAAS9B,IAAAA,MAAgB,CACrB8C,MAAO9C,IAAAA,OACP2B,QAAS3B,IAAAA,OACT4G,SAAU5G,IAAAA,OAAAA,WACViG,SAAUjG,IAAAA,OAAAA,WACVzB,UAAWyB,IAAAA,OACXS,QAAST,IAAAA,MAAgB,CACrByF,OAAQzF,IAAAA,KAAAA,WACRiB,OAAQjB,IAAAA,MAAgB,CAACH,QAAQG,IAAAA,KAAAA,aACjC2F,IAAK3F,IAAAA,MAAgB,CAACH,QAAQG,IAAAA,KAAAA,aAC9BU,KAAMV,IAAAA,MAAgB,CAACH,QAAQG,IAAAA,KAAAA,aAC/BmB,OAAQnB,IAAAA,QACTgI,aACJA,WACHjG,QAAS/B,IAAAA,MAAAA,YAGb,S","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/raw-html/index.js","webpack://openstack-uicore-foundation/./src/components/table/TableHeading.js","webpack://openstack-uicore-foundation/./src/components/table/TableRow.js","webpack://openstack-uicore-foundation/./src/components/table/ActionsTableCell.js","webpack://openstack-uicore-foundation/./src/components/table/Table.js","webpack://openstack-uicore-foundation/./src/components/table/TableCell.js","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/external commonjs \"react-select/lib/Async\"","webpack://openstack-uicore-foundation/external commonjs \"react-select/lib/AsyncCreatable\"","webpack://openstack-uicore-foundation/external commonjs \"react-tooltip\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/simple-link-list/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","import React from 'react';\n\nconst RawHTML = ({children, replaceNewLine = false, className = \"\"}) =>\n <span className={className}\n dangerouslySetInnerHTML={{ __html: replaceNewLine ? children?.replace(/\\n/g, '<br />') : children}} />\n\nexport default RawHTML;","import React from 'react';\nimport PropTypes from 'prop-types';\n\nclass TableHeading extends React.Component {\n\n\tconstructor (props) {\n\t\tsuper(props);\n\t\tthis.handleSort = this.handleSort.bind(this);\n\t}\n\n\tgetSortClass() {\n\n\t\tif (!this.props.sortable) return null;\n\n\t\tswitch(this.props.sortDir) {\n\t\t\tcase 1:\n\t\t\t\treturn 'sorting_asc';\n\t\t\tcase -1:\n\t\t\t\treturn 'sorting_desc';\n\t\t\tdefault:\n\t\t\t\treturn this.props.sortable ? 'sorting' : null\n\t\t}\n\t}\n\n\thandleSort(e) {\n\t\te.preventDefault();\n\t\tif(!this.props.hasOwnProperty('onSort') || !this.props.sortable) return;\n\n\t\tthis.props.onSort(\n\t\t\tthis.props.columnIndex,\n\t\t\tthis.props.columnKey,\n\t\t\tthis.props.sortDir ? this.props.sortDir*-1 : 1,\n\t\t\tthis.props.sortFunc\n\t\t);\n\t}\n\n\trender () {\n\t\treturn (\n\t\t\t<th onClick={this.handleSort}\n\t\t\t\tclassName={this.getSortClass()}\n\t\t\t\twidth={this.props.width}\n\t\t\t\t>\n\t\t\t\t{this.props.children}\n\t\t\t</th>\n\t\t);\t\n\t}\n\t\n}\n\nTableHeading.propTypes = {\n\tonSort: PropTypes.func,\n\tsortDir: PropTypes.number,\n\tcolumnIndex: PropTypes.number,\n\tcolumnKey: PropTypes.any,\n\tsortable: PropTypes.bool,\n\tsortFunc: PropTypes.func\n};\n\nexport default TableHeading;","import React from 'react';\n\nexport default class TableRow extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.handleEdit = this.handleEdit.bind(this);\n }\n\n shouldDisplayAction(action) {\n let {id} = this.props;\n\n if (!action.hasOwnProperty('display')) {\n return true;\n } else {\n return action.display(id);\n }\n }\n\n handleEdit(id, ev) {\n ev.stopPropagation();\n ev.preventDefault();\n\n this.props.actions.edit.onClick(id);\n }\n\n render() {\n let {even, actions, id, children} = this.props;\n let canEdit = (actions.hasOwnProperty('edit') && this.shouldDisplayAction(actions.edit));\n let rowClass = even ? 'even' : 'odd';\n\n if (canEdit) {\n return (\n <tr role=\"row\" className={rowClass + \" can-edit\"} onClick={this.handleEdit.bind(this, id)}>\n {children}\n </tr>\n );\n } else {\n return (\n <tr role=\"row\" className={rowClass}>\n {children}\n </tr>\n );\n }\n }\n};\n\n","import React from 'react';\n\nexport default class ActionsTableCell extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.handleAction = this.handleAction.bind(this);\n this.shouldDisplayAction = this.shouldDisplayAction.bind(this);\n\n }\n\n shouldDisplayAction(action) {\n let {id} = this.props;\n\n if (!action.hasOwnProperty('display')) {\n return true;\n } else {\n return action.display(id);\n }\n }\n\n handleAction(action, id, ev) {\n ev.stopPropagation();\n ev.preventDefault();\n\n action(id);\n }\n\n render() {\n let {actions, id} = this.props;\n return (\n <td className=\"actions\" key=\"actions\">\n {actions.hasOwnProperty('delete') && this.shouldDisplayAction(actions.delete) &&\n <a href=\"\" data-tip=\"delete\" onClick={this.handleAction.bind(this, actions.delete.onClick, id)} >\n <i className=\"fa fa-trash-o delete-icon\"></i>\n </a>\n }\n {actions.hasOwnProperty('custom') && actions.custom.map(a =>\n this.shouldDisplayAction(a) &&\n <a href=\"\" data-tip={a.tooltip} key={'custom_' + a.name} onClick={this.handleAction.bind(this, a.onClick, id)}>\n {a.icon}\n </a>\n )}\n </td>\n );\n }\n};\n","import React from 'react';\nimport TableHeading from './TableHeading';\nimport TableCell from './TableCell';\nimport TableRow from './TableRow';\nimport ActionsTableCell from './ActionsTableCell';\nimport ReactTooltip from 'react-tooltip'\n\nimport './table.css';\n\nconst defaults = {\n sortFunc: (a,b) => (a < b ? -1 : (a > b ? 1 : 0)),\n sortable: false,\n sortCol: 0,\n sortDir: 1,\n colWidth: ''\n}\n\nconst createRow = (row, columns, actions) => {\n\n var action_buttons = '';\n var cells = columns.map((col,i) => {\n if(col.hasOwnProperty(\"render\"))\n return (\n <TableCell key={'cell_'+i} >\n {col.render(row, row[col.columnKey])}\n </TableCell>\n );\n\n return (\n <TableCell key={'cell_'+i} title={col.hasOwnProperty(\"title\") ? row[col.columnKey] : null}>\n {row[col.columnKey]}\n </TableCell>\n );\n });\n\n if (actions) {\n cells.push(<ActionsTableCell key='actions_cell' id={row['id']} actions={actions} />);\n }\n\n return cells;\n};\n\nconst getSortDir = (columnKey, columnIndex, sortCol, sortDir) => {\n if(columnKey && (columnKey === sortCol)) {\n return sortDir;\n }\n if(sortCol === columnIndex) {\n return sortDir;\n }\n return null\n};\n\nconst Table = (props) => {\n let {options, columns} = props;\n let tableClass = options.hasOwnProperty('className') ? options.className : '';\n tableClass += (options.actions.hasOwnProperty('edit')) ? ' table-hover' : '';\n\n return (\n <div>\n <table className={\"table table-striped dataTable \" + tableClass}>\n <thead>\n <tr>\n {columns.map((col,i) => {\n\n let sortCol = (typeof options.sortCol != 'undefined') ? options.sortCol : defaults.sortCol;\n let sortDir = (typeof options.sortDir != 'undefined') ? options.sortDir : defaults.sortDir;\n let sortFunc = (typeof options.sortFunc != 'undefined') ? options.sortFunc : defaults.sortFunc;\n let sortable = (typeof col.sortable != 'undefined') ? col.sortable : defaults.sortable;\n let colWidth = (typeof col.width != 'undefined') ? col.width : defaults.colWidth;\n\n return (\n <TableHeading\n onSort={props.onSort}\n sortDir={getSortDir(col.columnKey, i, sortCol, sortDir)}\n sortable={sortable}\n sortFunc={sortFunc}\n columnIndex={i}\n columnKey={col.columnKey}\n width={colWidth}\n key={'heading_'+i}\n >\n {col.value}\n </TableHeading>\n );\n })}\n {options.actions &&\n <TableHeading key='actions_heading' >\n {options.actionsHeader || ' '}\n </TableHeading>\n }\n </tr>\n </thead>\n <tbody>\n {columns.length > 0 && props.data.map((row,i) => {\n if(Array.isArray(row) && row.length !== columns.length) {\n console.warn(`Data at row ${i} is ${row.length}. It should be ${columns.length}.`);\n return <tr key={'row_'+i} />\n }\n\n return (\n <TableRow even={i%2 === 0} key={'row_'+i} id={row['id']} actions={options.actions}>\n {createRow(row, columns, options.actions)}\n </TableRow>\n );\n })}\n </tbody>\n </table>\n <ReactTooltip delayShow={10} />\n </div>\n );\n};\n\nexport default Table;\n","import React from 'react';\nimport RawHTML from '../raw-html';\n\nconst TableCell = (props) => {\n let {children} = props;\n\tlet value = '';\n\tif(children) {\n\t if (React.isValidElement(children)) {\n\t value = children;\n } else {\n\t value = <RawHTML>{children.toString()}</RawHTML>\n }\n }\n\n\treturn (\n\t\t<td {...props}>\n {value}\n\t\t</td>\n\t);\n};\n\nexport default TableCell;\n","module.exports = require(\"i18n-react/dist/i18n-react\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"react-select/lib/Async\");","module.exports = require(\"react-select/lib/AsyncCreatable\");","module.exports = require(\"react-tooltip\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * Copyright 2018 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport './simple-link-list.less';\nimport AsyncSelect from 'react-select/lib/Async';\nimport Table from \"../table/Table\";\nimport T from 'i18n-react/dist/i18n-react';\nimport AsyncCreatableSelect from \"react-select/lib/AsyncCreatable\";\n\n\nclass SimpleLinkList extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.state = {\n value: ''\n };\n\n this.handleChange = this.handleChange.bind(this);\n this.getOptions = this.getOptions.bind(this);\n this.handleLink = this.handleLink.bind(this);\n this.filterOption = this.filterOption.bind(this);\n this.handleNew = this.handleNew.bind(this);\n this.getNewOptionData = this.getNewOptionData.bind(this);\n this.isValidNewOption = this.isValidNewOption.bind(this);\n }\n\n getOptions(input, callback) {\n let {options} = this.props;\n let defaultOptions = options.hasOwnProperty('defaultOptions') ? options.defaultOptions : undefined;\n\n if (!input && !defaultOptions) {\n return Promise.resolve({ options: [] });\n }\n\n this.props.options.actions.search(input, callback);\n }\n\n handleChange(value) {\n this.setState({value});\n }\n\n handleLink(ev) {\n ev.preventDefault();\n this.props.options.actions.add.onClick(this.state.value);\n this.setState({value: ''});\n }\n\n getNewOptionData(inputValue, optionLabel) {\n return {tag: optionLabel, id:inputValue};\n }\n\n isValidNewOption(inputValue, selectValue, selectOptions) {\n let {options} = this.props;\n let labelKey = options.hasOwnProperty('labelKey') ? options.labelKey : 'label';\n let optionFound = selectOptions.find(op => op[labelKey] == inputValue);\n return (!inputValue || optionFound) ? false : true;\n }\n\n handleNew(value) {\n this.props.options.onCreateTag(value, this.handleChange);\n }\n\n filterOption(candidate, inputValue) {\n let {options, values} = this.props;\n let allowDuplicates = this.props.hasOwnProperty('allowDuplicates');\n let labelKey = options.hasOwnProperty('labelKey') ? options.labelKey : 'label';\n\n if (allowDuplicates) return true;\n\n let optionFound = values.find(val => val[labelKey] === candidate.label);\n\n return !optionFound;\n }\n\n\n render() {\n\n let {options, values, columns} = this.props;\n let disabledAdd = (!this.state.value);\n\n let title = options.hasOwnProperty('title') ? options.title : 'Table';\n let valueKey = options.hasOwnProperty('valueKey') ? options.valueKey : 'value';\n let labelKey = options.hasOwnProperty('labelKey') ? options.labelKey : 'label';\n let allowCreate = options.hasOwnProperty('onCreateTag');\n let defaultOptions = options.hasOwnProperty('defaultOptions') ? options.defaultOptions : undefined;\n\n let tableOptions = {\n className: 'dataTable',\n actions: {\n delete: options.actions.delete\n }\n };\n\n if (options.hasOwnProperty('className')) {\n tableOptions.className = options.className;\n }\n\n if (options.actions.hasOwnProperty('edit')) {\n tableOptions.actions.edit = options.actions.edit;\n }\n\n if (options.actions.hasOwnProperty('custom')) {\n tableOptions.actions.custom = options.actions.custom;\n }\n\n if (options.hasOwnProperty('sortCol')) {\n values = values.sort(\n (a, b) => {\n const itemA = isNaN(a[options.sortCol]) ? a[options.sortCol].toLowerCase() : a[options.sortCol];\n const itemB = isNaN(b[options.sortCol]) ? b[options.sortCol].toLowerCase() : b[options.sortCol];\n return (itemA > itemB ? 1 : (itemA < itemB ? -1 : 0))\n }\n );\n }\n\n\n let AsyncComponent = null;\n\n if (allowCreate) {\n AsyncComponent =\n <AsyncCreatableSelect\n className=\"link-select btn-group text-left\"\n value={this.state.value}\n key={JSON.stringify(values)}\n getOptionValue={option => option[valueKey]}\n getOptionLabel={option => option[labelKey]}\n onChange={this.handleChange}\n loadOptions={this.getOptions}\n filterOption={this.filterOption}\n onCreateOption={this.handleNew}\n getNewOptionData={this.getNewOptionData}\n isValidNewOption={this.isValidNewOption}\n />;\n } else {\n AsyncComponent =\n <AsyncSelect\n className=\"link-select btn-group text-left\"\n value={this.state.value}\n key={JSON.stringify(values)}\n getOptionValue={option => option[valueKey]}\n getOptionLabel={option => option[labelKey]}\n onChange={this.handleChange}\n loadOptions={this.getOptions}\n filterOption={this.filterOption}\n defaultOptions={defaultOptions}\n />;\n }\n\n return (\n <div className=\"row simple-link-list\">\n <div className=\"col-md-4 simple-link-list-title\">\n <h4>{title}</h4>\n </div>\n <div className=\"col-md simple-link-list-buttons\">\n {AsyncComponent}\n <button type=\"button\" className=\"btn btn-default add-button\" onClick={this.handleLink} disabled={disabledAdd}>\n {T.translate(\"general.add\")}\n </button>\n </div>\n <div className=\"col-md-12\">\n <Table\n className=\"dataTable\"\n options={tableOptions}\n data={values}\n columns={columns}\n />\n </div>\n </div>\n );\n\n }\n}\n\nSimpleLinkList.propTypes = {\n values: PropTypes.array.isRequired,\n options: PropTypes.shape({\n title: PropTypes.string,\n sortCol: PropTypes.string,\n valueKey: PropTypes.string.isRequired,\n labelKey: PropTypes.string.isRequired,\n className: PropTypes.string,\n actions: PropTypes.shape({\n search: PropTypes.func.isRequired,\n delete: PropTypes.shape({onClick:PropTypes.func.isRequired}),\n add: PropTypes.shape({onClick:PropTypes.func.isRequired}),\n edit: PropTypes.shape({onClick:PropTypes.func.isRequired}),\n custom: PropTypes.array,\n }).isRequired\n }).isRequired,\n columns: PropTypes.array.isRequired\n}\n\nexport default SimpleLinkList;\n"],"names":["root","factory","exports","module","define","amd","this","children","replaceNewLine","className","dangerouslySetInnerHTML","__html","replace","TableHeading","React","constructor","props","super","handleSort","bind","getSortClass","sortable","sortDir","e","preventDefault","hasOwnProperty","onSort","columnIndex","columnKey","sortFunc","render","onClick","width","propTypes","PropTypes","TableRow","handleEdit","shouldDisplayAction","action","id","display","ev","stopPropagation","actions","edit","even","rowClass","role","ActionsTableCell","handleAction","key","delete","href","custom","map","a","tooltip","name","icon","defaults","b","sortCol","colWidth","getSortDir","options","columns","tableClass","col","i","value","actionsHeader","length","data","row","Array","isArray","console","warn","cells","TableCell","title","push","createRow","delayShow","toString","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","call","r","Symbol","toStringTag","SimpleLinkList","state","handleChange","getOptions","handleLink","filterOption","handleNew","getNewOptionData","isValidNewOption","input","callback","defaultOptions","Promise","resolve","search","setState","add","inputValue","optionLabel","tag","selectValue","selectOptions","labelKey","optionFound","find","op","onCreateTag","candidate","values","allowDuplicates","val","label","disabledAdd","valueKey","allowCreate","tableOptions","sort","itemA","isNaN","toLowerCase","itemB","AsyncComponent","JSON","stringify","getOptionValue","option","getOptionLabel","onChange","loadOptions","onCreateOption","type","disabled","T","isRequired"],"sourceRoot":""}
|