Skip to content

Commit

Permalink
0.0.31
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Sep 14, 2024
1 parent 3fecf1b commit a858cc0
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 38 deletions.
27 changes: 0 additions & 27 deletions Events.js

This file was deleted.

26 changes: 25 additions & 1 deletion be-calculating.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// @ts-check
import { BE } from 'be-enhanced/BE.js';
import { propInfo } from 'be-enhanced/cc.js';
import {CalcEvent, rguid} from './Events.js';
//import {CalcEvent, rguid} from './Events.js';
import {AggEvent, rguid} from 'be-hive/aggEvt.js';

/** @import {BEConfig, IEnhancement, BEAllProps} from './ts-refs/be-enhanced/types.d.ts' */
/** @import {Actions, PAP, AP, BAP} from './ts-refs/be-calculating/types' */;
Expand Down Expand Up @@ -341,5 +342,28 @@ class BeCalculating extends BE {
await BeCalculating.bootUp();
export {BeCalculating};

export class CalcEvent extends AggEvent {
static eventName = 'calculate';


/**
* Event view model
* @type {{[key: string]: any}}
*/
f;

/**
*
* @param {Array<any>} args
* @param {{[key: string]: any}} f
* @param {Element} target
*/
constructor(args, f, target){
super(CalcEvent.eventName, args, target);
this.args = args;
this.f = f;
}
}



1 change: 0 additions & 1 deletion behivior.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-check
import { BeHive, seed, MountObserver } from 'be-hive/be-hive.js';
import {Registry} from 'be-hive/Registry.js';
import {CalcEvent} from './Events.js';
/** @import {EMC, EventListenerOrFn} from './ts-refs/trans-render/be/types.d.ts' */
/** @import {Actions, PAP, AP} from './ts-refs/be-calculating/types' */;
/** @import {CSSQuery} from './ts-refs/trans-render/types.js' */
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"be-enhanced": "0.0.141",
"be-exportable": "0.0.130",
"be-hive": "0.0.214",
"be-hive": "0.0.216",
"trans-render": "0.0.836"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion 🧮.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { MountObserver, seed, BeHive } from 'be-hive/be-hive.js';
import { emc as baseEMC } from './behivior.js';
import {Registry} from 'be-hive/Registry.js';
import {CalcEvent} from './Events.js';
/** @import {EMC, EventListenerOrFn} from './ts-refs/trans-render/be/types' */;
/** @import {CSSQuery} from './ts-refs/trans-render/types.js' */

Expand Down

0 comments on commit a858cc0

Please sign in to comment.