@paperless/core 2.0.1-beta.23 → 2.0.1-beta.24

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 (178) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/build/{p-5b93f608.entry.js → p-0669c7e2.entry.js} +2 -2
  3. package/dist/build/{p-020a97e3.entry.js → p-20ea5e27.entry.js} +2 -2
  4. package/dist/build/p-20ea5e27.entry.js.map +1 -0
  5. package/dist/build/p-3b276ae0.entry.js +2 -0
  6. package/dist/build/p-3b276ae0.entry.js.map +1 -0
  7. package/dist/build/p-3ffe9aca.js +2 -0
  8. package/dist/build/{p-3feb4bd9.entry.js → p-401ff01b.entry.js} +2 -2
  9. package/dist/build/{p-5cecb014.entry.js → p-479bdcc8.entry.js} +2 -2
  10. package/dist/build/{p-d9c32e3e.entry.js → p-4e31af7e.entry.js} +2 -2
  11. package/dist/build/{p-9cc50361.entry.js → p-83055eac.entry.js} +2 -2
  12. package/dist/build/{p-46d0e091.entry.js → p-8b1a485b.entry.js} +2 -2
  13. package/dist/build/p-cb8ecae7.entry.js +2 -0
  14. package/dist/build/p-cb8ecae7.entry.js.map +1 -0
  15. package/dist/{paperless/p-0a6d3edd.entry.js → build/p-ccbd2de0.entry.js} +2 -2
  16. package/dist/build/p-dbbf732c.entry.js +2 -0
  17. package/dist/build/p-dbbf732c.entry.js.map +1 -0
  18. package/dist/build/p-e5a54d05.entry.js +2 -0
  19. package/dist/build/p-e5a54d05.entry.js.map +1 -0
  20. package/dist/build/{p-ec082bfe.entry.js → p-f56de35e.entry.js} +2 -2
  21. package/dist/build/p-fc9cfbd1.entry.js +2 -0
  22. package/dist/build/{p-0ce335d4.entry.js → p-fde8b75b.entry.js} +2 -2
  23. package/dist/build/paperless.esm.js +1 -1
  24. package/dist/build/paperless.esm.js.map +1 -1
  25. package/dist/cjs/index-3f9bbc0c.js +16 -8
  26. package/dist/cjs/loader.cjs.js +1 -1
  27. package/dist/cjs/{p-field_3.cjs.entry.js → p-field_2.cjs.entry.js} +18 -20
  28. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -0
  29. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +4 -4
  30. package/dist/cjs/{p-portal_2.cjs.entry.js → p-helper_2.cjs.entry.js} +10 -15
  31. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -0
  32. package/dist/cjs/p-icon-deprecated.cjs.entry.js +4 -1
  33. package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -1
  34. package/dist/cjs/p-input-group.cjs.entry.js +130 -0
  35. package/dist/cjs/p-input-group.cjs.entry.js.map +1 -0
  36. package/dist/cjs/p-label.cjs.entry.js +3 -3
  37. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  38. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  39. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  40. package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
  41. package/dist/cjs/p-portal.cjs.entry.js +29 -0
  42. package/dist/cjs/p-portal.cjs.entry.js.map +1 -0
  43. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  44. package/dist/cjs/p-select.cjs.entry.js +1 -1
  45. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  46. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  47. package/dist/cjs/paperless.cjs.js +1 -1
  48. package/dist/collection/collection-manifest.json +1 -0
  49. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +4 -1
  50. package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -1
  51. package/dist/collection/components/molecules/field/field.component.js +37 -3
  52. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  53. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -0
  54. package/dist/collection/components/molecules/input-group/input-group.component.js +486 -0
  55. package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -0
  56. package/dist/collection/components/molecules/label/label.component.js +3 -3
  57. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
  58. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  59. package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
  60. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  61. package/dist/collection/components/molecules/select/select.component.js +1 -1
  62. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  63. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  64. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
  65. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  66. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  67. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  68. package/dist/components/field.component.js +18 -3
  69. package/dist/components/field.component.js.map +1 -1
  70. package/dist/components/p-icon-deprecated.js +4 -1
  71. package/dist/components/p-icon-deprecated.js.map +1 -1
  72. package/dist/components/p-input-group.d.ts +11 -0
  73. package/dist/components/p-input-group.js +192 -0
  74. package/dist/components/p-input-group.js.map +1 -0
  75. package/dist/components/p-label.js +3 -3
  76. package/dist/components/p-navbar.js +1 -1
  77. package/dist/components/p-navigation-item.js +2 -2
  78. package/dist/components/p-navigation-section.js +1 -1
  79. package/dist/components/p-profile.js +1 -1
  80. package/dist/components/p-select.js +1 -1
  81. package/dist/components/p-stepper.js +1 -1
  82. package/dist/components/p-toast.js +1 -1
  83. package/dist/components/pagination.component.js +1 -1
  84. package/dist/components/table-cell.component.js +1 -1
  85. package/dist/components/table-footer.component.js +1 -1
  86. package/dist/components/table-row.component.js +2 -2
  87. package/dist/esm/index-2ef94580.js +16 -8
  88. package/dist/esm/loader.js +1 -1
  89. package/dist/esm/{p-field_3.entry.js → p-field_2.entry.js} +19 -20
  90. package/dist/esm/p-field_2.entry.js.map +1 -0
  91. package/dist/esm/p-floating-menu-container_8.entry.js +4 -4
  92. package/dist/esm/{p-portal_2.entry.js → p-helper_2.entry.js} +11 -16
  93. package/dist/esm/p-helper_2.entry.js.map +1 -0
  94. package/dist/esm/p-icon-deprecated.entry.js +4 -1
  95. package/dist/esm/p-icon-deprecated.entry.js.map +1 -1
  96. package/dist/esm/p-input-group.entry.js +126 -0
  97. package/dist/esm/p-input-group.entry.js.map +1 -0
  98. package/dist/esm/p-label.entry.js +3 -3
  99. package/dist/esm/p-navbar.entry.js +1 -1
  100. package/dist/esm/p-navigation-item.entry.js +2 -2
  101. package/dist/esm/p-navigation-section.entry.js +1 -1
  102. package/dist/esm/p-page-size-select_3.entry.js +1 -1
  103. package/dist/esm/p-portal.entry.js +25 -0
  104. package/dist/esm/p-portal.entry.js.map +1 -0
  105. package/dist/esm/p-profile.entry.js +1 -1
  106. package/dist/esm/p-select.entry.js +1 -1
  107. package/dist/esm/p-stepper.entry.js +1 -1
  108. package/dist/esm/p-toast.entry.js +1 -1
  109. package/dist/esm/paperless.js +1 -1
  110. package/dist/index.html +1 -1
  111. package/dist/paperless/{p-5b93f608.entry.js → p-0669c7e2.entry.js} +2 -2
  112. package/dist/paperless/{p-020a97e3.entry.js → p-20ea5e27.entry.js} +2 -2
  113. package/dist/paperless/p-20ea5e27.entry.js.map +1 -0
  114. package/dist/paperless/p-3b276ae0.entry.js +2 -0
  115. package/dist/paperless/p-3b276ae0.entry.js.map +1 -0
  116. package/dist/paperless/{p-3feb4bd9.entry.js → p-401ff01b.entry.js} +2 -2
  117. package/dist/paperless/{p-5cecb014.entry.js → p-479bdcc8.entry.js} +2 -2
  118. package/dist/paperless/{p-d9c32e3e.entry.js → p-4e31af7e.entry.js} +2 -2
  119. package/dist/paperless/{p-9cc50361.entry.js → p-83055eac.entry.js} +2 -2
  120. package/dist/paperless/{p-46d0e091.entry.js → p-8b1a485b.entry.js} +2 -2
  121. package/dist/paperless/p-cb8ecae7.entry.js +2 -0
  122. package/dist/paperless/p-cb8ecae7.entry.js.map +1 -0
  123. package/dist/{build/p-0a6d3edd.entry.js → paperless/p-ccbd2de0.entry.js} +2 -2
  124. package/dist/paperless/p-dbbf732c.entry.js +2 -0
  125. package/dist/paperless/p-dbbf732c.entry.js.map +1 -0
  126. package/dist/paperless/p-e5a54d05.entry.js +2 -0
  127. package/dist/paperless/p-e5a54d05.entry.js.map +1 -0
  128. package/dist/paperless/{p-ec082bfe.entry.js → p-f56de35e.entry.js} +2 -2
  129. package/dist/paperless/p-fc9cfbd1.entry.js +2 -0
  130. package/dist/paperless/{p-0ce335d4.entry.js → p-fde8b75b.entry.js} +2 -2
  131. package/dist/paperless/paperless.esm.js +1 -1
  132. package/dist/paperless/paperless.esm.js.map +1 -1
  133. package/dist/sw.js +1 -1
  134. package/dist/sw.js.map +1 -1
  135. package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +1 -0
  136. package/dist/types/components/molecules/field/field.component.d.ts +6 -0
  137. package/dist/types/components/molecules/input-group/input-group.component.d.ts +82 -0
  138. package/dist/types/components.d.ts +149 -0
  139. package/hydrate/index.js +187 -21
  140. package/hydrate/index.mjs +187 -21
  141. package/package.json +1 -1
  142. package/dist/build/p-020a97e3.entry.js.map +0 -1
  143. package/dist/build/p-14e20144.entry.js +0 -2
  144. package/dist/build/p-14e20144.entry.js.map +0 -1
  145. package/dist/build/p-3a4ff7f6.entry.js +0 -2
  146. package/dist/build/p-3a4ff7f6.entry.js.map +0 -1
  147. package/dist/build/p-b9eb5691.js +0 -2
  148. package/dist/build/p-dceb94a4.entry.js +0 -2
  149. package/dist/cjs/p-field_3.cjs.entry.js.map +0 -1
  150. package/dist/cjs/p-portal_2.cjs.entry.js.map +0 -1
  151. package/dist/esm/p-field_3.entry.js.map +0 -1
  152. package/dist/esm/p-portal_2.entry.js.map +0 -1
  153. package/dist/paperless/p-020a97e3.entry.js.map +0 -1
  154. package/dist/paperless/p-14e20144.entry.js +0 -2
  155. package/dist/paperless/p-14e20144.entry.js.map +0 -1
  156. package/dist/paperless/p-3a4ff7f6.entry.js +0 -2
  157. package/dist/paperless/p-3a4ff7f6.entry.js.map +0 -1
  158. package/dist/paperless/p-dceb94a4.entry.js +0 -2
  159. /package/dist/build/{p-5b93f608.entry.js.map → p-0669c7e2.entry.js.map} +0 -0
  160. /package/dist/build/{p-3feb4bd9.entry.js.map → p-401ff01b.entry.js.map} +0 -0
  161. /package/dist/build/{p-5cecb014.entry.js.map → p-479bdcc8.entry.js.map} +0 -0
  162. /package/dist/build/{p-d9c32e3e.entry.js.map → p-4e31af7e.entry.js.map} +0 -0
  163. /package/dist/build/{p-9cc50361.entry.js.map → p-83055eac.entry.js.map} +0 -0
  164. /package/dist/build/{p-46d0e091.entry.js.map → p-8b1a485b.entry.js.map} +0 -0
  165. /package/dist/build/{p-0a6d3edd.entry.js.map → p-ccbd2de0.entry.js.map} +0 -0
  166. /package/dist/build/{p-ec082bfe.entry.js.map → p-f56de35e.entry.js.map} +0 -0
  167. /package/dist/build/{p-dceb94a4.entry.js.map → p-fc9cfbd1.entry.js.map} +0 -0
  168. /package/dist/build/{p-0ce335d4.entry.js.map → p-fde8b75b.entry.js.map} +0 -0
  169. /package/dist/paperless/{p-5b93f608.entry.js.map → p-0669c7e2.entry.js.map} +0 -0
  170. /package/dist/paperless/{p-3feb4bd9.entry.js.map → p-401ff01b.entry.js.map} +0 -0
  171. /package/dist/paperless/{p-5cecb014.entry.js.map → p-479bdcc8.entry.js.map} +0 -0
  172. /package/dist/paperless/{p-d9c32e3e.entry.js.map → p-4e31af7e.entry.js.map} +0 -0
  173. /package/dist/paperless/{p-9cc50361.entry.js.map → p-83055eac.entry.js.map} +0 -0
  174. /package/dist/paperless/{p-46d0e091.entry.js.map → p-8b1a485b.entry.js.map} +0 -0
  175. /package/dist/paperless/{p-0a6d3edd.entry.js.map → p-ccbd2de0.entry.js.map} +0 -0
  176. /package/dist/paperless/{p-ec082bfe.entry.js.map → p-f56de35e.entry.js.map} +0 -0
  177. /package/dist/paperless/{p-dceb94a4.entry.js.map → p-fc9cfbd1.entry.js.map} +0 -0
  178. /package/dist/paperless/{p-0ce335d4.entry.js.map → p-fde8b75b.entry.js.map} +0 -0
@@ -0,0 +1,486 @@
1
+ import { h, Host, } from "@stencil/core";
2
+ export class InputGroup {
3
+ constructor() {
4
+ this.size = 'medium';
5
+ this.prefix = undefined;
6
+ this.suffix = undefined;
7
+ this.icon = undefined;
8
+ this.iconFlip = undefined;
9
+ this.iconRotate = undefined;
10
+ this.iconPosition = 'start';
11
+ this.label = undefined;
12
+ this.helper = undefined;
13
+ this.required = undefined;
14
+ this.error = undefined;
15
+ this.disabled = false;
16
+ this.focused = false;
17
+ this.forceShowTooltip = false;
18
+ this.focusMethod = 'focus';
19
+ this.errorVariant = 'auto';
20
+ this._forceShowTooltip = false;
21
+ }
22
+ /**
23
+ * The host element
24
+ */
25
+ _el;
26
+ _whitelistedTags = ['input', 'textarea'];
27
+ componentDidLoad() {
28
+ console.warn('[p-input-group] Deprecated, please use p-field');
29
+ }
30
+ componentWillRender() {
31
+ this._setInputClasses();
32
+ }
33
+ render() {
34
+ const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
35
+ return (h(Host, { key: '9848be9dc18dbb66de4ffaeb0fd6377204355127', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, h("div", { key: '4d4035d525fe79a6afbd669bf49302fbd96ee4a9', class: 'flex items-end justify-between' }, label && (h("div", { key: '859e6c72d70ddd2b62c72170be460452d0d87d11', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && h("span", { key: '19c99b31a2d0f5b6f03971b6441e459653e3af13', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (h("div", { key: '3e2abec6c63ae8d26b42316d48516992c2bc699b', class: 'input-header' }, hasHeaderSlot && h("slot", { key: '1d100f887f1345ccfcf11e97d7667dd94355f026', name: 'header' }), helper && (h("p-helper", { key: '9dbf5401cd26db9421c526bd406c683829abd877', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), h("p-tooltip", { key: '71ef03a090b4311c14d7c935809f147140791e9e', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
36
+ errorVariant === 'element' &&
37
+ (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '21bda229af33f22f4080ef66cd2b2821f755edd6', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '21f4e49db797a4ee2e6caee81d952858cc550567', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
38
+ (errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
39
+ (this.icon && this.iconPosition === 'end')) && (h("div", { key: '033bc354c872c0b9fb351182d7466515642d3f9b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), h("slot", { key: '1dc6aa666c99246ba2d532c435987875528af5f6', name: 'input' })))));
40
+ }
41
+ handleFocusIn() {
42
+ this._forceShowTooltip = true;
43
+ }
44
+ handleFocusOut() {
45
+ this._forceShowTooltip = false;
46
+ }
47
+ /*
48
+ With this, we shall hack the system in ways no one would ever have thought.
49
+
50
+ <div class="pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none"></div>
51
+ */
52
+ _setInputClasses() {
53
+ const input = this._el.querySelector(':scope > [slot="input"]');
54
+ if (!input) {
55
+ return;
56
+ }
57
+ const tagName = input.tagName.toLowerCase();
58
+ if (this._whitelistedTags.indexOf(tagName) === -1) {
59
+ return;
60
+ }
61
+ if (!input.classList.contains('p-input')) {
62
+ input.classList.add('p-input');
63
+ }
64
+ const { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } = this._getSlotInfo();
65
+ if (suffix ||
66
+ (errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
67
+ (this.icon && this.iconPosition === 'end')) {
68
+ input.classList.add('border-r-0', 'rounded-tr-none', 'rounded-br-none', 'pr-0');
69
+ }
70
+ else {
71
+ input.classList.remove('border-r-0', 'rounded-tr-none', 'rounded-br-none', 'pr-0');
72
+ }
73
+ if (prefix || (this.icon && this.iconPosition === 'start')) {
74
+ input.classList.add('border-l-0', 'rounded-tl-none', 'rounded-bl-none', 'pl-0');
75
+ }
76
+ else {
77
+ input.classList.remove('border-l-0', 'rounded-tl-none', 'rounded-bl-none', 'pl-0');
78
+ }
79
+ if (this.size === 'small' && !input.classList.contains('size-small')) {
80
+ input.classList.add('size-small');
81
+ }
82
+ if (this.size !== 'small' && input.classList.contains('size-small')) {
83
+ input.classList.remove('size-small');
84
+ }
85
+ }
86
+ _getSlotInfo() {
87
+ const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
88
+ const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
89
+ const hasPrefixSlot = !!this._el.querySelector(':scope > [slot="prefix"]');
90
+ const hasSuffixSlot = !!this._el.querySelector(':scope > [slot="suffix"]');
91
+ const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
92
+ const helper = hasHelperSlot ? h("slot", { name: 'helper' }) : this.helper;
93
+ const label = hasLabelSlot ? h("slot", { name: 'label' }) : this.label;
94
+ const prefix = hasPrefixSlot ? h("slot", { name: 'prefix' }) : this.prefix;
95
+ const suffix = hasSuffixSlot ? h("slot", { name: 'suffix' }) : this.suffix;
96
+ const errorAndErrorIsNotBoolean = this.error && typeof this.error === 'string' && this.error !== 'true';
97
+ return {
98
+ hasHelperSlot,
99
+ hasLabelSlot,
100
+ hasPrefixSlot,
101
+ hasSuffixSlot,
102
+ hasHeaderSlot,
103
+ helper,
104
+ label,
105
+ prefix,
106
+ suffix,
107
+ errorAndErrorIsNotBoolean,
108
+ errorVariant: this.errorVariant === 'auto'
109
+ ? this._el.offsetWidth <= 72
110
+ ? 'element'
111
+ : 'icon'
112
+ : this.errorVariant,
113
+ };
114
+ }
115
+ _focusInput() {
116
+ const input = this._el.querySelector(':scope > [slot="input"]');
117
+ input[this.focusMethod]();
118
+ }
119
+ static get is() { return "p-input-group"; }
120
+ static get encapsulation() { return "shadow"; }
121
+ static get originalStyleUrls() {
122
+ return {
123
+ "$": ["./input-group.component.scss"]
124
+ };
125
+ }
126
+ static get styleUrls() {
127
+ return {
128
+ "$": ["input-group.component.css"]
129
+ };
130
+ }
131
+ static get properties() {
132
+ return {
133
+ "size": {
134
+ "type": "string",
135
+ "mutable": false,
136
+ "complexType": {
137
+ "original": "'small' | 'medium'",
138
+ "resolved": "\"medium\" | \"small\"",
139
+ "references": {}
140
+ },
141
+ "required": false,
142
+ "optional": false,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": "The size of the input group"
146
+ },
147
+ "getter": false,
148
+ "setter": false,
149
+ "attribute": "size",
150
+ "reflect": false,
151
+ "defaultValue": "'medium'"
152
+ },
153
+ "prefix": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string",
158
+ "resolved": "string",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "The prefix of the input group"
166
+ },
167
+ "getter": false,
168
+ "setter": false,
169
+ "attribute": "prefix",
170
+ "reflect": false
171
+ },
172
+ "suffix": {
173
+ "type": "string",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "string",
177
+ "resolved": "string",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": false,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": "The suffix of the input group"
185
+ },
186
+ "getter": false,
187
+ "setter": false,
188
+ "attribute": "suffix",
189
+ "reflect": false
190
+ },
191
+ "icon": {
192
+ "type": "string",
193
+ "mutable": false,
194
+ "complexType": {
195
+ "original": "IconVariant",
196
+ "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\"",
197
+ "references": {
198
+ "IconVariant": {
199
+ "location": "import",
200
+ "path": "../../atoms/icon/icon.component",
201
+ "id": "src/components/atoms/icon/icon.component.tsx::IconVariant"
202
+ }
203
+ }
204
+ },
205
+ "required": false,
206
+ "optional": false,
207
+ "docs": {
208
+ "tags": [],
209
+ "text": "Icon of the input group"
210
+ },
211
+ "getter": false,
212
+ "setter": false,
213
+ "attribute": "icon",
214
+ "reflect": false
215
+ },
216
+ "iconFlip": {
217
+ "type": "string",
218
+ "mutable": false,
219
+ "complexType": {
220
+ "original": "IconFlipOptions",
221
+ "resolved": "\"horizontal\" | \"none\" | \"vertical\"",
222
+ "references": {
223
+ "IconFlipOptions": {
224
+ "location": "import",
225
+ "path": "../../atoms/icon/icon.component",
226
+ "id": "src/components/atoms/icon/icon.component.tsx::IconFlipOptions"
227
+ }
228
+ }
229
+ },
230
+ "required": false,
231
+ "optional": false,
232
+ "docs": {
233
+ "tags": [],
234
+ "text": "Icon flip"
235
+ },
236
+ "getter": false,
237
+ "setter": false,
238
+ "attribute": "icon-flip",
239
+ "reflect": false
240
+ },
241
+ "iconRotate": {
242
+ "type": "number",
243
+ "mutable": false,
244
+ "complexType": {
245
+ "original": "RotateOptions",
246
+ "resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
247
+ "references": {
248
+ "RotateOptions": {
249
+ "location": "import",
250
+ "path": "../../../types/tailwind",
251
+ "id": "src/types/tailwind.ts::RotateOptions"
252
+ }
253
+ }
254
+ },
255
+ "required": false,
256
+ "optional": false,
257
+ "docs": {
258
+ "tags": [],
259
+ "text": "Icon rotate"
260
+ },
261
+ "getter": false,
262
+ "setter": false,
263
+ "attribute": "icon-rotate",
264
+ "reflect": false
265
+ },
266
+ "iconPosition": {
267
+ "type": "string",
268
+ "mutable": false,
269
+ "complexType": {
270
+ "original": "'start' | 'end'",
271
+ "resolved": "\"end\" | \"start\"",
272
+ "references": {}
273
+ },
274
+ "required": false,
275
+ "optional": false,
276
+ "docs": {
277
+ "tags": [],
278
+ "text": "Icon position"
279
+ },
280
+ "getter": false,
281
+ "setter": false,
282
+ "attribute": "icon-position",
283
+ "reflect": false,
284
+ "defaultValue": "'start'"
285
+ },
286
+ "label": {
287
+ "type": "string",
288
+ "mutable": false,
289
+ "complexType": {
290
+ "original": "string",
291
+ "resolved": "string",
292
+ "references": {}
293
+ },
294
+ "required": false,
295
+ "optional": false,
296
+ "docs": {
297
+ "tags": [],
298
+ "text": "The label of the input group"
299
+ },
300
+ "getter": false,
301
+ "setter": false,
302
+ "attribute": "label",
303
+ "reflect": false
304
+ },
305
+ "helper": {
306
+ "type": "string",
307
+ "mutable": false,
308
+ "complexType": {
309
+ "original": "string",
310
+ "resolved": "string",
311
+ "references": {}
312
+ },
313
+ "required": false,
314
+ "optional": false,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": "The helper of the input group"
318
+ },
319
+ "getter": false,
320
+ "setter": false,
321
+ "attribute": "helper",
322
+ "reflect": false
323
+ },
324
+ "required": {
325
+ "type": "boolean",
326
+ "mutable": false,
327
+ "complexType": {
328
+ "original": "boolean",
329
+ "resolved": "boolean",
330
+ "references": {}
331
+ },
332
+ "required": false,
333
+ "optional": false,
334
+ "docs": {
335
+ "tags": [],
336
+ "text": "Wether the field is required"
337
+ },
338
+ "getter": false,
339
+ "setter": false,
340
+ "attribute": "required",
341
+ "reflect": true
342
+ },
343
+ "error": {
344
+ "type": "string",
345
+ "mutable": false,
346
+ "complexType": {
347
+ "original": "string",
348
+ "resolved": "string",
349
+ "references": {}
350
+ },
351
+ "required": false,
352
+ "optional": false,
353
+ "docs": {
354
+ "tags": [],
355
+ "text": "The helper of the input group"
356
+ },
357
+ "getter": false,
358
+ "setter": false,
359
+ "attribute": "error",
360
+ "reflect": true
361
+ },
362
+ "disabled": {
363
+ "type": "boolean",
364
+ "mutable": false,
365
+ "complexType": {
366
+ "original": "boolean",
367
+ "resolved": "boolean",
368
+ "references": {}
369
+ },
370
+ "required": false,
371
+ "optional": false,
372
+ "docs": {
373
+ "tags": [],
374
+ "text": "Wether the input group is disabled"
375
+ },
376
+ "getter": false,
377
+ "setter": false,
378
+ "attribute": "disabled",
379
+ "reflect": true,
380
+ "defaultValue": "false"
381
+ },
382
+ "focused": {
383
+ "type": "boolean",
384
+ "mutable": false,
385
+ "complexType": {
386
+ "original": "boolean",
387
+ "resolved": "boolean",
388
+ "references": {}
389
+ },
390
+ "required": false,
391
+ "optional": false,
392
+ "docs": {
393
+ "tags": [],
394
+ "text": "Wether the input group is focused"
395
+ },
396
+ "getter": false,
397
+ "setter": false,
398
+ "attribute": "focused",
399
+ "reflect": true,
400
+ "defaultValue": "false"
401
+ },
402
+ "forceShowTooltip": {
403
+ "type": "boolean",
404
+ "mutable": false,
405
+ "complexType": {
406
+ "original": "boolean",
407
+ "resolved": "boolean",
408
+ "references": {}
409
+ },
410
+ "required": false,
411
+ "optional": false,
412
+ "docs": {
413
+ "tags": [],
414
+ "text": "Force show the error tooltip"
415
+ },
416
+ "getter": false,
417
+ "setter": false,
418
+ "attribute": "force-show-tooltip",
419
+ "reflect": true,
420
+ "defaultValue": "false"
421
+ },
422
+ "focusMethod": {
423
+ "type": "string",
424
+ "mutable": false,
425
+ "complexType": {
426
+ "original": "'focus' | 'click'",
427
+ "resolved": "\"click\" | \"focus\"",
428
+ "references": {}
429
+ },
430
+ "required": false,
431
+ "optional": false,
432
+ "docs": {
433
+ "tags": [],
434
+ "text": "The method to use when focusing the input"
435
+ },
436
+ "getter": false,
437
+ "setter": false,
438
+ "attribute": "focus-method",
439
+ "reflect": false,
440
+ "defaultValue": "'focus'"
441
+ },
442
+ "errorVariant": {
443
+ "type": "string",
444
+ "mutable": false,
445
+ "complexType": {
446
+ "original": "'auto' | 'suffix' | 'element'",
447
+ "resolved": "\"auto\" | \"element\" | \"suffix\"",
448
+ "references": {}
449
+ },
450
+ "required": false,
451
+ "optional": false,
452
+ "docs": {
453
+ "tags": [],
454
+ "text": "The error variant to use"
455
+ },
456
+ "getter": false,
457
+ "setter": false,
458
+ "attribute": "error-variant",
459
+ "reflect": false,
460
+ "defaultValue": "'auto'"
461
+ }
462
+ };
463
+ }
464
+ static get states() {
465
+ return {
466
+ "_forceShowTooltip": {}
467
+ };
468
+ }
469
+ static get elementRef() { return "_el"; }
470
+ static get listeners() {
471
+ return [{
472
+ "name": "focusin",
473
+ "method": "handleFocusIn",
474
+ "target": undefined,
475
+ "capture": false,
476
+ "passive": false
477
+ }, {
478
+ "name": "focusout",
479
+ "method": "handleFocusOut",
480
+ "target": undefined,
481
+ "capture": false,
482
+ "passive": false
483
+ }];
484
+ }
485
+ }
486
+ //# sourceMappingURL=input-group.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-group.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/input-group/input-group.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AASvB,MAAM,OAAO,UAAU;;oBAIa,QAAQ;;;;;;4BA8BH,OAAO;;;;;wBAyBF,KAAK;uBAKN,KAAK;gCAKI,KAAK;2BAKjB,OAAO;4BAKM,MAAM;iCAOvB,KAAK;;IAL1C;;OAEG;IACgB,GAAG,CAAc;IAI5B,gBAAgB,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IAEjD,gBAAgB;QACf,OAAO,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC;IAChE,CAAC;IAED,mBAAmB;QAClB,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACzB,CAAC;IAED,MAAM;QACL,MAAM,EACL,aAAa,EACb,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,EACN,yBAAyB,EACzB,YAAY,GACZ,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAExB,OAAO,CACN,EAAC,IAAI,qDACJ,KAAK,EAAE,iBAAiB,IAAI,CAAC,KAAK,EAAE,MAAM,IAAI,OAAO,IACpD,IAAI,CAAC,QAAQ,IAAI,UAClB,IAAI,IAAI,CAAC,OAAO,IAAI,SAAS,SAAS,IAAI,CAAC,IAAI,EAAE;YAEjD,4DAAK,KAAK,EAAC,gCAAgC;gBACzC,KAAK,IAAI,CACT,4DACC,KA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AK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAEvE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,aAAa;YACb,aAAa;YACb,MAAM;YACN,KAAK;YACL,MAAM;YACN,MAAM;YACN,yBAAyB;YACzB,YAAY,EACX,IAAI,CAAC,YAAY,KAAK,MAAM;gBAC3B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE;oBAC3B,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC,MAAM;gBACT,CAAC,CAAC,IAAI,CAAC,YAAY;SACrB,CAAC;IACH,CAAC;IAEO,WAAW;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;QAC/D,KAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;IAC5C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-input-group',\n\tstyleUrl: './input-group.component.scss',\n\tshadow: true,\n})\nexport class InputGroup {\n\t/**\n\t * The size of the input group\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The prefix of the input group\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the input group\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the input group\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the input group is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The error variant to use\n\t */\n\t@Prop() errorVariant: 'auto' | 'suffix' | 'element' = 'auto';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _forceShowTooltip = false;\n\n\tprivate _whitelistedTags = ['input', 'textarea'];\n\n\tcomponentDidLoad() {\n\t\tconsole.warn('[p-input-group] Deprecated, please use p-field');\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._setInputClasses();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-input-group ${this.error?.length && 'error'} ${\n\t\t\t\t\tthis.disabled && 'disabled'\n\t\t\t\t} ${this.focused && 'focused'} size-${this.size}`}\n\t\t\t>\n\t\t\t\t<div class='flex items-end justify-between'>\n\t\t\t\t\t{label && (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='input-label'\n\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t{this.required && <span class='ml-1 text-negative'>*</span>}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t<div class='input-header'>\n\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tclass='w-full'\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={\n\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\terrorVariant === 'element' &&\n\t\t\t\t\t\t(this.forceShowTooltip || this._forceShowTooltip)\n\t\t\t\t\t}\n\t\t\t\t\tenableUserInput={false}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass='content'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`prefix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{(suffix ||\n\t\t\t\t\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t\t\t\t\t(this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`suffix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (\n\t\t\t\t\t\t\t\t\t<p-input-error\n\t\t\t\t\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\t\t\t\t\tforceShowTooltip={\n\t\t\t\t\t\t\t\t\t\t\tthis.forceShowTooltip || this._forceShowTooltip\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<slot name='input' />\n\t\t\t\t\t</div>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tthis._forceShowTooltip = true;\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tthis._forceShowTooltip = false;\n\t}\n\t/*\n With this, we shall hack the system in ways no one would ever have thought.\n\n <div class=\"pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none\"></div>\n */\n\tprivate _setInputClasses() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\n\t\tif (!input) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst tagName = input.tagName.toLowerCase();\n\t\tif (this._whitelistedTags.indexOf(tagName) === -1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!input.classList.contains('p-input')) {\n\t\t\tinput.classList.add('p-input');\n\t\t}\n\n\t\tconst { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } =\n\t\t\tthis._getSlotInfo();\n\n\t\tif (\n\t\t\tsuffix ||\n\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t(this.icon && this.iconPosition === 'end')\n\t\t) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t}\n\n\t\tif (prefix || (this.icon && this.iconPosition === 'start')) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t}\n\n\t\tif (this.size === 'small' && !input.classList.contains('size-small')) {\n\t\t\tinput.classList.add('size-small');\n\t\t}\n\n\t\tif (this.size !== 'small' && input.classList.contains('size-small')) {\n\t\t\tinput.classList.remove('size-small');\n\t\t}\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant:\n\t\t\t\tthis.errorVariant === 'auto'\n\t\t\t\t\t? this._el.offsetWidth <= 72\n\t\t\t\t\t\t? 'element'\n\t\t\t\t\t\t: 'icon'\n\t\t\t\t\t: this.errorVariant,\n\t\t};\n\t}\n\n\tprivate _focusInput() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n}\n"]}
@@ -37,14 +37,14 @@ export class Label {
37
37
  this.keepMobileContent = false;
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: 'b65dfe6ae11bfa1309561cd1aa1fb0c2c71b5535', class: 'p-label' }, h("div", { key: '4e6b4648f1778aadee757fab902bae7281f5a5ff', class: label({
40
+ return (h(Host, { key: '04c0b2510fd1ae8cad957ee02d7d54245b7fdbb0', class: 'p-label' }, h("div", { key: '7dfd0871e52cef46c49f0c30e58facfa603c5d0f', class: label({
41
41
  variant: this.variant,
42
42
  iconOnly: this.iconOnly,
43
43
  keepMobileContent: this.keepMobileContent,
44
- }) }, this.icon && (h("p-icon", { key: 'a1ef1bf1d58046c3ceeadb1def0030b547a6297c', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '961a9f05c969fdb3b1d31f706a370084dd365ab1', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
44
+ }) }, this.icon && (h("p-icon", { key: 'b70587122206d6b26785cbf5e9e8219219aeb7d0', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '5426ae86e86f205b04130628923f3d53747c85d5', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
45
45
  hidden: !this.keepMobileContent,
46
46
  'desktop-xs:block': !this.keepMobileContent,
47
- }) }, h("slot", { key: 'ffa41b6d694819b6b438c4ea58485e78c41d34a6' }))))));
47
+ }) }, h("slot", { key: '62413d44b71c12291cb13997e839774d2b047fdd' }))))));
48
48
  }
49
49
  static get is() { return "p-label"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -43,10 +43,10 @@ export class NavigationItem {
43
43
  render() {
44
44
  const TagType = this.as;
45
45
  const active = this.active || this.class?.includes('active');
46
- return (h(Host, { key: 'f87e67e61239b95e49d93b9bd07686b7b70477a9', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '67c327313aa12d7fe54389bc298ca23b3e17437a', class: navigationItem({
46
+ return (h(Host, { key: '6b12fc10340027d176fc9fa9699ff62a9f200c06', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '447c6dfb9e7cd9a426dfc83a786117ecd809ed23', class: navigationItem({
47
47
  icon: !!this.icon,
48
48
  active,
49
- }), href: this.href, target: this.target }, h("div", { key: 'b1de70235c4bb1bff509db3f1723c106e50614d9', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'debe4fce9441178c12c4198cab3c94247db0cd49', variant: this.icon })), h("span", { key: 'f6e9daee27dc7fc467c1d6e5d50b3f2d9aaa3cf8', class: this.counter && 'has-counter' }, h("slot", { key: 'c10c72c8c3ad0f8b238ed69636ca2b8e3291dc44' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '4bb1889d85efdac8e80a398fcb3769dc55b26ee3' }, this.counter)), !!this.loading && h("p-loader", { key: '80b43031e00df08c342df9872caa928dcbc87650', class: 'ml-auto' }))));
49
+ }), href: this.href, target: this.target }, h("div", { key: 'ee2fb03620b46d75f34887c1426abe3090dd50f8', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '92ae190b1b415939e23476403dfc7ea7065db3f6', variant: this.icon })), h("span", { key: 'd56fbd8fdffc8a20b98d4d4a25dd68eb1e2548e0', class: this.counter && 'has-counter' }, h("slot", { key: 'd1baea6b23dab3cc3db75ab4c6c5b660977475c6' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'd50225f39e08b412b622055438584ad9aa02b4c1' }, this.counter)), !!this.loading && h("p-loader", { key: '10ab89e057f00442ad0dab32c0342ad16daf667a', class: 'ml-auto' }))));
50
50
  }
51
51
  static get is() { return "p-navigation-item"; }
52
52
  static get originalStyleUrls() {
@@ -4,7 +4,7 @@ export class NavigationSection {
4
4
  this.header = undefined;
5
5
  }
6
6
  render() {
7
- return (h(Host, { key: '2498f9f2121a61e9a086faa32e676ac8a59bbe7b', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '04a310fc04574b350c1d36cb57b23537a25a8b6e' }, this.header)), h("div", { key: 'd444fee83c080992f04ed3e0c977b8687198633c', class: 'flex flex-col' }, h("slot", { key: 'fde7c2c5be6223b0ae89c2708c74bd0d840de2f1' }))));
7
+ return (h(Host, { key: '2278321f85bd2cc19317f416174aee1d2797ff56', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '2eba4771425254e503d02470d0b7caeb18cac710' }, this.header)), h("div", { key: 'bf1ffb4905308dbc7694e911ca171be4686e0300', class: 'flex flex-col' }, h("slot", { key: 'e646b3ae3781eea037ff358dc59937d847f2b956' }))));
8
8
  }
9
9
  static get is() { return "p-navigation-section"; }
10
10
  static get originalStyleUrls() {
@@ -16,7 +16,7 @@ export class Pagination {
16
16
  this._generate();
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: 'b78ab074e0cbaf260070e2ae6689c58d44474132', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
19
+ return (h(Host, { key: '3568c3e866dcd2ffee3fb8acd34a81d63e564068', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
20
20
  if (p.type === 'previous' || p.type === 'next') {
21
21
  return (h("p-pagination-item", { onClick: () => p.type === 'previous'
22
22
  ? this._previousClick()
@@ -26,7 +26,7 @@ export class Profile {
26
26
  }
27
27
  render() {
28
28
  const content = this._getContent();
29
- return (h(Host, { key: '9313ef616b33a4491b7a8bd6ebe647b3e334c168', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
29
+ return (h(Host, { key: 'a9482eb4aab89a3dff60ec39ecc2be00b1b8036f', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
30
30
  }
31
31
  slotchange() {
32
32
  this._checkDropdownSlot();
@@ -174,7 +174,7 @@ export class Select {
174
174
  }
175
175
  }
176
176
  render() {
177
- return (h(Host, { key: 'bbcf5a411b3516151b5cde49e83e637e8f275d6d', class: 'p-select' }, h("p-dropdown", { key: '0a75a3e234fe53fd205cda607860b12ae864c998', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-field-container", { key: 'd09b7269c07ab493d9372481165f88c383210230', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: 'ae1626f92d3a509e0cab45faa11a9965b12d27aa', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '9d53222285fdc827c4df5468e38a491399496f01', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
177
+ return (h(Host, { key: 'f62a834435e5a23ac883458bbbc6584fc475585a', class: 'p-select' }, h("p-dropdown", { key: 'f052fca097cd93660e1319d9e697cddfa849adbb', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-field-container", { key: 'abeced0d91a257f87f02cd6c22ee150ed66b3c4f', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: 'ac9f12fbab1e18cb05c406b90d9d615220626ed3', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '00962c1d7e8cc69860a071cf4f4ff48ae096c43d', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
178
178
  }
179
179
  documentClickHandler({ target }) {
180
180
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -91,7 +91,7 @@ export class Stepper {
91
91
  this._generateSteps(true);
92
92
  }
93
93
  render() {
94
- return (h(Host, { key: 'dab66ec915bdfc6db37204746035c9fa25beb364', class: 'p-stepper' }, h("slot", { key: '614787c115b5f21dd50d589acfb830c84fc84173', onSlotchange: this._onSlotChange })));
94
+ return (h(Host, { key: '8fa52e3d517deebb230039f2938893a14fb5613e', class: 'p-stepper' }, h("slot", { key: '385c27e425dad328346910e77f42d7fdc32183b8', onSlotchange: this._onSlotChange })));
95
95
  }
96
96
  _onActiveStepChange() {
97
97
  this._generateSteps();
@@ -83,7 +83,7 @@ export class TableCell {
83
83
  };
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: 'e9622200c7747ae2dd3611252f87c1781ecfc0c0', class: {
86
+ return (h(Host, { key: 'fdd68a4b75fa75a0301b2721d81a069cac64d098', class: {
87
87
  'p-table-cell': true,
88
88
  [`variant-${this.variant}`]: true,
89
89
  ...this._getColumnClasses(),
@@ -35,7 +35,7 @@ export class TableFooter {
35
35
  }
36
36
  render() {
37
37
  const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
38
- return (h(Host, { key: '16588e28b4c1a74e0d8fd1324ad0ca5f3d9764ec', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-page-size-select", { key: 'a09d397cc4f1792809aa2226280baf00db625b51', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: '949f8e777163603ad66142ec7da8957c8eeb4600', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination", { key: '296c3e4d342def9fd72fff8c6d27561b3fbab522', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: 'be27ba3f224e267b80f43d03d07be3359f22ef76', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
38
+ return (h(Host, { key: '8c85669efe0bdc3f14fe0dfb5cbca5a38451b2ca', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-page-size-select", { key: '69cb04177926201d314ab138ac72452d9a32ccd3', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: '4601f2a8736bb05af33159769bfba2e1854c8cdf', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination", { key: 'e9c672d24d92cb973482a37b16f8a1210fb17345', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: '3f6942fb87389cb69281e397134f857d2cedb87c', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
39
39
  }
40
40
  async _setLocales() {
41
41
  this._locales = await getLocaleComponentStrings(this._el);