@figurosity/consumer-controls 0.1.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 +25 -0
- package/dist/consumer-controls.css +1 -0
- package/dist/consumer-controls.js +4813 -0
- package/dist/index-DNFPxUoa.js +134 -0
- package/package.json +64 -0
- package/src/css/_variables.scss +78 -0
- package/src/index.sass +21 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
buttons: {
|
|
3
|
+
done: "Done",
|
|
4
|
+
reset: "Reset",
|
|
5
|
+
resetAll: "Reset all"
|
|
6
|
+
},
|
|
7
|
+
poseGenerator: {
|
|
8
|
+
title: "Pose generator",
|
|
9
|
+
possibilities: {
|
|
10
|
+
title: "Possibilities"
|
|
11
|
+
},
|
|
12
|
+
buttons: {
|
|
13
|
+
cancel: {
|
|
14
|
+
title: "Cancel"
|
|
15
|
+
},
|
|
16
|
+
done: {
|
|
17
|
+
title: "Start"
|
|
18
|
+
},
|
|
19
|
+
reset: {
|
|
20
|
+
title: "Reset"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
controls: {
|
|
25
|
+
brightness: {
|
|
26
|
+
title: "Brightness",
|
|
27
|
+
reset: "Reset"
|
|
28
|
+
},
|
|
29
|
+
cameraAngle: {
|
|
30
|
+
title: "Camera angle",
|
|
31
|
+
reset: "Reset",
|
|
32
|
+
iconTitle: "Angles"
|
|
33
|
+
},
|
|
34
|
+
contrast: {
|
|
35
|
+
title: "Contrast",
|
|
36
|
+
reset: "Reset"
|
|
37
|
+
},
|
|
38
|
+
controlsVisibility: {
|
|
39
|
+
title: "Controls visibility",
|
|
40
|
+
hideControls: "Hide controls",
|
|
41
|
+
hideTimer: "Hide timer",
|
|
42
|
+
showControls: "Show controls",
|
|
43
|
+
showTimer: "Show timer"
|
|
44
|
+
},
|
|
45
|
+
duration: {
|
|
46
|
+
title: "Duration",
|
|
47
|
+
reset: "Reset"
|
|
48
|
+
},
|
|
49
|
+
gender: {
|
|
50
|
+
title: "Parts & bits",
|
|
51
|
+
iconTitle: "Gender"
|
|
52
|
+
},
|
|
53
|
+
grid: {
|
|
54
|
+
title: "Grid",
|
|
55
|
+
iconTitle: "Grid",
|
|
56
|
+
reset: "Remove grid",
|
|
57
|
+
on: "Turn grid on",
|
|
58
|
+
off: "Turn grid off",
|
|
59
|
+
spacing: "Spacing",
|
|
60
|
+
vertical: "Move vertically",
|
|
61
|
+
horizontal: "Move horizontally"
|
|
62
|
+
},
|
|
63
|
+
imageAdjustment: {
|
|
64
|
+
title: "Image adjustment",
|
|
65
|
+
iconTitle: "Adjust"
|
|
66
|
+
},
|
|
67
|
+
lightDirection: {
|
|
68
|
+
title: "Light direction",
|
|
69
|
+
iconTitle: "Light"
|
|
70
|
+
},
|
|
71
|
+
limitPoses: {
|
|
72
|
+
title: "Limit poses",
|
|
73
|
+
iconTitle: "Light"
|
|
74
|
+
},
|
|
75
|
+
menu: {
|
|
76
|
+
title: "Menu"
|
|
77
|
+
},
|
|
78
|
+
move: {
|
|
79
|
+
title: "Move",
|
|
80
|
+
reset: "Center",
|
|
81
|
+
iconTitle: "Move"
|
|
82
|
+
},
|
|
83
|
+
position: {
|
|
84
|
+
title: "Position",
|
|
85
|
+
reset: "Center",
|
|
86
|
+
iconTitle: "Position"
|
|
87
|
+
},
|
|
88
|
+
poseDirection: {
|
|
89
|
+
title: "Pose direction"
|
|
90
|
+
},
|
|
91
|
+
related: {
|
|
92
|
+
title: "Related poses",
|
|
93
|
+
reset: "Reset",
|
|
94
|
+
iconTitle: "Related"
|
|
95
|
+
},
|
|
96
|
+
saturate: {
|
|
97
|
+
title: "Saturation",
|
|
98
|
+
reset: "Reset",
|
|
99
|
+
iconTitle: "Saturation"
|
|
100
|
+
},
|
|
101
|
+
settings: {
|
|
102
|
+
title: "Settings",
|
|
103
|
+
reset: "Reset",
|
|
104
|
+
iconTitle: "Settings"
|
|
105
|
+
},
|
|
106
|
+
skins: {
|
|
107
|
+
title: "Skins",
|
|
108
|
+
reset: "Reset",
|
|
109
|
+
iconTitle: "Skins"
|
|
110
|
+
},
|
|
111
|
+
spin: {
|
|
112
|
+
title: "Spin",
|
|
113
|
+
reset: "Reset",
|
|
114
|
+
iconTitle: "Spin"
|
|
115
|
+
},
|
|
116
|
+
zoom: {
|
|
117
|
+
title: "Zoom",
|
|
118
|
+
reset: "Reset",
|
|
119
|
+
iconTitle: "Zoom"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
groupings: {
|
|
123
|
+
cameras: "Camera angles",
|
|
124
|
+
imageAdjustments: "Image adjustments",
|
|
125
|
+
gender: "Parts & bits",
|
|
126
|
+
grid: "Grid",
|
|
127
|
+
lights: "Light direction",
|
|
128
|
+
positionPose: "Pose direction",
|
|
129
|
+
views: "Skins"
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
export {
|
|
133
|
+
e as default
|
|
134
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@figurosity/consumer-controls",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared Vue/Quasar UI component library for the Figurosity consumer frontend ecosystem",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/consumer-controls.js",
|
|
7
|
+
"module": "./dist/consumer-controls.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/consumer-controls.js"
|
|
11
|
+
},
|
|
12
|
+
"./css/*": "./src/css/*",
|
|
13
|
+
"./src/index.sass": "./src/index.sass"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"src/css",
|
|
18
|
+
"src/index.sass"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "vite build",
|
|
22
|
+
"test": "vitest run --passWithNoTests",
|
|
23
|
+
"test:watch": "vitest",
|
|
24
|
+
"lint": "eslint src/",
|
|
25
|
+
"format": "prettier --write \"src/**/*.{js,vue}\"",
|
|
26
|
+
"format:check": "prettier --check \"src/**/*.{js,vue}\"",
|
|
27
|
+
"patch": "npm version patch --no-git-tag-version"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/figurosity/consumer-controls.git"
|
|
32
|
+
},
|
|
33
|
+
"author": "",
|
|
34
|
+
"license": "UNLICENSED",
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@figurosity/icons": "^1.0.0",
|
|
37
|
+
"@figurosity/toolbox": "^0.2.0",
|
|
38
|
+
"@tweenjs/tween.js": "^18.6.4",
|
|
39
|
+
"colorjoe": "^4.2.0",
|
|
40
|
+
"lodash-es": "^4.17.23",
|
|
41
|
+
"mjolnir.js": "^2.7.3",
|
|
42
|
+
"pinia": "^3.0.1",
|
|
43
|
+
"quasar": "^2.12.0",
|
|
44
|
+
"vue": "^3.5.0",
|
|
45
|
+
"vue-color": "^3.3.0",
|
|
46
|
+
"vue-i18n": "^11.0.0",
|
|
47
|
+
"vue-router": "^4.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@eslint/js": "^9.0.0",
|
|
51
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
52
|
+
"@vue/eslint-config-prettier": "^10.0.0",
|
|
53
|
+
"@vue/test-utils": "^2.4.6",
|
|
54
|
+
"eslint": "^9.0.0",
|
|
55
|
+
"eslint-plugin-vue": "^9.0.0",
|
|
56
|
+
"globals": "^16.0.0",
|
|
57
|
+
"happy-dom": "^20.8.9",
|
|
58
|
+
"prettier": "^3.0.0",
|
|
59
|
+
"sass": "^1.99.0",
|
|
60
|
+
"vite": "^6.0.0",
|
|
61
|
+
"vitest": "^3.0.0",
|
|
62
|
+
"vue": "^3.5.0"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--blue-300: #7cc2ff;
|
|
3
|
+
--blue-400: #5fb4ff;
|
|
4
|
+
--blue-500: #0087ff;
|
|
5
|
+
--blue-900: #002c52;
|
|
6
|
+
--bright-green-500: #96cb00;
|
|
7
|
+
--bright-red-500: #d0051e;
|
|
8
|
+
--bright-yellow-500: #ffc300;
|
|
9
|
+
|
|
10
|
+
--crimson-500: #8d0a54;
|
|
11
|
+
--crimson-900: #480030;
|
|
12
|
+
--mustard-500: #d6a731;
|
|
13
|
+
--mustard-900: #745a18;
|
|
14
|
+
|
|
15
|
+
--green-500: #22988d;
|
|
16
|
+
--green-900: #003e39;
|
|
17
|
+
|
|
18
|
+
--orange-500: #bf4628;
|
|
19
|
+
--orange-900: #5c1c0c;
|
|
20
|
+
|
|
21
|
+
--purple-500: #7c01cb;
|
|
22
|
+
--purple-900: #320052;
|
|
23
|
+
|
|
24
|
+
--grey-100: #ffffff;
|
|
25
|
+
--grey-200: #f8f8f8;
|
|
26
|
+
--grey-300: #e6e6e6;
|
|
27
|
+
--grey-400: #c8c8c8;
|
|
28
|
+
--grey-500: #afafaf;
|
|
29
|
+
--grey-600: #969696;
|
|
30
|
+
--grey-700: #6e6e6e;
|
|
31
|
+
--grey-800: #383838;
|
|
32
|
+
--grey-900: #170a27;
|
|
33
|
+
|
|
34
|
+
--white: #ffffff;
|
|
35
|
+
--black: #170a27;
|
|
36
|
+
--button-border: #c8c8c8;
|
|
37
|
+
|
|
38
|
+
--primary: #0087ff;
|
|
39
|
+
--secondary: #480030;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
$primary: #0087ff;
|
|
43
|
+
$secondary: #480030;
|
|
44
|
+
$accent: #480030;
|
|
45
|
+
$accent2: #8d0a54;
|
|
46
|
+
$accent3: #002c52;
|
|
47
|
+
$white: #ffffff;
|
|
48
|
+
$black: #170a27;
|
|
49
|
+
$dark: $black;
|
|
50
|
+
$ltgrey: #afafaf;
|
|
51
|
+
$positive: #96cb00;
|
|
52
|
+
$negative: #d0051e;
|
|
53
|
+
$info: #7cc2ff;
|
|
54
|
+
$warning: #bf4628;
|
|
55
|
+
|
|
56
|
+
$female: #480030;
|
|
57
|
+
$female-light: #8d0a54;
|
|
58
|
+
$male: #002c52;
|
|
59
|
+
$male-light: #0087ff;
|
|
60
|
+
$animals: #5c1c0c;
|
|
61
|
+
$animals-light: #bf4628;
|
|
62
|
+
$undead: #6e6e6e;
|
|
63
|
+
$undead-light: #170a27;
|
|
64
|
+
$fantasy: #745a18;
|
|
65
|
+
$fantasy-light: #d6a731;
|
|
66
|
+
$mixed: #320052;
|
|
67
|
+
$mixed-light: #7c01cb;
|
|
68
|
+
$inorganic: #003e39;
|
|
69
|
+
$inorganic-light: #22988d;
|
|
70
|
+
|
|
71
|
+
$thumbnail-border-radius: 7%;
|
|
72
|
+
|
|
73
|
+
// Quasar breakpoints (mirrored for standalone build)
|
|
74
|
+
$breakpoint-xs-min: 0;
|
|
75
|
+
$breakpoint-sm-min: 600px;
|
|
76
|
+
$breakpoint-md-min: 1024px;
|
|
77
|
+
$breakpoint-lg-min: 1440px;
|
|
78
|
+
$breakpoint-xl-min: 1920px;
|
package/src/index.sass
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import 'quasar/src/css/variables.sass'
|
|
2
|
+
@import '@figurosity/toolbox/css/_variables.scss'
|
|
3
|
+
@import './components/buttons/CBaseButton.scss'
|
|
4
|
+
@import './components/button-toggle/CButtonToggle.scss'
|
|
5
|
+
@import './components/buttons/CButtonBoolean.scss'
|
|
6
|
+
@import './components/buttons/CButton.scss'
|
|
7
|
+
@import './components/buttons/fab/CFab.scss'
|
|
8
|
+
@import './components/color/CColorPicker.scss'
|
|
9
|
+
@import './components/draggable-drawer/CDraggableDrawers.scss'
|
|
10
|
+
@import './components/drawer/CDrawer.scss'
|
|
11
|
+
@import './components/expansion-item/CExpansion.scss'
|
|
12
|
+
@import './components/floating-modal/CFloatingModal.scss'
|
|
13
|
+
@import './components/form-components/slider/CSlider.scss'
|
|
14
|
+
@import './components/form-components/toggle/CToggle.scss'
|
|
15
|
+
@import './components/navigator/CNavigator.scss'
|
|
16
|
+
@import './components/overlay-loader/COverlayLoader.scss'
|
|
17
|
+
@import './components/right-drawer/CRightDrawer.scss'
|
|
18
|
+
@import './elements/grid/CGrid.scss'
|
|
19
|
+
@import './layouts/CResponsiveLayout.scss'
|
|
20
|
+
@import './components/drawer/CToolHeader.scss'
|
|
21
|
+
|