@neo4j-ndl/react 3.9.1 → 3.9.2

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 (81) hide show
  1. package/lib/cjs/text-input/stories/index.js +84 -0
  2. package/lib/cjs/text-input/stories/index.js.map +1 -0
  3. package/lib/cjs/text-input/stories/text-input-default.story.js +30 -0
  4. package/lib/cjs/text-input/stories/text-input-default.story.js.map +1 -0
  5. package/lib/cjs/text-input/stories/text-input-disabled.story.js +30 -0
  6. package/lib/cjs/text-input/stories/text-input-disabled.story.js.map +1 -0
  7. package/lib/cjs/text-input/stories/text-input-email.story.js +32 -0
  8. package/lib/cjs/text-input/stories/text-input-email.story.js.map +1 -0
  9. package/lib/cjs/text-input/stories/text-input-error.story.js +30 -0
  10. package/lib/cjs/text-input/stories/text-input-error.story.js.map +1 -0
  11. package/lib/cjs/text-input/stories/text-input-full.story.js +38 -0
  12. package/lib/cjs/text-input/stories/text-input-full.story.js.map +1 -0
  13. package/lib/cjs/text-input/stories/text-input-information-icon.story.js +30 -0
  14. package/lib/cjs/text-input/stories/text-input-information-icon.story.js.map +1 -0
  15. package/lib/cjs/text-input/stories/text-input-loading.story.js +33 -0
  16. package/lib/cjs/text-input/stories/text-input-loading.story.js.map +1 -0
  17. package/lib/cjs/text-input/stories/text-input-number.story.js +34 -0
  18. package/lib/cjs/text-input/stories/text-input-number.story.js.map +1 -0
  19. package/lib/cjs/text-input/stories/text-input-optional.story.js +30 -0
  20. package/lib/cjs/text-input/stories/text-input-optional.story.js.map +1 -0
  21. package/lib/cjs/text-input/stories/text-input-password.story.js +35 -0
  22. package/lib/cjs/text-input/stories/text-input-password.story.js.map +1 -0
  23. package/lib/cjs/text-input/stories/text-input-readonly.story.js +30 -0
  24. package/lib/cjs/text-input/stories/text-input-readonly.story.js.map +1 -0
  25. package/lib/cjs/text-input/stories/text-input-required.story.js +30 -0
  26. package/lib/cjs/text-input/stories/text-input-required.story.js.map +1 -0
  27. package/lib/cjs/text-input/stories/text-input-sizes.story.js +30 -0
  28. package/lib/cjs/text-input/stories/text-input-sizes.story.js.map +1 -0
  29. package/lib/cjs/text-input/stories/text-input-with-icons.story.js +35 -0
  30. package/lib/cjs/text-input/stories/text-input-with-icons.story.js.map +1 -0
  31. package/lib/cjs/text-input/stories/text-input.stories.js +223 -0
  32. package/lib/cjs/text-input/stories/text-input.stories.js.map +1 -0
  33. package/lib/esm/text-input/stories/index.js +64 -0
  34. package/lib/esm/text-input/stories/index.js.map +1 -0
  35. package/lib/esm/text-input/stories/text-input-default.story.js +28 -0
  36. package/lib/esm/text-input/stories/text-input-default.story.js.map +1 -0
  37. package/lib/esm/text-input/stories/text-input-disabled.story.js +28 -0
  38. package/lib/esm/text-input/stories/text-input-disabled.story.js.map +1 -0
  39. package/lib/esm/text-input/stories/text-input-email.story.js +30 -0
  40. package/lib/esm/text-input/stories/text-input-email.story.js.map +1 -0
  41. package/lib/esm/text-input/stories/text-input-error.story.js +28 -0
  42. package/lib/esm/text-input/stories/text-input-error.story.js.map +1 -0
  43. package/lib/esm/text-input/stories/text-input-full.story.js +36 -0
  44. package/lib/esm/text-input/stories/text-input-full.story.js.map +1 -0
  45. package/lib/esm/text-input/stories/text-input-information-icon.story.js +28 -0
  46. package/lib/esm/text-input/stories/text-input-information-icon.story.js.map +1 -0
  47. package/lib/esm/text-input/stories/text-input-loading.story.js +31 -0
  48. package/lib/esm/text-input/stories/text-input-loading.story.js.map +1 -0
  49. package/lib/esm/text-input/stories/text-input-number.story.js +32 -0
  50. package/lib/esm/text-input/stories/text-input-number.story.js.map +1 -0
  51. package/lib/esm/text-input/stories/text-input-optional.story.js +28 -0
  52. package/lib/esm/text-input/stories/text-input-optional.story.js.map +1 -0
  53. package/lib/esm/text-input/stories/text-input-password.story.js +33 -0
  54. package/lib/esm/text-input/stories/text-input-password.story.js.map +1 -0
  55. package/lib/esm/text-input/stories/text-input-readonly.story.js +28 -0
  56. package/lib/esm/text-input/stories/text-input-readonly.story.js.map +1 -0
  57. package/lib/esm/text-input/stories/text-input-required.story.js +28 -0
  58. package/lib/esm/text-input/stories/text-input-required.story.js.map +1 -0
  59. package/lib/esm/text-input/stories/text-input-sizes.story.js +28 -0
  60. package/lib/esm/text-input/stories/text-input-sizes.story.js.map +1 -0
  61. package/lib/esm/text-input/stories/text-input-with-icons.story.js +33 -0
  62. package/lib/esm/text-input/stories/text-input-with-icons.story.js.map +1 -0
  63. package/lib/esm/text-input/stories/text-input.stories.js +220 -0
  64. package/lib/esm/text-input/stories/text-input.stories.js.map +1 -0
  65. package/lib/types/text-input/stories/index.d.ts +48 -0
  66. package/lib/types/text-input/stories/text-input-default.story.d.ts +23 -0
  67. package/lib/types/text-input/stories/text-input-disabled.story.d.ts +23 -0
  68. package/lib/types/text-input/stories/text-input-email.story.d.ts +23 -0
  69. package/lib/types/text-input/stories/text-input-error.story.d.ts +23 -0
  70. package/lib/types/text-input/stories/text-input-full.story.d.ts +23 -0
  71. package/lib/types/text-input/stories/text-input-information-icon.story.d.ts +23 -0
  72. package/lib/types/text-input/stories/text-input-loading.story.d.ts +23 -0
  73. package/lib/types/text-input/stories/text-input-number.story.d.ts +23 -0
  74. package/lib/types/text-input/stories/text-input-optional.story.d.ts +23 -0
  75. package/lib/types/text-input/stories/text-input-password.story.d.ts +23 -0
  76. package/lib/types/text-input/stories/text-input-readonly.story.d.ts +23 -0
  77. package/lib/types/text-input/stories/text-input-required.story.d.ts +23 -0
  78. package/lib/types/text-input/stories/text-input-sizes.story.d.ts +23 -0
  79. package/lib/types/text-input/stories/text-input-with-icons.story.d.ts +23 -0
  80. package/lib/types/text-input/stories/text-input.stories.d.ts +39 -0
  81. package/package.json +2 -2
@@ -0,0 +1,223 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.Full = exports.Loading = exports.Sizes = exports.Password = exports.WithIcons = exports.Number = exports.Email = exports.InformationIcon = exports.Error = exports.Readonly = exports.Disabled = exports.Optional = exports.Required = exports.Default = void 0;
25
+ const jsx_runtime_1 = require("react/jsx-runtime");
26
+ const index_1 = require("../../index");
27
+ const _1 = require(".");
28
+ const componentMeta = {
29
+ title: 'Components/Text Input',
30
+ id: 'components-text-input',
31
+ component: index_1.TextInput,
32
+ tags: ['docsPage'],
33
+ parameters: {
34
+ controls: { disable: true },
35
+ },
36
+ decorators: [
37
+ (Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
38
+ ],
39
+ };
40
+ exports.default = componentMeta;
41
+ exports.Default = {
42
+ args: {},
43
+ render: _1.TextInputDefault,
44
+ parameters: {
45
+ docs: {
46
+ source: {
47
+ language: 'tsx',
48
+ type: 'code',
49
+ code: _1.TextInputDefaultSource,
50
+ },
51
+ },
52
+ },
53
+ };
54
+ exports.Required = {
55
+ args: {},
56
+ render: _1.TextInputRequired,
57
+ parameters: {
58
+ docs: {
59
+ source: {
60
+ language: 'tsx',
61
+ type: 'code',
62
+ code: _1.TextInputRequiredSource,
63
+ },
64
+ },
65
+ },
66
+ };
67
+ exports.Optional = {
68
+ args: {},
69
+ render: _1.TextInputOptional,
70
+ parameters: {
71
+ docs: {
72
+ source: {
73
+ language: 'tsx',
74
+ type: 'code',
75
+ code: _1.TextInputOptionalSource,
76
+ },
77
+ },
78
+ },
79
+ };
80
+ exports.Disabled = {
81
+ args: {},
82
+ render: _1.TextInputDisabled,
83
+ parameters: {
84
+ docs: {
85
+ source: {
86
+ language: 'tsx',
87
+ type: 'code',
88
+ code: _1.TextInputDisabledSource,
89
+ },
90
+ },
91
+ },
92
+ };
93
+ exports.Readonly = {
94
+ args: {},
95
+ render: _1.TextInputReadonly,
96
+ parameters: {
97
+ docs: {
98
+ source: {
99
+ language: 'tsx',
100
+ type: 'code',
101
+ code: _1.TextInputReadonlySource,
102
+ },
103
+ },
104
+ },
105
+ };
106
+ exports.Error = {
107
+ args: {},
108
+ render: _1.TextInputError,
109
+ parameters: {
110
+ docs: {
111
+ source: {
112
+ language: 'tsx',
113
+ type: 'code',
114
+ code: _1.TextInputErrorSource,
115
+ },
116
+ },
117
+ },
118
+ };
119
+ exports.InformationIcon = {
120
+ args: {},
121
+ render: _1.TextInputInformationIcon,
122
+ parameters: {
123
+ docs: {
124
+ source: {
125
+ language: 'tsx',
126
+ type: 'code',
127
+ code: _1.TextInputInformationIconSource,
128
+ },
129
+ },
130
+ },
131
+ };
132
+ exports.Email = {
133
+ args: {},
134
+ render: _1.TextInputEmail,
135
+ parameters: {
136
+ docs: {
137
+ source: {
138
+ language: 'tsx',
139
+ type: 'code',
140
+ code: _1.TextInputEmailSource,
141
+ },
142
+ },
143
+ },
144
+ };
145
+ exports.Number = {
146
+ args: {},
147
+ render: _1.TextInputNumber,
148
+ parameters: {
149
+ docs: {
150
+ source: {
151
+ language: 'tsx',
152
+ type: 'code',
153
+ code: _1.TextInputNumberSource,
154
+ },
155
+ },
156
+ },
157
+ };
158
+ exports.WithIcons = {
159
+ args: {},
160
+ render: _1.TextInputWithIcons,
161
+ parameters: {
162
+ docs: {
163
+ source: {
164
+ language: 'tsx',
165
+ type: 'code',
166
+ code: _1.TextInputWithIconsSource,
167
+ },
168
+ },
169
+ },
170
+ };
171
+ exports.Password = {
172
+ args: {},
173
+ render: _1.TextInputPassword,
174
+ parameters: {
175
+ docs: {
176
+ source: {
177
+ language: 'tsx',
178
+ type: 'code',
179
+ code: _1.TextInputPasswordSource,
180
+ },
181
+ },
182
+ },
183
+ };
184
+ exports.Sizes = {
185
+ args: {},
186
+ render: _1.TextInputSizes,
187
+ parameters: {
188
+ docs: {
189
+ source: {
190
+ language: 'tsx',
191
+ type: 'code',
192
+ code: _1.TextInputSizesSource,
193
+ },
194
+ },
195
+ },
196
+ };
197
+ exports.Loading = {
198
+ args: {},
199
+ render: _1.TextInputLoading,
200
+ parameters: {
201
+ docs: {
202
+ source: {
203
+ language: 'tsx',
204
+ type: 'code',
205
+ code: _1.TextInputLoadingSource,
206
+ },
207
+ },
208
+ },
209
+ };
210
+ exports.Full = {
211
+ args: {},
212
+ render: _1.TextInputFull,
213
+ parameters: {
214
+ docs: {
215
+ source: {
216
+ language: 'tsx',
217
+ type: 'code',
218
+ code: _1.TextInputFullSource,
219
+ },
220
+ },
221
+ },
222
+ };
223
+ //# sourceMappingURL=text-input.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input.stories.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input.stories.tsx"],"names":[],"mappings":";;;;AAuBA,uCAAwC;AACxC,wBA6BW;AAEX,MAAM,aAAa,GAA2B;IAC5C,KAAK,EAAE,uBAAuB;IAC9B,EAAE,EAAE,uBAAuB;IAC3B,SAAS,EAAE,iBAAS;IACpB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,gCAAK,SAAS,EAAC,yBAAyB,YACtC,uBAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,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uB;aAC9B;SACF;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,iBAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,uBAAoB;aAC3B;SACF;KACF;CACF,CAAC;AAEW,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,yBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEW,QAAA,IAAI,GAAU;IACzB,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,gBAAa;IACrB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAmB;aAC1B;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ export { default as TextInputDefault } from './text-input-default.story';
22
+ export { default as TextInputRequired } from './text-input-required.story';
23
+ export { default as TextInputOptional } from './text-input-optional.story';
24
+ export { default as TextInputDisabled } from './text-input-disabled.story';
25
+ export { default as TextInputReadonly } from './text-input-readonly.story';
26
+ export { default as TextInputError } from './text-input-error.story';
27
+ export { default as TextInputInformationIcon } from './text-input-information-icon.story';
28
+ export { default as TextInputEmail } from './text-input-email.story';
29
+ export { default as TextInputNumber } from './text-input-number.story';
30
+ export { default as TextInputWithIcons } from './text-input-with-icons.story';
31
+ export { default as TextInputPassword } from './text-input-password.story';
32
+ export { default as TextInputSizes } from './text-input-sizes.story';
33
+ export { default as TextInputLoading } from './text-input-loading.story';
34
+ export { default as TextInputFull } from './text-input-full.story';
35
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
36
+ import TextInputDefaultSourceRaw from './text-input-default.story?raw';
37
+ import TextInputDisabledSourceRaw from './text-input-disabled.story?raw';
38
+ import TextInputEmailSourceRaw from './text-input-email.story?raw';
39
+ import TextInputErrorSourceRaw from './text-input-error.story?raw';
40
+ import TextInputFullSourceRaw from './text-input-full.story?raw';
41
+ import TextInputInformationIconSourceRaw from './text-input-information-icon.story?raw';
42
+ import TextInputLoadingSourceRaw from './text-input-loading.story?raw';
43
+ import TextInputNumberSourceRaw from './text-input-number.story?raw';
44
+ import TextInputOptionalSourceRaw from './text-input-optional.story?raw';
45
+ import TextInputPasswordSourceRaw from './text-input-password.story?raw';
46
+ import TextInputReadonlySourceRaw from './text-input-readonly.story?raw';
47
+ import TextInputRequiredSourceRaw from './text-input-required.story?raw';
48
+ import TextInputSizesSourceRaw from './text-input-sizes.story?raw';
49
+ import TextInputWithIconsSourceRaw from './text-input-with-icons.story?raw';
50
+ export const TextInputDefaultSource = removeLicenseHeader(TextInputDefaultSourceRaw);
51
+ export const TextInputRequiredSource = removeLicenseHeader(TextInputRequiredSourceRaw);
52
+ export const TextInputOptionalSource = removeLicenseHeader(TextInputOptionalSourceRaw);
53
+ export const TextInputDisabledSource = removeLicenseHeader(TextInputDisabledSourceRaw);
54
+ export const TextInputReadonlySource = removeLicenseHeader(TextInputReadonlySourceRaw);
55
+ export const TextInputErrorSource = removeLicenseHeader(TextInputErrorSourceRaw);
56
+ export const TextInputInformationIconSource = removeLicenseHeader(TextInputInformationIconSourceRaw);
57
+ export const TextInputEmailSource = removeLicenseHeader(TextInputEmailSourceRaw);
58
+ export const TextInputNumberSource = removeLicenseHeader(TextInputNumberSourceRaw);
59
+ export const TextInputWithIconsSource = removeLicenseHeader(TextInputWithIconsSourceRaw);
60
+ export const TextInputPasswordSource = removeLicenseHeader(TextInputPasswordSourceRaw);
61
+ export const TextInputSizesSource = removeLicenseHeader(TextInputSizesSourceRaw);
62
+ export const TextInputLoadingSource = removeLicenseHeader(TextInputLoadingSourceRaw);
63
+ export const TextInputFullSource = removeLicenseHeader(TextInputFullSourceRaw);
64
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/text-input/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI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AAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAAmB,CAC/D,iCAAiC,CAClC,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CACtD,wBAAwB,CACzB,CAAC;AACF,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(TextInput, { label: "Label", helpText: "Help text" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=text-input-default.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-default.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,SAAS,IAAC,KAAK,EAAC,OAAO,EAAC,QAAQ,EAAC,WAAW,GAAG,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(TextInput, { label: "Label", isDisabled: true, helpText: "Help text" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=text-input-disabled.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-disabled.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,SAAS,IAAC,KAAK,EAAC,OAAO,EAAC,UAAU,QAAC,QAAQ,EAAC,WAAW,GAAG,CAAC;AACrE,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(TextInput, { label: "Email Address", isRequired: true, placeholder: "user@example.com", htmlAttributes: {
26
+ type: 'email',
27
+ } }));
28
+ };
29
+ export default Component;
30
+ //# sourceMappingURL=text-input-email.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-email.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-email.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAC,eAAe,EACrB,UAAU,QACV,WAAW,EAAC,kBAAkB,EAC9B,cAAc,EAAE;YACd,IAAI,EAAE,OAAO;SACd,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(TextInput, { label: "Label", errorText: "Error text" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=text-input-error.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-error.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-error.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,SAAS,IAAC,KAAK,EAAC,OAAO,EAAC,SAAS,EAAC,YAAY,GAAG,CAAC;AAC5D,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { IconButton, TextInput } from '@neo4j-ndl/react';
24
+ import { UserIconOutline, XMarkIconOutline } from '@neo4j-ndl/react/icons';
25
+ import { useState } from 'react';
26
+ const Component = () => {
27
+ const [textValue, setTextValue] = useState('');
28
+ return (_jsx(TextInput, { label: "Label", helpText: "Help text", placeholder: "Placeholder", value: textValue, onChange: (e) => setTextValue(e.target.value), leftElement: _jsx(UserIconOutline, {}), rightElement: _jsx(IconButton, { onClick: () => setTextValue(''), isClean: true, ariaLabel: "clear text", children: _jsx(XMarkIconOutline, {}) }), size: "medium", informationIconText: "Information icon text", tooltipProps: {
29
+ tooltipRoot: { placement: 'top' },
30
+ }, isRequired: false, isOptional: true, isDisabled: false, isReadOnly: false, isFluid: false, isSkeletonLoading: false, skeletonProps: {
31
+ onBackground: 'weak',
32
+ variant: 'rectangular',
33
+ } }));
34
+ };
35
+ export default Component;
36
+ //# sourceMappingURL=text-input-full.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-full.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAE/C,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,WAAW,EACpB,WAAW,EAAC,aAAa,EACzB,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC7C,WAAW,EAAE,KAAC,eAAe,KAAG,EAChC,YAAY,EACV,KAAC,UAAU,IACT,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,EAC/B,OAAO,QACP,SAAS,EAAC,YAAY,YAEtB,KAAC,gBAAgB,KAAG,GACT,EAEf,IAAI,EAAC,QAAQ,EACb,mBAAmB,EAAC,uBAAuB,EAC3C,YAAY,EAAE;YACZ,WAAW,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE;SAClC,EACD,UAAU,EAAE,KAAK,EACjB,UAAU,EAAE,IAAI,EAChB,UAAU,EAAE,KAAK,EACjB,UAAU,EAAE,KAAK,EACjB,OAAO,EAAE,KAAK,EACd,iBAAiB,EAAE,KAAK,EACxB,aAAa,EAAE;YACb,YAAY,EAAE,MAAM;YACpB,OAAO,EAAE,aAAa;SACvB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(TextInput, { label: "Label", informationIconText: "Information icon text" }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=text-input-information-icon.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-information-icon.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-information-icon.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IAAC,KAAK,EAAC,OAAO,EAAC,mBAAmB,EAAC,uBAAuB,GAAG,CACxE,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(TextInput, { label: "Label", helpText: "Help text", isSkeletonLoading: true, skeletonProps: {
26
+ onBackground: 'weak',
27
+ variant: 'rectangular',
28
+ } }));
29
+ };
30
+ export default Component;
31
+ //# sourceMappingURL=text-input-loading.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-loading.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-loading.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,WAAW,EACpB,iBAAiB,EAAE,IAAI,EACvB,aAAa,EAAE;YACb,YAAY,EAAE,MAAM;YACpB,OAAO,EAAE,aAAa;SACvB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(TextInput, { label: "Age", htmlAttributes: {
26
+ type: 'number',
27
+ min: '0',
28
+ max: '100',
29
+ } }));
30
+ };
31
+ export default Component;
32
+ //# sourceMappingURL=text-input-number.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-number.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-number.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAC,KAAK,EACX,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,GAAG,EAAE,GAAG;YACR,GAAG,EAAE,KAAK;SACX,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { TextInput } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(TextInput, { label: "Label", isOptional: true, helpText: "Help text" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=text-input-optional.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-optional.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-optional.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,SAAS,IAAC,KAAK,EAAC,OAAO,EAAC,UAAU,QAAC,QAAQ,EAAC,WAAW,GAAG,CAAC;AACrE,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { IconButton, TextInput } from '@neo4j-ndl/react';
24
+ import { EyeIconOutline, EyeSlashIconOutline } from '@neo4j-ndl/react/icons';
25
+ import { useState } from 'react';
26
+ const Component = () => {
27
+ const [isPasswordVisible, setIsPasswordVisible] = useState(false);
28
+ return (_jsx(TextInput, { label: "Password", rightElement: _jsx(IconButton, { onClick: () => setIsPasswordVisible(!isPasswordVisible), isClean: true, ariaLabel: "toggle password visibility", children: isPasswordVisible ? _jsx(EyeIconOutline, {}) : _jsx(EyeSlashIconOutline, {}) }), placeholder: "Enter password", htmlAttributes: {
29
+ type: isPasswordVisible ? 'text' : 'password',
30
+ } }));
31
+ };
32
+ export default Component;
33
+ //# sourceMappingURL=text-input-password.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-input-password.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-password.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAElE,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAC,UAAU,EAChB,YAAY,EACV,KAAC,UAAU,IACT,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,CAAC,iBAAiB,CAAC,EACvD,OAAO,QACP,SAAS,EAAC,4BAA4B,YAErC,iBAAiB,CAAC,CAAC,CAAC,KAAC,cAAc,KAAG,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,GACtD,EAEf,WAAW,EAAC,gBAAgB,EAC5B,cAAc,EAAE;YACd,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU;SAC9C,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}