@ni/nimble-components 21.6.7 → 21.7.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/all-components-bundle.js +124 -65
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2793 -2792
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/dialog/index.d.ts +1 -10
- package/dist/esm/dialog/index.js.map +1 -1
- package/dist/esm/drawer/index.d.ts +1 -2
- package/dist/esm/drawer/index.js.map +1 -1
- package/dist/esm/icons/all-icons.d.ts +6 -0
- package/dist/esm/icons/all-icons.js +6 -0
- package/dist/esm/icons/all-icons.js.map +1 -1
- package/dist/esm/icons/eye-dash.d.ts +13 -0
- package/dist/esm/icons/eye-dash.js +15 -0
- package/dist/esm/icons/eye-dash.js.map +1 -0
- package/dist/esm/icons/horizontal-triangle-outline.d.ts +13 -0
- package/dist/esm/icons/horizontal-triangle-outline.js +15 -0
- package/dist/esm/icons/horizontal-triangle-outline.js.map +1 -0
- package/dist/esm/icons/inward-squares-three.d.ts +13 -0
- package/dist/esm/icons/inward-squares-three.js +15 -0
- package/dist/esm/icons/inward-squares-three.js.map +1 -0
- package/dist/esm/icons/outward-squares-three.d.ts +13 -0
- package/dist/esm/icons/outward-squares-three.js +15 -0
- package/dist/esm/icons/outward-squares-three.js.map +1 -0
- package/dist/esm/icons/square-x.d.ts +13 -0
- package/dist/esm/icons/square-x.js +15 -0
- package/dist/esm/icons/square-x.js.map +1 -0
- package/dist/esm/icons/three-circles-ascending-container.d.ts +13 -0
- package/dist/esm/icons/three-circles-ascending-container.js +15 -0
- package/dist/esm/icons/three-circles-ascending-container.js.map +1 -0
- package/dist/esm/utilities/unit-format/decimal-unit-format.d.ts +0 -2
- package/dist/esm/utilities/unit-format/decimal-unit-format.js +6 -11
- package/dist/esm/utilities/unit-format/decimal-unit-format.js.map +1 -1
- package/dist/esm/utilities/unit-format/default-unit-format.d.ts +0 -3
- package/dist/esm/utilities/unit-format/default-unit-format.js +20 -52
- package/dist/esm/utilities/unit-format/default-unit-format.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,15 +6,6 @@ declare global {
|
|
|
6
6
|
'nimble-dialog': Dialog;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* This is a workaround for an incomplete definition of the native dialog element. Remove when using Typescript >=4.8.3.
|
|
11
|
-
* https://github.com/microsoft/TypeScript/issues/48267
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export interface ExtendedDialog extends HTMLDialogElement {
|
|
15
|
-
showModal(): void;
|
|
16
|
-
close(): void;
|
|
17
|
-
}
|
|
18
9
|
/**
|
|
19
10
|
* A nimble-styled dialog.
|
|
20
11
|
*/
|
|
@@ -43,7 +34,7 @@ export declare class Dialog<CloseReason = void> extends FoundationElement {
|
|
|
43
34
|
*
|
|
44
35
|
* @internal
|
|
45
36
|
*/
|
|
46
|
-
readonly dialogElement:
|
|
37
|
+
readonly dialogElement: HTMLDialogElement;
|
|
47
38
|
/** @internal */
|
|
48
39
|
footerIsEmpty: boolean;
|
|
49
40
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dialog/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACH,WAAW,EACX,6BAA6B,EAC7B,YAAY,EACZ,iBAAiB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,aAAa,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dialog/index.ts"],"names":[],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;6CACiB;AAI5B;IADC,UAAU;qDAC2C;AAqF1D,WAAW,CAAC,MAAM,EAAE,6BAA6B,CAAC,CAAC;AAEnD,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC;IAChC,QAAQ,EAAE,QAAQ;IAClB,QAAQ;IACR,MAAM;IACN,SAAS,EAAE,MAAM;CACpB,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC","sourcesContent":["import { attr, observable } from '@microsoft/fast-element';\nimport {\n applyMixins,\n ARIAGlobalStatesAndProperties,\n DesignSystem,\n FoundationElement\n} from '@microsoft/fast-foundation';\nimport { UserDismissed } from '../patterns/dialog/types';\nimport { styles } from './styles';\nimport { template } from './template';\n\nexport { UserDismissed };\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-dialog': Dialog;\n }\n}\n\n/**\n * A nimble-styled dialog.\n */\n// eslint-disable-next-line @typescript-eslint/no-invalid-void-type\nexport class Dialog<CloseReason = void> extends FoundationElement {\n // We want the member to match the name of the constant\n // eslint-disable-next-line @typescript-eslint/naming-convention\n public static readonly UserDismissed = UserDismissed;\n\n /**\n * @public\n * @description\n * Prevents dismissing the dialog via the Escape key\n */\n @attr({ attribute: 'prevent-dismiss', mode: 'boolean' })\n public preventDismiss = false;\n\n /**\n * @public\n * @description\n * Hides the header of the dialog.\n */\n @attr({ attribute: 'header-hidden', mode: 'boolean' })\n public headerHidden = false;\n\n /**\n * @public\n * @description\n * Hides the footer of the dialog.\n */\n @attr({ attribute: 'footer-hidden', mode: 'boolean' })\n public footerHidden = false;\n\n /**\n * The ref to the internal dialog element.\n *\n * @internal\n */\n public readonly dialogElement!: HTMLDialogElement;\n\n /** @internal */\n @observable\n public footerIsEmpty = true;\n\n /** @internal */\n @observable\n public readonly slottedFooterElements?: HTMLElement[];\n\n /**\n * True if the dialog is open/showing, false otherwise\n */\n public get open(): boolean {\n return this.resolveShow !== undefined;\n }\n\n private resolveShow?: (reason: CloseReason | UserDismissed) => void;\n\n /**\n * Opens the dialog\n * @returns Promise that is resolved when the dialog is closed. The value of the resolved Promise is the reason value passed to the close() method, or UserDismissed if the dialog was closed via the ESC key.\n */\n public async show(): Promise<CloseReason | UserDismissed> {\n if (this.open) {\n throw new Error('Dialog is already open');\n }\n this.dialogElement.showModal();\n return new Promise((resolve, _reject) => {\n this.resolveShow = resolve;\n });\n }\n\n /**\n * Closes the dialog\n * @param reason An optional value indicating how/why the dialog was closed.\n */\n public close(reason: CloseReason): void {\n if (!this.open) {\n throw new Error('Dialog is not open');\n }\n this.dialogElement.close();\n this.doResolveShow(reason);\n }\n\n public slottedFooterElementsChanged(\n _prev: HTMLElement[] | undefined,\n next: HTMLElement[] | undefined\n ): void {\n this.footerIsEmpty = !next?.length;\n }\n\n /**\n * @internal\n */\n public cancelHandler(event: Event): boolean {\n if (this.preventDismiss) {\n event.preventDefault();\n } else {\n this.doResolveShow(UserDismissed);\n }\n return true;\n }\n\n /**\n * @internal\n */\n public closeHandler(event: Event): void {\n if (event.target !== this.dialogElement) {\n return;\n }\n if (this.resolveShow) {\n // If\n // - the browser implements dialogs with the CloseWatcher API, and\n // - the user presses ESC without first interacting with the dialog (e.g. clicking, scrolling),\n // the cancel event is not fired, but the close event still is, and the dialog just closes.\n this.doResolveShow(UserDismissed);\n }\n }\n\n private doResolveShow(reason: CloseReason | UserDismissed): void {\n if (!this.resolveShow) {\n throw new Error(\n 'Do not call doResolveShow unless there is a promise to resolve'\n );\n }\n this.resolveShow(reason);\n this.resolveShow = undefined;\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface Dialog extends ARIAGlobalStatesAndProperties {}\napplyMixins(Dialog, ARIAGlobalStatesAndProperties);\n\nconst nimbleDialog = Dialog.compose({\n baseName: 'dialog',\n template,\n styles,\n baseClass: Dialog\n});\n\nDesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());\nexport const dialogTag = 'nimble-dialog';\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ARIAGlobalStatesAndProperties, FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { ExtendedDialog } from '../dialog';
|
|
3
2
|
import { UserDismissed } from '../patterns/dialog/types';
|
|
4
3
|
import { DrawerLocation } from './types';
|
|
5
4
|
export { UserDismissed };
|
|
@@ -16,7 +15,7 @@ export declare class Drawer<CloseReason = void> extends FoundationElement {
|
|
|
16
15
|
static readonly UserDismissed: symbol;
|
|
17
16
|
location: DrawerLocation;
|
|
18
17
|
preventDismiss: boolean;
|
|
19
|
-
dialog:
|
|
18
|
+
dialog: HTMLDialogElement;
|
|
20
19
|
private closing;
|
|
21
20
|
private resolveShow?;
|
|
22
21
|
private closeReason;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/drawer/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EACH,WAAW,EACX,6BAA6B,EAC7B,YAAY,EACZ,iBAAiB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/drawer/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EACH,WAAW,EACX,6BAA6B,EAC7B,YAAY,EACZ,iBAAiB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE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AAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAC1C,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACxC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACpB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;YACrB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SACxC;IACL,CAAC;;AAjID,uDAAuD;AACvD,gEAAgE;AACzC,oBAAa,GAAG,aAAa,CAAC;AAGrD;IADC,IAAI;wCACkD;AAGvD;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8CAC1B;AA8HlC,WAAW,CAAC,MAAM,EAAE,6BAA6B,CAAC,CAAC;AAEnD,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC;IAChC,QAAQ,EAAE,QAAQ;IAClB,QAAQ;IACR,MAAM;CACT,CAAC,CAAC;AACH,YAAY,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC","sourcesContent":["import { attr } from '@microsoft/fast-element';\nimport {\n applyMixins,\n ARIAGlobalStatesAndProperties,\n DesignSystem,\n FoundationElement\n} from '@microsoft/fast-foundation';\nimport { eventAnimationEnd } from '@microsoft/fast-web-utilities';\nimport { UserDismissed } from '../patterns/dialog/types';\nimport { styles } from './styles';\nimport { template } from './template';\nimport { DrawerLocation } from './types';\n\nexport { UserDismissed };\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-drawer': Drawer;\n }\n}\n\n/**\n * Drawer control. Shows content in a panel on the left / right side of the screen,\n * which animates to be visible with a slide-in / slide-out animation.\n */\n// eslint-disable-next-line @typescript-eslint/no-invalid-void-type\nexport class Drawer<CloseReason = void> extends FoundationElement {\n // We want the member to match the name of the constant\n // eslint-disable-next-line @typescript-eslint/naming-convention\n public static readonly UserDismissed = UserDismissed;\n\n @attr\n public location: DrawerLocation = DrawerLocation.right;\n\n @attr({ attribute: 'prevent-dismiss', mode: 'boolean' })\n public preventDismiss = false;\n\n public dialog!: HTMLDialogElement;\n private closing = false;\n\n private resolveShow?: (reason: CloseReason | UserDismissed) => void;\n private closeReason!: CloseReason | UserDismissed;\n\n /**\n * True if the drawer is open, opening, or closing. Otherwise, false.\n */\n public get open(): boolean {\n return this.resolveShow !== undefined;\n }\n\n /**\n * Opens the drawer\n * @returns Promise that is resolved when the drawer finishes closing. The value of the resolved\n * Promise is the reason value passed to the close() method, or UserDismissed if the drawer was\n * closed via the ESC key.\n */\n public async show(): Promise<CloseReason | UserDismissed> {\n if (this.open) {\n throw new Error('Drawer is already open');\n }\n this.openDialog();\n return new Promise((resolve, _reject) => {\n this.resolveShow = resolve;\n });\n }\n\n /**\n * Closes the drawer\n * @param reason An optional value indicating how/why the drawer was closed.\n */\n public close(reason: CloseReason): void {\n if (!this.open || this.closing) {\n throw new Error('Drawer is not open or already closing');\n }\n this.closeReason = reason;\n this.closeDialog();\n }\n\n /**\n * @internal\n */\n public cancelHandler(event: Event): boolean {\n // Allowing the dialog to close itself bypasses the drawer's animation logic, so we\n // should close the drawer ourselves when preventDismiss is false.\n event.preventDefault();\n\n if (!this.preventDismiss) {\n this.closeReason = UserDismissed;\n this.closeDialog();\n }\n return true;\n }\n\n /**\n * @internal\n */\n public closeHandler(event: Event): void {\n if (event.target !== this.dialog) {\n return;\n }\n if (this.resolveShow) {\n // If\n // - the browser implements dialogs with the CloseWatcher API, and\n // - the user presses ESC without first interacting with the drawer (e.g. clicking, scrolling),\n // the cancel event is not fired, but the close event still is, and the drawer just closes.\n // The animation is never started, so there is no animation end listener to clean up.\n this.doResolveShow(UserDismissed);\n }\n }\n\n private doResolveShow(reason: CloseReason | UserDismissed): void {\n if (!this.resolveShow) {\n throw new Error(\n 'Do not call doResolveShow unless there is a promise to resolve'\n );\n }\n this.resolveShow(reason);\n this.resolveShow = undefined;\n }\n\n private readonly animationEndHandlerFunction = (): void => this.animationEndHandler();\n\n private openDialog(): void {\n this.dialog.showModal();\n this.triggerAnimation();\n }\n\n private closeDialog(): void {\n this.closing = true;\n this.triggerAnimation();\n }\n\n private triggerAnimation(): void {\n this.dialog.classList.add('animating');\n if (this.closing) {\n this.dialog.classList.add('closing');\n }\n\n this.dialog.addEventListener(\n eventAnimationEnd,\n this.animationEndHandlerFunction\n );\n }\n\n private animationEndHandler(): void {\n this.dialog.removeEventListener(\n eventAnimationEnd,\n this.animationEndHandlerFunction\n );\n this.dialog.classList.remove('animating');\n if (this.closing) {\n this.dialog.classList.remove('closing');\n this.dialog.close();\n this.closing = false;\n this.doResolveShow(this.closeReason);\n }\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface Drawer extends ARIAGlobalStatesAndProperties {}\napplyMixins(Drawer, ARIAGlobalStatesAndProperties);\n\nconst nimbleDrawer = Drawer.compose({\n baseName: 'drawer',\n template,\n styles\n});\nDesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());\nexport const drawerTag = 'nimble-drawer';\n"]}
|
|
@@ -76,6 +76,7 @@ export { IconDownload } from './download';
|
|
|
76
76
|
export { IconElectronicChipZoomed } from './electronic-chip-zoomed';
|
|
77
77
|
export { IconExclamationMark } from './exclamation-mark';
|
|
78
78
|
export { IconEye } from './eye';
|
|
79
|
+
export { IconEyeDash } from './eye-dash';
|
|
79
80
|
export { IconFancyA } from './fancy-a';
|
|
80
81
|
export { IconFile } from './file';
|
|
81
82
|
export { IconFileArrowCurvedRight } from './file-arrow-curved-right';
|
|
@@ -98,11 +99,13 @@ export { IconGridTwoByTwo } from './grid-two-by-two';
|
|
|
98
99
|
export { IconHammer } from './hammer';
|
|
99
100
|
export { IconHashtag } from './hashtag';
|
|
100
101
|
export { IconHome } from './home';
|
|
102
|
+
export { IconHorizontalTriangleOutline } from './horizontal-triangle-outline';
|
|
101
103
|
export { IconHourglass } from './hourglass';
|
|
102
104
|
export { IconIndent } from './indent';
|
|
103
105
|
export { IconIndeterminantCheckbox } from './indeterminant-checkbox';
|
|
104
106
|
export { IconInfo } from './info';
|
|
105
107
|
export { IconInfoCircle } from './info-circle';
|
|
108
|
+
export { IconInwardSquaresThree } from './inward-squares-three';
|
|
106
109
|
export { IconItalicI } from './italic-i';
|
|
107
110
|
export { IconKey } from './key';
|
|
108
111
|
export { IconLaptop } from './laptop';
|
|
@@ -123,6 +126,7 @@ export { IconNi } from './ni';
|
|
|
123
126
|
export { IconNotebook } from './notebook';
|
|
124
127
|
export { IconNumberList } from './number-list';
|
|
125
128
|
export { IconOutdent } from './outdent';
|
|
129
|
+
export { IconOutwardSquaresThree } from './outward-squares-three';
|
|
126
130
|
export { IconPaste } from './paste';
|
|
127
131
|
export { IconPause } from './pause';
|
|
128
132
|
export { IconPencil } from './pencil';
|
|
@@ -143,6 +147,7 @@ export { IconSkipArrow } from './skip-arrow';
|
|
|
143
147
|
export { IconSpinner } from './spinner';
|
|
144
148
|
export { IconSquareCheck } from './square-check';
|
|
145
149
|
export { IconSquareT } from './square-t';
|
|
150
|
+
export { IconSquareX } from './square-x';
|
|
146
151
|
export { IconStopSquare } from './stop-square';
|
|
147
152
|
export { IconSystemlink } from './systemlink';
|
|
148
153
|
export { IconT } from './t';
|
|
@@ -151,6 +156,7 @@ export { IconTag } from './tag';
|
|
|
151
156
|
export { IconTags } from './tags';
|
|
152
157
|
export { IconTargetCrosshairs } from './target-crosshairs';
|
|
153
158
|
export { IconTargetCrosshairsProgress } from './target-crosshairs-progress';
|
|
159
|
+
export { IconThreeCirclesAscendingContainer } from './three-circles-ascending-container';
|
|
154
160
|
export { IconThreeDotsLine } from './three-dots-line';
|
|
155
161
|
export { IconThreeVerticalLines } from './three-vertical-lines';
|
|
156
162
|
export { IconThumbtack } from './thumbtack';
|
|
@@ -78,6 +78,7 @@ export { IconDownload } from './download';
|
|
|
78
78
|
export { IconElectronicChipZoomed } from './electronic-chip-zoomed';
|
|
79
79
|
export { IconExclamationMark } from './exclamation-mark';
|
|
80
80
|
export { IconEye } from './eye';
|
|
81
|
+
export { IconEyeDash } from './eye-dash';
|
|
81
82
|
export { IconFancyA } from './fancy-a';
|
|
82
83
|
export { IconFile } from './file';
|
|
83
84
|
export { IconFileArrowCurvedRight } from './file-arrow-curved-right';
|
|
@@ -100,11 +101,13 @@ export { IconGridTwoByTwo } from './grid-two-by-two';
|
|
|
100
101
|
export { IconHammer } from './hammer';
|
|
101
102
|
export { IconHashtag } from './hashtag';
|
|
102
103
|
export { IconHome } from './home';
|
|
104
|
+
export { IconHorizontalTriangleOutline } from './horizontal-triangle-outline';
|
|
103
105
|
export { IconHourglass } from './hourglass';
|
|
104
106
|
export { IconIndent } from './indent';
|
|
105
107
|
export { IconIndeterminantCheckbox } from './indeterminant-checkbox';
|
|
106
108
|
export { IconInfo } from './info';
|
|
107
109
|
export { IconInfoCircle } from './info-circle';
|
|
110
|
+
export { IconInwardSquaresThree } from './inward-squares-three';
|
|
108
111
|
export { IconItalicI } from './italic-i';
|
|
109
112
|
export { IconKey } from './key';
|
|
110
113
|
export { IconLaptop } from './laptop';
|
|
@@ -125,6 +128,7 @@ export { IconNi } from './ni';
|
|
|
125
128
|
export { IconNotebook } from './notebook';
|
|
126
129
|
export { IconNumberList } from './number-list';
|
|
127
130
|
export { IconOutdent } from './outdent';
|
|
131
|
+
export { IconOutwardSquaresThree } from './outward-squares-three';
|
|
128
132
|
export { IconPaste } from './paste';
|
|
129
133
|
export { IconPause } from './pause';
|
|
130
134
|
export { IconPencil } from './pencil';
|
|
@@ -145,6 +149,7 @@ export { IconSkipArrow } from './skip-arrow';
|
|
|
145
149
|
export { IconSpinner } from './spinner';
|
|
146
150
|
export { IconSquareCheck } from './square-check';
|
|
147
151
|
export { IconSquareT } from './square-t';
|
|
152
|
+
export { IconSquareX } from './square-x';
|
|
148
153
|
export { IconStopSquare } from './stop-square';
|
|
149
154
|
export { IconSystemlink } from './systemlink';
|
|
150
155
|
export { IconT } from './t';
|
|
@@ -153,6 +158,7 @@ export { IconTag } from './tag';
|
|
|
153
158
|
export { IconTags } from './tags';
|
|
154
159
|
export { IconTargetCrosshairs } from './target-crosshairs';
|
|
155
160
|
export { IconTargetCrosshairsProgress } from './target-crosshairs-progress';
|
|
161
|
+
export { IconThreeCirclesAscendingContainer } from './three-circles-ascending-container';
|
|
156
162
|
export { IconThreeDotsLine } from './three-dots-line';
|
|
157
163
|
export { IconThreeVerticalLines } from './three-vertical-lines';
|
|
158
164
|
export { IconThumbtack } from './thumbtack';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-icons.js","sourceRoot":"","sources":["../../../src/icons/all-icons.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,oBA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AAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nexport { IconAdd } from './add';\nexport { IconArrowDown } from './arrow-down';\nexport { IconArrowDownRightAndArrowUpLeft } from './arrow-down-right-and-arrow-up-left';\nexport { IconArrowExpanderDown } from './arrow-expander-down';\nexport { IconArrowExpanderLeft } from './arrow-expander-left';\nexport { IconArrowExpanderRight } from './arrow-expander-right';\nexport { IconArrowExpanderUp } from './arrow-expander-up';\nexport { IconArrowInCircle } from './arrow-in-circle';\nexport { IconArrowLeftFromLine } from './arrow-left-from-line';\nexport { IconArrowOutCircle } from './arrow-out-circle';\nexport { IconArrowPartialRotateLeft } from './arrow-partial-rotate-left';\nexport { IconArrowRightToLine } from './arrow-right-to-line';\nexport { IconArrowRotateRight } from './arrow-rotate-right';\nexport { IconArrowURotateLeft } from './arrow-u-rotate-left';\nexport { IconArrowUp } from './arrow-up';\nexport { IconArrowUpLeftAndArrowDownRight } from './arrow-up-left-and-arrow-down-right';\nexport { IconArrowUpRightFromSquare } from './arrow-up-right-from-square';\nexport { IconArrowsMaximize } from './arrows-maximize';\nexport { IconArrowsRepeat } from './arrows-repeat';\nexport { IconAt } from './at';\nexport { IconBars } from './bars';\nexport { IconBell } from './bell';\nexport { IconBellAndComment } from './bell-and-comment';\nexport { IconBellCircle } from './bell-circle';\nexport { IconBellSolidCircle } from './bell-solid-circle';\nexport { IconBlockWithRibbon } from './block-with-ribbon';\nexport { IconBoldB } from './bold-b';\nexport { IconBookMagnifyingGlass } from './book-magnifying-glass';\nexport { IconCalendar } from './calendar';\nexport { IconCalendarCheckLines } from './calendar-check-lines';\nexport { IconCalendarDay } from './calendar-day';\nexport { IconChartDiagram } from './chart-diagram';\nexport { IconChartDiagramChildFocus } from './chart-diagram-child-focus';\nexport { IconChartDiagramParentFocus } from './chart-diagram-parent-focus';\nexport { IconChartDiagramParentFocusTwoChild } from './chart-diagram-parent-focus-two-child';\nexport { IconCheck } from './check';\nexport { IconCheckDot } from './check-dot';\nexport { IconCheckLarge } from './check-large';\nexport { IconCircle } from './circle';\nexport { IconCircleBroken } from './circle-broken';\nexport { IconCircleCheck } from './circle-check';\nexport { IconCircleFilled } from './circle-filled';\nexport { IconCirclePartialBroken } from './circle-partial-broken';\nexport { IconCircleSlash } from './circle-slash';\nexport { IconCircleX } from './circle-x';\nexport { IconClipboard } from './clipboard';\nexport { IconClock } from './clock';\nexport { IconClockCog } from './clock-cog';\nexport { IconClockExclamation } from './clock-exclamation';\nexport { IconClockTriangle } from './clock-triangle';\nexport { IconClone } from './clone';\nexport { IconCloud } from './cloud';\nexport { IconCloudUpload } from './cloud-upload';\nexport { IconCloudWithArrow } from './cloud-with-arrow';\nexport { IconCog } from './cog';\nexport { IconCogDatabase } from './cog-database';\nexport { IconCogDatabaseInset } from './cog-database-inset';\nexport { IconCogSmallCog } from './cog-small-cog';\nexport { IconCogZoomed } from './cog-zoomed';\nexport { IconComment } from './comment';\nexport { IconComputerAndMonitor } from './computer-and-monitor';\nexport { IconCopy } from './copy';\nexport { IconCopyText } from './copy-text';\nexport { IconDashboardBuilder } from './dashboard-builder';\nexport { IconDashboardBuilderLegend } from './dashboard-builder-legend';\nexport { IconDashboardBuilderTemplates } from './dashboard-builder-templates';\nexport { IconDashboardBuilderTile } from './dashboard-builder-tile';\nexport { IconDatabase } from './database';\nexport { IconDatabaseCheck } from './database-check';\nexport { IconDesktop } from './desktop';\nexport { IconDonutChart } from './donut-chart';\nexport { IconDotSolidDotStroke } from './dot-solid-dot-stroke';\nexport { IconDotSolidDotStrokeMeasurement } from './dot-solid-dot-stroke-measurement';\nexport { IconDownRightFromSquare } from './down-right-from-square';\nexport { IconDownload } from './download';\nexport { IconElectronicChipZoomed } from './electronic-chip-zoomed';\nexport { IconExclamationMark } from './exclamation-mark';\nexport { IconEye } from './eye';\nexport { IconFancyA } from './fancy-a';\nexport { IconFile } from './file';\nexport { IconFileArrowCurvedRight } from './file-arrow-curved-right';\nexport { IconFileDrawer } from './file-drawer';\nexport { IconFileSearch } from './file-search';\nexport { IconFilter } from './filter';\nexport { IconFloppyDisk } from './floppy-disk';\nexport { IconFloppyDiskCheckmark } from './floppy-disk-checkmark';\nexport { IconFloppyDiskPen } from './floppy-disk-pen';\nexport { IconFloppyDiskStarArrowRight } from './floppy-disk-star-arrow-right';\nexport { IconFloppyDiskThreeDots } from './floppy-disk-three-dots';\nexport { IconFolder } from './folder';\nexport { IconFolderOpen } from './folder-open';\nexport { IconForwardSlash } from './forward-slash';\nexport { IconFourDotsSquare } from './four-dots-square';\nexport { IconFunction } from './function';\nexport { IconGaugeSimple } from './gauge-simple';\nexport { IconGridThreeByThree } from './grid-three-by-three';\nexport { IconGridTwoByTwo } from './grid-two-by-two';\nexport { IconHammer } from './hammer';\nexport { IconHashtag } from './hashtag';\nexport { IconHome } from './home';\nexport { IconHourglass } from './hourglass';\nexport { IconIndent } from './indent';\nexport { IconIndeterminantCheckbox } from './indeterminant-checkbox';\nexport { IconInfo } from './info';\nexport { IconInfoCircle } from './info-circle';\nexport { IconItalicI } from './italic-i';\nexport { IconKey } from './key';\nexport { IconLaptop } from './laptop';\nexport { IconLayerGroup } from './layer-group';\nexport { IconLightningBolt } from './lightning-bolt';\nexport { IconLink } from './link';\nexport { IconLinkCancel } from './link-cancel';\nexport { IconList } from './list';\nexport { IconListTree } from './list-tree';\nexport { IconListTreeDatabase } from './list-tree-database';\nexport { IconLock } from './lock';\nexport { IconMagnifyingGlass } from './magnifying-glass';\nexport { IconMarkdown } from './markdown';\nexport { IconMinus } from './minus';\nexport { IconMinusWide } from './minus-wide';\nexport { IconMobile } from './mobile';\nexport { IconNi } from './ni';\nexport { IconNotebook } from './notebook';\nexport { IconNumberList } from './number-list';\nexport { IconOutdent } from './outdent';\nexport { IconPaste } from './paste';\nexport { IconPause } from './pause';\nexport { IconPencil } from './pencil';\nexport { IconPlay } from './play';\nexport { IconPotWithLid } from './pot-with-lid';\nexport { IconQuestion } from './question';\nexport { IconRectangleCheckLines } from './rectangle-check-lines';\nexport { IconRunningArrow } from './running-arrow';\nexport { IconScreenCheckLines } from './screen-check-lines';\nexport { IconScreenCheckLinesCalendar } from './screen-check-lines-calendar';\nexport { IconServer } from './server';\nexport { IconShareNodes } from './share-nodes';\nexport { IconShieldCheck } from './shield-check';\nexport { IconShieldXmark } from './shield-xmark';\nexport { IconSignalBars } from './signal-bars';\nexport { IconSineGraph } from './sine-graph';\nexport { IconSkipArrow } from './skip-arrow';\nexport { IconSpinner } from './spinner';\nexport { IconSquareCheck } from './square-check';\nexport { IconSquareT } from './square-t';\nexport { IconStopSquare } from './stop-square';\nexport { IconSystemlink } from './systemlink';\nexport { IconT } from './t';\nexport { IconTablet } from './tablet';\nexport { IconTag } from './tag';\nexport { IconTags } from './tags';\nexport { IconTargetCrosshairs } from './target-crosshairs';\nexport { IconTargetCrosshairsProgress } from './target-crosshairs-progress';\nexport { IconThreeDotsLine } from './three-dots-line';\nexport { IconThreeVerticalLines } from './three-vertical-lines';\nexport { IconThumbtack } from './thumbtack';\nexport { IconTileSize } from './tile-size';\nexport { IconTimes } from './times';\nexport { IconTrash } from './trash';\nexport { IconTriangle } from './triangle';\nexport { IconTriangleFilled } from './triangle-filled';\nexport { IconTriangleTwoLinesHorizontal } from './triangle-two-lines-horizontal';\nexport { IconTrueFalseRectangle } from './true-false-rectangle';\nexport { IconTwoSquaresInBrackets } from './two-squares-in-brackets';\nexport { IconTwoTrianglesBetweenLines } from './two-triangles-between-lines';\nexport { IconUnlink } from './unlink';\nexport { IconUnlock } from './unlock';\nexport { IconUpRightFromSquare } from './up-right-from-square';\nexport { IconUpload } from './upload';\nexport { IconUser } from './user';\nexport { IconWatch } from './watch';\nexport { IconWaveform } from './waveform';\nexport { IconWebviCustom } from './webvi-custom';\nexport { IconWebviHost } from './webvi-host';\nexport { IconWindowCode } from './window-code';\nexport { IconWindowText } from './window-text';\nexport { IconWrenchHammer } from './wrench-hammer';\nexport { IconXmark } from './xmark';\nexport { IconXmarkCheck } from './xmark-check';\n"]}
|
|
1
|
+
{"version":3,"file":"all-icons.js","sourceRoot":"","sources":["../../../src/icons/all-icons.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CA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,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nexport { IconAdd } from './add';\nexport { IconArrowDown } from './arrow-down';\nexport { IconArrowDownRightAndArrowUpLeft } from './arrow-down-right-and-arrow-up-left';\nexport { IconArrowExpanderDown } from './arrow-expander-down';\nexport { IconArrowExpanderLeft } from './arrow-expander-left';\nexport { IconArrowExpanderRight } from './arrow-expander-right';\nexport { IconArrowExpanderUp } from './arrow-expander-up';\nexport { IconArrowInCircle } from './arrow-in-circle';\nexport { IconArrowLeftFromLine } from './arrow-left-from-line';\nexport { IconArrowOutCircle } from './arrow-out-circle';\nexport { IconArrowPartialRotateLeft } from './arrow-partial-rotate-left';\nexport { IconArrowRightToLine } from './arrow-right-to-line';\nexport { IconArrowRotateRight } from './arrow-rotate-right';\nexport { IconArrowURotateLeft } from './arrow-u-rotate-left';\nexport { IconArrowUp } from './arrow-up';\nexport { IconArrowUpLeftAndArrowDownRight } from './arrow-up-left-and-arrow-down-right';\nexport { IconArrowUpRightFromSquare } from './arrow-up-right-from-square';\nexport { IconArrowsMaximize } from './arrows-maximize';\nexport { IconArrowsRepeat } from './arrows-repeat';\nexport { IconAt } from './at';\nexport { IconBars } from './bars';\nexport { IconBell } from './bell';\nexport { IconBellAndComment } from './bell-and-comment';\nexport { IconBellCircle } from './bell-circle';\nexport { IconBellSolidCircle } from './bell-solid-circle';\nexport { IconBlockWithRibbon } from './block-with-ribbon';\nexport { IconBoldB } from './bold-b';\nexport { IconBookMagnifyingGlass } from './book-magnifying-glass';\nexport { IconCalendar } from './calendar';\nexport { IconCalendarCheckLines } from './calendar-check-lines';\nexport { IconCalendarDay } from './calendar-day';\nexport { IconChartDiagram } from './chart-diagram';\nexport { IconChartDiagramChildFocus } from './chart-diagram-child-focus';\nexport { IconChartDiagramParentFocus } from './chart-diagram-parent-focus';\nexport { IconChartDiagramParentFocusTwoChild } from './chart-diagram-parent-focus-two-child';\nexport { IconCheck } from './check';\nexport { IconCheckDot } from './check-dot';\nexport { IconCheckLarge } from './check-large';\nexport { IconCircle } from './circle';\nexport { IconCircleBroken } from './circle-broken';\nexport { IconCircleCheck } from './circle-check';\nexport { IconCircleFilled } from './circle-filled';\nexport { IconCirclePartialBroken } from './circle-partial-broken';\nexport { IconCircleSlash } from './circle-slash';\nexport { IconCircleX } from './circle-x';\nexport { IconClipboard } from './clipboard';\nexport { IconClock } from './clock';\nexport { IconClockCog } from './clock-cog';\nexport { IconClockExclamation } from './clock-exclamation';\nexport { IconClockTriangle } from './clock-triangle';\nexport { IconClone } from './clone';\nexport { IconCloud } from './cloud';\nexport { IconCloudUpload } from './cloud-upload';\nexport { IconCloudWithArrow } from './cloud-with-arrow';\nexport { IconCog } from './cog';\nexport { IconCogDatabase } from './cog-database';\nexport { IconCogDatabaseInset } from './cog-database-inset';\nexport { IconCogSmallCog } from './cog-small-cog';\nexport { IconCogZoomed } from './cog-zoomed';\nexport { IconComment } from './comment';\nexport { IconComputerAndMonitor } from './computer-and-monitor';\nexport { IconCopy } from './copy';\nexport { IconCopyText } from './copy-text';\nexport { IconDashboardBuilder } from './dashboard-builder';\nexport { IconDashboardBuilderLegend } from './dashboard-builder-legend';\nexport { IconDashboardBuilderTemplates } from './dashboard-builder-templates';\nexport { IconDashboardBuilderTile } from './dashboard-builder-tile';\nexport { IconDatabase } from './database';\nexport { IconDatabaseCheck } from './database-check';\nexport { IconDesktop } from './desktop';\nexport { IconDonutChart } from './donut-chart';\nexport { IconDotSolidDotStroke } from './dot-solid-dot-stroke';\nexport { IconDotSolidDotStrokeMeasurement } from './dot-solid-dot-stroke-measurement';\nexport { IconDownRightFromSquare } from './down-right-from-square';\nexport { IconDownload } from './download';\nexport { IconElectronicChipZoomed } from './electronic-chip-zoomed';\nexport { IconExclamationMark } from './exclamation-mark';\nexport { IconEye } from './eye';\nexport { IconEyeDash } from './eye-dash';\nexport { IconFancyA } from './fancy-a';\nexport { IconFile } from './file';\nexport { IconFileArrowCurvedRight } from './file-arrow-curved-right';\nexport { IconFileDrawer } from './file-drawer';\nexport { IconFileSearch } from './file-search';\nexport { IconFilter } from './filter';\nexport { IconFloppyDisk } from './floppy-disk';\nexport { IconFloppyDiskCheckmark } from './floppy-disk-checkmark';\nexport { IconFloppyDiskPen } from './floppy-disk-pen';\nexport { IconFloppyDiskStarArrowRight } from './floppy-disk-star-arrow-right';\nexport { IconFloppyDiskThreeDots } from './floppy-disk-three-dots';\nexport { IconFolder } from './folder';\nexport { IconFolderOpen } from './folder-open';\nexport { IconForwardSlash } from './forward-slash';\nexport { IconFourDotsSquare } from './four-dots-square';\nexport { IconFunction } from './function';\nexport { IconGaugeSimple } from './gauge-simple';\nexport { IconGridThreeByThree } from './grid-three-by-three';\nexport { IconGridTwoByTwo } from './grid-two-by-two';\nexport { IconHammer } from './hammer';\nexport { IconHashtag } from './hashtag';\nexport { IconHome } from './home';\nexport { IconHorizontalTriangleOutline } from './horizontal-triangle-outline';\nexport { IconHourglass } from './hourglass';\nexport { IconIndent } from './indent';\nexport { IconIndeterminantCheckbox } from './indeterminant-checkbox';\nexport { IconInfo } from './info';\nexport { IconInfoCircle } from './info-circle';\nexport { IconInwardSquaresThree } from './inward-squares-three';\nexport { IconItalicI } from './italic-i';\nexport { IconKey } from './key';\nexport { IconLaptop } from './laptop';\nexport { IconLayerGroup } from './layer-group';\nexport { IconLightningBolt } from './lightning-bolt';\nexport { IconLink } from './link';\nexport { IconLinkCancel } from './link-cancel';\nexport { IconList } from './list';\nexport { IconListTree } from './list-tree';\nexport { IconListTreeDatabase } from './list-tree-database';\nexport { IconLock } from './lock';\nexport { IconMagnifyingGlass } from './magnifying-glass';\nexport { IconMarkdown } from './markdown';\nexport { IconMinus } from './minus';\nexport { IconMinusWide } from './minus-wide';\nexport { IconMobile } from './mobile';\nexport { IconNi } from './ni';\nexport { IconNotebook } from './notebook';\nexport { IconNumberList } from './number-list';\nexport { IconOutdent } from './outdent';\nexport { IconOutwardSquaresThree } from './outward-squares-three';\nexport { IconPaste } from './paste';\nexport { IconPause } from './pause';\nexport { IconPencil } from './pencil';\nexport { IconPlay } from './play';\nexport { IconPotWithLid } from './pot-with-lid';\nexport { IconQuestion } from './question';\nexport { IconRectangleCheckLines } from './rectangle-check-lines';\nexport { IconRunningArrow } from './running-arrow';\nexport { IconScreenCheckLines } from './screen-check-lines';\nexport { IconScreenCheckLinesCalendar } from './screen-check-lines-calendar';\nexport { IconServer } from './server';\nexport { IconShareNodes } from './share-nodes';\nexport { IconShieldCheck } from './shield-check';\nexport { IconShieldXmark } from './shield-xmark';\nexport { IconSignalBars } from './signal-bars';\nexport { IconSineGraph } from './sine-graph';\nexport { IconSkipArrow } from './skip-arrow';\nexport { IconSpinner } from './spinner';\nexport { IconSquareCheck } from './square-check';\nexport { IconSquareT } from './square-t';\nexport { IconSquareX } from './square-x';\nexport { IconStopSquare } from './stop-square';\nexport { IconSystemlink } from './systemlink';\nexport { IconT } from './t';\nexport { IconTablet } from './tablet';\nexport { IconTag } from './tag';\nexport { IconTags } from './tags';\nexport { IconTargetCrosshairs } from './target-crosshairs';\nexport { IconTargetCrosshairsProgress } from './target-crosshairs-progress';\nexport { IconThreeCirclesAscendingContainer } from './three-circles-ascending-container';\nexport { IconThreeDotsLine } from './three-dots-line';\nexport { IconThreeVerticalLines } from './three-vertical-lines';\nexport { IconThumbtack } from './thumbtack';\nexport { IconTileSize } from './tile-size';\nexport { IconTimes } from './times';\nexport { IconTrash } from './trash';\nexport { IconTriangle } from './triangle';\nexport { IconTriangleFilled } from './triangle-filled';\nexport { IconTriangleTwoLinesHorizontal } from './triangle-two-lines-horizontal';\nexport { IconTrueFalseRectangle } from './true-false-rectangle';\nexport { IconTwoSquaresInBrackets } from './two-squares-in-brackets';\nexport { IconTwoTrianglesBetweenLines } from './two-triangles-between-lines';\nexport { IconUnlink } from './unlink';\nexport { IconUnlock } from './unlock';\nexport { IconUpRightFromSquare } from './up-right-from-square';\nexport { IconUpload } from './upload';\nexport { IconUser } from './user';\nexport { IconWatch } from './watch';\nexport { IconWaveform } from './waveform';\nexport { IconWebviCustom } from './webvi-custom';\nexport { IconWebviHost } from './webvi-host';\nexport { IconWindowCode } from './window-code';\nexport { IconWindowText } from './window-text';\nexport { IconWrenchHammer } from './wrench-hammer';\nexport { IconXmark } from './xmark';\nexport { IconXmarkCheck } from './xmark-check';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-icon-eye-dash': IconEyeDash;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'eyeDash' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconEyeDash extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconEyeDashTag = "nimble-icon-eye-dash";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
2
|
+
// See generation source in nimble-components/build/generate-icons
|
|
3
|
+
import { eyeDash16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
4
|
+
import { Icon, registerIcon } from '../icon-base';
|
|
5
|
+
/**
|
|
6
|
+
* The icon component for the 'eyeDash' icon
|
|
7
|
+
*/
|
|
8
|
+
export class IconEyeDash extends Icon {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(eyeDash16X16);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
registerIcon('icon-eye-dash', IconEyeDash);
|
|
14
|
+
export const iconEyeDashTag = 'nimble-icon-eye-dash';
|
|
15
|
+
//# sourceMappingURL=eye-dash.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eye-dash.js","sourceRoot":"","sources":["../../../src/icons/eye-dash.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,IAAI;IACjC;QACI,KAAK,CAAC,YAAY,CAAC,CAAC;IACxB,CAAC;CACJ;AAED,YAAY,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nimport { eyeDash16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { Icon, registerIcon } from '../icon-base';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-icon-eye-dash': IconEyeDash;\n }\n}\n\n/**\n * The icon component for the 'eyeDash' icon\n */\nexport class IconEyeDash extends Icon {\n public constructor() {\n super(eyeDash16X16);\n }\n}\n\nregisterIcon('icon-eye-dash', IconEyeDash);\nexport const iconEyeDashTag = 'nimble-icon-eye-dash';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-icon-horizontal-triangle-outline': IconHorizontalTriangleOutline;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'horizontalTriangleOutline' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconHorizontalTriangleOutline extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconHorizontalTriangleOutlineTag = "nimble-icon-horizontal-triangle-outline";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
2
|
+
// See generation source in nimble-components/build/generate-icons
|
|
3
|
+
import { horizontalTriangleOutline16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
4
|
+
import { Icon, registerIcon } from '../icon-base';
|
|
5
|
+
/**
|
|
6
|
+
* The icon component for the 'horizontalTriangleOutline' icon
|
|
7
|
+
*/
|
|
8
|
+
export class IconHorizontalTriangleOutline extends Icon {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(horizontalTriangleOutline16X16);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
registerIcon('icon-horizontal-triangle-outline', IconHorizontalTriangleOutline);
|
|
14
|
+
export const iconHorizontalTriangleOutlineTag = 'nimble-icon-horizontal-triangle-outline';
|
|
15
|
+
//# sourceMappingURL=horizontal-triangle-outline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-triangle-outline.js","sourceRoot":"","sources":["../../../src/icons/horizontal-triangle-outline.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,6BAA8B,SAAQ,IAAI;IACnD;QACI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC1C,CAAC;CACJ;AAED,YAAY,CAAC,kCAAkC,EAAE,6BAA6B,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,gCAAgC,GAAG,yCAAyC,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nimport { horizontalTriangleOutline16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { Icon, registerIcon } from '../icon-base';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-icon-horizontal-triangle-outline': IconHorizontalTriangleOutline;\n }\n}\n\n/**\n * The icon component for the 'horizontalTriangleOutline' icon\n */\nexport class IconHorizontalTriangleOutline extends Icon {\n public constructor() {\n super(horizontalTriangleOutline16X16);\n }\n}\n\nregisterIcon('icon-horizontal-triangle-outline', IconHorizontalTriangleOutline);\nexport const iconHorizontalTriangleOutlineTag = 'nimble-icon-horizontal-triangle-outline';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-icon-inward-squares-three': IconInwardSquaresThree;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'inwardSquaresThree' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconInwardSquaresThree extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconInwardSquaresThreeTag = "nimble-icon-inward-squares-three";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
2
|
+
// See generation source in nimble-components/build/generate-icons
|
|
3
|
+
import { inwardSquaresThree16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
4
|
+
import { Icon, registerIcon } from '../icon-base';
|
|
5
|
+
/**
|
|
6
|
+
* The icon component for the 'inwardSquaresThree' icon
|
|
7
|
+
*/
|
|
8
|
+
export class IconInwardSquaresThree extends Icon {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(inwardSquaresThree16X16);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
registerIcon('icon-inward-squares-three', IconInwardSquaresThree);
|
|
14
|
+
export const iconInwardSquaresThreeTag = 'nimble-icon-inward-squares-three';
|
|
15
|
+
//# sourceMappingURL=inward-squares-three.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inward-squares-three.js","sourceRoot":"","sources":["../../../src/icons/inward-squares-three.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,IAAI;IAC5C;QACI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACnC,CAAC;CACJ;AAED,YAAY,CAAC,2BAA2B,EAAE,sBAAsB,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,yBAAyB,GAAG,kCAAkC,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nimport { inwardSquaresThree16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { Icon, registerIcon } from '../icon-base';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-icon-inward-squares-three': IconInwardSquaresThree;\n }\n}\n\n/**\n * The icon component for the 'inwardSquaresThree' icon\n */\nexport class IconInwardSquaresThree extends Icon {\n public constructor() {\n super(inwardSquaresThree16X16);\n }\n}\n\nregisterIcon('icon-inward-squares-three', IconInwardSquaresThree);\nexport const iconInwardSquaresThreeTag = 'nimble-icon-inward-squares-three';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-icon-outward-squares-three': IconOutwardSquaresThree;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'outwardSquaresThree' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconOutwardSquaresThree extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconOutwardSquaresThreeTag = "nimble-icon-outward-squares-three";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
2
|
+
// See generation source in nimble-components/build/generate-icons
|
|
3
|
+
import { outwardSquaresThree16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
4
|
+
import { Icon, registerIcon } from '../icon-base';
|
|
5
|
+
/**
|
|
6
|
+
* The icon component for the 'outwardSquaresThree' icon
|
|
7
|
+
*/
|
|
8
|
+
export class IconOutwardSquaresThree extends Icon {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(outwardSquaresThree16X16);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
registerIcon('icon-outward-squares-three', IconOutwardSquaresThree);
|
|
14
|
+
export const iconOutwardSquaresThreeTag = 'nimble-icon-outward-squares-three';
|
|
15
|
+
//# sourceMappingURL=outward-squares-three.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outward-squares-three.js","sourceRoot":"","sources":["../../../src/icons/outward-squares-three.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,IAAI;IAC7C;QACI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACpC,CAAC;CACJ;AAED,YAAY,CAAC,4BAA4B,EAAE,uBAAuB,CAAC,CAAC;AACpE,MAAM,CAAC,MAAM,0BAA0B,GAAG,mCAAmC,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nimport { outwardSquaresThree16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { Icon, registerIcon } from '../icon-base';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-icon-outward-squares-three': IconOutwardSquaresThree;\n }\n}\n\n/**\n * The icon component for the 'outwardSquaresThree' icon\n */\nexport class IconOutwardSquaresThree extends Icon {\n public constructor() {\n super(outwardSquaresThree16X16);\n }\n}\n\nregisterIcon('icon-outward-squares-three', IconOutwardSquaresThree);\nexport const iconOutwardSquaresThreeTag = 'nimble-icon-outward-squares-three';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-icon-square-x': IconSquareX;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'squareX' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconSquareX extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconSquareXTag = "nimble-icon-square-x";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
2
|
+
// See generation source in nimble-components/build/generate-icons
|
|
3
|
+
import { squareX16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
4
|
+
import { Icon, registerIcon } from '../icon-base';
|
|
5
|
+
/**
|
|
6
|
+
* The icon component for the 'squareX' icon
|
|
7
|
+
*/
|
|
8
|
+
export class IconSquareX extends Icon {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(squareX16X16);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
registerIcon('icon-square-x', IconSquareX);
|
|
14
|
+
export const iconSquareXTag = 'nimble-icon-square-x';
|
|
15
|
+
//# sourceMappingURL=square-x.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"square-x.js","sourceRoot":"","sources":["../../../src/icons/square-x.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,IAAI;IACjC;QACI,KAAK,CAAC,YAAY,CAAC,CAAC;IACxB,CAAC;CACJ;AAED,YAAY,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nimport { squareX16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { Icon, registerIcon } from '../icon-base';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-icon-square-x': IconSquareX;\n }\n}\n\n/**\n * The icon component for the 'squareX' icon\n */\nexport class IconSquareX extends Icon {\n public constructor() {\n super(squareX16X16);\n }\n}\n\nregisterIcon('icon-square-x', IconSquareX);\nexport const iconSquareXTag = 'nimble-icon-square-x';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-icon-three-circles-ascending-container': IconThreeCirclesAscendingContainer;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'threeCirclesAscendingContainer' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconThreeCirclesAscendingContainer extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconThreeCirclesAscendingContainerTag = "nimble-icon-three-circles-ascending-container";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
2
|
+
// See generation source in nimble-components/build/generate-icons
|
|
3
|
+
import { threeCirclesAscendingContainer16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
4
|
+
import { Icon, registerIcon } from '../icon-base';
|
|
5
|
+
/**
|
|
6
|
+
* The icon component for the 'threeCirclesAscendingContainer' icon
|
|
7
|
+
*/
|
|
8
|
+
export class IconThreeCirclesAscendingContainer extends Icon {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(threeCirclesAscendingContainer16X16);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
registerIcon('icon-three-circles-ascending-container', IconThreeCirclesAscendingContainer);
|
|
14
|
+
export const iconThreeCirclesAscendingContainerTag = 'nimble-icon-three-circles-ascending-container';
|
|
15
|
+
//# sourceMappingURL=three-circles-ascending-container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"three-circles-ascending-container.js","sourceRoot":"","sources":["../../../src/icons/three-circles-ascending-container.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,mCAAmC,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,kCAAmC,SAAQ,IAAI;IACxD;QACI,KAAK,CAAC,mCAAmC,CAAC,CAAC;IAC/C,CAAC;CACJ;AAED,YAAY,CAAC,wCAAwC,EAAE,kCAAkC,CAAC,CAAC;AAC3F,MAAM,CAAC,MAAM,qCAAqC,GAAG,+CAA+C,CAAC","sourcesContent":["// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY\n// See generation source in nimble-components/build/generate-icons\n\nimport { threeCirclesAscendingContainer16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { Icon, registerIcon } from '../icon-base';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nimble-icon-three-circles-ascending-container': IconThreeCirclesAscendingContainer;\n }\n}\n\n/**\n * The icon component for the 'threeCirclesAscendingContainer' icon\n */\nexport class IconThreeCirclesAscendingContainer extends Icon {\n public constructor() {\n super(threeCirclesAscendingContainer16X16);\n }\n}\n\nregisterIcon('icon-three-circles-ascending-container', IconThreeCirclesAscendingContainer);\nexport const iconThreeCirclesAscendingContainerTag = 'nimble-icon-three-circles-ascending-container';\n"]}
|
|
@@ -12,10 +12,8 @@ export declare class DecimalUnitFormat extends UnitFormat<DecimalUnitFormatOptio
|
|
|
12
12
|
private readonly minimumFractionDigits;
|
|
13
13
|
private readonly maximumFractionDigits;
|
|
14
14
|
private readonly scaledUnitFormatters;
|
|
15
|
-
private readonly tenPowDecimalDigits;
|
|
16
15
|
constructor(locale: string, { minimumFractionDigits, maximumFractionDigits, unitScale }?: DecimalUnitFormatOptions);
|
|
17
16
|
resolvedOptions(): ResolvedDecimalUnitFormatOptions;
|
|
18
17
|
protected tryFormat(number: number): string;
|
|
19
|
-
private willRoundToZero;
|
|
20
18
|
}
|
|
21
19
|
export {};
|
|
@@ -11,10 +11,14 @@ export class DecimalUnitFormat extends UnitFormat {
|
|
|
11
11
|
}) {
|
|
12
12
|
super();
|
|
13
13
|
this.scaledUnitFormatters = new Map();
|
|
14
|
+
// Workaround to avoid a ts error about signDisplay not accepting the value 'negative'.
|
|
15
|
+
// It has been supported by browsers since 8/23, but TypeScript still hasn't
|
|
16
|
+
// added it to the type definitions. See https://github.com/microsoft/TypeScript/issues/56269
|
|
17
|
+
const signDisplay = 'negative';
|
|
14
18
|
const intlNumberFormatOptions = {
|
|
15
19
|
maximumFractionDigits,
|
|
16
20
|
minimumFractionDigits,
|
|
17
|
-
|
|
21
|
+
signDisplay
|
|
18
22
|
};
|
|
19
23
|
for (const scaledUnit of unitScale.supportedScaledUnits) {
|
|
20
24
|
this.scaledUnitFormatters.set(scaledUnit.scaleFactor, scaledUnit.scaledUnitFormatFactory({
|
|
@@ -22,7 +26,6 @@ export class DecimalUnitFormat extends UnitFormat {
|
|
|
22
26
|
intlNumberFormatOptions
|
|
23
27
|
}));
|
|
24
28
|
}
|
|
25
|
-
this.tenPowDecimalDigits = 10 ** maximumFractionDigits;
|
|
26
29
|
this.unitScale = unitScale;
|
|
27
30
|
this.minimumFractionDigits = minimumFractionDigits;
|
|
28
31
|
this.maximumFractionDigits = maximumFractionDigits;
|
|
@@ -36,16 +39,8 @@ export class DecimalUnitFormat extends UnitFormat {
|
|
|
36
39
|
}
|
|
37
40
|
tryFormat(number) {
|
|
38
41
|
const { scaledValue, scaledUnit } = this.unitScale.scaleNumber(number);
|
|
39
|
-
const numberNormalized = this.willRoundToZero(scaledValue)
|
|
40
|
-
? 0
|
|
41
|
-
: scaledValue;
|
|
42
42
|
const scaledUnitFormatter = this.scaledUnitFormatters.get(scaledUnit.scaleFactor);
|
|
43
|
-
return scaledUnitFormatter.format(
|
|
44
|
-
}
|
|
45
|
-
willRoundToZero(number) {
|
|
46
|
-
// Multiply the value by 10 raised to maximumFractionDigits so that Math.round can be used to emulate rounding to
|
|
47
|
-
// maximumFractionDigits decimal places. If that rounded value is 0, then the value will be rendered with only 0s.
|
|
48
|
-
return Math.round(number * this.tenPowDecimalDigits) === 0;
|
|
43
|
+
return scaledUnitFormatter.format(scaledValue);
|
|
49
44
|
}
|
|
50
45
|
}
|
|
51
46
|
//# sourceMappingURL=decimal-unit-format.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decimal-unit-format.js","sourceRoot":"","sources":["../../../../src/utilities/unit-format/decimal-unit-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,eAAe,CAAC;AAG9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAQ3E;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,UAAoC;
|
|
1
|
+
{"version":3,"file":"decimal-unit-format.js","sourceRoot":"","sources":["../../../../src/utilities/unit-format/decimal-unit-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,eAAe,CAAC;AAG9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAQ3E;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,UAAoC;IAOvE,YACI,MAAc,EACd,EACI,qBAAqB,GAAG,CAAC,EACzB,qBAAqB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,qBAAqB,CAAC,EAC1D,SAAS,GAAG,oBAAoB,KACN;QAC1B,qBAAqB,EAAE,CAAC;QACxB,qBAAqB,EAAE,CAAC;QACxB,SAAS,EAAE,oBAAoB;KAClC;QAED,KAAK,EAAE,CAAC;QAdK,yBAAoB,GAAG,IAAI,GAAG,EAA4B,CAAC;QAexE,uFAAuF;QACvF,4EAA4E;QAC5E,6FAA6F;QAC7F,MAAM,WAAW,GAAG,UAAqD,CAAC;QAC1E,MAAM,uBAAuB,GAAG;YAC5B,qBAAqB;YACrB,qBAAqB;YACrB,WAAW;SACd,CAAC;QACF,KAAK,MAAM,UAAU,IAAI,SAAS,CAAC,oBAAoB,EAAE;YACrD,IAAI,CAAC,oBAAoB,CAAC,GAAG,CACzB,UAAU,CAAC,WAAW,EACtB,UAAU,CAAC,uBAAuB,CAAC;gBAC/B,MAAM;gBACN,uBAAuB;aAC1B,CAAC,CACL,CAAC;SACL;QACD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACvD,CAAC;IAEe,eAAe;QAC3B,OAAO;YACH,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SACpD,CAAC;IACN,CAAC;IAES,SAAS,CAAC,MAAc;QAC9B,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACvE,MAAM,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,CAAC,GAAG,CACrD,UAAU,CAAC,WAAW,CACxB,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACnD,CAAC;CACJ","sourcesContent":["import { UnitFormat, UnitFormatOptions } from './unit-format';\nimport type { ScaledUnitFormat } from './scaled-unit-format/scaled-unit-format';\nimport type { UnitScale } from './unit-scale/unit-scale';\nimport { passthroughUnitScale } from './unit-scale/passthrough-unit-scale';\n\ninterface DecimalUnitFormatOptions extends UnitFormatOptions {\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n}\ntype ResolvedDecimalUnitFormatOptions = Required<DecimalUnitFormatOptions>;\n\n/**\n * Format for decimal numbers with units.\n */\nexport class DecimalUnitFormat extends UnitFormat<DecimalUnitFormatOptions> {\n private readonly unitScale: UnitScale;\n private readonly minimumFractionDigits: number;\n private readonly maximumFractionDigits: number;\n\n private readonly scaledUnitFormatters = new Map<number, ScaledUnitFormat>();\n\n public constructor(\n locale: string,\n {\n minimumFractionDigits = 0,\n maximumFractionDigits = Math.max(3, minimumFractionDigits),\n unitScale = passthroughUnitScale\n }: DecimalUnitFormatOptions = {\n minimumFractionDigits: 0,\n maximumFractionDigits: 3,\n unitScale: passthroughUnitScale\n }\n ) {\n super();\n // Workaround to avoid a ts error about signDisplay not accepting the value 'negative'.\n // It has been supported by browsers since 8/23, but TypeScript still hasn't\n // added it to the type definitions. See https://github.com/microsoft/TypeScript/issues/56269\n const signDisplay = 'negative' as Intl.NumberFormatOptions['signDisplay'];\n const intlNumberFormatOptions = {\n maximumFractionDigits,\n minimumFractionDigits,\n signDisplay\n };\n for (const scaledUnit of unitScale.supportedScaledUnits) {\n this.scaledUnitFormatters.set(\n scaledUnit.scaleFactor,\n scaledUnit.scaledUnitFormatFactory({\n locale,\n intlNumberFormatOptions\n })\n );\n }\n this.unitScale = unitScale;\n this.minimumFractionDigits = minimumFractionDigits;\n this.maximumFractionDigits = maximumFractionDigits;\n }\n\n public override resolvedOptions(): ResolvedDecimalUnitFormatOptions {\n return {\n unitScale: this.unitScale,\n maximumFractionDigits: this.maximumFractionDigits,\n minimumFractionDigits: this.minimumFractionDigits\n };\n }\n\n protected tryFormat(number: number): string {\n const { scaledValue, scaledUnit } = this.unitScale.scaleNumber(number);\n const scaledUnitFormatter = this.scaledUnitFormatters.get(\n scaledUnit.scaleFactor\n )!;\n return scaledUnitFormatter.format(scaledValue);\n }\n}\n"]}
|