@mlightcad/common 1.1.4 → 1.2.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/common.js CHANGED
@@ -431,7 +431,7 @@ const x = class x {
431
431
  }
432
432
  /**
433
433
  * Gets the current color value.
434
- *
434
+ *
435
435
  * @returns {number | null} The color value (RGB or index).
436
436
  */
437
437
  get color() {
@@ -439,7 +439,7 @@ const x = class x {
439
439
  }
440
440
  /**
441
441
  * Sets the color value.
442
- *
442
+ *
443
443
  * @param {number | null} value - The color value to set (RGB or index).
444
444
  */
445
445
  set color(e) {
@@ -447,7 +447,7 @@ const x = class x {
447
447
  }
448
448
  /**
449
449
  * Gets the hexadecimal representation of the current color.
450
- *
450
+ *
451
451
  * @returns {string} The hexadecimal color string (e.g., "0xFFFFFF").
452
452
  */
453
453
  get hexColor() {
@@ -461,7 +461,7 @@ const x = class x {
461
461
  }
462
462
  /**
463
463
  * Gets the CSS RGB color string representation.
464
- *
464
+ *
465
465
  * @returns {string} The CSS RGB color string (e.g., "rgb(255,255,255)").
466
466
  */
467
467
  get cssColor() {
@@ -469,7 +469,7 @@ const x = class x {
469
469
  }
470
470
  /**
471
471
  * Gets the red component of the current color.
472
- *
472
+ *
473
473
  * @returns {number | null} The red component (0-255).
474
474
  */
475
475
  get red() {
@@ -477,7 +477,7 @@ const x = class x {
477
477
  }
478
478
  /**
479
479
  * Gets the green component of the current color.
480
- *
480
+ *
481
481
  * @returns {number | null} The green component (0-255).
482
482
  */
483
483
  get green() {
@@ -485,7 +485,7 @@ const x = class x {
485
485
  }
486
486
  /**
487
487
  * Gets the blue component of the current color.
488
- *
488
+ *
489
489
  * @returns {number | null} The blue component (0-255).
490
490
  */
491
491
  get blue() {
@@ -494,7 +494,7 @@ const x = class x {
494
494
  /**
495
495
  * Gets the AutoCAD color index value. The index value will be in the range 0 to 256.
496
496
  * 0 and 256 are special values.
497
- *
497
+ *
498
498
  * @returns {number | null} The color index.
499
499
  */
500
500
  get colorIndex() {
@@ -507,7 +507,7 @@ const x = class x {
507
507
  * is not displayed through a block reference (for example, it is directly owned by the model space
508
508
  * block table record) and its color is 0, then it will display as though its color were 7.
509
509
  * - 256 indicates that the entity uses the color specified in the layer table record it references.
510
- *
510
+ *
511
511
  * @param {number | null} value - The color index to set (0-256).
512
512
  */
513
513
  set colorIndex(e) {
@@ -515,7 +515,7 @@ const x = class x {
515
515
  }
516
516
  /**
517
517
  * Gets the name of the current color.
518
- *
518
+ *
519
519
  * @returns {string | null} The color name.
520
520
  */
521
521
  get colorName() {
@@ -523,7 +523,7 @@ const x = class x {
523
523
  }
524
524
  /**
525
525
  * Sets the color by name.
526
- *
526
+ *
527
527
  * @param {string | null} value - The color name to set.
528
528
  */
529
529
  set colorName(e) {
@@ -535,7 +535,7 @@ const x = class x {
535
535
  }
536
536
  /**
537
537
  * Checks if the color has a name.
538
- *
538
+ *
539
539
  * @returns {boolean} True if the color has no name, false otherwise.
540
540
  */
541
541
  get hasColorName() {
@@ -543,7 +543,7 @@ const x = class x {
543
543
  }
544
544
  /**
545
545
  * Checks if the color has an index.
546
- *
546
+ *
547
547
  * @returns {boolean} True if the color has no index, false otherwise.
548
548
  */
549
549
  get hasColorIndex() {
@@ -551,7 +551,7 @@ const x = class x {
551
551
  }
552
552
  /**
553
553
  * Checks if the color is set to "ByLayer".
554
- *
554
+ *
555
555
  * @returns {boolean} True if the color is "ByLayer", false otherwise.
556
556
  */
557
557
  get isByLayer() {
@@ -559,7 +559,7 @@ const x = class x {
559
559
  }
560
560
  /**
561
561
  * Sets the color to "ByLayer".
562
- *
562
+ *
563
563
  * @returns {AcCmColor} The current instance.
564
564
  */
565
565
  setByLayer() {
@@ -567,7 +567,7 @@ const x = class x {
567
567
  }
568
568
  /**
569
569
  * Checks if the color is set to "ByBlock".
570
- *
570
+ *
571
571
  * @returns {boolean} True if the color is "ByBlock", false otherwise.
572
572
  */
573
573
  get isByBlock() {
@@ -575,7 +575,7 @@ const x = class x {
575
575
  }
576
576
  /**
577
577
  * Sets the color to "ByBlock".
578
- *
578
+ *
579
579
  * @returns {AcCmColor} The current instance.
580
580
  */
581
581
  setByBlock() {
@@ -583,7 +583,7 @@ const x = class x {
583
583
  }
584
584
  /**
585
585
  * Sets the color using a scalar value (RGB).
586
- *
586
+ *
587
587
  * @param {number} scalar - The scalar value (0-255).
588
588
  * @returns {AcCmColor} The current instance.
589
589
  */
@@ -592,7 +592,7 @@ const x = class x {
592
592
  }
593
593
  /**
594
594
  * Sets the color using RGB values.
595
- *
595
+ *
596
596
  * @param {number} r - The red component (0-255).
597
597
  * @param {number} g - The green component (0-255).
598
598
  * @param {number} b - The blue component (0-255).
@@ -604,7 +604,7 @@ const x = class x {
604
604
  }
605
605
  /**
606
606
  * Sets the color by name.
607
- *
607
+ *
608
608
  * @param {string} style - The color name to set.
609
609
  * @returns {AcCmColor} The current instance.
610
610
  */
@@ -614,7 +614,7 @@ const x = class x {
614
614
  }
615
615
  /**
616
616
  * Clones the current AcCmColor instance.
617
- *
617
+ *
618
618
  * @returns {AcCmColor} A new AcCmColor instance with the same color and index.
619
619
  */
620
620
  clone() {
@@ -623,7 +623,7 @@ const x = class x {
623
623
  }
624
624
  /**
625
625
  * Copies the color from another AcCmColor instance.
626
- *
626
+ *
627
627
  * @param {AcCmColor} color - The color to copy from.
628
628
  * @returns {AcCmColor} The current instance.
629
629
  */
@@ -632,7 +632,7 @@ const x = class x {
632
632
  }
633
633
  /**
634
634
  * Checks if two AcCmColor instances are equal.
635
- *
635
+ *
636
636
  * @param {AcCmColor} c - The color to compare with.
637
637
  * @returns {boolean} True if the colors and their indices are the same.
638
638
  */
@@ -641,7 +641,7 @@ const x = class x {
641
641
  }
642
642
  /**
643
643
  * Returns a string representation of the color.
644
- *
644
+ *
645
645
  * @returns {string} The color name or hexadecimal string.
646
646
  */
647
647
  toString() {
@@ -649,7 +649,7 @@ const x = class x {
649
649
  }
650
650
  /**
651
651
  * Finds the color name associated with a given RGB value.
652
- *
652
+ *
653
653
  * @private
654
654
  * @param {number} target - The RGB value to find a name for.
655
655
  * @returns {string | null} The color name if found, null otherwise.
@@ -662,7 +662,7 @@ const x = class x {
662
662
  }
663
663
  /**
664
664
  * Finds the AutoCAD color index associated with a given RGB value.
665
- *
665
+ *
666
666
  * @private
667
667
  * @param {number} target - The RGB value to find an index for.
668
668
  * @returns {number | null} The color index if found, null otherwise.
@@ -1016,24 +1016,24 @@ class F {
1016
1016
  }
1017
1017
  /**
1018
1018
  * Gets the value of an attribute.
1019
- *
1019
+ *
1020
1020
  * For strongly-typed access to attributes, use the `get` method privately in public getter properties.
1021
- *
1021
+ *
1022
1022
  * @template A - The key type extending string keys of T.
1023
1023
  * @param {A} key - The attribute key to retrieve.
1024
1024
  * @returns {T[A] | undefined} The attribute value or undefined if not set.
1025
- *
1025
+ *
1026
1026
  * @example
1027
1027
  * ```typescript
1028
1028
  * // Get a single attribute value
1029
1029
  * const name = obj.get('name')
1030
1030
  * const visible = obj.get('visible')
1031
- *
1031
+ *
1032
1032
  * // Check if attribute exists
1033
1033
  * if (obj.get('name') !== undefined) {
1034
1034
  * console.log('Name is set')
1035
1035
  * }
1036
- *
1036
+ *
1037
1037
  * // For strongly-typed subclasses
1038
1038
  * get name(): string {
1039
1039
  * return super.get("name")
@@ -1179,21 +1179,21 @@ class b {
1179
1179
  class se {
1180
1180
  /**
1181
1181
  * Converts a byte count to a human-readable string using appropriate size units.
1182
- *
1182
+ *
1183
1183
  * Automatically selects the most appropriate unit (B, KB, MB, GB, TB) based on the size
1184
1184
  * and formats the result with the specified number of decimal places.
1185
1185
  *
1186
1186
  * @param {number} bytes - The number of bytes to format.
1187
1187
  * @param {number} [decimals=2] - Number of decimal places to include in the result.
1188
1188
  * @returns {string} A formatted string with the appropriate unit.
1189
- *
1189
+ *
1190
1190
  * @example
1191
1191
  * ```typescript
1192
1192
  * import { AcTrStringUtil } from './AcCmStringUtil'
1193
- *
1193
+ *
1194
1194
  * // Format different byte sizes
1195
1195
  * AcTrStringUtil.formatBytes(0) // "0 B"
1196
- * AcTrStringUtil.formatBytes(1024) // "1 KB"
1196
+ * AcTrStringUtil.formatBytes(1024) // "1 KB"
1197
1197
  * AcTrStringUtil.formatBytes(1024 * 1024) // "1 MB"
1198
1198
  * AcTrStringUtil.formatBytes(1536, 1) // "1.5 KB"
1199
1199
  * AcTrStringUtil.formatBytes(2048000, 0) // "2 MB"
@@ -1208,7 +1208,7 @@ class se {
1208
1208
  class ie {
1209
1209
  /**
1210
1210
  * Creates a new task with the specified name.
1211
- *
1211
+ *
1212
1212
  * @param {string} name - The name identifier for this task.
1213
1213
  */
1214
1214
  constructor(e) {
@@ -1216,10 +1216,10 @@ class ie {
1216
1216
  }
1217
1217
  /**
1218
1218
  * Executes the task with the given input.
1219
- *
1219
+ *
1220
1220
  * This method must be implemented by subclasses to define the actual work
1221
1221
  * performed by the task. Can return either a synchronous result or a Promise.
1222
- *
1222
+ *
1223
1223
  * @param {TIn} _input - The input data for the task.
1224
1224
  * @returns {TOut | Promise<TOut>} The task result, either synchronous or asynchronous.
1225
1225
  * @throws {Error} When the method is not implemented by a subclass.
@@ -1237,10 +1237,10 @@ class le {
1237
1237
  }
1238
1238
  /**
1239
1239
  * Schedules a task to be executed asynchronously.
1240
- *
1240
+ *
1241
1241
  * This method uses requestAnimationFrame in browser environments or setTimeout
1242
1242
  * in Node.js environments to schedule the task.
1243
- *
1243
+ *
1244
1244
  * @param callback - The callback function to schedule
1245
1245
  * @returns Promise that resolves with the result of the callback
1246
1246
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AcCmTaskScheduler.d.ts","sourceRoot":"","sources":["../src/AcCmTaskScheduler.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,QAAQ,CAAC,GAAG,EAAE,IAAI;IAC7B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IAErB;;;;OAIG;gBACS,I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B,CAAC,QAAQ,EAAE,oBAAoB,GAAG,IAAI;IAIzD;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,IAAI;IAIjE;;OAEG;IACH,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI;IAInD;;OAEG;IACG,GAAG,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBhD"}
@@ -143,9 +143,7 @@ var AcCmTaskScheduler = /** @class */ (function () {
143
143
  return new Promise(function (resolve, reject) {
144
144
  var executeCallback = function () {
145
145
  // Execute the callback and handle the result
146
- Promise.resolve(callback())
147
- .then(resolve)
148
- .catch(reject);
146
+ Promise.resolve(callback()).then(resolve).catch(reject);
149
147
  };
150
148
  if (typeof window !== 'undefined' &&
151
149
  typeof window.requestAnimationFrame === 'function') {
@@ -1 +1 @@
1
- {"version":3,"file":"AcCmTaskScheduler.js","sourceRoot":"","sources":["../src/AcCmTaskScheduler.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IAME;;;;OAIG;IACH,kBAAY,IAAY;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IAED;;;;;;;;;OASG;IACH,sBAAG,GAAH,UAAI,MAAW;QACb,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAA;IAC1D,CAAC;IACH,eAAC;AAAD,CAAC,AA5BD,IA4BC;;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH;IAAA;QACU,UAAK,GAAiC,EAAE,CAAA;QACxC,eAAU,GAAyB,cAAO,CAAC,CAAA;QAC3C,eAAU,GAAiC,cAAO,CAAC,CAAA;QACnD,YAAO,GAAsB,cAAO,CAAC,CAAA;IAuF/C,CAAC;IArFC;;;;;;;;OAQG;IACK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