@genesislcap/foundation-utils 14.22.1 → 14.23.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/custom-elements.json +286 -169
- package/dist/dts/data/inMemoryDatabase.d.ts +17 -0
- package/dist/dts/data/inMemoryDatabase.d.ts.map +1 -1
- package/dist/dts/directives/sync/sync.d.ts +16 -0
- package/dist/dts/directives/sync/sync.d.ts.map +1 -1
- package/dist/dts/directives/when-else/when-else.d.ts +1 -1
- package/dist/dts/env/is-dev.d.ts +4 -0
- package/dist/dts/env/is-dev.d.ts.map +1 -1
- package/dist/dts/env/variables.d.ts +37 -0
- package/dist/dts/env/variables.d.ts.map +1 -1
- package/dist/dts/formatters/datetime.d.ts +2 -2
- package/dist/dts/logger/logger.d.ts +29 -3
- package/dist/dts/logger/logger.d.ts.map +1 -1
- package/dist/dts/mappers/dto/serverRow.d.ts +46 -14
- package/dist/dts/mappers/dto/serverRow.d.ts.map +1 -1
- package/dist/dts/mappers/dto/types.d.ts +3 -0
- package/dist/dts/mappers/dto/types.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +11 -5
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +55 -9
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts +19 -4
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/resource/types.d.ts +2 -0
- package/dist/dts/resource/types.d.ts.map +1 -1
- package/dist/dts/serializers/json/json.d.ts +28 -0
- package/dist/dts/serializers/json/json.d.ts.map +1 -1
- package/dist/dts/styles/color.d.ts +4 -0
- package/dist/dts/styles/color.d.ts.map +1 -1
- package/dist/dts/styles/dom.d.ts +13 -0
- package/dist/dts/styles/dom.d.ts.map +1 -1
- package/dist/dts/styles/slotted-styles.d.ts +13 -0
- package/dist/dts/styles/slotted-styles.d.ts.map +1 -1
- package/dist/dts/styles/typography.d.ts +27 -1
- package/dist/dts/styles/typography.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +11 -0
- package/dist/dts/uuid/uuid.d.ts +22 -3
- package/dist/dts/uuid/uuid.d.ts.map +1 -1
- package/dist/dts/window/window.d.ts +27 -0
- package/dist/dts/window/window.d.ts.map +1 -1
- package/dist/esm/data/inMemoryDatabase.js +1 -0
- package/dist/esm/directives/sync/sync.js +8 -0
- package/dist/esm/directives/when-else/when-else.js +1 -1
- package/dist/esm/env/is-dev.js +4 -0
- package/dist/esm/env/variables.js +37 -0
- package/dist/esm/formatters/datetime.js +2 -2
- package/dist/esm/logger/logger.js +11 -0
- package/dist/esm/mappers/dto/serverRow.js +20 -0
- package/dist/esm/mixins/pendingState/pendingState.js +37 -1
- package/dist/esm/observer/observer.js +5 -1
- package/dist/esm/resource/types.js +1 -0
- package/dist/esm/serializers/json/json.js +14 -0
- package/dist/esm/styles/color.js +11 -1
- package/dist/esm/styles/dom.js +13 -0
- package/dist/esm/styles/slotted-styles.js +13 -0
- package/dist/esm/styles/typography.js +26 -0
- package/dist/esm/uuid/uuid.js +20 -11
- package/dist/esm/window/window.js +27 -0
- package/dist/foundation-utils.api.json +10996 -0
- package/dist/foundation-utils.d.ts +1462 -0
- package/docs/api/foundation-utils.activecolorscheme.md +13 -0
- package/docs/api/foundation-utils.api_host.md +18 -0
- package/docs/api/foundation-utils.assuredesignsystem.md +23 -0
- package/docs/api/foundation-utils.constructablelifecyclehandler.md +12 -0
- package/docs/api/foundation-utils.constructablependingstate.md +13 -0
- package/docs/api/foundation-utils.conversiontype.md +13 -0
- package/docs/api/foundation-utils.createlogger.md +27 -0
- package/docs/api/foundation-utils.createobserver.md +13 -0
- package/docs/api/foundation-utils.database.create.md +22 -0
- package/docs/api/foundation-utils.database.delete.md +22 -0
- package/docs/api/foundation-utils.database.isworking.md +11 -0
- package/docs/api/foundation-utils.database.md +32 -0
- package/docs/api/foundation-utils.database.onafterupdate.md +22 -0
- package/docs/api/foundation-utils.database.onbeforeupdate.md +22 -0
- package/docs/api/foundation-utils.database.read.md +22 -0
- package/docs/api/foundation-utils.database.update.md +23 -0
- package/docs/api/foundation-utils.database.visit.md +22 -0
- package/docs/api/foundation-utils.databaseaccessresult.access.md +18 -0
- package/docs/api/foundation-utils.databaseaccessresult.access.value.md +11 -0
- package/docs/api/foundation-utils.databaseaccessresult.create.md +13 -0
- package/docs/api/foundation-utils.databaseaccessresult.delete.id.md +11 -0
- package/docs/api/foundation-utils.databaseaccessresult.delete.md +19 -0
- package/docs/api/foundation-utils.databaseaccessresult.delete.success.md +11 -0
- package/docs/api/foundation-utils.databaseaccessresult.md +24 -0
- package/docs/api/foundation-utils.databaseaccessresult.read.md +13 -0
- package/docs/api/foundation-utils.databaseaccessresult.update.md +13 -0
- package/docs/api/foundation-utils.databaseevent.afterupdate.md +13 -0
- package/docs/api/foundation-utils.databaseevent.beforeupdate.md +19 -0
- package/docs/api/foundation-utils.databaseevent.beforeupdate.newvalue.md +11 -0
- package/docs/api/foundation-utils.databaseevent.md +22 -0
- package/docs/api/foundation-utils.databaseevent.update.md +18 -0
- package/docs/api/foundation-utils.databaseevent.update.value.md +11 -0
- package/docs/api/foundation-utils.databaserecord.id.md +11 -0
- package/docs/api/foundation-utils.databaserecord.md +20 -0
- package/docs/api/foundation-utils.default_organisation.md +18 -0
- package/docs/api/foundation-utils.default_password.md +18 -0
- package/docs/api/foundation-utils.default_user.md +18 -0
- package/docs/api/foundation-utils.defaulteventmap.md +13 -0
- package/docs/api/foundation-utils.defaultloggeroptions.md +13 -0
- package/docs/api/foundation-utils.defaultserverrowdtomapper.fromdto.md +13 -0
- package/docs/api/foundation-utils.defaultserverrowdtomapper.md +22 -0
- package/docs/api/foundation-utils.defaultserverrowdtomapper.todto.md +13 -0
- package/docs/api/foundation-utils.designsystemmodule.md +19 -0
- package/docs/api/foundation-utils.designsystemmodule.providedesignsystem.md +23 -0
- package/docs/api/foundation-utils.designsystemresource.md +14 -0
- package/docs/api/foundation-utils.dtomapper.fromargs.md +11 -0
- package/docs/api/foundation-utils.dtomapper.fromdto.md +11 -0
- package/docs/api/foundation-utils.dtomapper.md +21 -0
- package/docs/api/foundation-utils.dtomapper.todto.md +11 -0
- package/docs/api/foundation-utils.eventname.md +13 -0
- package/docs/api/foundation-utils.fontstyle.md +21 -0
- package/docs/api/foundation-utils.fontweight.md +25 -0
- package/docs/api/foundation-utils.force_http.md +18 -0
- package/docs/api/foundation-utils.formatdatetimestamp.md +24 -0
- package/docs/api/foundation-utils.formatdatetimetimestamp.md +24 -0
- package/docs/api/foundation-utils.formattimestamp.md +25 -0
- package/docs/api/foundation-utils.getfontmixin.md +13 -0
- package/docs/api/foundation-utils.http_config.md +18 -0
- package/docs/api/foundation-utils.iniframe.md +13 -0
- package/docs/api/foundation-utils.inmemorydatabase._constructor_.md +20 -0
- package/docs/api/foundation-utils.inmemorydatabase.create.md +22 -0
- package/docs/api/foundation-utils.inmemorydatabase.delete.md +22 -0
- package/docs/api/foundation-utils.inmemorydatabase.isworking.md +11 -0
- package/docs/api/foundation-utils.inmemorydatabase.md +39 -0
- package/docs/api/foundation-utils.inmemorydatabase.onafterupdate.md +22 -0
- package/docs/api/foundation-utils.inmemorydatabase.onbeforeupdate.md +22 -0
- package/docs/api/foundation-utils.inmemorydatabase.read.md +22 -0
- package/docs/api/foundation-utils.inmemorydatabase.update.md +23 -0
- package/docs/api/foundation-utils.inmemorydatabase.visit.md +22 -0
- package/docs/api/foundation-utils.insertdocumentcssrule.md +13 -0
- package/docs/api/foundation-utils.insertdocumentlink.md +13 -0
- package/docs/api/foundation-utils.insymphonydesktop.md +13 -0
- package/docs/api/foundation-utils.isdev.md +13 -0
- package/docs/api/foundation-utils.jsonserializer.deserialize.md +26 -0
- package/docs/api/foundation-utils.jsonserializer.deserialize_1.md +26 -0
- package/docs/api/foundation-utils.jsonserializer.deserialize_2.md +26 -0
- package/docs/api/foundation-utils.jsonserializer.md +13 -0
- package/docs/api/foundation-utils.jsonserializer.serialize.md +26 -0
- package/docs/api/foundation-utils.layoutcachedocument.md +13 -0
- package/docs/api/foundation-utils.lifecyclemixin.md +342 -0
- package/docs/api/foundation-utils.listener.md +13 -0
- package/docs/api/foundation-utils.loadfontfaces.md +13 -0
- package/docs/api/foundation-utils.logger.deprecated.md +45 -0
- package/docs/api/foundation-utils.logger.md +25 -0
- package/docs/api/foundation-utils.loggeroptions.md +15 -0
- package/docs/api/foundation-utils.md +111 -0
- package/docs/api/foundation-utils.observer.md +21 -0
- package/docs/api/foundation-utils.observer.publish.md +11 -0
- package/docs/api/foundation-utils.observer.subscribe.md +11 -0
- package/docs/api/foundation-utils.openpopup.md +13 -0
- package/docs/api/foundation-utils.pendingstate.md +334 -0
- package/docs/api/foundation-utils.pendingstateerrorevent.md +13 -0
- package/docs/api/foundation-utils.pendingstateevent.md +13 -0
- package/docs/api/foundation-utils.pendingstateevents.md +21 -0
- package/docs/api/foundation-utils.popup_default_height.md +13 -0
- package/docs/api/foundation-utils.popup_default_width.md +13 -0
- package/docs/api/foundation-utils.publish.md +13 -0
- package/docs/api/foundation-utils.renderonchange.md +51 -0
- package/docs/api/foundation-utils.resourcetype.md +16 -0
- package/docs/api/foundation-utils.respondtovisibility.md +13 -0
- package/docs/api/foundation-utils.serverrowdto.md +18 -0
- package/docs/api/foundation-utils.serverrowdtomapper.md +13 -0
- package/docs/api/foundation-utils.serverrowentity.md +18 -0
- package/docs/api/foundation-utils.slottedstyles.md +27 -0
- package/docs/api/foundation-utils.slottedstyles.styles.md +13 -0
- package/docs/api/foundation-utils.slottedstyles.styleschanged.md +25 -0
- package/docs/api/foundation-utils.socket_ext.md +18 -0
- package/docs/api/foundation-utils.subscribe.md +15 -0
- package/docs/api/foundation-utils.sync.md +27 -0
- package/docs/api/foundation-utils.typerampvalues.md +22 -0
- package/docs/api/foundation-utils.uuid.createid.md +26 -0
- package/docs/api/foundation-utils.uuid.createremoteid.md +26 -0
- package/docs/api/foundation-utils.uuid.md +13 -0
- package/docs/api/foundation-utils.uuidconfig.md +13 -0
- package/docs/api/foundation-utils.whenelse.md +26 -0
- package/docs/api/index.md +12 -0
- package/docs/api-report.md +1075 -0
- package/package.json +6 -9
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [LoggerOptions](./foundation-utils.loggeroptions.md)
|
|
4
|
+
|
|
5
|
+
## LoggerOptions interface
|
|
6
|
+
|
|
7
|
+
Options for creating a logger.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface LoggerOptions extends ConsolaOptions
|
|
13
|
+
```
|
|
14
|
+
**Extends:** ConsolaOptions
|
|
15
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md)
|
|
4
|
+
|
|
5
|
+
## foundation-utils package
|
|
6
|
+
|
|
7
|
+
## Classes
|
|
8
|
+
|
|
9
|
+
| Class | Description |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| [DefaultServerRowDTOMapper](./foundation-utils.defaultserverrowdtomapper.md) | The default <code>ServerRowDTOMapper</code>. |
|
|
12
|
+
| [InMemoryDatabase](./foundation-utils.inmemorydatabase.md) | An in memory database of specific DatabaseRecord types. |
|
|
13
|
+
| [SlottedStyles](./foundation-utils.slottedstyles.md) | A custom element that encapsulates a set of styles that can be applied to slotted elements. |
|
|
14
|
+
|
|
15
|
+
## Enumerations
|
|
16
|
+
|
|
17
|
+
| Enumeration | Description |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| [FontStyle](./foundation-utils.fontstyle.md) | An enum of possible font styles. |
|
|
20
|
+
| [FontWeight](./foundation-utils.fontweight.md) | An enum of possible font weights. |
|
|
21
|
+
| [PendingStateEvents](./foundation-utils.pendingstateevents.md) | An enum that defines the names of the events that can be raised by the <code>PendingState</code> mixin. |
|
|
22
|
+
|
|
23
|
+
## Functions
|
|
24
|
+
|
|
25
|
+
| Function | Description |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| [assureDesignSystem(module)](./foundation-utils.assuredesignsystem.md) | |
|
|
28
|
+
| [createLogger(name, options)](./foundation-utils.createlogger.md) | Creates a logger with the given name and options. |
|
|
29
|
+
| [formatDateTimestamp(timestamp)](./foundation-utils.formatdatetimestamp.md) | Formats \[DATE\] UNIX Timestamps (without time) to readable strings |
|
|
30
|
+
| [formatDateTimeTimestamp(timestamp)](./foundation-utils.formatdatetimetimestamp.md) | Formats \[DATETIME\] UNIX Timestamps (with time) to readable strings |
|
|
31
|
+
| [formatTimestamp(timestamp, withTime)](./foundation-utils.formattimestamp.md) | Formats \[DATE\|DATETIME\] Unix Timestamps to readable strings |
|
|
32
|
+
| [renderOnChange(target, name)](./foundation-utils.renderonchange.md) | Defines a property changed handler that calls a render() method on the target as an internal observation enhancement. |
|
|
33
|
+
| [sync(binding, conversionType, eventName, keyAttr)](./foundation-utils.sync.md) | Creates a synchronization directive that binds a data source to an HTML element, |
|
|
34
|
+
| [whenElse(binding, trueTemplateOrTemplateBinding, falseTemplateOrTemplateBinding)](./foundation-utils.whenelse.md) | Directive that allows supplying an "else" template to the traditional [https://www.fast.design/docs/api/fast-element.when/\#when-function](https://www.fast.design/docs/api/fast-element.when/#when-function) directive |
|
|
35
|
+
|
|
36
|
+
## Interfaces
|
|
37
|
+
|
|
38
|
+
| Interface | Description |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| [Database](./foundation-utils.database.md) | Represents a database with basic CRUD operations. |
|
|
41
|
+
| [DatabaseRecord](./foundation-utils.databaserecord.md) | Represents a database record. |
|
|
42
|
+
| [DesignSystemModule](./foundation-utils.designsystemmodule.md) | |
|
|
43
|
+
| [DTOMapper](./foundation-utils.dtomapper.md) | |
|
|
44
|
+
| [JSONSerializer](./foundation-utils.jsonserializer.md) | An interface representing a JSON serializer. |
|
|
45
|
+
| [Logger](./foundation-utils.logger.md) | A logger that extends the <code>Consola</code> logger. |
|
|
46
|
+
| [LoggerOptions](./foundation-utils.loggeroptions.md) | Options for creating a logger. |
|
|
47
|
+
| [Observer](./foundation-utils.observer.md) | Represents an event observer that manages the subscription and publication of events. |
|
|
48
|
+
| [ServerRowDTOMapper](./foundation-utils.serverrowdtomapper.md) | A mapper for converting between server row DTOs and entities. Provides methods to get/set a ServerRow DTO entity mapping. |
|
|
49
|
+
| [UUID](./foundation-utils.uuid.md) | An interface for generating UUIDs. |
|
|
50
|
+
| [UUIDConfig](./foundation-utils.uuidconfig.md) | A configuration object for customizing UUID generation. |
|
|
51
|
+
|
|
52
|
+
## Namespaces
|
|
53
|
+
|
|
54
|
+
| Namespace | Description |
|
|
55
|
+
| --- | --- |
|
|
56
|
+
| [DatabaseAccessResult](./foundation-utils.databaseaccessresult.md) | Namespace for database access result types. |
|
|
57
|
+
| [DatabaseEvent](./foundation-utils.databaseevent.md) | Namespace for database events. |
|
|
58
|
+
|
|
59
|
+
## Variables
|
|
60
|
+
|
|
61
|
+
| Variable | Description |
|
|
62
|
+
| --- | --- |
|
|
63
|
+
| [activeColorScheme](./foundation-utils.activecolorscheme.md) | A design token that represents the active color scheme (light or dark). |
|
|
64
|
+
| [API\_HOST](./foundation-utils.api_host.md) | The Genesis Server (host0 to establish a connection (WebSocket or HTTP)). Example: wss://localhost:9064 |
|
|
65
|
+
| [createObserver](./foundation-utils.createobserver.md) | Creates a new event observer instance. |
|
|
66
|
+
| [DEFAULT\_ORGANISATION](./foundation-utils.default_organisation.md) | The default Organisation value, used in auth/login flow \[<code>genesislcap-foundation-login</code>\](https://link-to-docs). |
|
|
67
|
+
| [DEFAULT\_PASSWORD](./foundation-utils.default_password.md) | The default Password value, used in auth/login flow \[<code>genesislcap-foundation-login</code>\](https://link-to-docs). |
|
|
68
|
+
| [DEFAULT\_USER](./foundation-utils.default_user.md) | The default Username value, used in auth/login flow \[<code>genesislcap-foundation-login</code>\](https://link-to-docs). |
|
|
69
|
+
| [defaultEventMap](./foundation-utils.defaulteventmap.md) | A map that associates specific HTML element tags with their corresponding default event names. |
|
|
70
|
+
| [defaultLoggerOptions](./foundation-utils.defaultloggeroptions.md) | The default logger options. |
|
|
71
|
+
| [FORCE\_HTTP](./foundation-utils.force_http.md) | The path to a JSON config file for the HTTP mode. |
|
|
72
|
+
| [getFontMixin](./foundation-utils.getfontmixin.md) | Generates a CSS mixin for the specified font family, style, and weight. |
|
|
73
|
+
| [HTTP\_CONFIG](./foundation-utils.http_config.md) | Configuration settings for HTTP, used in http connect flow \[<code>genesislcap-foundation-comms.HttpConnectConfig</code>\](https://link-to-docs). |
|
|
74
|
+
| [inIFrame](./foundation-utils.iniframe.md) | Returns a boolean value indicating whether the current window is inside an iframe. |
|
|
75
|
+
| [insertDocumentCSSRule](./foundation-utils.insertdocumentcssrule.md) | Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID. Returns a function that can be called to remove the rule from the document. |
|
|
76
|
+
| [insertDocumentLink](./foundation-utils.insertdocumentlink.md) | Inserts a CSS link into the document if it doesn't already exist. |
|
|
77
|
+
| [inSymphonyDesktop](./foundation-utils.insymphonydesktop.md) | Returns a boolean value indicating whether the user is running the Symphony desktop app. |
|
|
78
|
+
| [isDev](./foundation-utils.isdev.md) | Determines if the current environment is a development environment. |
|
|
79
|
+
| [JSONSerializer](./foundation-utils.jsonserializer.md) | A DI token for the JSON serializer. |
|
|
80
|
+
| [layoutCacheDocument](./foundation-utils.layoutcachedocument.md) | Stored on the layout's internal cache to signify that the document is not part of the DOM |
|
|
81
|
+
| [LifecycleMixin](./foundation-utils.lifecyclemixin.md) | **_(BETA)_** Mixin class to expose <code>shouldRunConnect</code> and <code>shouldRunDisconnect</code> |
|
|
82
|
+
| [loadFontFaces](./foundation-utils.loadfontfaces.md) | Loads font faces by inserting a style element with the specified font face rules into the document. |
|
|
83
|
+
| [openPopup](./foundation-utils.openpopup.md) | Opens a new browser window with the specified URL, target, width, and height. |
|
|
84
|
+
| [PendingState](./foundation-utils.pendingstate.md) | The <code>PendingState</code> mixin. |
|
|
85
|
+
| [POPUP\_DEFAULT\_HEIGHT](./foundation-utils.popup_default_height.md) | The default height (in pixels) for pop-up windows. |
|
|
86
|
+
| [POPUP\_DEFAULT\_WIDTH](./foundation-utils.popup_default_width.md) | The default width (in pixels) for pop-up windows. |
|
|
87
|
+
| [ResourceType](./foundation-utils.resourcetype.md) | An object that defines two resource types: "local" and "remote". |
|
|
88
|
+
| [respondToVisibility](./foundation-utils.respondtovisibility.md) | Setup an <code>IntersectionObserver</code> which will activate a callback function when an element becomes visible on screen |
|
|
89
|
+
| [ServerRowDTOMapper](./foundation-utils.serverrowdtomapper.md) | A DI token used to obtain a <code>ServerRowDTOMapper</code> instance. |
|
|
90
|
+
| [SOCKET\_EXT](./foundation-utils.socket_ext.md) | The sub-path used for WebSocket connections. Example: API\_HOST + '/' + SOCKET\_EXT - wss://localhost:9064/gwf. |
|
|
91
|
+
| [TypeRampValues](./foundation-utils.typerampvalues.md) | An object containing type ramp values. |
|
|
92
|
+
| [UUID](./foundation-utils.uuid.md) | A dependency injection token for the UUID interface. |
|
|
93
|
+
|
|
94
|
+
## Type Aliases
|
|
95
|
+
|
|
96
|
+
| Type Alias | Description |
|
|
97
|
+
| --- | --- |
|
|
98
|
+
| [ConstructableLifecycleHandler](./foundation-utils.constructablelifecyclehandler.md) | |
|
|
99
|
+
| [ConstructablePendingState](./foundation-utils.constructablependingstate.md) | A mixin that provides functionality for raising <code>pending-state</code> events. |
|
|
100
|
+
| [ConversionType](./foundation-utils.conversiontype.md) | Represents the possible types of value conversion for data synchronization. |
|
|
101
|
+
| [DesignSystemResource](./foundation-utils.designsystemresource.md) | |
|
|
102
|
+
| [EventName](./foundation-utils.eventname.md) | Represents the possible event names for data synchronization. |
|
|
103
|
+
| [Listener](./foundation-utils.listener.md) | Creates an observer that facilitates the subscription and publication of events. |
|
|
104
|
+
| [PendingStateErrorEvent](./foundation-utils.pendingstateerrorevent.md) | A custom event that represents a <code>pending-state-error</code> event. |
|
|
105
|
+
| [PendingStateEvent](./foundation-utils.pendingstateevent.md) | A custom event that represents a <code>pending-state</code> event. |
|
|
106
|
+
| [Publish](./foundation-utils.publish.md) | Publishes an event of a specific type to all subscribed listeners. |
|
|
107
|
+
| [ResourceType](./foundation-utils.resourcetype.md) | A type that represents the resource types defined by the <code>ResourceType</code> object. |
|
|
108
|
+
| [ServerRowDTO](./foundation-utils.serverrowdto.md) | The data for a server row DTO. |
|
|
109
|
+
| [ServerRowEntity](./foundation-utils.serverrowentity.md) | The data for a server row entity. |
|
|
110
|
+
| [Subscribe](./foundation-utils.subscribe.md) | Subscribes a listener function to receive events of a specific type. |
|
|
111
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [Observer](./foundation-utils.observer.md)
|
|
4
|
+
|
|
5
|
+
## Observer interface
|
|
6
|
+
|
|
7
|
+
Represents an event observer that manages the subscription and publication of events.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface Observer<EventType>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [publish](./foundation-utils.observer.publish.md) | | [Publish](./foundation-utils.publish.md)<!-- --><EventType> | |
|
|
20
|
+
| [subscribe](./foundation-utils.observer.subscribe.md) | | [Subscribe](./foundation-utils.subscribe.md)<!-- --><EventType> | |
|
|
21
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [Observer](./foundation-utils.observer.md) > [publish](./foundation-utils.observer.publish.md)
|
|
4
|
+
|
|
5
|
+
## Observer.publish property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
publish: Publish<EventType>;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [Observer](./foundation-utils.observer.md) > [subscribe](./foundation-utils.observer.subscribe.md)
|
|
4
|
+
|
|
5
|
+
## Observer.subscribe property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
subscribe: Subscribe<EventType>;
|
|
11
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [openPopup](./foundation-utils.openpopup.md)
|
|
4
|
+
|
|
5
|
+
## openPopup variable
|
|
6
|
+
|
|
7
|
+
Opens a new browser window with the specified URL, target, width, and height.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
openPopup: (urlNavigate: string, target: string, popUpWidth?: number, popUpHeight?: number) => Window
|
|
13
|
+
```
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [PendingState](./foundation-utils.pendingstate.md)
|
|
4
|
+
|
|
5
|
+
## PendingState variable
|
|
6
|
+
|
|
7
|
+
The `PendingState` mixin.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
PendingState: <TBase extends ConstructablePendingState>(Base: TBase) => {
|
|
13
|
+
new (...args: any[]): {
|
|
14
|
+
pendingCount: number;
|
|
15
|
+
resolvedCount: number;
|
|
16
|
+
hasPendingChildren: boolean;
|
|
17
|
+
readonly progress: number;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
onPendingState({ detail }: PendingStateEvent): Promise<void>;
|
|
21
|
+
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
22
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
23
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
24
|
+
accessKey: string;
|
|
25
|
+
readonly accessKeyLabel: string;
|
|
26
|
+
autocapitalize: string;
|
|
27
|
+
dir: string;
|
|
28
|
+
draggable: boolean;
|
|
29
|
+
hidden: boolean;
|
|
30
|
+
inert: boolean;
|
|
31
|
+
innerText: string;
|
|
32
|
+
lang: string;
|
|
33
|
+
readonly offsetHeight: number;
|
|
34
|
+
readonly offsetLeft: number;
|
|
35
|
+
readonly offsetParent: Element;
|
|
36
|
+
readonly offsetTop: number;
|
|
37
|
+
readonly offsetWidth: number;
|
|
38
|
+
outerText: string;
|
|
39
|
+
spellcheck: boolean;
|
|
40
|
+
title: string;
|
|
41
|
+
translate: boolean;
|
|
42
|
+
attachInternals(): ElementInternals;
|
|
43
|
+
click(): void;
|
|
44
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
45
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
46
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
47
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
48
|
+
readonly attributes: NamedNodeMap;
|
|
49
|
+
readonly classList: DOMTokenList;
|
|
50
|
+
className: string;
|
|
51
|
+
readonly clientHeight: number;
|
|
52
|
+
readonly clientLeft: number;
|
|
53
|
+
readonly clientTop: number;
|
|
54
|
+
readonly clientWidth: number;
|
|
55
|
+
id: string;
|
|
56
|
+
readonly localName: string;
|
|
57
|
+
readonly namespaceURI: string;
|
|
58
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
59
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
60
|
+
outerHTML: string;
|
|
61
|
+
readonly ownerDocument: Document;
|
|
62
|
+
readonly part: DOMTokenList;
|
|
63
|
+
readonly prefix: string;
|
|
64
|
+
readonly scrollHeight: number;
|
|
65
|
+
scrollLeft: number;
|
|
66
|
+
scrollTop: number;
|
|
67
|
+
readonly scrollWidth: number;
|
|
68
|
+
readonly shadowRoot: ShadowRoot;
|
|
69
|
+
slot: string;
|
|
70
|
+
readonly tagName: string;
|
|
71
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
72
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
73
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
74
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
75
|
+
getAttribute(qualifiedName: string): string;
|
|
76
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
77
|
+
getAttributeNames(): string[];
|
|
78
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
79
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
80
|
+
getBoundingClientRect(): DOMRect;
|
|
81
|
+
getClientRects(): DOMRectList;
|
|
82
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
83
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
84
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
85
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
86
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
87
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
88
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
89
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
90
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
91
|
+
hasAttributes(): boolean;
|
|
92
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
93
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
94
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
95
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
96
|
+
matches(selectors: string): boolean;
|
|
97
|
+
releasePointerCapture(pointerId: number): void;
|
|
98
|
+
removeAttribute(qualifiedName: string): void;
|
|
99
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
100
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
101
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
102
|
+
requestPointerLock(): void;
|
|
103
|
+
scroll(options?: ScrollToOptions): void;
|
|
104
|
+
scroll(x: number, y: number): void;
|
|
105
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
106
|
+
scrollBy(x: number, y: number): void;
|
|
107
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
108
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
109
|
+
scrollTo(x: number, y: number): void;
|
|
110
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
111
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
112
|
+
setAttributeNode(attr: Attr): Attr;
|
|
113
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
114
|
+
setPointerCapture(pointerId: number): void;
|
|
115
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
116
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
117
|
+
readonly baseURI: string;
|
|
118
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
119
|
+
readonly firstChild: ChildNode;
|
|
120
|
+
readonly isConnected: boolean;
|
|
121
|
+
readonly lastChild: ChildNode;
|
|
122
|
+
readonly nextSibling: ChildNode;
|
|
123
|
+
readonly nodeName: string;
|
|
124
|
+
readonly nodeType: number;
|
|
125
|
+
nodeValue: string;
|
|
126
|
+
readonly parentElement: HTMLElement;
|
|
127
|
+
readonly parentNode: ParentNode;
|
|
128
|
+
readonly previousSibling: ChildNode;
|
|
129
|
+
textContent: string;
|
|
130
|
+
appendChild<T extends Node>(node: T): T;
|
|
131
|
+
cloneNode(deep?: boolean): Node;
|
|
132
|
+
compareDocumentPosition(other: Node): number;
|
|
133
|
+
contains(other: Node): boolean;
|
|
134
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
135
|
+
hasChildNodes(): boolean;
|
|
136
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
|
|
137
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
138
|
+
isEqualNode(otherNode: Node): boolean;
|
|
139
|
+
isSameNode(otherNode: Node): boolean;
|
|
140
|
+
lookupNamespaceURI(prefix: string): string;
|
|
141
|
+
lookupPrefix(namespace: string): string;
|
|
142
|
+
normalize(): void;
|
|
143
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
144
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
145
|
+
readonly ATTRIBUTE_NODE: number;
|
|
146
|
+
readonly CDATA_SECTION_NODE: number;
|
|
147
|
+
readonly COMMENT_NODE: number;
|
|
148
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
149
|
+
readonly DOCUMENT_NODE: number;
|
|
150
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
151
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
152
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
153
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
154
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
155
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
156
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
157
|
+
readonly ELEMENT_NODE: number;
|
|
158
|
+
readonly ENTITY_NODE: number;
|
|
159
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
160
|
+
readonly NOTATION_NODE: number;
|
|
161
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
162
|
+
readonly TEXT_NODE: number;
|
|
163
|
+
dispatchEvent(event: Event): boolean;
|
|
164
|
+
ariaAtomic: string;
|
|
165
|
+
ariaAutoComplete: string;
|
|
166
|
+
ariaBusy: string;
|
|
167
|
+
ariaChecked: string;
|
|
168
|
+
ariaColCount: string;
|
|
169
|
+
ariaColIndex: string;
|
|
170
|
+
ariaColIndexText: string;
|
|
171
|
+
ariaColSpan: string;
|
|
172
|
+
ariaCurrent: string;
|
|
173
|
+
ariaDisabled: string;
|
|
174
|
+
ariaExpanded: string;
|
|
175
|
+
ariaHasPopup: string;
|
|
176
|
+
ariaHidden: string;
|
|
177
|
+
ariaInvalid: string;
|
|
178
|
+
ariaKeyShortcuts: string;
|
|
179
|
+
ariaLabel: string;
|
|
180
|
+
ariaLevel: string;
|
|
181
|
+
ariaLive: string;
|
|
182
|
+
ariaModal: string;
|
|
183
|
+
ariaMultiLine: string;
|
|
184
|
+
ariaMultiSelectable: string;
|
|
185
|
+
ariaOrientation: string;
|
|
186
|
+
ariaPlaceholder: string;
|
|
187
|
+
ariaPosInSet: string;
|
|
188
|
+
ariaPressed: string;
|
|
189
|
+
ariaReadOnly: string;
|
|
190
|
+
ariaRequired: string;
|
|
191
|
+
ariaRoleDescription: string;
|
|
192
|
+
ariaRowCount: string;
|
|
193
|
+
ariaRowIndex: string;
|
|
194
|
+
ariaRowIndexText: string;
|
|
195
|
+
ariaRowSpan: string;
|
|
196
|
+
ariaSelected: string;
|
|
197
|
+
ariaSetSize: string;
|
|
198
|
+
ariaSort: string;
|
|
199
|
+
ariaValueMax: string;
|
|
200
|
+
ariaValueMin: string;
|
|
201
|
+
ariaValueNow: string;
|
|
202
|
+
ariaValueText: string;
|
|
203
|
+
role: string;
|
|
204
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
205
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
206
|
+
after(...nodes: (string | Node)[]): void;
|
|
207
|
+
before(...nodes: (string | Node)[]): void;
|
|
208
|
+
remove(): void;
|
|
209
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
210
|
+
innerHTML: string;
|
|
211
|
+
readonly nextElementSibling: Element;
|
|
212
|
+
readonly previousElementSibling: Element;
|
|
213
|
+
readonly childElementCount: number;
|
|
214
|
+
readonly children: HTMLCollection;
|
|
215
|
+
readonly firstElementChild: Element;
|
|
216
|
+
readonly lastElementChild: Element;
|
|
217
|
+
append(...nodes: (string | Node)[]): void;
|
|
218
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
219
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
220
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
221
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
222
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
223
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
224
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
225
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
226
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
227
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
228
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
229
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
230
|
+
readonly style: CSSStyleDeclaration;
|
|
231
|
+
contentEditable: string;
|
|
232
|
+
enterKeyHint: string;
|
|
233
|
+
inputMode: string;
|
|
234
|
+
readonly isContentEditable: boolean;
|
|
235
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
236
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
237
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
238
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
239
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
240
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
241
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
242
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
243
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
244
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
245
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
246
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
247
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
248
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
249
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
250
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
251
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
252
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
253
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
254
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
255
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
256
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
257
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
258
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
259
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
260
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
261
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
262
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
263
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
264
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
265
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
266
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
267
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
268
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
269
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
270
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
271
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
273
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
274
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
275
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
276
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
277
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
278
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
279
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
280
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
281
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
282
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
283
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
284
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
285
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
286
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
287
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
288
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
289
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
290
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
291
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
292
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
293
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
294
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
295
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
296
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
297
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
298
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
299
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
300
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
301
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
302
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
303
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
304
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
305
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
306
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
307
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
308
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
309
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
312
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
313
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
314
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
315
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
316
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
317
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
318
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
319
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
320
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
321
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
322
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
323
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
324
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
326
|
+
autofocus: boolean;
|
|
327
|
+
readonly dataset: DOMStringMap;
|
|
328
|
+
nonce?: string;
|
|
329
|
+
tabIndex: number;
|
|
330
|
+
blur(): void;
|
|
331
|
+
focus(options?: FocusOptions): void;
|
|
332
|
+
};
|
|
333
|
+
} & TBase
|
|
334
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [PendingStateErrorEvent](./foundation-utils.pendingstateerrorevent.md)
|
|
4
|
+
|
|
5
|
+
## PendingStateErrorEvent type
|
|
6
|
+
|
|
7
|
+
A custom event that represents a `pending-state-error` event.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare type PendingStateErrorEvent = CustomEvent<PendingStateErrorEventData>;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [PendingStateEvent](./foundation-utils.pendingstateevent.md)
|
|
4
|
+
|
|
5
|
+
## PendingStateEvent type
|
|
6
|
+
|
|
7
|
+
A custom event that represents a `pending-state` event.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare type PendingStateEvent = CustomEvent<PendingStateEventData>;
|
|
13
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [PendingStateEvents](./foundation-utils.pendingstateevents.md)
|
|
4
|
+
|
|
5
|
+
## PendingStateEvents enum
|
|
6
|
+
|
|
7
|
+
An enum that defines the names of the events that can be raised by the `PendingState` mixin.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare enum PendingStateEvents
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Enumeration Members
|
|
16
|
+
|
|
17
|
+
| Member | Value | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| error | <code>"pending-state-error"</code> | |
|
|
20
|
+
| state | <code>"pending-state"</code> | |
|
|
21
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [POPUP\_DEFAULT\_HEIGHT](./foundation-utils.popup_default_height.md)
|
|
4
|
+
|
|
5
|
+
## POPUP\_DEFAULT\_HEIGHT variable
|
|
6
|
+
|
|
7
|
+
The default height (in pixels) for pop-up windows.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
POPUP_DEFAULT_HEIGHT = 600
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [POPUP\_DEFAULT\_WIDTH](./foundation-utils.popup_default_width.md)
|
|
4
|
+
|
|
5
|
+
## POPUP\_DEFAULT\_WIDTH variable
|
|
6
|
+
|
|
7
|
+
The default width (in pixels) for pop-up windows.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
POPUP_DEFAULT_WIDTH = 483
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [Publish](./foundation-utils.publish.md)
|
|
4
|
+
|
|
5
|
+
## Publish type
|
|
6
|
+
|
|
7
|
+
Publishes an event of a specific type to all subscribed listeners.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type Publish<EventType> = (event: EventType) => void;
|
|
13
|
+
```
|