@omegagrid/dialog 0.5.19 → 0.6.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/components/dialog.js +59 -63
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dialog.style.js +8 -14
- package/dist/components/dialog.style.js.map +1 -1
- package/dist/components/index.js +1 -17
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +13 -11
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +3 -5
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -17
- package/dist/index.js.map +1 -1
- package/dist/types.js +1 -2
- package/package.json +3 -3
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
2
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
3
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
6
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const map_js_1 = require("lit/directives/map.js");
|
|
14
|
-
const dialog_style_1 = require("./dialog.style");
|
|
7
|
+
import { dom, utils } from '@omegagrid/core';
|
|
8
|
+
import { LitElement, html } from 'lit';
|
|
9
|
+
import { customElement, property, query, state } from 'lit/decorators.js';
|
|
10
|
+
import { map } from 'lit/directives/map.js';
|
|
11
|
+
import { style } from './dialog.style';
|
|
15
12
|
const DEFAULT_BUTTON_CONFIG = new Map([
|
|
16
13
|
['ok', { type: 'ok', text: 'OK', default: true }],
|
|
17
14
|
['cancel', { type: 'cancel', text: 'Cancel' }],
|
|
@@ -19,15 +16,14 @@ const DEFAULT_BUTTON_CONFIG = new Map([
|
|
|
19
16
|
['no', { type: 'no', text: 'No' }],
|
|
20
17
|
['close', { type: 'close', text: 'Close' }]
|
|
21
18
|
]);
|
|
22
|
-
class DialogEvent extends Event {
|
|
19
|
+
export class DialogEvent extends Event {
|
|
23
20
|
constructor(type, dialog, button) {
|
|
24
21
|
super(`dialog.${type}`, { bubbles: true, composed: true, cancelable: true });
|
|
25
22
|
this.dialog = dialog;
|
|
26
23
|
this.button = button;
|
|
27
24
|
}
|
|
28
25
|
}
|
|
29
|
-
|
|
30
|
-
let Dialog = class Dialog extends lit_1.LitElement {
|
|
26
|
+
let Dialog = class Dialog extends LitElement {
|
|
31
27
|
set location(value) { this.positionDialog(value); }
|
|
32
28
|
get location() {
|
|
33
29
|
if (this._location == null)
|
|
@@ -75,7 +71,7 @@ let Dialog = class Dialog extends lit_1.LitElement {
|
|
|
75
71
|
};
|
|
76
72
|
this._onParentMouseMove = (e) => {
|
|
77
73
|
this._location = null;
|
|
78
|
-
|
|
74
|
+
dom.setPosition(this, {
|
|
79
75
|
l: this._elementOffset.left + e.clientX - this._movingOffset.left,
|
|
80
76
|
t: this._elementOffset.top + e.clientY - this._movingOffset.top,
|
|
81
77
|
});
|
|
@@ -87,7 +83,7 @@ let Dialog = class Dialog extends lit_1.LitElement {
|
|
|
87
83
|
this.close();
|
|
88
84
|
};
|
|
89
85
|
this.render = () => {
|
|
90
|
-
const buttons =
|
|
86
|
+
const buttons = map(this.buttons, btn => html `
|
|
91
87
|
<og-button
|
|
92
88
|
.text="${DEFAULT_BUTTON_CONFIG.get(btn).text}"
|
|
93
89
|
@click="${() => this._onClick(btn)}"
|
|
@@ -95,32 +91,32 @@ let Dialog = class Dialog extends lit_1.LitElement {
|
|
|
95
91
|
?default="${DEFAULT_BUTTON_CONFIG.get(btn).default}">
|
|
96
92
|
</og-button>
|
|
97
93
|
`);
|
|
98
|
-
const alerts =
|
|
94
|
+
const alerts = map(this.alerts, alert => html `
|
|
99
95
|
<og-alert .text="${alert.text}" .type="${alert.type}" closable></og-alert>
|
|
100
96
|
`);
|
|
101
|
-
return
|
|
97
|
+
return html `
|
|
102
98
|
<div id="header" @mousedown="${this._onHeaderMouseDown}">
|
|
103
|
-
<div id="title">${this.header ?
|
|
104
|
-
${this.closable ?
|
|
99
|
+
<div id="title">${this.header ? html `${this.header}` : html `<slot name="header"></slot>`}</div>
|
|
100
|
+
${this.closable ? html `<div id="close" @click="${() => this.close()}">×</div>` : ``}
|
|
105
101
|
</div>
|
|
106
|
-
${this.buttons.length > 0 && this.buttonPosition == 'top' ?
|
|
107
|
-
${this.alerts.length > 0 && this.alertPosition == 'top' ?
|
|
102
|
+
${this.buttons.length > 0 && this.buttonPosition == 'top' ? html `<div id="buttons">${buttons}</div>` : ``}
|
|
103
|
+
${this.alerts.length > 0 && this.alertPosition == 'top' ? html `<div id="alerts">${alerts}</div>` : ``}
|
|
108
104
|
<div id="body">
|
|
109
|
-
${this.loaderVisible ?
|
|
110
|
-
${this.scrollable ?
|
|
105
|
+
${this.loaderVisible ? html `<og-overlay defaultLoader></og-overlay>` : ``}
|
|
106
|
+
${this.scrollable ? html `
|
|
111
107
|
<og-container>
|
|
112
108
|
${this.component
|
|
113
|
-
?
|
|
114
|
-
:
|
|
109
|
+
? html `<div slot="content">${this.component}</div>`
|
|
110
|
+
: html `<slot name="content" slot="content"></slot>`}
|
|
115
111
|
</og-container>
|
|
116
|
-
` :
|
|
112
|
+
` : html `
|
|
117
113
|
${this.component
|
|
118
|
-
?
|
|
119
|
-
:
|
|
114
|
+
? html `<div slot="content" style="height: 100%">${this.component}</div>`
|
|
115
|
+
: html `<slot name="content"></slot>`}
|
|
120
116
|
`}
|
|
121
117
|
</div>
|
|
122
|
-
${this.alerts.length > 0 && this.alertPosition == 'bottom' ?
|
|
123
|
-
${this.buttons.length > 0 && this.buttonPosition == 'bottom' ?
|
|
118
|
+
${this.alerts.length > 0 && this.alertPosition == 'bottom' ? html `<div id="alerts">${alerts}</div>` : ``}
|
|
119
|
+
${this.buttons.length > 0 && this.buttonPosition == 'bottom' ? html `<div id="buttons">${buttons}</div>` : ``}
|
|
124
120
|
`;
|
|
125
121
|
};
|
|
126
122
|
this.addEventListener('keydown', this._onKeyDown);
|
|
@@ -185,10 +181,10 @@ let Dialog = class Dialog extends lit_1.LitElement {
|
|
|
185
181
|
this.loader.show(this.body);
|
|
186
182
|
}
|
|
187
183
|
if (props.has('width') && this.width) {
|
|
188
|
-
|
|
184
|
+
dom.setSize(this, { w: this.width });
|
|
189
185
|
}
|
|
190
186
|
if (props.has('height') && this.height) {
|
|
191
|
-
|
|
187
|
+
dom.setSize(this, { h: this.height });
|
|
192
188
|
}
|
|
193
189
|
}
|
|
194
190
|
positionDialog(location) {
|
|
@@ -196,29 +192,29 @@ let Dialog = class Dialog extends lit_1.LitElement {
|
|
|
196
192
|
if (!this._parent)
|
|
197
193
|
return;
|
|
198
194
|
if (location == 'center')
|
|
199
|
-
|
|
195
|
+
dom.setCenterPosition(this, this._parent);
|
|
200
196
|
else {
|
|
201
|
-
if (
|
|
197
|
+
if (utils.isString(location.x)) {
|
|
202
198
|
if (location.x == 'left')
|
|
203
|
-
|
|
199
|
+
dom.setPosition(this, { l: 0 });
|
|
204
200
|
else if (location.x == 'right')
|
|
205
|
-
|
|
201
|
+
dom.setPosition(this, { r: 0 });
|
|
206
202
|
else
|
|
207
|
-
|
|
203
|
+
dom.setCenterPosition(this, this._parent, { horizontal: true, vertical: false });
|
|
208
204
|
}
|
|
209
205
|
else {
|
|
210
|
-
|
|
206
|
+
dom.setPosition(this, { l: location.x });
|
|
211
207
|
}
|
|
212
|
-
if (
|
|
208
|
+
if (utils.isString(location.y)) {
|
|
213
209
|
if (location.y == 'top')
|
|
214
|
-
|
|
210
|
+
dom.setPosition(this, { t: 0 });
|
|
215
211
|
else if (location.y == 'bottom')
|
|
216
|
-
|
|
212
|
+
dom.setPosition(this, { b: 0 });
|
|
217
213
|
else
|
|
218
|
-
|
|
214
|
+
dom.setCenterPosition(this, this._parent, { horizontal: false, vertical: true });
|
|
219
215
|
}
|
|
220
216
|
else {
|
|
221
|
-
|
|
217
|
+
dom.setPosition(this, { t: location.y });
|
|
222
218
|
}
|
|
223
219
|
}
|
|
224
220
|
}
|
|
@@ -227,66 +223,66 @@ let Dialog = class Dialog extends lit_1.LitElement {
|
|
|
227
223
|
location = location || this.location || 'center';
|
|
228
224
|
console.log(location);
|
|
229
225
|
(parent.shadowRoot ? parent.shadowRoot : parent).appendChild(this);
|
|
230
|
-
|
|
226
|
+
dom.showElement(this, this.scrollable || this.height ? 'flex' : 'block');
|
|
231
227
|
this.updateComplete.then(() => this.positionDialog(location));
|
|
232
228
|
}
|
|
233
229
|
close(dispatchEvent = true) {
|
|
234
|
-
|
|
230
|
+
dom.remove(this);
|
|
235
231
|
if (dispatchEvent)
|
|
236
232
|
this.dispatchEvent(new DialogEvent('close', this, null));
|
|
237
233
|
}
|
|
238
234
|
};
|
|
239
|
-
|
|
240
|
-
Dialog.styles = [dialog_style_1.style];
|
|
235
|
+
Dialog.styles = [style];
|
|
241
236
|
__decorate([
|
|
242
|
-
|
|
237
|
+
property({ type: Boolean, reflect: true })
|
|
243
238
|
], Dialog.prototype, "resizable", void 0);
|
|
244
239
|
__decorate([
|
|
245
|
-
|
|
240
|
+
property({ type: Boolean, reflect: true })
|
|
246
241
|
], Dialog.prototype, "closable", void 0);
|
|
247
242
|
__decorate([
|
|
248
|
-
|
|
243
|
+
property({ type: Boolean, reflect: true })
|
|
249
244
|
], Dialog.prototype, "scrollable", void 0);
|
|
250
245
|
__decorate([
|
|
251
|
-
|
|
246
|
+
property({ type: Boolean, reflect: true })
|
|
252
247
|
], Dialog.prototype, "disableButtons", void 0);
|
|
253
248
|
__decorate([
|
|
254
|
-
|
|
249
|
+
property({ type: Boolean, reflect: true })
|
|
255
250
|
], Dialog.prototype, "disableAutoclose", void 0);
|
|
256
251
|
__decorate([
|
|
257
|
-
|
|
252
|
+
property({ type: String, reflect: true })
|
|
258
253
|
], Dialog.prototype, "buttonPosition", void 0);
|
|
259
254
|
__decorate([
|
|
260
|
-
|
|
255
|
+
property({ type: String, reflect: true })
|
|
261
256
|
], Dialog.prototype, "alertPosition", void 0);
|
|
262
257
|
__decorate([
|
|
263
|
-
|
|
258
|
+
property({ type: Object })
|
|
264
259
|
], Dialog.prototype, "component", void 0);
|
|
265
260
|
__decorate([
|
|
266
|
-
|
|
261
|
+
property({ type: String })
|
|
267
262
|
], Dialog.prototype, "header", void 0);
|
|
268
263
|
__decorate([
|
|
269
|
-
|
|
264
|
+
property({ type: String, reflect: true })
|
|
270
265
|
], Dialog.prototype, "width", void 0);
|
|
271
266
|
__decorate([
|
|
272
|
-
|
|
267
|
+
property({ type: String, reflect: true })
|
|
273
268
|
], Dialog.prototype, "height", void 0);
|
|
274
269
|
__decorate([
|
|
275
|
-
|
|
270
|
+
property({ type: Array })
|
|
276
271
|
], Dialog.prototype, "buttons", void 0);
|
|
277
272
|
__decorate([
|
|
278
|
-
|
|
273
|
+
state()
|
|
279
274
|
], Dialog.prototype, "loaderVisible", void 0);
|
|
280
275
|
__decorate([
|
|
281
|
-
|
|
276
|
+
query('#body')
|
|
282
277
|
], Dialog.prototype, "body", void 0);
|
|
283
278
|
__decorate([
|
|
284
|
-
|
|
279
|
+
query('og-overlay')
|
|
285
280
|
], Dialog.prototype, "loader", void 0);
|
|
286
281
|
__decorate([
|
|
287
|
-
|
|
282
|
+
state()
|
|
288
283
|
], Dialog.prototype, "alerts", void 0);
|
|
289
|
-
|
|
290
|
-
|
|
284
|
+
Dialog = __decorate([
|
|
285
|
+
customElement('og-dialog')
|
|
291
286
|
], Dialog);
|
|
287
|
+
export { Dialog };
|
|
292
288
|
//# sourceMappingURL=dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../src/components/dialog.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../src/components/dialog.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,GAAG,EAAmB,KAAK,EAAoB,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIvC,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAmC;IACvE,CAAC,IAAI,EAAE,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;IAC/C,CAAC,QAAQ,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAC,CAAC;IAC5C,CAAC,KAAK,EAAE,EAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,CAAC;IACnC,CAAC,IAAI,EAAE,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,CAAC;IAChC,CAAC,OAAO,EAAE,EAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC,CAAC;CACzC,CAAC,CAAC;AAEH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAErC,YACC,IAAY,EACI,MAAc,EACd,MAAoB;QAEpC,KAAK,CAAC,UAAU,IAAI,EAAE,EAAE,EAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAC,CAAC,CAAC;QAH3D,WAAM,GAAN,MAAM,CAAQ;QACd,WAAM,GAAN,M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ADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;6CACA;AAGxC;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;yCACF;AAGvB;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;sCACV;AAGf;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;qCACnB;AAGrB;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;sCAClB;AAGtB;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC,CAAC;uCACK;AAG7B;IADC,KAAK,EAAE;6CACc;AAGtB;IADC,KAAK,CAAC,OAAO,CAAC;oCACM;AAGrB;IADC,KAAK,CAAC,YAAY,CAAC;sCACJ;AAGhB;IADC,KAAK,EAAE;sCACmB;AAlDf,MAAM;IADlB,aAAa,CAAC,WAAW,CAAC;GACd,MAAM,CA2QlB"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.style = void 0;
|
|
7
|
-
const lit_1 = require("lit");
|
|
8
|
-
const constants_1 = __importDefault(require("../constants"));
|
|
9
|
-
exports.style = (0, lit_1.css) `
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
import constants from '../constants';
|
|
3
|
+
export const style = css `
|
|
10
4
|
* {
|
|
11
5
|
box-sizing: border-box;
|
|
12
6
|
}
|
|
@@ -43,15 +37,15 @@ exports.style = (0, lit_1.css) `
|
|
|
43
37
|
}
|
|
44
38
|
|
|
45
39
|
#title > * {
|
|
46
|
-
line-height: ${
|
|
40
|
+
line-height: ${constants.DIALOG_HEADER_HEIGHT}px;
|
|
47
41
|
}
|
|
48
42
|
|
|
49
43
|
#close {
|
|
50
44
|
flex: 0;
|
|
51
|
-
margin-top: ${
|
|
52
|
-
min-width: ${
|
|
53
|
-
height: ${
|
|
54
|
-
line-height: ${
|
|
45
|
+
margin-top: ${constants.DIALOG_HEADER_HEIGHT / 4}px;
|
|
46
|
+
min-width: ${constants.DIALOG_HEADER_HEIGHT / 2}px;
|
|
47
|
+
height: ${constants.DIALOG_HEADER_HEIGHT / 2}px;
|
|
48
|
+
line-height: ${constants.DIALOG_HEADER_HEIGHT / 2}px;
|
|
55
49
|
border-radius: 50%;
|
|
56
50
|
cursor: pointer;
|
|
57
51
|
text-align: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.style.js","sourceRoot":"","sources":["../../src/components/dialog.style.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialog.style.js","sourceRoot":"","sources":["../../src/components/dialog.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCP,SAAS,CAAC,oBAAoB;;;;;gBAK/B,SAAS,CAAC,oBAAoB,GAAG,CAAC;eACnC,SAAS,CAAC,oBAAoB,GAAG,CAAC;YACrC,SAAS,CAAC,oBAAoB,GAAG,CAAC;iBAC7B,SAAS,CAAC,oBAAoB,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClD,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dialog"), exports);
|
|
1
|
+
export * from './dialog';
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
PREFIX: string;
|
|
3
3
|
DEFAULT_ACCENT_COLOR: string;
|
|
4
|
-
DEFAULT_ACCENT_COLOR_2: import("color")<string | number |
|
|
4
|
+
DEFAULT_ACCENT_COLOR_2: import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | import("color")<string | number | any | ArrayLike<number> | {
|
|
5
5
|
[key: string]: any;
|
|
6
|
-
}> | {
|
|
6
|
+
}> | ArrayLike<number> | {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}> | {
|
|
8
|
+
}> | ArrayLike<number> | {
|
|
9
9
|
[key: string]: any;
|
|
10
|
-
}> | {
|
|
10
|
+
}> | ArrayLike<number> | {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}> | {
|
|
12
|
+
}> | ArrayLike<number> | {
|
|
13
13
|
[key: string]: any;
|
|
14
|
-
}> | {
|
|
14
|
+
}> | ArrayLike<number> | {
|
|
15
15
|
[key: string]: any;
|
|
16
|
-
}> | {
|
|
16
|
+
}> | ArrayLike<number> | {
|
|
17
17
|
[key: string]: any;
|
|
18
|
-
}> | {
|
|
18
|
+
}> | ArrayLike<number> | {
|
|
19
19
|
[key: string]: any;
|
|
20
|
-
}> | {
|
|
20
|
+
}> | ArrayLike<number> | {
|
|
21
21
|
[key: string]: any;
|
|
22
|
-
}> | {
|
|
22
|
+
}> | ArrayLike<number> | {
|
|
23
23
|
[key: string]: any;
|
|
24
|
-
}> | {
|
|
24
|
+
}> | ArrayLike<number> | {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}> | ArrayLike<number> | {
|
|
25
27
|
[key: string]: any;
|
|
26
28
|
}>;
|
|
27
29
|
SIZER_SIZE: number;
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAGE"}
|
package/dist/constants.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const core_1 = require("@omegagrid/core");
|
|
4
|
-
exports.default = {
|
|
1
|
+
import { constants as coreConstants } from '@omegagrid/core';
|
|
2
|
+
export default {
|
|
5
3
|
DIALOG_HEADER_HEIGHT: 32,
|
|
6
|
-
...
|
|
4
|
+
...coreConstants
|
|
7
5
|
};
|
|
8
6
|
//# sourceMappingURL=constants.js.map
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE7D,eAAe;IACd,oBAAoB,EAAE,EAAE;IACxB,GAAG,aAAa;CAChB,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./components"), exports);
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './types';
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/dialog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Dialog component",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@fortawesome/fontawesome-svg-core": "6.4.2",
|
|
31
|
-
"@omegagrid/core": "^0.
|
|
31
|
+
"@omegagrid/core": "^0.6.0",
|
|
32
32
|
"@riovir/wc-fontawesome": "^0.1.9",
|
|
33
33
|
"lit": "^3.1.1",
|
|
34
34
|
"monaco-editor": "^0.52.2",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"jest-environment-jsdom": "^29.7.0",
|
|
46
46
|
"ts-jest": "^29.1.1",
|
|
47
47
|
"ts-node": "^10.9.2",
|
|
48
|
-
"typescript": "5.3
|
|
48
|
+
"typescript": "5.6.3"
|
|
49
49
|
}
|
|
50
50
|
}
|