@paperless/core 0.1.0-alpha.377 → 0.1.0-alpha.380

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/assets/illustrations/empty-state-add.svg +65 -0
  3. package/dist/assets/illustrations/empty-state-overview.svg +0 -7
  4. package/dist/{paperless/p-a6ed501d.entry.js → build/p-19930a48.entry.js} +2 -2
  5. package/dist/{paperless/p-a6ed501d.entry.js.map → build/p-19930a48.entry.js.map} +1 -1
  6. package/dist/build/p-3431a31b.entry.js +2 -0
  7. package/dist/build/p-3431a31b.entry.js.map +1 -0
  8. package/dist/build/p-eb62688e.entry.js +2 -0
  9. package/dist/build/{p-bff2caf8.entry.js.map → p-eb62688e.entry.js.map} +1 -1
  10. package/dist/build/paperless.esm.js +1 -1
  11. package/dist/cjs/p-illustration_6.cjs.entry.js +61 -1
  12. package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -1
  13. package/dist/cjs/p-modal-body_4.cjs.entry.js +1 -1
  14. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  15. package/dist/cjs/p-table.cjs.entry.js +1 -1
  16. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  17. package/dist/collection/assets/illustrations/empty-state-add.svg +65 -0
  18. package/dist/collection/assets/illustrations/empty-state-overview.svg +0 -7
  19. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  20. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  21. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  22. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  23. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  24. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
  25. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
  26. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
  27. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
  28. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
  29. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
  30. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  31. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
  32. package/dist/collection/components/organisms/table/table.component.js +1 -1
  33. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  34. package/dist/collection/utils/illustrations.js +2 -0
  35. package/dist/collection/utils/illustrations.js.map +1 -1
  36. package/dist/components/illustration.component.js +61 -1
  37. package/dist/components/illustration.component.js.map +1 -1
  38. package/dist/components/modal-body.component.js +1 -1
  39. package/dist/components/modal-body.component.js.map +1 -1
  40. package/dist/components/p-table.js +1 -1
  41. package/dist/components/p-table.js.map +1 -1
  42. package/dist/esm/p-illustration_6.entry.js +61 -1
  43. package/dist/esm/p-illustration_6.entry.js.map +1 -1
  44. package/dist/esm/p-modal-body_4.entry.js +1 -1
  45. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  46. package/dist/esm/p-table.entry.js +1 -1
  47. package/dist/esm/p-table.entry.js.map +1 -1
  48. package/dist/index.html +1 -1
  49. package/dist/{build/p-a6ed501d.entry.js → paperless/p-19930a48.entry.js} +2 -2
  50. package/dist/{build/p-a6ed501d.entry.js.map → paperless/p-19930a48.entry.js.map} +1 -1
  51. package/dist/paperless/p-3431a31b.entry.js +2 -0
  52. package/dist/paperless/p-3431a31b.entry.js.map +1 -0
  53. package/dist/paperless/p-eb62688e.entry.js +2 -0
  54. package/dist/paperless/{p-bff2caf8.entry.js.map → p-eb62688e.entry.js.map} +1 -1
  55. package/dist/paperless/paperless.esm.js +1 -1
  56. package/dist/sw.js +1 -1
  57. package/dist/sw.js.map +1 -1
  58. package/dist/types/utils/illustrations.d.ts +1 -0
  59. package/hydrate/index.js +70 -10
  60. package/package.json +1 -1
  61. package/dist/build/p-57d0e375.entry.js +0 -2
  62. package/dist/build/p-57d0e375.entry.js.map +0 -1
  63. package/dist/build/p-bff2caf8.entry.js +0 -2
  64. package/dist/paperless/p-57d0e375.entry.js +0 -2
  65. package/dist/paperless/p-57d0e375.entry.js.map +0 -1
  66. package/dist/paperless/p-bff2caf8.entry.js +0 -2
@@ -1,6 +1,7 @@
1
1
  import emptyState from '../assets/illustrations/default-empty-state.svg';
2
2
  import departments from '../assets/illustrations/departments.svg';
3
3
  import email from '../assets/illustrations/e-mail.svg';
4
+ import emptyStateAdd from '../assets/illustrations/empty-state-add.svg';
4
5
  import emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';
5
6
  import emptyStateSearch from '../assets/illustrations/empty-state-search.svg';
6
7
  import expenses from '../assets/illustrations/expenses.svg';
@@ -13,6 +14,7 @@ export default {
13
14
  'empty-state': emptyState,
14
15
  'empty-state-search': emptyStateSearch,
15
16
  'empty-state-overview': emptyStateOverview,
17
+ 'empty-state-add': emptyStateAdd,
16
18
  departments,
17
19
  expenses,
18
20
  functions,
@@ -1 +1 @@
1
- {"version":3,"file":"illustrations.js","sourceRoot":"","sources":["../../src/utils/illustrations.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,iDAAiD,CAAC;AACzE,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,KAAK,MAAM,oCAAoC,CAAC;AACvD,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,QAAQ,MAAM,sCAAsC,CAAC;AAC5D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,OAAO,MAAM,sCAAsC,CAAC;AAC3D,OAAO,WAAW,MAAM,2CAA2C,CAAC;AAEpE,eAAe;EACX,aAAa,EAAE,UAAU;EACzB,oBAAoB,EAAE,gBAAgB;EACtC,sBAAsB,EAAE,kBAAkB;EAC1C,WAAW;EACX,QAAQ;EACR,SAAS;EACT,SAAS;EACT,YAAY,EAAE,SAAS;EACvB,UAAU,EAAE,OAAO;EACnB,eAAe,EAAE,WAAW;EAC5B,QAAQ,EAAE,KAAK;CAClB,CAAC","sourcesContent":["import emptyState from '../assets/illustrations/default-empty-state.svg';\nimport departments from '../assets/illustrations/departments.svg';\nimport email from '../assets/illustrations/e-mail.svg';\nimport emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';\nimport emptyStateSearch from '../assets/illustrations/empty-state-search.svg';\nimport expenses from '../assets/illustrations/expenses.svg';\nimport functions from '../assets/illustrations/functions.svg';\nimport questions from '../assets/illustrations/questions.svg';\nimport sickLeave from '../assets/illustrations/sick-leave.svg';\nimport timeOff from '../assets/illustrations/time-off.svg';\nimport upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';\n\nexport default {\n 'empty-state': emptyState,\n 'empty-state-search': emptyStateSearch,\n 'empty-state-overview': emptyStateOverview,\n departments,\n expenses,\n functions,\n questions,\n 'sick-leave': sickLeave,\n 'time-off': timeOff,\n 'upgrade-to-hr': upgradeToHr,\n 'e-mail': email,\n};\n"]}
1
+ {"version":3,"file":"illustrations.js","sourceRoot":"","sources":["../../src/utils/illustrations.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,iDAAiD,CAAC;AACzE,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,KAAK,MAAM,oCAAoC,CAAC;AACvD,OAAO,aAAa,MAAM,6CAA6C,CAAC;AACxE,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,QAAQ,MAAM,sCAAsC,CAAC;AAC5D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,OAAO,MAAM,sCAAsC,CAAC;AAC3D,OAAO,WAAW,MAAM,2CAA2C,CAAC;AAEpE,eAAe;EACX,aAAa,EAAE,UAAU;EACzB,oBAAoB,EAAE,gBAAgB;EACtC,sBAAsB,EAAE,kBAAkB;EAC1C,iBAAiB,EAAE,aAAa;EAChC,WAAW;EACX,QAAQ;EACR,SAAS;EACT,SAAS;EACT,YAAY,EAAE,SAAS;EACvB,UAAU,EAAE,OAAO;EACnB,eAAe,EAAE,WAAW;EAC5B,QAAQ,EAAE,KAAK;CAClB,CAAC","sourcesContent":["import emptyState from '../assets/illustrations/default-empty-state.svg';\nimport departments from '../assets/illustrations/departments.svg';\nimport email from '../assets/illustrations/e-mail.svg';\nimport emptyStateAdd from '../assets/illustrations/empty-state-add.svg';\nimport emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';\nimport emptyStateSearch from '../assets/illustrations/empty-state-search.svg';\nimport expenses from '../assets/illustrations/expenses.svg';\nimport functions from '../assets/illustrations/functions.svg';\nimport questions from '../assets/illustrations/questions.svg';\nimport sickLeave from '../assets/illustrations/sick-leave.svg';\nimport timeOff from '../assets/illustrations/time-off.svg';\nimport upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';\n\nexport default {\n 'empty-state': emptyState,\n 'empty-state-search': emptyStateSearch,\n 'empty-state-overview': emptyStateOverview,\n 'empty-state-add': emptyStateAdd,\n departments,\n expenses,\n functions,\n questions,\n 'sick-leave': sickLeave,\n 'time-off': timeOff,\n 'upgrade-to-hr': upgradeToHr,\n 'e-mail': email,\n};\n"]}
@@ -222,7 +222,7 @@ const departments = `<svg xmlns="http://www.w3.org/2000/svg" width="171" height=
222
222
 
223
223
  const email = `<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" width="150px" height="150px" viewBox="0 0 150.0 150.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="i0"><path d="M85.1759982,0 C104.072973,-3.47131792e-15 119.391997,15.3190247 119.391997,34.2159993 L119.391997,64.0639986 L0,64.0639986 L0,24.0239995 C-1.62487222e-15,10.7559109 10.7559109,2.43730832e-15 24.0239995,0 L85.1759982,0 Z"></path></clipPath><linearGradient id="i1" x1="59.6959987px" y1="64.0639986px" x2="59.6959987px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i2"><path d="M20.5519995,0 C31.9025555,-2.0850633e-15 41.1039991,9.20144361 41.1039991,20.5519995 L41.1039991,64.0639986 L0,64.0639986 L0,20.5519995 C-4.94275588e-15,9.20144361 9.20144361,2.0850633e-15 20.5519995,0 Z"></path></clipPath><linearGradient id="i3" x1="20.5519995px" y1="64.0639986px" x2="20.5519995px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#4873C8" offset="0%"></stop><stop stop-color="#4773CB" offset="100%"></stop></linearGradient><clipPath id="i4"><path d="M13,0 L13,69.272 C13,69.6740633 12.6740633,70 12.272,70 L0.727999984,70 C0.325936695,70 -1.72806053e-16,69.6740633 0,69.272 L0,0 L13,0 Z"></path></clipPath><linearGradient id="i5" x1="6.5px" y1="70px" x2="6.5px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="rgba(133, 169, 243, 0)" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i6"><path d="M9,0 L9,69.272 C9,69.6740633 8.6740633,70 8.27200002,70 L0.727999984,70 C0.325936695,70 -6.17837504e-17,69.6740633 0,69.272 L0,0 L9,0 Z"></path></clipPath><linearGradient id="i7" x1="4.5px" y1="70px" x2="4.5px" y2="1.29922327px" gradientUnits="userSpaceOnUse"><stop stop-color="rgba(87, 128, 209, 0)" offset="0%"></stop><stop stop-color="#4F7ACF" offset="98.1439668%"></stop></linearGradient><clipPath id="i8"><path d="M72.7999984,0 L72.7999984,5.09599989 L0.727999984,5.09599989 C0.325936695,5.09599989 7.15372367e-16,4.77006319 0,4.36799991 L0,0.727999984 C-4.9238552e-17,0.325936695 0.325936695,-3.71644744e-17 0.727999984,0 L72.7999984,0 Z"></path></clipPath><clipPath id="i9"><path d="M77.0839983,0 L77.0839983,4.36799991 C77.0839983,4.77006319 76.7580616,5.09599989 76.3559984,5.09599989 L0,5.09599989 L0,0 L77.0839983,0 Z"></path></clipPath><clipPath id="i10"><path d="M30.2119993,0 L60.4239987,24.5359285 L60.4239987,58.2399987 L0,58.2399987 L0,24.5359285 L30.2119993,0 Z"></path></clipPath><linearGradient id="i11" x1="30.2119993px" y1="58.2399987px" x2="30.2119993px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#4976D0" offset="0%"></stop><stop stop-color="#83A8F2" offset="100%"></stop></linearGradient><clipPath id="i12"><path d="M28.5611597,0 C26.5440085,0.14121798 24.940731,2.28624546 24.940731,4.91265145 C24.940731,7.53905744 26.5440085,9.68408493 28.5610529,9.81860835 L4.02269854,9.82530291 C3.95616212,9.823053 3.88906726,9.82530291 3.82156362,9.82530291 C1.71097231,9.82530291 0,7.62583393 0,4.91265145 C0,2.19946897 1.71097231,0 3.82156362,0 C3.88906726,0 3.95616212,0.00224990396 4.0228053,0.00669455955 L28.5611597,0 Z"></path></clipPath><linearGradient id="i13" x1="14.2805798px" y1="9.82530291px" x2="14.2805798px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i14"><path d="M43.0975968,0 C39.3467946,0 37.4054615,2.32959981 37.2735973,6.98879943 L37.2735973,35.8122364 C37.2735973,36.2735377 37.054994,36.7075488 36.6843315,36.9821543 L30.346965,41.6771948 C29.9634652,41.9613108 29.4650694,42.0394323 29.0130302,41.8862836 L18.2960002,38.2554064 C17.8288085,38.0971242 17.3132468,38.1861511 16.9261915,38.4919444 L13.497038,41.201149 C13.0262552,41.5730912 12.375522,41.618165 11.857955,41.3146821 L0.71952494,34.7835005 C0.273819266,34.5221545 6.32747051e-17,34.0441759 0,33.5274987 L0,6.98879902 C-1.36086846e-15,3.1289919 3.1289919,-1.79143355e-16 6.98879902,0 L43.0975968,0 Z"></path></clipPath><linearGradient id="i15" x1="21.5487984px" y1="5.25158252px" x2="21.5487984px" y2="41.963289px" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF2FF" offset="0%"></stop><stop stop-color="#CDDBF6" offset="100%"></stop></linearGradient><clipPath id="i16"><path d="M26.1259675,0 C26.4797832,-6.49948862e-17 26.7666075,0.286824281 26.7666075,0.640639962 L26.7666075,6.23167958 C26.7666075,6.58549526 26.4797832,6.87231954 26.1259675,6.87231954 L0.640639962,6.87231954 C0.286824281,6.87231954 2.65374529e-16,6.58549526 0,6.23167958 L0,0.640639962 C-4.33299241e-17,0.286824281 0.286824281,-4.60274163e-17 0.640639962,0 L26.1259675,0 Z"></path></clipPath><clipPath id="i17"><path d="M4.33328874,0 C4.58185829,0 4.78686103,0.0506100509 4.94830311,0.151831671 C5.10974519,0.253053291 5.23915316,0.412571046 5.33653093,0.630389722 L4.83298792,0.891770827 C4.7971119,0.77901763 4.74137678,0.688688299 4.66578089,0.620780123 C4.59018499,0.552871948 4.47935539,0.518918369 4.33328874,0.518918369 C4.16159638,0.518918369 4.02386016,0.574653488 3.92007597,0.686125399 C3.81629178,0.79759731 3.76440046,0.959677599 3.76440046,1.17237113 L3.76440046,1.60288118 C3.76440046,1.81557472 3.81629178,1.977655 3.92007597,2.08912692 C4.02386016,2.20059883 4.16159638,2.25633395 4.33328874,2.25633395 C4.47679281,2.25633395 4.59146622,2.2172553 4.6773124,2.13909683 C4.76315859,2.06093837 4.82658131,1.96676523 4.86758247,1.85657461 L5.3442186,2.13333107 C5.24427827,2.33833689 5.11294839,2.49657337 4.95022503,2.60804528 C4.78750166,2.7195172 4.58185829,2.77525231 4.33328874,2.77525231 C4.15134609,2.77525231 3.9873439,2.7464238 3.84127725,2.68876592 C3.69521061,2.63110804 3.5709277,2.54526314 3.4684248,2.43122866 C3.36592189,2.31719417 3.28648333,2.17497352 3.23010673,2.00456244 C3.17373013,1.83415136 3.14554226,1.63491432 3.14554226,1.40684536 C3.14554226,1.18133896 3.17373013,0.980820659 3.23010673,0.805284432 C3.28648333,0.629748205 3.36592189,0.482402487 3.4684248,0.363242858 C3.5709277,0.24408323 3.69521061,0.153753898 3.84127725,0.0922521545 C3.9873439,0.0307504107 4.15134609,0 4.33328874,0 Z M1.60672502,0.0461260773 L2.47927665,2.72912624 L1.87194997,2.72912624 L1.67975798,2.09104884 L0.784143313,2.09104884 L0.591951325,2.72912624 L0,2.72912624 L0.884083147,0.0461260773 L1.60672502,0.0461260773 Z M8.10922072,0.0461260773 L8.10922072,0.565044446 L7.38273501,0.565044446 L7.38273501,2.72912624 L6.79847136,2.72912624 L6.79847136,0.565044446 L6.07198564,0.565044446 L6.07198564,0.0461260773 L8.10922072,0.0461260773 Z M10.1784878,0.0461260773 L10.1784878,0.51123069 L9.83254226,0.51123069 L9.83254226,2.26402163 L10.1784878,2.26402163 L10.1784878,2.72912624 L8.90233304,2.72912624 L8.90233304,2.26402163 L9.24827862,2.26402163 L9.24827862,0.51123069 L8.90233304,0.51123069 L8.90233304,0.0461260773 L10.1784878,0.0461260773 Z M11.5289569,0.0461260773 L11.9287163,1.3338124 L12.1401274,2.17561331 L12.151659,2.17561331 L12.3553825,1.3338124 L12.7551418,0.0461260773 L13.3278739,0.0461260773 L12.4553223,2.72912624 L11.8018695,2.72912624 L10.9370056,0.0461260773 L11.5289569,0.0461260773 Z M16.0159993,0.0461260773 L16.0159993,0.565044446 L14.774439,0.565044446 L14.774439,1.11471353 L15.8391826,1.11471353 L15.8391826,1.62978806 L14.774439,1.62978806 L14.774439,2.21020787 L16.0159993,2.21020787 L16.0159993,2.72912624 L14.1901754,2.72912624 L14.1901754,0.0461260773 L16.0159993,0.0461260773 Z M18.861722,0.0461260773 L18.861722,0.565044446 L17.6201618,0.565044446 L17.6201618,1.11471353 L18.6849054,1.11471353 L18.6849054,1.62978806 L17.6201618,1.62978806 L17.6201618,2.21020787 L18.861722,2.21020787 L18.861722,2.72912624 L17.0358981,2.72912624 L17.0358981,0.0461260773 L18.861722,0.0461260773 Z M21.1539318,0.0461260773 C21.2769353,0.0461260773 21.3884056,0.066626351 21.4883459,0.107627514 C21.5882862,0.148628676 21.6734905,0.20692633 21.7439612,0.282522223 C21.814432,0.358118117 21.8688858,0.448447448 21.9073244,0.553512927 C21.945763,0.658578406 21.964982,0.775173713 21.964982,0.903302346 C21.964982,1.08524501 21.9246221,1.24412213 21.8439011,1.37993848 C21.76318,1.51575483 21.640819,1.6144124 21.4768144,1.67591414 L22.0034204,2.72912624 L21.3538115,2.72912624 L20.8848631,1.74510326 L20.4658845,1.74510326 L20.4658845,2.72912624 L19.8816209,2.72912624 L19.8816209,0.0461260773 L21.1539318,0.0461260773 Z M1.23771641,0.576575966 L1.21849721,0.576575966 L0.922521545,1.59519351 L1.53753591,1.59519351 L1.23771641,0.576575966 Z M21.0808989,0.553512927 L20.4658845,0.553512927 L20.4658845,1.25309177 L21.0808989,1.25309177 C21.1680264,1.25309177 21.2365741,1.23066959 21.2865443,1.18582457 C21.3365145,1.14097955 21.3614992,1.07499429 21.3614992,0.987866821 L21.3614992,0.818737871 C21.3614992,0.731610401 21.3365145,0.665625145 21.2865443,0.620780123 C21.2365741,0.575935101 21.1680264,0.553512927 21.0808989,0.553512927 Z"></path></clipPath><clipPath id="i18"><path d="M60.4239987,0 L60.4239987,33.2431851 L0,33.2431851 L0,0 L30.2119993,14.5723551 L60.4239987,0 Z"></path></clipPath><linearGradient id="i19" x1="30.2119993px" y1="33.2431851px" x2="30.2119993px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i20"><path d="M25.2346799,1.03151456 L46.5557573,20.012822 C47.1563598,20.5475145 47.2097904,21.467853 46.6750979,22.0684556 C46.398817,22.3787928 46.0031108,22.556309 45.5876108,22.556309 L1.45599997,22.556309 C0.65187339,22.556309 -1.01174592e-15,21.9044356 -1.11022302e-15,21.1003091 C-1.16110711e-15,20.684809 0.17751623,20.2891028 0.487853441,20.012822 L21.8089309,1.03151456 C22.7854008,0.162202233 24.25821,0.162202233 25.2346799,1.03151456 Z"></path></clipPath><linearGradient id="i21" x1="23.521813px" y1="22.556309px" x2="23.521813px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i22"><path d="M21.8399995,0 C22.2420628,2.06876579e-15 22.5679995,0.325936695 22.5679995,0.727999984 L22.5679995,15.2879997 C22.5679995,15.690063 22.2420628,16.0159997 21.8399995,16.0159997 L0.727999984,16.0159997 C0.325936695,16.0159997 -5.0587296e-16,15.690063 0,15.2879997 L0,0.727999984 C-4.9238552e-17,0.325936695 0.325936695,1.8488013e-16 0.727999984,0 L21.8399995,0 Z"></path></clipPath><linearGradient id="i23" x1="11.2839998px" y1="4.90348568e-16px" x2="11.2839998px" y2="16.0159997px" gradientUnits="userSpaceOnUse"><stop stop-color="#FFD7DA" offset="0%"></stop><stop stop-color="#FF8A94" offset="100%"></stop></linearGradient><clipPath id="i24"><path d="M2.91199994,0 C3.31406323,3.71644744e-17 3.63999992,0.325936695 3.63999992,0.727999984 L3.63999992,29.8479994 C3.63999992,30.2500626 3.31406323,30.5759993 2.91199994,30.5759993 L0.727999984,30.5759993 C0.325936695,30.5759993 2.0133102e-15,30.2500626 0,29.8479994 L0,0.727999984 C-4.9238552e-17,0.325936695 0.325936695,7.39991643e-16 0.727999984,0 L2.91199994,0 Z"></path></clipPath><linearGradient id="i25" x1="1.67562148px" y1="1.52042937px" x2="1.67562148px" y2="30.5759993px" gradientUnits="userSpaceOnUse"><stop stop-color="#FF95A8" offset="0%"></stop><stop stop-color="#DF4D68" offset="100%"></stop></linearGradient><clipPath id="i26"><path d="M3.27599993,0 C5.08528473,0 6.55199986,1.46671513 6.55199986,3.27599993 C6.55199986,5.08528473 5.08528473,6.55199986 3.27599993,6.55199986 C1.46671513,6.55199986 0,5.08528473 0,3.27599993 C0,1.46671513 1.46671513,0 3.27599993,0 Z"></path></clipPath></defs><g transform="translate(2.0 1.0)"><g transform="translate(26.291999422073204 7.784000324726044)"><g clip-path="url(#i0)"><polygon points="0,0 119.391997,0 119.391997,64.0639986 0,64.0639986 0,0" stroke="none" fill="url(#i1)"></polygon></g></g><g transform="translate(27.495999424934315 7.784000324726044)"><g clip-path="url(#i2)"><polygon points="0,0 41.1039991,0 41.1039991,64.0639986 0,64.0639986 0,0" stroke="none" fill="url(#i3)"></polygon></g></g><g transform="translate(73.33999838352156 76.94399882984133)"><g transform="translate(9.66000161647844 0.0560011701586518)"><g opacity="90.0000036%"><g clip-path="url(#i4)"><polygon points="0,0 13,0 13,70 0,70 0,0" stroke="none" fill="url(#i5)"></polygon><g transform="translate(0.0 14.0)"><polygon points="13,0 0,0 0,-14 13,-14 13,0 13,0" stroke="none" fill="rgba(97, 139, 223, 0.7)"></polygon></g></g></g></g><g transform="translate(0.6600016164784392 0.0560011701586518)"><g opacity="90.0000036%"><g clip-path="url(#i6)"><polygon points="0,0 9,0 9,70 0,70 0,0" stroke="none" fill="url(#i7)"></polygon><g transform="translate(0.0 14.0)"><polygon points="9,0 0,0 0,-14 9,-14 9,0 9,0" stroke="none" fill="rgba(75, 116, 201, 0.7)"></polygon></g></g></g></g></g><g transform="translate(12.599999785423279 71.84799893999077)"><g clip-path="url(#i8)"><polygon points="0,0 72.7999984,0 72.7999984,5.09599989 0,5.09599989 0,0" stroke="none" fill="#6A95EA"></polygon></g><g transform="translate(55.99999871253968 0.0)"><g clip-path="url(#i9)"><polygon points="0,0 77.0839983,0 77.0839983,5.09599989 0,5.09599989 0,0" stroke="none" fill="#95B5F7"></polygon></g></g></g><g transform="translate(0.19599997329704166 19.90800009155265)"><g clip-path="url(#i10)"><polygon points="0,0 60.4239987,0 60.4239987,58.2399987 0,58.2399987 0,0" stroke="none" fill="url(#i11)"></polygon></g><g transform="translate(3.9360000257491734 3.0079998269080797)"><g transform="translate(0.5100747341529566 0.0)"><g clip-path="url(#i12)"><polygon points="0,0 28.5611597,0 28.5611597,9.82530291 0,9.82530291 0,0" stroke="none" fill="url(#i13)"></polygon></g></g><g transform="translate(45.718396373558065 0.0) scale(-1.0 1.0)"><g clip-path="url(#i14)"><polygon points="0,0 43.0975968,0 43.0975968,41.963289 0,41.963289 0,0" stroke="none" fill="url(#i15)"></polygon></g></g><g transform="translate(14.0 15.0)"><g transform="translate(0.19784397813067578 0.10229217886434983)"><g transform="translate(0.0 1.0)"><polygon points="27.0261341,-1.02237376 27.8719262,7.20487644 -0.259526609,7.8946933 -1.10531869,-0.332556902 27.0261341,-1.02237376 27.0261341,-1.02237376" stroke="none" fill="#2B4BA9"></polygon></g><g clip-path="url(#i16)"><polygon points="0,0 26.7666075,0 26.7666075,6.87231954 0,6.87231954 0,0" stroke="none" fill="#528AFA"></polygon></g></g><g transform="translate(2.3075842545387886 2.476792512525163)"><g clip-path="url(#i17)"><polygon points="0,0 22.0034204,0 22.0034204,2.77525231 0,2.77525231 0,0" stroke="none" fill="#FFFFFF"></polygon><polygon points="0,0 22.0034204,0 22.0034204,2.77525231 0,2.77525231 0,0" stroke="none" fill="#FFFFFF"></polygon></g></g></g></g><g transform="translate(0.0 24.996813618989023)"><g clip-path="url(#i18)"><polygon points="0,0 60.4239987,0 60.4239987,33.2431851 0,33.2431851 0,0" stroke="none" fill="url(#i19)"></polygon></g></g><g transform="translate(6.69019398361203 35.68368971098083)"><g clip-path="url(#i20)"><polygon points="-1.11022302e-15,0.379530314 47.0436259,0.379530314 47.0436259,22.556309 -1.11022302e-15,22.556309 -1.11022302e-15,0.379530314" stroke="none" fill="url(#i21)"></polygon></g></g></g><g transform="translate(108.6679973950384 0.0)"><g transform="translate(5.095999889850599 0.0)"><g clip-path="url(#i22)"><polygon points="0,0 22.5679995,0 22.5679995,16.0159997 0,16.0159997 0,0" stroke="none" fill="url(#i23)"></polygon></g></g><g transform="translate(1.455999968528743 0.0)"><g clip-path="url(#i24)"><polygon points="0,0 3.63999992,0 3.63999992,30.5759993 0,30.5759993 0,0" stroke="none" fill="url(#i25)"></polygon></g></g><g transform="translate(0.0 26.93599941778175)"><g clip-path="url(#i26)"><polygon points="0,0 6.55199986,0 6.55199986,6.55199986 0,6.55199986 0,0" stroke="none" fill="#6A95EA"></polygon></g></g></g></g></svg>`;
224
224
 
225
- const emptyStateOverview = `<?xml version="1.0" encoding="UTF-8"?>
225
+ const emptyStateAdd = `<?xml version="1.0" encoding="UTF-8"?>
226
226
  <svg width="152px" height="152px" viewBox="0 0 152 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
227
227
  <title>⚛️ Atoms/illustrations/empty/overview</title>
228
228
  <defs>
@@ -288,6 +288,65 @@ const emptyStateOverview = `<?xml version="1.0" encoding="UTF-8"?>
288
288
  </g>
289
289
  </svg>`;
290
290
 
291
+ const emptyStateOverview = `<?xml version="1.0" encoding="UTF-8"?>
292
+ <svg width="152px" height="152px" viewBox="0 0 152 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
293
+ <title>⚛️ Atoms/illustrations/empty/overview</title>
294
+ <defs>
295
+ <rect id="path-1" x="0" y="0" width="152" height="152"></rect>
296
+ <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="linearGradient-3">
297
+ <stop stop-color="#FFFFFF" offset="0%"></stop>
298
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
299
+ </linearGradient>
300
+ </defs>
301
+ <g id="⚛️-Atoms" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
302
+ <g id="⚛️-Atoms/illustrations/empty/overview">
303
+ <mask id="mask-2" fill="white">
304
+ <use xlink:href="#path-1"></use>
305
+ </mask>
306
+ <g id="bounding-box"></g>
307
+ <g id="row" mask="url(#mask-2)">
308
+ <g transform="translate(0.000000, -3.000000)">
309
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
310
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
311
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
312
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
313
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
314
+ </g>
315
+ </g>
316
+ <g id="row" mask="url(#mask-2)">
317
+ <g transform="translate(0.000000, 36.000000)">
318
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
319
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
320
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
321
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
322
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
323
+ </g>
324
+ </g>
325
+ <g id="row" mask="url(#mask-2)">
326
+ <g transform="translate(0.000000, 75.000000)">
327
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
328
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
329
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
330
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
331
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
332
+ </g>
333
+ </g>
334
+ <g id="row" mask="url(#mask-2)">
335
+ <g transform="translate(0.000000, 114.000000)">
336
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
337
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
338
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
339
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
340
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
341
+ </g>
342
+ </g>
343
+ <rect id="overlay-right" fill="url(#linearGradient-3)" mask="url(#mask-2)" x="128" y="0" width="24" height="152"></rect>
344
+ <rect id="overlay-bottom" fill="url(#linearGradient-3)" mask="url(#mask-2)" transform="translate(76.000000, 140.000000) rotate(90.000000) translate(-76.000000, -140.000000) " x="64" y="64" width="24" height="152"></rect>
345
+ <rect id="overlay-top" fill="url(#linearGradient-3)" mask="url(#mask-2)" transform="translate(76.000000, 12.000000) scale(1, -1) rotate(90.000000) translate(-76.000000, -12.000000) " x="64" y="-64" width="24" height="152"></rect>
346
+ </g>
347
+ </g>
348
+ </svg>`;
349
+
291
350
  const emptyStateSearch = `<?xml version="1.0" encoding="UTF-8"?>
292
351
  <svg width="152px" height="152px" viewBox="0 0 152 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
293
352
  <title>⚛️ Atoms/illustrations/empty/search</title>
@@ -1555,6 +1614,7 @@ const illustrations = {
1555
1614
  'empty-state': emptyState,
1556
1615
  'empty-state-search': emptyStateSearch,
1557
1616
  'empty-state-overview': emptyStateOverview,
1617
+ 'empty-state-add': emptyStateAdd,
1558
1618
  departments,
1559
1619
  expenses,
1560
1620
  functions,
@@ -1 +1 @@
1
- {"file":"illustration.component.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,OAAO,CAAC,CAAC;IAEjD,OAAO,EAAC,IAAI,IAAC,KAAK,EAAC,sBAAsB,EAAC,SAAS,EAAE,YAAY,GAAS,CAAC;GAC5E;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/utils/illustrations.ts","./src/components/atoms/illustration/illustration.component.tsx"],"sourcesContent":["import emptyState from '../assets/illustrations/default-empty-state.svg';\nimport departments from '../assets/illustrations/departments.svg';\nimport email from '../assets/illustrations/e-mail.svg';\nimport emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';\nimport emptyStateSearch from '../assets/illustrations/empty-state-search.svg';\nimport expenses from '../assets/illustrations/expenses.svg';\nimport functions from '../assets/illustrations/functions.svg';\nimport questions from '../assets/illustrations/questions.svg';\nimport sickLeave from '../assets/illustrations/sick-leave.svg';\nimport timeOff from '../assets/illustrations/time-off.svg';\nimport upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';\n\nexport default {\n 'empty-state': emptyState,\n 'empty-state-search': emptyStateSearch,\n 'empty-state-overview': emptyStateOverview,\n departments,\n expenses,\n functions,\n questions,\n 'sick-leave': sickLeave,\n 'time-off': timeOff,\n 'upgrade-to-hr': upgradeToHr,\n 'e-mail': email,\n};\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport illustrations from '../../../utils/illustrations';\n\nexport type IllustrationVariant = keyof typeof illustrations;\n\n@Component({\n tag: 'p-illustration',\n // shadow: true,\n})\nexport class Illustration {\n /**\n * The icon the be displayed\n */\n @Prop() variant!: IllustrationVariant;\n\n render() {\n const illustration = illustrations[this.variant];\n\n return <Host class=\"p-illustration block\" innerHTML={illustration}></Host>;\n }\n}\n"],"version":3}
1
+ {"file":"illustration.component.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,sBAAe;EACX,aAAa,EAAE,UAAU;EACzB,oBAAoB,EAAE,gBAAgB;EACtC,sBAAsB,EAAE,kBAAkB;EAC1C,iBAAiB,EAAE,aAAa;EAChC,WAAW;EACX,QAAQ;EACR,SAAS;EACT,SAAS;EACT,YAAY,EAAE,SAAS;EACvB,UAAU,EAAE,OAAO;EACnB,eAAe,EAAE,WAAW;EAC5B,QAAQ,EAAE,KAAK;CAClB;;MCjBY,YAAY;;;;;;EAMvB,MAAM;IACJ,MAAM,YAAY,GAAG,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEjD,OAAO,EAAC,IAAI,IAAC,KAAK,EAAC,sBAAsB,EAAC,SAAS,EAAE,YAAY,GAAS,CAAC;GAC5E;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/utils/illustrations.ts","./src/components/atoms/illustration/illustration.component.tsx"],"sourcesContent":["import emptyState from '../assets/illustrations/default-empty-state.svg';\nimport departments from '../assets/illustrations/departments.svg';\nimport email from '../assets/illustrations/e-mail.svg';\nimport emptyStateAdd from '../assets/illustrations/empty-state-add.svg';\nimport emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';\nimport emptyStateSearch from '../assets/illustrations/empty-state-search.svg';\nimport expenses from '../assets/illustrations/expenses.svg';\nimport functions from '../assets/illustrations/functions.svg';\nimport questions from '../assets/illustrations/questions.svg';\nimport sickLeave from '../assets/illustrations/sick-leave.svg';\nimport timeOff from '../assets/illustrations/time-off.svg';\nimport upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';\n\nexport default {\n 'empty-state': emptyState,\n 'empty-state-search': emptyStateSearch,\n 'empty-state-overview': emptyStateOverview,\n 'empty-state-add': emptyStateAdd,\n departments,\n expenses,\n functions,\n questions,\n 'sick-leave': sickLeave,\n 'time-off': timeOff,\n 'upgrade-to-hr': upgradeToHr,\n 'e-mail': email,\n};\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport illustrations from '../../../utils/illustrations';\n\nexport type IllustrationVariant = keyof typeof illustrations;\n\n@Component({\n tag: 'p-illustration',\n // shadow: true,\n})\nexport class Illustration {\n /**\n * The icon the be displayed\n */\n @Prop() variant!: IllustrationVariant;\n\n render() {\n const illustration = illustrations[this.variant];\n\n return <Host class=\"p-illustration block\" innerHTML={illustration}></Host>;\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const modalBodyComponentCss = ".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.inline{display:inline!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));padding:1.5rem}@media (min-width:40rem){:host{padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:64rem){:host{padding-left:3.5rem;padding-right:3.5rem}}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}:host(.is-rounded){border-bottom-left-radius:0;border-bottom-right-radius:0}@media (min-width:64rem){:host(.is-rounded){border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}}@media (min-width:40rem){.tablet\\:px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}}@media (min-width:64rem){.desktop-xs\\:px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}";
3
+ const modalBodyComponentCss = ".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.inline{display:inline!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));padding:1.5rem}@media (min-width:40rem){:host{padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:64rem){:host{padding-left:3.5rem;padding-right:3.5rem}}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}:host(.is-rounded){border-bottom-left-radius:0;border-bottom-right-radius:0}@media (min-width:64rem){:host(.is-rounded){border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}}@media (min-width:40rem){.tablet\\:px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}}@media (min-width:64rem){.desktop-xs\\:px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}}@media (min-width:40rem){.tablet\\:w-80{width:20rem!important}.tablet\\:w-\\[33\\.5rem\\]{width:33.5rem!important}.tablet\\:w-\\[38rem\\]{width:38rem!important}.tablet\\:w-\\[47\\.5rem\\]{width:47.5rem!important}.tablet\\:w-\\[57\\.5rem\\]{width:57.5rem!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}";
4
4
 
5
5
  const ModalBody = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
@@ -1 +1 @@
1
- {"file":"modal-body.component.js","mappings":";;AAAA,MAAM,qBAAqB,GAAG,09LAA09L;;MCO3+L,SAAS;;;;;mBAIqB,SAAS;mBAKrB,KAAK;;EAEhC,MAAM;IACF,QACI,EAAC,IAAI,IACD,KAAK,EAAE,wBAAwB,IAAI,CAAC,OAAO,IACvC,IAAI,CAAC,OAAO,IAAI,YACpB,EAAE,IAEF,eAAQ,CACL,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/atoms/modal-body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","./src/components/atoms/modal-body/modal-body.component.tsx"],"sourcesContent":[":host {\n @apply bg-white;\n @apply px-6 tablet:px-10 desktop-xs:px-14 py-6;\n}\n\n:host(.variant-table) {\n @apply px-6;\n}\n\n:host(.is-rounded) {\n @apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-modal-body',\n styleUrl: 'modal-body.component.scss',\n shadow: true,\n})\nexport class ModalBody {\n /**\n * The variant of the modal body\n */\n @Prop() variant: 'default' | 'table' = 'default';\n\n /**\n * Wether the modal body should be rounded at the bottom\n */\n @Prop() rounded: boolean = false;\n\n render() {\n return (\n <Host\n class={`p-modal-body variant-${this.variant} ${\n this.rounded && 'is-rounded'\n }`}\n >\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"modal-body.component.js","mappings":";;AAAA,MAAM,qBAAqB,GAAG,s5LAAs5L;;MCOv6L,SAAS;;;;;mBAIqB,SAAS;mBAKrB,KAAK;;EAEhC,MAAM;IACF,QACI,EAAC,IAAI,IACD,KAAK,EAAE,wBAAwB,IAAI,CAAC,OAAO,IACvC,IAAI,CAAC,OAAO,IAAI,YACpB,EAAE,IAEF,eAAQ,CACL,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/atoms/modal-body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","./src/components/atoms/modal-body/modal-body.component.tsx"],"sourcesContent":[":host {\n @apply bg-white;\n @apply px-6 tablet:px-10 desktop-xs:px-14 py-6;\n}\n\n:host(.variant-table) {\n @apply px-6;\n}\n\n:host(.is-rounded) {\n @apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-modal-body',\n styleUrl: 'modal-body.component.scss',\n shadow: true,\n})\nexport class ModalBody {\n /**\n * The variant of the modal body\n */\n @Prop() variant: 'default' | 'table' = 'default';\n\n /**\n * Wether the modal body should be rounded at the bottom\n */\n @Prop() rounded: boolean = false;\n\n render() {\n return (\n <Host\n class={`p-modal-body variant-${this.variant} ${\n this.rounded && 'is-rounded'\n }`}\n >\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -203,7 +203,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
203
203
  if (((_a = this.query) === null || _a === void 0 ? void 0 : _a.length) || this.selectedFiltersAmount) {
204
204
  return (h("div", { class: "flex max-w-[20rem] flex-col items-center self-center py-24 text-center" }, h("p-illustration", { variant: "empty-state-search", class: "mb-6" }), h("p", { class: "text-storm-default font-semibold" }, this.emptyStateFilteredHeader()), h("p", { class: "mb-14 text-sm text-storm-medium" }, this.emptyStateFilteredContent())));
205
205
  }
206
- return (h("div", { class: "flex max-w-[20rem] flex-col items-center self-center py-24 text-center" }, h("p-illustration", { variant: "empty-state-overview", class: "mb-6 cursor-pointer", onClick: () => this.emptyStateActionClick.emit(null) }), h("p", { class: "text-storm-default font-semibold" }, this.emptyStateHeader()), h("p", { class: "mb-6 text-sm text-storm-medium" }, this.emptyStateContent()), this.enableEmptyStateAction && (h("p-button", { variant: "secondary", icon: "plus", size: "small", onClick: () => this.emptyStateActionClick.emit(null) }, this.emptyStateAction()))));
206
+ return (h("div", { class: "flex max-w-[20rem] flex-col items-center self-center py-24 text-center" }, h("p-illustration", { variant: "empty-state-add", class: "mb-6 cursor-pointer", onClick: () => this.emptyStateActionClick.emit(null) }), h("p", { class: "text-storm-default font-semibold" }, this.emptyStateHeader()), h("p", { class: "mb-6 text-sm text-storm-medium" }, this.emptyStateContent()), this.enableEmptyStateAction && (h("p-button", { variant: "secondary", icon: "plus", size: "small", onClick: () => this.emptyStateActionClick.emit(null) }, this.emptyStateAction()))));
207
207
  }
208
208
  _selectAllChange($event) {
209
209
  if (!this.enableRowSelection) {
@@ -1 +1 @@
1
- {"file":"p-table.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,ysXAAysX;;MC4BttX,KAAK;;;;;;;;;;;;;;;;;IAsQN,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;;mBA9PV,KAAK;yBAKC,KAAK;yBAKL,KAAK;+BAKA,CAAC;8BAKD,IAAI;0BAKR,IAAI;wBAKR,EAAE;;;wBA0CA,IAAI;wBAKE,EAAE;;wBAUR,IAAI;;wBAUJ,IAAI;;;sBAeN,IAAI;6BAKG,KAAK;0BAKJ,QAAQ;;;wBAqCd,IAAI;0BAKF,IAAI;4BAKF,IAAI;wBAKR,IAAI;gBAKmB,CAAC;;oBAe7B,WAAW;2BAKF,kBAAkB;4BAelB,IAAI;4BAGC,gBACrC,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA;6BACxB,gBACtC,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,OAAO,CAAC,CAAA,EAAA;4BAC1B,gBACrC,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA;kCAIxB,IAAI;oCAEG,MAC7C,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAA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AC,OAAO,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC;IACrC,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;GACzC;EAEO,QAAQ,CAAC,EAAe;;IAC5B,IAAI,CAAC,EAAE,EAAE;MACL,OAAO,EAAE,CAAC;KACb;IAED,IAAI,CAAA,MAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,0CAAE,WAAW,EAAE,MAAK,aAAa,EAAE;MAC9C,OAAO,EAAE,CAAC;KACb;IAED,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,aAAa,CAAC,CAAC;GAC3C;EAEO,cAAc,CAAC,EAAe;;IAClC,IAAI,CAAC,EAAE,EAAE;MACL,OAAO,IAAI,CAAC;KACf;IAED,IACI,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,IAAI;MAC1C,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,OAAO,EAC/C;MACE,OAAO,EAAE,CAAC;KACb;IAED,IAAI,CAAA,MAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,0CAAE,WAAW,EAAE,MAAK,aAAa,EAAE;MAC9C,OAAO,IAAI,CAAC;KACf;IAED,OAAO,IAAI,CAAC,cAAc,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,aAAa,CAAC,CAAC;GACjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/organisms/table/table.component.scss?tag=p-table","./src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n @apply flex flex-col;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { QuickFilter, RowClickEvent } from '../../../types/table';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport {\n defaultSize,\n defaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\n\n@Component({\n tag: 'p-table',\n styleUrl: 'table.component.scss',\n})\nexport class Table {\n /**\n * The items to be fed to the table\n */\n @Prop() items: string;\n\n /**\n * Wether data is loading\n */\n @Prop() loading: boolean = false;\n\n /**\n * Wether the header should show loading state\n */\n @Prop() headerLoading: boolean = false;\n\n /**\n * Wether the footer should show loading state\n */\n @Prop() footerLoading: boolean = false;\n\n /**\n * The amount of loading rows to show\n */\n @Prop() amountOfLoadingRows: number = 6;\n\n /**\n * Wether to enable selection\n */\n @Prop() enableRowSelection: boolean = true;\n\n /**\n * Wether to enable row clicking\n */\n @Prop() enableRowClick: boolean = true;\n\n /**\n * The current selection of items\n */\n @Prop() selectedRows: any[] = [];\n\n /**\n * Event whenever the current selection changes\n */\n @Event() selectedRowsChange: EventEmitter<any>;\n\n /**\n * The key to determine if a row is selected\n */\n @Prop() selectionKey: string;\n\n /**\n * A key to determine if a row can be selected\n */\n @Prop() canSelectKey: string;\n\n /**\n * Event whenever a row is clicked\n */\n @Event() rowClick: EventEmitter<RowClickEvent>;\n\n /**\n * Event whenever a row is selected\n */\n @Event() rowSelected: EventEmitter<any>;\n\n /**\n * Event whenever a row is deselected\n */\n @Event() rowDeselected: EventEmitter<any>;\n\n /**\n * Event when the table has rendered\n */\n @Event() hasRendered: EventEmitter<number>;\n\n /** START HEADER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableHeader: boolean = true;\n\n /**\n * Quick filters to show\n */\n @Prop() quickFilters: QuickFilter[] = [];\n\n /**\n * Active quick filter identifier\n */\n @Prop() activeQuickFilterIdentifier: string;\n\n /**\n * Wether to show the search input\n */\n @Prop() enableSearch: boolean = true;\n\n /**\n * The query to show in the search bar\n */\n @Prop({ mutable: true }) query: string;\n\n /**\n * Wether to show the filter button\n */\n @Prop() enableFilter: boolean = true;\n\n /**\n * The amount of filters being selected\n */\n @Prop() selectedFiltersAmount: number;\n\n /**\n * The template for the filter button text\n */\n @Prop() filterButtonTemplate: templateFunc;\n\n /**\n * Wether to show the edit button\n */\n @Prop() enableEdit: boolean = true;\n\n /**\n * Wether the edit button is loading\n */\n @Prop() editButtonLoading: boolean = false;\n\n /**\n * The edit button icon\n */\n @Prop() editButtonIcon: IconVariant = 'pencil';\n\n /**\n * The edit button text if changed\n */\n @Prop() editButtonText: string;\n\n /**\n * The template for the edit button text\n */\n @Prop() editButtonTemplate: buttonTemplateFunc;\n\n /**\n * Event when one of the quick filters is clicked\n */\n @Event() quickFilter: EventEmitter<QuickFilter>;\n\n /**\n * Event when the query changes\n */\n @Event() queryChange: EventEmitter<string>;\n\n /**\n * Event when the filter button is clicked\n */\n @Event() filter: EventEmitter<null>;\n\n /**\n * Event when the edit button is clicked\n */\n @Event() edit: EventEmitter<null>;\n\n /** START FOOTER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableFooter: boolean = true;\n\n /**\n * Wether to enable page size select\n */\n @Prop() enablePageSize: boolean = true;\n\n /**\n * Wether to enable pagination\n */\n @Prop() enablePagination: boolean = true;\n\n /**\n * Wether to enable export\n */\n @Prop() enableExport: boolean = true;\n\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = defaultSize;\n\n /**\n * The options for the page size\n */\n @Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageSizeChange: EventEmitter<number>;\n\n /**\n * Event whenever the page changes\n */\n @Event() export: EventEmitter<number>;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = true;\n\n /* Empty state start */\n @Prop() emptyStateHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.header);\n @Prop() emptyStateContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.content);\n @Prop() emptyStateAction: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.action);\n /**\n * Wether to enable empty state action\n */\n @Prop() enableEmptyStateAction: boolean = true;\n\n @Prop() emptyStateFilteredHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.header);\n @Prop() emptyStateFilteredContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.content);\n\n /**\n * Event whenever the empty state is clicked\n */\n @Event() emptyStateActionClick: EventEmitter<null>;\n\n /* Empty state end */\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n @State() private _columns: any[] = [];\n @State() private _items: any[] = [];\n\n private _ctrlDown = false;\n private _hasCustomFilterSlot = false;\n\n componentWillLoad() {\n this._hasCustomFilterSlot = !!this._el.querySelector(\n ':scope > [slot=\"custom-filter\"]'\n );\n\n this._setLocales();\n this._parseItems(this.items);\n this._generateColumns();\n }\n\n componentDidRender() {\n this.hasRendered.emit();\n }\n\n render() {\n return (\n <Host class=\"p-table\">\n <p-table-container>\n {this.enableHeader && (\n <p-table-header\n // quick filters\n quickFilters={this.quickFilters}\n activeQuickFilterIdentifier={\n this.activeQuickFilterIdentifier\n }\n onQuickFilter={({ detail }) =>\n this.quickFilter.emit(detail)\n }\n // search\n enableSearch={this.enableSearch}\n query={this.query}\n onQueryChange={({ detail }) =>\n this.queryChange.emit(detail)\n }\n // filter button\n enableFilter={this.enableFilter}\n selectedFiltersAmount={this.selectedFiltersAmount}\n filterButtonTemplate={this.filterButtonTemplate}\n onFilter={() => this.filter.emit()}\n // edit button\n enableEdit={this.enableEdit}\n editIcon={this.editButtonIcon}\n editText={this.editButtonText}\n editLoading={this.editButtonLoading}\n canEdit={!!this.selectedRows?.length}\n editButtonTemplate={this.editButtonTemplate}\n onEdit={() => this.edit.emit()}\n itemsSelectedAmount={this.selectedRows?.length}\n //loading\n loading={this.headerLoading}\n >\n {this._hasCustomFilterSlot && (\n <slot\n name=\"custom-filter\"\n slot=\"custom-filter\"\n />\n )}\n </p-table-header>\n )}\n\n {this._getHeader()}\n <div class=\"flex flex-col\">{this._getRows()}</div>\n\n {this.enableFooter && (\n <p-table-footer\n // overall\n hideOnSinglePage={this.hideOnSinglePage}\n // page size select\n enablePageSize={this.enablePageSize}\n pageSize={this.pageSize}\n pageSizeOptions={this.pageSizeOptions}\n onPageSizeChange={({ detail }) =>\n this.pageSizeChange.emit(detail)\n }\n // pagination\n enablePagination={this.enablePagination}\n page={this.page}\n total={this.total}\n onPageChange={({ detail }) =>\n this.pageChange.emit(detail)\n }\n // export\n enableExport={this.enableExport}\n onExport={() => this.export.emit()}\n //loading\n loading={this.footerLoading}\n ></p-table-footer>\n )}\n </p-table-container>\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n @Listen('tableDefinitionChanged', { target: 'body' })\n onTableDefinitionUpdated() {\n this._generateColumns();\n }\n\n @Listen('keydown', { target: 'document' })\n keyDown({ key }) {\n if (key !== 'Control' || this._ctrlDown === true) {\n return;\n }\n\n this._ctrlDown = true;\n }\n\n @Listen('keyup', { target: 'document' })\n keyUp({ key }) {\n if (key !== 'Control' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Listen('visibilitychange', { target: 'document' })\n visibilityChange() {\n if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Watch('items')\n private _parseItems(items: string) {\n if (!items) {\n this._items = [];\n return;\n }\n\n if (Array.isArray(items)) {\n this._items = items;\n return;\n }\n\n this._items = JSON.parse(items);\n }\n\n private _generateColumns() {\n const definitions = this._el.querySelectorAll('p-table-column');\n this._columns = Array.from(definitions);\n }\n\n private _getHeader() {\n return (\n <p-table-row variant=\"header\">\n {this._columns.map((col: TableColumn, index) => (\n <p-table-cell\n definition={col}\n value={col.name}\n variant=\"header\"\n checkbox={this._getCheckbox(index, null, 'header')}\n index={index}\n ></p-table-cell>\n ))}\n </p-table-row>\n );\n }\n\n private _getRows() {\n if (this.loading) {\n return Array.from(\n {\n length: this.amountOfLoadingRows,\n },\n (_, i) => (\n <p-table-row\n enableHover={\n this.enableRowSelection || this.enableRowClick\n }\n >\n {this._getLoadingColumns(i)}\n </p-table-row>\n )\n );\n }\n\n if (!this._items.length) {\n return this._getEmptyState();\n }\n\n return this._items.map((item, index) => (\n <p-table-row\n enableHover={this.enableRowSelection || this.enableRowClick}\n onClick={(ev) => this._rowClick(ev, index)}\n >\n {this._getRowColumns(item, index)}\n </p-table-row>\n ));\n }\n\n private _getRowColumns(item, index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n item={item}\n checkbox={this._getCheckbox(colIndex, index)}\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getLoadingColumns(index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n variant=\"loading\"\n checkbox={this._getCheckbox(colIndex, index, 'loading')}\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getCheckbox(\n index,\n rowIndex,\n variant: 'header' | 'default' | 'loading' = 'default'\n ) {\n if (!this.enableRowSelection || !this.selectionKey || index !== 0) {\n return;\n }\n\n if (variant === 'loading') {\n return <p-loader variant=\"ghost\" class=\"h-6 w-6 rounded\" />;\n }\n\n if (variant === 'header') {\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._selectAllChange(ev)}\n checked={this._selectionContainsAll()}\n indeterminate={this._selectionIndeterminate()}\n />\n );\n }\n\n const item = this._items[rowIndex];\n\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}\n disabled={this.canSelectKey && !item[this.canSelectKey]}\n checked={this._selectionContains(item, rowIndex)}\n />\n );\n }\n\n private _getEmptyState() {\n if (this.query?.length || this.selectedFiltersAmount) {\n return (\n <div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n <p-illustration variant=\"empty-state-search\" class=\"mb-6\" />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateFilteredHeader()}\n </p>\n <p class=\"mb-14 text-sm text-storm-medium\">\n {this.emptyStateFilteredContent()}\n </p>\n </div>\n );\n }\n\n return (\n <div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n <p-illustration\n variant=\"empty-state-overview\"\n class=\"mb-6 cursor-pointer\"\n onClick={() => this.emptyStateActionClick.emit(null)}\n />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateHeader()}\n </p>\n <p class=\"mb-6 text-sm text-storm-medium\">\n {this.emptyStateContent()}\n </p>\n {this.enableEmptyStateAction && (\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n onClick={() => this.emptyStateActionClick.emit(null)}\n >\n {this.emptyStateAction()}\n </p-button>\n )}\n </div>\n );\n }\n\n private _selectAllChange($event: any) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const value = this._getCheckedValue($event.target);\n if (value) {\n const toAdd = [];\n for (let i = 0; i < this._items.length; i++) {\n const row = this._items[i];\n if (this.canSelectKey && !row[this.canSelectKey]) {\n continue;\n }\n\n if (this._selectionContains(row, i)) {\n continue;\n }\n\n toAdd.push(row);\n this.rowSelected.emit(row);\n }\n\n this.selectedRows = [...this.selectedRows, ...toAdd];\n this.selectedRowsChange.emit(this.selectedRows);\n return;\n }\n\n for (let i = 0; i < this.selectedRows.length; i++) {\n const value = this.selectedRows[i];\n const row = this._items.find(\n (d) =>\n this._getSelectionValue(d, i) ===\n this._getSelectionValue(value, i)\n );\n\n if (!row) {\n continue;\n }\n\n this.rowDeselected.emit(row);\n }\n\n this.selectedRows = [];\n this.selectedRowsChange.emit(this.selectedRows);\n }\n\n private _checkboxChange(target: any, index: number) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const row = this._items[index];\n\n if (this.canSelectKey && !row[this.canSelectKey]) {\n target.checked = false;\n return;\n }\n\n const value = this._getCheckedValue(target);\n if (value) {\n this.selectedRows = [...this.selectedRows, row];\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowSelected.emit(row);\n return;\n }\n\n const indexOfToRemove = this._selectionContains(row, index, true);\n\n // we need to do this, because splice does not trigger the selection setter.\n const selection = [...this.selectedRows];\n selection.splice(indexOfToRemove, 1);\n this.selectedRows = selection;\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowDeselected.emit(row);\n }\n\n private _getCheckedValue(target: any) {\n return target?.checked;\n }\n\n private _getSelectionValue(row: any, index: number) {\n return this.selectionKey ? row?.[this.selectionKey] || index : index;\n }\n\n private _selectionContains(row, index, returnIndex = false): any {\n const returnValue = this.selectedRows.findIndex(\n (item) =>\n this._getSelectionValue(row, index) ===\n this._getSelectionValue(item, index)\n );\n return !returnIndex ? returnValue >= 0 : returnValue;\n }\n\n private _selectionContainsAll() {\n let returnValue = true;\n if (!this._items?.length) {\n return false;\n }\n\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (!contains) {\n returnValue = false;\n break;\n }\n }\n\n return returnValue;\n }\n\n private _selectionIndeterminate() {\n if (!this._items?.length || !this.selectedRows?.length) {\n return false;\n }\n\n let containsCount = 0;\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (contains) {\n containsCount++;\n }\n }\n\n return containsCount > 0 && containsCount !== this._items.length;\n }\n\n private _rowClick($event, index) {\n const target = $event.target;\n\n if (\n target.tagName.toLowerCase() === 'input' ||\n target.type === 'checkbox'\n ) {\n return;\n }\n\n const row = this._findRow($event.target);\n\n if (this.enableRowClick) {\n const action = this._findRowAction($event.target);\n\n if (action) {\n return;\n }\n\n const item = this._items[index];\n this.rowClick.emit({\n item,\n ctrlDown: this._ctrlDown,\n });\n return;\n }\n\n if (!this.enableRowSelection) {\n return;\n }\n\n const checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n if (!checkbox) {\n return;\n }\n\n checkbox.checked = !checkbox.checked;\n this._checkboxChange(checkbox, index);\n }\n\n private _findRow(el: HTMLElement) {\n if (!el) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return el;\n }\n\n return this._findRow(el?.parentElement);\n }\n\n private _findRowAction(el: HTMLElement) {\n if (!el) {\n return null;\n }\n\n if (\n el.getAttribute('data-is-action') !== null &&\n el.getAttribute('data-is-action') !== 'false'\n ) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return null;\n }\n\n return this._findRowAction(el?.parentElement);\n }\n}\n"],"version":3}
1
+ {"file":"p-table.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,ysXAAysX;;MC4BttX,KAAK;;;;;;;;;;;;;;;;;IAsQN,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;;mBA9PV,KAAK;yBAKC,KAAK;yBAKL,KAAK;+BAKA,CAAC;8BAKD,IAAI;0BAKR,IAAI;wBAKR,EAAE;;;wBA0CA,IAAI;wBAKE,EAAE;;wBAUR,IAAI;;wBAUJ,IAAI;;;sBAeN,IAAI;6BAKG,KAAK;0BAKJ,QAAQ;;;wBAqCd,IAAI;0BAKF,IAAI;4BAKF,IAAI;wBAKR,IAAI;gBAKmB,CAAC;;oBAe7B,WAAW;2BAKF,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ACf;IAED,OAAO,IAAI,CAAC,cAAc,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,aAAa,CAAC,CAAC;GACjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/organisms/table/table.component.scss?tag=p-table","./src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n @apply flex flex-col;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { QuickFilter, RowClickEvent } from '../../../types/table';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport {\n defaultSize,\n defaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\n\n@Component({\n tag: 'p-table',\n styleUrl: 'table.component.scss',\n})\nexport class Table {\n /**\n * The items to be fed to the table\n */\n @Prop() items: string;\n\n /**\n * Wether data is loading\n */\n @Prop() loading: boolean = false;\n\n /**\n * Wether the header should show loading state\n */\n @Prop() headerLoading: boolean = false;\n\n /**\n * Wether the footer should show loading state\n */\n @Prop() footerLoading: boolean = false;\n\n /**\n * The amount of loading rows to show\n */\n @Prop() amountOfLoadingRows: number = 6;\n\n /**\n * Wether to enable selection\n */\n @Prop() enableRowSelection: boolean = true;\n\n /**\n * Wether to enable row clicking\n */\n @Prop() enableRowClick: boolean = true;\n\n /**\n * The current selection of items\n */\n @Prop() selectedRows: any[] = [];\n\n /**\n * Event whenever the current selection changes\n */\n @Event() selectedRowsChange: EventEmitter<any>;\n\n /**\n * The key to determine if a row is selected\n */\n @Prop() selectionKey: string;\n\n /**\n * A key to determine if a row can be selected\n */\n @Prop() canSelectKey: string;\n\n /**\n * Event whenever a row is clicked\n */\n @Event() rowClick: EventEmitter<RowClickEvent>;\n\n /**\n * Event whenever a row is selected\n */\n @Event() rowSelected: EventEmitter<any>;\n\n /**\n * Event whenever a row is deselected\n */\n @Event() rowDeselected: EventEmitter<any>;\n\n /**\n * Event when the table has rendered\n */\n @Event() hasRendered: EventEmitter<number>;\n\n /** START HEADER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableHeader: boolean = true;\n\n /**\n * Quick filters to show\n */\n @Prop() quickFilters: QuickFilter[] = [];\n\n /**\n * Active quick filter identifier\n */\n @Prop() activeQuickFilterIdentifier: string;\n\n /**\n * Wether to show the search input\n */\n @Prop() enableSearch: boolean = true;\n\n /**\n * The query to show in the search bar\n */\n @Prop({ mutable: true }) query: string;\n\n /**\n * Wether to show the filter button\n */\n @Prop() enableFilter: boolean = true;\n\n /**\n * The amount of filters being selected\n */\n @Prop() selectedFiltersAmount: number;\n\n /**\n * The template for the filter button text\n */\n @Prop() filterButtonTemplate: templateFunc;\n\n /**\n * Wether to show the edit button\n */\n @Prop() enableEdit: boolean = true;\n\n /**\n * Wether the edit button is loading\n */\n @Prop() editButtonLoading: boolean = false;\n\n /**\n * The edit button icon\n */\n @Prop() editButtonIcon: IconVariant = 'pencil';\n\n /**\n * The edit button text if changed\n */\n @Prop() editButtonText: string;\n\n /**\n * The template for the edit button text\n */\n @Prop() editButtonTemplate: buttonTemplateFunc;\n\n /**\n * Event when one of the quick filters is clicked\n */\n @Event() quickFilter: EventEmitter<QuickFilter>;\n\n /**\n * Event when the query changes\n */\n @Event() queryChange: EventEmitter<string>;\n\n /**\n * Event when the filter button is clicked\n */\n @Event() filter: EventEmitter<null>;\n\n /**\n * Event when the edit button is clicked\n */\n @Event() edit: EventEmitter<null>;\n\n /** START FOOTER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableFooter: boolean = true;\n\n /**\n * Wether to enable page size select\n */\n @Prop() enablePageSize: boolean = true;\n\n /**\n * Wether to enable pagination\n */\n @Prop() enablePagination: boolean = true;\n\n /**\n * Wether to enable export\n */\n @Prop() enableExport: boolean = true;\n\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = defaultSize;\n\n /**\n * The options for the page size\n */\n @Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageSizeChange: EventEmitter<number>;\n\n /**\n * Event whenever the page changes\n */\n @Event() export: EventEmitter<number>;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = true;\n\n /* Empty state start */\n @Prop() emptyStateHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.header);\n @Prop() emptyStateContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.content);\n @Prop() emptyStateAction: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.action);\n /**\n * Wether to enable empty state action\n */\n @Prop() enableEmptyStateAction: boolean = true;\n\n @Prop() emptyStateFilteredHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.header);\n @Prop() emptyStateFilteredContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.content);\n\n /**\n * Event whenever the empty state is clicked\n */\n @Event() emptyStateActionClick: EventEmitter<null>;\n\n /* Empty state end */\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n @State() private _columns: any[] = [];\n @State() private _items: any[] = [];\n\n private _ctrlDown = false;\n private _hasCustomFilterSlot = false;\n\n componentWillLoad() {\n this._hasCustomFilterSlot = !!this._el.querySelector(\n ':scope > [slot=\"custom-filter\"]'\n );\n\n this._setLocales();\n this._parseItems(this.items);\n this._generateColumns();\n }\n\n componentDidRender() {\n this.hasRendered.emit();\n }\n\n render() {\n return (\n <Host class=\"p-table\">\n <p-table-container>\n {this.enableHeader && (\n <p-table-header\n // quick filters\n quickFilters={this.quickFilters}\n activeQuickFilterIdentifier={\n this.activeQuickFilterIdentifier\n }\n onQuickFilter={({ detail }) =>\n this.quickFilter.emit(detail)\n }\n // search\n enableSearch={this.enableSearch}\n query={this.query}\n onQueryChange={({ detail }) =>\n this.queryChange.emit(detail)\n }\n // filter button\n enableFilter={this.enableFilter}\n selectedFiltersAmount={this.selectedFiltersAmount}\n filterButtonTemplate={this.filterButtonTemplate}\n onFilter={() => this.filter.emit()}\n // edit button\n enableEdit={this.enableEdit}\n editIcon={this.editButtonIcon}\n editText={this.editButtonText}\n editLoading={this.editButtonLoading}\n canEdit={!!this.selectedRows?.length}\n editButtonTemplate={this.editButtonTemplate}\n onEdit={() => this.edit.emit()}\n itemsSelectedAmount={this.selectedRows?.length}\n //loading\n loading={this.headerLoading}\n >\n {this._hasCustomFilterSlot && (\n <slot\n name=\"custom-filter\"\n slot=\"custom-filter\"\n />\n )}\n </p-table-header>\n )}\n\n {this._getHeader()}\n <div class=\"flex flex-col\">{this._getRows()}</div>\n\n {this.enableFooter && (\n <p-table-footer\n // overall\n hideOnSinglePage={this.hideOnSinglePage}\n // page size select\n enablePageSize={this.enablePageSize}\n pageSize={this.pageSize}\n pageSizeOptions={this.pageSizeOptions}\n onPageSizeChange={({ detail }) =>\n this.pageSizeChange.emit(detail)\n }\n // pagination\n enablePagination={this.enablePagination}\n page={this.page}\n total={this.total}\n onPageChange={({ detail }) =>\n this.pageChange.emit(detail)\n }\n // export\n enableExport={this.enableExport}\n onExport={() => this.export.emit()}\n //loading\n loading={this.footerLoading}\n ></p-table-footer>\n )}\n </p-table-container>\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n @Listen('tableDefinitionChanged', { target: 'body' })\n onTableDefinitionUpdated() {\n this._generateColumns();\n }\n\n @Listen('keydown', { target: 'document' })\n keyDown({ key }) {\n if (key !== 'Control' || this._ctrlDown === true) {\n return;\n }\n\n this._ctrlDown = true;\n }\n\n @Listen('keyup', { target: 'document' })\n keyUp({ key }) {\n if (key !== 'Control' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Listen('visibilitychange', { target: 'document' })\n visibilityChange() {\n if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Watch('items')\n private _parseItems(items: string) {\n if (!items) {\n this._items = [];\n return;\n }\n\n if (Array.isArray(items)) {\n this._items = items;\n return;\n }\n\n this._items = JSON.parse(items);\n }\n\n private _generateColumns() {\n const definitions = this._el.querySelectorAll('p-table-column');\n this._columns = Array.from(definitions);\n }\n\n private _getHeader() {\n return (\n <p-table-row variant=\"header\">\n {this._columns.map((col: TableColumn, index) => (\n <p-table-cell\n definition={col}\n value={col.name}\n variant=\"header\"\n checkbox={this._getCheckbox(index, null, 'header')}\n index={index}\n ></p-table-cell>\n ))}\n </p-table-row>\n );\n }\n\n private _getRows() {\n if (this.loading) {\n return Array.from(\n {\n length: this.amountOfLoadingRows,\n },\n (_, i) => (\n <p-table-row\n enableHover={\n this.enableRowSelection || this.enableRowClick\n }\n >\n {this._getLoadingColumns(i)}\n </p-table-row>\n )\n );\n }\n\n if (!this._items.length) {\n return this._getEmptyState();\n }\n\n return this._items.map((item, index) => (\n <p-table-row\n enableHover={this.enableRowSelection || this.enableRowClick}\n onClick={(ev) => this._rowClick(ev, index)}\n >\n {this._getRowColumns(item, index)}\n </p-table-row>\n ));\n }\n\n private _getRowColumns(item, index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n item={item}\n checkbox={this._getCheckbox(colIndex, index)}\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getLoadingColumns(index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n variant=\"loading\"\n checkbox={this._getCheckbox(colIndex, index, 'loading')}\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getCheckbox(\n index,\n rowIndex,\n variant: 'header' | 'default' | 'loading' = 'default'\n ) {\n if (!this.enableRowSelection || !this.selectionKey || index !== 0) {\n return;\n }\n\n if (variant === 'loading') {\n return <p-loader variant=\"ghost\" class=\"h-6 w-6 rounded\" />;\n }\n\n if (variant === 'header') {\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._selectAllChange(ev)}\n checked={this._selectionContainsAll()}\n indeterminate={this._selectionIndeterminate()}\n />\n );\n }\n\n const item = this._items[rowIndex];\n\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}\n disabled={this.canSelectKey && !item[this.canSelectKey]}\n checked={this._selectionContains(item, rowIndex)}\n />\n );\n }\n\n private _getEmptyState() {\n if (this.query?.length || this.selectedFiltersAmount) {\n return (\n <div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n <p-illustration variant=\"empty-state-search\" class=\"mb-6\" />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateFilteredHeader()}\n </p>\n <p class=\"mb-14 text-sm text-storm-medium\">\n {this.emptyStateFilteredContent()}\n </p>\n </div>\n );\n }\n\n return (\n <div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n <p-illustration\n variant=\"empty-state-add\"\n class=\"mb-6 cursor-pointer\"\n onClick={() => this.emptyStateActionClick.emit(null)}\n />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateHeader()}\n </p>\n <p class=\"mb-6 text-sm text-storm-medium\">\n {this.emptyStateContent()}\n </p>\n {this.enableEmptyStateAction && (\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n onClick={() => this.emptyStateActionClick.emit(null)}\n >\n {this.emptyStateAction()}\n </p-button>\n )}\n </div>\n );\n }\n\n private _selectAllChange($event: any) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const value = this._getCheckedValue($event.target);\n if (value) {\n const toAdd = [];\n for (let i = 0; i < this._items.length; i++) {\n const row = this._items[i];\n if (this.canSelectKey && !row[this.canSelectKey]) {\n continue;\n }\n\n if (this._selectionContains(row, i)) {\n continue;\n }\n\n toAdd.push(row);\n this.rowSelected.emit(row);\n }\n\n this.selectedRows = [...this.selectedRows, ...toAdd];\n this.selectedRowsChange.emit(this.selectedRows);\n return;\n }\n\n for (let i = 0; i < this.selectedRows.length; i++) {\n const value = this.selectedRows[i];\n const row = this._items.find(\n (d) =>\n this._getSelectionValue(d, i) ===\n this._getSelectionValue(value, i)\n );\n\n if (!row) {\n continue;\n }\n\n this.rowDeselected.emit(row);\n }\n\n this.selectedRows = [];\n this.selectedRowsChange.emit(this.selectedRows);\n }\n\n private _checkboxChange(target: any, index: number) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const row = this._items[index];\n\n if (this.canSelectKey && !row[this.canSelectKey]) {\n target.checked = false;\n return;\n }\n\n const value = this._getCheckedValue(target);\n if (value) {\n this.selectedRows = [...this.selectedRows, row];\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowSelected.emit(row);\n return;\n }\n\n const indexOfToRemove = this._selectionContains(row, index, true);\n\n // we need to do this, because splice does not trigger the selection setter.\n const selection = [...this.selectedRows];\n selection.splice(indexOfToRemove, 1);\n this.selectedRows = selection;\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowDeselected.emit(row);\n }\n\n private _getCheckedValue(target: any) {\n return target?.checked;\n }\n\n private _getSelectionValue(row: any, index: number) {\n return this.selectionKey ? row?.[this.selectionKey] || index : index;\n }\n\n private _selectionContains(row, index, returnIndex = false): any {\n const returnValue = this.selectedRows.findIndex(\n (item) =>\n this._getSelectionValue(row, index) ===\n this._getSelectionValue(item, index)\n );\n return !returnIndex ? returnValue >= 0 : returnValue;\n }\n\n private _selectionContainsAll() {\n let returnValue = true;\n if (!this._items?.length) {\n return false;\n }\n\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (!contains) {\n returnValue = false;\n break;\n }\n }\n\n return returnValue;\n }\n\n private _selectionIndeterminate() {\n if (!this._items?.length || !this.selectedRows?.length) {\n return false;\n }\n\n let containsCount = 0;\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (contains) {\n containsCount++;\n }\n }\n\n return containsCount > 0 && containsCount !== this._items.length;\n }\n\n private _rowClick($event, index) {\n const target = $event.target;\n\n if (\n target.tagName.toLowerCase() === 'input' ||\n target.type === 'checkbox'\n ) {\n return;\n }\n\n const row = this._findRow($event.target);\n\n if (this.enableRowClick) {\n const action = this._findRowAction($event.target);\n\n if (action) {\n return;\n }\n\n const item = this._items[index];\n this.rowClick.emit({\n item,\n ctrlDown: this._ctrlDown,\n });\n return;\n }\n\n if (!this.enableRowSelection) {\n return;\n }\n\n const checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n if (!checkbox) {\n return;\n }\n\n checkbox.checked = !checkbox.checked;\n this._checkboxChange(checkbox, index);\n }\n\n private _findRow(el: HTMLElement) {\n if (!el) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return el;\n }\n\n return this._findRow(el?.parentElement);\n }\n\n private _findRowAction(el: HTMLElement) {\n if (!el) {\n return null;\n }\n\n if (\n el.getAttribute('data-is-action') !== null &&\n el.getAttribute('data-is-action') !== 'false'\n ) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return null;\n }\n\n return this._findRowAction(el?.parentElement);\n }\n}\n"],"version":3}
@@ -225,7 +225,7 @@ const departments = `<svg xmlns="http://www.w3.org/2000/svg" width="171" height=
225
225
 
226
226
  const email = `<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" width="150px" height="150px" viewBox="0 0 150.0 150.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="i0"><path d="M85.1759982,0 C104.072973,-3.47131792e-15 119.391997,15.3190247 119.391997,34.2159993 L119.391997,64.0639986 L0,64.0639986 L0,24.0239995 C-1.62487222e-15,10.7559109 10.7559109,2.43730832e-15 24.0239995,0 L85.1759982,0 Z"></path></clipPath><linearGradient id="i1" x1="59.6959987px" y1="64.0639986px" x2="59.6959987px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i2"><path d="M20.5519995,0 C31.9025555,-2.0850633e-15 41.1039991,9.20144361 41.1039991,20.5519995 L41.1039991,64.0639986 L0,64.0639986 L0,20.5519995 C-4.94275588e-15,9.20144361 9.20144361,2.0850633e-15 20.5519995,0 Z"></path></clipPath><linearGradient id="i3" x1="20.5519995px" y1="64.0639986px" x2="20.5519995px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#4873C8" offset="0%"></stop><stop stop-color="#4773CB" offset="100%"></stop></linearGradient><clipPath id="i4"><path d="M13,0 L13,69.272 C13,69.6740633 12.6740633,70 12.272,70 L0.727999984,70 C0.325936695,70 -1.72806053e-16,69.6740633 0,69.272 L0,0 L13,0 Z"></path></clipPath><linearGradient id="i5" x1="6.5px" y1="70px" x2="6.5px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="rgba(133, 169, 243, 0)" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i6"><path d="M9,0 L9,69.272 C9,69.6740633 8.6740633,70 8.27200002,70 L0.727999984,70 C0.325936695,70 -6.17837504e-17,69.6740633 0,69.272 L0,0 L9,0 Z"></path></clipPath><linearGradient id="i7" x1="4.5px" y1="70px" x2="4.5px" y2="1.29922327px" gradientUnits="userSpaceOnUse"><stop stop-color="rgba(87, 128, 209, 0)" offset="0%"></stop><stop stop-color="#4F7ACF" offset="98.1439668%"></stop></linearGradient><clipPath id="i8"><path d="M72.7999984,0 L72.7999984,5.09599989 L0.727999984,5.09599989 C0.325936695,5.09599989 7.15372367e-16,4.77006319 0,4.36799991 L0,0.727999984 C-4.9238552e-17,0.325936695 0.325936695,-3.71644744e-17 0.727999984,0 L72.7999984,0 Z"></path></clipPath><clipPath id="i9"><path d="M77.0839983,0 L77.0839983,4.36799991 C77.0839983,4.77006319 76.7580616,5.09599989 76.3559984,5.09599989 L0,5.09599989 L0,0 L77.0839983,0 Z"></path></clipPath><clipPath id="i10"><path d="M30.2119993,0 L60.4239987,24.5359285 L60.4239987,58.2399987 L0,58.2399987 L0,24.5359285 L30.2119993,0 Z"></path></clipPath><linearGradient id="i11" x1="30.2119993px" y1="58.2399987px" x2="30.2119993px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#4976D0" offset="0%"></stop><stop stop-color="#83A8F2" offset="100%"></stop></linearGradient><clipPath id="i12"><path d="M28.5611597,0 C26.5440085,0.14121798 24.940731,2.28624546 24.940731,4.91265145 C24.940731,7.53905744 26.5440085,9.68408493 28.5610529,9.81860835 L4.02269854,9.82530291 C3.95616212,9.823053 3.88906726,9.82530291 3.82156362,9.82530291 C1.71097231,9.82530291 0,7.62583393 0,4.91265145 C0,2.19946897 1.71097231,0 3.82156362,0 C3.88906726,0 3.95616212,0.00224990396 4.0228053,0.00669455955 L28.5611597,0 Z"></path></clipPath><linearGradient id="i13" x1="14.2805798px" y1="9.82530291px" x2="14.2805798px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i14"><path d="M43.0975968,0 C39.3467946,0 37.4054615,2.32959981 37.2735973,6.98879943 L37.2735973,35.8122364 C37.2735973,36.2735377 37.054994,36.7075488 36.6843315,36.9821543 L30.346965,41.6771948 C29.9634652,41.9613108 29.4650694,42.0394323 29.0130302,41.8862836 L18.2960002,38.2554064 C17.8288085,38.0971242 17.3132468,38.1861511 16.9261915,38.4919444 L13.497038,41.201149 C13.0262552,41.5730912 12.375522,41.618165 11.857955,41.3146821 L0.71952494,34.7835005 C0.273819266,34.5221545 6.32747051e-17,34.0441759 0,33.5274987 L0,6.98879902 C-1.36086846e-15,3.1289919 3.1289919,-1.79143355e-16 6.98879902,0 L43.0975968,0 Z"></path></clipPath><linearGradient id="i15" x1="21.5487984px" y1="5.25158252px" x2="21.5487984px" y2="41.963289px" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF2FF" offset="0%"></stop><stop stop-color="#CDDBF6" offset="100%"></stop></linearGradient><clipPath id="i16"><path d="M26.1259675,0 C26.4797832,-6.49948862e-17 26.7666075,0.286824281 26.7666075,0.640639962 L26.7666075,6.23167958 C26.7666075,6.58549526 26.4797832,6.87231954 26.1259675,6.87231954 L0.640639962,6.87231954 C0.286824281,6.87231954 2.65374529e-16,6.58549526 0,6.23167958 L0,0.640639962 C-4.33299241e-17,0.286824281 0.286824281,-4.60274163e-17 0.640639962,0 L26.1259675,0 Z"></path></clipPath><clipPath id="i17"><path d="M4.33328874,0 C4.58185829,0 4.78686103,0.0506100509 4.94830311,0.151831671 C5.10974519,0.253053291 5.23915316,0.412571046 5.33653093,0.630389722 L4.83298792,0.891770827 C4.7971119,0.77901763 4.74137678,0.688688299 4.66578089,0.620780123 C4.59018499,0.552871948 4.47935539,0.518918369 4.33328874,0.518918369 C4.16159638,0.518918369 4.02386016,0.574653488 3.92007597,0.686125399 C3.81629178,0.79759731 3.76440046,0.959677599 3.76440046,1.17237113 L3.76440046,1.60288118 C3.76440046,1.81557472 3.81629178,1.977655 3.92007597,2.08912692 C4.02386016,2.20059883 4.16159638,2.25633395 4.33328874,2.25633395 C4.47679281,2.25633395 4.59146622,2.2172553 4.6773124,2.13909683 C4.76315859,2.06093837 4.82658131,1.96676523 4.86758247,1.85657461 L5.3442186,2.13333107 C5.24427827,2.33833689 5.11294839,2.49657337 4.95022503,2.60804528 C4.78750166,2.7195172 4.58185829,2.77525231 4.33328874,2.77525231 C4.15134609,2.77525231 3.9873439,2.7464238 3.84127725,2.68876592 C3.69521061,2.63110804 3.5709277,2.54526314 3.4684248,2.43122866 C3.36592189,2.31719417 3.28648333,2.17497352 3.23010673,2.00456244 C3.17373013,1.83415136 3.14554226,1.63491432 3.14554226,1.40684536 C3.14554226,1.18133896 3.17373013,0.980820659 3.23010673,0.805284432 C3.28648333,0.629748205 3.36592189,0.482402487 3.4684248,0.363242858 C3.5709277,0.24408323 3.69521061,0.153753898 3.84127725,0.0922521545 C3.9873439,0.0307504107 4.15134609,0 4.33328874,0 Z M1.60672502,0.0461260773 L2.47927665,2.72912624 L1.87194997,2.72912624 L1.67975798,2.09104884 L0.784143313,2.09104884 L0.591951325,2.72912624 L0,2.72912624 L0.884083147,0.0461260773 L1.60672502,0.0461260773 Z M8.10922072,0.0461260773 L8.10922072,0.565044446 L7.38273501,0.565044446 L7.38273501,2.72912624 L6.79847136,2.72912624 L6.79847136,0.565044446 L6.07198564,0.565044446 L6.07198564,0.0461260773 L8.10922072,0.0461260773 Z M10.1784878,0.0461260773 L10.1784878,0.51123069 L9.83254226,0.51123069 L9.83254226,2.26402163 L10.1784878,2.26402163 L10.1784878,2.72912624 L8.90233304,2.72912624 L8.90233304,2.26402163 L9.24827862,2.26402163 L9.24827862,0.51123069 L8.90233304,0.51123069 L8.90233304,0.0461260773 L10.1784878,0.0461260773 Z M11.5289569,0.0461260773 L11.9287163,1.3338124 L12.1401274,2.17561331 L12.151659,2.17561331 L12.3553825,1.3338124 L12.7551418,0.0461260773 L13.3278739,0.0461260773 L12.4553223,2.72912624 L11.8018695,2.72912624 L10.9370056,0.0461260773 L11.5289569,0.0461260773 Z M16.0159993,0.0461260773 L16.0159993,0.565044446 L14.774439,0.565044446 L14.774439,1.11471353 L15.8391826,1.11471353 L15.8391826,1.62978806 L14.774439,1.62978806 L14.774439,2.21020787 L16.0159993,2.21020787 L16.0159993,2.72912624 L14.1901754,2.72912624 L14.1901754,0.0461260773 L16.0159993,0.0461260773 Z M18.861722,0.0461260773 L18.861722,0.565044446 L17.6201618,0.565044446 L17.6201618,1.11471353 L18.6849054,1.11471353 L18.6849054,1.62978806 L17.6201618,1.62978806 L17.6201618,2.21020787 L18.861722,2.21020787 L18.861722,2.72912624 L17.0358981,2.72912624 L17.0358981,0.0461260773 L18.861722,0.0461260773 Z M21.1539318,0.0461260773 C21.2769353,0.0461260773 21.3884056,0.066626351 21.4883459,0.107627514 C21.5882862,0.148628676 21.6734905,0.20692633 21.7439612,0.282522223 C21.814432,0.358118117 21.8688858,0.448447448 21.9073244,0.553512927 C21.945763,0.658578406 21.964982,0.775173713 21.964982,0.903302346 C21.964982,1.08524501 21.9246221,1.24412213 21.8439011,1.37993848 C21.76318,1.51575483 21.640819,1.6144124 21.4768144,1.67591414 L22.0034204,2.72912624 L21.3538115,2.72912624 L20.8848631,1.74510326 L20.4658845,1.74510326 L20.4658845,2.72912624 L19.8816209,2.72912624 L19.8816209,0.0461260773 L21.1539318,0.0461260773 Z M1.23771641,0.576575966 L1.21849721,0.576575966 L0.922521545,1.59519351 L1.53753591,1.59519351 L1.23771641,0.576575966 Z M21.0808989,0.553512927 L20.4658845,0.553512927 L20.4658845,1.25309177 L21.0808989,1.25309177 C21.1680264,1.25309177 21.2365741,1.23066959 21.2865443,1.18582457 C21.3365145,1.14097955 21.3614992,1.07499429 21.3614992,0.987866821 L21.3614992,0.818737871 C21.3614992,0.731610401 21.3365145,0.665625145 21.2865443,0.620780123 C21.2365741,0.575935101 21.1680264,0.553512927 21.0808989,0.553512927 Z"></path></clipPath><clipPath id="i18"><path d="M60.4239987,0 L60.4239987,33.2431851 L0,33.2431851 L0,0 L30.2119993,14.5723551 L60.4239987,0 Z"></path></clipPath><linearGradient id="i19" x1="30.2119993px" y1="33.2431851px" x2="30.2119993px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i20"><path d="M25.2346799,1.03151456 L46.5557573,20.012822 C47.1563598,20.5475145 47.2097904,21.467853 46.6750979,22.0684556 C46.398817,22.3787928 46.0031108,22.556309 45.5876108,22.556309 L1.45599997,22.556309 C0.65187339,22.556309 -1.01174592e-15,21.9044356 -1.11022302e-15,21.1003091 C-1.16110711e-15,20.684809 0.17751623,20.2891028 0.487853441,20.012822 L21.8089309,1.03151456 C22.7854008,0.162202233 24.25821,0.162202233 25.2346799,1.03151456 Z"></path></clipPath><linearGradient id="i21" x1="23.521813px" y1="22.556309px" x2="23.521813px" y2="0px" gradientUnits="userSpaceOnUse"><stop stop-color="#80A6F1" offset="0%"></stop><stop stop-color="#B5CDFF" offset="100%"></stop></linearGradient><clipPath id="i22"><path d="M21.8399995,0 C22.2420628,2.06876579e-15 22.5679995,0.325936695 22.5679995,0.727999984 L22.5679995,15.2879997 C22.5679995,15.690063 22.2420628,16.0159997 21.8399995,16.0159997 L0.727999984,16.0159997 C0.325936695,16.0159997 -5.0587296e-16,15.690063 0,15.2879997 L0,0.727999984 C-4.9238552e-17,0.325936695 0.325936695,1.8488013e-16 0.727999984,0 L21.8399995,0 Z"></path></clipPath><linearGradient id="i23" x1="11.2839998px" y1="4.90348568e-16px" x2="11.2839998px" y2="16.0159997px" gradientUnits="userSpaceOnUse"><stop stop-color="#FFD7DA" offset="0%"></stop><stop stop-color="#FF8A94" offset="100%"></stop></linearGradient><clipPath id="i24"><path d="M2.91199994,0 C3.31406323,3.71644744e-17 3.63999992,0.325936695 3.63999992,0.727999984 L3.63999992,29.8479994 C3.63999992,30.2500626 3.31406323,30.5759993 2.91199994,30.5759993 L0.727999984,30.5759993 C0.325936695,30.5759993 2.0133102e-15,30.2500626 0,29.8479994 L0,0.727999984 C-4.9238552e-17,0.325936695 0.325936695,7.39991643e-16 0.727999984,0 L2.91199994,0 Z"></path></clipPath><linearGradient id="i25" x1="1.67562148px" y1="1.52042937px" x2="1.67562148px" y2="30.5759993px" gradientUnits="userSpaceOnUse"><stop stop-color="#FF95A8" offset="0%"></stop><stop stop-color="#DF4D68" offset="100%"></stop></linearGradient><clipPath id="i26"><path d="M3.27599993,0 C5.08528473,0 6.55199986,1.46671513 6.55199986,3.27599993 C6.55199986,5.08528473 5.08528473,6.55199986 3.27599993,6.55199986 C1.46671513,6.55199986 0,5.08528473 0,3.27599993 C0,1.46671513 1.46671513,0 3.27599993,0 Z"></path></clipPath></defs><g transform="translate(2.0 1.0)"><g transform="translate(26.291999422073204 7.784000324726044)"><g clip-path="url(#i0)"><polygon points="0,0 119.391997,0 119.391997,64.0639986 0,64.0639986 0,0" stroke="none" fill="url(#i1)"></polygon></g></g><g transform="translate(27.495999424934315 7.784000324726044)"><g clip-path="url(#i2)"><polygon points="0,0 41.1039991,0 41.1039991,64.0639986 0,64.0639986 0,0" stroke="none" fill="url(#i3)"></polygon></g></g><g transform="translate(73.33999838352156 76.94399882984133)"><g transform="translate(9.66000161647844 0.0560011701586518)"><g opacity="90.0000036%"><g clip-path="url(#i4)"><polygon points="0,0 13,0 13,70 0,70 0,0" stroke="none" fill="url(#i5)"></polygon><g transform="translate(0.0 14.0)"><polygon points="13,0 0,0 0,-14 13,-14 13,0 13,0" stroke="none" fill="rgba(97, 139, 223, 0.7)"></polygon></g></g></g></g><g transform="translate(0.6600016164784392 0.0560011701586518)"><g opacity="90.0000036%"><g clip-path="url(#i6)"><polygon points="0,0 9,0 9,70 0,70 0,0" stroke="none" fill="url(#i7)"></polygon><g transform="translate(0.0 14.0)"><polygon points="9,0 0,0 0,-14 9,-14 9,0 9,0" stroke="none" fill="rgba(75, 116, 201, 0.7)"></polygon></g></g></g></g></g><g transform="translate(12.599999785423279 71.84799893999077)"><g clip-path="url(#i8)"><polygon points="0,0 72.7999984,0 72.7999984,5.09599989 0,5.09599989 0,0" stroke="none" fill="#6A95EA"></polygon></g><g transform="translate(55.99999871253968 0.0)"><g clip-path="url(#i9)"><polygon points="0,0 77.0839983,0 77.0839983,5.09599989 0,5.09599989 0,0" stroke="none" fill="#95B5F7"></polygon></g></g></g><g transform="translate(0.19599997329704166 19.90800009155265)"><g clip-path="url(#i10)"><polygon points="0,0 60.4239987,0 60.4239987,58.2399987 0,58.2399987 0,0" stroke="none" fill="url(#i11)"></polygon></g><g transform="translate(3.9360000257491734 3.0079998269080797)"><g transform="translate(0.5100747341529566 0.0)"><g clip-path="url(#i12)"><polygon points="0,0 28.5611597,0 28.5611597,9.82530291 0,9.82530291 0,0" stroke="none" fill="url(#i13)"></polygon></g></g><g transform="translate(45.718396373558065 0.0) scale(-1.0 1.0)"><g clip-path="url(#i14)"><polygon points="0,0 43.0975968,0 43.0975968,41.963289 0,41.963289 0,0" stroke="none" fill="url(#i15)"></polygon></g></g><g transform="translate(14.0 15.0)"><g transform="translate(0.19784397813067578 0.10229217886434983)"><g transform="translate(0.0 1.0)"><polygon points="27.0261341,-1.02237376 27.8719262,7.20487644 -0.259526609,7.8946933 -1.10531869,-0.332556902 27.0261341,-1.02237376 27.0261341,-1.02237376" stroke="none" fill="#2B4BA9"></polygon></g><g clip-path="url(#i16)"><polygon points="0,0 26.7666075,0 26.7666075,6.87231954 0,6.87231954 0,0" stroke="none" fill="#528AFA"></polygon></g></g><g transform="translate(2.3075842545387886 2.476792512525163)"><g clip-path="url(#i17)"><polygon points="0,0 22.0034204,0 22.0034204,2.77525231 0,2.77525231 0,0" stroke="none" fill="#FFFFFF"></polygon><polygon points="0,0 22.0034204,0 22.0034204,2.77525231 0,2.77525231 0,0" stroke="none" fill="#FFFFFF"></polygon></g></g></g></g><g transform="translate(0.0 24.996813618989023)"><g clip-path="url(#i18)"><polygon points="0,0 60.4239987,0 60.4239987,33.2431851 0,33.2431851 0,0" stroke="none" fill="url(#i19)"></polygon></g></g><g transform="translate(6.69019398361203 35.68368971098083)"><g clip-path="url(#i20)"><polygon points="-1.11022302e-15,0.379530314 47.0436259,0.379530314 47.0436259,22.556309 -1.11022302e-15,22.556309 -1.11022302e-15,0.379530314" stroke="none" fill="url(#i21)"></polygon></g></g></g><g transform="translate(108.6679973950384 0.0)"><g transform="translate(5.095999889850599 0.0)"><g clip-path="url(#i22)"><polygon points="0,0 22.5679995,0 22.5679995,16.0159997 0,16.0159997 0,0" stroke="none" fill="url(#i23)"></polygon></g></g><g transform="translate(1.455999968528743 0.0)"><g clip-path="url(#i24)"><polygon points="0,0 3.63999992,0 3.63999992,30.5759993 0,30.5759993 0,0" stroke="none" fill="url(#i25)"></polygon></g></g><g transform="translate(0.0 26.93599941778175)"><g clip-path="url(#i26)"><polygon points="0,0 6.55199986,0 6.55199986,6.55199986 0,6.55199986 0,0" stroke="none" fill="#6A95EA"></polygon></g></g></g></g></svg>`;
227
227
 
228
- const emptyStateOverview = `<?xml version="1.0" encoding="UTF-8"?>
228
+ const emptyStateAdd = `<?xml version="1.0" encoding="UTF-8"?>
229
229
  <svg width="152px" height="152px" viewBox="0 0 152 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
230
230
  <title>⚛️ Atoms/illustrations/empty/overview</title>
231
231
  <defs>
@@ -291,6 +291,65 @@ const emptyStateOverview = `<?xml version="1.0" encoding="UTF-8"?>
291
291
  </g>
292
292
  </svg>`;
293
293
 
294
+ const emptyStateOverview = `<?xml version="1.0" encoding="UTF-8"?>
295
+ <svg width="152px" height="152px" viewBox="0 0 152 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
296
+ <title>⚛️ Atoms/illustrations/empty/overview</title>
297
+ <defs>
298
+ <rect id="path-1" x="0" y="0" width="152" height="152"></rect>
299
+ <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="linearGradient-3">
300
+ <stop stop-color="#FFFFFF" offset="0%"></stop>
301
+ <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
302
+ </linearGradient>
303
+ </defs>
304
+ <g id="⚛️-Atoms" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
305
+ <g id="⚛️-Atoms/illustrations/empty/overview">
306
+ <mask id="mask-2" fill="white">
307
+ <use xlink:href="#path-1"></use>
308
+ </mask>
309
+ <g id="bounding-box"></g>
310
+ <g id="row" mask="url(#mask-2)">
311
+ <g transform="translate(0.000000, -3.000000)">
312
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
313
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
314
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
315
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
316
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
317
+ </g>
318
+ </g>
319
+ <g id="row" mask="url(#mask-2)">
320
+ <g transform="translate(0.000000, 36.000000)">
321
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
322
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
323
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
324
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
325
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
326
+ </g>
327
+ </g>
328
+ <g id="row" mask="url(#mask-2)">
329
+ <g transform="translate(0.000000, 75.000000)">
330
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
331
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
332
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
333
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
334
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
335
+ </g>
336
+ </g>
337
+ <g id="row" mask="url(#mask-2)">
338
+ <g transform="translate(0.000000, 114.000000)">
339
+ <rect id="bg" stroke-opacity="0.8" stroke="#E3ECF3" stroke-width="1" fill="#FFFFFF" x="0.5" y="0.5" width="183" height="39"></rect>
340
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="14" width="54" height="6" rx="1"></rect>
341
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="10" y="24" width="43" height="2" rx="1"></rect>
342
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="87" y="17" width="32" height="6" rx="0.899999976"></rect>
343
+ <rect id="heading" stroke="none" fill-opacity="0.5" fill="#E3ECF3" x="142" y="17" width="32" height="6" rx="0.899999976"></rect>
344
+ </g>
345
+ </g>
346
+ <rect id="overlay-right" fill="url(#linearGradient-3)" mask="url(#mask-2)" x="128" y="0" width="24" height="152"></rect>
347
+ <rect id="overlay-bottom" fill="url(#linearGradient-3)" mask="url(#mask-2)" transform="translate(76.000000, 140.000000) rotate(90.000000) translate(-76.000000, -140.000000) " x="64" y="64" width="24" height="152"></rect>
348
+ <rect id="overlay-top" fill="url(#linearGradient-3)" mask="url(#mask-2)" transform="translate(76.000000, 12.000000) scale(1, -1) rotate(90.000000) translate(-76.000000, -12.000000) " x="64" y="-64" width="24" height="152"></rect>
349
+ </g>
350
+ </g>
351
+ </svg>`;
352
+
294
353
  const emptyStateSearch = `<?xml version="1.0" encoding="UTF-8"?>
295
354
  <svg width="152px" height="152px" viewBox="0 0 152 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
296
355
  <title>⚛️ Atoms/illustrations/empty/search</title>
@@ -1558,6 +1617,7 @@ const illustrations = {
1558
1617
  'empty-state': emptyState,
1559
1618
  'empty-state-search': emptyStateSearch,
1560
1619
  'empty-state-overview': emptyStateOverview,
1620
+ 'empty-state-add': emptyStateAdd,
1561
1621
  departments,
1562
1622
  expenses,
1563
1623
  functions,