@fayz-ai/admin 0.65.3 → 0.65.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationInbox.d.ts","sourceRoot":"","sources":["../../../src/components/notifications/NotificationInbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAA;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AA8BD,wBAAgB,iBAAiB,CAAC,EAChC,aAAa,EACb,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,SAAS,GACV,EAAE,sBAAsB,qBA8HxB"}
1
+ {"version":3,"file":"NotificationInbox.d.ts","sourceRoot":"","sources":["../../../src/components/notifications/NotificationInbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAA;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAiCD,wBAAgB,iBAAiB,CAAC,EAChC,aAAa,EACb,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,SAAS,GACV,EAAE,sBAAsB,qBA8HxB"}
package/dist/index.js CHANGED
@@ -11885,13 +11885,16 @@ var TYPE_ICONS2 = {
11885
11885
  info: Info,
11886
11886
  success: CheckCircle2,
11887
11887
  warning: AlertTriangle,
11888
- error: AlertCircle
11888
+ error: AlertCircle,
11889
+ // A product reached its minimum (plugin-inventory 031): something to act on.
11890
+ "inventory.stock_low": AlertTriangle
11889
11891
  };
11890
11892
  var TYPE_COLORS2 = {
11891
11893
  info: "text-info",
11892
11894
  success: "text-success",
11893
11895
  warning: "text-warning",
11894
- error: "text-destructive"
11896
+ error: "text-destructive",
11897
+ "inventory.stock_low": "text-warning"
11895
11898
  };
11896
11899
  function timeAgo(dateString) {
11897
11900
  const then = new Date(dateString).getTime();