@ui0/shared 0.0.0-stage → 0.0.600

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/cjs.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";/**
2
+ * @ui0/shared v0.0.1
3
+ * (c) 2025-present Dmitriy Zotov
4
+ * @license MIT
5
+ **/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=",",M="/",d=/\s|,/,p="@",C=/\s/,O=",",E=":",S="-",e={},A=Symbol("RandevoRippleChild");var n=(o=>(o[o.primitive=0]="primitive",o[o.renderless=2]="renderless",o[o.text=4]="text",o[o.tokenized=8]="tokenized",o[o.children=16]="children",o[o.stateful=32]="stateful",o[o.virtual=64]="virtual",o[o.container=128]="container",o[o.multiRoot=256]="multiRoot",o[o.canModel=512]="canModel",o[o.canModelModifiers=1024]="canModelModifiers",o[o.float=2048]="float",o[o.singleChild=4096]="singleChild",o[o.composable=8192]="composable",o[o.generic=16384]="generic",o[o.inAppOnly=32768]="inAppOnly",o[o.empty=65536]="empty",o[o.internal=131072]="internal",o[o.checkable=262144]="checkable",o[o.control=524288]="control",o[o.protected=1048576]="protected",o[o.noVirtual=2097152]="noVirtual",o[o.cssUtil=4194304]="cssUtil",o))(n||{});exports.AT_SIGN=p;exports.COLON=E;exports.COLOR_SCHEME_DELIMITER=M;exports.COMMA=O;exports.DASH=S;exports.EMPTY_OBJ=e;exports.RegistryFlags=n;exports.RippleChildSymbol=A;exports.SPACE=C;exports.SPACE_OR_COMMA=d;exports.STR_DELIMITER=c;
package/dist/es.js ADDED
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @ui0/shared v0.0.1
3
+ * (c) 2025-present Dmitriy Zotov
4
+ * @license MIT
5
+ **/
6
+ const c = ",", d = "/", p = /\s|,/, M = "@", C = /\s/, m = ",", O = ":", u = "-", E = {}, h = Symbol("RandevoRippleChild");
7
+ var o = /* @__PURE__ */ ((n) => (n[n.primitive = 0] = "primitive", n[n.renderless = 2] = "renderless", n[n.text = 4] = "text", n[n.tokenized = 8] = "tokenized", n[n.children = 16] = "children", n[n.stateful = 32] = "stateful", n[n.virtual = 64] = "virtual", n[n.container = 128] = "container", n[n.multiRoot = 256] = "multiRoot", n[n.canModel = 512] = "canModel", n[n.canModelModifiers = 1024] = "canModelModifiers", n[n.float = 2048] = "float", n[n.singleChild = 4096] = "singleChild", n[n.composable = 8192] = "composable", n[n.generic = 16384] = "generic", n[n.inAppOnly = 32768] = "inAppOnly", n[n.empty = 65536] = "empty", n[n.internal = 131072] = "internal", n[n.checkable = 262144] = "checkable", n[n.control = 524288] = "control", n[n.protected = 1048576] = "protected", n[n.noVirtual = 2097152] = "noVirtual", n[n.cssUtil = 4194304] = "cssUtil", n))(o || {});
8
+ export {
9
+ M as AT_SIGN,
10
+ O as COLON,
11
+ d as COLOR_SCHEME_DELIMITER,
12
+ m as COMMA,
13
+ u as DASH,
14
+ E as EMPTY_OBJ,
15
+ o as RegistryFlags,
16
+ h as RippleChildSymbol,
17
+ C as SPACE,
18
+ p as SPACE_OR_COMMA,
19
+ c as STR_DELIMITER
20
+ };
@@ -0,0 +1,12 @@
1
+ export declare const STR_DELIMITER = ",";
2
+ export declare const COLOR_SCHEME_DELIMITER = "/";
3
+ export declare const SPACE_OR_COMMA: RegExp;
4
+ export declare const AT_SIGN = "@";
5
+ export declare const SPACE: RegExp;
6
+ export declare const COMMA = ",";
7
+ export declare const COLON = ":";
8
+ export declare const DASH = "-";
9
+ export declare const EMPTY_OBJ: {
10
+ readonly [key: string]: any;
11
+ };
12
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,MAAM,CAAA;AAChC,eAAO,MAAM,sBAAsB,MAAM,CAAA;AACzC,eAAO,MAAM,cAAc,QAAS,CAAA;AACpC,eAAO,MAAM,OAAO,MAAM,CAAA;AAC1B,eAAO,MAAM,KAAK,QAAO,CAAA;AACzB,eAAO,MAAM,KAAK,MAAM,CAAA;AACxB,eAAO,MAAM,KAAK,MAAM,CAAA;AACxB,eAAO,MAAM,IAAI,MAAM,CAAA;AAIvB,eAAO,MAAM,SAAS,EAAE;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAqC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './constants';
2
+ export * from './keys';
3
+ export * from './registry';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const RippleChildSymbol: unique symbol;
2
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAA+B,CAAA"}
@@ -0,0 +1,115 @@
1
+ export declare enum RegistryFlags {
2
+ /**
3
+ * related to primitive $component
4
+ * @type {RegistryFlags.primitive}
5
+ */
6
+ primitive = 0,
7
+ /**
8
+ * no own element to render
9
+ * @type {RegistryFlags.renderless}
10
+ */
11
+ renderless = 2,
12
+ /**
13
+ * Can contain text only
14
+ * @type {RegistryFlags.text}
15
+ */
16
+ text = 4,
17
+ /**
18
+ * HAve a css-tokens
19
+ * @type {RegistryFlags.tokenized}
20
+ */
21
+ tokenized = 8,
22
+ /**
23
+ * Can contain children
24
+ * @type {RegistryFlags.children}
25
+ */
26
+ children = 16,
27
+ /**
28
+ * stateful
29
+ * @type {RegistryFlags.children}
30
+ */
31
+ stateful = 32,
32
+ /**
33
+ * virtual component
34
+ * @type {RegistryFlags.children}
35
+ */
36
+ virtual = 64,
37
+ /**
38
+ * can contain items
39
+ * @type {RegistryFlags.container}
40
+ */
41
+ container = 128,
42
+ /**
43
+ * Multiply nodes will be rendered
44
+ * @type {RegistryFlags.multiRoot}
45
+ */
46
+ multiRoot = 256,
47
+ /**
48
+ * Component v-model
49
+ * @type {RegistryFlags.canModel}
50
+ */
51
+ canModel = 512,
52
+ /**
53
+ * Component v-model modifiers
54
+ * @type {RegistryFlags.canModel}
55
+ */
56
+ canModelModifiers = 1024,
57
+ /**
58
+ * Floating $component
59
+ * @type {RegistryFlags.float}
60
+ */
61
+ float = 2048,
62
+ /**
63
+ * Component accepts single child only (first)
64
+ * @type {RegistryFlags.singleChild}
65
+ */
66
+ singleChild = 4096,
67
+ /**
68
+ * Component have a same functionality composable
69
+ * @type {RegistryFlags.composable}
70
+ */
71
+ composable = 8192,
72
+ /**
73
+ * Component use generic types
74
+ * @type {RegistryFlags.generic}
75
+ */
76
+ generic = 16384,
77
+ /**
78
+ * Can be used only inside <app/>
79
+ * @type {RegistryFlags.inAppOnly}
80
+ */
81
+ inAppOnly = 32768,
82
+ /**
83
+ * Slots not accepted
84
+ * @type {RegistryFlags.empty}
85
+ */
86
+ empty = 65536,
87
+ /**
88
+ * Only for internal use
89
+ * @type {RegistryFlags.internal}
90
+ */
91
+ internal = 131072,
92
+ /**
93
+ * Component that can be checked
94
+ * @type {RegistryFlags.internal}
95
+ */
96
+ checkable = 262144,
97
+ /**
98
+ * Component is control
99
+ * @type {RegistryFlags.internal}
100
+ */
101
+ control = 524288,
102
+ /**
103
+ * Component default props are protected
104
+ */
105
+ protected = 1048576,
106
+ /**
107
+ * Component cannot be virtual
108
+ */
109
+ noVirtual = 2097152,
110
+ /**
111
+ * Component cannot be virtual
112
+ */
113
+ cssUtil = 4194304
114
+ }
115
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/registry.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB;;;OAGG;IAEH,SAAS,IAAI;IACb;;;OAGG;IACH,UAAU,IAAS;IACnB;;;OAGG;IACH,IAAI,IAAS;IACb;;;OAGG;IACH,SAAS,IAAS;IAElB;;;OAGG;IACH,QAAQ,KAAS;IACjB;;;OAGG;IACH,QAAQ,KAAS;IAEjB;;;OAGG;IACH,OAAO,KAAS;IAChB;;;OAGG;IACH,SAAS,MAAS;IAClB;;;OAGG;IACH,SAAS,MAAS;IAClB;;;OAGG;IACH,QAAQ,MAAS;IACjB;;;OAGG;IACH,iBAAiB,OAAU;IAC3B;;;OAGG;IACH,KAAK,OAAU;IACf;;;OAGG;IACH,WAAW,OAAU;IACrB;;;OAGG;IACH,UAAU,OAAU;IAEpB;;;OAGG;IAEH,OAAO,QAAU;IACjB;;;OAGG;IACH,SAAS,QAAU;IACnB;;;OAGG;IACH,KAAK,QAAU;IACf;;;OAGG;IACH,QAAQ,SAAU;IAClB;;;OAGG;IACH,SAAS,SAAU;IACnB;;;OAGG;IACH,OAAO,SAAU;IACjB;;OAEG;IACH,SAAS,UAAU;IACnB;;OAEG;IACH,SAAS,UAAU;IACnB;;OAEG;IACH,OAAO,UAAU;CAClB"}
package/dist/umd.js ADDED
@@ -0,0 +1,5 @@
1
+ (function(o,c){typeof exports=="object"&&typeof module<"u"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(o=typeof globalThis<"u"?globalThis:o||self,c(o["ui0-shared"]={}))})(this,(function(o){"use strict";/**
2
+ * @ui0/shared v0.0.1
3
+ * (c) 2025-present Dmitriy Zotov
4
+ * @license MIT
5
+ **/const M=/\s|,/,e=/\s/,E={},O=Symbol("RandevoRippleChild");var d=(n=>(n[n.primitive=0]="primitive",n[n.renderless=2]="renderless",n[n.text=4]="text",n[n.tokenized=8]="tokenized",n[n.children=16]="children",n[n.stateful=32]="stateful",n[n.virtual=64]="virtual",n[n.container=128]="container",n[n.multiRoot=256]="multiRoot",n[n.canModel=512]="canModel",n[n.canModelModifiers=1024]="canModelModifiers",n[n.float=2048]="float",n[n.singleChild=4096]="singleChild",n[n.composable=8192]="composable",n[n.generic=16384]="generic",n[n.inAppOnly=32768]="inAppOnly",n[n.empty=65536]="empty",n[n.internal=131072]="internal",n[n.checkable=262144]="checkable",n[n.control=524288]="control",n[n.protected=1048576]="protected",n[n.noVirtual=2097152]="noVirtual",n[n.cssUtil=4194304]="cssUtil",n))(d||{});o.AT_SIGN="@",o.COLON=":",o.COLOR_SCHEME_DELIMITER="/",o.COMMA=",",o.DASH="-",o.EMPTY_OBJ=E,o.RegistryFlags=d,o.RippleChildSymbol=O,o.SPACE=e,o.SPACE_OR_COMMA=M,o.STR_DELIMITER=",",Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,36 @@
1
1
  {
2
2
  "name": "@ui0/shared",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.600",
4
+ "license": "MIT",
5
+ "files": [
6
+ "dist/"
7
+ ],
8
+ "type": "module",
9
+ "main": "./dist/umd.js",
10
+ "module": "./dist/es.js",
11
+ "types": "./dist/src/index.d.ts",
12
+ "typings": "./dist/src/index.d.ts",
13
+ "unpkg": "./dist/min.js",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/src/index.d.ts",
17
+ "import": "./dist/es.js",
18
+ "require": "./dist/umd.js"
19
+ },
20
+ "./src/*": "./dist/src/*"
21
+ },
22
+ "scripts": {
23
+ "lint": "eslint --ext .ts,.vue --fix src",
24
+ "test": "vitest",
25
+ "build-ts": "vue-tsc --declaration --emitDeclarationOnly --excludeDirectories docs && vite build",
26
+ "declaration": "vue-tsc --declaration --emitDeclarationOnly "
27
+ },
28
+ "devDependencies": {
29
+ "@types/node": "^20.14.8",
30
+ "@vue/tsconfig": "^0.8.1",
31
+ "typescript": "^5.9.2",
32
+ "vite": "^6.4.1",
33
+ "vitest": "^3.2.4",
34
+ "vue-tsc": "^3.2.1"
35
+ }
36
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.