@burdenoff/microfe-assethandler 2026.820.3 → 2026.820.4

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 (84) hide show
  1. package/dist/assethandler/components/AssetTag.d.ts +20 -0
  2. package/dist/assethandler/components/AssetTag.d.ts.map +1 -0
  3. package/dist/assethandler/components/AssetTag.js +8 -0
  4. package/dist/assethandler/components/AssetTag.js.map +1 -0
  5. package/dist/assethandler/components/index.d.ts +2 -0
  6. package/dist/assethandler/components/index.d.ts.map +1 -1
  7. package/dist/assethandler/components/index.js +1 -0
  8. package/dist/assethandler/pages/AssetsAssetCheckInOutPage.d.ts.map +1 -1
  9. package/dist/assethandler/pages/AssetsAssetCheckInOutPage.js +344 -181
  10. package/dist/assethandler/pages/AssetsAssetCheckInOutPage.js.map +1 -1
  11. package/dist/assethandler/pages/AssetsAssetDetailPage.d.ts.map +1 -1
  12. package/dist/assethandler/pages/AssetsAssetDetailPage.js +338 -325
  13. package/dist/assethandler/pages/AssetsAssetDetailPage.js.map +1 -1
  14. package/dist/assethandler/pages/AssetsAssetListPage.d.ts.map +1 -1
  15. package/dist/assethandler/pages/AssetsAssetListPage.js +177 -163
  16. package/dist/assethandler/pages/AssetsAssetListPage.js.map +1 -1
  17. package/dist/assethandler/providers/AssetHandlerProvider.d.ts.map +1 -1
  18. package/dist/assethandler/providers/AssetHandlerProvider.js +1 -0
  19. package/dist/assethandler/providers/AssetHandlerProvider.js.map +1 -1
  20. package/dist/assethandler/store/assethandlerStore.d.ts +2 -0
  21. package/dist/assethandler/store/assethandlerStore.d.ts.map +1 -1
  22. package/dist/assethandler/store/assethandlerStore.js +1 -0
  23. package/dist/assethandler/store/assethandlerStore.js.map +1 -1
  24. package/dist/assethandler/utils/printAssetTag.d.ts +24 -0
  25. package/dist/assethandler/utils/printAssetTag.d.ts.map +1 -0
  26. package/dist/assethandler/utils/printAssetTag.js +124 -0
  27. package/dist/assethandler/utils/printAssetTag.js.map +1 -0
  28. package/dist/node_modules/dijkstrajs/dijkstra.js +61 -0
  29. package/dist/node_modules/dijkstrajs/dijkstra.js.map +1 -0
  30. package/dist/node_modules/qrcode/lib/browser.js +40 -0
  31. package/dist/node_modules/qrcode/lib/browser.js.map +1 -0
  32. package/dist/node_modules/qrcode/lib/can-promise.js +12 -0
  33. package/dist/node_modules/qrcode/lib/can-promise.js.map +1 -0
  34. package/dist/node_modules/qrcode/lib/core/alignment-pattern.js +21 -0
  35. package/dist/node_modules/qrcode/lib/core/alignment-pattern.js.map +1 -0
  36. package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js +28 -0
  37. package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js.map +1 -0
  38. package/dist/node_modules/qrcode/lib/core/bit-buffer.js +28 -0
  39. package/dist/node_modules/qrcode/lib/core/bit-buffer.js.map +1 -0
  40. package/dist/node_modules/qrcode/lib/core/bit-matrix.js +23 -0
  41. package/dist/node_modules/qrcode/lib/core/bit-matrix.js.map +1 -0
  42. package/dist/node_modules/qrcode/lib/core/byte-data.js +23 -0
  43. package/dist/node_modules/qrcode/lib/core/byte-data.js.map +1 -0
  44. package/dist/node_modules/qrcode/lib/core/error-correction-code.js +350 -0
  45. package/dist/node_modules/qrcode/lib/core/error-correction-code.js.map +1 -0
  46. package/dist/node_modules/qrcode/lib/core/error-correction-level.js +34 -0
  47. package/dist/node_modules/qrcode/lib/core/error-correction-level.js.map +1 -0
  48. package/dist/node_modules/qrcode/lib/core/finder-pattern.js +19 -0
  49. package/dist/node_modules/qrcode/lib/core/finder-pattern.js.map +1 -0
  50. package/dist/node_modules/qrcode/lib/core/format-info.js +16 -0
  51. package/dist/node_modules/qrcode/lib/core/format-info.js.map +1 -0
  52. package/dist/node_modules/qrcode/lib/core/galois-field.js +22 -0
  53. package/dist/node_modules/qrcode/lib/core/galois-field.js.map +1 -0
  54. package/dist/node_modules/qrcode/lib/core/kanji-data.js +31 -0
  55. package/dist/node_modules/qrcode/lib/core/kanji-data.js.map +1 -0
  56. package/dist/node_modules/qrcode/lib/core/mask-pattern.js +84 -0
  57. package/dist/node_modules/qrcode/lib/core/mask-pattern.js.map +1 -0
  58. package/dist/node_modules/qrcode/lib/core/mode.js +74 -0
  59. package/dist/node_modules/qrcode/lib/core/mode.js.map +1 -0
  60. package/dist/node_modules/qrcode/lib/core/numeric-data.js +26 -0
  61. package/dist/node_modules/qrcode/lib/core/numeric-data.js.map +1 -0
  62. package/dist/node_modules/qrcode/lib/core/polynomial.js +30 -0
  63. package/dist/node_modules/qrcode/lib/core/polynomial.js.map +1 -0
  64. package/dist/node_modules/qrcode/lib/core/qrcode.js +117 -0
  65. package/dist/node_modules/qrcode/lib/core/qrcode.js.map +1 -0
  66. package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js +27 -0
  67. package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js.map +1 -0
  68. package/dist/node_modules/qrcode/lib/core/regex.js +21 -0
  69. package/dist/node_modules/qrcode/lib/core/regex.js.map +1 -0
  70. package/dist/node_modules/qrcode/lib/core/segments.js +144 -0
  71. package/dist/node_modules/qrcode/lib/core/segments.js.map +1 -0
  72. package/dist/node_modules/qrcode/lib/core/utils.js +70 -0
  73. package/dist/node_modules/qrcode/lib/core/utils.js.map +1 -0
  74. package/dist/node_modules/qrcode/lib/core/version-check.js +12 -0
  75. package/dist/node_modules/qrcode/lib/core/version-check.js.map +1 -0
  76. package/dist/node_modules/qrcode/lib/core/version.js +60 -0
  77. package/dist/node_modules/qrcode/lib/core/version.js.map +1 -0
  78. package/dist/node_modules/qrcode/lib/renderer/canvas.js +32 -0
  79. package/dist/node_modules/qrcode/lib/renderer/canvas.js.map +1 -0
  80. package/dist/node_modules/qrcode/lib/renderer/svg-tag.js +31 -0
  81. package/dist/node_modules/qrcode/lib/renderer/svg-tag.js.map +1 -0
  82. package/dist/node_modules/qrcode/lib/renderer/utils.js +55 -0
  83. package/dist/node_modules/qrcode/lib/renderer/utils.js.map +1 -0
  84. package/package.json +3 -1
@@ -0,0 +1,20 @@
1
+ export interface AssetTagProps {
2
+ /** Human-readable asset name. */
3
+ name: string;
4
+ /** The scannable tagId (stable, workspace-unique). */
5
+ tagId: string;
6
+ /** Display value for the legacy asset tag / asset number. */
7
+ assetTag: string;
8
+ /** Optional category label shown beneath the name. */
9
+ category?: string;
10
+ }
11
+ /**
12
+ * Printable asset tag with a QR code encoding the tagId.
13
+ *
14
+ * The component is intentionally self-contained so it can be rendered inside
15
+ * a print window without pulling in the rest of the application shell. It uses
16
+ * inline styles (plus Tailwind utility classes) so the print document only needs
17
+ * the base Tailwind reset to look correct.
18
+ */
19
+ export declare function AssetTag({ name, tagId, assetTag, category }: AssetTagProps): import("react").JSX.Element;
20
+ //# sourceMappingURL=AssetTag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetTag.d.ts","sourceRoot":"","sources":["../../../src/assethandler/components/AssetTag.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,aAAa,+BAqC1E"}
@@ -0,0 +1,8 @@
1
+ import "../../_virtual/_rolldown/runtime.js";
2
+ import { require_browser as e } from "../../node_modules/qrcode/lib/browser.js";
3
+ import "react";
4
+ import "react/jsx-runtime";
5
+ e();
6
+ //#endregion
7
+
8
+ //# sourceMappingURL=AssetTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetTag.js","names":[],"sources":["../../../src/assethandler/components/AssetTag.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport QRCode from 'qrcode';\n\nexport interface AssetTagProps {\n /** Human-readable asset name. */\n name: string;\n /** The scannable tagId (stable, workspace-unique). */\n tagId: string;\n /** Display value for the legacy asset tag / asset number. */\n assetTag: string;\n /** Optional category label shown beneath the name. */\n category?: string;\n}\n\n/**\n * Printable asset tag with a QR code encoding the tagId.\n *\n * The component is intentionally self-contained so it can be rendered inside\n * a print window without pulling in the rest of the application shell. It uses\n * inline styles (plus Tailwind utility classes) so the print document only needs\n * the base Tailwind reset to look correct.\n */\nexport function AssetTag({ name, tagId, assetTag, category }: AssetTagProps) {\n const [dataUrl, setDataUrl] = useState<string | null>(null);\n\n useEffect(() => {\n let cancelled = false;\n void QRCode.toDataURL(tagId, {\n width: 160,\n margin: 2,\n type: 'image/png',\n errorCorrectionLevel: 'M',\n }).then((url) => {\n if (!cancelled) setDataUrl(url);\n });\n return () => {\n cancelled = true;\n };\n }, [tagId]);\n\n return (\n <div className=\"inline-flex flex-col items-center gap-3 rounded-lg border border-border-seam bg-bg-elevated p-5 shadow-sm\">\n <div className=\"text-center\">\n <p className=\"text-base font-semibold text-text-primary\">{name}</p>\n {category ? <p className=\"text-xs capitalize text-text-secondary\">{category}</p> : null}\n </div>\n\n {dataUrl ? (\n <img src={dataUrl} alt={`QR code for asset tag ${assetTag}`} className=\"h-40 w-40\" />\n ) : (\n <div className=\"h-40 w-40 animate-pulse rounded-md bg-bg-sunken\" />\n )}\n\n <div className=\"text-center\">\n <p className=\"font-mono text-sm font-medium text-text-primary\">{assetTag}</p>\n <p className=\"font-mono text-[10px] text-text-secondary\">{tagId}</p>\n </div>\n </div>\n );\n}\n"],"mappings":""}
@@ -16,5 +16,7 @@ export { ChartCard } from './ChartCard';
16
16
  export type { ChartCardProps } from './ChartCard';
17
17
  export { SectionHeader } from './SectionHeader';
18
18
  export type { SectionHeaderProps } from './SectionHeader';
19
+ export { AssetTag } from './AssetTag';
20
+ export type { AssetTagProps } from './AssetTag';
19
21
  export * from './charts';
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assethandler/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACzD,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG1D,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assethandler/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACzD,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,cAAc,UAAU,CAAC"}
@@ -16,3 +16,4 @@ import "./ListEmptyState.js";
16
16
  import "./StatTile.js";
17
17
  import "./ChartCard.js";
18
18
  import "./SectionHeader.js";
19
+ import "./AssetTag.js";
@@ -1 +1 @@
1
- {"version":3,"file":"AssetsAssetCheckInOutPage.d.ts","sourceRoot":"","sources":["../../../src/assethandler/pages/AssetsAssetCheckInOutPage.tsx"],"names":[],"mappings":"AA2LA,wBAAgB,yBAAyB,gCA0YxC"}
1
+ {"version":3,"file":"AssetsAssetCheckInOutPage.d.ts","sourceRoot":"","sources":["../../../src/assethandler/pages/AssetsAssetCheckInOutPage.tsx"],"names":[],"mappings":"AA8MA,wBAAgB,yBAAyB,gCAilBxC"}