cdom 0.0.1
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/.codacy/codacy.yaml +15 -0
- package/.github/instructions/codacy.instructions.md +72 -0
- package/.wrangler/tmp/bundle-AF2XYW/checked-fetch.js +30 -0
- package/.wrangler/tmp/bundle-AF2XYW/middleware-insertion-facade.js +11 -0
- package/.wrangler/tmp/bundle-AF2XYW/middleware-loader.entry.ts +134 -0
- package/.wrangler/tmp/dev-CcfZyg/pages-shim.js +252 -0
- package/.wrangler/tmp/dev-CcfZyg/pages-shim.js.map +8 -0
- package/.wrangler/tmp/dev-CdN289/pages-shim.js +252 -0
- package/.wrangler/tmp/dev-CdN289/pages-shim.js.map +8 -0
- package/LICENSE +21 -0
- package/README.md +607 -0
- package/build.js +66 -0
- package/examples/dashboard.css +199 -0
- package/examples/dashboard.html +219 -0
- package/examples/persistence_test.html +91 -0
- package/examples/scratch.html +72 -0
- package/examples/spreadsheet.cdom +466 -0
- package/examples/spreadsheet.css +221 -0
- package/examples/spreadsheet.html +36 -0
- package/helpers/abs.js +3 -0
- package/helpers/add.js +2 -0
- package/helpers/and.js +3 -0
- package/helpers/assign.js +6 -0
- package/helpers/average.js +5 -0
- package/helpers/avg.js +2 -0
- package/helpers/ceil.js +3 -0
- package/helpers/ceiling.js +2 -0
- package/helpers/charat.js +3 -0
- package/helpers/choose.js +4 -0
- package/helpers/clear.js +7 -0
- package/helpers/coalesce.js +6 -0
- package/helpers/concat.js +3 -0
- package/helpers/count.js +3 -0
- package/helpers/currency.js +4 -0
- package/helpers/datedif.js +13 -0
- package/helpers/datediff.js +13 -0
- package/helpers/day.js +3 -0
- package/helpers/decrement.js +7 -0
- package/helpers/divide.js +6 -0
- package/helpers/endswith.js +3 -0
- package/helpers/eq.js +3 -0
- package/helpers/every.js +3 -0
- package/helpers/fetch.js +20 -0
- package/helpers/filter.js +3 -0
- package/helpers/find.js +3 -0
- package/helpers/findindex.js +3 -0
- package/helpers/first.js +3 -0
- package/helpers/fixed.js +2 -0
- package/helpers/flat.js +3 -0
- package/helpers/floor.js +3 -0
- package/helpers/gt.js +3 -0
- package/helpers/if.js +3 -0
- package/helpers/iferror.js +2 -0
- package/helpers/ifs.js +6 -0
- package/helpers/includes.js +6 -0
- package/helpers/increment.js +7 -0
- package/helpers/index.js +5 -0
- package/helpers/int.js +2 -0
- package/helpers/isarray.js +3 -0
- package/helpers/isblank.js +3 -0
- package/helpers/isempty.js +5 -0
- package/helpers/isnumber.js +3 -0
- package/helpers/isstring.js +2 -0
- package/helpers/istext.js +3 -0
- package/helpers/join.js +3 -0
- package/helpers/keys.js +3 -0
- package/helpers/last.js +3 -0
- package/helpers/left.js +4 -0
- package/helpers/len.js +2 -0
- package/helpers/length.js +5 -0
- package/helpers/lower.js +2 -0
- package/helpers/lt.js +3 -0
- package/helpers/map.js +3 -0
- package/helpers/match.js +2 -0
- package/helpers/max.js +4 -0
- package/helpers/median.js +6 -0
- package/helpers/mid.js +10 -0
- package/helpers/min.js +4 -0
- package/helpers/month.js +3 -0
- package/helpers/multiply.js +3 -0
- package/helpers/not.js +3 -0
- package/helpers/now.js +3 -0
- package/helpers/or.js +3 -0
- package/helpers/padend.js +3 -0
- package/helpers/padstart.js +3 -0
- package/helpers/percent.js +4 -0
- package/helpers/pop.js +9 -0
- package/helpers/pow.js +3 -0
- package/helpers/power.js +2 -0
- package/helpers/proper.js +2 -0
- package/helpers/push.js +9 -0
- package/helpers/rand.js +2 -0
- package/helpers/random.js +3 -0
- package/helpers/replace.js +3 -0
- package/helpers/reverse.js +4 -0
- package/helpers/right.js +4 -0
- package/helpers/round.js +5 -0
- package/helpers/set.js +10 -0
- package/helpers/sign.js +3 -0
- package/helpers/slice.js +6 -0
- package/helpers/some.js +3 -0
- package/helpers/sort.js +4 -0
- package/helpers/split.js +3 -0
- package/helpers/sqrt.js +3 -0
- package/helpers/startswith.js +3 -0
- package/helpers/stddev.js +4 -0
- package/helpers/stdev.js +2 -0
- package/helpers/substitute.js +2 -0
- package/helpers/substring.js +3 -0
- package/helpers/subtract.js +6 -0
- package/helpers/sum.js +3 -0
- package/helpers/switch.js +6 -0
- package/helpers/text.js +2 -0
- package/helpers/textjoin.js +4 -0
- package/helpers/titlecase.js +3 -0
- package/helpers/tocamelcase.js +7 -0
- package/helpers/today.js +5 -0
- package/helpers/tofixed.js +3 -0
- package/helpers/toggle.js +6 -0
- package/helpers/tolocalestring.js +3 -0
- package/helpers/tolowercase.js +3 -0
- package/helpers/toslugcase.js +7 -0
- package/helpers/touppercase.js +3 -0
- package/helpers/trim.js +3 -0
- package/helpers/trunc.js +3 -0
- package/helpers/unique.js +3 -0
- package/helpers/upper.js +2 -0
- package/helpers/var.js +2 -0
- package/helpers/variance.js +6 -0
- package/helpers/webservice.js +2 -0
- package/helpers/weekday.js +3 -0
- package/helpers/xlookup.js +5 -0
- package/helpers/year.js +3 -0
- package/index.js +1291 -0
- package/package.json +37 -0
- package/wrangler.toml +16 -0
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cdom",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Safe, reactive UIs based on JSON Pointer, XPath, JSON Schema",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"JPRX",
|
|
7
|
+
"JSON",
|
|
8
|
+
"cDOM",
|
|
9
|
+
"XPath"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/anywhichway/cdom#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/anywhichway/cdom/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/anywhichway/cdom.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": "Simon Y Blackwell",
|
|
21
|
+
"type": "commonjs",
|
|
22
|
+
"main": "index.js",
|
|
23
|
+
"directories": {
|
|
24
|
+
"example": "examples"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "wrangler pages dev . --port 3001",
|
|
28
|
+
"preview": "npm run build && wrangler pages dev ./dist --port 8788",
|
|
29
|
+
"build": "node build.js",
|
|
30
|
+
"watch": "nodemon --watch index.js --watch helpers --watch examples --ext js,html,css,cdom --exec \"npm run build\"",
|
|
31
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"nodemon": "^3.1.11",
|
|
35
|
+
"wrangler": "^4.62.0"
|
|
36
|
+
}
|
|
37
|
+
}
|
package/wrangler.toml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name = "lightview"
|
|
2
|
+
compatibility_date = "2024-01-01"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# [build]
|
|
6
|
+
# command = "npm run build"
|
|
7
|
+
|
|
8
|
+
# Cloudflare Pages configuration
|
|
9
|
+
# Note: Static asset headers are now defined in _headers file
|
|
10
|
+
# and the build directory is specified in the deploy command or dashboard.
|
|
11
|
+
|
|
12
|
+
# Assets directory is set via the `wrangler pages dev <directory>` command
|
|
13
|
+
# Uncomment below for Workers mode (not Pages mode):
|
|
14
|
+
[assets]
|
|
15
|
+
directory = "./dist"
|
|
16
|
+
|