@jinntec/fore 1.0.0-5 → 1.0.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.
- package/README.md +6 -27
- package/dist/fore-dev.js +43 -0
- package/dist/fore-dev.js.map +1 -0
- package/dist/fore.js +37 -0
- package/dist/fore.js.map +1 -0
- package/index.js +2 -1
- package/package.json +35 -39
- package/resources/fore.css +22 -54
- package/src/DependencyNotifyingDomFacade.js +5 -13
- package/src/ForeElementMixin.js +13 -20
- package/src/actions/abstract-action.js +14 -9
- package/src/actions/fx-action.js +6 -5
- package/src/actions/fx-append.js +8 -17
- package/src/actions/fx-confirm.js +3 -1
- package/src/actions/fx-delete.js +6 -3
- package/src/actions/fx-dispatch.js +9 -8
- package/src/actions/fx-hide.js +9 -6
- package/src/actions/fx-insert.js +27 -14
- package/src/actions/fx-message.js +3 -1
- package/src/actions/fx-refresh.js +11 -1
- package/src/actions/fx-replace.js +68 -0
- package/src/actions/fx-return.js +42 -0
- package/src/actions/fx-send.js +3 -1
- package/src/actions/fx-setvalue.js +58 -51
- package/src/actions/fx-show.js +8 -4
- package/src/actions/fx-toggle.js +13 -9
- package/src/actions/fx-update.js +3 -1
- package/src/dep_graph.js +1 -1
- package/src/drawdown.js +67 -82
- package/src/fore.js +141 -25
- package/src/functions/fx-function.js +11 -3
- package/src/fx-bind.js +39 -199
- package/src/fx-fore.js +101 -68
- package/src/fx-header.js +3 -1
- package/src/fx-instance.js +9 -1
- package/src/fx-model.js +31 -23
- package/src/fx-submission.js +73 -47
- package/src/fx-var.js +7 -4
- package/src/getInScopeContext.js +23 -16
- package/src/modelitem.js +4 -4
- package/src/relevance.js +65 -0
- package/src/ui/abstract-control.js +55 -35
- package/src/ui/fx-alert.js +7 -1
- package/src/ui/fx-case.js +3 -1
- package/src/ui/fx-container.js +4 -2
- package/src/ui/fx-control.js +283 -33
- package/src/ui/fx-dialog.js +50 -45
- package/src/ui/fx-group.js +3 -1
- package/src/ui/fx-hint.js +4 -1
- package/src/ui/fx-inspector.js +117 -17
- package/src/ui/fx-items.js +7 -5
- package/src/ui/fx-output.js +14 -5
- package/src/ui/fx-repeat.js +13 -26
- package/src/ui/fx-repeatitem.js +10 -4
- package/src/ui/fx-switch.js +3 -1
- package/src/ui/fx-trigger.js +3 -1
- package/src/xpath-evaluation.js +114 -102
- package/src/xpath-util.js +1 -5
- package/dist/fore-all.js +0 -140
- package/dist/fore-debug.js +0 -140
- package/src/.DS_Store +0 -0
- package/src/actions/.DS_Store +0 -0
- package/src/ui/.DS_Store +0 -0
package/README.md
CHANGED
|
@@ -6,24 +6,17 @@
|
|
|
6
6
|

|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-

|
|
9
|
+
<img src="resources/images/light7.png" width="400">
|
|
12
10
|
|
|
13
11
|
>'situated in front of something else' - Merriam Webster
|
|
14
12
|
|
|
15
13
|
[](https://twitter.com/JinnForeTec)
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
^^^ Sorry for being loud - some people complaining not finding demos. ^^^
|
|
20
|
-
|
|
21
|
-
> ATTENTION: Demos are out of sync with latest release. If you want latest and greatest checkout your local copy please. Demos will be updated
|
|
22
|
-
> for final release.
|
|
15
|
+
[Homepage](https://jinntec.github.io/Fore/) |
|
|
16
|
+
[Documentation](https://jinntec.github.io/fore-docs/) |
|
|
23
17
|
|
|
24
|
-
For latest and greatest please use a local installation. See 'Running demos and docs'
|
|
25
18
|
|
|
26
|
-
#
|
|
19
|
+
# Declarative user interfaces in plain HTML
|
|
27
20
|
|
|
28
21
|
Fore lets you write data-driven front-end applications in a declarative way
|
|
29
22
|
just using HTML5 Web Components.
|
|
@@ -64,8 +57,7 @@ Standard but applies those to the world of HTML5 Web Components.
|
|
|
64
57
|
Going beyond just forms it nicely integrates with Web Components, allowing to configure,
|
|
65
58
|
ochestrate and interact with them by binding their properties to data instances.
|
|
66
59
|
|
|
67
|
-
Fore uses XML as it's main data model but allows to use JSON alternatively or at the same time.
|
|
68
|
-
actions makes JSON processing even easier than in native JavaScript.
|
|
60
|
+
Fore uses XML as it's main data model but allows to use JSON alternatively or at the same time.
|
|
69
61
|
|
|
70
62
|
Through the wonderful [fontoXPath library](https://github.com/FontoXML/fontoxpath) Fore is able to process XML in the client with XPath 3.1 and
|
|
71
63
|
XQuery 3.1 support.
|
|
@@ -110,19 +102,6 @@ customize the wiring of the widget you use.
|
|
|
110
102
|
More examples are found in the demos (see running)
|
|
111
103
|
|
|
112
104
|
|
|
113
|
-
## Documentation
|
|
114
|
-
|
|
115
|
-
### Element Reference
|
|
116
|
-
|
|
117
|
-
The [Element Reference](https://jinntec.github.io/Fore/doc/reference.html) lists all exsting Fore elements (Web Components) in categories and documents their attributes. For each element one or more demos are linked
|
|
118
|
-
to see the element in action.
|
|
119
|
-
|
|
120
|
-
### Demos
|
|
121
|
-
The demos are considered a major resource when it comes to learn how to use the featues (see 'demo' folder). All files listed on the demo.html page are expected to work and hopefully show the way to features and solutions.
|
|
122
|
-
|
|
123
|
-
Some of them also offer some explanations and should give you an idea of building your own.
|
|
124
|
-
|
|
125
|
-
|
|
126
105
|
## Development and Contributions
|
|
127
106
|
|
|
128
107
|
Default branch of development is 'dev'.
|
|
@@ -157,7 +136,7 @@ Include the following snippet at end of body:
|
|
|
157
136
|
|
|
158
137
|
Run
|
|
159
138
|
|
|
160
|
-
```npm install @
|
|
139
|
+
```npm install @jinntec/fore```
|
|
161
140
|
|
|
162
141
|
in your project to install it.
|
|
163
142
|
|