@aglyn/aglyn 1.0.0-beta.264 → 1.0.0-beta.268

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 (45) hide show
  1. package/package.json +12 -12
  2. package/src/lib/app-utils/account-acquisition.d.ts +13 -0
  3. package/src/lib/app-utils/account-acquisition.js +84 -0
  4. package/src/lib/app-utils/account-acquisition.js.map +1 -1
  5. package/src/lib/app-utils/analytics-events.d.ts +70 -0
  6. package/src/lib/app-utils/analytics-events.js +8 -0
  7. package/src/lib/app-utils/analytics-events.js.map +1 -1
  8. package/src/lib/app-utils/docs-help-sections.generated.js +4 -1
  9. package/src/lib/app-utils/docs-help-sections.generated.js.map +1 -1
  10. package/src/lib/app-utils/docs-help.generated.d.ts +2 -2
  11. package/src/lib/app-utils/docs-help.generated.js +8 -1
  12. package/src/lib/app-utils/docs-help.generated.js.map +1 -1
  13. package/src/lib/app-utils/docs-index.generated.js +31 -10
  14. package/src/lib/app-utils/docs-index.generated.js.map +1 -1
  15. package/src/lib/app-utils/expand-repeatables.js +14 -7
  16. package/src/lib/app-utils/expand-repeatables.js.map +1 -1
  17. package/src/lib/app-utils/health-report.d.ts +120 -8
  18. package/src/lib/app-utils/health-report.js +138 -3
  19. package/src/lib/app-utils/health-report.js.map +1 -1
  20. package/src/lib/app-utils/live-document-count.client.d.ts +28 -0
  21. package/src/lib/app-utils/live-document-count.client.js +35 -0
  22. package/src/lib/app-utils/live-document-count.client.js.map +1 -0
  23. package/src/lib/app-utils/live-document-count.d.ts +91 -0
  24. package/src/lib/app-utils/live-document-count.js +81 -0
  25. package/src/lib/app-utils/live-document-count.js.map +1 -0
  26. package/src/lib/app-utils/notification-sounds.d.ts +49 -0
  27. package/src/lib/app-utils/notification-sounds.js +54 -0
  28. package/src/lib/app-utils/notification-sounds.js.map +1 -0
  29. package/src/lib/app-utils/notifications.d.ts +2 -0
  30. package/src/lib/app-utils/notifications.js +38 -10
  31. package/src/lib/app-utils/notifications.js.map +1 -1
  32. package/src/lib/app-utils/screen-analytics-aggregate.d.ts +10 -0
  33. package/src/lib/app-utils/screen-analytics-aggregate.js +11 -0
  34. package/src/lib/app-utils/screen-analytics-aggregate.js.map +1 -1
  35. package/src/lib/app-utils/upload-inspection.d.ts +9 -0
  36. package/src/lib/app-utils/upload-inspection.js +27 -0
  37. package/src/lib/app-utils/upload-inspection.js.map +1 -1
  38. package/src/lib/plugin-manager/first-party-plugins.generated.js +6 -0
  39. package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
  40. package/src/lib/plugin-manager/plugin-activity-actions.d.ts +14 -0
  41. package/src/lib/plugin-manager/plugin-activity-actions.js +30 -3
  42. package/src/lib/plugin-manager/plugin-activity-actions.js.map +1 -1
  43. package/src/lib/plugin-manager/plugin-site-erase.d.ts +81 -0
  44. package/src/lib/plugin-manager/plugin-site-erase.js +56 -0
  45. package/src/lib/plugin-manager/plugin-site-erase.js.map +1 -0
@@ -1220,7 +1220,7 @@ export const DOCS_SECTION_INDEX = [
1220
1220
  title: 'Looks and themes for AI sites',
1221
1221
  heading: 'Choose a style',
1222
1222
  anchor: '#choose-a-style',
1223
- text: 'The Style step of Start your site offers these styles. One is picked for you from what you said the site is; choose another to change it.\n| Style | For |\n| Business & services | A local business or service company. The fallback when nothing else fits. |\n| Home services & trades | Roofers, plumbers, electricians, cleaners and other trades. |\n| Law, finance & consulting | Professional practices. |\n| Health & wellness | Clinics, therapists and practitioners. |\n| Restaurant & café | Restaurants, cafés, bakeries and bars. |\n| Online store | A shop that sells products. On a paid plan it adds products. |\n| Portfolio | Showing your work. |\n| Design studio & agency | Studios and agencies. |\n| Photography | Photographers. |\n| Blog & writing | Reading-first pages. On a paid plan it adds posts. |\n| Events & weddings | An event, a venue or a planner. |\n| Fitness & sports | Gyms, trainers, teams and clubs. |\n| Yoga & mindfulness | Studios and teachers. |\n| Beauty & salon | Salons, barbers and spas. |\n| Real estate | Agents and agencies. |\n| Courses & education | Classes, tutors and schools. |\n| Nonprofit & community | Charities, groups and clubs. |\n| Music & bands | Musicians and bands. |\n| Personal & resume | A personal site or a resume. |\n| Landing page | One offer on one focused page. |\n| Coming soon | A placeholder that collects interest. |\nEach card says, in a line, what its look is like. A style also suggests the pages that kind of site usually has, such as a menu for a restaurant or services for a trade.'
1223
+ text: 'The Style step of Start your site offers these styles, each as a card with a picture of an example home page of that kind, drawn in its style. Pick for me, first and chosen unless you choose another, uses the style that what you said the site is suggests, and names it.\n| Style | For |\n| Business & services | A local business or service company. The fallback when nothing else fits. |\n| Home services & trades | Roofers, plumbers, electricians, cleaners and other trades. |\n| Law, finance & consulting | Professional practices. |\n| Health & wellness | Clinics, therapists and practitioners. |\n| Restaurant & café | Restaurants, cafés, bakeries and bars. |\n| Online store | A shop that sells products. On a paid plan it adds products. |\n| Portfolio | Showing your work. |\n| Design studio & agency | Studios and agencies. |\n| Photography | Photographers. |\n| Blog & writing | Reading-first pages. On a paid plan it adds posts. |\n| Events & weddings | An event, a venue or a planner. |\n| Fitness & sports | Gyms, trainers, teams and clubs. |\n| Yoga & mindfulness | Studios and teachers. |\n| Beauty & salon | Salons, barbers and spas. |\n| Real estate | Agents and agencies. |\n| Courses & education | Classes, tutors and schools. |\n| Nonprofit & community | Charities, groups and clubs. |\n| Music & bands | Musicians and bands. |\n| Personal & resume | A personal site or a resume. |\n| Landing page | One offer on one focused page. |\n| Coming soon | A placeholder that collects interest. |\nEach card says, in a line, what its look is like. Its picture is one variation of the style; your site gets its own. A style also suggests the pages that kind of site usually has, such as a menu for a restaurant or services for a trade.'
1224
1224
  },
1225
1225
  {
1226
1226
  path: '/ai/site-looks',
@@ -1255,7 +1255,7 @@ export const DOCS_SECTION_INDEX = [
1255
1255
  title: 'Start a new site with AI',
1256
1256
  heading: '',
1257
1257
  anchor: '',
1258
- text: 'Start a new site with AI\nCreate site opens Start your site straight away, before the site exists. Start with AI asks a few questions, then creates the site, plans it, writes every page, gives it a look of its own and publishes it at its address. This page walks through each question and what happens after you choose Plan my site.\nTo scaffold pages for a site that already exists, or for several sites at once, see Generate a website from a prompt.'
1258
+ text: 'Start a new site with AI\nCreate site opens Start your site straight away, before the site exists. Start with AI asks a few questions, one per step, then creates the site, plans it, writes every page, gives it a look of its own and publishes it at its address. This page walks through each step and what happens after you choose Plan my site.\nTo scaffold pages for a site that already exists, or for several sites at once, see Generate a website from a prompt.'
1259
1259
  },
1260
1260
  {
1261
1261
  path: '/ai/start-with-ai',
@@ -1267,30 +1267,51 @@ export const DOCS_SECTION_INDEX = [
1267
1267
  {
1268
1268
  path: '/ai/start-with-ai',
1269
1269
  title: 'Start a new site with AI',
1270
- heading: 'Your business',
1270
+ heading: 'The questions, one at a time',
1271
+ anchor: '#the-questions',
1272
+ text: 'Start with AI asks one thing per step. The bar under the title shows where you are: Start, Your site, Audience, Style, Details and Review (on a phone, Step 3 of 6 and a progress bar). Next moves on and Back goes back; your answers are kept either way. Pressing Enter in a text answer is the same as Next. If a step cannot move on, the reason shows under the field and the cursor goes to it. Skip and the close control stay in the bar at the top on every step.'
1273
+ },
1274
+ {
1275
+ path: '/ai/start-with-ai',
1276
+ title: 'Start a new site with AI',
1277
+ heading: 'Your site',
1271
1278
  anchor: '#your-business',
1272
- text: 'What kind of site are you creating? is the one required answer. A few words is enough, such as a neighborhood dog groomer that takes bookings, or pick one of the suggestions under the field: a local service business, a restaurant or cafe, a professional practice, a trades business, a shop, a nonprofit, a personal portfolio or an event. Keep it under 120 characters.\nWhat you write here picks the site\'s style, which pages it usually has and what each page says.\nWho is it for? is optional. It is who every page and every search listing is written for, and it decides which questions the contact form asks. For example, local dog owners who want a regular groom booked online.\nBoth answers also fill your site\'s business profile, which every later AI job for the site reads.'
1279
+ text: 'What kind of site are you creating? is the one required answer. A few words is enough, such as a neighborhood dog groomer that takes bookings, or pick the closest card under the field: Local service business, Restaurant or cafe, Professional practice, Trades business, Shop, Nonprofit, Personal portfolio or Event. A card fills in the field for you. Keep it under 120 characters.\nWhat you write here picks the site\'s style, unless you choose one yourself, and decides which pages it usually has and what each page says.'
1280
+ },
1281
+ {
1282
+ path: '/ai/start-with-ai',
1283
+ title: 'Start a new site with AI',
1284
+ heading: 'Audience',
1285
+ anchor: '#audience',
1286
+ text: 'Who is it for? is optional. It is who every page and every search listing is written for, and it decides which questions the contact form asks. For example, local dog owners who want a regular groom booked online.\nBoth answers also fill your site\'s business profile, which every later AI job for the site reads.'
1273
1287
  },
1274
1288
  {
1275
1289
  path: '/ai/start-with-ai',
1276
1290
  title: 'Start a new site with AI',
1277
1291
  heading: 'Style',
1278
1292
  anchor: '#style',
1279
- text: 'The Style cards decide how the site looks and which pages it usually has: an online store, a portfolio, a restaurant, a blog and so on. One is picked for you from your first answer; choose another to change it. Each style gives the site its own variation, so two sites with the same style still look different. See Looks and themes for AI sites.'
1293
+ text: 'The Style step shows each style as a card with a picture: an example home page of that kind of site, drawn in its style. A photographer\'s opens on a gallery, a café\'s on its menu, an online store\'s on its products, a blog\'s on its latest posts, an events site\'s on its program and a real estate site\'s on its listings, so you can see each style\'s colors, fonts, buttons and corners, and the shape of its pages, before you pick. Pick for me comes first and is chosen unless you choose another. It names the style your first answer suggests, such as From your answer: Home services & trades. The style decides how the site looks and which pages it usually has: an online store, a portfolio, a restaurant, a blog and so on. Each site gets its own variation, so two sites with the same style still look different, and yours will not match the picture exactly. See Looks and themes for AI sites.'
1280
1294
  },
1281
1295
  {
1282
1296
  path: '/ai/start-with-ai',
1283
1297
  title: 'Start a new site with AI',
1284
1298
  heading: 'Details',
1285
1299
  anchor: '#details',
1286
- text: '- Where do form submissions go? decides where messages from the site\'s contact form land:\n- The Inbox (the default): every message is one to read and reply to.\n- The Inbox, and CRM as a lead: every message with an email address is also a lead to follow up.\nYou can change this on the form itself afterwards.\n- Pages is how many pages to write: 4 to 8 on a paid plan (5 unless you change it), 1 or 2 on the Free plan.\n- Welcome email (paid plans): Draft one writes a welcome email for the people who get in touch through the site, saying what became of their message. It is a draft design. Nothing sends it until you put it in an automation or a campaign. Free starts do not draft one.\nOn a paid plan a Model switch sits beside Plan my site. Leave it on Auto unless you have a reason to choose; see Choosing a model.'
1300
+ text: '- Where do form submissions go? decides where messages from the site\'s contact form land:\n- The Inbox (the default): every message is one to read and reply to.\n- The Inbox, and CRM as a lead: every message with an email address is also a lead to follow up.\nYou can change this on the form itself afterwards.\n- Pages is how many pages to write: 4 to 8 on a paid plan (5 unless you change it), 1 or 2 on the Free plan.\n- Welcome email (paid plans): Draft one writes a welcome email for the people who get in touch through the site, saying what became of their message. It is a draft design. Nothing sends it until you put it in an automation or a campaign. Free starts do not draft one.'
1301
+ },
1302
+ {
1303
+ path: '/ai/start-with-ai',
1304
+ title: 'Start a new site with AI',
1305
+ heading: 'Review',
1306
+ anchor: '#review',
1307
+ text: 'The last step lists every answer: the kind of site, who it is for, the style, where form submissions go, the pages and, on a paid plan, the welcome email. Edit beside an answer opens its step, and Back to review returns here. Plan my site starts the site.\nOn a paid plan a Model switch sits beside Plan my site. Leave it on Auto unless you have a reason to choose; see Choosing a model.'
1287
1308
  },
1288
1309
  {
1289
1310
  path: '/ai/start-with-ai',
1290
1311
  title: 'Start a new site with AI',
1291
1312
  heading: 'What it will cost',
1292
1313
  anchor: '#what-it-will-cost',
1293
- text: 'The bar at the bottom shows what the start will cost before you begin, as About N credits (up to M): about what starts like it cost on real builds, and the most it can cost. On the Free plan it also shows how many of your free credits are left this month and when they renew. If the start will likely use more than you have left, the window says so and offers Build what fits (it builds what your credits cover, then pauses until you Resume), Build the home page first (a one-page start), and Upgrade. Plan my site waits until you choose. See Before a job starts.'
1314
+ text: 'The bar at the bottom of the review shows what the start will cost before you begin, as About N credits (up to M): about what starts like it cost on real builds, and the most it can cost. On the Free plan it also shows how many of your free credits are left this month and when they renew. If the start will likely use more than you have left, the review says so and offers Build what fits (it builds what your credits cover, then pauses until you Resume), Build the home page first (a one-page start), and Upgrade. Plan my site waits until you choose. See Before a job starts.'
1294
1315
  },
1295
1316
  {
1296
1317
  path: '/ai/start-with-ai',
@@ -1318,7 +1339,7 @@ export const DOCS_SECTION_INDEX = [
1318
1339
  title: 'Start a new site with AI',
1319
1340
  heading: 'If it does not work out',
1320
1341
  anchor: '#try-again',
1321
- text: 'If the site cannot be built, the page says Your site was not built and why.\n- Try again reopens the questions with your answers filled in, so you can adjust them and start a fresh job.\n- Use the starter site instead gives the site the starter home page. It is offered only while nothing has been built.\nWhen a job fails because of something on our side, the credits it used are given back: all of them if it built nothing, or the failed step\'s if it had already built some pages. The page says so. A job you cancel yourself is not given back. See Credits given back.\nYou can also stop the build yourself with Cancel on the Building your site page. The pages it already made stay as drafts, nothing is published, and the page offers Start again and Use the starter site instead. See Cancel a job.'
1342
+ text: 'If the site cannot be built, the page says Your site was not built and why.\n- Try again reopens the questions on the review, with your answers filled in, so you can adjust them and start a fresh job.\n- Use the starter site instead gives the site the starter home page. It is offered only while nothing has been built.\nWhen a job fails because of something on our side, the credits it used are given back: all of them if it built nothing, or the failed step\'s if it had already built some pages. The page says so. A job you cancel yourself is not given back. See Credits given back.\nYou can also stop the build yourself with Cancel on the Building your site page. The pages it already made stay as drafts, nothing is published, and the page offers Start again and Use the starter site instead. See Cancel a job.'
1322
1343
  },
1323
1344
  {
1324
1345
  path: '/ai/start-with-ai',
@@ -4986,7 +5007,7 @@ export const DOCS_SECTION_INDEX = [
4986
5007
  title: 'POS & reservations',
4987
5008
  heading: 'Taking payment',
4988
5009
  anchor: '#taking-payment',
4989
- text: 'A sale can take as many payments as it needs. The amount box above the payment buttons starts at the whole balance; to split the bill, type a smaller amount and pick a tender, and the rest stays open for the next one. Every payment is listed with its status (Waiting, Approved, Declined, Canceled). The sale is paid when the balance reaches zero, and only then is the stock taken and the order completed.\n| Tender | What happens |\n| Cash | Enter what the customer handed you, or tap Exact or a round-up amount. The register shows the change to give. Less than the amount due is taken toward the sale and the rest stays open. |\n| Card reader | Sends the amount to a card reader; the customer taps, inserts or swipes there. Shown only when card readers are available for your store and one is registered. With more than one reader, pick which one under the buttons. |\n| Type card | Staff type the card into Stripe\'s own card form (card not present, such as an order taken over the phone). The card never touches the register, and the payment goes through Stripe\'s normal online checks, 3-D Secure included. |\n| Card (QR) | Shows a QR code; the customer scans it and pays on their phone, and the payment appears on the register as soon as it goes through. |\n| Gift card | Type or scan the code. Check balance shows what the card can spend; Apply card takes the smaller of that balance and what is due, so a card worth less than the sale leaves the rest open. |\n| Room | Charges a checked-in stay\'s folio. Shown only when a guest is checked in. |\nCard reader, Type card and Card (QR) charge through your store\'s Stripe account. Until Stripe is connected and able to take charges, they show grayed out with a note above them that links to Products → Settings → Payments, where you connect it. Cash, gift c'
5010
+ text: 'A sale can take as many payments as it needs. The amount box above the payment buttons starts at the whole balance; to split the bill, type a smaller amount and pick a tender, and the rest stays open for the next one. Every payment is listed with its status (Waiting, Approved, Declined, Canceled). The sale is paid when the balance reaches zero, and only then is the stock taken and the order completed.\n| Tender | What happens |\n| Cash | Enter what the customer handed you, or tap Exact or a round-up amount. The register shows the change to give. Less than the amount due is taken toward the sale and the rest stays open. |\n| Card reader | Sends the amount to a card reader; the customer taps, inserts or swipes there. Shown only when card readers are available for your store and one is registered. With more than one reader, pick which one under the buttons. |\n| Type card | Staff type the card into Stripe\'s own card form (card not present, such as an order taken over the phone). The card never touches the register, and the payment goes through Stripe\'s normal online checks, 3-D Secure included. In the Aglyn POS app this is Enter card manually: on iPhone, iPad and Mac the card goes into the app\'s own card fields and straight to Stripe; if a bank asks the cardholder to approve the payment, use Card (QR) instead so they can approve it on their phone. |\n| Card (QR) | Shows a QR code; the customer scans it and pays on their phone, and the payment appears on the register as soon as it goes through. |\n| Gift card | Type or scan the code. Check balance shows what the card can spend; Apply card takes the smaller of that balance and what is due, so a card worth less than the sale leaves the rest open. |\n| Room | Charges a checked-in stay\'s folio. Shown only when a guest is checked in. |'
4990
5011
  },
4991
5012
  {
4992
5013
  path: '/commerce-and-bookings/commerce/pos-and-reservations',
@@ -11069,7 +11090,7 @@ export const DOCS_SECTION_INDEX = [
11069
11090
  title: 'Designed emails',
11070
11091
  heading: 'Create a template',
11071
11092
  anchor: '#create-a-template',
11072
- text: 'On Marketing → Email, click New email template. That creates an email document and opens it in the besigner with the email blocks:\n- Email section — the 600px container with background and padding.\n- Email text — heading/subheading/body/caption styles; supports merge tokens.\n- Email rich text — formatted HTML (sanitized like the custom HTML block).\n- Email image, Email button, Email divider, Email spacer — the essentials, rendered in email-client-safe markup.\n- Email product — pick a product by id; its current name, price, and image fill in at send time (renames never break it).\n- Email custom HTML — raw table markup for advanced layouts, sanitized.'
11093
+ text: 'On Marketing → Email, click New email template. That creates an email document and opens it in the besigner with the email blocks:\n- Email section — the 600px container with background and padding.\n- Email text — heading, subheading, body and caption styles, plus Eyebrow (a small label above a heading) and Details, which draws each "Label: value" line as a row of a panel, with a "Total" row in bold, and Links, which draws each "Label — address" line as a link with an arrow, one per row, for next steps and help pages; supports merge tokens.\n- Email rich text — formatted HTML (sanitized like the custom HTML block).\n- Email image, Email button, Email divider, Email spacer — the essentials, rendered in email-client-safe markup.\n- Email product — pick a product by id; its current name, price, and image fill in at send time (renames never break it).\n- Email custom HTML — raw table markup for advanced layouts, sanitized.'
11073
11094
  },
11074
11095
  {
11075
11096
  path: '/marketing-and-automation/email-campaigns/designed-emails',