@leavittsoftware/web 1.0.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/leavitt/api-service/api-service.js +6 -6
- package/leavitt/api-service/api-service.js.map +1 -1
- package/leavitt/api-service/api2-service.js +1 -1
- package/leavitt/api-service/api2-service.js.map +1 -1
- package/leavitt/api-service/mapi-service.js +1 -1
- package/leavitt/api-service/mapi-service.js.map +1 -1
- package/leavitt/api-service/odata-response.js +2 -2
- package/leavitt/api-service/odata-response.js.map +1 -1
- package/leavitt/company-select/company-select.js +10 -10
- package/leavitt/person-company-select/person-company-select.js +14 -14
- package/leavitt/person-group-select/person-group-select.js +18 -18
- package/leavitt/person-select/person-select.js +4 -4
- package/leavitt/profile-picture/profile-picture-menu.js +96 -96
- package/leavitt/profile-picture/profile-picture.js +64 -64
- package/leavitt/user-feedback/user-feedback.js +79 -79
- package/package.json +37 -36
- package/titanium/access-denied-page/access-denied-page.js +330 -330
- package/titanium/address-input/address-input.js +17 -17
- package/titanium/address-input/address-input.js.map +1 -1
- package/titanium/address-input/google-address-input.js +4 -4
- package/titanium/address-input/manual-address-dialog.js +127 -127
- package/titanium/card/card.js +117 -117
- package/titanium/chip-multi-select/chip-multi-select.js +38 -38
- package/titanium/data-table/data-table-header.js +95 -95
- package/titanium/data-table/data-table-item.js +163 -163
- package/titanium/data-table/data-table.js +313 -313
- package/titanium/data-table/data-table.js.map +1 -1
- package/titanium/data-table/filter-controller.js +5 -5
- package/titanium/data-table/filter-controller.js.map +1 -1
- package/titanium/data-table/page-control.js +75 -75
- package/titanium/data-table/page-control.js.map +1 -1
- package/titanium/date-range-selector/date-range-change-event.js.map +1 -1
- package/titanium/date-range-selector/date-range-selector.d.ts +1 -11
- package/titanium/date-range-selector/date-range-selector.js +53 -271
- package/titanium/date-range-selector/date-range-selector.js.map +1 -1
- package/titanium/date-range-selector/types/date-range-key.d.ts +2 -0
- package/titanium/date-range-selector/types/date-range-key.js +2 -0
- package/titanium/date-range-selector/types/date-range-key.js.map +1 -0
- package/titanium/date-range-selector/types/date-range-option.d.ts +8 -0
- package/titanium/date-range-selector/types/date-range-option.js +2 -0
- package/titanium/date-range-selector/types/date-range-option.js.map +1 -0
- package/titanium/date-range-selector/types/date-range-time-key.d.ts +2 -0
- package/titanium/date-range-selector/types/date-range-time-key.js +2 -0
- package/titanium/date-range-selector/types/date-range-time-key.js.map +1 -0
- package/titanium/date-range-selector/types/date-ranges.d.ts +4 -0
- package/titanium/date-range-selector/types/date-ranges.js +139 -0
- package/titanium/date-range-selector/types/date-ranges.js.map +1 -0
- package/titanium/date-range-selector/types/date-time-ranges.d.ts +4 -0
- package/titanium/date-range-selector/types/date-time-ranges.js +86 -0
- package/titanium/date-range-selector/types/date-time-ranges.js.map +1 -0
- package/titanium/date-range-selector/types/range-label.d.ts +3 -0
- package/titanium/date-range-selector/types/range-label.js +14 -0
- package/titanium/date-range-selector/types/range-label.js.map +1 -0
- package/titanium/date-range-selector/types/range-time-label.d.ts +3 -0
- package/titanium/date-range-selector/types/range-time-label.js +14 -0
- package/titanium/date-range-selector/types/range-time-label.js.map +1 -0
- package/titanium/drawer/drawer.js +125 -125
- package/titanium/drawer/drawer.js.map +1 -1
- package/titanium/duration-input/human-interval.js +6 -6
- package/titanium/duration-input/human-interval.js.map +1 -1
- package/titanium/error-page/error-page.js +66 -66
- package/titanium/event-bus/event-bus.js +7 -7
- package/titanium/event-bus/event-bus.js.map +1 -1
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js +28 -28
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js +48 -48
- package/titanium/header/header.js +83 -83
- package/titanium/helpers/csv/convert-array-to-csv.d.ts +2 -0
- package/titanium/helpers/csv/convert-array-to-csv.js +38 -0
- package/titanium/helpers/csv/convert-array-to-csv.js.map +1 -0
- package/titanium/helpers/csv/flatten-object.d.ts +2 -0
- package/titanium/helpers/{csv-download.js → csv/flatten-object.js} +1 -12
- package/titanium/helpers/csv/flatten-object.js.map +1 -0
- package/titanium/helpers/csv/start-csv-download.d.ts +2 -0
- package/titanium/helpers/csv/start-csv-download.js +12 -0
- package/titanium/helpers/csv/start-csv-download.js.map +1 -0
- package/titanium/helpers/debouncer.js.map +1 -1
- package/titanium/helpers/{odata-helpers.d.ts → escape-term.d.ts} +1 -1
- package/titanium/helpers/{odata-helpers.js → escape-term.js} +1 -1
- package/titanium/helpers/escape-term.js.map +1 -0
- package/titanium/helpers/{leavitt-cdn.d.ts → get-cdn-Inline-url.d.ts} +1 -2
- package/titanium/helpers/{leavitt-cdn.js → get-cdn-Inline-url.js} +1 -12
- package/titanium/helpers/get-cdn-Inline-url.js.map +1 -0
- package/titanium/helpers/get-cdn-download-url.d.ts +3 -0
- package/titanium/helpers/get-cdn-download-url.js +12 -0
- package/titanium/helpers/get-cdn-download-url.js.map +1 -0
- package/titanium/helpers/{search-token.d.ts → get-search-token.d.ts} +1 -1
- package/titanium/helpers/{search-token.js → get-search-token.js} +4 -4
- package/titanium/helpers/get-search-token.js.map +1 -0
- package/titanium/helpers/helpers.d.ts +6 -5
- package/titanium/helpers/helpers.js +6 -5
- package/titanium/helpers/helpers.js.map +1 -1
- package/titanium/helpers/{media-query.d.ts → install-media-query-watcher.d.ts} +1 -1
- package/titanium/helpers/{media-query.js → install-media-query-watcher.js} +2 -2
- package/titanium/helpers/install-media-query-watcher.js.map +1 -0
- package/titanium/helpers/{dev-detection.d.ts → is-development.d.ts} +1 -1
- package/titanium/helpers/{dev-detection.js → is-development.js} +2 -2
- package/titanium/helpers/is-development.js.map +1 -0
- package/titanium/icon-picker/icon-picker.js +4 -4
- package/titanium/search-input/search-input.js +117 -117
- package/titanium/show-hide/show-hide.js +54 -54
- package/titanium/show-hide/show-hide.js.map +1 -1
- package/titanium/single-select-base/single-select-base.js +93 -92
- package/titanium/single-select-base/single-select-base.js.map +1 -1
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +115 -115
- package/titanium/smart-attachment-input/cropper-styles.js +307 -307
- package/titanium/smart-attachment-input/image-preview-dialog.js +29 -29
- package/titanium/smart-attachment-input/smart-attachment-input.js +83 -82
- package/titanium/smart-attachment-input/smart-attachment-input.js.map +1 -1
- package/titanium/snackbar/snackbar.js +133 -133
- package/titanium/styles/a.js +15 -15
- package/titanium/styles/data-row.js +43 -43
- package/titanium/styles/ellipsis.js +6 -6
- package/titanium/styles/h1.js +14 -14
- package/titanium/styles/h2.js +14 -14
- package/titanium/styles/h3.js +14 -14
- package/titanium/styles/h4.js +14 -14
- package/titanium/styles/h5.js +16 -16
- package/titanium/styles/p.js +14 -14
- package/titanium/toolbar/toolbar.js +45 -45
- package/titanium/types/pending-state-event.js.map +1 -1
- package/titanium/youtube-input/youtube-input.js +9 -9
- package/titanium/address-input/Address.js.map +0 -1
- package/titanium/address-input/types/address.js.map +0 -1
- package/titanium/address-input/types/autocomplete-prediction-suggestion.js.map +0 -1
- package/titanium/date-range-selector/range-label.d.ts +0 -4
- package/titanium/date-range-selector/range-label.js +0 -25
- package/titanium/date-range-selector/range-label.js.map +0 -1
- package/titanium/extendable-outlined-text-field/extensible-outlined-text-field.d.ts +0 -45
- package/titanium/extendable-outlined-text-field/extensible-outlined-text-field.js.map +0 -1
- package/titanium/helpers/csv-download.d.ts +0 -3
- package/titanium/helpers/csv-download.js.map +0 -1
- package/titanium/helpers/dev-detection.js.map +0 -1
- package/titanium/helpers/leavitt-cdn.js.map +0 -1
- package/titanium/helpers/media-query.js.map +0 -1
- package/titanium/helpers/odata-helpers.js.map +0 -1
- package/titanium/helpers/search-token.js.map +0 -1
|
@@ -62,8 +62,8 @@ let LeavittUserFeedback = class LeavittUserFeedback extends LoadWhile(LitElement
|
|
|
62
62
|
throw new Error('Error submitting problem. Please try again.');
|
|
63
63
|
}
|
|
64
64
|
else {
|
|
65
|
-
TitaniumSnackbarSingleton.open(html `Thank you for bringing this issue to our attention!<br />
|
|
66
|
-
<br />
|
|
65
|
+
TitaniumSnackbarSingleton.open(html `Thank you for bringing this issue to our attention!<br />
|
|
66
|
+
<br />
|
|
67
67
|
Our engineering teams will promptly investigate and address it.`);
|
|
68
68
|
this.reset();
|
|
69
69
|
}
|
|
@@ -100,91 +100,91 @@ let LeavittUserFeedback = class LeavittUserFeedback extends LoadWhile(LitElement
|
|
|
100
100
|
static { this.styles = [
|
|
101
101
|
h1,
|
|
102
102
|
p,
|
|
103
|
-
css `
|
|
104
|
-
:host {
|
|
105
|
-
display: grid;
|
|
106
|
-
grid-template-columns: minmax(0, 1fr);
|
|
107
|
-
gap: 24px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
form {
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-direction: column;
|
|
113
|
-
gap: 24px;
|
|
114
|
-
margin: 24px 0;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
titanium-card {
|
|
118
|
-
padding-top: 0;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
md-tabs {
|
|
122
|
-
margin-bottom: 16px;
|
|
123
|
-
--md-primary-tab-container-shape: 12px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
[hidden] {
|
|
127
|
-
display: none !important;
|
|
128
|
-
}
|
|
103
|
+
css `
|
|
104
|
+
:host {
|
|
105
|
+
display: grid;
|
|
106
|
+
grid-template-columns: minmax(0, 1fr);
|
|
107
|
+
gap: 24px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
form {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
gap: 24px;
|
|
114
|
+
margin: 24px 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
titanium-card {
|
|
118
|
+
padding-top: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
md-tabs {
|
|
122
|
+
margin-bottom: 16px;
|
|
123
|
+
--md-primary-tab-container-shape: 12px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[hidden] {
|
|
127
|
+
display: none !important;
|
|
128
|
+
}
|
|
129
129
|
`,
|
|
130
130
|
]; }
|
|
131
131
|
render() {
|
|
132
|
-
return html `
|
|
133
|
-
<titanium-header header="Report a problem" subHeader="Report bugs and provide feedback for this site" no-nav></titanium-header>
|
|
134
|
-
|
|
135
|
-
<titanium-card has-footer>
|
|
136
|
-
<md-tabs
|
|
137
|
-
full-width
|
|
132
|
+
return html `
|
|
133
|
+
<titanium-header header="Report a problem" subHeader="Report bugs and provide feedback for this site" no-nav></titanium-header>
|
|
134
|
+
|
|
135
|
+
<titanium-card has-footer>
|
|
136
|
+
<md-tabs
|
|
137
|
+
full-width
|
|
138
138
|
@change=${(event) => {
|
|
139
139
|
this.reset();
|
|
140
140
|
this.activeIndex = event.target.activeTabIndex;
|
|
141
|
-
}}
|
|
142
|
-
>
|
|
143
|
-
<md-primary-tab
|
|
144
|
-
>Report a problem
|
|
145
|
-
<md-icon slot="icon">person_alert</md-icon>
|
|
146
|
-
</md-primary-tab>
|
|
147
|
-
<md-primary-tab
|
|
148
|
-
>Provide feedback
|
|
149
|
-
<md-icon slot="icon">rate_review</md-icon>
|
|
150
|
-
</md-primary-tab>
|
|
151
|
-
</md-tabs>
|
|
152
|
-
|
|
153
|
-
<main>
|
|
141
|
+
}}
|
|
142
|
+
>
|
|
143
|
+
<md-primary-tab
|
|
144
|
+
>Report a problem
|
|
145
|
+
<md-icon slot="icon">person_alert</md-icon>
|
|
146
|
+
</md-primary-tab>
|
|
147
|
+
<md-primary-tab
|
|
148
|
+
>Provide feedback
|
|
149
|
+
<md-icon slot="icon">rate_review</md-icon>
|
|
150
|
+
</md-primary-tab>
|
|
151
|
+
</md-tabs>
|
|
152
|
+
|
|
153
|
+
<main>
|
|
154
154
|
${this.activeIndex === 0
|
|
155
|
-
? html ` <form>
|
|
156
|
-
<p full-width>
|
|
157
|
-
Please be specific and provide screenshots of the issue if possible in your report. Your report goes directly to our engineering teams so it
|
|
158
|
-
can be addressed as soon as possible.
|
|
159
|
-
</p>
|
|
160
|
-
<md-outlined-text-field type="textarea" problem label="Describe the issue" rows="5" required outlined></md-outlined-text-field>
|
|
161
|
-
<titanium-smart-attachment-input
|
|
162
|
-
multiple
|
|
163
|
-
full-width
|
|
164
|
-
label="Supporting files"
|
|
165
|
-
noItemsText="No files"
|
|
166
|
-
addButtonLabel="Add file"
|
|
167
|
-
></titanium-smart-attachment-input>
|
|
155
|
+
? html ` <form>
|
|
156
|
+
<p full-width>
|
|
157
|
+
Please be specific and provide screenshots of the issue if possible in your report. Your report goes directly to our engineering teams so it
|
|
158
|
+
can be addressed as soon as possible.
|
|
159
|
+
</p>
|
|
160
|
+
<md-outlined-text-field type="textarea" problem label="Describe the issue" rows="5" required outlined></md-outlined-text-field>
|
|
161
|
+
<titanium-smart-attachment-input
|
|
162
|
+
multiple
|
|
163
|
+
full-width
|
|
164
|
+
label="Supporting files"
|
|
165
|
+
noItemsText="No files"
|
|
166
|
+
addButtonLabel="Add file"
|
|
167
|
+
></titanium-smart-attachment-input>
|
|
168
168
|
</form>`
|
|
169
|
-
: html ` <form>
|
|
170
|
-
<p full-width>
|
|
171
|
-
User feedback is a valuable tool that empowers our users to share their thoughts, suggestions, and concerns, helping us improve the overall
|
|
172
|
-
user experience of our websites and tools. We welcome and appreciate user feedback as it enables us to make informed decisions and enhance our
|
|
173
|
-
website based on the needs and expectations of our users.
|
|
174
|
-
</p>
|
|
175
|
-
<p full-width>
|
|
176
|
-
Please be specific and provide as much detail as possible in your feedback. Your feedback goes directly to our development teams so it can be
|
|
177
|
-
carefully reviewed and planned into the next development cycle.
|
|
178
|
-
</p>
|
|
179
|
-
<md-outlined-text-field type="textarea" feedback label="Feedback" rows="5" required outlined></md-outlined-text-field>
|
|
180
|
-
</form>`}
|
|
181
|
-
</main>
|
|
182
|
-
<span nav card-footer>
|
|
183
|
-
<md-filled-tonal-button @click=${() => (this.activeIndex === 0 ? this.#submitProblem() : this.#submitFeedback())} ?disabled=${this.isLoading}
|
|
184
|
-
>Submit</md-filled-tonal-button
|
|
185
|
-
>
|
|
186
|
-
</span>
|
|
187
|
-
</titanium-card>
|
|
169
|
+
: html ` <form>
|
|
170
|
+
<p full-width>
|
|
171
|
+
User feedback is a valuable tool that empowers our users to share their thoughts, suggestions, and concerns, helping us improve the overall
|
|
172
|
+
user experience of our websites and tools. We welcome and appreciate user feedback as it enables us to make informed decisions and enhance our
|
|
173
|
+
website based on the needs and expectations of our users.
|
|
174
|
+
</p>
|
|
175
|
+
<p full-width>
|
|
176
|
+
Please be specific and provide as much detail as possible in your feedback. Your feedback goes directly to our development teams so it can be
|
|
177
|
+
carefully reviewed and planned into the next development cycle.
|
|
178
|
+
</p>
|
|
179
|
+
<md-outlined-text-field type="textarea" feedback label="Feedback" rows="5" required outlined></md-outlined-text-field>
|
|
180
|
+
</form>`}
|
|
181
|
+
</main>
|
|
182
|
+
<span nav card-footer>
|
|
183
|
+
<md-filled-tonal-button @click=${() => (this.activeIndex === 0 ? this.#submitProblem() : this.#submitFeedback())} ?disabled=${this.isLoading}
|
|
184
|
+
>Submit</md-filled-tonal-button
|
|
185
|
+
>
|
|
186
|
+
</span>
|
|
187
|
+
</titanium-card>
|
|
188
188
|
`;
|
|
189
189
|
}
|
|
190
190
|
};
|
package/package.json
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@leavittsoftware/web",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"license": "Apache-2.0",
|
|
5
|
-
"description": "",
|
|
6
|
-
"files": [
|
|
7
|
-
"**/*.js",
|
|
8
|
-
"**/*.js.map",
|
|
9
|
-
"**/*.d.ts",
|
|
10
|
-
"**/*.scss"
|
|
11
|
-
],
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"
|
|
14
|
-
"@leavittsoftware/lg-core-typescript": "*",
|
|
15
|
-
"
|
|
16
|
-
"@
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"cropperjs": "*",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
},
|
|
25
|
-
"peerDependencies": {
|
|
26
|
-
"lit": ">=3.0.0"
|
|
27
|
-
},
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/LeavittSoftware/titanium-elements.git"
|
|
31
|
-
},
|
|
32
|
-
"bugs": {
|
|
33
|
-
"url": "https://github.com/LeavittSoftware/titanium-elements/issues"
|
|
34
|
-
},
|
|
35
|
-
"homepage": "https://github.com/LeavittSoftware/titanium-elements/#readme"
|
|
36
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@leavittsoftware/web",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"description": "",
|
|
6
|
+
"files": [
|
|
7
|
+
"**/*.js",
|
|
8
|
+
"**/*.js.map",
|
|
9
|
+
"**/*.d.ts",
|
|
10
|
+
"**/*.scss"
|
|
11
|
+
],
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@googlemaps/js-api-loader": "*",
|
|
14
|
+
"@leavittsoftware/lg-core-typescript": "*",
|
|
15
|
+
"@material/web": "*",
|
|
16
|
+
"@types/google.maps": "*",
|
|
17
|
+
"bowser": "^2.11.0",
|
|
18
|
+
"countup.js": "^2.8.0",
|
|
19
|
+
"cropperjs": "*",
|
|
20
|
+
"dayjs": "^1.11.10",
|
|
21
|
+
"jwt-decode": "^4.0.0",
|
|
22
|
+
"regexparam": "~2.0.1",
|
|
23
|
+
"tslib": "^2.6.2"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"lit": ">=3.0.0"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/LeavittSoftware/titanium-elements.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/LeavittSoftware/titanium-elements/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/LeavittSoftware/titanium-elements/#readme",
|
|
36
|
+
"gitHead": "1458f61488fdd7b6b7b97674046a33f31befec28"
|
|
37
|
+
}
|