@leavittsoftware/web 5.14.3 → 5.15.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 (35) hide show
  1. package/leavitt/app/app-logo.d.ts +12 -0
  2. package/leavitt/app/app-logo.js +129 -0
  3. package/leavitt/app/app-logo.js.map +1 -0
  4. package/leavitt/app/app-main-content-container.d.ts +9 -0
  5. package/leavitt/app/app-main-content-container.js +59 -0
  6. package/leavitt/app/app-main-content-container.js.map +1 -0
  7. package/leavitt/app/app-navigation-footer.d.ts +18 -0
  8. package/leavitt/app/app-navigation-footer.js +142 -0
  9. package/leavitt/app/app-navigation-footer.js.map +1 -0
  10. package/leavitt/app/app-navigation-header.d.ts +20 -0
  11. package/leavitt/app/app-navigation-header.js +221 -0
  12. package/leavitt/app/app-navigation-header.js.map +1 -0
  13. package/leavitt/app/app-width-limiter.d.ts +7 -0
  14. package/leavitt/app/app-width-limiter.js +37 -0
  15. package/leavitt/app/app-width-limiter.js.map +1 -0
  16. package/leavitt/app/contexts/main-menu-position-context.d.ts +4 -0
  17. package/leavitt/app/contexts/main-menu-position-context.js +3 -0
  18. package/leavitt/app/contexts/main-menu-position-context.js.map +1 -0
  19. package/package.json +3 -2
  20. package/titanium/circle-loading-indicator/circle-loading-indicator.d.ts +19 -0
  21. package/titanium/circle-loading-indicator/circle-loading-indicator.js +119 -0
  22. package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +1 -0
  23. package/titanium/data-table/data-table-action-bar.d.ts +11 -0
  24. package/titanium/data-table/data-table-action-bar.js +214 -0
  25. package/titanium/data-table/data-table-action-bar.js.map +1 -0
  26. package/titanium/data-table/data-table-core.d.ts +420 -0
  27. package/titanium/data-table/data-table-core.js +503 -0
  28. package/titanium/data-table/data-table-core.js.map +1 -0
  29. package/titanium/drawer/drawer.js +2 -2
  30. package/titanium/helpers/find-scrollable-parent.d.ts +2 -0
  31. package/titanium/helpers/find-scrollable-parent.js +28 -0
  32. package/titanium/helpers/find-scrollable-parent.js.map +1 -0
  33. package/titanium/search-input/filled-search-input.d.ts +15 -0
  34. package/titanium/search-input/filled-search-input.js +111 -0
  35. package/titanium/search-input/filled-search-input.js.map +1 -0
@@ -0,0 +1,111 @@
1
+ import { __decorate } from "tslib";
2
+ import '@material/web/textfield/filled-text-field';
3
+ import '@material/web/icon/icon';
4
+ import '@material/web/iconbutton/icon-button';
5
+ import { redispatchEvent } from '@material/web/internal/events/redispatch-event';
6
+ import { LitElement, html, css } from 'lit';
7
+ import { customElement, property, query } from 'lit/decorators.js';
8
+ let TitaniumFilledSearchInput = class TitaniumFilledSearchInput extends LitElement {
9
+ #value_accessor_storage = '';
10
+ get value() { return this.#value_accessor_storage; }
11
+ set value(value) { this.#value_accessor_storage = value; }
12
+ #placeholder_accessor_storage = 'Search';
13
+ get placeholder() { return this.#placeholder_accessor_storage; }
14
+ set placeholder(value) { this.#placeholder_accessor_storage = value; }
15
+ #autocomplete_accessor_storage = 'off';
16
+ get autocomplete() { return this.#autocomplete_accessor_storage; }
17
+ set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
18
+ #spellcheck_accessor_storage = false;
19
+ get spellcheck() { return this.#spellcheck_accessor_storage; }
20
+ set spellcheck(value) { this.#spellcheck_accessor_storage = value; }
21
+ #disabled_accessor_storage = false;
22
+ get disabled() { return this.#disabled_accessor_storage; }
23
+ set disabled(value) { this.#disabled_accessor_storage = value; }
24
+ #textField_accessor_storage;
25
+ get textField() { return this.#textField_accessor_storage; }
26
+ set textField(value) { this.#textField_accessor_storage = value; }
27
+ static { this.styles = css `
28
+ :host {
29
+ display: block;
30
+ max-width: 640px;
31
+ width: 100%;
32
+
33
+ --md-filled-text-field-container-color: var(--md-sys-color-surface-container-high);
34
+ --md-filled-text-field-container-shape: 24px;
35
+ --md-filled-field-container-shape: 24px;
36
+
37
+ --md-filled-text-field-active-indicator-height: 0;
38
+ --md-filled-text-field-error-active-indicator-height: 0;
39
+ --md-filled-text-field-hover-active-indicator-height: 0;
40
+ --md-filled-text-field-focus-active-indicator-height: 0;
41
+ --md-filled-text-field-disabled-active-indicator-height: 0;
42
+
43
+ --md-filled-text-field-bottom-space: 12px;
44
+ --md-filled-text-field-top-space: 12px;
45
+ }
46
+
47
+ md-filled-text-field {
48
+ width: 100%;
49
+ }
50
+
51
+ [hidden] {
52
+ display: none !important;
53
+ }
54
+ `; }
55
+ render() {
56
+ return html `
57
+ <md-filled-text-field
58
+ type="search"
59
+ .autocomplete=${this.autocomplete}
60
+ .spellcheck=${this.spellcheck}
61
+ .disabled=${this.disabled}
62
+ .value=${this.value}
63
+ placeholder=${this.placeholder}
64
+ @input=${(e) => {
65
+ this.value = e.target.value;
66
+ this.dispatchEvent(new Event('input', { composed: true }));
67
+ }}
68
+ @blur=${(e) => redispatchEvent(this, e)}
69
+ @focus=${(e) => redispatchEvent(this, e)}
70
+ @change=${(e) => redispatchEvent(this, e)}
71
+ @invalid=${(e) => redispatchEvent(this, e)}
72
+ >
73
+ <md-icon slot="leading-icon">search</md-icon>
74
+ <md-icon-button
75
+ slot="trailing-icon"
76
+ ?hidden=${!this.value}
77
+ @click=${() => {
78
+ this.value = '';
79
+ this.textField?.focus?.();
80
+ this.dispatchEvent(new Event('input', { composed: true }));
81
+ }}
82
+ >
83
+ <md-icon>close</md-icon>
84
+ </md-icon-button>
85
+ </md-filled-text-field>
86
+ `;
87
+ }
88
+ };
89
+ __decorate([
90
+ property({ type: String })
91
+ ], TitaniumFilledSearchInput.prototype, "value", null);
92
+ __decorate([
93
+ property({ type: String })
94
+ ], TitaniumFilledSearchInput.prototype, "placeholder", null);
95
+ __decorate([
96
+ property({ type: String })
97
+ ], TitaniumFilledSearchInput.prototype, "autocomplete", null);
98
+ __decorate([
99
+ property({ type: Boolean })
100
+ ], TitaniumFilledSearchInput.prototype, "spellcheck", null);
101
+ __decorate([
102
+ property({ type: Boolean })
103
+ ], TitaniumFilledSearchInput.prototype, "disabled", null);
104
+ __decorate([
105
+ query('md-filled-text-field')
106
+ ], TitaniumFilledSearchInput.prototype, "textField", null);
107
+ TitaniumFilledSearchInput = __decorate([
108
+ customElement('titanium-filled-search-input')
109
+ ], TitaniumFilledSearchInput);
110
+ export default TitaniumFilledSearchInput;
111
+ //# sourceMappingURL=filled-search-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filled-search-input.js","sourceRoot":"","sources":["filled-search-input.ts"],"names":[],"mappings":";AAAA,OAAO,2CAA2C,CAAC;AACnD,OAAO,yBAAyB,CAAC;AACjC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEjF,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAKpD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,UAAU;IAC1B,0BAAgB,EAAE,CAAC;IAAnB,IAAA,KAAK,2CAAc;IAAnB,IAAA,KAAK,iDAAc;IACnB,gCAAsB,QAAQ,CAAC;IAA/B,IAAA,WAAW,iDAAoB;IAA/B,IAAA,WAAW,uDAAoB;IAC/B,iCAAuB,KAAK,CAAC;IAA7B,IAAA,YAAY,kDAAiB;IAA7B,IAAA,YAAY,wDAAiB;IAC5B,+BAAsB,KAAK,CAAC;IAA5B,IAAA,UAAU,gDAAkB;IAA5B,IAAA,UAAU,sDAAkB;IAC5B,6BAAoB,KAAK,CAAC;IAA1B,IAAA,QAAQ,8CAAkB;IAA1B,IAAA,QAAQ,oDAAkB;IAEhB,4BAA6B;IAA7B,IAAA,SAAS,+CAAoB;IAA7B,IAAA,SAAS,qDAAoB;aAEtE,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BlB,AA3BY,CA2BX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;;wBAGS,IAAI,CAAC,YA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