layui 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +19 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +2 -0
- data/app/assets/fonts/iconfont.eot +0 -0
- data/app/assets/fonts/iconfont.svg +554 -0
- data/app/assets/fonts/iconfont.ttf +0 -0
- data/app/assets/fonts/iconfont.woff +0 -0
- data/app/assets/fonts/iconfont.woff2 +0 -0
- data/app/assets/images/face/0.gif +0 -0
- data/app/assets/images/face/1.gif +0 -0
- data/app/assets/images/face/10.gif +0 -0
- data/app/assets/images/face/11.gif +0 -0
- data/app/assets/images/face/12.gif +0 -0
- data/app/assets/images/face/13.gif +0 -0
- data/app/assets/images/face/14.gif +0 -0
- data/app/assets/images/face/15.gif +0 -0
- data/app/assets/images/face/16.gif +0 -0
- data/app/assets/images/face/17.gif +0 -0
- data/app/assets/images/face/18.gif +0 -0
- data/app/assets/images/face/19.gif +0 -0
- data/app/assets/images/face/2.gif +0 -0
- data/app/assets/images/face/20.gif +0 -0
- data/app/assets/images/face/21.gif +0 -0
- data/app/assets/images/face/22.gif +0 -0
- data/app/assets/images/face/23.gif +0 -0
- data/app/assets/images/face/24.gif +0 -0
- data/app/assets/images/face/25.gif +0 -0
- data/app/assets/images/face/26.gif +0 -0
- data/app/assets/images/face/27.gif +0 -0
- data/app/assets/images/face/28.gif +0 -0
- data/app/assets/images/face/29.gif +0 -0
- data/app/assets/images/face/3.gif +0 -0
- data/app/assets/images/face/30.gif +0 -0
- data/app/assets/images/face/31.gif +0 -0
- data/app/assets/images/face/32.gif +0 -0
- data/app/assets/images/face/33.gif +0 -0
- data/app/assets/images/face/34.gif +0 -0
- data/app/assets/images/face/35.gif +0 -0
- data/app/assets/images/face/36.gif +0 -0
- data/app/assets/images/face/37.gif +0 -0
- data/app/assets/images/face/38.gif +0 -0
- data/app/assets/images/face/39.gif +0 -0
- data/app/assets/images/face/4.gif +0 -0
- data/app/assets/images/face/40.gif +0 -0
- data/app/assets/images/face/41.gif +0 -0
- data/app/assets/images/face/42.gif +0 -0
- data/app/assets/images/face/43.gif +0 -0
- data/app/assets/images/face/44.gif +0 -0
- data/app/assets/images/face/45.gif +0 -0
- data/app/assets/images/face/46.gif +0 -0
- data/app/assets/images/face/47.gif +0 -0
- data/app/assets/images/face/48.gif +0 -0
- data/app/assets/images/face/49.gif +0 -0
- data/app/assets/images/face/5.gif +0 -0
- data/app/assets/images/face/50.gif +0 -0
- data/app/assets/images/face/51.gif +0 -0
- data/app/assets/images/face/52.gif +0 -0
- data/app/assets/images/face/53.gif +0 -0
- data/app/assets/images/face/54.gif +0 -0
- data/app/assets/images/face/55.gif +0 -0
- data/app/assets/images/face/56.gif +0 -0
- data/app/assets/images/face/57.gif +0 -0
- data/app/assets/images/face/58.gif +0 -0
- data/app/assets/images/face/59.gif +0 -0
- data/app/assets/images/face/6.gif +0 -0
- data/app/assets/images/face/60.gif +0 -0
- data/app/assets/images/face/61.gif +0 -0
- data/app/assets/images/face/62.gif +0 -0
- data/app/assets/images/face/63.gif +0 -0
- data/app/assets/images/face/64.gif +0 -0
- data/app/assets/images/face/65.gif +0 -0
- data/app/assets/images/face/66.gif +0 -0
- data/app/assets/images/face/67.gif +0 -0
- data/app/assets/images/face/68.gif +0 -0
- data/app/assets/images/face/69.gif +0 -0
- data/app/assets/images/face/7.gif +0 -0
- data/app/assets/images/face/70.gif +0 -0
- data/app/assets/images/face/71.gif +0 -0
- data/app/assets/images/face/8.gif +0 -0
- data/app/assets/images/face/9.gif +0 -0
- data/app/assets/javascripts/lay/modules/carousel.js +2 -0
- data/app/assets/javascripts/lay/modules/code.js +2 -0
- data/app/assets/javascripts/lay/modules/colorpicker.js +2 -0
- data/app/assets/javascripts/lay/modules/element.js +2 -0
- data/app/assets/javascripts/lay/modules/flow.js +2 -0
- data/app/assets/javascripts/lay/modules/form.js +2 -0
- data/app/assets/javascripts/lay/modules/jquery.js +5 -0
- data/app/assets/javascripts/lay/modules/laydate.js +2 -0
- data/app/assets/javascripts/lay/modules/layedit.js +2 -0
- data/app/assets/javascripts/lay/modules/layer.js.erb +368 -0
- data/app/assets/javascripts/lay/modules/laypage.js +2 -0
- data/app/assets/javascripts/lay/modules/laytpl.js +2 -0
- data/app/assets/javascripts/lay/modules/mobile.js +2 -0
- data/app/assets/javascripts/lay/modules/rate.js +2 -0
- data/app/assets/javascripts/lay/modules/slider.js +2 -0
- data/app/assets/javascripts/lay/modules/table.js +2 -0
- data/app/assets/javascripts/lay/modules/transfer.js +2 -0
- data/app/assets/javascripts/lay/modules/tree.js +2 -0
- data/app/assets/javascripts/lay/modules/upload.js +2 -0
- data/app/assets/javascripts/lay/modules/util.js +2 -0
- data/app/assets/javascripts/layui.js +120 -0
- data/app/assets/stylesheets/layui.mobile.scss +709 -0
- data/app/assets/stylesheets/layui.scss +5613 -0
- data/app/assets/stylesheets/modules/code.scss +74 -0
- data/app/assets/stylesheets/modules/laydate/default/laydate.css +2 -0
- data/app/assets/stylesheets/modules/layer/default/icon-ext.png +0 -0
- data/app/assets/stylesheets/modules/layer/default/icon.png +0 -0
- data/app/assets/stylesheets/modules/layer/default/layer.scss +948 -0
- data/app/assets/stylesheets/modules/layer/default/loading-0.gif +0 -0
- data/app/assets/stylesheets/modules/layer/default/loading-1.gif +0 -0
- data/app/assets/stylesheets/modules/layer/default/loading-2.gif +0 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/layui.gemspec +29 -0
- data/lib/layui.rb +6 -0
- data/lib/layui/engine.rb +10 -0
- data/lib/layui/version.rb +3 -0
- metadata +167 -0
Binary file
|
Binary file
|
Binary file
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "layui"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/layui.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative 'lib/layui/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "layui"
|
5
|
+
spec.version = Layui::VERSION
|
6
|
+
spec.authors = ["aiyuhang"]
|
7
|
+
spec.email = ["738138071@qq.com"]
|
8
|
+
|
9
|
+
spec.summary = %q{layui 是一款采用自身模块规范编写的前端 UI 框架,遵循原生 HTML/CSS/JS 的书写与组织形式,门槛极低,拿来即用。}
|
10
|
+
spec.description = %q{layui外在极简,却又不失饱满的内在,体积轻盈,组件丰盈,从核心代码到 API 的每一处细节都经过精心雕琢,非常适合界面的快速开发。layui 首个版本发布于 2016 年金秋,她区别于那些基于 MVVM 底层的 UI 框架,却并非逆道而行,而是信奉返璞归真之道。准确地说,她更多是为服务端程序员量身定做,你无需涉足各种前端工具的复杂配置,只需面对浏览器本身,让一切你所需要的元素与交互,从这里信手拈来。}
|
11
|
+
spec.homepage = "https://github.com/witcan/layui"
|
12
|
+
spec.license = "MIT"
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
|
+
|
15
|
+
# spec.metadata["allowed_push_host"] = "https://github.com/witcan/layui"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/witcan/layui"
|
19
|
+
# spec.metadata["changelog_uri"] = "https://github.com/witcan/layui"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
|
+
end
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
end
|
data/lib/layui.rb
ADDED
data/lib/layui/engine.rb
ADDED
metadata
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: layui
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- aiyuhang
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-12-27 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: layui外在极简,却又不失饱满的内在,体积轻盈,组件丰盈,从核心代码到 API 的每一处细节都经过精心雕琢,非常适合界面的快速开发。layui
|
14
|
+
首个版本发布于 2016 年金秋,她区别于那些基于 MVVM 底层的 UI 框架,却并非逆道而行,而是信奉返璞归真之道。准确地说,她更多是为服务端程序员量身定做,你无需涉足各种前端工具的复杂配置,只需面对浏览器本身,让一切你所需要的元素与交互,从这里信手拈来。
|
15
|
+
email:
|
16
|
+
- 738138071@qq.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- ".gitignore"
|
22
|
+
- CODE_OF_CONDUCT.md
|
23
|
+
- Gemfile
|
24
|
+
- Gemfile.lock
|
25
|
+
- LICENSE.txt
|
26
|
+
- README.md
|
27
|
+
- Rakefile
|
28
|
+
- app/assets/fonts/iconfont.eot
|
29
|
+
- app/assets/fonts/iconfont.svg
|
30
|
+
- app/assets/fonts/iconfont.ttf
|
31
|
+
- app/assets/fonts/iconfont.woff
|
32
|
+
- app/assets/fonts/iconfont.woff2
|
33
|
+
- app/assets/images/face/0.gif
|
34
|
+
- app/assets/images/face/1.gif
|
35
|
+
- app/assets/images/face/10.gif
|
36
|
+
- app/assets/images/face/11.gif
|
37
|
+
- app/assets/images/face/12.gif
|
38
|
+
- app/assets/images/face/13.gif
|
39
|
+
- app/assets/images/face/14.gif
|
40
|
+
- app/assets/images/face/15.gif
|
41
|
+
- app/assets/images/face/16.gif
|
42
|
+
- app/assets/images/face/17.gif
|
43
|
+
- app/assets/images/face/18.gif
|
44
|
+
- app/assets/images/face/19.gif
|
45
|
+
- app/assets/images/face/2.gif
|
46
|
+
- app/assets/images/face/20.gif
|
47
|
+
- app/assets/images/face/21.gif
|
48
|
+
- app/assets/images/face/22.gif
|
49
|
+
- app/assets/images/face/23.gif
|
50
|
+
- app/assets/images/face/24.gif
|
51
|
+
- app/assets/images/face/25.gif
|
52
|
+
- app/assets/images/face/26.gif
|
53
|
+
- app/assets/images/face/27.gif
|
54
|
+
- app/assets/images/face/28.gif
|
55
|
+
- app/assets/images/face/29.gif
|
56
|
+
- app/assets/images/face/3.gif
|
57
|
+
- app/assets/images/face/30.gif
|
58
|
+
- app/assets/images/face/31.gif
|
59
|
+
- app/assets/images/face/32.gif
|
60
|
+
- app/assets/images/face/33.gif
|
61
|
+
- app/assets/images/face/34.gif
|
62
|
+
- app/assets/images/face/35.gif
|
63
|
+
- app/assets/images/face/36.gif
|
64
|
+
- app/assets/images/face/37.gif
|
65
|
+
- app/assets/images/face/38.gif
|
66
|
+
- app/assets/images/face/39.gif
|
67
|
+
- app/assets/images/face/4.gif
|
68
|
+
- app/assets/images/face/40.gif
|
69
|
+
- app/assets/images/face/41.gif
|
70
|
+
- app/assets/images/face/42.gif
|
71
|
+
- app/assets/images/face/43.gif
|
72
|
+
- app/assets/images/face/44.gif
|
73
|
+
- app/assets/images/face/45.gif
|
74
|
+
- app/assets/images/face/46.gif
|
75
|
+
- app/assets/images/face/47.gif
|
76
|
+
- app/assets/images/face/48.gif
|
77
|
+
- app/assets/images/face/49.gif
|
78
|
+
- app/assets/images/face/5.gif
|
79
|
+
- app/assets/images/face/50.gif
|
80
|
+
- app/assets/images/face/51.gif
|
81
|
+
- app/assets/images/face/52.gif
|
82
|
+
- app/assets/images/face/53.gif
|
83
|
+
- app/assets/images/face/54.gif
|
84
|
+
- app/assets/images/face/55.gif
|
85
|
+
- app/assets/images/face/56.gif
|
86
|
+
- app/assets/images/face/57.gif
|
87
|
+
- app/assets/images/face/58.gif
|
88
|
+
- app/assets/images/face/59.gif
|
89
|
+
- app/assets/images/face/6.gif
|
90
|
+
- app/assets/images/face/60.gif
|
91
|
+
- app/assets/images/face/61.gif
|
92
|
+
- app/assets/images/face/62.gif
|
93
|
+
- app/assets/images/face/63.gif
|
94
|
+
- app/assets/images/face/64.gif
|
95
|
+
- app/assets/images/face/65.gif
|
96
|
+
- app/assets/images/face/66.gif
|
97
|
+
- app/assets/images/face/67.gif
|
98
|
+
- app/assets/images/face/68.gif
|
99
|
+
- app/assets/images/face/69.gif
|
100
|
+
- app/assets/images/face/7.gif
|
101
|
+
- app/assets/images/face/70.gif
|
102
|
+
- app/assets/images/face/71.gif
|
103
|
+
- app/assets/images/face/8.gif
|
104
|
+
- app/assets/images/face/9.gif
|
105
|
+
- app/assets/javascripts/lay/modules/carousel.js
|
106
|
+
- app/assets/javascripts/lay/modules/code.js
|
107
|
+
- app/assets/javascripts/lay/modules/colorpicker.js
|
108
|
+
- app/assets/javascripts/lay/modules/element.js
|
109
|
+
- app/assets/javascripts/lay/modules/flow.js
|
110
|
+
- app/assets/javascripts/lay/modules/form.js
|
111
|
+
- app/assets/javascripts/lay/modules/jquery.js
|
112
|
+
- app/assets/javascripts/lay/modules/laydate.js
|
113
|
+
- app/assets/javascripts/lay/modules/layedit.js
|
114
|
+
- app/assets/javascripts/lay/modules/layer.js.erb
|
115
|
+
- app/assets/javascripts/lay/modules/laypage.js
|
116
|
+
- app/assets/javascripts/lay/modules/laytpl.js
|
117
|
+
- app/assets/javascripts/lay/modules/mobile.js
|
118
|
+
- app/assets/javascripts/lay/modules/rate.js
|
119
|
+
- app/assets/javascripts/lay/modules/slider.js
|
120
|
+
- app/assets/javascripts/lay/modules/table.js
|
121
|
+
- app/assets/javascripts/lay/modules/transfer.js
|
122
|
+
- app/assets/javascripts/lay/modules/tree.js
|
123
|
+
- app/assets/javascripts/lay/modules/upload.js
|
124
|
+
- app/assets/javascripts/lay/modules/util.js
|
125
|
+
- app/assets/javascripts/layui.js
|
126
|
+
- app/assets/stylesheets/layui.mobile.scss
|
127
|
+
- app/assets/stylesheets/layui.scss
|
128
|
+
- app/assets/stylesheets/modules/code.scss
|
129
|
+
- app/assets/stylesheets/modules/laydate/default/laydate.css
|
130
|
+
- app/assets/stylesheets/modules/layer/default/icon-ext.png
|
131
|
+
- app/assets/stylesheets/modules/layer/default/icon.png
|
132
|
+
- app/assets/stylesheets/modules/layer/default/layer.scss
|
133
|
+
- app/assets/stylesheets/modules/layer/default/loading-0.gif
|
134
|
+
- app/assets/stylesheets/modules/layer/default/loading-1.gif
|
135
|
+
- app/assets/stylesheets/modules/layer/default/loading-2.gif
|
136
|
+
- bin/console
|
137
|
+
- bin/setup
|
138
|
+
- layui.gemspec
|
139
|
+
- lib/layui.rb
|
140
|
+
- lib/layui/engine.rb
|
141
|
+
- lib/layui/version.rb
|
142
|
+
homepage: https://github.com/witcan/layui
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata:
|
146
|
+
homepage_uri: https://github.com/witcan/layui
|
147
|
+
source_code_uri: https://github.com/witcan/layui
|
148
|
+
post_install_message:
|
149
|
+
rdoc_options: []
|
150
|
+
require_paths:
|
151
|
+
- lib
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 2.3.0
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
requirements: []
|
163
|
+
rubygems_version: 3.0.8
|
164
|
+
signing_key:
|
165
|
+
specification_version: 4
|
166
|
+
summary: layui 是一款采用自身模块规范编写的前端 UI 框架,遵循原生 HTML/CSS/JS 的书写与组织形式,门槛极低,拿来即用。
|
167
|
+
test_files: []
|