2020-10-03 23:04:46 +00:00
|
|
|
//*
|
2020-08-31 00:59:47 +00:00
|
|
|
|
2020-10-09 19:11:52 +00:00
|
|
|
|
2020-10-08 17:03:00 +00:00
|
|
|
import {UIEventSource} from "./Logic/UIEventSource";
|
2020-10-11 20:37:55 +00:00
|
|
|
import OpeningHoursVisualization from "./UI/OhVisualization";
|
2020-10-09 19:11:52 +00:00
|
|
|
|
2020-10-11 20:37:55 +00:00
|
|
|
const oh = "Tu-Fr 09:00-17:00 'as usual'; mo off 'yyy'; su off 'xxx'"
|
2020-10-11 20:44:58 +00:00
|
|
|
const tags = new UIEventSource<any>({opening_hours:oh});
|
|
|
|
new OpeningHoursVisualization(tags, 'opening_hours').AttachTo('maindiv')
|
2020-10-02 17:00:24 +00:00
|
|
|
|
2020-10-03 23:04:46 +00:00
|
|
|
|
2020-10-11 20:44:58 +00:00
|
|
|
window.setTimeout(() => {tags.data._country = "be"; }, 5000)
|
2020-10-05 23:37:02 +00:00
|
|
|
/*/
|
2020-10-02 17:00:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
import {Utils} from "./Utils";
|
|
|
|
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
|
|
|
|
|
|
|
Utils.generateStats((stats) => {
|
2020-10-05 23:37:02 +00:00
|
|
|
new FixedUiElement(stats).AttachTo('maindiv')
|
2020-10-02 17:00:24 +00:00
|
|
|
})
|
|
|
|
//*/
|