overview-components 0.6.0

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 (93) hide show
  1. package/dist/assets/icons/iconGlyphs.d.ts +875 -0
  2. package/dist/assets/icons/iconGlyphs.d.ts.map +1 -0
  3. package/dist/assets/icons/iconGlyphs.js +663 -0
  4. package/dist/assets/icons/iconGlyphs.js.map +1 -0
  5. package/dist/assets/ilustration/not-found.d.ts +5 -0
  6. package/dist/assets/ilustration/not-found.d.ts.map +1 -0
  7. package/dist/assets/ilustration/not-found.js +103 -0
  8. package/dist/assets/ilustration/not-found.js.map +1 -0
  9. package/dist/components/custom-filters.d.ts +2 -0
  10. package/dist/components/custom-filters.d.ts.map +1 -0
  11. package/dist/components/custom-filters.js +19 -0
  12. package/dist/components/custom-filters.js.map +1 -0
  13. package/dist/components/lit-case-variables-tab.d.ts +77 -0
  14. package/dist/components/lit-case-variables-tab.d.ts.map +1 -0
  15. package/dist/components/lit-case-variables-tab.js +298 -0
  16. package/dist/components/lit-case-variables-tab.js.map +1 -0
  17. package/dist/components/lit-data-grid-tanstack.d.ts +110 -0
  18. package/dist/components/lit-data-grid-tanstack.d.ts.map +1 -0
  19. package/dist/components/lit-data-grid-tanstack.js +1085 -0
  20. package/dist/components/lit-data-grid-tanstack.js.map +1 -0
  21. package/dist/components/react-wrappers/case-variables-tab.d.ts +3 -0
  22. package/dist/components/react-wrappers/case-variables-tab.d.ts.map +1 -0
  23. package/dist/components/react-wrappers/case-variables-tab.js +9 -0
  24. package/dist/components/react-wrappers/case-variables-tab.js.map +1 -0
  25. package/dist/components/react-wrappers/data-grid-tanstack.d.ts +3 -0
  26. package/dist/components/react-wrappers/data-grid-tanstack.d.ts.map +1 -0
  27. package/dist/components/react-wrappers/data-grid-tanstack.js +9 -0
  28. package/dist/components/react-wrappers/data-grid-tanstack.js.map +1 -0
  29. package/dist/data/translations.d.ts +2 -0
  30. package/dist/data/translations.d.ts.map +1 -0
  31. package/dist/data/translations.js +2763 -0
  32. package/dist/data/translations.js.map +1 -0
  33. package/dist/index.d.ts +5 -0
  34. package/dist/index.d.ts.map +1 -0
  35. package/dist/index.js +7 -0
  36. package/dist/index.js.map +1 -0
  37. package/dist/shared/filter-inputs.d.ts +36 -0
  38. package/dist/shared/filter-inputs.d.ts.map +1 -0
  39. package/dist/shared/filter-inputs.js +442 -0
  40. package/dist/shared/filter-inputs.js.map +1 -0
  41. package/dist/shared/lit-button.d.ts +24 -0
  42. package/dist/shared/lit-button.d.ts.map +1 -0
  43. package/dist/shared/lit-button.js +113 -0
  44. package/dist/shared/lit-button.js.map +1 -0
  45. package/dist/shared/lit-custom-popper.d.ts +19 -0
  46. package/dist/shared/lit-custom-popper.d.ts.map +1 -0
  47. package/dist/shared/lit-custom-popper.js +117 -0
  48. package/dist/shared/lit-custom-popper.js.map +1 -0
  49. package/dist/shared/lit-data-grid-export-popover.d.ts +15 -0
  50. package/dist/shared/lit-data-grid-export-popover.d.ts.map +1 -0
  51. package/dist/shared/lit-data-grid-export-popover.js +95 -0
  52. package/dist/shared/lit-data-grid-export-popover.js.map +1 -0
  53. package/dist/shared/lit-icon-button.d.ts +18 -0
  54. package/dist/shared/lit-icon-button.d.ts.map +1 -0
  55. package/dist/shared/lit-icon-button.js +81 -0
  56. package/dist/shared/lit-icon-button.js.map +1 -0
  57. package/dist/shared/lit-icon.d.ts +17 -0
  58. package/dist/shared/lit-icon.d.ts.map +1 -0
  59. package/dist/shared/lit-icon.js +284 -0
  60. package/dist/shared/lit-icon.js.map +1 -0
  61. package/dist/shared/lit-pill.d.ts +13 -0
  62. package/dist/shared/lit-pill.d.ts.map +1 -0
  63. package/dist/shared/lit-pill.js +88 -0
  64. package/dist/shared/lit-pill.js.map +1 -0
  65. package/dist/shared/lit-responsive-button.d.ts +27 -0
  66. package/dist/shared/lit-responsive-button.d.ts.map +1 -0
  67. package/dist/shared/lit-responsive-button.js +94 -0
  68. package/dist/shared/lit-responsive-button.js.map +1 -0
  69. package/dist/shared/lit-select.d.ts +25 -0
  70. package/dist/shared/lit-select.d.ts.map +1 -0
  71. package/dist/shared/lit-select.js +177 -0
  72. package/dist/shared/lit-select.js.map +1 -0
  73. package/dist/shared/lit-tooltip.d.ts +20 -0
  74. package/dist/shared/lit-tooltip.d.ts.map +1 -0
  75. package/dist/shared/lit-tooltip.js +122 -0
  76. package/dist/shared/lit-tooltip.js.map +1 -0
  77. package/dist/shared/styles/button-shared-styles.d.ts +3 -0
  78. package/dist/shared/styles/button-shared-styles.d.ts.map +1 -0
  79. package/dist/shared/styles/button-shared-styles.js +66 -0
  80. package/dist/shared/styles/button-shared-styles.js.map +1 -0
  81. package/dist/styles.d.ts +3 -0
  82. package/dist/styles.d.ts.map +1 -0
  83. package/dist/styles.js +169 -0
  84. package/dist/styles.js.map +1 -0
  85. package/dist/utils/date.d.ts +2 -0
  86. package/dist/utils/date.d.ts.map +1 -0
  87. package/dist/utils/date.js +19 -0
  88. package/dist/utils/date.js.map +1 -0
  89. package/dist/utils/getOverviewValue.d.ts +5 -0
  90. package/dist/utils/getOverviewValue.d.ts.map +1 -0
  91. package/dist/utils/getOverviewValue.js +178 -0
  92. package/dist/utils/getOverviewValue.js.map +1 -0
  93. package/package.json +50 -0
@@ -0,0 +1,113 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ // styles
10
+ import buttonStyles from './styles/button-shared-styles.js';
11
+ // elements
12
+ import './lit-icon.js';
13
+ import './lit-pill.js';
14
+ let LitButton = class LitButton extends LitElement {
15
+ constructor() {
16
+ super(...arguments);
17
+ this.variant = 'contained';
18
+ this.size = 'medium';
19
+ this.label = 'Button';
20
+ this.fullWidth = false;
21
+ this.disabled = false;
22
+ this.count = undefined;
23
+ this.active = false;
24
+ }
25
+ render() {
26
+ const classes = `button--${this.size} button--${this.variant} ${this.fullWidth ? 'button--fullWidth' : ''} ${this.active ? 'active' : ''}`;
27
+ const hasCount = this.count !== undefined && this.count !== null && this.count >= 0;
28
+ return html `<button ?disabled=${this.disabled} @click=${this.onClick} class=${classes}>
29
+ <slot style="margin-right: 8px" name="start-icon">
30
+ ${this.icon &&
31
+ html `<lit-icon class="start-icon" size="1.25rem" icon="${this.icon}"></lit-icon>`}
32
+ </slot>
33
+ ${this.label}
34
+ ${hasCount
35
+ ? html `<lit-pill style="margin-left: 0.5rem" count=${this.count}></lit-pill>`
36
+ : ''}
37
+ </button>`;
38
+ }
39
+ };
40
+ LitButton.styles = [
41
+ // styles,
42
+ buttonStyles,
43
+ css `
44
+ :host {
45
+ /* Basic button styles */
46
+ button {
47
+ line-height: 1.5rem;
48
+ flex-direction: row;
49
+ }
50
+
51
+ /* Size Variants */
52
+ .button--small {
53
+ -webkit-padding: 0.375rem 1rem;
54
+ padding: 0.375rem 1rem;
55
+ font-size: 0.8rem;
56
+ }
57
+ .button--medium {
58
+ font-size: 0.75rem;
59
+ font-weight: 500;
60
+ -webkit-padding: 0.375rem 0.75rem;
61
+ padding: 0.375rem 0.75rem;
62
+ }
63
+ .button--large {
64
+ font-weight: 700;
65
+ -webkit-padding: 0.75rem 1.5rem;
66
+ padding: 0.75rem 1.5rem;
67
+ font-size: 0.875rem;
68
+ }
69
+ }
70
+ /* FullWidth style */
71
+ .button--fullWidth {
72
+ width: 100%;
73
+ display: block;
74
+ }
75
+ ::slotted([slot='start-icon']),
76
+ .start-icon {
77
+ margin-right: 8px;
78
+ font-size: 1.25rem !important;
79
+ }
80
+ `,
81
+ ];
82
+ __decorate([
83
+ property({ type: String })
84
+ ], LitButton.prototype, "variant", void 0);
85
+ __decorate([
86
+ property({ type: String })
87
+ ], LitButton.prototype, "size", void 0);
88
+ __decorate([
89
+ property({ type: String })
90
+ ], LitButton.prototype, "label", void 0);
91
+ __decorate([
92
+ property({ type: String })
93
+ ], LitButton.prototype, "icon", void 0);
94
+ __decorate([
95
+ property({ type: Boolean })
96
+ ], LitButton.prototype, "fullWidth", void 0);
97
+ __decorate([
98
+ property({ type: Boolean })
99
+ ], LitButton.prototype, "disabled", void 0);
100
+ __decorate([
101
+ property({ type: Number })
102
+ ], LitButton.prototype, "count", void 0);
103
+ __decorate([
104
+ property({ type: Function })
105
+ ], LitButton.prototype, "onClick", void 0);
106
+ __decorate([
107
+ property({ type: Boolean })
108
+ ], LitButton.prototype, "active", void 0);
109
+ LitButton = __decorate([
110
+ customElement('lit-button')
111
+ ], LitButton);
112
+ export { LitButton };
113
+ //# sourceMappingURL=lit-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-button.js","sourceRoot":"","sources":["../../src/shared/lit-button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,SAAS;AACT,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAE5D,WAAW;AACX,OAAO,eAAe,CAAC;AACvB,OAAO,eAAe,CAAC;AAMhB,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU;IAAlC;;QACyB,YAAO,GAAmB,WAAW,CAAC;QACtC,SAAI,GAAkC,QAAQ,CAAC;QAC/C,UAAK,GAAY,QAAQ,CAAC;QAEzB,cAAS,GAAa,KAAK,CAAC;QAC5B,aAAQ,GAAa,KAAK,CAAC;QAC5B,UAAK,GAAwB,SAAS,CAAC;QAEtC,WA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,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2CAA4B;AAC5B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCAAwC;AACrC;IAA7B,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;0CAAuC;AACvC;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yCAA0B;AAT7C,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAsErB"}
@@ -0,0 +1,19 @@
1
+ import { LitElement } from 'lit';
2
+ import { Placement } from '@floating-ui/dom';
3
+ export declare class LitCustomPopper extends LitElement {
4
+ open: boolean;
5
+ placement: Placement;
6
+ keepMounted: boolean;
7
+ private referenceElement;
8
+ private popperElement;
9
+ static styles: import("lit").CSSResult;
10
+ connectedCallback(): void;
11
+ disconnectedCallback(): void;
12
+ firstUpdated(): void;
13
+ updated(changedProperties: Map<string | number | symbol, unknown>): void;
14
+ private updatePopperPosition;
15
+ private handleOutsideClick;
16
+ private closePopper;
17
+ render(): import("lit-html").TemplateResult<1>;
18
+ }
19
+ //# sourceMappingURL=lit-custom-popper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-custom-popper.d.ts","sourceRoot":"","sources":["../../src/shared/lit-custom-popper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,EAAwC,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEnF,qBACa,eAAgB,SAAQ,UAAU;IACd,IAAI,UAAS;IACd,SAAS,EAAE,SAAS,CAAa;IAChC,WAAW,UAAS;IAEjD,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,aAAa,CAA4B;IAEjD,MAAM,CAAC,MAAM,0BA0BX;IAEF,iBAAiB;IAKjB,oBAAoB;IAKpB,YAAY;IASZ,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;YAMnD,oBAAoB;IAkBlC,OAAO,CAAC,kBAAkB,CAWxB;IAEF,OAAO,CAAC,WAAW;IAKnB,MAAM;CAQT"}
@@ -0,0 +1,117 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ import { computePosition, offset, flip, shift } from '@floating-ui/dom';
10
+ let LitCustomPopper = class LitCustomPopper extends LitElement {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.open = false; // Controls opening/closing of popper
14
+ this.placement = 'top-end'; // Placement of the popper
15
+ this.keepMounted = false; // Keeps popper in DOM when closed
16
+ this.referenceElement = null;
17
+ this.popperElement = null;
18
+ this.handleOutsideClick = (event) => {
19
+ if (!this.open)
20
+ return;
21
+ const path = event.composedPath();
22
+ if (!path.includes(this) &&
23
+ this.referenceElement &&
24
+ !path.includes(this.referenceElement)) {
25
+ this.closePopper();
26
+ }
27
+ };
28
+ }
29
+ connectedCallback() {
30
+ super.connectedCallback();
31
+ document.addEventListener('mousedown', this.handleOutsideClick); // Add outside click listener
32
+ }
33
+ disconnectedCallback() {
34
+ document.removeEventListener('mousedown', this.handleOutsideClick); // Remove listener on disconnect
35
+ super.disconnectedCallback();
36
+ }
37
+ firstUpdated() {
38
+ this.referenceElement = this.querySelector('[slot="reference"]');
39
+ this.popperElement = this.shadowRoot.querySelector('.popper');
40
+ if (!this.referenceElement || !this.popperElement) {
41
+ console.error('Reference or popper element is missing!');
42
+ }
43
+ }
44
+ updated(changedProperties) {
45
+ if (changedProperties.has('open') && this.open) {
46
+ this.updatePopperPosition();
47
+ }
48
+ }
49
+ async updatePopperPosition() {
50
+ if (this.referenceElement && this.popperElement) {
51
+ const { x, y } = await computePosition(this.referenceElement, this.popperElement, {
52
+ placement: this.placement,
53
+ middleware: [offset(0), flip(), shift()],
54
+ });
55
+ // Adjust the width of the popper to match the reference element minus padding
56
+ const adjustedWidth = this.referenceElement.offsetWidth - 24;
57
+ Object.assign(this.popperElement.style, {
58
+ left: `${x}px`,
59
+ top: `${y}px`,
60
+ width: `${adjustedWidth}px`,
61
+ });
62
+ }
63
+ }
64
+ closePopper() {
65
+ this.open = false;
66
+ this.dispatchEvent(new CustomEvent('close', { detail: { closedBy: 'outside' } }));
67
+ }
68
+ render() {
69
+ return html `
70
+ <slot name="reference"></slot>
71
+ <div class="popper ${this.open ? 'open' : ''}">
72
+ <slot name="content"></slot>
73
+ </div>
74
+ `;
75
+ }
76
+ };
77
+ LitCustomPopper.styles = css `
78
+ :host {
79
+ display: block;
80
+ position: relative;
81
+ }
82
+
83
+ .popper {
84
+ position: absolute;
85
+ min-width: max-content;
86
+ width: 100%;
87
+ top: 0;
88
+ left: 0;
89
+ background-color: var(--background-paper, #fff);
90
+ border-radius: 0.5rem;
91
+ padding: 0.5rem 0.75rem;
92
+ box-shadow: var(--box-shadow, 0px 4px 6px rgba(0, 0, 0, 0.1));
93
+ z-index: 9999;
94
+ display: none;
95
+ opacity: 0;
96
+ transition: opacity 0.2s ease-in-out;
97
+ }
98
+
99
+ .popper.open {
100
+ display: block;
101
+ opacity: 1;
102
+ }
103
+ `;
104
+ __decorate([
105
+ property({ type: Boolean })
106
+ ], LitCustomPopper.prototype, "open", void 0);
107
+ __decorate([
108
+ property({ type: String })
109
+ ], LitCustomPopper.prototype, "placement", void 0);
110
+ __decorate([
111
+ property({ type: Boolean })
112
+ ], LitCustomPopper.prototype, "keepMounted", void 0);
113
+ LitCustomPopper = __decorate([
114
+ customElement('lit-custom-popper')
115
+ ], LitCustomPopper);
116
+ export { LitCustomPopper };
117
+ //# sourceMappingURL=lit-custom-popper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-custom-popper.js","sourceRoot":"","sources":["../../src/shared/lit-custom-popper.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAa,MAAM,kBAAkB,CAAC;AAG5E,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;QAC0B,SAAI,GAAG,KAAK,CAAC,CAAC,qCAAqC;QACpD,cAAS,GAAc,SAAS,CAAC,CAAC,0BAA0B;QAC3D,gBAAW,GAAG,KAAK,CAAC,CAAC,kCAAkC;QAE5E,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,kBAAa,GAAuB,IAAI,CAAC;QAyEzC,uBAAkB,GAAG,CAAC,KAAiB,EAAQ,EAAE;YACrD,IAAI,CAAC,IAAI,CAAC,IAAI;gBAAE,OAAO;YAEvB,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;YAClC,IACI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBACpB,IAAI,CAAC,gBAAgB;gBACrB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,EACvC,CAAC;gBACC,IAAI,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;QACL,CAAC,CAAC;IAeN,CAAC;IArEG,iBAAiB;QACb,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAA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gBACpC,IAAI,EAAE,GAAG,CAAC,IAAI;gBACd,GAAG,EAAE,GAAG,CAAC,IAAI;gBACb,KAAK,EAAE,GAAG,aAAa,IAAI;aAC9B,CAAC,CAAC;QACP,CAAC;IACL,CAAC;IAeO,WAAW;QACf,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QAClB,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC,CAAC;IACtF,CAAC;IAED,MAAM;QACF,OAAO,IAAI,CAAA;;iCAEc,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;;;SAG/C,CAAC;IACN,CAAC;;AAhGM,sBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;KA0BlB,AA1BY,CA0BX;AAjC2B;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6CAAc;AACd;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kDAAkC;AAChC;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDAAqB;AAHxC,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAyG3B"}
@@ -0,0 +1,15 @@
1
+ import { LitElement } from 'lit';
2
+ import './lit-custom-popper.ts';
3
+ import './lit-button.ts';
4
+ import './lit-responsive-button.ts';
5
+ export declare class LitDataGridExportPopover extends LitElement {
6
+ exportToExcel: () => void;
7
+ exportToCsv: () => void;
8
+ private isOpen;
9
+ static styles: import("lit").CSSResult[];
10
+ private toggleCustomPopover;
11
+ private closePopover;
12
+ private handleExport;
13
+ render(): import("lit-html").TemplateResult<1>;
14
+ }
15
+ //# sourceMappingURL=lit-data-grid-export-popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-data-grid-export-popover.d.ts","sourceRoot":"","sources":["../../src/shared/lit-data-grid-export-popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,OAAO,wBAAwB,CAAC;AAChC,OAAO,iBAAiB,CAAC;AACzB,OAAO,4BAA4B,CAAC;AAGpC,qBACa,wBAAyB,SAAQ,UAAU;IACtB,aAAa,EAAE,MAAM,IAAI,CAAY;IACrC,WAAW,EAAE,MAAM,IAAI,CAAY;IAExD,OAAO,CAAC,MAAM,CAAS;IAEhC,MAAM,CAAC,MAAM,4BAqBX;IAEF,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,YAAY;IAKpB,MAAM;CA6BT"}
@@ -0,0 +1,95 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement, property, state } from 'lit/decorators.js';
9
+ import { msg } from '@lit/localize';
10
+ import './lit-custom-popper.ts';
11
+ import './lit-button.ts';
12
+ import './lit-responsive-button.ts';
13
+ let LitDataGridExportPopover = class LitDataGridExportPopover extends LitElement {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.exportToExcel = () => { };
17
+ this.exportToCsv = () => { };
18
+ this.isOpen = false;
19
+ }
20
+ toggleCustomPopover() {
21
+ this.isOpen = !this.isOpen;
22
+ }
23
+ closePopover() {
24
+ this.isOpen = false;
25
+ }
26
+ handleExport(exportFn) {
27
+ exportFn(); // Trigger the provided export function
28
+ this.closePopover(); // Close the popper
29
+ }
30
+ render() {
31
+ return html `
32
+ <lit-custom-popper
33
+ .open="${this.isOpen}"
34
+ placement="top-end"
35
+ @close="${this.closePopover}"
36
+ >
37
+ <lit-responsive-button
38
+ size="small"
39
+ variant="text"
40
+ label=${msg('Export')}
41
+ icon="csv"
42
+ slot="reference"
43
+ @click=${() => this.toggleCustomPopover()}
44
+ ></lit-responsive-button>
45
+
46
+ <div slot="content">
47
+ <div class="menu-item" @click="${() => this.handleExport(this.exportToCsv)}">
48
+ <slot name="iconCsv"></slot>
49
+ ${msg('Export do CSV')}
50
+ </div>
51
+ <div class="menu-item" @click="${() => this.handleExport(this.exportToExcel)}">
52
+ <slot name="iconExcel"></slot>
53
+ ${msg('Export do Excel')}
54
+ </div>
55
+ </div>
56
+ </lit-custom-popper>
57
+ `;
58
+ }
59
+ };
60
+ LitDataGridExportPopover.styles = [
61
+ // styles,
62
+ css `
63
+ .menu-item {
64
+ display: flex;
65
+ align-items: center;
66
+ padding: 0.375rem 0.625rem;
67
+ margin: 0 0 0.25rem;
68
+ cursor: pointer;
69
+ font-size: 0.75rem;
70
+ font-weight: 400;
71
+ color: var(--text-primary, #111827);
72
+ transition: background 0.2s;
73
+ gap: 0.5rem;
74
+ }
75
+
76
+ .menu-item:hover {
77
+ background: var(--color-primary-light, #f0fadf);
78
+ border-radius: 4px;
79
+ }
80
+ `,
81
+ ];
82
+ __decorate([
83
+ property({ type: Function })
84
+ ], LitDataGridExportPopover.prototype, "exportToExcel", void 0);
85
+ __decorate([
86
+ property({ type: Function })
87
+ ], LitDataGridExportPopover.prototype, "exportToCsv", void 0);
88
+ __decorate([
89
+ state()
90
+ ], LitDataGridExportPopover.prototype, "isOpen", void 0);
91
+ LitDataGridExportPopover = __decorate([
92
+ customElement('lit-data-grid-export-popover')
93
+ ], LitDataGridExportPopover);
94
+ export { LitDataGridExportPopover };
95
+ //# sourceMappingURL=lit-data-grid-export-popover.js.map
@@ -0,0 +1 @@
1
+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0BAEtE,GAAG,CAAC,iBAAiB,CAAC;;;;SAIvC,CAAC;IACN,CAAC;;AAhEM,+BAAM,GAAG;IACZ,UAAU;IACV,GAAG,CAAA;;;;;;;;;;;;;;;;;;SAkBF;CACJ,AArBY,CAqBX;AA1B4B;IAA7B,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;+DAAsC;AACrC;IAA7B,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;6DAAoC;AAEhD;IAAhB,KAAK,EAAE;wDAAwB;AAJvB,wBAAwB;IADpC,aAAa,CAAC,8BAA8B,CAAC;GACjC,wBAAwB,CAuEpC"}
@@ -0,0 +1,18 @@
1
+ import { LitElement } from 'lit';
2
+ import './lit-icon.js';
3
+ import type { Icon } from './lit-icon.js';
4
+ export declare class IconButton extends LitElement {
5
+ variant?: 'text' | 'contained' | 'outlined';
6
+ size?: 'small' | 'medium' | 'large';
7
+ disabled?: boolean;
8
+ active?: boolean;
9
+ icon?: Icon;
10
+ static styles: import("lit").CSSResult[];
11
+ render(): import("lit-html").TemplateResult<1>;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'lit-icon-button': IconButton;
16
+ }
17
+ }
18
+ //# sourceMappingURL=lit-icon-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-icon-button.d.ts","sourceRoot":"","sources":["../../src/shared/lit-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAK1C,qBACa,UAAW,SAAQ,UAAU;IAEV,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAe;IAC1D,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAY;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAS;IACZ,MAAM,CAAC,EAAE,OAAO,CAAS;IACzC,IAAI,CAAC,EAAE,IAAI,CAAS;IAEhD,MAAM,CAAC,MAAM,4BAwBX;IAGF,MAAM;CAaT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,iBAAiB,EAAE,UAAU,CAAC;KACjC;CACJ"}
@@ -0,0 +1,81 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ import './lit-icon.js';
10
+ // styles
11
+ import buttonStyles from './styles/button-shared-styles.js';
12
+ let IconButton = class IconButton extends LitElement {
13
+ constructor() {
14
+ super(...arguments);
15
+ // Define properties for size and variant with default values
16
+ this.variant = 'contained';
17
+ this.size = 'medium';
18
+ this.disabled = false;
19
+ this.active = false;
20
+ this.icon = 'add';
21
+ }
22
+ // Render method to define the component's template
23
+ render() {
24
+ const classes = `button--${this.size} button--${this.variant} ${this.active ? 'active' : ''}`;
25
+ const iconSize = this.size === 'large' ? '1.5rem' : this.size === 'medium' ? '1.25rem' : '1rem';
26
+ return html `
27
+ <button ?disabled=${this.disabled} class=${classes}>
28
+ <slot name="icon"
29
+ >${this.icon &&
30
+ html `<lit-icon size="${iconSize}" icon=${this.icon}></lit-icon>`}</slot
31
+ >
32
+ </button>
33
+ `;
34
+ }
35
+ };
36
+ // Define CSS styles for different sizes and variants
37
+ IconButton.styles = [
38
+ // styles,
39
+ buttonStyles,
40
+ css `
41
+ /* Base styles for icon button */
42
+ button {
43
+ cursor: pointer;
44
+ font-size: inherit;
45
+ }
46
+
47
+ /* Size variations */
48
+ .button--small {
49
+ width: 24px;
50
+ height: 24px;
51
+ }
52
+ .button--medium {
53
+ width: 48px;
54
+ height: 36px;
55
+ }
56
+ .button--large {
57
+ width: 48px;
58
+ height: 48px;
59
+ }
60
+ `,
61
+ ];
62
+ __decorate([
63
+ property({ type: String })
64
+ ], IconButton.prototype, "variant", void 0);
65
+ __decorate([
66
+ property({ type: String })
67
+ ], IconButton.prototype, "size", void 0);
68
+ __decorate([
69
+ property({ type: Boolean })
70
+ ], IconButton.prototype, "disabled", void 0);
71
+ __decorate([
72
+ property({ type: Boolean, reflect: true })
73
+ ], IconButton.prototype, "active", void 0);
74
+ __decorate([
75
+ property({ type: String })
76
+ ], IconButton.prototype, "icon", void 0);
77
+ IconButton = __decorate([
78
+ customElement('lit-icon-button')
79
+ ], IconButton);
80
+ export { IconButton };
81
+ //# sourceMappingURL=lit-icon-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-icon-button.js","sourceRoot":"","sources":["../../src/shared/lit-icon-button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,eAAe,CAAC;AAEvB,SAAS;AACT,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAIrD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAAnC;;QACH,6DAA6D;QACjC,YAAO,GAAuC,WAAW,CAAC;QAC1D,SAAI,GAAkC,QAAQ,CAAC;QAC9C,aAAQ,GAAa,KAAK,CAAC;QACZ,WAAM,GAAa,KAAK,CAAC;QACzC,SAAI,GAAU,KAAK,CAAC;IA0CpD,CAAC;IAdG,mDAAmD;IACnD,MAAM;QACF,MAAM,OAAO,GAAG,WAAW,IAAI,CAAC,IAAI,YAAY,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAC9F,MAAM,QAAQ,GACV,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;QACnF,OAAO,IAAI,CAAA;gCACa,IAAI,CAAC,QAAQ,UAAU,OAAO;;uBAEvC,IAAI,CAAC,IAAI;YACZ,IAAI,CAAA,mBAAmB,QAAQ,UAAU,IAAI,CAAC,IAAI,cAAc;;;SAG3E,CAAC;IACN,CAAC;;AAxCD,qDAAqD;AAC9C,iBAAM,GAAG;IACZ,UAAU;IACV,YAAY;IACZ,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;SAoBF;CACJ,AAxBY,CAwBX;AA9B0B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CAA2D;AAC1D;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCAAgD;AAC9C;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CAA4B;AACZ;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAA0B;AACzC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCAAqB;AANvC,UAAU;IADtB,aAAa,CAAC,iBAAiB,CAAC;GACpB,UAAU,CAgDtB"}
@@ -0,0 +1,17 @@
1
+ import { LitElement } from 'lit';
2
+ export declare const IconArray: string[];
3
+ export type Icon = 'account' | 'add' | 'administration' | 'arrow-left' | 'arrow-right' | 'bell' | 'bell-notify' | 'cases' | 'dark-mode' | 'documents' | 'events' | 'favorite' | 'help' | 'home' | 'leave' | 'light-mode' | 'manuals' | 'overviews' | 'planning' | 'reports' | 'roles' | 'search' | 'settings' | 'structure' | 'tasks' | 'templates' | 'users' | 'close' | 'curve-arrow' | 'administrator' | 'delegate' | 'download' | 'assume' | 'calculator' | 'check' | 'chevron-down' | 'handover' | 'flag' | 'filter' | 'favorite-add' | 'note' | 'more' | 'minus' | 'succes' | 'time' | 'trash' | 'pen' | 'unlike' | 'user' | 'puzzle' | 'informative' | 'save' | 'warning' | 'help-1' | 'accomplish' | 'add-document' | 'add-note' | 'checkbox-empty' | 'expand' | 'duplicate' | 'history' | 'instruction' | 'radio-empty' | 'print' | 'zoom-in' | 'view' | 'reading' | 'reload' | 'logs' | 'flow' | 'csv' | 'contat' | 'columns' | 'hamburger' | 'beginning' | 'signal' | 'variable' | 'up' | 'upload' | 'revision' | 'typing' | 'tasksFilled' | 'overviewsFilled' | 'homeFilled' | 'favoriteFilled' | 'flagFilled' | 'dark-modeFilled' | 'bellFilled' | 'administrationFilled' | 'administratorFilled' | 'casesFilled' | 'documentsFilled' | 'manualsFilled' | 'reportsFilled' | 'structureFilled' | 'usersFilled' | 'userFilled' | 'settingsFilled' | 'lightModeFilled' | 'leaveFilled' | 'searchFilled' | 'checkboxFilled' | 'checkFilled' | 'chevronDownFilled' | 'chevronUpFilled' | 'chevronRightFilled' | 'chevronLeftFilled' | 'logsFilled' | 'radioFilled' | 'historyFilled' | 'reguiredFilled' | 'sortFilled' | 'variableFilled' | 'dangerFilled' | 'eventsFilled' | 'helpFilled' | 'rolesFilled' | 'clean' | 'dms' | 'cog' | 'email' | 'files' | 'chevron' | 'hand' | 'hide' | 'hierarchy' | 'import' | 'index' | 'infinity' | 'infinity-2' | 'reset' | 'rest' | 'sleep' | 'sorting' | 'totake' | 'totakedelegate' | 'shredding' | 'show' | 'share' | 'table' | 'url' | 'schema' | 'stats' | 'zoomout' | 'book' | 'authentication' | 'apphealth' | 'certificate' | 'console' | 'folder' | 'hragenda' | 'script' | 'sequence' | 'serviceoperation' | 'archiveFilled' | 'templatesFilled' | 'planningFilled' | 'approval' | 'certificate1' | 'change' | 'chevrondown' | 'cursor' | 'copylink' | 'column' | 'documentsFilled' | 'filterFilled' | 'filteroff' | 'hr' | 'image' | 'lock' | 'outoftime' | 'news' | 'newsFilled' | 'morevertical' | 'spinner' | 'userFilled1' | 'tasksii' | 'rowlarge' | 'rowmedium' | 'rowmall' | 'touchid' | 'acces' | 'agenda' | 'annoncement' | 'e-mail2' | 'export' | 'faceid' | 'deviceregister' | 'lock' | 'outoftime2' | 'news' | 'qr' | 'unlock' | 'zastupovany' | 'csvFilled' | 'qrFilled' | 'knowledgeFilled' | 'hragendaFilled' | 'deviceregisterFilled' | 'agregation' | 'code' | 'flowii' | 'cursor-1' | 'drag' | 'link' | 'lang' | 'pinFilled' | 'pin' | 'play' | 'return' | 'sorting-1' | 'switch' | 'test' | 'stop' | 'zoom' | 'wrapitup' | 'web';
4
+ export declare class LitIcon extends LitElement {
5
+ icon?: Icon;
6
+ size?: string;
7
+ isActive?: Boolean;
8
+ private notRotateIcon;
9
+ static styles: import("lit").CSSResult[];
10
+ render(): import("lit-html").TemplateResult<1>;
11
+ }
12
+ declare global {
13
+ interface HTMLElementTagNameMap {
14
+ 'lit-icon': LitIcon;
15
+ }
16
+ }
17
+ //# sourceMappingURL=lit-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lit-icon.d.ts","sourceRoot":"","sources":["../../src/shared/lit-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C,eAAO,MAAM,SAAS,UA0NrB,CAAC;AAEF,MAAM,MAAM,IAAI,GACV,SAAS,GACT,KAAK,GACL,gBAAgB,GAChB,YAAY,GACZ,aAAa,GACb,MAAM,GACN,aAAa,GACb,OAAO,GACP,WAAW,GACX,WAAW,GACX,QAAQ,GACR,UAAU,GACV,MAAM,GACN,MAAM,GACN,OAA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