Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
494 B
Text
14 lines
494 B
Text
import { ArrayCreate } from '../262';
|
|
import { PartitionNumberPattern } from './PartitionNumberPattern';
|
|
export function FormatNumericToParts(nf, x, implDetails) {
|
|
var parts = PartitionNumberPattern(implDetails.getInternalSlots(nf), x);
|
|
var result = ArrayCreate(0);
|
|
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
|
|
var part = parts_1[_i];
|
|
result.push({
|
|
type: part.type,
|
|
value: part.value,
|
|
});
|
|
}
|
|
return result;
|
|
}
|