@lavalogic/scoria 0.0.4 → 0.0.6

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.
Files changed (72) hide show
  1. package/dist/Components/Table/Body/Rows/Columns/ActionsCell.svelte +2 -2
  2. package/dist/Components/Table/Body/Rows/Columns/BubbleCell.svelte +2 -2
  3. package/dist/Components/Table/Body/Rows/Columns/ProgressCell.svelte +2 -2
  4. package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte +2 -2
  5. package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte +2 -2
  6. package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte +2 -2
  7. package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte +2 -2
  8. package/dist/Components/Table/Types/Columns/ColumnType.d.ts +10 -9
  9. package/dist/Components/Table/Types/Columns/ColumnType.js +10 -10
  10. package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorDef.svelte.d.ts +1 -2
  11. package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorType.d.ts +9 -8
  12. package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorType.js +9 -9
  13. package/dist/Components/Table/Types/Columns/Definitions/Accessors/CheckboxDef.svelte.d.ts +1 -2
  14. package/dist/Components/Table/Types/Columns/Definitions/Accessors/DateInputDef.svelte.d.ts +1 -2
  15. package/dist/Components/Table/Types/Columns/Definitions/Accessors/NumberInputDef.svelte.d.ts +1 -2
  16. package/dist/Components/Table/Types/Columns/Definitions/Accessors/QueryDef.svelte.d.ts +1 -2
  17. package/dist/Components/Table/Types/Columns/Definitions/Accessors/SelectDef.svelte.d.ts +1 -2
  18. package/dist/Components/Table/Types/Columns/Definitions/Accessors/TextInputDef.svelte.d.ts +1 -2
  19. package/dist/Components/Table/Types/Columns/Definitions/Actions/ActionsDef.svelte.d.ts +1 -2
  20. package/dist/Components/Table/Types/Columns/Definitions/Display/AbstractDisplayDef.svelte.d.ts +1 -2
  21. package/dist/Components/Table/Types/Columns/Definitions/Display/BubbleDef.svelte.d.ts +1 -2
  22. package/dist/Components/Table/Types/Columns/Definitions/Display/ProgressBarDef.svelte.d.ts +1 -2
  23. package/dist/Components/Table/Types/Columns/Definitions/Display/ValidityDef.svelte.d.ts +1 -2
  24. package/dist/Components/Table/Types/Columns/Definitions/Expand/ExpandDef.svelte.d.ts +1 -2
  25. package/dist/Components/Table/Types/Columns/DisplayType.d.ts +8 -7
  26. package/dist/Components/Table/Types/Columns/DisplayType.js +8 -8
  27. package/dist/Components/Table/Types/DataRepository/ILocalDataRepository.d.ts +1 -2
  28. package/dist/Components/Table/Types/DataRepository/IRemoteDataRepository.d.ts +1 -2
  29. package/dist/Components/Table/Types/DataRepository/LocalTableDataRepository.svelte.d.ts +2 -4
  30. package/dist/Components/Table/Types/DataRepository/RemoteTableDataRepository.svelte.d.ts +1 -2
  31. package/dist/Components/Table/Types/DataRepository/TableDataRepository.svelte.d.ts +1 -2
  32. package/dist/Components/Table/Types/ExpandedPanel.d.ts +7 -6
  33. package/dist/Components/Table/Types/ExpandedPanel.js +7 -7
  34. package/dist/Components/Table/Types/Filtering/CustomFilterType.d.ts +7 -6
  35. package/dist/Components/Table/Types/Filtering/CustomFilterType.js +7 -7
  36. package/dist/Components/Table/Types/Filtering/FilterType.d.ts +5 -4
  37. package/dist/Components/Table/Types/Filtering/FilterType.js +5 -5
  38. package/dist/Components/Table/Types/Focus/MultiFocusEdge.d.ts +11 -10
  39. package/dist/Components/Table/Types/Focus/MultiFocusEdge.js +11 -11
  40. package/dist/Components/Table/Types/Pagination/PaginationType.d.ts +6 -5
  41. package/dist/Components/Table/Types/Pagination/PaginationType.js +6 -6
  42. package/dist/Components/Table/Types/Toolbar/ToolbarPosition.d.ts +7 -6
  43. package/dist/Components/Table/Types/Toolbar/ToolbarPosition.js +7 -7
  44. package/dist/Delay/Delay.d.ts +4 -3
  45. package/dist/Delay/Delay.js +4 -4
  46. package/dist/Types/Examples/ExampleSelectEnum.d.ts +7 -6
  47. package/dist/Types/Examples/ExampleSelectEnum.js +7 -7
  48. package/dist/Types/Internal/ApplicationIdentifier.d.ts +11 -9
  49. package/dist/Types/Internal/ApplicationIdentifier.js +11 -11
  50. package/dist/Types/Internal/AttributeOperation.d.ts +31 -30
  51. package/dist/Types/Internal/AttributeOperation.js +31 -31
  52. package/dist/Types/Internal/DatePickerType.d.ts +9 -8
  53. package/dist/Types/Internal/DatePickerType.js +9 -9
  54. package/dist/Types/Internal/InputVariant.d.ts +7 -6
  55. package/dist/Types/Internal/InputVariant.js +7 -7
  56. package/dist/Types/Internal/Shape.d.ts +5 -4
  57. package/dist/Types/Internal/Shape.js +5 -5
  58. package/dist/Types/Internal/Side.d.ts +7 -6
  59. package/dist/Types/Internal/Side.js +7 -7
  60. package/dist/Types/Internal/Size.d.ts +14 -13
  61. package/dist/Types/Internal/Size.js +14 -14
  62. package/dist/Types/Internal/Ternary.d.ts +6 -5
  63. package/dist/Types/Internal/Ternary.js +6 -6
  64. package/dist/Types/Internal/Validity.d.ts +8 -7
  65. package/dist/Types/Internal/Validity.js +8 -8
  66. package/dist/Types/Internal/Variant.d.ts +11 -10
  67. package/dist/Types/Internal/Variant.js +11 -11
  68. package/dist/index.d.ts +20 -19
  69. package/dist/index.js +20 -19
  70. package/dist/scss/colours.d.ts +96 -94
  71. package/dist/scss/colours.js +138 -138
  72. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
- export declare const enum PaginationType {
2
- Remote = 0,
3
- Local = 1,
4
- None = 2
5
- }
1
+ export declare const PaginationType: {
2
+ readonly Remote: "Remote";
3
+ readonly Local: "Local";
4
+ readonly None: "None";
5
+ };
6
+ export type PaginationType = (typeof PaginationType)[keyof typeof PaginationType];
@@ -1,6 +1,6 @@
1
- export var PaginationType;
2
- (function (PaginationType) {
3
- PaginationType[PaginationType["Remote"] = 0] = "Remote";
4
- PaginationType[PaginationType["Local"] = 1] = "Local";
5
- PaginationType[PaginationType["None"] = 2] = "None";
6
- })(PaginationType || (PaginationType = {}));
1
+ export const PaginationType = {
2
+ Remote: 'Remote',
3
+ Local: 'Local',
4
+ None: 'None'
5
+ };
6
+ Object.freeze(PaginationType);
@@ -1,6 +1,7 @@
1
- export declare const enum ToolbarPosition {
2
- None = 0,
3
- Left = 1,
4
- Top = 2,
5
- Right = 3
6
- }
1
+ export declare const ToolbarPosition: {
2
+ readonly None: "None";
3
+ readonly Left: "Left";
4
+ readonly Top: "Top";
5
+ readonly Right: "Right";
6
+ };
7
+ export type ToolbarPosition = (typeof ToolbarPosition)[keyof typeof ToolbarPosition];
@@ -1,7 +1,7 @@
1
- export var ToolbarPosition;
2
- (function (ToolbarPosition) {
3
- ToolbarPosition[ToolbarPosition["None"] = 0] = "None";
4
- ToolbarPosition[ToolbarPosition["Left"] = 1] = "Left";
5
- ToolbarPosition[ToolbarPosition["Top"] = 2] = "Top";
6
- ToolbarPosition[ToolbarPosition["Right"] = 3] = "Right";
7
- })(ToolbarPosition || (ToolbarPosition = {}));
1
+ export const ToolbarPosition = {
2
+ None: 'None',
3
+ Left: 'Left',
4
+ Top: 'Top',
5
+ Right: 'Right'
6
+ };
7
+ Object.freeze(ToolbarPosition);
@@ -1,3 +1,4 @@
1
- export declare const enum Delay {
2
- Default = 300
3
- }
1
+ export declare const Delay: {
2
+ readonly Default: 300;
3
+ };
4
+ export type Delay = (typeof Delay)[keyof typeof Delay];
@@ -1,4 +1,4 @@
1
- export var Delay;
2
- (function (Delay) {
3
- Delay[Delay["Default"] = 300] = "Default";
4
- })(Delay || (Delay = {}));
1
+ export const Delay = {
2
+ Default: 300
3
+ };
4
+ Object.freeze(Delay);
@@ -1,6 +1,7 @@
1
- export declare const enum ExampleSelectEnum {
2
- FirstOption = 0,
3
- SecondOption = 1,
4
- ThirdOption = 2,
5
- FourthOption = 3
6
- }
1
+ export declare const ExampleSelectEnum: {
2
+ FirstOption: string;
3
+ SecondOption: string;
4
+ ThirdOption: string;
5
+ FourthOption: string;
6
+ };
7
+ export type ExampleSelectEnum = (typeof ExampleSelectEnum)[keyof typeof ExampleSelectEnum];
@@ -1,7 +1,7 @@
1
- export var ExampleSelectEnum;
2
- (function (ExampleSelectEnum) {
3
- ExampleSelectEnum[ExampleSelectEnum["FirstOption"] = 0] = "FirstOption";
4
- ExampleSelectEnum[ExampleSelectEnum["SecondOption"] = 1] = "SecondOption";
5
- ExampleSelectEnum[ExampleSelectEnum["ThirdOption"] = 2] = "ThirdOption";
6
- ExampleSelectEnum[ExampleSelectEnum["FourthOption"] = 3] = "FourthOption";
7
- })(ExampleSelectEnum || (ExampleSelectEnum = {}));
1
+ export const ExampleSelectEnum = {
2
+ FirstOption: 'FirstOption',
3
+ SecondOption: 'SecondOption',
4
+ ThirdOption: 'ThirdOption',
5
+ FourthOption: 'FourthOption'
6
+ };
7
+ Object.freeze(ExampleSelectEnum);
@@ -13,15 +13,17 @@ export interface IValueLength {
13
13
  readonly encoding: GS1Encoding;
14
14
  readonly mandatory: boolean;
15
15
  }
16
- export declare const enum GS1LengthType {
17
- Fixed = 1,
18
- Variable = 2
19
- }
20
- export declare const enum GS1Encoding {
21
- Numeric = 1,
22
- Set82 = 2,
23
- Set39 = 3
24
- }
16
+ export declare const GS1LengthType: {
17
+ readonly Fixed: "Fixed";
18
+ readonly Variable: "Variable";
19
+ };
20
+ export type GS1LengthType = (typeof GS1LengthType)[keyof typeof GS1LengthType];
21
+ export declare const GS1Encoding: {
22
+ readonly Numeric: "Numeric";
23
+ readonly Set82: "Set82";
24
+ readonly Set39: "Set39";
25
+ };
26
+ export type GS1Encoding = (typeof GS1Encoding)[keyof typeof GS1Encoding];
25
27
  declare class ApplicationIdentifier implements IApplicationIdentifier {
26
28
  readonly name: ApplicationIdentifierName;
27
29
  readonly GS1Code: AICode;
@@ -1,15 +1,15 @@
1
1
  import { floFriendly } from '../../Helpers/Helpers.svelte.js';
2
- export var GS1LengthType;
3
- (function (GS1LengthType) {
4
- GS1LengthType[GS1LengthType["Fixed"] = 1] = "Fixed";
5
- GS1LengthType[GS1LengthType["Variable"] = 2] = "Variable";
6
- })(GS1LengthType || (GS1LengthType = {}));
7
- export var GS1Encoding;
8
- (function (GS1Encoding) {
9
- GS1Encoding[GS1Encoding["Numeric"] = 1] = "Numeric";
10
- GS1Encoding[GS1Encoding["Set82"] = 2] = "Set82";
11
- GS1Encoding[GS1Encoding["Set39"] = 3] = "Set39";
12
- })(GS1Encoding || (GS1Encoding = {}));
2
+ export const GS1LengthType = {
3
+ Fixed: 'Fixed',
4
+ Variable: 'Variable'
5
+ };
6
+ Object.freeze(GS1LengthType);
7
+ export const GS1Encoding = {
8
+ Numeric: 'Numeric',
9
+ Set82: 'Set82',
10
+ Set39: 'Set39'
11
+ };
12
+ Object.freeze(GS1Encoding);
13
13
  class ApplicationIdentifier {
14
14
  name;
15
15
  GS1Code;
@@ -1,30 +1,31 @@
1
- export declare const enum AttributeOperation {
2
- Preadvice = 0,
3
- RequiredAtPreadvice = 0,//functionally identical
4
- Order = 1,
5
- RequiredAtOrder = 1,// functionally identical
6
- Despatch = 2,
7
- RequiredAtDespatch = 3,
8
- ValidateAtDespatch = 4,
9
- Kit = 5,
10
- RequiredAtKit = 6,
11
- ValidateAtKit = 7,
12
- Pack = 8,
13
- RequiredAtPack = 9,
14
- ValidateAtPack = 10,
15
- Pick = 11,
16
- RequiredAtPick = 12,
17
- ValidateAtPick = 13,
18
- Receipt = 14,
19
- RequiredAtReceipt = 15,
20
- ValidateAtReceipt = 16,
21
- ReceiptReturn = 17,
22
- RequiredAtReceiptReturn = 18,
23
- ValidateAtReceiptReturn = 19,
24
- Sort = 20,
25
- RequiredAtSort = 21,
26
- ValidateAtSort = 22,
27
- StockTake = 23,
28
- RequiredAtStockTake = 24,
29
- ValidateAtStockTake = 25
30
- }
1
+ export declare const AttributeOperation: {
2
+ readonly Preadvice: "Preadvice";
3
+ readonly RequiredAtPreadvice: "Preadvice";
4
+ readonly Order: "Order";
5
+ readonly RequiredAtOrder: "Order";
6
+ readonly Despatch: "Despatch";
7
+ readonly RequiredAtDespatch: "RequiredAtDespatch";
8
+ readonly ValidateAtDespatch: "ValidateAtDespatch";
9
+ readonly Kit: "Kit";
10
+ readonly RequiredAtKit: "RequiredAtKit";
11
+ readonly ValidateAtKit: "ValidateAtKit";
12
+ readonly Pack: "Pack";
13
+ readonly RequiredAtPack: "RequiredAtPack";
14
+ readonly ValidateAtPack: "ValidateAtPack";
15
+ readonly Pick: "Pick";
16
+ readonly RequiredAtPick: "RequiredAtPick";
17
+ readonly ValidateAtPick: "ValidateAtPick";
18
+ readonly Receipt: "Receipt";
19
+ readonly RequiredAtReceipt: "RequiredAtReceipt";
20
+ readonly ValidateAtReceipt: "ValidateAtReceipt";
21
+ readonly ReceiptReturn: "ReceiptReturn";
22
+ readonly RequiredAtReceiptReturn: "RequiredAtReceiptReturn";
23
+ readonly ValidateAtReceiptReturn: "ValidateAtReceiptReturn";
24
+ readonly Sort: "Sort";
25
+ readonly RequiredAtSort: "RequiredAtSort";
26
+ readonly ValidateAtSort: "ValidateAtSort";
27
+ readonly StockTake: "StockTake";
28
+ readonly RequiredAtStockTake: "RequiredAtStockTake";
29
+ readonly ValidateAtStockTake: "ValidateAtStockTake";
30
+ };
31
+ export type AttributeOperation = (typeof AttributeOperation)[keyof typeof AttributeOperation];
@@ -1,33 +1,33 @@
1
- export var AttributeOperation;
2
- (function (AttributeOperation) {
3
- AttributeOperation[AttributeOperation["Preadvice"] = 0] = "Preadvice";
1
+ export const AttributeOperation = {
2
+ Preadvice: 'Preadvice',
4
3
  // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
5
- AttributeOperation[AttributeOperation["RequiredAtPreadvice"] = 0] = "RequiredAtPreadvice";
6
- AttributeOperation[AttributeOperation["Order"] = 1] = "Order";
4
+ RequiredAtPreadvice: 'Preadvice', //functionally identical
5
+ Order: 'Order',
7
6
  // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
8
- AttributeOperation[AttributeOperation["RequiredAtOrder"] = 1] = "RequiredAtOrder";
9
- AttributeOperation[AttributeOperation["Despatch"] = 2] = "Despatch";
10
- AttributeOperation[AttributeOperation["RequiredAtDespatch"] = 3] = "RequiredAtDespatch";
11
- AttributeOperation[AttributeOperation["ValidateAtDespatch"] = 4] = "ValidateAtDespatch";
12
- AttributeOperation[AttributeOperation["Kit"] = 5] = "Kit";
13
- AttributeOperation[AttributeOperation["RequiredAtKit"] = 6] = "RequiredAtKit";
14
- AttributeOperation[AttributeOperation["ValidateAtKit"] = 7] = "ValidateAtKit";
15
- AttributeOperation[AttributeOperation["Pack"] = 8] = "Pack";
16
- AttributeOperation[AttributeOperation["RequiredAtPack"] = 9] = "RequiredAtPack";
17
- AttributeOperation[AttributeOperation["ValidateAtPack"] = 10] = "ValidateAtPack";
18
- AttributeOperation[AttributeOperation["Pick"] = 11] = "Pick";
19
- AttributeOperation[AttributeOperation["RequiredAtPick"] = 12] = "RequiredAtPick";
20
- AttributeOperation[AttributeOperation["ValidateAtPick"] = 13] = "ValidateAtPick";
21
- AttributeOperation[AttributeOperation["Receipt"] = 14] = "Receipt";
22
- AttributeOperation[AttributeOperation["RequiredAtReceipt"] = 15] = "RequiredAtReceipt";
23
- AttributeOperation[AttributeOperation["ValidateAtReceipt"] = 16] = "ValidateAtReceipt";
24
- AttributeOperation[AttributeOperation["ReceiptReturn"] = 17] = "ReceiptReturn";
25
- AttributeOperation[AttributeOperation["RequiredAtReceiptReturn"] = 18] = "RequiredAtReceiptReturn";
26
- AttributeOperation[AttributeOperation["ValidateAtReceiptReturn"] = 19] = "ValidateAtReceiptReturn";
27
- AttributeOperation[AttributeOperation["Sort"] = 20] = "Sort";
28
- AttributeOperation[AttributeOperation["RequiredAtSort"] = 21] = "RequiredAtSort";
29
- AttributeOperation[AttributeOperation["ValidateAtSort"] = 22] = "ValidateAtSort";
30
- AttributeOperation[AttributeOperation["StockTake"] = 23] = "StockTake";
31
- AttributeOperation[AttributeOperation["RequiredAtStockTake"] = 24] = "RequiredAtStockTake";
32
- AttributeOperation[AttributeOperation["ValidateAtStockTake"] = 25] = "ValidateAtStockTake";
33
- })(AttributeOperation || (AttributeOperation = {}));
7
+ RequiredAtOrder: 'Order', // functionally identical
8
+ Despatch: 'Despatch',
9
+ RequiredAtDespatch: 'RequiredAtDespatch',
10
+ ValidateAtDespatch: 'ValidateAtDespatch',
11
+ Kit: 'Kit',
12
+ RequiredAtKit: 'RequiredAtKit',
13
+ ValidateAtKit: 'ValidateAtKit',
14
+ Pack: 'Pack',
15
+ RequiredAtPack: 'RequiredAtPack',
16
+ ValidateAtPack: 'ValidateAtPack',
17
+ Pick: 'Pick',
18
+ RequiredAtPick: 'RequiredAtPick',
19
+ ValidateAtPick: 'ValidateAtPick',
20
+ Receipt: 'Receipt',
21
+ RequiredAtReceipt: 'RequiredAtReceipt',
22
+ ValidateAtReceipt: 'ValidateAtReceipt',
23
+ ReceiptReturn: 'ReceiptReturn',
24
+ RequiredAtReceiptReturn: 'RequiredAtReceiptReturn',
25
+ ValidateAtReceiptReturn: 'ValidateAtReceiptReturn',
26
+ Sort: 'Sort',
27
+ RequiredAtSort: 'RequiredAtSort',
28
+ ValidateAtSort: 'ValidateAtSort',
29
+ StockTake: 'StockTake',
30
+ RequiredAtStockTake: 'RequiredAtStockTake',
31
+ ValidateAtStockTake: 'ValidateAtStockTake'
32
+ };
33
+ Object.freeze(AttributeOperation);
@@ -1,8 +1,9 @@
1
- export declare const enum DatePickerType {
2
- Year = "year",
3
- Month = "month",
4
- Day = "day",
5
- Hours = "hours",
6
- Minutes = "minutes",
7
- Seconds = "seconds"
8
- }
1
+ export declare const DatePickerType: {
2
+ readonly Year: "year";
3
+ readonly Month: "month";
4
+ readonly Day: "day";
5
+ readonly Hours: "hours";
6
+ readonly Minutes: "minutes";
7
+ readonly Seconds: "seconds";
8
+ };
9
+ export type DatePickerType = (typeof DatePickerType)[keyof typeof DatePickerType];
@@ -1,9 +1,9 @@
1
- export var DatePickerType;
2
- (function (DatePickerType) {
3
- DatePickerType["Year"] = "year";
4
- DatePickerType["Month"] = "month";
5
- DatePickerType["Day"] = "day";
6
- DatePickerType["Hours"] = "hours";
7
- DatePickerType["Minutes"] = "minutes";
8
- DatePickerType["Seconds"] = "seconds";
9
- })(DatePickerType || (DatePickerType = {}));
1
+ export const DatePickerType = {
2
+ Year: 'year',
3
+ Month: 'month',
4
+ Day: 'day',
5
+ Hours: 'hours',
6
+ Minutes: 'minutes',
7
+ Seconds: 'seconds'
8
+ };
9
+ Object.freeze(DatePickerType);
@@ -1,6 +1,7 @@
1
- export declare const enum InputVariant {
2
- Default = 0,
3
- Modal = 1,
4
- ModalThin = 2,
5
- Table = 3
6
- }
1
+ export declare const InputVariant: {
2
+ readonly Default: "Default";
3
+ readonly Modal: "Modal";
4
+ readonly ModalThin: "ModalThin";
5
+ readonly Table: "Table";
6
+ };
7
+ export type InputVariant = (typeof InputVariant)[keyof typeof InputVariant];
@@ -1,7 +1,7 @@
1
- export var InputVariant;
2
- (function (InputVariant) {
3
- InputVariant[InputVariant["Default"] = 0] = "Default";
4
- InputVariant[InputVariant["Modal"] = 1] = "Modal";
5
- InputVariant[InputVariant["ModalThin"] = 2] = "ModalThin";
6
- InputVariant[InputVariant["Table"] = 3] = "Table";
7
- })(InputVariant || (InputVariant = {}));
1
+ export const InputVariant = {
2
+ Default: 'Default',
3
+ Modal: 'Modal',
4
+ ModalThin: 'ModalThin',
5
+ Table: 'Table'
6
+ };
7
+ Object.freeze(InputVariant);
@@ -1,4 +1,5 @@
1
- export declare const enum Shape {
2
- Rectangle = 1,
3
- Circle = 2
4
- }
1
+ export declare const Shape: {
2
+ readonly Rectangle: "Rectangle";
3
+ readonly Circle: "Circle";
4
+ };
5
+ export type Shape = (typeof Shape)[keyof typeof Shape];
@@ -1,5 +1,5 @@
1
- export var Shape;
2
- (function (Shape) {
3
- Shape[Shape["Rectangle"] = 1] = "Rectangle";
4
- Shape[Shape["Circle"] = 2] = "Circle";
5
- })(Shape || (Shape = {}));
1
+ export const Shape = {
2
+ Rectangle: 'Rectangle',
3
+ Circle: 'Circle'
4
+ };
5
+ Object.freeze(Shape);
@@ -1,6 +1,7 @@
1
- export declare const enum Side {
2
- Top = 0,
3
- Right = 1,
4
- Bottom = 2,
5
- Left = 3
6
- }
1
+ export declare const Side: {
2
+ readonly Top: "Top";
3
+ readonly Right: "Right";
4
+ readonly Bottom: "Bottom";
5
+ readonly Left: "Left";
6
+ };
7
+ export type Side = (typeof Side)[keyof typeof Side];
@@ -1,7 +1,7 @@
1
- export var Side;
2
- (function (Side) {
3
- Side[Side["Top"] = 0] = "Top";
4
- Side[Side["Right"] = 1] = "Right";
5
- Side[Side["Bottom"] = 2] = "Bottom";
6
- Side[Side["Left"] = 3] = "Left";
7
- })(Side || (Side = {}));
1
+ export const Side = {
2
+ Top: 'Top',
3
+ Right: 'Right',
4
+ Bottom: 'Bottom',
5
+ Left: 'Left'
6
+ };
7
+ Object.freeze(Side);
@@ -1,13 +1,14 @@
1
- export declare const enum Size {
2
- Tiny = 0,
3
- Small = 1,
4
- MediumSmall = 2,
5
- Medium = 3,
6
- MediumLarge = 4,
7
- Large = 5,
8
- XLarge = 6,
9
- DoubleXLarge = 7,
10
- TripleXLarge = 8,
11
- FillWidth = 9,
12
- FillHeight = 10
13
- }
1
+ export declare const Size: {
2
+ readonly Tiny: "Tiny";
3
+ readonly Small: "Small";
4
+ readonly MediumSmall: "MediumSmall";
5
+ readonly Medium: "Medium";
6
+ readonly MediumLarge: "MediumLarge";
7
+ readonly Large: "Large";
8
+ readonly XLarge: "XLarge";
9
+ readonly DoubleXLarge: "DoubleXLarge";
10
+ readonly TripleXLarge: "TripleXLarge";
11
+ readonly FillWidth: "FillWidth";
12
+ readonly FillHeight: "FillHeight";
13
+ };
14
+ export type Size = (typeof Size)[keyof typeof Size];
@@ -1,14 +1,14 @@
1
- export var Size;
2
- (function (Size) {
3
- Size[Size["Tiny"] = 0] = "Tiny";
4
- Size[Size["Small"] = 1] = "Small";
5
- Size[Size["MediumSmall"] = 2] = "MediumSmall";
6
- Size[Size["Medium"] = 3] = "Medium";
7
- Size[Size["MediumLarge"] = 4] = "MediumLarge";
8
- Size[Size["Large"] = 5] = "Large";
9
- Size[Size["XLarge"] = 6] = "XLarge";
10
- Size[Size["DoubleXLarge"] = 7] = "DoubleXLarge";
11
- Size[Size["TripleXLarge"] = 8] = "TripleXLarge";
12
- Size[Size["FillWidth"] = 9] = "FillWidth";
13
- Size[Size["FillHeight"] = 10] = "FillHeight";
14
- })(Size || (Size = {}));
1
+ export const Size = {
2
+ Tiny: 'Tiny',
3
+ Small: 'Small',
4
+ MediumSmall: 'MediumSmall',
5
+ Medium: 'Medium',
6
+ MediumLarge: 'MediumLarge',
7
+ Large: 'Large',
8
+ XLarge: 'XLarge',
9
+ DoubleXLarge: 'DoubleXLarge',
10
+ TripleXLarge: 'TripleXLarge',
11
+ FillWidth: 'FillWidth',
12
+ FillHeight: 'FillHeight'
13
+ };
14
+ Object.freeze(Size);
@@ -1,5 +1,6 @@
1
- export declare const enum Ternary {
2
- Neutral = -1,
3
- False = 0,
4
- True = 1
5
- }
1
+ export declare const Ternary: {
2
+ readonly Neutral: -1;
3
+ readonly False: 0;
4
+ readonly True: 1;
5
+ };
6
+ export type Ternary = (typeof Ternary)[keyof typeof Ternary];
@@ -1,6 +1,6 @@
1
- export var Ternary;
2
- (function (Ternary) {
3
- Ternary[Ternary["Neutral"] = -1] = "Neutral";
4
- Ternary[Ternary["False"] = 0] = "False";
5
- Ternary[Ternary["True"] = 1] = "True";
6
- })(Ternary || (Ternary = {}));
1
+ export const Ternary = {
2
+ Neutral: -1,
3
+ False: 0,
4
+ True: 1
5
+ };
6
+ Object.freeze(Ternary);
@@ -1,7 +1,8 @@
1
- export declare const enum Validity {
2
- Invalid = 0,
3
- Valid = 1,
4
- Info = 2,
5
- Warning = 3,
6
- Neutral = 4
7
- }
1
+ export declare const Validity: {
2
+ readonly Invalid: "Invalid";
3
+ readonly Valid: "Valid";
4
+ readonly Info: "Info";
5
+ readonly Warning: "Warning";
6
+ readonly Neutral: "Neutral";
7
+ };
8
+ export type Validity = (typeof Validity)[keyof typeof Validity];
@@ -1,8 +1,8 @@
1
- export var Validity;
2
- (function (Validity) {
3
- Validity[Validity["Invalid"] = 0] = "Invalid";
4
- Validity[Validity["Valid"] = 1] = "Valid";
5
- Validity[Validity["Info"] = 2] = "Info";
6
- Validity[Validity["Warning"] = 3] = "Warning";
7
- Validity[Validity["Neutral"] = 4] = "Neutral";
8
- })(Validity || (Validity = {}));
1
+ export const Validity = {
2
+ Invalid: 'Invalid',
3
+ Valid: 'Valid',
4
+ Info: 'Info',
5
+ Warning: 'Warning',
6
+ Neutral: 'Neutral'
7
+ };
8
+ Object.freeze(Validity);
@@ -1,10 +1,11 @@
1
- export declare const enum Variant {
2
- Primary = 0,
3
- CardInner = 1,
4
- CardInnerPrimary = 2,
5
- Secondary = 3,
6
- Default = 4,
7
- Card = 5,
8
- Toolbar = 6,// TODO style
9
- HeaderIcon = 7
10
- }
1
+ export declare const Variant: {
2
+ readonly Primary: "Primary";
3
+ readonly CardInner: "CardInner";
4
+ readonly CardInnerPrimary: "CardInnerPrimary";
5
+ readonly Secondary: "Secondary";
6
+ readonly Default: "Default";
7
+ readonly Card: "Card";
8
+ readonly Toolbar: "Toolbar";
9
+ readonly HeaderIcon: "HeaderIcon";
10
+ };
11
+ export type Variant = (typeof Variant)[keyof typeof Variant];
@@ -1,11 +1,11 @@
1
- export var Variant;
2
- (function (Variant) {
3
- Variant[Variant["Primary"] = 0] = "Primary";
4
- Variant[Variant["CardInner"] = 1] = "CardInner";
5
- Variant[Variant["CardInnerPrimary"] = 2] = "CardInnerPrimary";
6
- Variant[Variant["Secondary"] = 3] = "Secondary";
7
- Variant[Variant["Default"] = 4] = "Default";
8
- Variant[Variant["Card"] = 5] = "Card";
9
- Variant[Variant["Toolbar"] = 6] = "Toolbar";
10
- Variant[Variant["HeaderIcon"] = 7] = "HeaderIcon";
11
- })(Variant || (Variant = {}));
1
+ export const Variant = {
2
+ Primary: 'Primary',
3
+ CardInner: 'CardInner',
4
+ CardInnerPrimary: 'CardInnerPrimary',
5
+ Secondary: 'Secondary',
6
+ Default: 'Default',
7
+ Card: 'Card',
8
+ Toolbar: 'Toolbar', // TODO style
9
+ HeaderIcon: 'HeaderIcon'
10
+ };
11
+ Object.freeze(Variant);