@almadar/std 6.1.7 → 6.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.
Files changed (54) hide show
  1. package/behaviors/registry/atoms/std-browse.orb +15 -0
  2. package/behaviors/registry/atoms/std-display.orb +181 -0
  3. package/behaviors/registry/atoms/std-gallery.orb +12 -0
  4. package/behaviors/registry/atoms/std-input.orb +270 -0
  5. package/behaviors/registry/atoms/std-push.orb +252 -0
  6. package/behaviors/registry/atoms/std-related.orb +130 -0
  7. package/behaviors/registry/molecules/std-batch-selected-list.orb +131 -0
  8. package/behaviors/registry/molecules/std-calendar-booking.orb +115 -0
  9. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +126 -0
  10. package/behaviors/registry/molecules/std-drawer-master-list.orb +123 -0
  11. package/behaviors/registry/molecules/std-filtered-list.orb +135 -0
  12. package/behaviors/registry/molecules/std-gallery-filtered.orb +124 -0
  13. package/behaviors/registry/molecules/std-push-activity-log.orb +107 -0
  14. package/behaviors/registry/molecules/std-related-master-detail.orb +119 -0
  15. package/behaviors/registry/molecules/std-wizard-form.orb +115 -0
  16. package/dist/behaviors/behaviors-registry.json +1038 -6250
  17. package/dist/behaviors/exports-reader.js +276 -138
  18. package/dist/behaviors/exports-reader.js.map +1 -1
  19. package/dist/behaviors/functions/index.d.ts +415 -1
  20. package/dist/behaviors/functions/index.js +276 -138
  21. package/dist/behaviors/functions/index.js.map +1 -1
  22. package/dist/behaviors/index.js +276 -138
  23. package/dist/behaviors/index.js.map +1 -1
  24. package/dist/behaviors/query.js +276 -138
  25. package/dist/behaviors/query.js.map +1 -1
  26. package/dist/behaviors/registry/atoms/std-browse.orb +15 -0
  27. package/dist/behaviors/registry/atoms/std-display.orb +181 -0
  28. package/dist/behaviors/registry/atoms/std-gallery.orb +12 -0
  29. package/dist/behaviors/registry/atoms/std-input.orb +270 -0
  30. package/dist/behaviors/registry/atoms/std-push.orb +252 -0
  31. package/dist/behaviors/registry/atoms/std-related.orb +130 -0
  32. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +131 -0
  33. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +115 -0
  34. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +126 -0
  35. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +123 -0
  36. package/dist/behaviors/registry/molecules/std-filtered-list.orb +135 -0
  37. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +124 -0
  38. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +107 -0
  39. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +119 -0
  40. package/dist/behaviors/registry/molecules/std-wizard-form.orb +115 -0
  41. package/dist/behaviors-registry.json +1038 -6250
  42. package/dist/index.js +276 -138
  43. package/dist/index.js.map +1 -1
  44. package/package.json +1 -1
  45. package/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +0 -7
  46. package/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +0 -7
  47. package/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +0 -7
  48. package/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +0 -7
  49. package/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +0 -7
  50. package/dist/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +0 -7
  51. package/dist/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +0 -7
  52. package/dist/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +0 -7
  53. package/dist/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +0 -7
  54. package/dist/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +0 -7
@@ -0,0 +1,119 @@
1
+ {
2
+ "name": "std-related-master-detail",
3
+ "version": "1.0.0",
4
+ "description": "Relation master-detail: Browse + Related walking a declared relation, composed via @trait.X.",
5
+ "orbitals": [
6
+ {
7
+ "name": "MasterDetailOrbital",
8
+ "uses": [
9
+ {
10
+ "from": "std/behaviors/std-browse",
11
+ "as": "Browse"
12
+ },
13
+ {
14
+ "from": "std/behaviors/std-related",
15
+ "as": "Related"
16
+ }
17
+ ],
18
+ "entity": {
19
+ "name": "MasterDetailItem",
20
+ "collection": "masterdetailitems",
21
+ "persistence": "persistent",
22
+ "fields": [
23
+ {
24
+ "name": "id",
25
+ "type": "string",
26
+ "required": true
27
+ },
28
+ {
29
+ "name": "name",
30
+ "type": "string"
31
+ },
32
+ {
33
+ "name": "items",
34
+ "type": "string"
35
+ }
36
+ ]
37
+ },
38
+ "traits": [
39
+ {
40
+ "ref": "Browse.traits.BrowseItemBrowse",
41
+ "name": "MasterDetailList",
42
+ "linkedEntity": "MasterDetailItem"
43
+ },
44
+ {
45
+ "ref": "Related.traits.RelatedItemList",
46
+ "name": "MasterDetailRelated",
47
+ "linkedEntity": "MasterDetailItem"
48
+ },
49
+ {
50
+ "name": "MasterDetailLayout",
51
+ "category": "interaction",
52
+ "linkedEntity": "MasterDetailItem",
53
+ "stateMachine": {
54
+ "states": [
55
+ {
56
+ "name": "composing",
57
+ "isInitial": true
58
+ }
59
+ ],
60
+ "events": [
61
+ {
62
+ "key": "INIT"
63
+ }
64
+ ],
65
+ "transitions": [
66
+ {
67
+ "from": "composing",
68
+ "to": "composing",
69
+ "event": "INIT",
70
+ "effects": [
71
+ [
72
+ "render-ui",
73
+ "main",
74
+ {
75
+ "direction": "horizontal",
76
+ "gap": "md",
77
+ "type": "stack",
78
+ "children": [
79
+ {
80
+ "type": "box",
81
+ "children": [
82
+ "@trait.MasterDetailList"
83
+ ],
84
+ "style": {
85
+ "flex": "2"
86
+ }
87
+ },
88
+ {
89
+ "type": "box",
90
+ "style": {
91
+ "flex": "3"
92
+ },
93
+ "children": [
94
+ "@trait.MasterDetailRelated"
95
+ ]
96
+ }
97
+ ]
98
+ }
99
+ ]
100
+ ]
101
+ }
102
+ ]
103
+ }
104
+ }
105
+ ],
106
+ "pages": [
107
+ {
108
+ "name": "MasterDetail",
109
+ "path": "/master-detail",
110
+ "traits": [
111
+ {
112
+ "ref": "MasterDetailLayout"
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ }
118
+ ]
119
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "std-wizard-form",
3
+ "version": "1.0.0",
4
+ "description": "Wizard-driven form: Wizard + Input + ValidateOnSave composed via @trait.X (two-hop).",
5
+ "orbitals": [
6
+ {
7
+ "name": "WizardFormOrbital",
8
+ "uses": [
9
+ {
10
+ "from": "std/behaviors/std-wizard",
11
+ "as": "Wizard"
12
+ },
13
+ {
14
+ "from": "std/behaviors/std-input",
15
+ "as": "Input"
16
+ },
17
+ {
18
+ "from": "std/behaviors/std-validate-on-save",
19
+ "as": "Validate"
20
+ }
21
+ ],
22
+ "entity": {
23
+ "name": "WizardFormEntry",
24
+ "collection": "wizardformentries",
25
+ "persistence": "persistent",
26
+ "fields": [
27
+ {
28
+ "name": "id",
29
+ "type": "string",
30
+ "required": true
31
+ },
32
+ {
33
+ "name": "step",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "name": "name",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "name": "email",
42
+ "type": "string"
43
+ }
44
+ ]
45
+ },
46
+ "traits": [
47
+ {
48
+ "ref": "Wizard.traits.WizardEntryWizard",
49
+ "name": "WizardFormWizard",
50
+ "linkedEntity": "WizardFormEntry"
51
+ },
52
+ {
53
+ "ref": "Input.traits.TextInputInput",
54
+ "name": "WizardFormInput",
55
+ "linkedEntity": "WizardFormEntry"
56
+ },
57
+ {
58
+ "ref": "Validate.traits.OrbFileWatcher",
59
+ "name": "WizardFormValidate",
60
+ "linkedEntity": "WizardFormEntry"
61
+ },
62
+ {
63
+ "name": "WizardFormLayout",
64
+ "category": "interaction",
65
+ "linkedEntity": "WizardFormEntry",
66
+ "stateMachine": {
67
+ "states": [
68
+ {
69
+ "name": "composing",
70
+ "isInitial": true
71
+ }
72
+ ],
73
+ "events": [
74
+ {
75
+ "key": "INIT"
76
+ }
77
+ ],
78
+ "transitions": [
79
+ {
80
+ "from": "composing",
81
+ "to": "composing",
82
+ "event": "INIT",
83
+ "effects": [
84
+ [
85
+ "render-ui",
86
+ "main",
87
+ {
88
+ "type": "stack",
89
+ "direction": "vertical",
90
+ "children": [
91
+ "@trait.WizardFormWizard"
92
+ ],
93
+ "gap": "md"
94
+ }
95
+ ]
96
+ ]
97
+ }
98
+ ]
99
+ }
100
+ }
101
+ ],
102
+ "pages": [
103
+ {
104
+ "name": "WizardForm",
105
+ "path": "/wizard-form",
106
+ "traits": [
107
+ {
108
+ "ref": "WizardFormLayout"
109
+ }
110
+ ]
111
+ }
112
+ ]
113
+ }
114
+ ]
115
+ }