@elixir-cloud/drs-filer 2.0.0-alpha.34
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/LICENSE +133 -0
- package/README.md +48 -0
- package/dist/chunks/chunk.3WU6NPWM.js +1 -0
- package/dist/chunks/chunk.566Z3G7U.js +141 -0
- package/dist/chunks/chunk.I3IINMCX.js +1 -0
- package/dist/chunks/chunk.I4IZIBWK.js +832 -0
- package/dist/chunks/chunk.LZXOE4LL.js +26 -0
- package/dist/chunks/chunk.S3NI7NKU.js +30 -0
- package/dist/chunks/chunk.WP2KCEZO.js +10 -0
- package/dist/chunks/chunk.XGZHBPCB.js +518 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +6 -0
- package/dist/components/object-create/index.d.ts +8 -0
- package/dist/components/object-create/index.js +5 -0
- package/dist/components/object-create/object-create.d.ts +59 -0
- package/dist/components/object-create/object-create.js +4 -0
- package/dist/components/object-create/tw-styles.d.ts +1 -0
- package/dist/components/object-create/tw-styles.js +2 -0
- package/dist/custom-elements.json +540 -0
- package/dist/events/ecc-drs-object-create-failed.d.ts +6 -0
- package/dist/events/ecc-drs-object-create-input-changed.d.ts +6 -0
- package/dist/events/ecc-drs-object-create-validation-failed.d.ts +6 -0
- package/dist/events/ecc-drs-object-created.d.ts +10 -0
- package/dist/events/ecc-drs-object-selected.d.ts +6 -0
- package/dist/events/ecc-drs-objects-changed.d.ts +6 -0
- package/dist/events/index.d.ts +6 -0
- package/dist/global.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -0
- package/dist/providers/drs-filer-provider.d.ts +73 -0
- package/dist/providers/drs-filer-provider.js +1 -0
- package/dist/providers/index.d.ts +4 -0
- package/dist/providers/index.js +3 -0
- package/dist/providers/rest-drs-filer-provider.d.ts +26 -0
- package/dist/providers/rest-drs-filer-provider.js +2 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +5 -0
- package/dist/react/object-create/index.d.ts +29 -0
- package/dist/react/object-create/index.js +5 -0
- package/dist/vscode.html-custom-data.json +17 -0
- package/dist/web-types.json +68 -0
- package/package.json +79 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ECCClientElixirDrsFilerObjectCreate } from './chunk.I4IZIBWK.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { createComponent } from '@lit/react';
|
|
4
|
+
|
|
5
|
+
var tagName = "ecc-client-elixir-drs-filer-object-create";
|
|
6
|
+
if (typeof window !== "undefined" && window.customElements && !window.customElements.get("ecc-client-elixir-drs-filer-object-create")) {
|
|
7
|
+
window.customElements.define(
|
|
8
|
+
"ecc-client-elixir-drs-filer-object-create",
|
|
9
|
+
ECCClientElixirDrsFilerObjectCreate
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
var reactWrapper = createComponent({
|
|
13
|
+
tagName,
|
|
14
|
+
elementClass: ECCClientElixirDrsFilerObjectCreate,
|
|
15
|
+
react: React,
|
|
16
|
+
events: {
|
|
17
|
+
onEccDrsObjectCreated: "ecc-drs-object-created",
|
|
18
|
+
onEccDrsObjectCreateFailed: "ecc-drs-object-create-failed",
|
|
19
|
+
onEccDrsObjectCreateValidationFailed: "ecc-drs-object-create-validation-failed",
|
|
20
|
+
onEccDrsObjectCreateInputChanged: "ecc-drs-object-create-input-changed"
|
|
21
|
+
},
|
|
22
|
+
displayName: "EccClientElixirDrsFilerObjectCreate"
|
|
23
|
+
});
|
|
24
|
+
var object_create_default = reactWrapper;
|
|
25
|
+
|
|
26
|
+
export { object_create_default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __spreadValues = (a, b) => {
|
|
10
|
+
for (var prop in b || (b = {}))
|
|
11
|
+
if (__hasOwnProp.call(b, prop))
|
|
12
|
+
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
if (__getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
+
if (__propIsEnum.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
}
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
20
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
22
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
23
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24
|
+
if (decorator = decorators[i])
|
|
25
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26
|
+
if (kind && result) __defProp(target, key, result);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { __decorateClass, __spreadProps, __spreadValues };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { object_create_default } from './chunk.I4IZIBWK.js';
|
|
2
|
+
|
|
3
|
+
// src/components/object-create/index.ts
|
|
4
|
+
window.customElements.define(
|
|
5
|
+
"ecc-client-elixir-drs-filer-object-create",
|
|
6
|
+
object_create_default
|
|
7
|
+
);
|
|
8
|
+
var object_create_default2 = object_create_default;
|
|
9
|
+
|
|
10
|
+
export { object_create_default2 as object_create_default };
|
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
|
|
3
|
+
// src/components/object-create/tw-styles.ts
|
|
4
|
+
var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
|
|
5
|
+
@layer properties;
|
|
6
|
+
@layer theme, base, components, utilities;
|
|
7
|
+
@layer theme {
|
|
8
|
+
:root, :host {
|
|
9
|
+
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
10
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
11
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
12
|
+
"Courier New", monospace;
|
|
13
|
+
--color-blue-50: oklch(97% 0.014 254.604);
|
|
14
|
+
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
15
|
+
--color-blue-700: oklch(48.8% 0.243 264.376);
|
|
16
|
+
--spacing: 0.25rem;
|
|
17
|
+
--text-xs: 0.75rem;
|
|
18
|
+
--text-xs--line-height: calc(1 / 0.75);
|
|
19
|
+
--text-sm: 0.875rem;
|
|
20
|
+
--text-sm--line-height: calc(1.25 / 0.875);
|
|
21
|
+
--text-lg: 1.125rem;
|
|
22
|
+
--text-lg--line-height: calc(1.75 / 1.125);
|
|
23
|
+
--font-weight-medium: 500;
|
|
24
|
+
--default-font-family: var(--font-sans);
|
|
25
|
+
--default-mono-font-family: var(--font-mono);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
@layer base {
|
|
29
|
+
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
margin: 0;
|
|
32
|
+
padding: 0;
|
|
33
|
+
border: 0 solid;
|
|
34
|
+
}
|
|
35
|
+
html, :host {
|
|
36
|
+
line-height: 1.5;
|
|
37
|
+
-webkit-text-size-adjust: 100%;
|
|
38
|
+
tab-size: 4;
|
|
39
|
+
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
40
|
+
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
41
|
+
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
42
|
+
-webkit-tap-highlight-color: transparent;
|
|
43
|
+
}
|
|
44
|
+
hr {
|
|
45
|
+
height: 0;
|
|
46
|
+
color: inherit;
|
|
47
|
+
border-top-width: 1px;
|
|
48
|
+
}
|
|
49
|
+
abbr:where([title]) {
|
|
50
|
+
-webkit-text-decoration: underline dotted;
|
|
51
|
+
text-decoration: underline dotted;
|
|
52
|
+
}
|
|
53
|
+
h1, h2, h3, h4, h5, h6 {
|
|
54
|
+
font-size: inherit;
|
|
55
|
+
font-weight: inherit;
|
|
56
|
+
}
|
|
57
|
+
a {
|
|
58
|
+
color: inherit;
|
|
59
|
+
-webkit-text-decoration: inherit;
|
|
60
|
+
text-decoration: inherit;
|
|
61
|
+
}
|
|
62
|
+
b, strong {
|
|
63
|
+
font-weight: bolder;
|
|
64
|
+
}
|
|
65
|
+
code, kbd, samp, pre {
|
|
66
|
+
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
67
|
+
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
68
|
+
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
69
|
+
font-size: 1em;
|
|
70
|
+
}
|
|
71
|
+
small {
|
|
72
|
+
font-size: 80%;
|
|
73
|
+
}
|
|
74
|
+
sub, sup {
|
|
75
|
+
font-size: 75%;
|
|
76
|
+
line-height: 0;
|
|
77
|
+
position: relative;
|
|
78
|
+
vertical-align: baseline;
|
|
79
|
+
}
|
|
80
|
+
sub {
|
|
81
|
+
bottom: -0.25em;
|
|
82
|
+
}
|
|
83
|
+
sup {
|
|
84
|
+
top: -0.5em;
|
|
85
|
+
}
|
|
86
|
+
table {
|
|
87
|
+
text-indent: 0;
|
|
88
|
+
border-color: inherit;
|
|
89
|
+
border-collapse: collapse;
|
|
90
|
+
}
|
|
91
|
+
:-moz-focusring {
|
|
92
|
+
outline: auto;
|
|
93
|
+
}
|
|
94
|
+
progress {
|
|
95
|
+
vertical-align: baseline;
|
|
96
|
+
}
|
|
97
|
+
summary {
|
|
98
|
+
display: list-item;
|
|
99
|
+
}
|
|
100
|
+
ol, ul, menu {
|
|
101
|
+
list-style: none;
|
|
102
|
+
}
|
|
103
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
104
|
+
display: block;
|
|
105
|
+
vertical-align: middle;
|
|
106
|
+
}
|
|
107
|
+
img, video {
|
|
108
|
+
max-width: 100%;
|
|
109
|
+
height: auto;
|
|
110
|
+
}
|
|
111
|
+
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
112
|
+
font: inherit;
|
|
113
|
+
font-feature-settings: inherit;
|
|
114
|
+
font-variation-settings: inherit;
|
|
115
|
+
letter-spacing: inherit;
|
|
116
|
+
color: inherit;
|
|
117
|
+
border-radius: 0;
|
|
118
|
+
background-color: transparent;
|
|
119
|
+
opacity: 1;
|
|
120
|
+
}
|
|
121
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
122
|
+
font-weight: bolder;
|
|
123
|
+
}
|
|
124
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
125
|
+
padding-inline-start: 20px;
|
|
126
|
+
}
|
|
127
|
+
::file-selector-button {
|
|
128
|
+
margin-inline-end: 4px;
|
|
129
|
+
}
|
|
130
|
+
::placeholder {
|
|
131
|
+
opacity: 1;
|
|
132
|
+
}
|
|
133
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
134
|
+
::placeholder {
|
|
135
|
+
color: currentcolor;
|
|
136
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
137
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
textarea {
|
|
142
|
+
resize: vertical;
|
|
143
|
+
}
|
|
144
|
+
::-webkit-search-decoration {
|
|
145
|
+
-webkit-appearance: none;
|
|
146
|
+
}
|
|
147
|
+
::-webkit-date-and-time-value {
|
|
148
|
+
min-height: 1lh;
|
|
149
|
+
text-align: inherit;
|
|
150
|
+
}
|
|
151
|
+
::-webkit-datetime-edit {
|
|
152
|
+
display: inline-flex;
|
|
153
|
+
}
|
|
154
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
155
|
+
padding: 0;
|
|
156
|
+
}
|
|
157
|
+
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
158
|
+
padding-block: 0;
|
|
159
|
+
}
|
|
160
|
+
:-moz-ui-invalid {
|
|
161
|
+
box-shadow: none;
|
|
162
|
+
}
|
|
163
|
+
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
164
|
+
appearance: button;
|
|
165
|
+
}
|
|
166
|
+
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
167
|
+
height: auto;
|
|
168
|
+
}
|
|
169
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
170
|
+
display: none !important;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
@layer utilities {
|
|
174
|
+
.absolute {
|
|
175
|
+
position: absolute;
|
|
176
|
+
}
|
|
177
|
+
.relative {
|
|
178
|
+
position: relative;
|
|
179
|
+
}
|
|
180
|
+
.static {
|
|
181
|
+
position: static;
|
|
182
|
+
}
|
|
183
|
+
.top-0 {
|
|
184
|
+
top: calc(var(--spacing) * 0);
|
|
185
|
+
}
|
|
186
|
+
.top-6 {
|
|
187
|
+
top: calc(var(--spacing) * 6);
|
|
188
|
+
}
|
|
189
|
+
.bottom-0 {
|
|
190
|
+
bottom: calc(var(--spacing) * 0);
|
|
191
|
+
}
|
|
192
|
+
.-left-4 {
|
|
193
|
+
left: calc(var(--spacing) * -4);
|
|
194
|
+
}
|
|
195
|
+
.mt-2 {
|
|
196
|
+
margin-top: calc(var(--spacing) * 2);
|
|
197
|
+
}
|
|
198
|
+
.mt-4 {
|
|
199
|
+
margin-top: calc(var(--spacing) * 4);
|
|
200
|
+
}
|
|
201
|
+
.mt-6 {
|
|
202
|
+
margin-top: calc(var(--spacing) * 6);
|
|
203
|
+
}
|
|
204
|
+
.contents {
|
|
205
|
+
display: contents;
|
|
206
|
+
}
|
|
207
|
+
.flex {
|
|
208
|
+
display: flex;
|
|
209
|
+
}
|
|
210
|
+
.grid {
|
|
211
|
+
display: grid;
|
|
212
|
+
}
|
|
213
|
+
.inline-flex {
|
|
214
|
+
display: inline-flex;
|
|
215
|
+
}
|
|
216
|
+
.h-px {
|
|
217
|
+
height: 1px;
|
|
218
|
+
}
|
|
219
|
+
.w-4 {
|
|
220
|
+
width: calc(var(--spacing) * 4);
|
|
221
|
+
}
|
|
222
|
+
.w-px {
|
|
223
|
+
width: 1px;
|
|
224
|
+
}
|
|
225
|
+
.grid-cols-1 {
|
|
226
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
227
|
+
}
|
|
228
|
+
.items-center {
|
|
229
|
+
align-items: center;
|
|
230
|
+
}
|
|
231
|
+
.items-end {
|
|
232
|
+
align-items: flex-end;
|
|
233
|
+
}
|
|
234
|
+
.justify-between {
|
|
235
|
+
justify-content: space-between;
|
|
236
|
+
}
|
|
237
|
+
.gap-1 {
|
|
238
|
+
gap: calc(var(--spacing) * 1);
|
|
239
|
+
}
|
|
240
|
+
.gap-2 {
|
|
241
|
+
gap: calc(var(--spacing) * 2);
|
|
242
|
+
}
|
|
243
|
+
.gap-4 {
|
|
244
|
+
gap: calc(var(--spacing) * 4);
|
|
245
|
+
}
|
|
246
|
+
.space-y-3 {
|
|
247
|
+
:where(& > :not(:last-child)) {
|
|
248
|
+
--tw-space-y-reverse: 0;
|
|
249
|
+
margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
|
|
250
|
+
margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
.space-y-4 {
|
|
254
|
+
:where(& > :not(:last-child)) {
|
|
255
|
+
--tw-space-y-reverse: 0;
|
|
256
|
+
margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
|
|
257
|
+
margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
.space-y-6 {
|
|
261
|
+
:where(& > :not(:last-child)) {
|
|
262
|
+
--tw-space-y-reverse: 0;
|
|
263
|
+
margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
|
|
264
|
+
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
.space-x-2 {
|
|
268
|
+
:where(& > :not(:last-child)) {
|
|
269
|
+
--tw-space-x-reverse: 0;
|
|
270
|
+
margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));
|
|
271
|
+
margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
.rounded {
|
|
275
|
+
border-radius: 0.25rem;
|
|
276
|
+
}
|
|
277
|
+
.rounded-lg {
|
|
278
|
+
border-radius: var(--radius);
|
|
279
|
+
}
|
|
280
|
+
.rounded-md {
|
|
281
|
+
border-radius: calc(var(--radius) - 2px);
|
|
282
|
+
}
|
|
283
|
+
.border {
|
|
284
|
+
border-style: var(--tw-border-style);
|
|
285
|
+
border-width: 1px;
|
|
286
|
+
}
|
|
287
|
+
.border-blue-200 {
|
|
288
|
+
border-color: var(--color-blue-200);
|
|
289
|
+
}
|
|
290
|
+
.border-destructive {
|
|
291
|
+
border-color: var(--destructive);
|
|
292
|
+
}
|
|
293
|
+
.border-primary {
|
|
294
|
+
border-color: var(--primary);
|
|
295
|
+
}
|
|
296
|
+
.bg-blue-50 {
|
|
297
|
+
background-color: var(--color-blue-50);
|
|
298
|
+
}
|
|
299
|
+
.bg-border {
|
|
300
|
+
background-color: var(--border);
|
|
301
|
+
}
|
|
302
|
+
.bg-destructive\\/10 {
|
|
303
|
+
background-color: var(--destructive);
|
|
304
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
305
|
+
background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
.bg-muted {
|
|
309
|
+
background-color: var(--muted);
|
|
310
|
+
}
|
|
311
|
+
.bg-primary\\/10 {
|
|
312
|
+
background-color: var(--primary);
|
|
313
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
314
|
+
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
.p-4 {
|
|
318
|
+
padding: calc(var(--spacing) * 4);
|
|
319
|
+
}
|
|
320
|
+
.px-2 {
|
|
321
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
322
|
+
}
|
|
323
|
+
.py-1 {
|
|
324
|
+
padding-block: calc(var(--spacing) * 1);
|
|
325
|
+
}
|
|
326
|
+
.font-mono {
|
|
327
|
+
font-family: var(--font-mono);
|
|
328
|
+
}
|
|
329
|
+
.text-lg {
|
|
330
|
+
font-size: var(--text-lg);
|
|
331
|
+
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
332
|
+
}
|
|
333
|
+
.text-sm {
|
|
334
|
+
font-size: var(--text-sm);
|
|
335
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
336
|
+
}
|
|
337
|
+
.text-xs {
|
|
338
|
+
font-size: var(--text-xs);
|
|
339
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
340
|
+
}
|
|
341
|
+
.font-medium {
|
|
342
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
343
|
+
font-weight: var(--font-weight-medium);
|
|
344
|
+
}
|
|
345
|
+
.text-blue-700 {
|
|
346
|
+
color: var(--color-blue-700);
|
|
347
|
+
}
|
|
348
|
+
.text-destructive-foreground {
|
|
349
|
+
color: var(--destructive-foreground);
|
|
350
|
+
}
|
|
351
|
+
.text-muted-foreground {
|
|
352
|
+
color: var(--muted-foreground);
|
|
353
|
+
}
|
|
354
|
+
.text-primary-foreground {
|
|
355
|
+
color: var(--primary-foreground);
|
|
356
|
+
}
|
|
357
|
+
.opacity-60 {
|
|
358
|
+
opacity: 60%;
|
|
359
|
+
}
|
|
360
|
+
.outline {
|
|
361
|
+
outline-style: var(--tw-outline-style);
|
|
362
|
+
outline-width: 1px;
|
|
363
|
+
}
|
|
364
|
+
.md\\:grid-cols-2 {
|
|
365
|
+
@media (width >= 48rem) {
|
|
366
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
.md\\:grid-cols-3 {
|
|
370
|
+
@media (width >= 48rem) {
|
|
371
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
@property --tw-animation-delay {
|
|
376
|
+
syntax: "*";
|
|
377
|
+
inherits: false;
|
|
378
|
+
initial-value: 0s;
|
|
379
|
+
}
|
|
380
|
+
@property --tw-animation-direction {
|
|
381
|
+
syntax: "*";
|
|
382
|
+
inherits: false;
|
|
383
|
+
initial-value: normal;
|
|
384
|
+
}
|
|
385
|
+
@property --tw-animation-duration {
|
|
386
|
+
syntax: "*";
|
|
387
|
+
inherits: false;
|
|
388
|
+
}
|
|
389
|
+
@property --tw-animation-fill-mode {
|
|
390
|
+
syntax: "*";
|
|
391
|
+
inherits: false;
|
|
392
|
+
initial-value: none;
|
|
393
|
+
}
|
|
394
|
+
@property --tw-animation-iteration-count {
|
|
395
|
+
syntax: "*";
|
|
396
|
+
inherits: false;
|
|
397
|
+
initial-value: 1;
|
|
398
|
+
}
|
|
399
|
+
@property --tw-enter-opacity {
|
|
400
|
+
syntax: "*";
|
|
401
|
+
inherits: false;
|
|
402
|
+
initial-value: 1;
|
|
403
|
+
}
|
|
404
|
+
@property --tw-enter-rotate {
|
|
405
|
+
syntax: "*";
|
|
406
|
+
inherits: false;
|
|
407
|
+
initial-value: 0;
|
|
408
|
+
}
|
|
409
|
+
@property --tw-enter-scale {
|
|
410
|
+
syntax: "*";
|
|
411
|
+
inherits: false;
|
|
412
|
+
initial-value: 1;
|
|
413
|
+
}
|
|
414
|
+
@property --tw-enter-translate-x {
|
|
415
|
+
syntax: "*";
|
|
416
|
+
inherits: false;
|
|
417
|
+
initial-value: 0;
|
|
418
|
+
}
|
|
419
|
+
@property --tw-enter-translate-y {
|
|
420
|
+
syntax: "*";
|
|
421
|
+
inherits: false;
|
|
422
|
+
initial-value: 0;
|
|
423
|
+
}
|
|
424
|
+
@property --tw-exit-opacity {
|
|
425
|
+
syntax: "*";
|
|
426
|
+
inherits: false;
|
|
427
|
+
initial-value: 1;
|
|
428
|
+
}
|
|
429
|
+
@property --tw-exit-rotate {
|
|
430
|
+
syntax: "*";
|
|
431
|
+
inherits: false;
|
|
432
|
+
initial-value: 0;
|
|
433
|
+
}
|
|
434
|
+
@property --tw-exit-scale {
|
|
435
|
+
syntax: "*";
|
|
436
|
+
inherits: false;
|
|
437
|
+
initial-value: 1;
|
|
438
|
+
}
|
|
439
|
+
@property --tw-exit-translate-x {
|
|
440
|
+
syntax: "*";
|
|
441
|
+
inherits: false;
|
|
442
|
+
initial-value: 0;
|
|
443
|
+
}
|
|
444
|
+
@property --tw-exit-translate-y {
|
|
445
|
+
syntax: "*";
|
|
446
|
+
inherits: false;
|
|
447
|
+
initial-value: 0;
|
|
448
|
+
}
|
|
449
|
+
@layer base {
|
|
450
|
+
* {
|
|
451
|
+
border-color: var(--border);
|
|
452
|
+
outline-color: var(--ring);
|
|
453
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
454
|
+
outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
body {
|
|
458
|
+
background-color: var(--background);
|
|
459
|
+
color: var(--foreground);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
:host {
|
|
463
|
+
font-family: inherit;
|
|
464
|
+
line-height: inherit;
|
|
465
|
+
}
|
|
466
|
+
@property --tw-space-y-reverse {
|
|
467
|
+
syntax: "*";
|
|
468
|
+
inherits: false;
|
|
469
|
+
initial-value: 0;
|
|
470
|
+
}
|
|
471
|
+
@property --tw-space-x-reverse {
|
|
472
|
+
syntax: "*";
|
|
473
|
+
inherits: false;
|
|
474
|
+
initial-value: 0;
|
|
475
|
+
}
|
|
476
|
+
@property --tw-border-style {
|
|
477
|
+
syntax: "*";
|
|
478
|
+
inherits: false;
|
|
479
|
+
initial-value: solid;
|
|
480
|
+
}
|
|
481
|
+
@property --tw-font-weight {
|
|
482
|
+
syntax: "*";
|
|
483
|
+
inherits: false;
|
|
484
|
+
}
|
|
485
|
+
@property --tw-outline-style {
|
|
486
|
+
syntax: "*";
|
|
487
|
+
inherits: false;
|
|
488
|
+
initial-value: solid;
|
|
489
|
+
}
|
|
490
|
+
@layer properties {
|
|
491
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
492
|
+
*, ::before, ::after, ::backdrop {
|
|
493
|
+
--tw-space-y-reverse: 0;
|
|
494
|
+
--tw-space-x-reverse: 0;
|
|
495
|
+
--tw-border-style: solid;
|
|
496
|
+
--tw-font-weight: initial;
|
|
497
|
+
--tw-outline-style: solid;
|
|
498
|
+
--tw-animation-delay: 0s;
|
|
499
|
+
--tw-animation-direction: normal;
|
|
500
|
+
--tw-animation-duration: initial;
|
|
501
|
+
--tw-animation-fill-mode: none;
|
|
502
|
+
--tw-animation-iteration-count: 1;
|
|
503
|
+
--tw-enter-opacity: 1;
|
|
504
|
+
--tw-enter-rotate: 0;
|
|
505
|
+
--tw-enter-scale: 1;
|
|
506
|
+
--tw-enter-translate-x: 0;
|
|
507
|
+
--tw-enter-translate-y: 0;
|
|
508
|
+
--tw-exit-opacity: 1;
|
|
509
|
+
--tw-exit-rotate: 0;
|
|
510
|
+
--tw-exit-scale: 1;
|
|
511
|
+
--tw-exit-translate-x: 0;
|
|
512
|
+
--tw-exit-translate-y: 0;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
`;
|
|
517
|
+
|
|
518
|
+
export { ComponentStyles };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./object-create/index.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import ECCClientElixirDrsFilerObjectCreate from "./object-create.js";
|
|
2
|
+
export * from "./object-create.js";
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
"ecc-client-elixir-drs-filer-object-create": ECCClientElixirDrsFilerObjectCreate;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export default ECCClientElixirDrsFilerObjectCreate;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { object_create_default as default } from '../../chunks/chunk.WP2KCEZO.js';
|
|
2
|
+
export { ECCClientElixirDrsFilerObjectCreate } from '../../chunks/chunk.I4IZIBWK.js';
|
|
3
|
+
import '../../chunks/chunk.XGZHBPCB.js';
|
|
4
|
+
import '../../chunks/chunk.566Z3G7U.js';
|
|
5
|
+
import '../../chunks/chunk.S3NI7NKU.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { DrsFilerProvider } from "../../providers/index.js";
|
|
3
|
+
import "@elixir-cloud/design/components/button/index.js";
|
|
4
|
+
import "@elixir-cloud/design/components/input/index.js";
|
|
5
|
+
import "@elixir-cloud/design/components/select/index.js";
|
|
6
|
+
import "@elixir-cloud/design/components/label/index.js";
|
|
7
|
+
import "@elixir-cloud/design/components/textarea/index.js";
|
|
8
|
+
import "@elixir-cloud/design/components/badge/index.js";
|
|
9
|
+
import "@elixir-cloud/design/components/tabs/index.js";
|
|
10
|
+
import "@elixir-cloud/design/components/separator/index.js";
|
|
11
|
+
import "@elixir-cloud/design/components/checkbox/index.js";
|
|
12
|
+
/**
|
|
13
|
+
* @summary Component for creating new DRS objects in DRS-Filer
|
|
14
|
+
* @since 2.0.0
|
|
15
|
+
*
|
|
16
|
+
* @property {string} baseUrl - Base URL of the DRS instance/gateway
|
|
17
|
+
* @property {DrsFilerProvider} provider - Custom data provider (optional, overrides baseUrl)
|
|
18
|
+
*
|
|
19
|
+
* @fires ecc-drs-object-created - Fired when an object is successfully created
|
|
20
|
+
* @fires ecc-drs-object-create-failed - Fired when object creation fails
|
|
21
|
+
* @fires ecc-drs-object-create-validation-failed - Fired when there are validation errors
|
|
22
|
+
* @fires ecc-drs-object-create-input-changed - Fired when an input field is changed
|
|
23
|
+
*/
|
|
24
|
+
export declare class ECCClientElixirDrsFilerObjectCreate extends LitElement {
|
|
25
|
+
static styles: import("lit").CSSResult[];
|
|
26
|
+
baseUrl: string;
|
|
27
|
+
provider?: DrsFilerProvider;
|
|
28
|
+
private loading;
|
|
29
|
+
private error;
|
|
30
|
+
private success;
|
|
31
|
+
private formData;
|
|
32
|
+
private objectType;
|
|
33
|
+
private _provider;
|
|
34
|
+
protected firstUpdated(): Promise<void>;
|
|
35
|
+
protected updated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
36
|
+
private handleInputChange;
|
|
37
|
+
private handleArrayInputChange;
|
|
38
|
+
private addChecksum;
|
|
39
|
+
private removeChecksum;
|
|
40
|
+
private updateChecksum;
|
|
41
|
+
private addAccessMethod;
|
|
42
|
+
private removeAccessMethod;
|
|
43
|
+
private updateAccessMethod;
|
|
44
|
+
private handleSubmit;
|
|
45
|
+
private resetForm;
|
|
46
|
+
private renderBasicFields;
|
|
47
|
+
private renderChecksums;
|
|
48
|
+
private renderAccessMethods;
|
|
49
|
+
private renderBundleContents;
|
|
50
|
+
private renderBundleContentItem;
|
|
51
|
+
private addBundleContent;
|
|
52
|
+
private removeBundleContent;
|
|
53
|
+
private updateBundleContent;
|
|
54
|
+
private addNestedContent;
|
|
55
|
+
private indentContent;
|
|
56
|
+
private outdentContent;
|
|
57
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
58
|
+
}
|
|
59
|
+
export default ECCClientElixirDrsFilerObjectCreate;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ComponentStyles: import("lit").CSSResult;
|