@workday/canvas-kit-labs-react 15.0.0-alpha.0064-next.0 → 15.0.0-alpha.0075-next.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.
- package/dist/commonjs/ai-ingress-button/lib/AIIngressButton.js +5 -5
- package/dist/commonjs/index.d.ts +0 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +0 -2
- package/dist/commonjs/side-panel/lib/SidePanel.js +7 -7
- package/dist/commonjs/side-panel/lib/SidePanelToggleButton.js +11 -11
- package/dist/commonjs/version/lib/version.js +1 -1
- package/dist/es6/ai-ingress-button/lib/AIIngressButton.js +5 -5
- package/dist/es6/index.d.ts +0 -2
- package/dist/es6/index.d.ts.map +1 -1
- package/dist/es6/index.js +0 -2
- package/dist/es6/side-panel/lib/SidePanel.js +7 -7
- package/dist/es6/side-panel/lib/SidePanelToggleButton.js +11 -11
- package/dist/es6/version/lib/version.js +1 -1
- package/index.ts +0 -2
- package/package.json +4 -4
- package/combobox/index.ts +0 -1
- package/combobox/lib/AutocompleteList.tsx +0 -137
- package/combobox/lib/Combobox.tsx +0 -505
- package/combobox/lib/Status.tsx +0 -52
- package/combobox/package.json +0 -6
- package/dist/commonjs/combobox/index.d.ts +0 -2
- package/dist/commonjs/combobox/index.d.ts.map +0 -1
- package/dist/commonjs/combobox/index.js +0 -17
- package/dist/commonjs/combobox/lib/AutocompleteList.d.ts +0 -34
- package/dist/commonjs/combobox/lib/AutocompleteList.d.ts.map +0 -1
- package/dist/commonjs/combobox/lib/AutocompleteList.js +0 -101
- package/dist/commonjs/combobox/lib/Combobox.d.ts +0 -79
- package/dist/commonjs/combobox/lib/Combobox.d.ts.map +0 -1
- package/dist/commonjs/combobox/lib/Combobox.js +0 -349
- package/dist/commonjs/combobox/lib/Status.d.ts +0 -16
- package/dist/commonjs/combobox/lib/Status.d.ts.map +0 -1
- package/dist/commonjs/combobox/lib/Status.js +0 -29
- package/dist/commonjs/search-form/index.d.ts +0 -3
- package/dist/commonjs/search-form/index.d.ts.map +0 -1
- package/dist/commonjs/search-form/index.js +0 -18
- package/dist/commonjs/search-form/lib/SearchForm.d.ts +0 -450
- package/dist/commonjs/search-form/lib/SearchForm.d.ts.map +0 -1
- package/dist/commonjs/search-form/lib/SearchForm.js +0 -236
- package/dist/commonjs/search-form/lib/themes.d.ts +0 -33
- package/dist/commonjs/search-form/lib/themes.d.ts.map +0 -1
- package/dist/commonjs/search-form/lib/themes.js +0 -47
- package/dist/es6/combobox/index.d.ts +0 -2
- package/dist/es6/combobox/index.d.ts.map +0 -1
- package/dist/es6/combobox/index.js +0 -1
- package/dist/es6/combobox/lib/AutocompleteList.d.ts +0 -34
- package/dist/es6/combobox/lib/AutocompleteList.d.ts.map +0 -1
- package/dist/es6/combobox/lib/AutocompleteList.js +0 -71
- package/dist/es6/combobox/lib/Combobox.d.ts +0 -79
- package/dist/es6/combobox/lib/Combobox.d.ts.map +0 -1
- package/dist/es6/combobox/lib/Combobox.js +0 -317
- package/dist/es6/combobox/lib/Status.d.ts +0 -16
- package/dist/es6/combobox/lib/Status.d.ts.map +0 -1
- package/dist/es6/combobox/lib/Status.js +0 -22
- package/dist/es6/search-form/index.d.ts +0 -3
- package/dist/es6/search-form/index.d.ts.map +0 -1
- package/dist/es6/search-form/index.js +0 -2
- package/dist/es6/search-form/lib/SearchForm.d.ts +0 -450
- package/dist/es6/search-form/lib/SearchForm.d.ts.map +0 -1
- package/dist/es6/search-form/lib/SearchForm.js +0 -207
- package/dist/es6/search-form/lib/themes.d.ts +0 -33
- package/dist/es6/search-form/lib/themes.d.ts.map +0 -1
- package/dist/es6/search-form/lib/themes.js +0 -44
- package/search-form/index.ts +0 -2
- package/search-form/lib/SearchForm.tsx +0 -651
- package/search-form/lib/themes.ts +0 -67
- package/search-form/package.json +0 -6
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SearchForm = exports.searchFormStencil = void 0;
|
|
30
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
const React = __importStar(require("react"));
|
|
32
|
-
const common_1 = require("@workday/canvas-kit-react/common");
|
|
33
|
-
const button_1 = require("@workday/canvas-kit-react/button");
|
|
34
|
-
const canvas_system_icons_web_1 = require("@workday/canvas-system-icons-web");
|
|
35
|
-
const form_field_1 = require("@workday/canvas-kit-react/form-field");
|
|
36
|
-
const combobox_1 = require("@workday/canvas-kit-labs-react/combobox");
|
|
37
|
-
const text_input_1 = require("@workday/canvas-kit-react/text-input");
|
|
38
|
-
const themes_1 = require("./themes");
|
|
39
|
-
const chroma_js_1 = __importDefault(require("chroma-js"));
|
|
40
|
-
const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
|
|
41
|
-
const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
|
|
42
|
-
const layout_1 = require("@workday/canvas-kit-react/layout");
|
|
43
|
-
function getInputColors(theme, isFocused) {
|
|
44
|
-
return {
|
|
45
|
-
background: isFocused && theme.backgroundFocus ? theme.backgroundFocus : theme.background,
|
|
46
|
-
backgroundHover: theme.backgroundHover,
|
|
47
|
-
color: isFocused && theme.colorFocus ? theme.colorFocus : theme.color,
|
|
48
|
-
placeholderColor: isFocused && theme.placeholderColorFocus
|
|
49
|
-
? theme.placeholderColorFocus
|
|
50
|
-
: theme.placeholderColor,
|
|
51
|
-
boxShadow: isFocused && theme.boxShadowFocus ? theme.boxShadowFocus : theme.boxShadow,
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
const formCollapsedBackground = '#fff';
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated ⚠️ `searchFormStencil` is deprecated and will be removed in a future major version. Please reference our [Autocomplete example](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs#usage).
|
|
57
|
-
*/
|
|
58
|
-
exports.searchFormStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
59
|
-
vars: {
|
|
60
|
-
minWidth: '',
|
|
61
|
-
maxWidth: '',
|
|
62
|
-
height: '',
|
|
63
|
-
background: '',
|
|
64
|
-
backgroundFocus: '',
|
|
65
|
-
backgroundHover: '',
|
|
66
|
-
color: '',
|
|
67
|
-
colorFocus: '',
|
|
68
|
-
placeholderColor: '',
|
|
69
|
-
placeholderColorFocus: '',
|
|
70
|
-
boxShadow: '',
|
|
71
|
-
boxShadowFocus: '',
|
|
72
|
-
},
|
|
73
|
-
parts: {
|
|
74
|
-
searchContainer: 'search-form-container',
|
|
75
|
-
combobox: 'search-form-combobox',
|
|
76
|
-
closeButton: 'search-form-close-button',
|
|
77
|
-
searchField: 'search-form-field',
|
|
78
|
-
submitSearchIcon: 'search-form-submit-search-icon',
|
|
79
|
-
openSearchIcon: 'search-form-open-search-icon',
|
|
80
|
-
searchInput: 'search-form-input',
|
|
81
|
-
closeButtonPart: 'search-form-close-button',
|
|
82
|
-
},
|
|
83
|
-
base: { name: "1mrk16", styles: "box-sizing:border-box;position:relative;flex-grow:1;display:flex;align-items:center;margin-inline-start:var(--cnvs-sys-space-x6);min-width:var(--minWidth-search-form-bbb053, 7.5rem);max-width:var(--maxWidth-search-form-bbb053, 30rem);[data-part=\"search-form-container\"]{position:relative;display:flex;align-items:center;width:100%;text-align:left;min-height:var(--height-search-form-bbb053, var(--cnvs-sys-space-x10));}[data-part=\"search-form-combobox\"]{width:100%;}[data-part=\"search-form-close-button\"]{position:absolute;top:0;bottom:0;right:0;margin:auto var(--cnvs-sys-space-x2);z-index:3;display:none;}[data-part=\"search-form-field\"]{width:100%;height:var(--height-search-form-bbb053, var(--cnvs-sys-space-x10));max-width:var(--maxWidth-search-form-bbb053, 30rem);margin-bottom:0;display:inline-block;> div{display:block;}}[data-part=\"search-form-submit-search-icon\"], [data-part=\"search-form-open-search-icon\"]{position:absolute;margin:auto var(--cnvs-sys-space-x2);top:0;bottom:0;left:0;padding:0;z-index:3;:dir(rtl){right:0;left:auto;}}[data-part=\"search-form-input\"]{max-width:var(--maxWidth-search-form-bbb053);min-width:var(--minWidth-search-form-bbb053);padding-inline-start:calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x2));padding-inline-end:var(--cnvs-sys-space-x10);background-color:var(--background-search-form-bbb053, var(--cnvs-sys-color-bg-alt-soft));height:var(--height-search-form-bbb053, var(--cnvs-sys-space-x10));font-size:var(--cnvs-sys-font-size-subtext-large);box-shadow:var(--boxShadow-search-form-bbb053);color:var(--color-search-form-bbb053, var(--cnvs-sys-color-text-default));border:none;-webkit-appearance:none;transition:background-color 120ms, color 120ms, box-shadow 200ms, border-color 200ms;z-index:2;width:100%;&::-webkit-search-cancel-button{display:none;}&::placeholder{color:var(--placeholderColor-search-form-bbb053, var(--cnvs-sys-color-text-hint));}&:placeholder-shown{text-overflow:ellipsis;}&:hover{background-color:var(--backgroundHover-search-form-bbb053, var(--background-search-form-bbb053, var(--cnvs-sys-color-bg-alt-default)));}&:is(:focus-visible, .focus):where(:not([disabled])){background:var(--backgroundFocus-search-form-bbb053, var(--cnvs-sys-color-bg-alt-soft));color:var(--colorFocus-search-form-bbb053);border-color:var(--cnvs-brand-common-focus-outline);outline:0.125rem solid transparent;box-shadow:var(--boxShadowFocus-search-form-bbb053, 0 0 0 0px var(--cnvs-sys-color-bg-default), 0 0 0 2px var(--cnvs-brand-common-focus-outline));::placeholder{color:var(--placeholderColorFocus-search-form-bbb053);}}}" },
|
|
84
|
-
modifiers: {
|
|
85
|
-
isHiddenSubmitSearchIcon: {
|
|
86
|
-
true: { name: "2tiser", styles: "[data-part=\"search-form-submit-search-icon\"]{display:none;}" }
|
|
87
|
-
},
|
|
88
|
-
isHiddenOpenSeachIcon: {
|
|
89
|
-
true: { name: "kt7od", styles: "[data-part=\"search-form-open-search-icon\"]{display:none;}" }
|
|
90
|
-
},
|
|
91
|
-
isCollapsed: {
|
|
92
|
-
true: { name: "3uoohl", styles: "top:0;right:0;left:0;bottom:0;margin:0;position:relative;background-color:var(--cnvs-sys-color-bg-transparent-default);transition:background-color 120ms;max-width:calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x2));min-width:calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x3));overflow:hidden;z-index:1;[data-part=\"search-form-field\"]{display:none;max-width:100%;}[data-part=\"search-form-submit-search-icon\"], [data-part=\"search-form-open-search-icon\"]{margin:auto var(--cnvs-sys-space-x2);}[data-part=\"search-form-input\"]{font-size:20px;padding-inline-start:calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x4));padding-inline-end:calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x4));max-width:none;min-width:0;background-color:var(--cnvs-sys-color-bg-transparent-default);height:var(--height-search-form-bbb053, var(--cnvs-sys-space-x10));}" },
|
|
93
|
-
false: { name: "2rvk1z", styles: "[data-part=\"search-form-field\"]{display:inline-block;}" }
|
|
94
|
-
},
|
|
95
|
-
rightAlign: {
|
|
96
|
-
true: { name: "1p9pc", styles: "text-align:right;" }
|
|
97
|
-
},
|
|
98
|
-
showForm: {
|
|
99
|
-
true: { name: "xqrko", styles: "" },
|
|
100
|
-
false: { name: "24uats", styles: "" }
|
|
101
|
-
},
|
|
102
|
-
grow: {
|
|
103
|
-
true: { name: "y9f13", styles: "max-width:100%;[data-part=\"search-form-field\"], [data-part=\"search-form-input\"]{max-width:100%;}" }
|
|
104
|
-
},
|
|
105
|
-
searchTheme: {
|
|
106
|
-
// Light theme
|
|
107
|
-
light: { name: "69rcd", styles: "[data-part=\"search-form-input\"]{background:var(--cnvs-sys-color-bg-alt-soft);color:var(--cnvs-sys-color-text-default);::placeholder{color:var(--cnvs-sys-color-text-hint);}&:hover{background:var(--cnvs-sys-color-bg-alt-default);}&:is(:focus-visible, &.focus):where(:not([disabled])){background:var(--cnvs-sys-color-bg-alt-soft);box-shadow:0 0 0 0px var(--cnvs-sys-color-border-inverse), 0 0 0 2px var(--cnvs-brand-common-focus-outline);}}" },
|
|
108
|
-
// Dark theme
|
|
109
|
-
dark: { name: "aibxi", styles: "[data-part=\"search-form-input\"]{background-color:rgba(0, 0, 0, 0.2);color:var(--cnvs-sys-color-text-inverse);box-shadow:none;::placeholder{color:var(--cnvs-sys-color-text-inverse);}:hover{background:rgba(0, 0, 0, 0.2);}&:is(:focus-visible, &.focus):where(:not([disabled])){background:var(--cnvs-sys-color-bg-default);color:var(--cnvs-sys-color-text-default);::placeholder{color:var(--cnvs-sys-color-text-hint);}box-shadow:none;}}" },
|
|
110
|
-
//Transparent theme
|
|
111
|
-
transparent: { name: "24hvnd", styles: "[data-part=\"search-form-input\"]{background:var(--cnvs-sys-color-bg-transparent-default);background-focus:var(--cnvs-sys-color-bg-transparent-default);color:var(--cnvs-sys-color-text-default);color-focus:var(--cnvs-sys-color-text-default);placeholder-color:var(--cnvs-sys-color-text-hint);placeholder-color-focus:var(--cnvs-sys-color-text-hint);box-shadow:none;box-shadow-focus:none;}" }
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
compound: [
|
|
115
|
-
{
|
|
116
|
-
modifiers: { showForm: 'true', isCollapsed: 'true' },
|
|
117
|
-
styles: { name: "22tojy", styles: "position:absolute;background-color:var(--cnvs-sys-color-bg-default);max-width:none;overflow:visible;& [data-part=\"search-form-close-button\"]{display:inline-block;}& [data-part=\"search-form-field\"]{display:inline-block;}& [data-part=\"search-form-input\"]{box-shadow:none;background:var(--cnvs-sys-color-bg-transparent-default);:hover{background:var(--cnvs-sys-color-bg-transparent-default);}&:is(:focus-visible, &.focus):where(:not([disabled])){background:var(--cnvs-sys-color-bg-transparent-default);box-shadow:none;}}" }
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
modifiers: { isCollapsed: 'true', showForm: 'true' },
|
|
121
|
-
styles: { name: "2fo5n4", styles: "& [data-part=\"search-form-field\"]{display:inline-block;}" }
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
}, "search-form-bbb053");
|
|
125
|
-
/**
|
|
126
|
-
* @deprecated ⚠️ `SearchForm` is deprecated and will be removed in a future major version. Please reference our [Autocomplete example](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs#usage).
|
|
127
|
-
*/
|
|
128
|
-
class SearchForm extends React.Component {
|
|
129
|
-
constructor() {
|
|
130
|
-
super(...arguments);
|
|
131
|
-
this.inputRef = React.createRef();
|
|
132
|
-
this.openRef = React.createRef();
|
|
133
|
-
this.defaultLabelId = (0, common_1.generateUniqueId)();
|
|
134
|
-
this.state = {
|
|
135
|
-
showForm: false,
|
|
136
|
-
searchQuery: '',
|
|
137
|
-
isFocused: false,
|
|
138
|
-
};
|
|
139
|
-
this.getTheme = () => {
|
|
140
|
-
let theme;
|
|
141
|
-
if (typeof this.props.searchTheme === 'string') {
|
|
142
|
-
theme = themes_1.searchThemes[this.props.searchTheme];
|
|
143
|
-
}
|
|
144
|
-
else if (this.props.searchTheme) {
|
|
145
|
-
theme = this.props.searchTheme;
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
theme = themes_1.searchThemes[themes_1.SearchTheme.Light];
|
|
149
|
-
}
|
|
150
|
-
return theme;
|
|
151
|
-
};
|
|
152
|
-
this.getThemeColors = () => {
|
|
153
|
-
const theme = this.props.isCollapsed && this.state.showForm
|
|
154
|
-
? themes_1.searchThemes[themes_1.SearchTheme.Transparent]
|
|
155
|
-
: this.getTheme();
|
|
156
|
-
return getInputColors(theme, this.state.isFocused);
|
|
157
|
-
};
|
|
158
|
-
this.getIconButtonType = () => {
|
|
159
|
-
let background = this.getThemeColors().background || `#fff`;
|
|
160
|
-
if (this.props.isCollapsed && this.state.showForm) {
|
|
161
|
-
background = formCollapsedBackground;
|
|
162
|
-
}
|
|
163
|
-
const isDarkBackground = (0, chroma_js_1.default)(background).get('lab.l') < 70;
|
|
164
|
-
return isDarkBackground ? 'inverse' : undefined;
|
|
165
|
-
};
|
|
166
|
-
this.handleSubmit = (event) => {
|
|
167
|
-
event.preventDefault();
|
|
168
|
-
if (this.props.allowEmptyStringSearch || this.state.searchQuery.trim()) {
|
|
169
|
-
this.props.onSubmit(event);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
this.focusInput();
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
this.openCollapsedSearch = () => {
|
|
176
|
-
if (this.props.isCollapsed && !this.state.showForm) {
|
|
177
|
-
this.setState({ showForm: true });
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
this.closeCollapsedSearch = () => {
|
|
181
|
-
if (this.props.isCollapsed && this.state.showForm) {
|
|
182
|
-
this.setState({ showForm: false });
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
this.focusInput = () => {
|
|
186
|
-
if (this.inputRef.current) {
|
|
187
|
-
this.inputRef.current.focus();
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
this.focusOpen = () => {
|
|
191
|
-
if (this.openRef.current) {
|
|
192
|
-
this.openRef.current.focus();
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
this.handleFocus = () => {
|
|
196
|
-
this.setState({ isFocused: true });
|
|
197
|
-
};
|
|
198
|
-
this.handleBlur = () => {
|
|
199
|
-
this.setState({ isFocused: false });
|
|
200
|
-
};
|
|
201
|
-
this.handleSearchInputChange = (event) => {
|
|
202
|
-
event.preventDefault();
|
|
203
|
-
this.setState({ searchQuery: event.target.value });
|
|
204
|
-
if (this.props.onInputChange) {
|
|
205
|
-
this.props.onInputChange(event);
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
componentDidUpdate(prevProps, prevState) {
|
|
210
|
-
const showFormToggled = this.state.showForm !== prevState.showForm;
|
|
211
|
-
if (showFormToggled) {
|
|
212
|
-
if (this.state.showForm) {
|
|
213
|
-
this.focusInput();
|
|
214
|
-
}
|
|
215
|
-
else {
|
|
216
|
-
this.focusOpen();
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
render() {
|
|
221
|
-
const { clearButtonAriaLabel = 'Reset Search Form', placeholder = 'Search', inputLabel = 'Search', submitAriaLabel = 'Search', openButtonAriaLabel = 'Open Search', closeButtonAriaLabel = 'Cancel', labelId = this.defaultLabelId, showClearButton = true, height = (0, canvas_kit_styling_1.px2rem)(40), grow, onSubmit, isCollapsed, onInputChange, autocompleteItems, initialValue, searchTheme, rightAlign, allowEmptyStringSearch = false, ...elemProps } = this.props;
|
|
222
|
-
return ((0, jsx_runtime_1.jsx)("form", { role: "search", action: ".", "aria-labelledby": labelId, onSubmit: this.handleSubmit, ...(0, layout_1.mergeStyles)(elemProps, (0, exports.searchFormStencil)({
|
|
223
|
-
grow,
|
|
224
|
-
rightAlign,
|
|
225
|
-
isCollapsed: isCollapsed ? 'true' : 'false',
|
|
226
|
-
showForm: this.state.showForm ? 'true' : 'false',
|
|
227
|
-
height: typeof height === 'number' ? (0, canvas_kit_styling_1.px2rem)(height) : height,
|
|
228
|
-
isHiddenSubmitSearchIcon: !!isCollapsed && !this.state.showForm,
|
|
229
|
-
isHiddenOpenSeachIcon: !isCollapsed || (!!isCollapsed && this.state.showForm),
|
|
230
|
-
searchTheme: typeof searchTheme === 'string' ? searchTheme : undefined,
|
|
231
|
-
...(typeof searchTheme !== 'string' ? searchTheme : {}),
|
|
232
|
-
})), children: (0, jsx_runtime_1.jsxs)("div", { ...exports.searchFormStencil.parts.searchContainer, children: [(0, jsx_runtime_1.jsx)(button_1.TertiaryButton, { "aria-label": submitAriaLabel, icon: canvas_system_icons_web_1.searchIcon, variant: this.getIconButtonType(), type: "submit", size: "small", ...exports.searchFormStencil.parts.submitSearchIcon }), (0, jsx_runtime_1.jsx)(button_1.TertiaryButton, { "aria-label": openButtonAriaLabel, icon: canvas_system_icons_web_1.searchIcon, variant: this.getIconButtonType(), onClick: this.openCollapsedSearch, ref: this.openRef, type: "button", ...exports.searchFormStencil.parts.openSearchIcon }), (0, jsx_runtime_1.jsxs)(form_field_1.FormField, { id: labelId, ...exports.searchFormStencil.parts.searchField, children: [(0, jsx_runtime_1.jsx)(form_field_1.FormField.Label, { cs: common_1.accessibleHideStyles, children: inputLabel }), (0, jsx_runtime_1.jsx)(combobox_1.Combobox, { initialValue: initialValue, clearButtonVariant: this.getIconButtonType(), autocompleteItems: autocompleteItems, onChange: this.handleSearchInputChange, onFocus: this.handleFocus, onBlur: this.handleBlur, showClearButton: !isCollapsed && showClearButton, clearButtonAriaLabel: clearButtonAriaLabel, labelId: labelId, ...exports.searchFormStencil.parts.combobox, children: (0, jsx_runtime_1.jsx)(form_field_1.FormField.Input, { as: text_input_1.TextInput, ref: this.inputRef, cs: this.state.isFocused ? 'focus' : undefined, onBlur: this.handleBlur, value: this.state.searchQuery, placeholder: placeholder, name: "search", autoComplete: "off", ...exports.searchFormStencil.parts.searchInput }) })] }), (0, jsx_runtime_1.jsx)(button_1.TertiaryButton, { icon: canvas_system_icons_web_1.xIcon, "aria-label": closeButtonAriaLabel, onClick: this.closeCollapsedSearch, id: "foo", ...exports.searchFormStencil.parts.closeButton })] }) }));
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
SearchForm.Theme = themes_1.SearchTheme;
|
|
236
|
-
exports.SearchForm = SearchForm;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated ⚠️ `SearchTheme` is deprecated and will be removed in a future major version. Please our CSS tokens to theme components.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SearchTheme {
|
|
5
|
-
Light = "light",
|
|
6
|
-
Dark = "dark",
|
|
7
|
-
Transparent = "transparent"
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated ⚠️ `SearchThemeAttributes` is deprecated and will be removed in a future major version. Please our CSS tokens to theme components.
|
|
11
|
-
*/
|
|
12
|
-
export interface SearchThemeAttributes {
|
|
13
|
-
background?: string;
|
|
14
|
-
backgroundFocus?: string;
|
|
15
|
-
backgroundHover?: string;
|
|
16
|
-
color?: string;
|
|
17
|
-
colorFocus?: string;
|
|
18
|
-
placeholderColor?: string;
|
|
19
|
-
placeholderColorFocus?: string;
|
|
20
|
-
boxShadow?: string;
|
|
21
|
-
boxShadowFocus?: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated ⚠️ `SearchThemes` is deprecated and will be removed in a future major version. Please our CSS tokens to theme components.
|
|
25
|
-
*/
|
|
26
|
-
export interface SearchThemes {
|
|
27
|
-
[key: string]: SearchThemeAttributes;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated ⚠️ `searchThemes` is deprecated and will be removed in a future major version. Please our CSS tokens to theme components.
|
|
31
|
-
*/
|
|
32
|
-
export declare const searchThemes: SearchThemes;
|
|
33
|
-
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../search-form/lib/themes.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,WAAW,gBAAgB;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC;CACtC;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,YA6B1B,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchThemes = exports.SearchTheme = void 0;
|
|
4
|
-
const common_1 = require("@workday/canvas-kit-react/common");
|
|
5
|
-
const tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated ⚠️ `SearchTheme` is deprecated and will be removed in a future major version. Please our CSS tokens to theme components.
|
|
8
|
-
*/
|
|
9
|
-
var SearchTheme;
|
|
10
|
-
(function (SearchTheme) {
|
|
11
|
-
SearchTheme["Light"] = "light";
|
|
12
|
-
SearchTheme["Dark"] = "dark";
|
|
13
|
-
SearchTheme["Transparent"] = "transparent";
|
|
14
|
-
})(SearchTheme = exports.SearchTheme || (exports.SearchTheme = {}));
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated ⚠️ `searchThemes` is deprecated and will be removed in a future major version. Please our CSS tokens to theme components.
|
|
17
|
-
*/
|
|
18
|
-
exports.searchThemes = {
|
|
19
|
-
[SearchTheme.Transparent]: {
|
|
20
|
-
background: 'rgba(0, 0, 0, 0)',
|
|
21
|
-
backgroundFocus: 'rgba(0, 0, 0, 0)',
|
|
22
|
-
color: tokens_1.colors.blackPepper300,
|
|
23
|
-
colorFocus: tokens_1.colors.blackPepper300,
|
|
24
|
-
placeholderColor: tokens_1.colors.licorice300,
|
|
25
|
-
placeholderColorFocus: tokens_1.colors.licorice300,
|
|
26
|
-
boxShadow: 'none',
|
|
27
|
-
boxShadowFocus: 'none',
|
|
28
|
-
},
|
|
29
|
-
[SearchTheme.Light]: {
|
|
30
|
-
background: tokens_1.colors.soap200,
|
|
31
|
-
backgroundFocus: tokens_1.colors.soap200,
|
|
32
|
-
backgroundHover: tokens_1.colors.soap300,
|
|
33
|
-
color: tokens_1.colors.blackPepper300,
|
|
34
|
-
placeholderColor: tokens_1.colors.licorice300,
|
|
35
|
-
boxShadow: 'none',
|
|
36
|
-
boxShadowFocus: (0, common_1.focusRing)().boxShadow,
|
|
37
|
-
},
|
|
38
|
-
[SearchTheme.Dark]: {
|
|
39
|
-
background: 'rgba(0, 0, 0, 0.2)',
|
|
40
|
-
backgroundFocus: tokens_1.colors.frenchVanilla100,
|
|
41
|
-
color: tokens_1.colors.frenchVanilla100,
|
|
42
|
-
colorFocus: tokens_1.colors.blackPepper300,
|
|
43
|
-
placeholderColor: tokens_1.colors.frenchVanilla100,
|
|
44
|
-
placeholderColorFocus: tokens_1.colors.licorice300,
|
|
45
|
-
boxShadow: 'none',
|
|
46
|
-
},
|
|
47
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../combobox/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib/Combobox';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComboBoxMenuItemGroup } from './Combobox';
|
|
3
|
-
interface AutocompleteListProps {
|
|
4
|
-
/**
|
|
5
|
-
* The autocomplete items of the Combobox. This array of menu items is shown under the text input.
|
|
6
|
-
*/
|
|
7
|
-
autocompleteItems: React.ReactElement<any>[] | ComboBoxMenuItemGroup[];
|
|
8
|
-
/**
|
|
9
|
-
* Index of the active autocomplete item
|
|
10
|
-
*/
|
|
11
|
-
selectedIndex: number | null;
|
|
12
|
-
/**
|
|
13
|
-
* The function called when an autocomplete item is selected
|
|
14
|
-
*/
|
|
15
|
-
handleAutocompleteClick: (event: React.SyntheticEvent<Element, Event>, menuItemProps: any) => void;
|
|
16
|
-
/**
|
|
17
|
-
* The id of the form field.
|
|
18
|
-
*/
|
|
19
|
-
labelId: string;
|
|
20
|
-
/**
|
|
21
|
-
* The id of the combobox.
|
|
22
|
-
*/
|
|
23
|
-
comboboxId: string;
|
|
24
|
-
/**
|
|
25
|
-
* True when group changes via keyboard control
|
|
26
|
-
*/
|
|
27
|
-
showGroupText: boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated ⚠️ `AutocompleteList` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
31
|
-
*/
|
|
32
|
-
export declare const AutocompleteList: ({ autocompleteItems, comboboxId, selectedIndex, handleAutocompleteClick, labelId, showGroupText, }: AutocompleteListProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=AutocompleteList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AutocompleteList.d.ts","sourceRoot":"","sources":["../../../../combobox/lib/AutocompleteList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAIhD,OAAO,EAAC,qBAAqB,EAAiD,MAAM,YAAY,CAAC;AAYjG,UAAU,qBAAqB;IAC7B;;OAEG;IACH,iBAAiB,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACvE;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,uBAAuB,EAAE,CACvB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,EAC3C,aAAa,EAAE,GAAG,KACf,IAAI,CAAC;IACV;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,uGAO1B,qBAAqB,mDA+EvB,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React, { Fragment, useState } from 'react';
|
|
3
|
-
import styled from '@emotion/styled';
|
|
4
|
-
import { space } from '@workday/canvas-kit-react/tokens';
|
|
5
|
-
import { accessibleHide, generateUniqueId } from '@workday/canvas-kit-react/common';
|
|
6
|
-
import { getOptionId, listBoxIdPart, getTextFromElement } from './Combobox';
|
|
7
|
-
const Autocomplete = styled('ul')({
|
|
8
|
-
margin: 0,
|
|
9
|
-
maxHeight: 200,
|
|
10
|
-
boxSizing: 'border-box',
|
|
11
|
-
overflowY: 'auto',
|
|
12
|
-
padding: `${space.xxs} 0`,
|
|
13
|
-
});
|
|
14
|
-
const AccessibleHide = styled('span')(accessibleHide);
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated ⚠️ `AutocompleteList` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
17
|
-
*/
|
|
18
|
-
export const AutocompleteList = ({ autocompleteItems, comboboxId, selectedIndex, handleAutocompleteClick, labelId, showGroupText, }) => {
|
|
19
|
-
const [randomComponentId] = useState(generateUniqueId); // https://codesandbox.io/s/p2ndq
|
|
20
|
-
const componentId = comboboxId || randomComponentId;
|
|
21
|
-
const listBoxProps = {
|
|
22
|
-
role: 'listbox',
|
|
23
|
-
id: `${componentId}-${listBoxIdPart}`,
|
|
24
|
-
'aria-labelledby': labelId,
|
|
25
|
-
};
|
|
26
|
-
const createListItem = (listboxItem, itemIndex, groupMessage) => {
|
|
27
|
-
const children = [
|
|
28
|
-
_jsx(AccessibleHide, { children: groupMessage }, `group-message-${itemIndex}`),
|
|
29
|
-
...React.Children.toArray(listboxItem.props.children),
|
|
30
|
-
];
|
|
31
|
-
return (_jsx(Fragment, { children: React.cloneElement(listboxItem, {
|
|
32
|
-
children: children,
|
|
33
|
-
id: getOptionId(componentId, itemIndex),
|
|
34
|
-
role: 'option',
|
|
35
|
-
isFocused: selectedIndex === itemIndex,
|
|
36
|
-
'aria-selected': selectedIndex === itemIndex ? true : undefined,
|
|
37
|
-
onMouseDown: (event) => {
|
|
38
|
-
// prevent focus from shifting away from the the combobox
|
|
39
|
-
event.preventDefault();
|
|
40
|
-
},
|
|
41
|
-
onClick: (event) => {
|
|
42
|
-
event.preventDefault();
|
|
43
|
-
handleAutocompleteClick(event, listboxItem.props);
|
|
44
|
-
},
|
|
45
|
-
}) }, itemIndex));
|
|
46
|
-
};
|
|
47
|
-
if (!autocompleteItems.length) {
|
|
48
|
-
return null;
|
|
49
|
-
}
|
|
50
|
-
else if (autocompleteItems[0].hasOwnProperty('header')) {
|
|
51
|
-
let itemIndex = 0;
|
|
52
|
-
return (_jsx(Autocomplete, { ...listBoxProps, children: autocompleteItems.map(({ header, items }, groupIndex) => {
|
|
53
|
-
const groupLabel = `itemGroup-${componentId}-${groupIndex}`;
|
|
54
|
-
return (_jsxs(Fragment, { children: [React.cloneElement(header, {
|
|
55
|
-
role: 'presentation',
|
|
56
|
-
style: { pointerEvents: `none` },
|
|
57
|
-
}), items.map((listboxItem) => {
|
|
58
|
-
const headerName = getTextFromElement(header);
|
|
59
|
-
const groupMessage = showGroupText
|
|
60
|
-
? `Entering group ${headerName}, with ${items.length} options.`
|
|
61
|
-
: undefined;
|
|
62
|
-
const item = createListItem(listboxItem, itemIndex, groupMessage);
|
|
63
|
-
itemIndex++;
|
|
64
|
-
return item;
|
|
65
|
-
})] }, groupLabel));
|
|
66
|
-
}) }));
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return (_jsx(Autocomplete, { ...listBoxProps, children: autocompleteItems.map((listboxItem, index) => createListItem(listboxItem, index)) }));
|
|
70
|
-
}
|
|
71
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GrowthBehavior } from '@workday/canvas-kit-react/common';
|
|
3
|
-
import { TertiaryButtonProps } from '@workday/canvas-kit-react/button';
|
|
4
|
-
import { TextInputProps } from '@workday/canvas-kit-react/text-input';
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated ⚠️ `ComboBoxMenuItemGroup` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
7
|
-
*/
|
|
8
|
-
export interface ComboBoxMenuItemGroup {
|
|
9
|
-
header: React.ReactElement<any>;
|
|
10
|
-
items: React.ReactElement<any>[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated ⚠️ `ComboboxProps` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
14
|
-
*/
|
|
15
|
-
export interface ComboboxProps extends GrowthBehavior, React.HTMLAttributes<HTMLElement> {
|
|
16
|
-
/**
|
|
17
|
-
* The TextInput child of the Combobox.
|
|
18
|
-
*/
|
|
19
|
-
children: React.ReactElement<TextInputProps>;
|
|
20
|
-
/**
|
|
21
|
-
* The initial value of the Combobox.
|
|
22
|
-
*/
|
|
23
|
-
initialValue?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The variant of the Combobox clear button. The default is a TertiaryButton
|
|
26
|
-
*/
|
|
27
|
-
clearButtonVariant?: TertiaryButtonProps['variant'];
|
|
28
|
-
/**
|
|
29
|
-
* If true, render the Combobox with a button to clear the text input.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
showClearButton?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* The `aria-label` for the Combobox clear button.
|
|
35
|
-
* @default Reset Search Input
|
|
36
|
-
*/
|
|
37
|
-
clearButtonAriaLabel?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The autocomplete items of the Combobox. This array of menu items is shown under the text input.
|
|
40
|
-
*/
|
|
41
|
-
autocompleteItems?: React.ReactElement<any>[] | ComboBoxMenuItemGroup[];
|
|
42
|
-
/**
|
|
43
|
-
* The function called when the Combobox text input changes.
|
|
44
|
-
*/
|
|
45
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
46
|
-
/**
|
|
47
|
-
* The function called when the Combobox text input focuses.
|
|
48
|
-
*/
|
|
49
|
-
onFocus?: React.FocusEventHandler;
|
|
50
|
-
/**
|
|
51
|
-
* The function called when the Combobox text input blurs.
|
|
52
|
-
*/
|
|
53
|
-
onBlur?: React.FocusEventHandler;
|
|
54
|
-
/**
|
|
55
|
-
* The id of the form field.
|
|
56
|
-
*/
|
|
57
|
-
labelId?: string;
|
|
58
|
-
/**
|
|
59
|
-
* The text for screen readers announcing the autocomplete count
|
|
60
|
-
*/
|
|
61
|
-
getStatusText?: (listCount: number) => string;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated ⚠️ `listBoxIdPart` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
65
|
-
*/
|
|
66
|
-
export declare const listBoxIdPart = "listbox";
|
|
67
|
-
/**
|
|
68
|
-
* @deprecated ⚠️ `getOptionId` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
69
|
-
*/
|
|
70
|
-
export declare const getOptionId: (baseId?: string, index?: number) => string;
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated ⚠️ `getTextFromElement` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
73
|
-
*/
|
|
74
|
-
export declare const getTextFromElement: (children?: React.ReactNode) => string;
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated ⚠️ `Combobox` in Labs has been deprecated and will be removed in a future major version. Please use [`Combobox` in Main](https://workday.github.io/canvas-kit/?path=/docs/features-combobox--docs) instead.
|
|
77
|
-
*/
|
|
78
|
-
export declare const Combobox: ({ autocompleteItems, children, grow, initialValue, onChange, onFocus, onBlur, showClearButton, clearButtonVariant, clearButtonAriaLabel, labelId, getStatusText, id, ...elemProps }: ComboboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
//# sourceMappingURL=Combobox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../combobox/lib/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAEvF,OAAO,EACL,cAAc,EAKf,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAiB,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AAErF,OAAO,EAAC,cAAc,EAAC,MAAM,sCAAsC,CAAC;AAKpE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAEpC,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAEhC,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACtF;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IAC7C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACpD;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACxE;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AA6DD;;GAEG;AACH,eAAO,MAAM,aAAa,YAAY,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,WAAW,YAAa,MAAM,UAAU,MAAM,WACrB,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,kBAAkB,cAAe,MAAM,SAAS,WAc5D,CAAC;AAYF;;GAEG;AACH,eAAO,MAAM,QAAQ,wLAelB,aAAa,4CAmTf,CAAC"}
|