@genesislcap/foundation-utils 14.408.0 → 14.409.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/README.md +4 -28
- package/dist/custom-elements.json +66 -66
- package/package.json +11 -11
- package/docs/api/foundation-utils.accept_terms_url.md +0 -12
- package/docs/api/foundation-utils.activecolorscheme.md +0 -13
- package/docs/api/foundation-utils.api_host.md +0 -22
- package/docs/api/foundation-utils.assuredesignsystem.md +0 -90
- package/docs/api/foundation-utils.avoidtreeshaking.md +0 -56
- package/docs/api/foundation-utils.builder.md +0 -18
- package/docs/api/foundation-utils.change_password_url.md +0 -12
- package/docs/api/foundation-utils.constructablelifecyclehandler.md +0 -12
- package/docs/api/foundation-utils.constructablependingstate.md +0 -13
- package/docs/api/foundation-utils.conversiontype.md +0 -13
- package/docs/api/foundation-utils.createerrormap.md +0 -56
- package/docs/api/foundation-utils.createlogger.md +0 -77
- package/docs/api/foundation-utils.createobserver.md +0 -17
- package/docs/api/foundation-utils.customnumberparser.md +0 -52
- package/docs/api/foundation-utils.database.create.md +0 -50
- package/docs/api/foundation-utils.database.delete.md +0 -50
- package/docs/api/foundation-utils.database.isworking.md +0 -11
- package/docs/api/foundation-utils.database.md +0 -134
- package/docs/api/foundation-utils.database.onafterupdate.md +0 -50
- package/docs/api/foundation-utils.database.onbeforeupdate.md +0 -50
- package/docs/api/foundation-utils.database.read.md +0 -50
- package/docs/api/foundation-utils.database.update.md +0 -64
- package/docs/api/foundation-utils.database.visit.md +0 -50
- package/docs/api/foundation-utils.databaseaccessresult.access.md +0 -54
- package/docs/api/foundation-utils.databaseaccessresult.access.value.md +0 -11
- package/docs/api/foundation-utils.databaseaccessresult.create.md +0 -13
- package/docs/api/foundation-utils.databaseaccessresult.delete.id.md +0 -11
- package/docs/api/foundation-utils.databaseaccessresult.delete.md +0 -71
- package/docs/api/foundation-utils.databaseaccessresult.delete.success.md +0 -11
- package/docs/api/foundation-utils.databaseaccessresult.md +0 -74
- package/docs/api/foundation-utils.databaseaccessresult.read.md +0 -13
- package/docs/api/foundation-utils.databaseaccessresult.update.md +0 -13
- package/docs/api/foundation-utils.databaseevent.afterupdate.md +0 -13
- package/docs/api/foundation-utils.databaseevent.beforeupdate.md +0 -55
- package/docs/api/foundation-utils.databaseevent.beforeupdate.newvalue.md +0 -11
- package/docs/api/foundation-utils.databaseevent.md +0 -56
- package/docs/api/foundation-utils.databaseevent.update.md +0 -54
- package/docs/api/foundation-utils.databaseevent.update.value.md +0 -11
- package/docs/api/foundation-utils.databaserecord.id.md +0 -11
- package/docs/api/foundation-utils.databaserecord.md +0 -56
- package/docs/api/foundation-utils.decodefrombase64.md +0 -54
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +0 -60
- package/docs/api/foundation-utils.deepmerge.md +0 -82
- package/docs/api/foundation-utils.default_organisation.md +0 -18
- package/docs/api/foundation-utils.default_password.md +0 -18
- package/docs/api/foundation-utils.default_user.md +0 -18
- package/docs/api/foundation-utils.defaulterrormap._constructor_.md +0 -50
- package/docs/api/foundation-utils.defaulterrormap.clear.md +0 -17
- package/docs/api/foundation-utils.defaulterrormap.delete.md +0 -56
- package/docs/api/foundation-utils.defaulterrormap.get.md +0 -56
- package/docs/api/foundation-utils.defaulterrormap.has.md +0 -56
- package/docs/api/foundation-utils.defaulterrormap.lasterror.md +0 -13
- package/docs/api/foundation-utils.defaulterrormap.md +0 -237
- package/docs/api/foundation-utils.defaulterrormap.messages.md +0 -13
- package/docs/api/foundation-utils.defaulterrormap.set.md +0 -70
- package/docs/api/foundation-utils.defaulterrormap.size.md +0 -13
- package/docs/api/foundation-utils.defaulterrormap.values.md +0 -16
- package/docs/api/foundation-utils.defaulteventmap.md +0 -13
- package/docs/api/foundation-utils.defaultjsonserializerconfig.md +0 -13
- package/docs/api/foundation-utils.defaultloggeroptions.md +0 -13
- package/docs/api/foundation-utils.defaultserverrowdtomapper.fromdto.md +0 -13
- package/docs/api/foundation-utils.defaultserverrowdtomapper.md +0 -78
- package/docs/api/foundation-utils.defaultserverrowdtomapper.todto.md +0 -13
- package/docs/api/foundation-utils.defaultshortcutmanager.clearactivecontext.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcut.md +0 -50
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcutbycontext.md +0 -64
- package/docs/api/foundation-utils.defaultshortcutmanager.findshortcutbykeycombination.md +0 -114
- package/docs/api/foundation-utils.defaultshortcutmanager.getactivecontext.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.getcontexts.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcuts.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontext.md +0 -50
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontextmap.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused.md +0 -11
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused_.md +0 -11
- package/docs/api/foundation-utils.defaultshortcutmanager.ispausedsubject.md +0 -11
- package/docs/api/foundation-utils.defaultshortcutmanager.md +0 -321
- package/docs/api/foundation-utils.defaultshortcutmanager.pause.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.registercontext.md +0 -50
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcut.md +0 -50
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcuts.md +0 -50
- package/docs/api/foundation-utils.defaultshortcutmanager.resume.md +0 -15
- package/docs/api/foundation-utils.defaultshortcutmanager.setactivecontext.md +0 -50
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcut.md +0 -64
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcutsbycontext.md +0 -50
- package/docs/api/foundation-utils.delay.md +0 -64
- package/docs/api/foundation-utils.designsystemmodule.md +0 -38
- package/docs/api/foundation-utils.designsystemmodule.providedesignsystem.md +0 -68
- package/docs/api/foundation-utils.designsystemresource.md +0 -15
- package/docs/api/foundation-utils.dtomapper.fromargs.md +0 -11
- package/docs/api/foundation-utils.dtomapper.fromdto.md +0 -11
- package/docs/api/foundation-utils.dtomapper.md +0 -91
- package/docs/api/foundation-utils.dtomapper.todto.md +0 -11
- package/docs/api/foundation-utils.encodetobase64.md +0 -56
- package/docs/api/foundation-utils.encodetobase64withprefix.md +0 -60
- package/docs/api/foundation-utils.environment_level.md +0 -12
- package/docs/api/foundation-utils.errordetailmap.md +0 -12
- package/docs/api/foundation-utils.errormap.lasterror.md +0 -13
- package/docs/api/foundation-utils.errormap.md +0 -107
- package/docs/api/foundation-utils.errormap.messages.md +0 -13
- package/docs/api/foundation-utils.errormap.set.md +0 -70
- package/docs/api/foundation-utils.errormaplogger.md +0 -12
- package/docs/api/foundation-utils.eventname.md +0 -13
- package/docs/api/foundation-utils.fontstyle.md +0 -62
- package/docs/api/foundation-utils.fontweight.md +0 -118
- package/docs/api/foundation-utils.force_http.md +0 -18
- package/docs/api/foundation-utils.forgot_password_url.md +0 -12
- package/docs/api/foundation-utils.formatdatetimestamp.md +0 -52
- package/docs/api/foundation-utils.formatdatetimetimestamp.md +0 -52
- package/docs/api/foundation-utils.formatdatetimetimestampwithmilliseconds.md +0 -52
- package/docs/api/foundation-utils.formattimestamp.md +0 -70
- package/docs/api/foundation-utils.foundationshortcutlistener.connectedcallback.md +0 -15
- package/docs/api/foundation-utils.foundationshortcutlistener.disconnectedcallback.md +0 -15
- package/docs/api/foundation-utils.foundationshortcutlistener.md +0 -105
- package/docs/api/foundation-utils.foundationshortcutlistener.shortcutmanager.md +0 -11
- package/docs/api/foundation-utils.genesis.fieldjsonschema.md +0 -13
- package/docs/api/foundation-utils.genesis.genesisfieldtypes.md +0 -11
- package/docs/api/foundation-utils.genesis.jsonschema7.md +0 -19
- package/docs/api/foundation-utils.genesis.md +0 -79
- package/docs/api/foundation-utils.genesis_socket_url.md +0 -25
- package/docs/api/foundation-utils.getallelements.md +0 -52
- package/docs/api/foundation-utils.getcurrentdesignsystem.md +0 -84
- package/docs/api/foundation-utils.getcurrentdesignsystemprefix.md +0 -80
- package/docs/api/foundation-utils.getdateformatter.md +0 -69
- package/docs/api/foundation-utils.getfontmixin.md +0 -88
- package/docs/api/foundation-utils.getnumberformatter.md +0 -67
- package/docs/api/foundation-utils.http_config.md +0 -18
- package/docs/api/foundation-utils.inactivityconfig.md +0 -71
- package/docs/api/foundation-utils.inactivityconfig.timeoutminutes.md +0 -11
- package/docs/api/foundation-utils.inactivityconfig.warningminutes.md +0 -11
- package/docs/api/foundation-utils.inactivitydialog.configure.md +0 -50
- package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +0 -15
- package/docs/api/foundation-utils.inactivitydialog.handlecontinue.md +0 -15
- package/docs/api/foundation-utils.inactivitydialog.handlelogout.md +0 -15
- package/docs/api/foundation-utils.inactivitydialog.hide.md +0 -15
- package/docs/api/foundation-utils.inactivitydialog.isvisible.md +0 -11
- package/docs/api/foundation-utils.inactivitydialog.md +0 -164
- package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +0 -11
- package/docs/api/foundation-utils.inactivitydialog.show.md +0 -15
- package/docs/api/foundation-utils.inactivitydialogoptions.md +0 -88
- package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +0 -11
- package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +0 -11
- package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +0 -11
- package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +0 -11
- package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +0 -11
- package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +0 -13
- package/docs/api/foundation-utils.inactivityevents.md +0 -88
- package/docs/api/foundation-utils.inactivitymanager._constructor_.md +0 -48
- package/docs/api/foundation-utils.inactivitymanager.destroy.md +0 -15
- package/docs/api/foundation-utils.inactivitymanager.getservice.md +0 -15
- package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +0 -15
- package/docs/api/foundation-utils.inactivitymanager.md +0 -138
- package/docs/api/foundation-utils.inactivitymanager.reset.md +0 -15
- package/docs/api/foundation-utils.inactivitymanager.start.md +0 -15
- package/docs/api/foundation-utils.inactivitymanager.stop.md +0 -15
- package/docs/api/foundation-utils.inactivitymanagerconfig.md +0 -55
- package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +0 -11
- package/docs/api/foundation-utils.inactivityservice._constructor_.md +0 -48
- package/docs/api/foundation-utils.inactivityservice.destroy.md +0 -15
- package/docs/api/foundation-utils.inactivityservice.md +0 -138
- package/docs/api/foundation-utils.inactivityservice.off.md +0 -64
- package/docs/api/foundation-utils.inactivityservice.on.md +0 -64
- package/docs/api/foundation-utils.inactivityservice.resettimer.md +0 -15
- package/docs/api/foundation-utils.inactivityservice.start.md +0 -15
- package/docs/api/foundation-utils.inactivityservice.stop.md +0 -15
- package/docs/api/foundation-utils.iniframe.md +0 -19
- package/docs/api/foundation-utils.inmemorydatabase._constructor_.md +0 -48
- package/docs/api/foundation-utils.inmemorydatabase.create.md +0 -50
- package/docs/api/foundation-utils.inmemorydatabase.delete.md +0 -50
- package/docs/api/foundation-utils.inmemorydatabase.isworking.md +0 -11
- package/docs/api/foundation-utils.inmemorydatabase.md +0 -195
- package/docs/api/foundation-utils.inmemorydatabase.onafterupdate.md +0 -50
- package/docs/api/foundation-utils.inmemorydatabase.onbeforeupdate.md +0 -50
- package/docs/api/foundation-utils.inmemorydatabase.read.md +0 -50
- package/docs/api/foundation-utils.inmemorydatabase.update.md +0 -64
- package/docs/api/foundation-utils.inmemorydatabase.visit.md +0 -50
- package/docs/api/foundation-utils.insertdocumentcssrule.md +0 -72
- package/docs/api/foundation-utils.insertdocumentlink.md +0 -54
- package/docs/api/foundation-utils.insymphonydesktop.md +0 -19
- package/docs/api/foundation-utils.isdev.md +0 -17
- package/docs/api/foundation-utils.isfeatureactivated.md +0 -50
- package/docs/api/foundation-utils.jsonreplacer.md +0 -72
- package/docs/api/foundation-utils.jsonreviver.md +0 -72
- package/docs/api/foundation-utils.jsonserializer.deserialize.md +0 -56
- package/docs/api/foundation-utils.jsonserializer.deserialize_1.md +0 -56
- package/docs/api/foundation-utils.jsonserializer.deserialize_2.md +0 -56
- package/docs/api/foundation-utils.jsonserializer.md +0 -13
- package/docs/api/foundation-utils.jsonserializer.serialize.md +0 -56
- package/docs/api/foundation-utils.jsonserializerconfig.md +0 -65
- package/docs/api/foundation-utils.jsonserializerconfig.parse.md +0 -66
- package/docs/api/foundation-utils.jsonserializerconfig.parse_1.md +0 -82
- package/docs/api/foundation-utils.jsonserializerconfig.stringify.md +0 -82
- package/docs/api/foundation-utils.jsonserializerconfig.stringify_1.md +0 -82
- package/docs/api/foundation-utils.layoutcachedocument.md +0 -13
- package/docs/api/foundation-utils.lifecyclemixin.md +0 -426
- package/docs/api/foundation-utils.listener.md +0 -13
- package/docs/api/foundation-utils.loadfontfaces.md +0 -70
- package/docs/api/foundation-utils.logger.deprecated.md +0 -105
- package/docs/api/foundation-utils.logger.md +0 -13
- package/docs/api/foundation-utils.loggeroptions.md +0 -15
- package/docs/api/foundation-utils.login_details_url.md +0 -12
- package/docs/api/foundation-utils.login_refresh_url.md +0 -12
- package/docs/api/foundation-utils.login_url.md +0 -12
- package/docs/api/foundation-utils.logout_url.md +0 -12
- package/docs/api/foundation-utils.mapgenesisjsonschema.md +0 -54
- package/docs/api/foundation-utils.mapjsonschemafieldtoexprbuilderfield.md +0 -69
- package/docs/api/foundation-utils.md +0 -1565
- package/docs/api/foundation-utils.noop.md +0 -56
- package/docs/api/foundation-utils.numberparser._constructor_.md +0 -48
- package/docs/api/foundation-utils.numberparser.hasseparator.md +0 -50
- package/docs/api/foundation-utils.numberparser.md +0 -91
- package/docs/api/foundation-utils.numberparser.parse.md +0 -50
- package/docs/api/foundation-utils.objectvisitor.md +0 -89
- package/docs/api/foundation-utils.objectvisitor.visitarray.md +0 -67
- package/docs/api/foundation-utils.objectvisitor.visitobject.md +0 -67
- package/docs/api/foundation-utils.objectvisitor.visitproperty.md +0 -95
- package/docs/api/foundation-utils.observer.md +0 -73
- package/docs/api/foundation-utils.observer.publish.md +0 -11
- package/docs/api/foundation-utils.observer.subscribe.md +0 -11
- package/docs/api/foundation-utils.openpopup.md +0 -104
- package/docs/api/foundation-utils.pendingstate.md +0 -414
- package/docs/api/foundation-utils.pendingstateerrorevent.md +0 -13
- package/docs/api/foundation-utils.pendingstateevent.md +0 -13
- package/docs/api/foundation-utils.pendingstateevents.md +0 -62
- package/docs/api/foundation-utils.popup_default_height.md +0 -13
- package/docs/api/foundation-utils.popup_default_width.md +0 -13
- package/docs/api/foundation-utils.public_path.md +0 -18
- package/docs/api/foundation-utils.publish.md +0 -13
- package/docs/api/foundation-utils.reactive.md +0 -104
- package/docs/api/foundation-utils.renderonchange.md +0 -96
- package/docs/api/foundation-utils.reset_password_url.md +0 -12
- package/docs/api/foundation-utils.resolveafter.md +0 -79
- package/docs/api/foundation-utils.resourcetype.md +0 -16
- package/docs/api/foundation-utils.respondtovisibility.md +0 -72
- package/docs/api/foundation-utils.routeutil.destroy.md +0 -17
- package/docs/api/foundation-utils.routeutil.md +0 -115
- package/docs/api/foundation-utils.routeutil.pathname.md +0 -13
- package/docs/api/foundation-utils.routeutil.shared.md +0 -13
- package/docs/api/foundation-utils.serverrowdto.md +0 -18
- package/docs/api/foundation-utils.serverrowdtomapper.md +0 -13
- package/docs/api/foundation-utils.serverrowentity.md +0 -18
- package/docs/api/foundation-utils.shortcutdefinition.action.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.altkey.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.canexecute.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.context.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.ctrlkey.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.description.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.elementref.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.id.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.key.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.md +0 -276
- package/docs/api/foundation-utils.shortcutdefinition.metakey.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.optionkey.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.priority.md +0 -11
- package/docs/api/foundation-utils.shortcutdefinition.shiftkey.md +0 -11
- package/docs/api/foundation-utils.shortcutexecutionstatus.md +0 -16
- package/docs/api/foundation-utils.shortcutmanager.clearactivecontext.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.executeshortcut.md +0 -58
- package/docs/api/foundation-utils.shortcutmanager.executeshortcutbycontext.md +0 -70
- package/docs/api/foundation-utils.shortcutmanager.findshortcutbykeycombination.md +0 -114
- package/docs/api/foundation-utils.shortcutmanager.getactivecontext.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.getcontexts.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.getshortcuts.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontext.md +0 -50
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontextmap.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.ispaused.md +0 -11
- package/docs/api/foundation-utils.shortcutmanager.ispaused_.md +0 -11
- package/docs/api/foundation-utils.shortcutmanager.ispausedsubject.md +0 -11
- package/docs/api/foundation-utils.shortcutmanager.md +0 -13
- package/docs/api/foundation-utils.shortcutmanager.pause.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.registercontext.md +0 -50
- package/docs/api/foundation-utils.shortcutmanager.registershortcut.md +0 -50
- package/docs/api/foundation-utils.shortcutmanager.registershortcuts.md +0 -50
- package/docs/api/foundation-utils.shortcutmanager.resume.md +0 -15
- package/docs/api/foundation-utils.shortcutmanager.setactivecontext.md +0 -50
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcut.md +0 -64
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcutsbycontext.md +0 -50
- package/docs/api/foundation-utils.shortcutregistrationresult.disabled.md +0 -11
- package/docs/api/foundation-utils.shortcutregistrationresult.id.md +0 -11
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombination.md +0 -11
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombinationdisplay.md +0 -11
- package/docs/api/foundation-utils.shortcutregistrationresult.md +0 -141
- package/docs/api/foundation-utils.shortcutregistrationresult.shortcut.md +0 -11
- package/docs/api/foundation-utils.shortcutregistrationresult.tooltip.md +0 -11
- package/docs/api/foundation-utils.slottedstyles.md +0 -93
- package/docs/api/foundation-utils.slottedstyles.styles.md +0 -13
- package/docs/api/foundation-utils.slottedstyles.styleschanged.md +0 -70
- package/docs/api/foundation-utils.socket_ext.md +0 -22
- package/docs/api/foundation-utils.sso_list_url.md +0 -12
- package/docs/api/foundation-utils.sso_login_url.md +0 -12
- package/docs/api/foundation-utils.stringarrayconverter.md +0 -18
- package/docs/api/foundation-utils.subscribe.md +0 -15
- package/docs/api/foundation-utils.sync.md +0 -100
- package/docs/api/foundation-utils.toelementstyles.md +0 -58
- package/docs/api/foundation-utils.typerampvalues.md +0 -22
- package/docs/api/foundation-utils.uuid.createid.md +0 -56
- package/docs/api/foundation-utils.uuid.createremoteid.md +0 -56
- package/docs/api/foundation-utils.uuid.md +0 -13
- package/docs/api/foundation-utils.uuidconfig.md +0 -13
- package/docs/api/foundation-utils.visitobject.md +0 -132
- package/docs/api/foundation-utils.whenelse.md +0 -86
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -1630
package/README.md
CHANGED
|
@@ -1,36 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @genesislcap/foundation-utils
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Documentation for this package is published on the Genesis docs site:
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
For more detailed information on API and configurations, please refer to the [API documentation](docs/api/index.md) in the `docs/api` directory.
|
|
8
|
-
|
|
9
|
-
## Features
|
|
10
|
-
|
|
11
|
-
The library encompasses a broad range of features, including:
|
|
12
|
-
|
|
13
|
-
- **[Data](src/data/README.md)** - Manages in-memory databases and data storage solutions.
|
|
14
|
-
- **[Decorators](src/decorators/README.md)** - Provides decorators for enhancing class functionalities, such as rendering on change.
|
|
15
|
-
- **[Design System](src/design-system/README.md)** - Holds the design system configurations and utilities.
|
|
16
|
-
- **[Directives](src/directives/README.md)** - Offers Angular-like directives for DOM manipulations, including conditional rendering and synchronization functionalities.
|
|
17
|
-
- **[ENV](src/env/README.md)** - Contains utilities for environment variable management and detection of development environments.
|
|
18
|
-
- **[Error](src/error/README.md)** - Deals with error mapping and handling strategies.
|
|
19
|
-
- **[Formatters](src/formatters/README.md)** - Includes functions for formatting dates and numbers according to locale settings.
|
|
20
|
-
- **[Logger](src/logger/README.md)** - A simple logging utility for debugging and information tracking.
|
|
21
|
-
- **[Mappers](src/mappers/README.md)** - Focuses on data transformation, especially for DTOs (Data Transfer Objects).
|
|
22
|
-
- **[Mixins](src/mixins/README.md)** - Provides mixins for common functionalities like lifecycle hooks and state management.
|
|
23
|
-
- **[Observer](src/observer/README.md)** - Implements the Observer pattern for reactive programming.
|
|
24
|
-
- **[Resource](src/observer/README.md)** - Defines types and interfaces for resource management.
|
|
25
|
-
- **[Serializers](src/serializers/README.md)** - Contains serializers, particularly for JSON data handling.
|
|
26
|
-
- **[State](src/state/README.md)** - Manages reactive state and provides utilities for state observation.
|
|
27
|
-
- **[Styles](src/styles/README.md)** - Includes utilities for styling, dealing with colors, typography, and DOM styles.
|
|
28
|
-
- **[UUID](src/uuid/README.md)** - Utilities for generating and managing UUIDs.
|
|
29
|
-
- **[Window](src/window/README.md)** - Provides abstractions and utilities for window object manipulations.
|
|
5
|
+
**Docs: [Utility methods](https://docs.genesis.global/docs/develop/client-capabilities/utility-methods/)**
|
|
30
6
|
|
|
31
7
|
## Installation
|
|
32
8
|
|
|
33
|
-
|
|
9
|
+
Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
|
|
34
10
|
|
|
35
11
|
```json
|
|
36
12
|
{
|
|
@@ -352,6 +352,59 @@
|
|
|
352
352
|
}
|
|
353
353
|
]
|
|
354
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "javascript-module",
|
|
357
|
+
"path": "src/decorators/index.ts",
|
|
358
|
+
"declarations": [],
|
|
359
|
+
"exports": [
|
|
360
|
+
{
|
|
361
|
+
"kind": "js",
|
|
362
|
+
"name": "*",
|
|
363
|
+
"declaration": {
|
|
364
|
+
"name": "*",
|
|
365
|
+
"package": "./renderOnChange"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"kind": "javascript-module",
|
|
372
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
373
|
+
"declarations": [
|
|
374
|
+
{
|
|
375
|
+
"kind": "function",
|
|
376
|
+
"name": "renderOnChange",
|
|
377
|
+
"parameters": [
|
|
378
|
+
{
|
|
379
|
+
"name": "target",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "FASTElement & { render(): void }"
|
|
382
|
+
},
|
|
383
|
+
"description": "The target to define the property change handler on."
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "name",
|
|
387
|
+
"type": {
|
|
388
|
+
"text": "string"
|
|
389
|
+
},
|
|
390
|
+
"description": "The property name."
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
394
|
+
"privacy": "public"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"exports": [
|
|
398
|
+
{
|
|
399
|
+
"kind": "js",
|
|
400
|
+
"name": "renderOnChange",
|
|
401
|
+
"declaration": {
|
|
402
|
+
"name": "renderOnChange",
|
|
403
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
355
408
|
{
|
|
356
409
|
"kind": "javascript-module",
|
|
357
410
|
"path": "src/encoding/index.ts",
|
|
@@ -842,47 +895,6 @@
|
|
|
842
895
|
}
|
|
843
896
|
]
|
|
844
897
|
},
|
|
845
|
-
{
|
|
846
|
-
"kind": "javascript-module",
|
|
847
|
-
"path": "src/converters/index.ts",
|
|
848
|
-
"declarations": [],
|
|
849
|
-
"exports": [
|
|
850
|
-
{
|
|
851
|
-
"kind": "js",
|
|
852
|
-
"name": "*",
|
|
853
|
-
"declaration": {
|
|
854
|
-
"name": "*",
|
|
855
|
-
"package": "./string-array-converter"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
]
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"kind": "javascript-module",
|
|
862
|
-
"path": "src/converters/string-array-converter.ts",
|
|
863
|
-
"declarations": [
|
|
864
|
-
{
|
|
865
|
-
"kind": "variable",
|
|
866
|
-
"name": "stringArrayConverter",
|
|
867
|
-
"type": {
|
|
868
|
-
"text": "ValueConverter"
|
|
869
|
-
},
|
|
870
|
-
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
871
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
872
|
-
"privacy": "public"
|
|
873
|
-
}
|
|
874
|
-
],
|
|
875
|
-
"exports": [
|
|
876
|
-
{
|
|
877
|
-
"kind": "js",
|
|
878
|
-
"name": "stringArrayConverter",
|
|
879
|
-
"declaration": {
|
|
880
|
-
"name": "stringArrayConverter",
|
|
881
|
-
"module": "src/converters/string-array-converter.ts"
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
]
|
|
885
|
-
},
|
|
886
898
|
{
|
|
887
899
|
"kind": "javascript-module",
|
|
888
900
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -1083,7 +1095,7 @@
|
|
|
1083
1095
|
},
|
|
1084
1096
|
{
|
|
1085
1097
|
"kind": "javascript-module",
|
|
1086
|
-
"path": "src/
|
|
1098
|
+
"path": "src/converters/index.ts",
|
|
1087
1099
|
"declarations": [],
|
|
1088
1100
|
"exports": [
|
|
1089
1101
|
{
|
|
@@ -1091,45 +1103,33 @@
|
|
|
1091
1103
|
"name": "*",
|
|
1092
1104
|
"declaration": {
|
|
1093
1105
|
"name": "*",
|
|
1094
|
-
"package": "./
|
|
1106
|
+
"package": "./string-array-converter"
|
|
1095
1107
|
}
|
|
1096
1108
|
}
|
|
1097
1109
|
]
|
|
1098
1110
|
},
|
|
1099
1111
|
{
|
|
1100
1112
|
"kind": "javascript-module",
|
|
1101
|
-
"path": "src/
|
|
1113
|
+
"path": "src/converters/string-array-converter.ts",
|
|
1102
1114
|
"declarations": [
|
|
1103
1115
|
{
|
|
1104
|
-
"kind": "
|
|
1105
|
-
"name": "
|
|
1106
|
-
"
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
},
|
|
1112
|
-
"description": "The target to define the property change handler on."
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
"name": "name",
|
|
1116
|
-
"type": {
|
|
1117
|
-
"text": "string"
|
|
1118
|
-
},
|
|
1119
|
-
"description": "The property name."
|
|
1120
|
-
}
|
|
1121
|
-
],
|
|
1122
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1116
|
+
"kind": "variable",
|
|
1117
|
+
"name": "stringArrayConverter",
|
|
1118
|
+
"type": {
|
|
1119
|
+
"text": "ValueConverter"
|
|
1120
|
+
},
|
|
1121
|
+
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
1122
|
+
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
1123
1123
|
"privacy": "public"
|
|
1124
1124
|
}
|
|
1125
1125
|
],
|
|
1126
1126
|
"exports": [
|
|
1127
1127
|
{
|
|
1128
1128
|
"kind": "js",
|
|
1129
|
-
"name": "
|
|
1129
|
+
"name": "stringArrayConverter",
|
|
1130
1130
|
"declaration": {
|
|
1131
|
-
"name": "
|
|
1132
|
-
"module": "src/
|
|
1131
|
+
"name": "stringArrayConverter",
|
|
1132
|
+
"module": "src/converters/string-array-converter.ts"
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
1135
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.409.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.409.0",
|
|
33
|
+
"@genesislcap/genx": "14.409.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.409.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.409.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.409.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.409.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.409.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.409.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.409.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
|
|
62
62
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [ACCEPT\_TERMS\_URL](./foundation-utils.accept_terms_url.md)
|
|
4
|
-
|
|
5
|
-
## ACCEPT\_TERMS\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
ACCEPT_TERMS_URL: string
|
|
12
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [activeColorScheme](./foundation-utils.activecolorscheme.md)
|
|
4
|
-
|
|
5
|
-
## activeColorScheme variable
|
|
6
|
-
|
|
7
|
-
A design token that represents the active color scheme (light or dark).
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
activeColorScheme: import("@microsoft/fast-foundation").CSSDesignToken<string>
|
|
13
|
-
```
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [API\_HOST](./foundation-utils.api_host.md)
|
|
4
|
-
|
|
5
|
-
## API\_HOST variable
|
|
6
|
-
|
|
7
|
-
The Genesis Server URL (WebSocket or HTTP).
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
_API_HOST: string
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Optional.
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
ws://localhost/gwf/, ws://localhost:9064
|
|
22
|
-
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [assureDesignSystem](./foundation-utils.assuredesignsystem.md)
|
|
4
|
-
|
|
5
|
-
## assureDesignSystem() function
|
|
6
|
-
|
|
7
|
-
assureDesignSystem.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function assureDesignSystem(module: DesignSystemModule): DesignSystemModule;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
module
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[DesignSystemModule](./foundation-utils.designsystemmodule.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
49
|
-
**Returns:**
|
|
50
|
-
|
|
51
|
-
[DesignSystemModule](./foundation-utils.designsystemmodule.md)
|
|
52
|
-
|
|
53
|
-
## Remarks
|
|
54
|
-
|
|
55
|
-
Webpack caching strategies can backfill missing modules with placeholders in an attempt to prevent errors. In the case of offline remotes, we rely on the error to fall back to local versions. This utility assures we have a design system.
|
|
56
|
-
|
|
57
|
-
## Example 1
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
```ts
|
|
61
|
-
async function zeroDesignSystemImport(): Promise<DesignSystemModule> {
|
|
62
|
-
let module: DesignSystemModule;
|
|
63
|
-
let type: ResourceType = ResourceType.remote;
|
|
64
|
-
try {
|
|
65
|
-
module = await import('foundationZero/ZeroDesignSystem');
|
|
66
|
-
return assureDesignSystem(module);
|
|
67
|
-
} catch (e) {
|
|
68
|
-
logger.info(
|
|
69
|
-
`Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`,
|
|
70
|
-
);
|
|
71
|
-
type = ResourceType.local;
|
|
72
|
-
module = await import('@genesislcap/foundation-zero');
|
|
73
|
-
return assureDesignSystem(module);
|
|
74
|
-
} finally {
|
|
75
|
-
logger.debug(`Using '${type}' version of foundation-zero`);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Example 2
|
|
81
|
-
|
|
82
|
-
You should also instruct webpack to use strict module handling.
|
|
83
|
-
|
|
84
|
-
```ts
|
|
85
|
-
output: {
|
|
86
|
-
strictModuleErrorHandling: true,
|
|
87
|
-
strictModuleExceptionHandling: true,
|
|
88
|
-
}
|
|
89
|
-
```
|
|
90
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [avoidTreeShaking](./foundation-utils.avoidtreeshaking.md)
|
|
4
|
-
|
|
5
|
-
## avoidTreeShaking() function
|
|
6
|
-
|
|
7
|
-
Explicitly prevents tree-shaking of custom element classes by referencing them.
|
|
8
|
-
|
|
9
|
-
Bundlers may incorrectly remove code that it thinks has no side effects, such as custom element definitions that are only referenced in templates. By passing these classes to `avoidTreeShaking`<!-- -->, we create a side effect that signals to the bundler to preserve the code.
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
avoidTreeShaking: (...classes: unknown[]) => void
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Parameters
|
|
18
|
-
|
|
19
|
-
<table><thead><tr><th>
|
|
20
|
-
|
|
21
|
-
Parameter
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</th><th>
|
|
25
|
-
|
|
26
|
-
Type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</th><th>
|
|
30
|
-
|
|
31
|
-
Description
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</th></tr></thead>
|
|
35
|
-
<tbody><tr><td>
|
|
36
|
-
|
|
37
|
-
classes
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
</td><td>
|
|
41
|
-
|
|
42
|
-
unknown\[\]
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</td><td>
|
|
46
|
-
|
|
47
|
-
One or more custom element classes that should not be tree-shaken.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</td></tr>
|
|
51
|
-
</tbody></table>
|
|
52
|
-
|
|
53
|
-
**Returns:**
|
|
54
|
-
|
|
55
|
-
void
|
|
56
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [BUILDER](./foundation-utils.builder.md)
|
|
4
|
-
|
|
5
|
-
## BUILDER variable
|
|
6
|
-
|
|
7
|
-
The builder aka file bundler.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
_BUILDER: string
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
'webpack', 'vite'.
|
|
18
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [CHANGE\_PASSWORD\_URL](./foundation-utils.change_password_url.md)
|
|
4
|
-
|
|
5
|
-
## CHANGE\_PASSWORD\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
CHANGE_PASSWORD_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [ConstructableLifecycleHandler](./foundation-utils.constructablelifecyclehandler.md)
|
|
4
|
-
|
|
5
|
-
## ConstructableLifecycleHandler type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
export type ConstructableLifecycleHandler = Constructable<FASTElement & HTMLElement>;
|
|
12
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [ConstructablePendingState](./foundation-utils.constructablependingstate.md)
|
|
4
|
-
|
|
5
|
-
## ConstructablePendingState type
|
|
6
|
-
|
|
7
|
-
A mixin that provides functionality for raising `pending-state` events.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare type ConstructablePendingState = Constructable<FASTElement & HTMLElement>;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [ConversionType](./foundation-utils.conversiontype.md)
|
|
4
|
-
|
|
5
|
-
## ConversionType type
|
|
6
|
-
|
|
7
|
-
Represents the possible types of value conversion for data synchronization.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ConversionType = 'string' | 'number' | 'time' | 'boolean';
|
|
13
|
-
```
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [createErrorMap](./foundation-utils.createerrormap.md)
|
|
4
|
-
|
|
5
|
-
## createErrorMap() function
|
|
6
|
-
|
|
7
|
-
A factory to create the error map.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
createErrorMap: <TErrorDetailMap extends ErrorDetailMap>(logger: ErrorMapLogger) => ErrorMap<TErrorDetailMap>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
logger
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[ErrorMapLogger](./foundation-utils.errormaplogger.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
A logger error method reference.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
[ErrorMap](./foundation-utils.errormap.md)<!-- --><TErrorDetailMap>
|
|
54
|
-
|
|
55
|
-
A ErrorMap instance.
|
|
56
|
-
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [createLogger](./foundation-utils.createlogger.md)
|
|
4
|
-
|
|
5
|
-
## createLogger() function
|
|
6
|
-
|
|
7
|
-
> Warning: This API is now obsolete.
|
|
8
|
-
>
|
|
9
|
-
> - Use `createLogger` from `@genesislcap/foundation-logger` instead.
|
|
10
|
-
>
|
|
11
|
-
|
|
12
|
-
Creates a logger with the given name and options.
|
|
13
|
-
|
|
14
|
-
**Signature:**
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
export declare function createLogger(name: string, options?: LoggerOptions): Logger;
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Parameters
|
|
21
|
-
|
|
22
|
-
<table><thead><tr><th>
|
|
23
|
-
|
|
24
|
-
Parameter
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
name
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
string
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
The name to give the logger.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</td></tr>
|
|
54
|
-
<tr><td>
|
|
55
|
-
|
|
56
|
-
options
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
[LoggerOptions](./foundation-utils.loggeroptions.md)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
_(Optional)_ The options to use when creating the logger.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td></tr>
|
|
70
|
-
</tbody></table>
|
|
71
|
-
|
|
72
|
-
**Returns:**
|
|
73
|
-
|
|
74
|
-
[Logger](./foundation-utils.logger.md)
|
|
75
|
-
|
|
76
|
-
The resulting logger.
|
|
77
|
-
|