@g9tm/lynxcontrols-barcode 2.3.0 → 2.4.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/catalog/cards/G9BarcodeTextEntry.md +17 -0
- package/catalog/cards/G9QrCode.md +17 -0
- package/catalog/cards/G9ScanCard.md +17 -0
- package/catalog/catalog.json +1805 -0
- package/catalog/index.md +7 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/scan-card.css +5 -2
- package/dist/scan-card.css.map +1 -1
- package/package.json +7 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# G9BarcodeTextEntry
|
|
2
|
+
|
|
3
|
+
`import { G9BarcodeTextEntry } from '@g9tm/lynxcontrols-barcode';`
|
|
4
|
+
|
|
5
|
+
A scanner-aware text field (MAUI `G9BarcodeTextEntry`) on `G9TextEntry`: a trailing scan affordance (pinned right, text pinned LTR), idle → spinner → ✓ / ⓘ states layered over your own field values, an acceptor for scann
|
|
6
|
+
|
|
7
|
+
Props:
|
|
8
|
+
- `label?`: string
|
|
9
|
+
- `value?`: string
|
|
10
|
+
- `leadingIcon?`: icon
|
|
11
|
+
- `placeholder?`: string
|
|
12
|
+
- `onValueChange?`: (value: string, details: { readonly source: G9BarcodeValueSource; }) => void
|
|
13
|
+
- `disabled?`: boolean = false
|
|
14
|
+
- `confirmType?`: 'search' | 'done' | 'send' | 'go' | 'next' = "done"
|
|
15
|
+
- `inputType?`: 'number' | 'default' | 'email' | 'phone' | 'custom' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
|
|
16
|
+
|
|
17
|
+
Example: `<G9BarcodeTextEntry />`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# G9QrCode
|
|
2
|
+
|
|
3
|
+
`import { G9QrCode } from '@g9tm/lynxcontrols-barcode/qr';`
|
|
4
|
+
|
|
5
|
+
A QR code (SAC tickets, ShopManager courier code, G9Hub invite links): byte mode, level M, versions 1–10, encoded offline.
|
|
6
|
+
|
|
7
|
+
Props:
|
|
8
|
+
- `accessibilityLabel`: string
|
|
9
|
+
- `value`: string
|
|
10
|
+
- `size?`: number = 200
|
|
11
|
+
- `fallback?`: ReactNode
|
|
12
|
+
- `background?`: color
|
|
13
|
+
- `color?`: color
|
|
14
|
+
- `quietZone?`: number = 4
|
|
15
|
+
- `renderer?`: 'svg' | 'views' | 'png'
|
|
16
|
+
|
|
17
|
+
Example: `<G9QrCode accessibilityLabel="accessibilityLabel" value="value" />`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# G9ScanCard
|
|
2
|
+
|
|
3
|
+
`import { G9ScanCard } from '@g9tm/lynxcontrols-barcode';`
|
|
4
|
+
|
|
5
|
+
A camera card for a walk that scans one code after another (MAUI 6.2.52 TagScanCameraCard): a card of a FIXED height, pinned where the page puts it (the top), the camera's picture dimmed under its chrome, a status chip a
|
|
6
|
+
|
|
7
|
+
Props:
|
|
8
|
+
- `headline`: string
|
|
9
|
+
- `height`: number
|
|
10
|
+
- `children?`: ReactNode
|
|
11
|
+
- `pictureOpacity?`: number = 0.79
|
|
12
|
+
- `tone?`: string
|
|
13
|
+
- `bottomEnd?`: ReactNode
|
|
14
|
+
- `bottomStart?`: ReactNode
|
|
15
|
+
- `camera?`: ReactNode
|
|
16
|
+
|
|
17
|
+
Example: `<G9ScanCard headline="headline" height={1} />`
|