codexly-ui 0.23.0 → 0.23.2
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/fesm2022/codexly-ui.mjs +57 -27
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +4 -5
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -3201,11 +3201,6 @@ declare class ClxPaginationComponent {
|
|
|
3201
3201
|
readonly sizeChange: _angular_core.OutputEmitterRef<ClxPageSizeChangeEvent>;
|
|
3202
3202
|
private readonly _destroyRef;
|
|
3203
3203
|
protected readonly _pageSizeCtrl: FormControl<number | null>;
|
|
3204
|
-
/** True once the user has explicitly picked a pageSize from the select — after that, their
|
|
3205
|
-
* choice is respected even if a later filter shrinks totalItems below it. Until then, a
|
|
3206
|
-
* caller-provided default (e.g. 20) that exceeds a small totalItems is auto-corrected down
|
|
3207
|
-
* to the smallest available option, so the select never opens pre-selected on the largest value. */
|
|
3208
|
-
private _userTouchedPageSize;
|
|
3209
3204
|
constructor();
|
|
3210
3205
|
protected readonly _size: _angular_core.Signal<ClxPaginationSize>;
|
|
3211
3206
|
protected readonly _cfg: _angular_core.Signal<{
|
|
@@ -4453,6 +4448,10 @@ declare class ClxCartComponent {
|
|
|
4453
4448
|
protected readonly _savingsAmount: _angular_core.Signal<number>;
|
|
4454
4449
|
protected readonly _couponDiscount: _angular_core.Signal<number>;
|
|
4455
4450
|
protected readonly _total: _angular_core.Signal<number>;
|
|
4451
|
+
protected _exceedsStock(item: ClxCartItem): boolean;
|
|
4452
|
+
/** Lines that can't be bought as they are — out of stock, or more units than are left. While any
|
|
4453
|
+
* exists the checkout button stays disabled. */
|
|
4454
|
+
protected readonly _blockedItems: _angular_core.Signal<ClxCartItem[]>;
|
|
4456
4455
|
protected readonly _totalUnits: _angular_core.Signal<number>;
|
|
4457
4456
|
applyCoupon(): void;
|
|
4458
4457
|
removeCoupon(): void;
|