your-ai-workflow-firebase-os 2.0.1 → 2.0.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/dist/{AddressField-R-HvndkG.js → AddressField-B2YBRXcx.js} +2 -2
- package/dist/{ContactPopup-9J_YeJrb.js → ContactPopup-Dsg2ntq3.js} +184 -184
- package/dist/{ContactPopup-DF8qQCoY.cjs → ContactPopup-IwBm-eqz.cjs} +1 -1
- package/dist/PhoneInputField-CVamkTJg.js +2 -0
- package/dist/{PhoneInputField-BlYHb5e0.js → PhoneInputField-D3wWs-M8.js} +2 -2
- package/dist/{bake-D0gLVNTL.cjs → bake-BWG3y-15.cjs} +1 -1
- package/dist/{bake-OErV2MLy.js → bake-BtYOG1Du.js} +14 -14
- package/dist/{dist-_zWHDDrc.js → dist-BkUiTtIb.js} +1 -1
- package/dist/{fileBytes-B0qxHYQL.cjs → fileBytes-BdwaFKRy.cjs} +1 -1
- package/dist/{fileBytes-uhq3pGCS.js → fileBytes-DuW2K-H_.js} +1 -1
- package/dist/lib/pageDesignLines.d.ts +1 -1
- package/dist/lib/people.d.ts +9 -0
- package/dist/lib/recordsKey.d.ts +24 -0
- package/dist/{lucide-react-DiyP8FA_.js → lucide-react-ehRy1vqS.js} +8 -8
- package/dist/pages/PagesAdmin.d.ts +0 -7
- package/dist/{pdf-DLuvpvHg.js → pdf-u73U7-6s.js} +1 -1
- package/dist/{pdf.worker.min-C0gkd2Ec.js → pdf.worker.min-BPOWx2_9.js} +1 -1
- package/dist/renderer.cjs.js +1 -1
- package/dist/renderer.es.js +1 -1
- package/dist/your-ai-workflow-firebase-os.cjs.js +39 -39
- package/dist/your-ai-workflow-firebase-os.es.js +8386 -8381
- package/package.json +1 -1
- package/dist/PhoneInputField-Btx07xvM.js +0 -2
- /package/dist/{AddressField-BkzFOo2t.cjs → AddressField-BBv8NGX8.cjs} +0 -0
- /package/dist/{pdf-CC5g01eC.cjs → pdf-B24jYmSf.cjs} +0 -0
- /package/dist/{pdf.worker.min-pI_P-OCl.cjs → pdf.worker.min-BvhEiZFe.cjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, t } from "./chunk-NnHqS4_Y.js";
|
|
2
|
-
import { o as n, r, s as i, t as a } from "./fileBytes-
|
|
3
|
-
//#region
|
|
2
|
+
import { o as n, r, s as i, t as a } from "./fileBytes-DuW2K-H_.js";
|
|
3
|
+
//#region node_modules/pdf-lib/node_modules/tslib/tslib.es6.js
|
|
4
4
|
var o = function(e, t) {
|
|
5
5
|
return o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
6
6
|
e.__proto__ = t;
|
|
@@ -2311,13 +2311,13 @@ var U = cn, ln = function() {
|
|
|
2311
2311
|
}(un), mn = new Uint8Array(256);
|
|
2312
2312
|
mn[U.LeftParen] = 1, mn[U.RightParen] = 1, mn[U.LessThan] = 1, mn[U.GreaterThan] = 1, mn[U.LeftSquareBracket] = 1, mn[U.RightSquareBracket] = 1, mn[U.LeftCurly] = 1, mn[U.RightCurly] = 1, mn[U.ForwardSlash] = 1, mn[U.Percent] = 1;
|
|
2313
2313
|
//#endregion
|
|
2314
|
-
//#region
|
|
2314
|
+
//#region node_modules/pdf-lib/es/core/syntax/Whitespace.js
|
|
2315
2315
|
var hn = new Uint8Array(256);
|
|
2316
2316
|
hn[U.Null] = 1, hn[U.Tab] = 1, hn[U.Newline] = 1, hn[U.FormFeed] = 1, hn[U.CarriageReturn] = 1, hn[U.Space] = 1;
|
|
2317
2317
|
for (var gn = new Uint8Array(256), _n = 0, vn = 256; _n < vn; _n++) gn[_n] = hn[_n] || mn[_n] ? 1 : 0;
|
|
2318
2318
|
gn[U.Hash] = 1;
|
|
2319
2319
|
//#endregion
|
|
2320
|
-
//#region
|
|
2320
|
+
//#region node_modules/pdf-lib/es/core/objects/PDFName.js
|
|
2321
2321
|
var yn = function(e) {
|
|
2322
2322
|
return e.replace(/#([\dABCDEF]{2})/g, function(e, t) {
|
|
2323
2323
|
return T(t);
|
|
@@ -4738,7 +4738,7 @@ J.toRGBA8 = function(e) {
|
|
|
4738
4738
|
return r.buffer;
|
|
4739
4739
|
};
|
|
4740
4740
|
//#endregion
|
|
4741
|
-
//#region
|
|
4741
|
+
//#region node_modules/pdf-lib/es/utils/png.js
|
|
4742
4742
|
var dr = function(e) {
|
|
4743
4743
|
if (e === 0) return pr.Greyscale;
|
|
4744
4744
|
if (e === 2) return pr.Truecolour;
|
|
@@ -6418,7 +6418,7 @@ var ei;
|
|
|
6418
6418
|
e[e.Combo = Xr(17)] = "Combo", e[e.Edit = Xr(18)] = "Edit", e[e.Sort = Xr(19)] = "Sort", e[e.MultiSelect = Xr(21)] = "MultiSelect", e[e.DoNotSpellCheck = Xr(22)] = "DoNotSpellCheck", e[e.CommitOnSelChange = Xr(26)] = "CommitOnSelChange";
|
|
6419
6419
|
})(ei ||= {});
|
|
6420
6420
|
//#endregion
|
|
6421
|
-
//#region
|
|
6421
|
+
//#region node_modules/pdf-lib/es/core/acroform/PDFAcroChoice.js
|
|
6422
6422
|
var ti = function(e) {
|
|
6423
6423
|
s(t, e);
|
|
6424
6424
|
function t() {
|
|
@@ -6833,7 +6833,7 @@ var Si = new Uint8Array(256);
|
|
|
6833
6833
|
Si[U.Period] = 1, Si[U.Plus] = 1, Si[U.Minus] = 1;
|
|
6834
6834
|
for (var Ci = new Uint8Array(256), wi = 0, Ti = 256; wi < Ti; wi++) Ci[wi] = xi[wi] || Si[wi] ? 1 : 0;
|
|
6835
6835
|
//#endregion
|
|
6836
|
-
//#region
|
|
6836
|
+
//#region node_modules/pdf-lib/es/core/parser/BaseParser.js
|
|
6837
6837
|
var Ei = U.Newline, Di = U.CarriageReturn, Oi = function() {
|
|
6838
6838
|
function e(e, t) {
|
|
6839
6839
|
t === void 0 && (t = !1), this.bytes = e, this.capNumbers = t;
|
|
@@ -7364,7 +7364,7 @@ var Ei = U.Newline, Di = U.CarriageReturn, Oi = function() {
|
|
|
7364
7364
|
e[e.Invisible = Bi(0)] = "Invisible", e[e.Hidden = Bi(1)] = "Hidden", e[e.Print = Bi(2)] = "Print", e[e.NoZoom = Bi(3)] = "NoZoom", e[e.NoRotate = Bi(4)] = "NoRotate", e[e.NoView = Bi(5)] = "NoView", e[e.ReadOnly = Bi(6)] = "ReadOnly", e[e.Locked = Bi(7)] = "Locked", e[e.ToggleNoView = Bi(8)] = "ToggleNoView", e[e.LockedContents = Bi(9)] = "LockedContents";
|
|
7365
7365
|
})(Vi ||= {});
|
|
7366
7366
|
//#endregion
|
|
7367
|
-
//#region
|
|
7367
|
+
//#region node_modules/pdf-lib/es/api/objects.js
|
|
7368
7368
|
var Hi = function(e) {
|
|
7369
7369
|
return e instanceof G ? e : G.of(e);
|
|
7370
7370
|
}, Y = function(e) {
|
|
@@ -8169,7 +8169,7 @@ var Bo = function(e) {
|
|
|
8169
8169
|
e[e.Left = 0] = "Left", e[e.Center = 1] = "Center", e[e.Right = 2] = "Right";
|
|
8170
8170
|
})(Wo ||= {});
|
|
8171
8171
|
//#endregion
|
|
8172
|
-
//#region
|
|
8172
|
+
//#region node_modules/pdf-lib/es/api/text/layout.js
|
|
8173
8173
|
var Go = 4, Ko = 500, qo = function(e, t, n, r) {
|
|
8174
8174
|
r === void 0 && (r = !1);
|
|
8175
8175
|
for (var i = Go; i < Ko;) {
|
|
@@ -8601,7 +8601,7 @@ var Go = 4, Ko = 500, qo = function(e, t, n, r) {
|
|
|
8601
8601
|
e[e.Left = 0] = "Left", e[e.Center = 1] = "Center", e[e.Right = 2] = "Right";
|
|
8602
8602
|
})(hs ||= {});
|
|
8603
8603
|
//#endregion
|
|
8604
|
-
//#region
|
|
8604
|
+
//#region node_modules/pdf-lib/es/api/form/PDFField.js
|
|
8605
8605
|
var gs = function(e) {
|
|
8606
8606
|
V(e?.x, "options.x", ["number"]), V(e?.y, "options.y", ["number"]), V(e?.width, "options.width", ["number"]), V(e?.height, "options.height", ["number"]), V(e?.textColor, "options.textColor", [[Object, "Color"]]), V(e?.backgroundColor, "options.backgroundColor", [[Object, "Color"]]), V(e?.borderColor, "options.borderColor", [[Object, "Color"]]), V(e?.borderWidth, "options.borderWidth", ["number"]), V(e?.rotate, "options.rotate", [[Object, "Rotation"]]);
|
|
8607
8607
|
}, _s = function() {
|
|
@@ -9187,7 +9187,7 @@ var gs = function(e) {
|
|
|
9187
9187
|
e.Courier = "Courier", e.CourierBold = "Courier-Bold", e.CourierOblique = "Courier-Oblique", e.CourierBoldOblique = "Courier-BoldOblique", e.Helvetica = "Helvetica", e.HelveticaBold = "Helvetica-Bold", e.HelveticaOblique = "Helvetica-Oblique", e.HelveticaBoldOblique = "Helvetica-BoldOblique", e.TimesRoman = "Times-Roman", e.TimesRomanBold = "Times-Bold", e.TimesRomanItalic = "Times-Italic", e.TimesRomanBoldItalic = "Times-BoldItalic", e.Symbol = "Symbol", e.ZapfDingbats = "ZapfDingbats";
|
|
9188
9188
|
})(ws ||= {});
|
|
9189
9189
|
//#endregion
|
|
9190
|
-
//#region
|
|
9190
|
+
//#region node_modules/pdf-lib/es/api/form/PDFForm.js
|
|
9191
9191
|
var Ts = function() {
|
|
9192
9192
|
function e(e, t) {
|
|
9193
9193
|
var n = this;
|
|
@@ -9434,7 +9434,7 @@ var Ts = function() {
|
|
|
9434
9434
|
e[e.Fastest = Infinity] = "Fastest", e[e.Fast = 1500] = "Fast", e[e.Medium = 500] = "Medium", e[e.Slow = 100] = "Slow";
|
|
9435
9435
|
})(As ||= {});
|
|
9436
9436
|
//#endregion
|
|
9437
|
-
//#region
|
|
9437
|
+
//#region node_modules/pdf-lib/es/api/PDFEmbeddedFile.js
|
|
9438
9438
|
var js = function() {
|
|
9439
9439
|
function e(e, t, n) {
|
|
9440
9440
|
this.alreadyEmbedded = !1, this.ref = e, this.doc = t, this.embedder = n;
|
|
@@ -9828,13 +9828,13 @@ function Fs(e) {
|
|
|
9828
9828
|
if (!(e instanceof q) && !(e instanceof nr)) throw new It([q, nr], e);
|
|
9829
9829
|
}
|
|
9830
9830
|
//#endregion
|
|
9831
|
-
//#region
|
|
9831
|
+
//#region node_modules/pdf-lib/es/api/PDFPageOptions.js
|
|
9832
9832
|
var Is;
|
|
9833
9833
|
(function(e) {
|
|
9834
9834
|
e.Normal = "Normal", e.Multiply = "Multiply", e.Screen = "Screen", e.Overlay = "Overlay", e.Darken = "Darken", e.Lighten = "Lighten", e.ColorDodge = "ColorDodge", e.ColorBurn = "ColorBurn", e.HardLight = "HardLight", e.SoftLight = "SoftLight", e.Difference = "Difference", e.Exclusion = "Exclusion";
|
|
9835
9835
|
})(Is ||= {});
|
|
9836
9836
|
//#endregion
|
|
9837
|
-
//#region
|
|
9837
|
+
//#region node_modules/pdf-lib/es/api/PDFPage.js
|
|
9838
9838
|
var Ls = function() {
|
|
9839
9839
|
function e(e, t, n) {
|
|
9840
9840
|
this.fontSize = 24, this.fontColor = Ka(0, 0, 0), this.lineHeight = 24, this.x = 0, this.y = 0, B(e, "leafNode", [[Ln, "PDFPageLeaf"]]), B(t, "ref", [[On, "PDFRef"]]), B(n, "doc", [[Ps, "PDFDocument"]]), this.node = e, this.ref = t, this.doc = n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e, { forwardRef as t, useCallback as n, useEffect as r, useImperativeHandle as i, useMemo as a, useRef as o, useState as s } from "react";
|
|
2
|
-
//#region
|
|
2
|
+
//#region node_modules/react-international-phone/dist/index.mjs
|
|
3
3
|
var c = [
|
|
4
4
|
[
|
|
5
5
|
"Afghanistan",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./mediaKind-dk396a03.cjs`);let t=require(`react`),n=require(`react/jsx-runtime`);var r=[{id:`black`,label:`Black pen`,color:`#111827`,alpha:1,width:.0028},{id:`blue`,label:`Blue pen`,color:`#2563eb`,alpha:1,width:.0028},{id:`red`,label:`Red pen`,color:`#dc2626`,alpha:1,width:.0028},{id:`marker`,label:`Highlighter`,color:`#facc15`,alpha:.4,width:.016}],i=e=>r.find(t=>t.id===e)||r[0];function a(e,t,n,r){let a=i(t.ink),o=t.points;if(!(o.length<2)){e.save(),e.globalAlpha=a.alpha,e.strokeStyle=a.color,e.lineWidth=Math.max(1,a.width*n),e.lineCap=`round`,e.lineJoin=`round`,e.beginPath(),e.moveTo(o[0]*n,o[1]*r),o.length===2&&e.lineTo(o[0]*n+.01,o[1]*r);for(let t=2;t<o.length;t+=2)e.lineTo(o[t]*n,o[t+1]*r);e.stroke(),e.restore()}}function o({strokes:e,active:r,ink:i,onStroke:o}){let s=(0,t.useRef)(null),c=(0,t.useRef)(null),l=(0,t.useRef)(0),[u,d]=(0,t.useState)({w:0,h:0});(0,t.useLayoutEffect)(()=>{let e=s.current?.parentElement;if(!e)return;let t=()=>d({w:e.clientWidth,h:e.clientHeight});if(t(),typeof ResizeObserver>`u`)return;let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);let f=(0,t.useCallback)(()=>{let t=s.current;if(!t||!u.w||!u.h)return;let n=window.devicePixelRatio||1,r=Math.round(u.w*n),i=Math.round(u.h*n);(t.width!==r||t.height!==i)&&(t.width=r,t.height=i);let o=t.getContext(`2d`);if(o){o.setTransform(n,0,0,n,0,0),o.clearRect(0,0,u.w,u.h);for(let t of e)a(o,t,u.w,u.h);c.current&&a(o,c.current,u.w,u.h)}},[e,u]);(0,t.useEffect)(f,[f]),(0,t.useEffect)(()=>()=>cancelAnimationFrame(l.current),[]);let p=()=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame(f)},m=e=>{let t=e.currentTarget.getBoundingClientRect();return[Math.min(1,Math.max(0,(e.clientX-t.left)/(t.width||1))),Math.min(1,Math.max(0,(e.clientY-t.top)/(t.height||1)))]},h=()=>{let e=c.current;c.current=null,e&&o(e)};return(0,n.jsx)(`canvas`,{ref:s,"aria-hidden":!r,className:`absolute inset-0 w-full h-full ${r?`cursor-crosshair touch-none`:`pointer-events-none`}`,onPointerDown:e=>{!r||e.button>0||(e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),c.current={ink:i,points:m(e)},p())},onPointerMove:e=>{c.current&&(c.current.points.push(...m(e)),p())},onPointerUp:h,onPointerCancel:h})}var s=null;function c(){return s||(s=(async()=>{let[e,t]=await Promise.all([Promise.resolve().then(()=>require(`./pdf-
|
|
1
|
+
require(`./chunk-CiTBaPhY.cjs`);const e=require(`./mediaKind-dk396a03.cjs`);let t=require(`react`),n=require(`react/jsx-runtime`);var r=[{id:`black`,label:`Black pen`,color:`#111827`,alpha:1,width:.0028},{id:`blue`,label:`Blue pen`,color:`#2563eb`,alpha:1,width:.0028},{id:`red`,label:`Red pen`,color:`#dc2626`,alpha:1,width:.0028},{id:`marker`,label:`Highlighter`,color:`#facc15`,alpha:.4,width:.016}],i=e=>r.find(t=>t.id===e)||r[0];function a(e,t,n,r){let a=i(t.ink),o=t.points;if(!(o.length<2)){e.save(),e.globalAlpha=a.alpha,e.strokeStyle=a.color,e.lineWidth=Math.max(1,a.width*n),e.lineCap=`round`,e.lineJoin=`round`,e.beginPath(),e.moveTo(o[0]*n,o[1]*r),o.length===2&&e.lineTo(o[0]*n+.01,o[1]*r);for(let t=2;t<o.length;t+=2)e.lineTo(o[t]*n,o[t+1]*r);e.stroke(),e.restore()}}function o({strokes:e,active:r,ink:i,onStroke:o}){let s=(0,t.useRef)(null),c=(0,t.useRef)(null),l=(0,t.useRef)(0),[u,d]=(0,t.useState)({w:0,h:0});(0,t.useLayoutEffect)(()=>{let e=s.current?.parentElement;if(!e)return;let t=()=>d({w:e.clientWidth,h:e.clientHeight});if(t(),typeof ResizeObserver>`u`)return;let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);let f=(0,t.useCallback)(()=>{let t=s.current;if(!t||!u.w||!u.h)return;let n=window.devicePixelRatio||1,r=Math.round(u.w*n),i=Math.round(u.h*n);(t.width!==r||t.height!==i)&&(t.width=r,t.height=i);let o=t.getContext(`2d`);if(o){o.setTransform(n,0,0,n,0,0),o.clearRect(0,0,u.w,u.h);for(let t of e)a(o,t,u.w,u.h);c.current&&a(o,c.current,u.w,u.h)}},[e,u]);(0,t.useEffect)(f,[f]),(0,t.useEffect)(()=>()=>cancelAnimationFrame(l.current),[]);let p=()=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame(f)},m=e=>{let t=e.currentTarget.getBoundingClientRect();return[Math.min(1,Math.max(0,(e.clientX-t.left)/(t.width||1))),Math.min(1,Math.max(0,(e.clientY-t.top)/(t.height||1)))]},h=()=>{let e=c.current;c.current=null,e&&o(e)};return(0,n.jsx)(`canvas`,{ref:s,"aria-hidden":!r,className:`absolute inset-0 w-full h-full ${r?`cursor-crosshair touch-none`:`pointer-events-none`}`,onPointerDown:e=>{!r||e.button>0||(e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),c.current={ink:i,points:m(e)},p())},onPointerMove:e=>{c.current&&(c.current.points.push(...m(e)),p())},onPointerUp:h,onPointerCancel:h})}var s=null;function c(){return s||(s=(async()=>{let[e,t]=await Promise.all([Promise.resolve().then(()=>require(`./pdf-B24jYmSf.cjs`)),Promise.resolve().then(()=>require(`./pdf.worker.min-BvhEiZFe.cjs`))]),n=e.GlobalWorkerOptions;if(!n.workerPort&&!n.workerSrc){let e=URL.createObjectURL(new Blob([t.default],{type:`text/javascript`}));n.workerSrc=e;try{n.workerPort=new Worker(e,{type:`module`})}catch{}}return e})(),s.catch(()=>{s=null})),s}var l=`/api/files/raw`,u=new Map,d=6;async function f(t){if(/^(blob|data):/i.test(t))return(await fetch(t)).blob();try{let e=await fetch(t,{mode:`cors`,credentials:`omit`});if(e.ok)return await e.blob()}catch{}if(e.c(t))try{let e=await fetch(`${l}?url=${encodeURIComponent(t)}`);if(e.ok&&e.headers.get(`x-fbos-file`)===`1`)return await e.blob()}catch{}throw Error(`This file cannot be read here.`)}function p(e){let t=u.get(e);if(t)return t;let n=f(e);for(u.set(e,n),n.catch(()=>u.delete(e));u.size>d;)u.delete(u.keys().next().value);return n}function m(e,t){let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t||`file`,document.body.appendChild(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),4e3)}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -100,7 +100,7 @@ function u({ strokes: e, active: s, ink: c, onStroke: u }) {
|
|
|
100
100
|
var d = null;
|
|
101
101
|
function f() {
|
|
102
102
|
return d || (d = (async () => {
|
|
103
|
-
let [e, t] = await Promise.all([import("./pdf-
|
|
103
|
+
let [e, t] = await Promise.all([import("./pdf-u73U7-6s.js"), import("./pdf.worker.min-BPOWx2_9.js")]), n = e.GlobalWorkerOptions;
|
|
104
104
|
if (!n.workerPort && !n.workerSrc) {
|
|
105
105
|
let e = URL.createObjectURL(new Blob([t.default], { type: "text/javascript" }));
|
|
106
106
|
n.workerSrc = e;
|
|
@@ -102,7 +102,7 @@ export declare const PIECES_LINE = "And the hard parts are the app\u2019s own pi
|
|
|
102
102
|
* that keeps many things — and names no piece: rule 6 and rule 31 do, and
|
|
103
103
|
* `whole-records` is the build's half.
|
|
104
104
|
*/
|
|
105
|
-
export declare const WORKING_VIEW_LINE = "If this page keeps many things \u2014 orders, requests, clients \u2014 show them the way a professional tool does, so a dozen can be seen at once without my asking for it: each one a compact card or a single row saying only what tells it apart \u2014 its number or name, who it is for, its stage as a small label, when, how much, who has it \u2014 and pressing one opens the whole of it in the app\u2019s own pop-up, where everything done to it is: its stage, its notes, handing it over. Where things move through stages, the people who work on them see a board of those stages; somebody who only follows their own sees theirs as a short list. Never every one drawn open, one big box under another. Inside the opened one, keep it tidy and even: a clear grid, each label above its value
|
|
105
|
+
export declare const WORKING_VIEW_LINE = "If this page keeps many things \u2014 orders, requests, clients \u2014 show them the way a professional tool does, so a dozen can be seen at once without my asking for it: each one a compact card or a single row saying only what tells it apart \u2014 its number or name, who it is for, its stage as a small label, when, how much, who has it \u2014 and pressing one opens the whole of it in the app\u2019s own pop-up, where everything done to it is: its stage, its notes, handing it over. Where things move through stages, the people who work on them see a board of those stages; somebody who only follows their own sees theirs as a short list. Never every one drawn open, one big box under another. Inside the opened one, keep it tidy and even: the pop-up is its one frame, so its parts are set apart by space or a thin rule and never each in a bordered box of its own, nothing boxed inside a box; a clear grid, each label in small print above its value at the page\u2019s ordinary size, one spacing throughout, boxes and buttons that sit side by side the same height, and what can be done to it \u2014 its stage, who holds it, a note \u2014 together in one place at the end rather than scattered through it; nothing on it pulses, and every word on it is mine or the entry\u2019s, never a made-up place, carrier or name standing in for one that is missing. Do not add a gallery to a page I did not ask it for.";
|
|
106
106
|
export declare const finishLine: (website: boolean) => string;
|
|
107
107
|
/**
|
|
108
108
|
* A change sentence's first rule: what the owner's words are about is the
|
package/dist/lib/people.d.ts
CHANGED
|
@@ -6,6 +6,15 @@ export interface Person {
|
|
|
6
6
|
name: string;
|
|
7
7
|
/** Their picture, or '' — most installs keep none on the profile. */
|
|
8
8
|
photo: string;
|
|
9
|
+
/**
|
|
10
|
+
* Their address, or '' — beside the name in a picker, so two people who
|
|
11
|
+
* share a name are told apart and a name that IS an address is not the
|
|
12
|
+
* only thing known about them. Only the team and admins ever list people,
|
|
13
|
+
* so it reaches nobody a profile does not already reach.
|
|
14
|
+
*/
|
|
15
|
+
email: string;
|
|
16
|
+
/** The number they signed in with, or ''. */
|
|
17
|
+
phone: string;
|
|
9
18
|
/** The word they are marked with, which is the word that was asked for. */
|
|
10
19
|
role: string;
|
|
11
20
|
}
|
package/dist/lib/recordsKey.d.ts
CHANGED
|
@@ -28,3 +28,27 @@ export declare function pageRecordsCollection(config: any, prefix: string, id?:
|
|
|
28
28
|
* no preset draws no record list of its own).
|
|
29
29
|
*/
|
|
30
30
|
export declare function recordsKeyInUse(config: any, id: string, isPublic: boolean): string;
|
|
31
|
+
/**
|
|
32
|
+
* The word a page of SENT entries names its collection after: its tab name
|
|
33
|
+
* as the sentence has always folded it — lower case, one `_` between words,
|
|
34
|
+
* none at either end — behind the key the page keeps once it has been
|
|
35
|
+
* renamed or moved, so a rename never sends the road to an empty list.
|
|
36
|
+
*/
|
|
37
|
+
export declare const casePageName: (config: any) => string;
|
|
38
|
+
/**
|
|
39
|
+
* The ONE collection a page whose entries are sent keeps them in —
|
|
40
|
+
* `case_orders_entries` for a page called Orders.
|
|
41
|
+
*
|
|
42
|
+
* Three things have to agree on it to the letter, and until 2026-09-24 only
|
|
43
|
+
* two did. The page's sentence hands the assistant this name
|
|
44
|
+
* (`useCases('case_orders_entries')`), and the arrival road writes a shop's
|
|
45
|
+
* orders into it (lib/arrivalRoads.ts). But the page templates handed the
|
|
46
|
+
* content file its `actions` — `records`, `saveRecord`, `updateRecord`,
|
|
47
|
+
* `deleteRecord`, `collection` — bound to `case_<name>_records`, the shape
|
|
48
|
+
* every other page has, and nothing else ever read or wrote that name. So
|
|
49
|
+
* `actions.updateRecord(order.id, …)` on an order that had arrived answered
|
|
50
|
+
* "No document to update: …/case_orders_records/<id>": the order sat one
|
|
51
|
+
* collection over under the same id, and the first anybody heard of it was
|
|
52
|
+
* the owner pressing Assign. Named here, once, and read by all three.
|
|
53
|
+
*/
|
|
54
|
+
export declare const caseEntriesCollection: (config: any, prefix?: string) => string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as e } from "./chunk-NnHqS4_Y.js";
|
|
2
2
|
import { createContext as t, createElement as n, forwardRef as r, useContext as i, useMemo as a } from "react";
|
|
3
|
-
//#region
|
|
3
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs
|
|
4
4
|
var o = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
5
5
|
//#endregion
|
|
6
|
-
//#region
|
|
6
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs
|
|
7
7
|
function ee(e, t, n = []) {
|
|
8
8
|
if (t == null) throw Error("[lucide]: iconNode is required when icon name is used");
|
|
9
9
|
return {
|
|
@@ -14,7 +14,7 @@ function ee(e, t, n = []) {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region
|
|
17
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs
|
|
18
18
|
var te = (e) => {
|
|
19
19
|
let t = "", n = !1;
|
|
20
20
|
for (let r of e) {
|
|
@@ -40,7 +40,7 @@ var te = (e) => {
|
|
|
40
40
|
"stroke-linejoin": "round"
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
43
|
-
//#region
|
|
43
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs
|
|
44
44
|
function re(e) {
|
|
45
45
|
return e != null;
|
|
46
46
|
}
|
|
@@ -77,7 +77,7 @@ function ie(e, t = {}) {
|
|
|
77
77
|
];
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
|
-
//#region
|
|
80
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs
|
|
81
81
|
function eee(e, t = {}) {
|
|
82
82
|
return ie(e, {
|
|
83
83
|
...t,
|
|
@@ -92,7 +92,7 @@ function eee(e, t = {}) {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
//#endregion
|
|
95
|
-
//#region
|
|
95
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
96
96
|
var tee = (e) => {
|
|
97
97
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
98
98
|
return !1;
|
|
@@ -137,7 +137,7 @@ var se = () => i(ae), ce = r(({ color: e, size: t, width: r, height: i, strokeWi
|
|
|
137
137
|
}, [...he.map(([e, t]) => n(e, t)), ...Array.isArray(s) ? s : [s]]);
|
|
138
138
|
});
|
|
139
139
|
//#endregion
|
|
140
|
-
//#region
|
|
140
|
+
//#region node_modules/lucide-react/dist/esm/createLucideIcon.mjs
|
|
141
141
|
function l(e, t = [], i = []) {
|
|
142
142
|
let a = typeof e == "string" ? ee(e, t, i) : e, o = r(({ className: e, ...t }, r) => n(ce, {
|
|
143
143
|
ref: r,
|
|
@@ -148,7 +148,7 @@ function l(e, t = [], i = []) {
|
|
|
148
148
|
return a.name && (o.displayName = s(a.name)), o;
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
151
|
-
//#region
|
|
151
|
+
//#region node_modules/lucide-react/dist/esm/icons/a-arrow-down.mjs
|
|
152
152
|
var le = {
|
|
153
153
|
name: "a-arrow-down",
|
|
154
154
|
size: 24,
|
|
@@ -72,13 +72,6 @@ export declare const audienceRoleOptions: (roles?: CustomRole[]) => {
|
|
|
72
72
|
value: string;
|
|
73
73
|
label: string;
|
|
74
74
|
}[];
|
|
75
|
-
/**
|
|
76
|
-
* The collection a page of sent entries keeps them in — the name its sentence
|
|
77
|
-
* hands the assistant (`useCases('case_orders_entries')`), and so the name the
|
|
78
|
-
* app lets a linked page's entries into (arrivalRoads). ONE place, because the
|
|
79
|
-
* two have to agree to the letter.
|
|
80
|
-
*/
|
|
81
|
-
export declare const caseEntriesCollection: (config: any, prefix?: string) => string;
|
|
82
75
|
export declare const audienceLines: (config: any) => string[];
|
|
83
76
|
/** Which groups a piece of the owner's words names, each counted once. */
|
|
84
77
|
export declare const groupsNamed: (text: string, roles?: CustomRole[]) => string[];
|