@design.estate/dees-catalog 1.0.196 → 1.0.199
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_bundle/bundle.js +9 -4
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-modal.js +9 -4
- package/dist_ts_web/elements/dees-table.d.ts +1 -1
- package/dist_ts_web/elements/dees-table.demo.js +1 -1
- package/dist_ts_web/elements/dees-table.js +1 -1
- package/dist_watch/bundle.js +9 -3
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-modal.ts +8 -3
- package/ts_web/elements/dees-table.demo.ts +8 -2
- package/ts_web/elements/dees-table.ts +1 -1
package/package.json
CHANGED
|
@@ -86,7 +86,7 @@ export class DeesModal extends DeesElement {
|
|
|
86
86
|
}
|
|
87
87
|
.modal {
|
|
88
88
|
will-change: transform;
|
|
89
|
-
transform: translateY(
|
|
89
|
+
transform: translateY(0px) scale(0.95);
|
|
90
90
|
opacity: 0;
|
|
91
91
|
width: 480px;
|
|
92
92
|
min-height: 120px;
|
|
@@ -100,7 +100,12 @@ export class DeesModal extends DeesElement {
|
|
|
100
100
|
|
|
101
101
|
.modal.show {
|
|
102
102
|
opacity: 1;
|
|
103
|
-
transform: translateY(0px);
|
|
103
|
+
transform: translateY(0px) scale(1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.modal.show.predestroy {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transform: translateY(10px) scale(1);
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
.modal .heading {
|
|
@@ -183,7 +188,7 @@ export class DeesModal extends DeesElement {
|
|
|
183
188
|
public async destroy() {
|
|
184
189
|
const domtools = await this.domtoolsPromise;
|
|
185
190
|
const modal = this.shadowRoot.querySelector('.modal');
|
|
186
|
-
modal.classList.
|
|
191
|
+
modal.classList.add('predestroy');
|
|
187
192
|
await domtools.convenience.smartdelay.delayFor(200);
|
|
188
193
|
document.body.removeChild(this);
|
|
189
194
|
await this.windowLayer.destroy();
|
|
@@ -2,6 +2,12 @@ import { type ITableAction } from './dees-table.js';
|
|
|
2
2
|
import * as plugins from './plugins.js';
|
|
3
3
|
import { html } from '@design.estate/dees-element';
|
|
4
4
|
|
|
5
|
+
interface ITableDemoData {
|
|
6
|
+
date: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
export const demoFunc = () => html`
|
|
6
12
|
<style>
|
|
7
13
|
.demoWrapper {
|
|
@@ -51,7 +57,7 @@ export const demoFunc = () => html`
|
|
|
51
57
|
iconName: 'bell',
|
|
52
58
|
useTableBehaviour: 'upload',
|
|
53
59
|
type: ['inRow'],
|
|
54
|
-
actionFunc: async (itemArg
|
|
60
|
+
actionFunc: async (itemArg) => {
|
|
55
61
|
alert(itemArg.amount);
|
|
56
62
|
},
|
|
57
63
|
},
|
|
@@ -100,7 +106,7 @@ export const demoFunc = () => html`
|
|
|
100
106
|
return null;
|
|
101
107
|
},
|
|
102
108
|
},
|
|
103
|
-
] as ITableAction[]}"
|
|
109
|
+
] as (ITableAction<ITableDemoData>)[] as any}"
|
|
104
110
|
.displayFunction=${(itemArg) => {
|
|
105
111
|
return {
|
|
106
112
|
...itemArg,
|